cf 0.1.0 → 0.3.0
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/agent-context.json +96 -95
- package/dist/_meta/commands.json +16558 -13965
- package/dist/_meta/schemas.json +52979 -16753
- package/dist/abuse-reports-dMIfUJ8v.mjs +8 -0
- package/dist/accounts-Kx1epdA1.mjs +22 -0
- package/dist/acm-Utu252kC.mjs +3 -0
- package/dist/addressing-CBq7Z7Vq.mjs +12 -0
- package/dist/{agent-context-D26woB9J.mjs → agent-context-BGTU299M.mjs} +1 -1
- package/dist/ai-DOOKLPkG.mjs +2 -0
- package/dist/ai-gateway-Cj1T3avF.mjs +8 -0
- package/dist/ai-search-CQF_Sn7d.mjs +7 -0
- package/dist/ai_gateway-C3fH22C0.mjs +4 -0
- package/dist/alerting-CqmEIaKn.mjs +6 -0
- package/dist/analytics-Dv-X8x7D.mjs +20 -0
- package/dist/analytics_engine-DdXVR8z2.mjs +2 -0
- package/dist/api-gateway-CNv0IHTU.mjs +33 -0
- package/dist/argo-CX_A4kcn.mjs +2 -0
- package/dist/audit-logs-BfBf3oo-.mjs +2 -0
- package/dist/auth-SyWhMmPu.mjs +6 -0
- package/dist/auth-ffdf9yR0.mjs +135 -0
- package/dist/autorag-BuGhGTeZ.mjs +2 -0
- package/dist/billing-PoG81XaQ.mjs +2 -0
- package/dist/body-parser-DKa8Ipg1.mjs +2 -0
- package/dist/bot-management-CFvtVx62.mjs +5 -0
- package/dist/botnet-feed-B-M4Yu0W.mjs +3 -0
- package/dist/brand-protection-D05Eg-_6.mjs +3 -0
- package/dist/browser-rendering-xu8F_Rrv.mjs +4 -0
- package/dist/build-DYkGW4dh.mjs +1054 -0
- package/dist/cache-DsoW6Xwv.mjs +5 -0
- package/dist/calls-CZbO7TyR.mjs +4 -0
- package/dist/certificate-authorities-D2yr7_3t.mjs +2 -0
- package/dist/cli-types-CRIDdDw3.mjs +2 -0
- package/dist/client-certificates-MJcDsTId.mjs +3 -0
- package/dist/cloud-connector-DWOrN2eM.mjs +2 -0
- package/dist/cloudforce-one-2Bhz8YdW.mjs +21 -0
- package/dist/{completions-BKrxcfhN.mjs → completions-BwRpZQVn.mjs} +1 -1
- package/dist/{config-BIfdEY0E.mjs → config-DYzlVxcB.mjs} +1 -1
- package/dist/connectivity-BX8C7tvK.mjs +3 -0
- package/dist/content-scanning-r6uzMO1r.mjs +4 -0
- package/dist/context-DGlHRGWM.mjs +2 -0
- package/dist/custom-certificates-aAiEguR7.mjs +5 -0
- package/dist/custom-hostnames-AG5yBHIi.mjs +5 -0
- package/dist/custom-nameservers-D1DtlRue.mjs +3 -0
- package/dist/custom-pages-DQCi2plU.mjs +4 -0
- package/dist/d1-DbnYhw45.mjs +4 -0
- package/dist/data-security-D_EtYBfo.mjs +6 -0
- package/dist/dcv-delegation-CHspSzTI.mjs +2 -0
- package/dist/delegate.mjs +1 -1
- package/dist/deploy-CQial3kN.mjs +2 -0
- package/dist/{dev-BfKYB-R_.mjs → dev-B38LfCTl.mjs} +1 -1
- package/dist/diagnostics-BJQGjVJn.mjs +3 -0
- package/dist/dispatch-namespaces-DmHvoBOg.mjs +7 -0
- package/dist/{dist-C_bu5HwZ.mjs → dist-AIcZFk0U.mjs} +7 -7
- package/dist/dist-DNBSHor6.mjs +301 -0
- package/dist/dns-VMhQSr5n.mjs +29 -0
- package/dist/dns-firewall-B4DVXFBQ.mjs +57 -0
- package/dist/durable-objects-CTboySEo.mjs +2 -0
- package/dist/email-routing-tIR2SFu-.mjs +10 -0
- package/dist/email-security-Ca1id3rZ.mjs +8 -0
- package/dist/email-sending-DwWKc5jC.mjs +3 -0
- package/dist/filters-A4dg_a68.mjs +4 -0
- package/dist/firewall-DWPQgYd9.mjs +11 -0
- package/dist/fraud-BMkSsJGU.mjs +20 -0
- package/dist/google-tag-gateway-BGD49nRC.mjs +2 -0
- package/dist/healthchecks-CtIfrFql.mjs +4 -0
- package/dist/hostnames-BiomxukN.mjs +3 -0
- package/dist/hyperdrive-Da104VaQ.mjs +18 -0
- package/dist/iam-BIGKo0WW.mjs +6 -0
- package/dist/images-BO8FbDAa.mjs +5 -0
- package/dist/index.mjs +1 -1
- package/dist/intel-CY6_79v8.mjs +3 -0
- package/dist/{ips-B0cK7D0_.mjs → ips-K4bzaGqd.mjs} +1 -1
- package/dist/keyless-certificates-CZC-L8gM.mjs +3 -0
- package/dist/kv-8o27w_pY.mjs +5 -0
- package/dist/leaked-credential-checks-qLzRyu85.mjs +3 -0
- package/dist/load-balancers-DtG8nj25.mjs +6 -0
- package/dist/logpush-4L0njy1d.mjs +4 -0
- package/dist/logs-B_Yp95hv.mjs +3 -0
- package/dist/magic-cloud-networking-CSOM3EM-.mjs +5 -0
- package/dist/magic-network-monitoring-BnwvM4-I.mjs +4 -0
- package/dist/magic-transit-CXDyvhxq.mjs +90 -0
- package/dist/managed-transforms-D15yVbZx.mjs +3 -0
- package/dist/mtls-certificates-D8k0AXWK.mjs +3 -0
- package/dist/network-interconnects-rrr7red3.mjs +36 -0
- package/dist/observability-DWvpqnQJ.mjs +4 -0
- package/dist/organizations-T77D50Sq.mjs +41 -0
- package/dist/origin-ca-certificates-DXIvD8H5.mjs +3 -0
- package/dist/origin-post-quantum-encryption-C8oOczyV.mjs +2 -0
- package/dist/origin-tls-client-auth-CaVW1Ztp.mjs +4 -0
- package/dist/output-BJFNwj7b.mjs +2 -0
- package/dist/page-rules-CjZPTMQX.mjs +18 -0
- package/dist/page-shield-D5RRNJCY.mjs +37 -0
- package/dist/pages-CWJtJnL0.mjs +11 -0
- package/dist/pipelines-B0L_7j9e.mjs +6 -0
- package/dist/{progress-DZfTxbrx.mjs → progress-CrCGTq7N.mjs} +1 -1
- package/dist/queues-CN6DPhRR.mjs +6 -0
- package/dist/r2-DQIcyRtA.mjs +21 -0
- package/dist/r2-data-catalog-Bbo93TJx.mjs +14 -0
- package/dist/radar-Bxb0WX8V.mjs +2 -0
- package/dist/rate-limits-DcrQV6Ar.mjs +5 -0
- package/dist/raw-fetch-Dlccg0Tr.mjs +2 -0
- package/dist/realtime-kit-CaquuVOE.mjs +18 -0
- package/dist/registrar-Ko-xZemf.mjs +46 -0
- package/dist/request-tracers-DOW_reTJ.mjs +2 -0
- package/dist/{resolve-BuJRWSk0.mjs → resolve-4-OSeHlK.mjs} +1 -1
- package/dist/resource-sharing-D7TX0JV0.mjs +5 -0
- package/dist/resource-tagging-C3qtLzCz.mjs +16 -0
- package/dist/rules-BXRADHL5.mjs +4 -0
- package/dist/rulesets-CBgpeSvJ.mjs +8 -0
- package/dist/rum-BjPptTUP.mjs +4 -0
- package/dist/{schema-D0_cbcDt.mjs → schema-D16TgWBg.mjs} +1 -1
- package/dist/schema-validation-Dgv_opM3.mjs +24 -0
- package/dist/scim-DdSEr4kZ.mjs +3 -0
- package/dist/secrets-store-7BfyvJLb.mjs +25 -0
- package/dist/security-center-DAy6AKtT.mjs +2 -0
- package/dist/security-txt-xAMb7K6Y.mjs +3 -0
- package/dist/session-COHHdS7A.mjs +5 -0
- package/dist/shared-AGtpXwwL.mjs +2 -0
- package/dist/smart-shield-TeWZFnH2.mjs +3 -0
- package/dist/snippets-CCSsCXVs.mjs +4 -0
- package/dist/{spawn-D_cjG87Z.mjs → spawn-DcppKGI5.mjs} +1 -1
- package/dist/spectrum-CTTZID8u.mjs +63 -0
- package/dist/speed-CuzTE0AL.mjs +4 -0
- package/dist/{src-C5qivNKH.mjs → src-BW6vfAwE.mjs} +15 -15
- package/dist/ssl-BWA2LdwC.mjs +15 -0
- package/dist/stream-GFsIZ-pP.mjs +14 -0
- package/dist/tenants-Bd7NGQ_m.mjs +2 -0
- package/dist/token-validation-DAgtFOvs.mjs +10 -0
- package/dist/{tools-CtKbk6VS.mjs → tools-DXQmfFuE.mjs} +1 -1
- package/dist/turnstile-cfdaO4ca.mjs +23 -0
- package/dist/{ui-mP_arYIg.mjs → ui-D4KtlMh9.mjs} +1 -1
- package/dist/url-normalization-B5RN4nLD.mjs +3 -0
- package/dist/url-scanner-BrZ1L9OC.mjs +2 -0
- package/dist/user-CAo-yCJA.mjs +10 -0
- package/dist/vectorize-C7_oQlaI.mjs +4 -0
- package/dist/versions-CUwWJWmy.mjs +2 -0
- package/dist/waiting-rooms-Dln5ICg5.mjs +11 -0
- package/dist/web3-HQJRm38W.mjs +4 -0
- package/dist/workers-Dg7ddG2Q.mjs +18 -0
- package/dist/workers-builds-AVfx8IyL.mjs +7 -0
- package/dist/workflows-VquuSh2J.mjs +4 -0
- package/dist/zaraz-xYSWIV4P.mjs +2 -0
- package/dist/zero-trust-CP96wnSh.mjs +118 -0
- package/dist/zones-BSgmZ9WC.mjs +21 -0
- package/package.json +7 -6
- package/dist/abuse-reports-ChV_yD7f.mjs +0 -8
- package/dist/accounts-BCYecXFh.mjs +0 -21
- package/dist/acm-DD8zSds2.mjs +0 -3
- package/dist/addressing-D4Eqw5Bi.mjs +0 -13
- package/dist/ai-DfXMOMx_.mjs +0 -2
- package/dist/ai-gateway-DdRFthMo.mjs +0 -8
- package/dist/ai-search-C_68CDj1.mjs +0 -7
- package/dist/alerting-DbhqhVCp.mjs +0 -6
- package/dist/analytics-BSBBc7ep.mjs +0 -20
- package/dist/api-gateway-CZ4swbkQ.mjs +0 -33
- package/dist/argo-tms9ZwHO.mjs +0 -2
- package/dist/audit-logs-24qyW8cl.mjs +0 -2
- package/dist/auth-BlSmtIKd.mjs +0 -112
- package/dist/auth-DQ8miey6.mjs +0 -6
- package/dist/autorag-kgNt06GD.mjs +0 -2
- package/dist/billing-lwBHNTXC.mjs +0 -2
- package/dist/body-parser-Br-BoYk-.mjs +0 -2
- package/dist/bot-management-LKf7BqUr.mjs +0 -5
- package/dist/botnet-feed-nQ-gErTS.mjs +0 -3
- package/dist/brand-protection-DOKv9GRr.mjs +0 -3
- package/dist/browser-rendering-CBExtgGt.mjs +0 -4
- package/dist/build-C_48VvoK.mjs +0 -1056
- package/dist/builds-C_ySULja.mjs +0 -2
- package/dist/cache-BBiiNZHP.mjs +0 -5
- package/dist/calls-DA5Xzwev.mjs +0 -4
- package/dist/certificate-authorities-sXyR_yGp.mjs +0 -2
- package/dist/client-certificates-tV0aCLQJ.mjs +0 -3
- package/dist/cloud-connector-DZfHcSso.mjs +0 -2
- package/dist/cloudforce-one-y1PgQmI9.mjs +0 -21
- package/dist/connectivity-8SOqaFDn.mjs +0 -3
- package/dist/content-scanning-B9y6K_G5.mjs +0 -4
- package/dist/context-DTIbtQn5.mjs +0 -2
- package/dist/custom-certificates-sWksR8Ys.mjs +0 -5
- package/dist/custom-hostnames-91QZkdqN.mjs +0 -5
- package/dist/custom-nameservers-DajZaZvE.mjs +0 -3
- package/dist/custom-pages-Cu7gmwzT.mjs +0 -4
- package/dist/d1-H_VRsVmF.mjs +0 -3
- package/dist/dcv-delegation-C-qhEYEZ.mjs +0 -2
- package/dist/deploy--9wYOkHg.mjs +0 -2
- package/dist/diagnostics-D2B2LPZZ.mjs +0 -3
- package/dist/dispatch-namespaces-CyrXBU_w.mjs +0 -7
- package/dist/dist-DvKjT2TT.mjs +0 -303
- package/dist/dns-Bn9Uz_Nj.mjs +0 -29
- package/dist/dns-firewall-BslP4p-j.mjs +0 -57
- package/dist/durable-objects-BN1ZnHhm.mjs +0 -2
- package/dist/email-routing-n2TnTaRR.mjs +0 -10
- package/dist/email-security-C9SEx0kh.mjs +0 -60
- package/dist/email-sending-DayZ7u3I.mjs +0 -3
- package/dist/filters-CI_XTgfQ.mjs +0 -4
- package/dist/firewall-CcaayGig.mjs +0 -11
- package/dist/fraud-Cr7aPCV8.mjs +0 -8
- package/dist/google-tag-gateway-B3GpYgQ4.mjs +0 -2
- package/dist/healthchecks-CVTsR_OC.mjs +0 -4
- package/dist/hostnames-Bd_Wa5l6.mjs +0 -3
- package/dist/hyperdrive-BBJhEDZd.mjs +0 -18
- package/dist/iam-D_FN0pDF.mjs +0 -6
- package/dist/images-CAP2hAlZ.mjs +0 -5
- package/dist/intel-CkxfzqmJ.mjs +0 -3
- package/dist/keyless-certificates-LcLmHZsX.mjs +0 -3
- package/dist/kv-_TkUQ6fs.mjs +0 -5
- package/dist/leaked-credential-checks-Dhvaen22.mjs +0 -3
- package/dist/load-balancers-Ckr0UIpk.mjs +0 -6
- package/dist/logpush-Cj946hxT.mjs +0 -4
- package/dist/logs-DgC9hjvJ.mjs +0 -3
- package/dist/magic-cloud-networking-WbDvPzuG.mjs +0 -5
- package/dist/magic-network-monitoring-BcHShvGQ.mjs +0 -4
- package/dist/magic-transit-B8sCOkt_.mjs +0 -89
- package/dist/managed-transforms-BpOr-8HY.mjs +0 -3
- package/dist/mtls-certificates-fOul8D5g.mjs +0 -3
- package/dist/network-interconnects-BSW65xlh.mjs +0 -36
- package/dist/organizations-T4vKGFAb.mjs +0 -41
- package/dist/origin-ca-certificates-ChM0lZ64.mjs +0 -3
- package/dist/origin-post-quantum-encryption-C7o26ARh.mjs +0 -2
- package/dist/origin-tls-client-auth-D32dpZk_.mjs +0 -5
- package/dist/output-D7_yAFVR.mjs +0 -2
- package/dist/page-rules-RFoj8CjN.mjs +0 -18
- package/dist/page-shield-VTktzKDN.mjs +0 -37
- package/dist/pages-L1ITjXDZ.mjs +0 -10
- package/dist/pipelines-BPO0Lnil.mjs +0 -6
- package/dist/queues-B0C06L9r.mjs +0 -6
- package/dist/r2-DP020Tmq.mjs +0 -21
- package/dist/r2-data-catalog-Dmipvz5F.mjs +0 -14
- package/dist/radar-DR3VMknH.mjs +0 -2
- package/dist/rate-limits-DnHPBPgU.mjs +0 -5
- package/dist/raw-fetch-DlXYwVA8.mjs +0 -2
- package/dist/realtime-kit-C430aq2d.mjs +0 -6
- package/dist/registrar-7Qy50zbW.mjs +0 -46
- package/dist/request-tracers-sv99NDIl.mjs +0 -2
- package/dist/resource-sharing-uEjC7lnQ.mjs +0 -5
- package/dist/resource-tagging-CiODdP3N.mjs +0 -16
- package/dist/rules-FXAyTrwk.mjs +0 -4
- package/dist/rulesets-B6aUsFFB.mjs +0 -8
- package/dist/rum-CyyGJhp5.mjs +0 -4
- package/dist/schema-validation-ByU49h--.mjs +0 -4
- package/dist/scim-DdTS65_C.mjs +0 -3
- package/dist/scm-CilfPOue.mjs +0 -2
- package/dist/secrets-store-ClOUVhBJ.mjs +0 -18
- package/dist/security-center-4iSBqTrf.mjs +0 -2
- package/dist/security-txt-kGxdkDY6.mjs +0 -3
- package/dist/session-mW-s8ghP.mjs +0 -2
- package/dist/smart-shield-B-SQd2Qp.mjs +0 -3
- package/dist/snippets-Aq58ojqw.mjs +0 -4
- package/dist/spectrum-0gFvGI6y.mjs +0 -59
- package/dist/speed-DAZU8w3T.mjs +0 -4
- package/dist/ssl-BRlXa-5w.mjs +0 -15
- package/dist/stream-BAxsVeBX.mjs +0 -14
- package/dist/tenants-Df6xDqoA.mjs +0 -2
- package/dist/token-validation-pO4dCjCy.mjs +0 -4
- package/dist/turnstile-B1dmO8wE.mjs +0 -23
- package/dist/url-normalization-sUDVmrUt.mjs +0 -3
- package/dist/url-scanner-CwOKRkYo.mjs +0 -2
- package/dist/user-D_UrIdNq.mjs +0 -10
- package/dist/vectorize-BEbBn9G9.mjs +0 -4
- package/dist/vuln-scanner-Br_2lQp1.mjs +0 -2
- package/dist/waiting-rooms-BQC-urV4.mjs +0 -11
- package/dist/web3-CIH2iQeX.mjs +0 -4
- package/dist/workers-B9EvrpH3.mjs +0 -16
- package/dist/workers-builds-DzWSiRd2.mjs +0 -7
- package/dist/workflows-aD81gA4k.mjs +0 -4
- package/dist/zaraz-Cg1dsvrZ.mjs +0 -2
- package/dist/zero-trust-D-xQXWcy.mjs +0 -119
- package/dist/zones-DQzucJDd.mjs +0 -28
- /package/dist/{metadata-DGdCpUxn.mjs → metadata-5VwHPW6C.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import"./delegate.mjs";import{n as e,t}from"./theme-BklJDrb2.mjs";import{stripVTControlCharacters as n}from"node:util";function r({onlyFirst:e=!1}={}){return RegExp(`(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]`,e?void 0:`g`)}const i=r();function a(e){if(typeof e!=`string`)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!e.includes(`\x1B`)&&!e.includes(``)?e:e.replace(i,``)}const o=(e=0)=>t=>`\u001B[${t+e}m`,s=(e=0)=>t=>`\u001B[${38+e};5;${t}m`,c=(e=0)=>(t,n,r)=>`\u001B[${38+e};2;${t};${n};${r}m`,l={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(l.modifier);const ee=Object.keys(l.color),te=Object.keys(l.bgColor);[...ee,...te];function ne(){let e=new Map;for(let[t,n]of Object.entries(l)){for(let[t,r]of Object.entries(n))l[t]={open:`\u001B[${r[0]}m`,close:`\u001B[${r[1]}m`},n[t]=l[t],e.set(r[0],r[1]);Object.defineProperty(l,t,{value:n,enumerable:!1})}return Object.defineProperty(l,`codes`,{value:e,enumerable:!1}),l.color.close=`\x1B[39m`,l.bgColor.close=`\x1B[49m`,l.color.ansi=o(),l.color.ansi256=s(),l.color.ansi16m=c(),l.bgColor.ansi=o(10),l.bgColor.ansi256=s(10),l.bgColor.ansi16m=c(10),Object.defineProperties(l,{rgbToAnsi256:{value(e,t,n){return e===t&&t===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[n]=t;n.length===3&&(n=[...n].map(e=>e+e).join(``));let r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,r&255]},enumerable:!1},hexToAnsi256:{value:e=>l.rgbToAnsi256(...l.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let t,n,r;if(e>=232)t=((e-232)*10+8)/255,n=t,r=t;else{e-=16;let i=e%36;t=Math.floor(e/36)/5,n=Math.floor(i/6)/5,r=i%6/5}let i=Math.max(t,n,r)*2;if(i===0)return 30;let a=30+(Math.round(r)<<2|Math.round(n)<<1|Math.round(t));return i===2&&(a+=60),a},enumerable:!1},rgbToAnsi:{value:(e,t,n)=>l.ansi256ToAnsi(l.rgbToAnsi256(e,t,n)),enumerable:!1},hexToAnsi:{value:e=>l.ansi256ToAnsi(l.hexToAnsi256(e)),enumerable:!1}}),l}const u=ne();var d=class e extends Error{constructor(t){super(t),this.name=`CloudflareError`,Object.setPrototypeOf(this,e.prototype)}},f=class e extends d{status;error;request;constructor(t,n,r,i){super(t),this.name=`APIError`,this.status=n,this.error=r,i!==void 0&&(this.request=i),Object.setPrototypeOf(this,e.prototype)}get codes(){return this.error&&typeof this.error==`object`&&`errors`in this.error?this.error.errors.map(e=>e.code):[]}get messages(){return this.error&&typeof this.error==`object`&&`errors`in this.error?this.error.errors.map(e=>e.message):[this.message]}},p=class e extends f{constructor(t,n=401,r,i){super(t,n,r,i),this.name=`AuthenticationError`,Object.setPrototypeOf(this,e.prototype)}},re=class e extends f{constructor(t,n=429,r,i){super(t,n,r,i),this.name=`RateLimitError`,Object.setPrototypeOf(this,e.prototype)}},ie=class{apiToken;baseURL;timeout;apiVersion;userAgent;_fetch;_defaultHeaders;constructor(e){if(!e.apiToken)throw new p(`apiToken is required`);this.apiToken=e.apiToken,this.baseURL=e.baseURL??`https://api.cloudflare.com/client/v4`,this.timeout=e.timeout??6e4,this.apiVersion=e.apiVersion,this.userAgent=e.userAgent??`cloudflare-sdk/typescript`,this._fetch=e.fetch??globalThis.fetch,this._defaultHeaders=e.defaultHeaders??{}}async get(e,t){return this._request({method:`GET`,path:e,...t})}async post(e,t){return this._request({method:`POST`,path:e,...t})}async put(e,t){return this._request({method:`PUT`,path:e,...t})}async patch(e,t){return this._request({method:`PATCH`,path:e,...t})}async delete(e,t){return this._request({method:`DELETE`,path:e,...t})}async _request(e){let t=this._buildURL(e.path,e.query),n=e.timeout??this.timeout,r=new AbortController,i=setTimeout(()=>r.abort(),n),a=e.signal?AbortSignal.any([e.signal,r.signal]):r.signal;try{let n=e.body instanceof FormData||e.body instanceof Blob||e.body instanceof ArrayBuffer||ArrayBuffer.isView(e.body)||e.body instanceof ReadableStream||e.body instanceof URLSearchParams||typeof e.body==`string`,r={Authorization:`Bearer ${this.apiToken}`,...n?{}:{"Content-Type":`application/json`},...this.apiVersion?{"api-version":this.apiVersion}:{},"User-Agent":this.userAgent,...this._defaultHeaders,...e.headers},o=null;e.body!=null&&(o=n?e.body:JSON.stringify(e.body));let s=await this._fetch(t,{method:e.method,headers:r,body:o,signal:a});return clearTimeout(i),this._handleResponse(s,{method:e.method,url:t})}catch(e){throw clearTimeout(i),e instanceof d?e:e instanceof Error?e.name===`AbortError`?new d(`Request timed out after ${n}ms`):new d(`Request failed: ${e.message}`):new d(`Unknown error occurred`)}}_buildURL(e,t){let n=this.baseURL.endsWith(`/`)?this.baseURL:`${this.baseURL}/`,r=e.startsWith(`/`)?e.slice(1):e,i=new URL(r,n);if(t)for(let[e,n]of Object.entries(t))n!=null&&n!==``&&i.searchParams.set(e,String(n));return i.toString()}async _handleResponse(e,t){let n=e.headers.get(`content-type`)?.includes(`application/json`);if(!e.ok){let r;try{r=n?await e.json():await e.text()}catch{r=null}throw e.status===401?new p(`Invalid API token`,e.status,r,t):e.status===429?new re(`Rate limit exceeded`,e.status,r,t):new f(`API request failed with status ${e.status}`,e.status,r,t)}if(!n)return await e.text();let r=await e.json();if(r.success===!1&&r.errors&&r.errors.length>0)throw new f(`API error: ${r.errors.map(e=>e.message).join(`, `)}`,e.status,r,t);return`result`in r?r.result:r}},m=class{_client;constructor(e){this._client=e}},h=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/abuse-reports/${encodeURIComponent(t)}/emails`,{...n?{query:n}:{}})}},g=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/abuse-reports/${encodeURIComponent(t)}/mitigations`,{...n?{query:n}:{}})}async review(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/abuse-reports/${encodeURIComponent(t)}/mitigations/appeal`)}},_=class extends m{emails;mitigations;constructor(e){super(e),this.emails=new h(e),this.mitigations=new g(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/abuse-reports/${encodeURIComponent(t)}`,{body:{...n}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/abuse-reports/${encodeURIComponent(t)}`)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/abuse-reports`,{...t?{query:t}:{}})}},v=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/move`,{body:{...t}})}},y=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/profile`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/profile`,{body:{...t}})}},b=class extends m{constructor(e){super(e)}async id(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/resource-library/applications/${encodeURIComponent(t)}`)}},x=class extends m{by;constructor(e){super(e),this.by=new b(e)}async applications(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/resource-library/applications`,{...t?{query:t}:{}})}},S=class extends m{get;constructor(e){super(e),this.get=new x(e)}},C=class extends m{constructor(e){super(e)}async id(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/resource-library/categories/${encodeURIComponent(t)}`)}},w=class extends m{by;constructor(e){super(e),this.by=new C(e)}async categories(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/resource-library/categories`,{...t?{query:t}:{}})}},T=class extends m{get;constructor(e){super(e),this.get=new w(e)}},E=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/logs/audit`,{...t?{query:t}:{}})}},D=class extends m{audit;constructor(e){super(e),this.audit=new E(e)}},O=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/members`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/members/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/members`,{body:{...t}})}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(t)}/members/${encodeURIComponent(e)}`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/members/${encodeURIComponent(e)}`)}},k=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/roles`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/roles/${encodeURIComponent(e)}`)}},A=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/subscriptions`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/subscriptions`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/subscriptions/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/subscriptions/${encodeURIComponent(e)}`)}},j=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/tokens/permission_groups`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/tokens/permission_groups`,{...t?{query:t}:{}})}},M=class extends m{constructor(e){super(e)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/tokens/${encodeURIComponent(t)}/value`)}},N=class extends m{permissionGroups;value;constructor(e){super(e),this.permissionGroups=new j(e),this.value=new M(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/tokens`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/tokens/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/tokens`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/tokens/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/tokens/${encodeURIComponent(t)}`)}async verify(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/tokens/verify`)}},P=class extends m{accountOrganizations;accountProfile;applications;categories;logs;members;roles;subscriptions;tokens;constructor(e){super(e),this.accountOrganizations=new v(e),this.accountProfile=new y(e),this.applications=new S(e),this.categories=new T(e),this.logs=new D(e),this.members=new O(e),this.roles=new k(e),this.subscriptions=new A(e),this.tokens=new N(e)}async create(e){return this._client.post(`/accounts`,{body:{...e}})}async delete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}`)}async list(e){return this._client.get(`/accounts`,{...e?{query:e}:{}})}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}`,{body:{...t}})}async move(e){return this._client.post(`/accounts/move`,{body:{...e}})}},F=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/acm/custom_trust_store`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/acm/custom_trust_store`,{body:{...t}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/acm/custom_trust_store/${encodeURIComponent(e)}`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/acm/custom_trust_store/${encodeURIComponent(e)}`)}},I=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/acm/total_tls`)}async update(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/acm/total_tls`,{body:{...t}})}async edit(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/acm/total_tls`,{body:{...t}})}},L=class extends m{customTrustStore;totalTLS;constructor(e){super(e),this.customTrustStore=new F(e),this.totalTLS=new I(e)}},R=class extends m{constructor(e){super(e)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/addressing/address_maps/${encodeURIComponent(t)}/accounts/${encodeURIComponent(e)}`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/addressing/address_maps/${encodeURIComponent(t)}/accounts/${encodeURIComponent(e)}`)}},z=class extends m{constructor(e){super(e)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(n)}/addressing/address_maps/${encodeURIComponent(t)}/ips/${encodeURIComponent(e)}`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/addressing/address_maps/${encodeURIComponent(t)}/ips/${encodeURIComponent(e)}`)}},B=class extends m{constructor(e){super(e)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(n)}/addressing/address_maps/${encodeURIComponent(t)}/zones/${encodeURIComponent(e)}`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/addressing/address_maps/${encodeURIComponent(t)}/zones/${encodeURIComponent(e)}`)}},V=class extends m{accounts;ips;zones;constructor(e){super(e),this.accounts=new R(e),this.ips=new z(e),this.zones=new B(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/addressing/address_maps`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/addressing/address_maps/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/addressing/address_maps`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/addressing/address_maps/${encodeURIComponent(e)}`)}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/addressing/address_maps/${encodeURIComponent(e)}`,{body:{...n}})}},H=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/addressing/leases`)}},U=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/addressing/loa_documents/${encodeURIComponent(e)}/download`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/addressing/loa_documents`)}},W=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/addressing/prefixes/${encodeURIComponent(e)}/bgp/status`)}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/addressing/prefixes/${encodeURIComponent(e)}/bgp/status`,{body:{...n}})}},G=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/addressing/prefixes/${encodeURIComponent(t)}/bgp/prefixes`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/addressing/prefixes/${encodeURIComponent(t)}/bgp/prefixes/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/addressing/prefixes/${encodeURIComponent(t)}/bgp/prefixes`,{body:{...n}})}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(e)}/addressing/prefixes/${encodeURIComponent(t)}/bgp/prefixes/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/addressing/prefixes/${encodeURIComponent(t)}/bgp/prefixes/${encodeURIComponent(n)}`)}},K=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/addressing/prefixes/${encodeURIComponent(e)}/delegations`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/addressing/prefixes/${encodeURIComponent(e)}/delegations`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/addressing/prefixes/${encodeURIComponent(t)}/delegations/${encodeURIComponent(e)}`)}},q=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/addressing/prefixes/${encodeURIComponent(t)}/bindings`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/addressing/prefixes/${encodeURIComponent(t)}/bindings/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/addressing/prefixes/${encodeURIComponent(t)}/bindings`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/addressing/prefixes/${encodeURIComponent(t)}/bindings/${encodeURIComponent(n)}`)}},J=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/addressing/prefixes/${encodeURIComponent(e)}/validate`)}},Y=class extends m{advertisementStatus;bgpPrefixes;delegations;serviceBindings;validate;constructor(e){super(e),this.advertisementStatus=new W(e),this.bgpPrefixes=new G(e),this.delegations=new K(e),this.serviceBindings=new q(e),this.validate=new J(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/addressing/prefixes/${encodeURIComponent(e)}`)}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/addressing/prefixes/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/addressing/prefixes/${encodeURIComponent(e)}`)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/addressing/prefixes`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/addressing/prefixes`,{body:{...t}})}},ae=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/addressing/regional_hostnames/regions`)}},oe=class extends m{regions;constructor(e){super(e),this.regions=new ae(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/addressing/regional_hostnames`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/addressing/regional_hostnames/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/addressing/regional_hostnames`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(e)}/addressing/regional_hostnames/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/addressing/regional_hostnames/${encodeURIComponent(t)}`)}},se=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/addressing/services`)}},ce=class extends m{addressMaps;leases;loaDocuments;prefixes;regionalHostnames;services;constructor(e){super(e),this.addressMaps=new V(e),this.leases=new H(e),this.loaDocuments=new U(e),this.prefixes=new Y(e),this.regionalHostnames=new oe(e),this.services=new se(e)}},le=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/authors/search`)}},ue=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/finetunes/${encodeURIComponent(t)}/finetune-assets`)}},de=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/finetunes/public`,{...t?{query:t}:{}})}},fe=class extends m{assets;public;constructor(e){super(e),this.assets=new ue(e),this.public=new de(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/finetunes`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/finetunes`,{body:{...t}})}},pe=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/firewall-for-ai/custom-topics`)}async update(e){return this._client.put(`/zones/${encodeURIComponent(e)}/firewall-for-ai/custom-topics`)}},me=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/ai4bharat/indictrans2-en-indic-1B`,{body:{...t}})}},he=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/ai4bharat/nonomni-indictrans2-en-indic-1b`,{body:{...t}})}},ge=class extends m{indictrans2EnIndic1b;nonomniIndictrans2EnIndic1b;constructor(e){super(e),this.indictrans2EnIndic1b=new me(e),this.nonomniIndictrans2EnIndic1b=new he(e)}},_e=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/aisingapore/gemma-sea-lion-v4-27b-it`,{body:{...t}})}},ve=class extends m{gemmaSeaLionV427bIt;constructor(e){super(e),this.gemmaSeaLionV427bIt=new _e(e)}},ye=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/baai/bge-base-en-v1.5`,{body:{...t}})}},be=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/baai/bge-large-en-v1.5`,{body:{...t}})}},xe=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/baai/bge-m3`,{body:{...t}})}},Se=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/baai/bge-reranker-base`,{body:{...t}})}},Ce=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/baai/bge-small-en-v1.5`,{body:{...t}})}},we=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/baai/nonomni-bge-base-en-v1.5`,{body:{...t}})}},Te=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/baai/nonomni-bge-large-en-v1.5`,{body:{...t}})}},Ee=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/baai/nonomni-bge-m3`,{body:{...t}})}},De=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/baai/nonomni-bge-small-en-v1.5`,{body:{...t}})}},Oe=class extends m{bgeBaseEnV15;bgeLargeEnV15;bgeM3;bgeRerankerBase;bgeSmallEnV15;nonomniBgeBaseEnV15;nonomniBgeLargeEnV15;nonomniBgeM3;nonomniBgeSmallEnV15;constructor(e){super(e),this.bgeBaseEnV15=new ye(e),this.bgeLargeEnV15=new be(e),this.bgeM3=new xe(e),this.bgeRerankerBase=new Se(e),this.bgeSmallEnV15=new Ce(e),this.nonomniBgeBaseEnV15=new we(e),this.nonomniBgeLargeEnV15=new Te(e),this.nonomniBgeM3=new Ee(e),this.nonomniBgeSmallEnV15=new De(e)}},ke=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/black-forest-labs/flux-1-schnell`,{body:{...t}})}},Ae=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/black-forest-labs/flux-2-dev`,{body:{...t}})}},je=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/black-forest-labs/flux-2-klein-4b`,{body:{...t}})}},Me=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/black-forest-labs/flux-2-klein-9b`,{body:{...t}})}},Ne=class extends m{flux1Schnell;flux2Dev;flux2Klein4b;flux2Klein9b;constructor(e){super(e),this.flux1Schnell=new ke(e),this.flux2Dev=new Ae(e),this.flux2Klein4b=new je(e),this.flux2Klein9b=new Me(e)}},Pe=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/bytedance/stable-diffusion-xl-lightning`,{body:{...t}})}},Fe=class extends m{stableDiffusionXlLightning;constructor(e){super(e),this.stableDiffusionXlLightning=new Pe(e)}},Ie=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/aura`)}},Le=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/aura-1`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/aura-1`,{body:{...t}})}},Re=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/aura-1-internal`)}},ze=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/aura-2`)}},Be=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/aura-2-en`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/aura-2-en`,{body:{...t}})}},Ve=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/aura-2-es`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/aura-2-es`,{body:{...t}})}},He=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/flux`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/flux`,{body:{...t}})}},Ue=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/nova-3`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/nova-3`,{body:{...t}})}},We=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/nova-3-internal`)}},Ge=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepgram/nova-3-ws`)}},Ke=class extends m{aura;aura1;aura1Internal;aura2;aura2En;aura2Es;flux;nova3;nova3Internal;nova3Ws;constructor(e){super(e),this.aura=new Ie(e),this.aura1=new Le(e),this.aura1Internal=new Re(e),this.aura2=new ze(e),this.aura2En=new Be(e),this.aura2Es=new Ve(e),this.flux=new He(e),this.nova3=new Ue(e),this.nova3Internal=new We(e),this.nova3Ws=new Ge(e)}},qe=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepseek-ai/deepseek-math-7b-instruct`,{body:{...t}})}},Je=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b`,{body:{...t}})}},Ye=class extends m{deepseekMath7bInstruct;deepseekR1DistillQwen32b;constructor(e){super(e),this.deepseekMath7bInstruct=new qe(e),this.deepseekR1DistillQwen32b=new Je(e)}},Xe=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/defog/sqlcoder-7b-2`,{body:{...t}})}},Ze=class extends m{sqlcoder7b2;constructor(e){super(e),this.sqlcoder7b2=new Xe(e)}},Qe=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/facebook/bart-large-cnn`,{body:{...t}})}},$e=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/facebook/nonomni-bart-large-cnn`,{body:{...t}})}},et=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/facebook/nonomni-detr-resnet-50`,{body:{...t}})}},tt=class extends m{bartLargeCnn;nonomniBartLargeCnn;nonomniDetrResnet50;constructor(e){super(e),this.bartLargeCnn=new Qe(e),this.nonomniBartLargeCnn=new $e(e),this.nonomniDetrResnet50=new et(e)}},nt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/fblgit/una-cybertron-7b-v2-bf16`,{body:{...t}})}},rt=class extends m{unaCybertron7bV2Bf16;constructor(e){super(e),this.unaCybertron7bV2Bf16=new nt(e)}},it=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/google/embeddinggemma-300m`,{body:{...t}})}},at=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/google/gemma-2b-it-lora`,{body:{...t}})}},ot=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/google/gemma-3-12b-it`,{body:{...t}})}},st=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@hf/google/gemma-7b-it`,{body:{...t}})}},ct=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/google/gemma-7b-it-lora`,{body:{...t}})}},lt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/google/nonomni-embeddinggemma-300m`,{body:{...t}})}},ut=class extends m{embeddinggemma300m;gemma2bItLora;gemma312bIt;gemma7bIt;gemma7bItLora;nonomniEmbeddinggemma300m;constructor(e){super(e),this.embeddinggemma300m=new it(e),this.gemma2bItLora=new at(e),this.gemma312bIt=new ot(e),this.gemma7bIt=new st(e),this.gemma7bItLora=new ct(e),this.nonomniEmbeddinggemma300m=new lt(e)}},dt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/huggingface/distilbert-sst-2-int8`,{body:{...t}})}},ft=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/huggingface/nonomni-distilbert-sst-2-int8`,{body:{...t}})}},pt=class extends m{distilbertSst2Int8;nonomniDistilbertSst2Int8;constructor(e){super(e),this.distilbertSst2Int8=new dt(e),this.nonomniDistilbertSst2Int8=new ft(e)}},mt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/ibm-granite/granite-4.0-h-micro`,{body:{...t}})}},ht=class extends m{graniteGranite40HMicro;constructor(e){super(e),this.graniteGranite40HMicro=new mt(e)}},gt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/leonardo/lucid-origin`,{body:{...t}})}},_t=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/leonardo/phoenix-1.0`,{body:{...t}})}},vt=class extends m{lucidOrigin;phoenix10;constructor(e){super(e),this.lucidOrigin=new gt(e),this.phoenix10=new _t(e)}},yt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/lykon/dreamshaper-8-lcm`,{body:{...t}})}},bt=class extends m{dreamshaper8Lcm;constructor(e){super(e),this.dreamshaper8Lcm=new yt(e)}},xt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-2-7b-chat-fp16`,{body:{...t}})}},St=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-2-7b-chat-int8`,{body:{...t}})}},Ct=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-3.1-70b-instruct-fp8-fast`,{body:{...t}})}},wt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-3.1-8b-instruct-awq`,{body:{...t}})}},Tt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-3.1-8b-instruct-fp8`,{body:{...t}})}},Et=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-3.1-8b-instruct-fp8-fast`,{body:{...t}})}},Dt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-3.2-11b-vision-instruct`,{body:{...t}})}},Ot=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-3.2-1b-instruct`,{body:{...t}})}},kt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-3.2-3b-instruct`,{body:{...t}})}},At=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-3.3-70b-instruct-fp8-fast`,{body:{...t}})}},jt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-3-8b-instruct`,{body:{...t}})}},Mt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-3-8b-instruct-awq`,{body:{...t}})}},Nt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-4-scout-17b-16e-instruct`,{body:{...t}})}},Pt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/llama-guard-3-8b`,{body:{...t}})}},Ft=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta-llama/llama-2-7b-chat-hf-lora`,{body:{...t}})}},It=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/meta/m2m100-1.2b`,{body:{...t}})}},Lt=class extends m{llama27bChatFp16;llama27bChatInt8;llama3170bInstructFp8Fast;llama318bInstructAwq;llama318bInstructFp8;llama318bInstructFp8Fast;llama3211bVisionInstruct;llama321bInstruct;llama323bInstruct;llama3370bInstructFp8Fast;llama38bInstruct;llama38bInstructAwq;llama4Scout17b16eInstruct;llamaGuard38b;llamaLlama27bChatHfLora;m2m10012b;constructor(e){super(e),this.llama27bChatFp16=new xt(e),this.llama27bChatInt8=new St(e),this.llama3170bInstructFp8Fast=new Ct(e),this.llama318bInstructAwq=new wt(e),this.llama318bInstructFp8=new Tt(e),this.llama318bInstructFp8Fast=new Et(e),this.llama3211bVisionInstruct=new Dt(e),this.llama321bInstruct=new Ot(e),this.llama323bInstruct=new kt(e),this.llama3370bInstructFp8Fast=new At(e),this.llama38bInstruct=new jt(e),this.llama38bInstructAwq=new Mt(e),this.llama4Scout17b16eInstruct=new Nt(e),this.llamaGuard38b=new Pt(e),this.llamaLlama27bChatHfLora=new Ft(e),this.m2m10012b=new It(e)}},Rt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/microsoft/nonomni-resnet-50`,{body:{...t}})}},zt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/microsoft/phi-2`,{body:{...t}})}},Bt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/microsoft/resnet-50`,{body:{...t}})}},Vt=class extends m{nonomniResnet50;phi2;resnet50;constructor(e){super(e),this.nonomniResnet50=new Rt(e),this.phi2=new zt(e),this.resnet50=new Bt(e)}},Ht=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/mistral/mistral-7b-instruct-v0.1`,{body:{...t}})}},Ut=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@hf/mistral/mistral-7b-instruct-v0.2`,{body:{...t}})}},Wt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/mistral/mistral-7b-instruct-v0.2-lora`,{body:{...t}})}},Gt=class extends m{mistral7bInstructV01;mistral7bInstructV02;mistral7bInstructV02Lora;constructor(e){super(e),this.mistral7bInstructV01=new Ht(e),this.mistral7bInstructV02=new Ut(e),this.mistral7bInstructV02Lora=new Wt(e)}},Kt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/mistralai/mistral-small-3.1-24b-instruct`,{body:{...t}})}},qt=class extends m{mistralSmall3124bInstruct;constructor(e){super(e),this.mistralSmall3124bInstruct=new Kt(e)}},Jt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/moonshotai/kimi-k2.5`,{body:{...t}})}},Yt=class extends m{kimiK25;constructor(e){super(e),this.kimiK25=new Jt(e)}},Xt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/myshell-ai/melotts`,{body:{...t}})}},Zt=class extends m{melotts;constructor(e){super(e),this.melotts=new Xt(e)}},Qt=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@hf/nexusflow/starling-lm-7b-beta`,{body:{...t}})}},$t=class extends m{starlingLm7bBeta;constructor(e){super(e),this.starlingLm7bBeta=new Qt(e)}},en=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@hf/nousresearch/hermes-2-pro-mistral-7b`,{body:{...t}})}},tn=class extends m{hermes2ProMistral7b;constructor(e){super(e),this.hermes2ProMistral7b=new en(e)}},nn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/nvidia/nemotron-3-120b-a12b`,{body:{...t}})}},rn=class extends m{nemotron3120bA12b;constructor(e){super(e),this.nemotron3120bA12b=new nn(e)}},an=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/openai/gpt-oss-120b`,{body:{...t}})}},on=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/openai/gpt-oss-20b`,{body:{...t}})}},sn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/openai/whisper`,{body:{...t}})}},cn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/openai/whisper-large-v3-turbo`,{body:{...t}})}},ln=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/openai/whisper-tiny-en`,{body:{...t}})}},un=class extends m{gptOss120b;gptOss20b;whisper;whisperLargeV3Turbo;whisperTinyEn;constructor(e){super(e),this.gptOss120b=new an(e),this.gptOss20b=new on(e),this.whisper=new sn(e),this.whisperLargeV3Turbo=new cn(e),this.whisperTinyEn=new ln(e)}},dn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/openchat/openchat-3.5-0106`,{body:{...t}})}},fn=class extends m{openchat350106;constructor(e){super(e),this.openchat350106=new dn(e)}},pn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/pfnet/plamo-embedding-1b`,{body:{...t}})}},mn=class extends m{plamoEmbedding1b;constructor(e){super(e),this.plamoEmbedding1b=new pn(e)}},hn=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/pipecat-ai/smart-turn-v2`)}},gn=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/pipecat-ai/smart-turn-v3`)}},_n=class extends m{smartTurnV2;smartTurnV3;constructor(e){super(e),this.smartTurnV2=new hn(e),this.smartTurnV3=new gn(e)}},vn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/qwen/qwen1.5-0.5b-chat`,{body:{...t}})}},yn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/qwen/qwen1.5-1.8b-chat`,{body:{...t}})}},bn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/qwen/qwen1.5-14b-chat-awq`,{body:{...t}})}},xn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/qwen/qwen1.5-7b-chat-awq`,{body:{...t}})}},Sn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/qwen/qwen2.5-coder-32b-instruct`,{body:{...t}})}},Cn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/qwen/qwen3-30b-a3b-fp8`,{body:{...t}})}},wn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/qwen/qwen3-embedding-0.6b`,{body:{...t}})}},Tn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/qwen/qwq-32b`,{body:{...t}})}},En=class extends m{qwen1505bChat;qwen1518bChat;qwen1514bChatAwq;qwen157bChatAwq;qwen25Coder32bInstruct;qwen330bA3bFp8;qwen3Embedding06b;qwq32b;constructor(e){super(e),this.qwen1505bChat=new vn(e),this.qwen1518bChat=new yn(e),this.qwen1514bChatAwq=new bn(e),this.qwen157bChatAwq=new xn(e),this.qwen25Coder32bInstruct=new Sn(e),this.qwen330bA3bFp8=new Cn(e),this.qwen3Embedding06b=new wn(e),this.qwq32b=new Tn(e)}},Dn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/runwayml/stable-diffusion-v1-5-img2img`,{body:{...t}})}},On=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/runwayml/stable-diffusion-v1-5-inpainting`,{body:{...t}})}},kn=class extends m{stableDiffusionV15Img2img;stableDiffusionV15Inpainting;constructor(e){super(e),this.stableDiffusionV15Img2img=new Dn(e),this.stableDiffusionV15Inpainting=new On(e)}},An=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/models/schema`,{...t?{query:t}:{}})}},jn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/stabilityai/stable-diffusion-xl-base-1.0`,{body:{...t}})}},Mn=class extends m{stableDiffusionXlBase10;constructor(e){super(e),this.stableDiffusionXlBase10=new jn(e)}},Nn=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/sven/test-pipe-http`)}},Pn=class extends m{testPipeHTTP;constructor(e){super(e),this.testPipeHTTP=new Nn(e)}},Fn=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/test/hello-world-cog`)}},In=class extends m{helloWorldCog;constructor(e){super(e),this.helloWorldCog=new Fn(e)}},Ln=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@hf/thebloke/deepseek-coder-6.7b-base-awq`,{body:{...t}})}},Rn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@hf/thebloke/deepseek-coder-6.7b-instruct-awq`,{body:{...t}})}},zn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/thebloke/discolm-german-7b-v1-awq`,{body:{...t}})}},Bn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@hf/thebloke/llama-2-13b-chat-awq`,{body:{...t}})}},Vn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@hf/thebloke/mistral-7b-instruct-v0.1-awq`,{body:{...t}})}},Hn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@hf/thebloke/neural-chat-7b-v3-1-awq`,{body:{...t}})}},Un=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@hf/thebloke/openhermes-2.5-mistral-7b-awq`,{body:{...t}})}},Wn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@hf/thebloke/zephyr-7b-beta-awq`,{body:{...t}})}},Gn=class extends m{deepseekCoder67bBaseAwq;deepseekCoder67bInstructAwq;discolmGerman7bV1Awq;llama213bChatAwq;mistral7bInstructV01Awq;neuralChat7bV31Awq;openhermes25Mistral7bAwq;zephyr7bBetaAwq;constructor(e){super(e),this.deepseekCoder67bBaseAwq=new Ln(e),this.deepseekCoder67bInstructAwq=new Rn(e),this.discolmGerman7bV1Awq=new zn(e),this.llama213bChatAwq=new Bn(e),this.mistral7bInstructV01Awq=new Vn(e),this.neuralChat7bV31Awq=new Hn(e),this.openhermes25Mistral7bAwq=new Un(e),this.zephyr7bBetaAwq=new Wn(e)}},Kn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/tiiuae/falcon-7b-instruct`,{body:{...t}})}},qn=class extends m{falcon7bInstruct;constructor(e){super(e),this.falcon7bInstruct=new Kn(e)}},Jn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/tinyllama/tinyllama-1.1b-chat-v1.0`,{body:{...t}})}},Yn=class extends m{tinyllama11bChatV10;constructor(e){super(e),this.tinyllama11bChatV10=new Jn(e)}},Xn=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/@cf/zai-org/glm-4.7-flash`,{body:{...t}})}},Zn=class extends m{glm47Flash;constructor(e){super(e),this.glm47Flash=new Xn(e)}},Qn=class extends m{ai4bharat;aisingapore;baai;blackForestLabs;bytedance;deepgram;deepseekAI;defog;facebook;fblgit;google;huggingface;ibm;leonardo;lykon;meta;microsoft;mistral;mistralai;moonshotai;myshellAI;nexusflow;nousresearch;nvidia;openai;openchat;pfnet;pipecatAI;qwen;runwayml;schema;stabilityai;sven;test;thebloke;tiiuae;tinyllama;zaiOrg;constructor(e){super(e),this.ai4bharat=new ge(e),this.aisingapore=new ve(e),this.baai=new Oe(e),this.blackForestLabs=new Ne(e),this.bytedance=new Fe(e),this.deepgram=new Ke(e),this.deepseekAI=new Ye(e),this.defog=new Ze(e),this.facebook=new tt(e),this.fblgit=new rt(e),this.google=new ut(e),this.huggingface=new pt(e),this.ibm=new ht(e),this.leonardo=new vt(e),this.lykon=new bt(e),this.meta=new Lt(e),this.microsoft=new Vt(e),this.mistral=new Gt(e),this.mistralai=new qt(e),this.moonshotai=new Yt(e),this.myshellAI=new Zt(e),this.nexusflow=new $t(e),this.nousresearch=new tn(e),this.nvidia=new rn(e),this.openai=new un(e),this.openchat=new fn(e),this.pfnet=new mn(e),this.pipecatAI=new _n(e),this.qwen=new En(e),this.runwayml=new kn(e),this.schema=new An(e),this.stabilityai=new Mn(e),this.sven=new Pn(e),this.test=new In(e),this.thebloke=new Gn(e),this.tiiuae=new qn(e),this.tinyllama=new Yn(e),this.zaiOrg=new Zn(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/models/search`,{...t?{query:t}:{}})}},$n=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/firewall-for-ai/settings`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/firewall-for-ai/settings`,{body:{...t}})}},er=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/tasks/search`)}},tr=class extends m{constructor(e){super(e)}async transform(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/tomarkdown`)}async supported(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai/tomarkdown/supported`)}},nr=class extends m{authors;finetunes;firewallCustomTopics;models;settings;tasks;toMarkdown;constructor(e){super(e),this.authors=new le(e),this.finetunes=new fe(e),this.firewallCustomTopics=new pe(e),this.models=new Qn(e),this.settings=new $n(e),this.tasks=new er(e),this.toMarkdown=new tr(e)}async run(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/run/${encodeURIComponent(t)}`,{body:{...n}})}},rr=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/datasets`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/datasets/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/ai-gateway/gateways/${encodeURIComponent(e)}/datasets`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/datasets/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/datasets/${encodeURIComponent(n)}`)}},ir=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/routes`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/routes/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/routes`,{body:{...n}})}async update(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/routes/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/routes/${encodeURIComponent(n)}`)}async listDeployments(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/routes/${encodeURIComponent(n)}/deployments`)}async createDeployment(e,t,n,r){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/routes/${encodeURIComponent(n)}/deployments`,{body:{...r}})}async listVersions(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/routes/${encodeURIComponent(n)}/versions`)}async createVersion(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/routes/${encodeURIComponent(n)}/versions`)}async getVersion(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/routes/${encodeURIComponent(n)}/versions/${encodeURIComponent(r)}`)}},ar=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/evaluation-types`,{...t?{query:t}:{}})}},or=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/evaluations`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/evaluations/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/ai-gateway/gateways/${encodeURIComponent(e)}/evaluations`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/evaluations/${encodeURIComponent(n)}`)}},sr=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/logs`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/ai-gateway/gateways/${encodeURIComponent(t)}/logs/${encodeURIComponent(e)}`)}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(n)}/ai-gateway/gateways/${encodeURIComponent(t)}/logs/${encodeURIComponent(e)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/logs`,{...n?{query:n}:{}})}async request(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/ai-gateway/gateways/${encodeURIComponent(t)}/logs/${encodeURIComponent(e)}/request`)}async response(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/ai-gateway/gateways/${encodeURIComponent(t)}/logs/${encodeURIComponent(e)}/response`)}},cr=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/provider_configs`,{...n?{query:n}:{}})}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/provider_configs`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/provider_configs/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}/provider_configs/${encodeURIComponent(n)}`)}},lr=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/ai-gateway/gateways/${encodeURIComponent(e)}/url/${encodeURIComponent(n)}`)}},ur=class extends m{datasets;dynamicRouting;evaluationTypes;evaluations;logs;providerConfigs;urls;constructor(e){super(e),this.datasets=new rr(e),this.dynamicRouting=new ir(e),this.evaluationTypes=new ar(e),this.evaluations=new or(e),this.logs=new sr(e),this.providerConfigs=new cr(e),this.urls=new lr(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/ai-gateway/gateways/${encodeURIComponent(t)}`)}},dr=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/ai-search/instances/${encodeURIComponent(e)}/jobs`,{...n?{query:n}:{}})}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/ai-search/instances/${encodeURIComponent(e)}/jobs`,{body:{...n}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/ai-search/instances/${encodeURIComponent(e)}/jobs/${encodeURIComponent(t)}`)}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(n)}/ai-search/instances/${encodeURIComponent(e)}/jobs/${encodeURIComponent(t)}`,{body:{...r}})}async logs(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(n)}/ai-search/instances/${encodeURIComponent(e)}/jobs/${encodeURIComponent(t)}/logs`,{...r?{query:r}:{}})}},fr=class extends m{constructor(e){super(e)}async completions(e,t,n,r){return this._client.post(`/accounts/${encodeURIComponent(t)}/ai-search/namespaces/${encodeURIComponent(n)}/instances/${encodeURIComponent(e)}/chat/completions`,{body:{...r}})}},pr=class extends m{constructor(e){super(e)}async list(e,t,n,r,i){return this._client.get(`/accounts/${encodeURIComponent(n)}/ai-search/namespaces/${encodeURIComponent(r)}/instances/${encodeURIComponent(e)}/items/${encodeURIComponent(t)}/chunks`,{...i?{query:i}:{}})}},mr=class extends m{constructor(e){super(e)}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(n)}/ai-search/namespaces/${encodeURIComponent(r)}/instances/${encodeURIComponent(e)}/items/${encodeURIComponent(t)}/download`)}},hr=class extends m{constructor(e){super(e)}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(t)}/ai-search/namespaces/${encodeURIComponent(n)}/instances/${encodeURIComponent(e)}/items`,{body:{...r}})}},gr=class extends m{or;constructor(e){super(e),this.or=new hr(e)}},_r=class extends m{chunks;content;create;constructor(e){super(e),this.chunks=new pr(e),this.content=new mr(e),this.create=new gr(e)}async list(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(t)}/ai-search/namespaces/${encodeURIComponent(n)}/instances/${encodeURIComponent(e)}/items`,{...r?{query:r}:{}})}async upload(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/ai-search/namespaces/${encodeURIComponent(n)}/instances/${encodeURIComponent(e)}/items`)}async delete(e,t,n,r){return this._client.delete(`/accounts/${encodeURIComponent(n)}/ai-search/namespaces/${encodeURIComponent(r)}/instances/${encodeURIComponent(e)}/items/${encodeURIComponent(t)}`)}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(n)}/ai-search/namespaces/${encodeURIComponent(r)}/instances/${encodeURIComponent(e)}/items/${encodeURIComponent(t)}`)}async sync(e,t,n,r,i){return this._client.patch(`/accounts/${encodeURIComponent(n)}/ai-search/namespaces/${encodeURIComponent(r)}/instances/${encodeURIComponent(e)}/items/${encodeURIComponent(t)}`,{body:{...i}})}async logs(e,t,n,r,i){return this._client.get(`/accounts/${encodeURIComponent(n)}/ai-search/namespaces/${encodeURIComponent(r)}/instances/${encodeURIComponent(e)}/items/${encodeURIComponent(t)}/logs`,{...i?{query:i}:{}})}},vr=class extends m{constructor(e){super(e)}async list(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(t)}/ai-search/namespaces/${encodeURIComponent(n)}/instances/${encodeURIComponent(e)}/jobs`,{...r?{query:r}:{}})}async create(e,t,n,r){return this._client.post(`/accounts/${encodeURIComponent(t)}/ai-search/namespaces/${encodeURIComponent(n)}/instances/${encodeURIComponent(e)}/jobs`,{body:{...r}})}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(n)}/ai-search/namespaces/${encodeURIComponent(r)}/instances/${encodeURIComponent(e)}/jobs/${encodeURIComponent(t)}`)}async edit(e,t,n,r,i){return this._client.patch(`/accounts/${encodeURIComponent(n)}/ai-search/namespaces/${encodeURIComponent(r)}/instances/${encodeURIComponent(e)}/jobs/${encodeURIComponent(t)}`,{body:{...i}})}async logs(e,t,n,r,i){return this._client.get(`/accounts/${encodeURIComponent(n)}/ai-search/namespaces/${encodeURIComponent(r)}/instances/${encodeURIComponent(e)}/jobs/${encodeURIComponent(t)}/logs`,{...i?{query:i}:{}})}},yr=class extends m{chat;items;jobs;constructor(e){super(e),this.chat=new fr(e),this.items=new _r(e),this.jobs=new vr(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-search/namespaces/${encodeURIComponent(t)}/instances`,{...n?{query:n}:{}})}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai-search/namespaces/${encodeURIComponent(t)}/instances`,{body:{...n}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/ai-search/namespaces/${encodeURIComponent(n)}/instances/${encodeURIComponent(e)}`)}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/ai-search/namespaces/${encodeURIComponent(n)}/instances/${encodeURIComponent(t)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(t)}/ai-search/namespaces/${encodeURIComponent(n)}/instances/${encodeURIComponent(e)}`)}async search(e,t,n,r){return this._client.post(`/accounts/${encodeURIComponent(t)}/ai-search/namespaces/${encodeURIComponent(n)}/instances/${encodeURIComponent(e)}/search`,{body:{...r}})}},br=class extends m{constructor(e){super(e)}async instance(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(e)}/ai-search/namespaces/${encodeURIComponent(t)}/instances/${encodeURIComponent(n)}`,{body:{...r}})}},xr=class extends m{constructor(e){super(e)}async completions(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai-search/namespaces/${encodeURIComponent(t)}/chat/completions`,{body:{...n}})}},Sr=class extends m{chat;constructor(e){super(e),this.chat=new xr(e)}async search(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai-search/namespaces/${encodeURIComponent(t)}/search`,{body:{...n}})}},Cr=class extends m{instance;constructor(e){super(e),this.instance=new Sr(e)}},wr=class extends m{instances;move;multi;constructor(e){super(e),this.instances=new yr(e),this.move=new br(e),this.multi=new Cr(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-search/namespaces`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai-search/namespaces`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-search/namespaces/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/ai-search/namespaces/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/ai-search/namespaces/${encodeURIComponent(t)}`)}async stats(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/ai-search/namespaces/${encodeURIComponent(n)}/instances/${encodeURIComponent(e)}/stats`)}},Tr=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-search/tokens`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai-search/tokens`,{body:{...t}})}async read(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-search/tokens/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/ai-search/tokens/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/ai-search/tokens/${encodeURIComponent(t)}`)}},Er=class extends m{jobs;namespaces;tokens;constructor(e){super(e),this.jobs=new dr(e),this.namespaces=new wr(e),this.tokens=new Tr(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/ai-search/instances`,{...t?{query:t}:{}})}async stats(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/ai-search/instances/${encodeURIComponent(e)}/stats`)}async search(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/ai-search/instances/${encodeURIComponent(e)}/search`,{body:{...n}})}async chatCompletions(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/ai-search/instances/${encodeURIComponent(e)}/chat/completions`,{body:{...n}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai-search/instances`,{body:{...t}})}async read(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/ai-search/instances/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/ai-search/instances/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/ai-search/instances/${encodeURIComponent(e)}`)}},Dr=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/alerting/v3/available_alerts`)}},Or=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/alerting/v3/destinations/eligible`)}},kr=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/alerting/v3/destinations/pagerduty`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/alerting/v3/destinations/pagerduty/connect`)}async delete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/alerting/v3/destinations/pagerduty`)}async link(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/alerting/v3/destinations/pagerduty/connect/${encodeURIComponent(t)}`)}},Ar=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/alerting/v3/destinations/webhooks`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/alerting/v3/destinations/webhooks/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/alerting/v3/destinations/webhooks`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/alerting/v3/destinations/webhooks/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/alerting/v3/destinations/webhooks/${encodeURIComponent(e)}`)}},jr=class extends m{eligible;pagerduty;webhooks;constructor(e){super(e),this.eligible=new Or(e),this.pagerduty=new kr(e),this.webhooks=new Ar(e)}},Mr=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/alerting/v3/history`,{...t?{query:t}:{}})}},Nr=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/alerting/v3/policies`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/alerting/v3/policies/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/alerting/v3/policies`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/alerting/v3/policies/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/alerting/v3/policies/${encodeURIComponent(t)}`)}},Pr=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/alerting/v3/silences`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/alerting/v3/silences/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/alerting/v3/silences`,{body:t})}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/alerting/v3/silences`,{body:t})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/alerting/v3/silences/${encodeURIComponent(t)}`)}},Fr=class extends m{availableAlerts;destinations;history;policies;silences;constructor(e){super(e),this.availableAlerts=new Dr(e),this.destinations=new jr(e),this.history=new Mr(e),this.policies=new Nr(e),this.silences=new Pr(e)}},Ir=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/analytics/colos`,{...t?{query:t}:{}})}},Lr=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/analytics/dashboard`,{...t?{query:t}:{}})}},Rr=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/analytics/latency/colos`)}},zr=class extends m{colos;constructor(e){super(e),this.colos=new Rr(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/analytics/latency`,{...t?{query:t}:{}})}},Br=class extends m{colo;dashboard;latency;constructor(e){super(e),this.colo=new Ir(e),this.dashboard=new Lr(e),this.latency=new zr(e)}},Vr=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/configuration`)}async update(e){return this._client.put(`/zones/${encodeURIComponent(e)}/api_gateway/configuration`)}},Hr=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/discovery/operations`,{...t?{query:t}:{}})}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/api_gateway/discovery/operations/${encodeURIComponent(t)}`)}async bulkEdit(e){return this._client.patch(`/zones/${encodeURIComponent(e)}/api_gateway/discovery/operations`)}},Ur=class extends m{operations;constructor(e){super(e),this.operations=new Hr(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/discovery`)}},Wr=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/api_gateway/expression-template/fallthrough`,{body:{...t}})}},Gr=class extends m{fallthrough;constructor(e){super(e),this.fallthrough=new Wr(e)}},Kr=class extends m{constructor(e){super(e)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/api_gateway/labels/managed/${encodeURIComponent(t)}/resources/operation`)}},qr=class extends m{operation;constructor(e){super(e),this.operation=new Kr(e)}},Jr=class extends m{resources;constructor(e){super(e),this.resources=new qr(e)}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/labels/managed/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}},Yr=class extends m{constructor(e){super(e)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/api_gateway/labels/user/${encodeURIComponent(t)}/resources/operation`)}},Xr=class extends m{operation;constructor(e){super(e),this.operation=new Yr(e)}},Zr=class extends m{resources;constructor(e){super(e),this.resources=new Xr(e)}async bulkDelete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/api_gateway/labels/user`)}async bulkCreate(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/api_gateway/labels/user`,{body:t})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/api_gateway/labels/user/${encodeURIComponent(t)}`)}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/labels/user/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(e)}/api_gateway/labels/user/${encodeURIComponent(t)}`,{body:{...n}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(e)}/api_gateway/labels/user/${encodeURIComponent(t)}`,{body:{...n}})}},Qr=class extends m{managed;user;constructor(e){super(e),this.managed=new Jr(e),this.user=new Zr(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/labels`,{...t?{query:t}:{}})}},$r=class extends m{constructor(e){super(e)}async bulkDelete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/api_gateway/operations/labels`)}async bulkCreate(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/api_gateway/operations/labels`,{body:{...t}})}async bulkUpdate(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/api_gateway/operations/labels`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/api_gateway/operations/${encodeURIComponent(t)}/labels`)}async create(e,t,n){return this._client.post(`/zones/${encodeURIComponent(e)}/api_gateway/operations/${encodeURIComponent(t)}/labels`,{body:{...n}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(e)}/api_gateway/operations/${encodeURIComponent(t)}/labels`,{body:{...n}})}},ei=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/operations/${encodeURIComponent(t)}/schema_validation`)}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(e)}/api_gateway/operations/${encodeURIComponent(t)}/schema_validation`,{body:{...n}})}async edit(e){return this._client.patch(`/zones/${encodeURIComponent(e)}/api_gateway/operations/schema_validation`)}},ti=class extends m{labels;schemaValidation;constructor(e){super(e),this.labels=new $r(e),this.schemaValidation=new ei(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/operations`,{...t?{query:t}:{}})}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/operations/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/api_gateway/operations/item`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/api_gateway/operations/${encodeURIComponent(t)}`)}async bulkCreate(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/api_gateway/operations`,{body:t})}async bulkDelete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/api_gateway/operations`)}},ni=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/schemas`,{...t?{query:t}:{}})}},ri=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/settings/schema_validation`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/api_gateway/settings/schema_validation`,{body:{...t}})}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/api_gateway/settings/schema_validation`,{body:{...t}})}},ii=class extends m{schemaValidation;constructor(e){super(e),this.schemaValidation=new ri(e)}},ai=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/user_schemas/hosts`)}},oi=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/user_schemas/${encodeURIComponent(t)}/operations`,{...n?{query:n}:{}})}},si=class extends m{hosts;operations;constructor(e){super(e),this.hosts=new ai(e),this.operations=new oi(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/user_schemas`,{...t?{query:t}:{}})}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/api_gateway/user_schemas/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/api_gateway/user_schemas`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/api_gateway/user_schemas/${encodeURIComponent(t)}`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/api_gateway/user_schemas/${encodeURIComponent(t)}`)}},ci=class extends m{configurations;discovery;expressionTemplate;labels;operations;schemas;settings;userSchemas;constructor(e){super(e),this.configurations=new Vr(e),this.discovery=new Ur(e),this.expressionTemplate=new Gr(e),this.labels=new Qr(e),this.operations=new ti(e),this.schemas=new ni(e),this.settings=new ii(e),this.userSchemas=new si(e)}},li=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/argo/smart_routing`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/argo/smart_routing`,{body:{...t}})}},ui=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/argo/tiered_caching`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/argo/tiered_caching`,{body:{...t}})}},di=class extends m{smartRouting;tieredCaching;constructor(e){super(e),this.smartRouting=new li(e),this.tieredCaching=new ui(e)}},fi=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/audit_logs`,{...t?{query:t}:{}})}},pi=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/autorag/rags/${encodeURIComponent(e)}/jobs/${encodeURIComponent(t)}`)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/autorag/rags/${encodeURIComponent(e)}/jobs`,{...n?{query:n}:{}})}async logs(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(n)}/autorag/rags/${encodeURIComponent(e)}/jobs/${encodeURIComponent(t)}/logs`,{...r?{query:r}:{}})}},mi=class extends m{jobs;constructor(e){super(e),this.jobs=new pi(e)}async aiSearch(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/autorag/rags/${encodeURIComponent(e)}/ai-search`,{body:{...n}})}async files(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/autorag/rags/${encodeURIComponent(e)}/files`,{...n?{query:n}:{}})}async search(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/autorag/rags/${encodeURIComponent(e)}/search`,{body:{...n}})}async sync(e,t){return this._client.patch(`/accounts/${encodeURIComponent(t)}/autorag/rags/${encodeURIComponent(e)}/sync`)}},hi=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/billing/profile`)}},gi=class extends m{constructor(e){super(e)}async paygo(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/billing/usage/paygo`,{...t?{query:t}:{}})}},_i=class extends m{profiles;usage;constructor(e){super(e),this.profiles=new hi(e),this.usage=new gi(e)}},vi=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/bot_management/feedback`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/bot_management/feedback`,{body:{...t}})}},yi=class extends m{feedback;constructor(e){super(e),this.feedback=new vi(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/bot_management`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/bot_management`,{body:{...t}})}},bi=class extends m{constructor(e){super(e)}async dayReport(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/botnet_feed/asn/${encodeURIComponent(t)}/day_report`,{...n?{query:n}:{}})}async fullReport(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/botnet_feed/asn/${encodeURIComponent(t)}/full_report`)}},xi=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/botnet_feed/configs/asn`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/botnet_feed/configs/asn/${encodeURIComponent(t)}`)}},Si=class extends m{asn;constructor(e){super(e),this.asn=new xi(e)}},Ci=class extends m{asn;configs;constructor(e){super(e),this.asn=new bi(e),this.configs=new Si(e)}},wi=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/v2/brand-protection/logo/matches`,{...t?{query:t}:{}})}},Ti=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/v2/brand-protection/logo/queries`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/v2/brand-protection/logo/queries/${encodeURIComponent(t)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/v2/brand-protection/logo/queries`,{...t?{query:t}:{}})}},Ei=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/v2/brand-protection/domain/matches`,{...t?{query:t}:{}})}},Di=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/v2/brand-protection/domain/queries`,{...t?{query:t}:{}})}},Oi=class extends m{logoMatches;logos;matches;queries;constructor(e){super(e),this.logoMatches=new wi(e),this.logos=new Ti(e),this.matches=new Ei(e),this.queries=new Di(e)}},ki=class extends m{v2;constructor(e){super(e),this.v2=new Oi(e)}async submit(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/v2/brand-protection/logo/search`,{body:{...t}})}async urlInfo(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/v2/brand-protection/total-queries`)}},Ai=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/browser-rendering/content`,{body:{...t}})}},ji=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/browser-rendering/crawl`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/browser-rendering/crawl/${encodeURIComponent(t)}`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/browser-rendering/crawl/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}},Mi=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/browser/${encodeURIComponent(t)}/page/${encodeURIComponent(n)}`)}},Ni=class extends m{constructor(e){super(e)}async activate(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/browser-rendering/devtools/browser/${encodeURIComponent(e)}/json/activate/${encodeURIComponent(n)}`)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/browser/${encodeURIComponent(t)}/json/list`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/browser/${encodeURIComponent(t)}/json/list/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/browser/${encodeURIComponent(t)}/json/new`,{...n?{query:n}:{}})}},Pi=class extends m{page;targets;constructor(e){super(e),this.page=new Mi(e),this.targets=new Ni(e)}async launch(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/browser`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/browser`,{...t?{query:t}:{}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/browser/${encodeURIComponent(t)}`)}async connect(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/browser/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async protocol(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/browser/${encodeURIComponent(t)}/json/protocol`)}async version(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/browser/${encodeURIComponent(t)}/json/version`)}},Fi=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/browser/${encodeURIComponent(t)}/json`)}},Ii=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/session`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/browser-rendering/devtools/session/${encodeURIComponent(t)}`)}},Li=class extends m{browser;json;session;constructor(e){super(e),this.browser=new Pi(e),this.json=new Fi(e),this.session=new Ii(e)}},Ri=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/browser-rendering/json`,{body:{...t}})}},zi=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/browser-rendering/links`,{body:{...t}})}},Bi=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/browser-rendering/markdown`,{body:{...t}})}},Vi=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/browser-rendering/pdf`,{body:{...t}})}},Hi=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/browser-rendering/scrape`,{body:{...t}})}},Ui=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/browser-rendering/screenshot`,{body:{...t}})}},Wi=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/browser-rendering/snapshot`,{body:{...t}})}},Gi=class extends m{content;crawl;devtools;json;links;markdown;pdf;scrape;screenshot;snapshot;constructor(e){super(e),this.content=new Ai(e),this.crawl=new ji(e),this.devtools=new Li(e),this.json=new Ri(e),this.links=new zi(e),this.markdown=new Bi(e),this.pdf=new Vi(e),this.scrape=new Hi(e),this.screenshot=new Ui(e),this.snapshot=new Wi(e)}},Ki=class extends m{constructor(e){super(e)}},qi=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/cache/cache_reserve`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/cache/cache_reserve`,{body:{...t}})}async status(e){return this._client.get(`/zones/${encodeURIComponent(e)}/cache/cache_reserve_clear`)}async clear(e){return this._client.post(`/zones/${encodeURIComponent(e)}/cache/cache_reserve_clear`)}},Ji=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/cache/regional_tiered_cache`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/cache/regional_tiered_cache`,{body:{...t}})}},Yi=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/cache/tiered_cache_smart_topology_enable`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/cache/tiered_cache_smart_topology_enable`,{body:{...t}})}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/cache/tiered_cache_smart_topology_enable`)}},Xi=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/cache/variants`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/cache/variants`,{body:{...t}})}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/cache/variants`)}},Zi=class extends m{cacheReserve;regionalTieredCache;smartTieredCache;variants;constructor(e){super(e),this.cacheReserve=new qi(e),this.regionalTieredCache=new Ji(e),this.smartTieredCache=new Yi(e),this.variants=new Xi(e)}async purge(e){return this._client.post(`/zones/${encodeURIComponent(e)}/purge_cache`)}},Qi=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/calls/apps`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/calls/apps/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/calls/apps`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/calls/apps/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/calls/apps/${encodeURIComponent(e)}`)}},$i=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/calls/turn_keys`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/calls/turn_keys/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/calls/turn_keys`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/calls/turn_keys/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/calls/turn_keys/${encodeURIComponent(e)}`)}},ea=class extends m{sfu;turn;constructor(e){super(e),this.sfu=new Qi(e),this.turn=new $i(e)}},ta=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/certificate_authorities/hostname_associations`,{...t?{query:t}:{}})}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/certificate_authorities/hostname_associations`,{body:{...t}})}},na=class extends m{hostnameAssociations;constructor(e){super(e),this.hostnameAssociations=new ta(e)}},ra=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/client_certificates`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/client_certificates/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/client_certificates`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(e)}/client_certificates/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/client_certificates/${encodeURIComponent(t)}`)}},ia=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/cloud_connector/rules`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/cloud_connector/rules`,{body:t})}},aa=class extends m{rules;constructor(e){super(e),this.rules=new ia(e)}},oa=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/binary/${encodeURIComponent(t)}`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/binary`)}},sa=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/aggregate`,{...t?{query:t}:{}})}},ca=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/categories/catalog`)}},la=class extends m{catalog;constructor(e){super(e),this.catalog=new ca(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/categories/${encodeURIComponent(t)}`,{body:{...n}})}},ua=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/create/bulk/relationships`,{body:{...t}})}},da=class extends m{relationships;constructor(e){super(e),this.relationships=new ua(e)}},fa=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/copy`,{body:{...n}})}},pa=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/events/${encodeURIComponent(n)}`)}},ma=class extends m{constructor(e){super(e)}async group(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/-/groups`)}async v2(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/-/groups/${encodeURIComponent(t)}`)}},ha=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/-/groups/${encodeURIComponent(t)}/members`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/-/groups/${encodeURIComponent(t)}/members`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/-/groups/${encodeURIComponent(t)}/members/${encodeURIComponent(n)}`)}},ga=class extends m{get;members;constructor(e){super(e),this.get=new ma(e),this.members=new ha(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/-/groups`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/-/groups/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/-/groups/${encodeURIComponent(t)}`,{body:{...n}})}},_a=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/indicatorTypes/create`,{body:{...n}})}},va=class extends m{create;constructor(e){super(e),this.create=new _a(e)}},ya=class extends m{types;constructor(e){super(e),this.types=new va(e)}},ba=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/indicators/bulk`,{body:{...n}})}},xa=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/indicators/create`,{body:{...n}})}},Sa=class extends m{constructor(e){super(e)}async indicatorLegacy(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/indicators`,{...n?{query:n}:{}})}async indicator(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/indicators/${encodeURIComponent(n)}`)}},Ca=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/indicators/tags`)}},wa=class extends m{bulk;create;get;tags;constructor(e){super(e),this.bulk=new ba(e),this.create=new xa(e),this.get=new Sa(e),this.tags=new Ca(e)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/indicators/${encodeURIComponent(n)}`)}async patch(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/indicators/${encodeURIComponent(n)}`,{body:{...r}})}},Ta=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/move`,{body:{...n}})}},Ea=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/permissions`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/permissions`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/permissions/${encodeURIComponent(n)}`)}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/permissions/${encodeURIComponent(n)}`,{body:{...r}})}},Da=class extends m{constructor(e){super(e)}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(n)}/tags/${encodeURIComponent(t)}/indicators`,{...r?{query:r}:{}})}},Oa=class extends m{indicators;constructor(e){super(e),this.indicators=new Da(e)}},ka=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}/targetIndustries`)}},Aa=class extends m{industries;constructor(e){super(e),this.industries=new ka(e)}},ja=class extends m{copy;events;groups;indicator;indicators;move;permissions;tags;target;constructor(e){super(e),this.copy=new fa(e),this.events=new pa(e),this.groups=new ga(e),this.indicator=new ya(e),this.indicators=new wa(e),this.move=new Ta(e),this.permissions=new Ea(e),this.tags=new Oa(e),this.target=new Aa(e)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}`,{body:{...n}})}},Ma=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/datasets/populate`)}},Na=class extends m{populate;constructor(e){super(e),this.populate=new Ma(e)}},Pa=class extends m{constructor(e){super(e)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/${encodeURIComponent(t)}/delete`,{...n?{query:n}:{}})}},Fa=class extends m{constructor(e){super(e)}async ql(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/graphql`)}async qlv2(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/v2/events/graphql`)}},Ia=class extends m{graph;constructor(e){super(e),this.graph=new Fa(e)}},La=class extends m{create;constructor(e){super(e),this.create=new Ia(e)}},Ra=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/indicator-types`,{...t?{query:t}:{}})}},za=class extends m{types;constructor(e){super(e),this.types=new Ra(e)}},Ba=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/indicators`,{...t?{query:t}:{}})}},Va=class extends m{constructor(e){super(e)}async event(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/queries`)}async v2(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/queries/${encodeURIComponent(t)}`)}},Ha=class extends m{get;constructor(e){super(e),this.get=new Va(e)}async createCreate(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/queries/create`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/queries/${encodeURIComponent(t)}`)}async patch(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/queries/${encodeURIComponent(t)}`,{body:{...n}})}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/queries/${encodeURIComponent(t)}`,{body:{...n}})}},Ua=class extends m{constructor(e){super(e)}async create(e,t,n,r){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/${encodeURIComponent(t)}/raw/${encodeURIComponent(n)}`,{body:{...r}})}},Wa=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/relate/${encodeURIComponent(t)}/create`,{body:{...n}})}},Ga=class extends m{create;constructor(e){super(e),this.create=new Wa(e)}},Ka=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/relationships/create`,{body:{...t}})}},qa=class extends m{create;constructor(e){super(e),this.create=new Ka(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/${encodeURIComponent(t)}/relationships`,{...n?{query:n}:{}})}},Ja=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/tags/categories/create`,{body:{...t}})}},Ya=class extends m{create;constructor(e){super(e),this.create=new Ja(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/tags/categories`,{...t?{query:t}:{}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/tags/categories/${encodeURIComponent(t)}`)}async patch(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/tags/categories/${encodeURIComponent(t)}`,{body:{...n}})}},Xa=class extends m{categories;constructor(e){super(e),this.categories=new Ya(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/tags`,{...t?{query:t}:{}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/tags/${encodeURIComponent(t)}`)}async patch(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/tags/${encodeURIComponent(t)}`,{body:{...n}})}},Za=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/targetIndustries/catalog`)}},Qa=class extends m{catalog;constructor(e){super(e),this.catalog=new Za(e)}},$a=class extends m{industries;constructor(e){super(e),this.industries=new Qa(e)}},eo=class extends m{constructor(e){super(e)}async patch(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/update/bulk`,{body:{...t}})}},to=class extends m{bulk;constructor(e){super(e),this.bulk=new eo(e)}},no=class extends m{aggregate;categories;createBulk;dataset;datasets;delete;graphql;indicator;indicators;queries;raw;relate;relationships;tags;target;update;constructor(e){super(e),this.aggregate=new sa(e),this.categories=new la(e),this.createBulk=new da(e),this.dataset=new ja(e),this.datasets=new Na(e),this.delete=new Pa(e),this.graphql=new La(e),this.indicator=new za(e),this.indicators=new Ba(e),this.queries=new Ha(e),this.raw=new Ua(e),this.relate=new Ga(e),this.relationships=new qa(e),this.tags=new Xa(e),this.target=new $a(e),this.update=new to(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/${encodeURIComponent(t)}`,{body:{...n}})}},ro=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}/asset/new`)}},io=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}/asset/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}/asset`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}/asset/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}/asset/${encodeURIComponent(n)}`)}},ao=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}/message`,{body:{...n}})}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}/message/new`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}/message/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}/message/${encodeURIComponent(n)}`)}},oo=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/priority/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/priority/new`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/priority/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/priority/${encodeURIComponent(t)}`)}async quota(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/priority/quota`)}async list(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/priority`,{body:{...t}})}},so=class extends m{assetNew;assets;message;priority;constructor(e){super(e),this.assetNew=new ro(e),this.assets=new io(e),this.message=new ao(e),this.priority=new oo(e)}async list(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/new`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/${encodeURIComponent(t)}`)}async quota(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/quota`)}async types(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/types`)}async constants(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/requests/constants`)}},co=class extends m{constructor(e){super(e)}async rules(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/rules`)}},lo=class extends m{constructor(e){super(e)}async rule(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/rules/${encodeURIComponent(t)}`)}},uo=class extends m{all;one;constructor(e){super(e),this.all=new co(e),this.one=new lo(e)}},fo=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/rules/stats`)}},po=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/rules/tree`)}},mo=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/rules/validate`,{body:{...t}})}},ho=class extends m{delete;stats;tree;validate;constructor(e){super(e),this.delete=new uo(e),this.stats=new fo(e),this.tree=new po(e),this.validate=new mo(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/rules`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/rules`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/rules/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/cloudforce-one/rules/${encodeURIComponent(t)}`,{body:{...n}})}},go=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/scans/config`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/scans/config`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/cloudforce-one/scans/config/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/scans/config/${encodeURIComponent(t)}`)}},_o=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/scans/results/${encodeURIComponent(t)}`)}},vo=class extends m{config;results;constructor(e){super(e),this.config=new go(e),this.results=new _o(e)}},yo=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/attackers`,{...t?{query:t}:{}})}},bo=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/categories`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/categories/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/categories/create`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/categories/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/categories/${encodeURIComponent(t)}`)}},xo=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/countries`)}},So=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/create`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/dataset/${encodeURIComponent(t)}`,{body:{...n}})}async raw(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/raw/${encodeURIComponent(n)}/${encodeURIComponent(t)}`)}},Co=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/event_tag/${encodeURIComponent(t)}/create`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/event_tag/${encodeURIComponent(t)}`)}},wo=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/indicatorTypes`)}},To=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/${encodeURIComponent(t)}/raw/${encodeURIComponent(n)}`)}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/${encodeURIComponent(t)}/raw/${encodeURIComponent(n)}`,{body:{...r}})}},Eo=class extends m{constructor(e){super(e)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/relate/${encodeURIComponent(t)}`)}},Do=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/tags/create`,{body:{...t}})}},Oo=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/targetIndustries`,{...t?{query:t}:{}})}},ko=class extends m{attackers;categories;countries;datasets;eventTags;indicatorTypes;raw;relate;tags;targetIndustries;constructor(e){super(e),this.attackers=new yo(e),this.categories=new bo(e),this.countries=new xo(e),this.datasets=new So(e),this.eventTags=new Co(e),this.indicatorTypes=new wo(e),this.raw=new To(e),this.relate=new Eo(e),this.tags=new Do(e),this.targetIndustries=new Oo(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/create`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/${encodeURIComponent(t)}`,{body:{...n}})}async bulkCreate(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cloudforce-one/events/create/bulk`,{body:{...t}})}},Ao=class extends m{binaryStorage;events;requests;rules;scans;threatEvents;constructor(e){super(e),this.binaryStorage=new oa(e),this.events=new no(e),this.requests=new so(e),this.rules=new ho(e),this.scans=new vo(e),this.threatEvents=new ko(e)}},jo=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/connectivity/directory/services`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/connectivity/directory/services`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/connectivity/directory/services/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/connectivity/directory/services/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/connectivity/directory/services/${encodeURIComponent(t)}`)}},Mo=class extends m{services;constructor(e){super(e),this.services=new jo(e)}},No=class extends m{directory;constructor(e){super(e),this.directory=new Mo(e)}},Po=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/content-upload-scan/payloads`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/content-upload-scan/payloads`,{body:t})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/content-upload-scan/payloads/${encodeURIComponent(t)}`)}},Fo=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/content-upload-scan/settings`)}},Io=class extends m{payloads;settings;constructor(e){super(e),this.payloads=new Po(e),this.settings=new Fo(e)}async enable(e){return this._client.post(`/zones/${encodeURIComponent(e)}/content-upload-scan/enable`)}async disable(e){return this._client.post(`/zones/${encodeURIComponent(e)}/content-upload-scan/disable`)}async create(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/content-upload-scan/settings`,{body:{...t}})}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/content-upload-scan/settings`,{body:{...t}})}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/content-upload-scan/settings`)}},Lo=class extends m{constructor(e){super(e)}async update(e){return this._client.put(`/zones/${encodeURIComponent(e)}/custom_certificates/prioritize`)}},Ro=class extends m{prioritize;constructor(e){super(e),this.prioritize=new Lo(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/custom_certificates`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/custom_certificates/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/custom_certificates`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/custom_certificates/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/custom_certificates/${encodeURIComponent(e)}`)}},zo=class extends m{constructor(e){super(e)}async update(e,t,n,r,i){return this._client.put(`/zones/${encodeURIComponent(r)}/custom_hostnames/${encodeURIComponent(e)}/certificate_pack/${encodeURIComponent(t)}/certificates/${encodeURIComponent(n)}`,{body:{...i}})}async delete(e,t,n,r){return this._client.delete(`/zones/${encodeURIComponent(r)}/custom_hostnames/${encodeURIComponent(e)}/certificate_pack/${encodeURIComponent(t)}/certificates/${encodeURIComponent(n)}`)}},Bo=class extends m{certificates;constructor(e){super(e),this.certificates=new zo(e)}},Vo=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/custom_hostnames/fallback_origin`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/custom_hostnames/fallback_origin`,{body:{...t}})}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/custom_hostnames/fallback_origin`)}},Ho=class extends m{certificatePack;fallbackOrigin;constructor(e){super(e),this.certificatePack=new Bo(e),this.fallbackOrigin=new Vo(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/custom_hostnames`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/custom_hostnames/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/custom_hostnames`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/custom_hostnames/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/custom_hostnames/${encodeURIComponent(e)}`)}},Uo=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/custom_ns`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/custom_ns`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/custom_ns/${encodeURIComponent(e)}`)}},Wo=class extends m{constructor(e){super(e)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/custom_pages/${encodeURIComponent(e)}`,{body:{...n}})}},Go=class extends m{constructor(e){super(e)}async asset(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/custom_pages/assets`,{body:{...t}})}},Ko=class extends m{custom;constructor(e){super(e),this.custom=new Go(e)}async v2(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/custom_pages/assets`,{body:{...t}})}},qo=class extends m{constructor(e){super(e)}async asset(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/custom_pages/assets/${encodeURIComponent(e)}`)}},Jo=class extends m{custom;constructor(e){super(e),this.custom=new qo(e)}async v2(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/custom_pages/assets/${encodeURIComponent(e)}`)}},Yo=class extends m{constructor(e){super(e)}async asset(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/custom_pages/assets/${encodeURIComponent(e)}`)}},Xo=class extends m{custom;constructor(e){super(e),this.custom=new Yo(e)}async v2(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/custom_pages/assets/${encodeURIComponent(e)}`)}},Zo=class extends m{constructor(e){super(e)}async assets(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/custom_pages/assets`,{...t?{query:t}:{}})}},Qo=class extends m{custom;constructor(e){super(e),this.custom=new Zo(e)}async v2(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/custom_pages/assets`,{...t?{query:t}:{}})}},$o=class extends m{constructor(e){super(e)}async asset(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/custom_pages/assets/${encodeURIComponent(e)}`,{body:{...n}})}},es=class extends m{custom;constructor(e){super(e),this.custom=new $o(e)}async v2(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/custom_pages/assets/${encodeURIComponent(e)}`,{body:{...n}})}},ts=class extends m{create;delete;get;list;update;constructor(e){super(e),this.create=new Ko(e),this.delete=new Jo(e),this.get=new Xo(e),this.list=new Qo(e),this.update=new es(e)}},ns=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/custom_pages`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/custom_pages/${encodeURIComponent(e)}`)}},rs=class extends m{accountCustomPages;assets;zoneCustomPages;constructor(e){super(e),this.accountCustomPages=new Wo(e),this.assets=new ts(e),this.zoneCustomPages=new ns(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/custom_pages`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/custom_pages/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/custom_pages/${encodeURIComponent(e)}`,{body:{...n}})}},is=class extends m{constructor(e){super(e)}async getBookmark(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/d1/database/${encodeURIComponent(t)}/time_travel/bookmark`,{...n?{query:n}:{}})}async restore(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/d1/database/${encodeURIComponent(t)}/time_travel/restore`,{...n?{query:n}:{}})}},as=class extends m{timeTravel;constructor(e){super(e),this.timeTravel=new is(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/d1/database`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/d1/database/${encodeURIComponent(t)}`)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/d1/database`,{...t?{query:t}:{}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/d1/database/${encodeURIComponent(t)}`)}async query(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/d1/database/${encodeURIComponent(t)}/query`,{body:{...n}})}async export(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/d1/database/${encodeURIComponent(t)}/export`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/d1/database/${encodeURIComponent(t)}`,{body:{...n}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/d1/database/${encodeURIComponent(t)}`,{body:{...n}})}async import(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/d1/database/${encodeURIComponent(t)}/import`,{body:{...n}})}async raw(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/d1/database/${encodeURIComponent(t)}/raw`,{body:{...n}})}},os=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/dcv_delegation/uuid`)}},ss=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/diagnostics/endpoint-healthchecks`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/diagnostics/endpoint-healthchecks`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/diagnostics/endpoint-healthchecks/${encodeURIComponent(t)}`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/diagnostics/endpoint-healthchecks/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/diagnostics/endpoint-healthchecks/${encodeURIComponent(t)}`,{body:{...n}})}},cs=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/diagnostics/traceroute`,{body:{...t}})}},ls=class extends m{endpointHealthchecks;traceroutes;constructor(e){super(e),this.endpointHealthchecks=new ss(e),this.traceroutes=new cs(e)}},us=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/assets-upload-session`)}},ds=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/bindings`)}},fs=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/content`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/content`)}},ps=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/secrets`)}async get(e,t,n,r,i){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/secrets/${encodeURIComponent(r)}`,{...i?{query:i}:{}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/secrets`,{body:{...r}})}async delete(e,t,n,r,i){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/secrets/${encodeURIComponent(r)}`,{...i?{query:i}:{}})}},ms=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/settings`)}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/settings`)}},hs=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/tags`)}async create(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/tags/${encodeURIComponent(r)}`)}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/tags`,{body:r})}async delete(e,t,n,r){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}/tags/${encodeURIComponent(r)}`)}},gs=class extends m{assetUpload;bindings;content;secrets;settings;tags;constructor(e){super(e),this.assetUpload=new us(e),this.bindings=new ds(e),this.content=new fs(e),this.secrets=new ps(e),this.settings=new ms(e),this.tags=new hs(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts`,{...n?{query:n}:{}})}async bulkDelete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}`)}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n,r){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}/scripts/${encodeURIComponent(n)}`,{...r?{query:r}:{}})}},_s=class extends m{scripts;constructor(e){super(e),this.scripts=new gs(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/workers/dispatch/namespaces/${encodeURIComponent(t)}`,{body:{...n}})}},vs=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/dns_analytics/report/bytime`,{...t?{query:t}:{}})}},ys=class extends m{bytimes;constructor(e){super(e),this.bytimes=new vs(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/dns_analytics/report`,{...t?{query:t}:{}})}},bs=class extends m{reports;constructor(e){super(e),this.reports=new ys(e)}},xs=class extends m{constructor(e){super(e)}async zsks(e){return this._client.get(`/zones/${encodeURIComponent(e)}/dnssec/zsk`)}},Ss=class extends m{list;constructor(e){super(e),this.list=new xs(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/dnssec`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/dnssec`,{body:{...t}})}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/dnssec`)}},Cs=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/dns_records`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/dns_records/${encodeURIComponent(e)}`)}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/dns_records`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(t)}/dns_records/${encodeURIComponent(e)}`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/dns_records/${encodeURIComponent(e)}`)}async export(e){return this._client.get(`/zones/${encodeURIComponent(e)}/dns_records/export`)}async import(e){return this._client.post(`/zones/${encodeURIComponent(e)}/dns_records/import`)}async scan(e){return this._client.post(`/zones/${encodeURIComponent(e)}/dns_records/scan`)}async batch(e){return this._client.post(`/zones/${encodeURIComponent(e)}/dns_records/batch`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(t)}/dns_records/${encodeURIComponent(e)}`)}async scanList(e){return this._client.get(`/zones/${encodeURIComponent(e)}/dns_records/scan/review`)}async scanReview(e){return this._client.post(`/zones/${encodeURIComponent(e)}/dns_records/scan/review`)}async scanTrigger(e){return this._client.post(`/zones/${encodeURIComponent(e)}/dns_records/scan/trigger`)}},ws=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dns_settings/views`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dns_settings/views`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dns_settings/views/${encodeURIComponent(t)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dns_settings/views/${encodeURIComponent(t)}`)}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/dns_settings/views/${encodeURIComponent(t)}`,{body:{...n}})}},Ts=class extends m{views;constructor(e){super(e),this.views=new ws(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dns_settings`)}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/dns_settings`,{body:{...t}})}},Es=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/dns_settings`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/dns_settings`,{body:{...t}})}},Ds=class extends m{account;zone;constructor(e){super(e),this.account=new Ts(e),this.zone=new Es(e)}},Os=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dns_records/usage`)}},ks=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/dns_records/usage`)}},As=class extends m{account;zone;constructor(e){super(e),this.account=new Os(e),this.zone=new ks(e)}},js=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/secondary_dns/acls`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/secondary_dns/acls/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/secondary_dns/acls`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/secondary_dns/acls/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/secondary_dns/acls/${encodeURIComponent(e)}`,{body:{...n}})}},Ms=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/secondary_dns/force_axfr`)}},Ns=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/secondary_dns/incoming`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/secondary_dns/incoming`,{body:{...t}})}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/secondary_dns/incoming`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/secondary_dns/incoming`,{body:{...t}})}},Ps=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/secondary_dns/outgoing/status`)}},Fs=class extends m{status;constructor(e){super(e),this.status=new Ps(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/secondary_dns/outgoing`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/secondary_dns/outgoing`,{body:{...t}})}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/secondary_dns/outgoing`)}async disable(e){return this._client.post(`/zones/${encodeURIComponent(e)}/secondary_dns/outgoing/disable`)}async enable(e){return this._client.post(`/zones/${encodeURIComponent(e)}/secondary_dns/outgoing/enable`)}async forceNotify(e){return this._client.post(`/zones/${encodeURIComponent(e)}/secondary_dns/outgoing/force_notify`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/secondary_dns/outgoing`,{body:{...t}})}},Is=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/secondary_dns/peers`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/secondary_dns/peers/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/secondary_dns/peers`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/secondary_dns/peers/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/secondary_dns/peers/${encodeURIComponent(e)}`,{body:{...n}})}},Ls=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/secondary_dns/tsigs`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/secondary_dns/tsigs/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/secondary_dns/tsigs`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/secondary_dns/tsigs/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/secondary_dns/tsigs/${encodeURIComponent(e)}`,{body:{...n}})}},Rs=class extends m{acls;forceAxfr;incoming;outgoing;peers;tsigs;constructor(e){super(e),this.acls=new js(e),this.forceAxfr=new Ms(e),this.incoming=new Ns(e),this.outgoing=new Fs(e),this.peers=new Is(e),this.tsigs=new Ls(e)}},zs=class extends m{analytics;dnssec;records;settings;usage;zoneTransfers;constructor(e){super(e),this.analytics=new bs(e),this.dnssec=new Ss(e),this.records=new Cs(e),this.settings=new Ds(e),this.usage=new As(e),this.zoneTransfers=new Rs(e)}},Bs=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/dns_firewall/${encodeURIComponent(e)}/dns_analytics/report/bytime`,{...n?{query:n}:{}})}},Vs=class extends m{bytimes;constructor(e){super(e),this.bytimes=new Bs(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/dns_firewall/${encodeURIComponent(e)}/dns_analytics/report`,{...n?{query:n}:{}})}},Hs=class extends m{reports;constructor(e){super(e),this.reports=new Vs(e)}},Us=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/dns_firewall/${encodeURIComponent(e)}/reverse_dns`)}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(t)}/dns_firewall/${encodeURIComponent(e)}/reverse_dns`)}},Ws=class extends m{analytics;reverseDNS;constructor(e){super(e),this.analytics=new Hs(e),this.reverseDNS=new Us(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dns_firewall`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/dns_firewall/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dns_firewall`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/dns_firewall/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/dns_firewall/${encodeURIComponent(e)}`)}},Gs=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/durable_objects/namespaces/${encodeURIComponent(t)}/objects`,{...n?{query:n}:{}})}},Ks=class extends m{objects;constructor(e){super(e),this.objects=new Gs(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/durable_objects/namespaces`,{...t?{query:t}:{}})}},qs=class extends m{namespaces;constructor(e){super(e),this.namespaces=new Ks(e)}},Js=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email/routing/addresses`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/email/routing/addresses/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email/routing/addresses`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/email/routing/addresses/${encodeURIComponent(e)}`)}},Ys=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/email/routing/dns`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/email/routing/dns`,{body:{...t}})}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/email/routing/dns`,{body:{...t}})}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/email/routing/dns`)}},Xs=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/email/routing/rules/catch_all`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/email/routing/rules/catch_all`,{body:{...t}})}},Zs=class extends m{catchAlls;constructor(e){super(e),this.catchAlls=new Xs(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/email/routing/rules`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/email/routing/rules/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/email/routing/rules`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/email/routing/rules/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/email/routing/rules/${encodeURIComponent(e)}`)}},Qs=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email/routing/suppression`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email/routing/suppression`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/email/routing/suppression/${encodeURIComponent(t)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email/routing/suppression/${encodeURIComponent(t)}`)}},$s=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email/sending/suppression`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email/sending/suppression`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/email/sending/suppression/${encodeURIComponent(t)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email/sending/suppression/${encodeURIComponent(t)}`)}},ec=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/email/routing/suppression`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/email/routing/suppression`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/email/routing/suppression/${encodeURIComponent(t)}`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/email/routing/suppression/${encodeURIComponent(t)}`)}},tc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/email/sending/suppression`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/email/sending/suppression`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/email/sending/suppression/${encodeURIComponent(t)}`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/email/sending/suppression/${encodeURIComponent(t)}`)}},nc=class extends m{routing;sending;constructor(e){super(e),this.routing=new ec(e),this.sending=new tc(e)}},rc=class extends m{routing;sending;zone;constructor(e){super(e),this.routing=new Qs(e),this.sending=new $s(e),this.zone=new nc(e)}},ic=class extends m{addresses;dns;rules;suppression;constructor(e){super(e),this.addresses=new Js(e),this.dns=new Ys(e),this.rules=new Zs(e),this.suppression=new rc(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/email/routing`)}async disable(e){return this._client.post(`/zones/${encodeURIComponent(e)}/email/routing/disable`)}async enable(e){return this._client.post(`/zones/${encodeURIComponent(e)}/email/routing/enable`)}},ac=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/investigate/${encodeURIComponent(t)}/detections`)}},oc=class extends m{constructor(e){super(e)}async log(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/investigate/${encodeURIComponent(t)}/action_log`)}},sc=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/investigate/${encodeURIComponent(t)}/move`,{body:{...n}})}async bulk(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/investigate/move`,{body:{...t}})}},cc=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/investigate/${encodeURIComponent(t)}/preview`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/investigate/preview`,{body:{...t}})}},lc=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/investigate/${encodeURIComponent(t)}/raw`)}},uc=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/investigate/${encodeURIComponent(t)}/reclassify`,{body:{...n}})}},dc=class extends m{constructor(e){super(e)}async bulk(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/investigate/release`,{body:t})}},fc=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/investigate/${encodeURIComponent(t)}/trace`,{...n?{query:n}:{}})}},pc=class extends m{detections;getAction;move;preview;raw;reclassify;release;trace;constructor(e){super(e),this.detections=new ac(e),this.getAction=new oc(e),this.move=new sc(e),this.preview=new cc(e),this.raw=new lc(e),this.reclassify=new uc(e),this.release=new dc(e),this.trace=new fc(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/investigate`,{...t?{query:t}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/investigate/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}},mc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/phishguard/reports`,{...t?{query:t}:{}})}},hc=class extends m{reports;constructor(e){super(e),this.reports=new mc(e)}},gc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/settings/allow_policies`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/settings/allow_policies/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/settings/allow_policies`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/email-security/settings/allow_policies/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/email-security/settings/allow_policies/${encodeURIComponent(t)}`)}},_c=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/settings/allow_policies/batch`)}},vc=class extends m{batch;constructor(e){super(e),this.batch=new _c(e)}},yc=class extends m{policies;constructor(e){super(e),this.policies=new vc(e)}},bc=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/settings/block_senders/batch`)}},xc=class extends m{batch;constructor(e){super(e),this.batch=new bc(e)}},Sc=class extends m{senders;constructor(e){super(e),this.senders=new xc(e)}},Cc=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/settings/sending_domain_restrictions/batch`)}},wc=class extends m{batch;constructor(e){super(e),this.batch=new Cc(e)}},Tc=class extends m{restrictions;constructor(e){super(e),this.restrictions=new wc(e)}},Ec=class extends m{domain;constructor(e){super(e),this.domain=new Tc(e)}},Dc=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/settings/trusted_domains/batch`)}},Oc=class extends m{batch;constructor(e){super(e),this.batch=new Dc(e)}},kc=class extends m{domains;constructor(e){super(e),this.domains=new Oc(e)}},Ac=class extends m{allow;block;sending;trusted;constructor(e){super(e),this.allow=new yc(e),this.block=new Sc(e),this.sending=new Ec(e),this.trusted=new kc(e)}},jc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/settings/block_senders`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/settings/block_senders/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/settings/block_senders`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/email-security/settings/block_senders/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/email-security/settings/block_senders/${encodeURIComponent(t)}`)}},Mc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/settings/domains`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/settings/domains/${encodeURIComponent(t)}`)}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/email-security/settings/domains/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/email-security/settings/domains/${encodeURIComponent(t)}`)}async bulkDelete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/email-security/settings/domains`)}},Nc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/settings/impersonation_registry`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/settings/impersonation_registry/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/settings/impersonation_registry`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/email-security/settings/impersonation_registry/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/email-security/settings/impersonation_registry/${encodeURIComponent(t)}`)}},Pc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/settings/trusted_domains`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/settings/trusted_domains/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email-security/settings/trusted_domains`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/email-security/settings/trusted_domains/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/email-security/settings/trusted_domains/${encodeURIComponent(t)}`)}},Fc=class extends m{allowPolicies;batch;blockSenders;domains;impersonationRegistry;trustedDomains;constructor(e){super(e),this.allowPolicies=new gc(e),this.batch=new Ac(e),this.blockSenders=new jc(e),this.domains=new Mc(e),this.impersonationRegistry=new Nc(e),this.trustedDomains=new Pc(e)}},Ic=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/email-security/submissions`,{...t?{query:t}:{}})}},Lc=class extends m{investigate;phishguard;settings;submissions;constructor(e){super(e),this.investigate=new pc(e),this.phishguard=new hc(e),this.settings=new Fc(e),this.submissions=new Ic(e)}},Rc=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/email/sending/limits`)}},zc=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/email/sending/subdomains/${encodeURIComponent(e)}/dns`)}},Bc=class extends m{dns;constructor(e){super(e),this.dns=new zc(e)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/email/sending/subdomains`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/email/sending/subdomains/${encodeURIComponent(e)}`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/email/sending/subdomains/${encodeURIComponent(e)}`)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/email/sending/subdomains`)}async preview(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/email/sending/subdomains/preview`,{body:{...t}})}},Vc=class extends m{limits;subdomains;constructor(e){super(e),this.limits=new Rc(e),this.subdomains=new Bc(e)}async send(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email/sending/send`,{body:{...t}})}async sendRaw(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/email/sending/send_raw`,{body:{...t}})}},Hc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/filters`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/filters/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/filters`,{body:t})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/filters/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/filters/${encodeURIComponent(e)}`)}async bulkUpdate(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/filters`,{body:t})}async bulkDelete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/filters`,{...t?{query:t}:{}})}},Uc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/firewall/access_rules/rules`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/firewall/access_rules/rules/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/firewall/access_rules/rules`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/firewall/access_rules/rules/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/firewall/access_rules/rules/${encodeURIComponent(e)}`)}},Wc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/firewall/lockdowns`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/firewall/lockdowns/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/firewall/lockdowns`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/firewall/lockdowns/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/firewall/lockdowns/${encodeURIComponent(e)}`)}},Gc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/firewall/rules`,{...t?{query:t}:{}})}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(t)}/firewall/rules/${encodeURIComponent(e)}`,{...n?{query:n}:{}})}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/firewall/rules`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/firewall/rules/${encodeURIComponent(e)}`,{body:{...n}})}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(t)}/firewall/rules/${encodeURIComponent(e)}`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/firewall/rules/${encodeURIComponent(e)}`)}async bulkUpdate(e){return this._client.put(`/zones/${encodeURIComponent(e)}/firewall/rules`)}async bulkEdit(e){return this._client.patch(`/zones/${encodeURIComponent(e)}/firewall/rules`)}async bulkDelete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/firewall/rules`)}},Kc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/firewall/ua_rules`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/firewall/ua_rules/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/firewall/ua_rules`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/firewall/ua_rules/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/firewall/ua_rules/${encodeURIComponent(e)}`)}},qc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/firewall/waf/overrides`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/firewall/waf/overrides/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/firewall/waf/overrides`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/firewall/waf/overrides/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/firewall/waf/overrides/${encodeURIComponent(e)}`)}},Jc=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/zones/${encodeURIComponent(t)}/firewall/waf/packages/${encodeURIComponent(e)}/groups`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(n)}/firewall/waf/packages/${encodeURIComponent(t)}/groups/${encodeURIComponent(e)}`)}async edit(e,t,n,r){return this._client.patch(`/zones/${encodeURIComponent(n)}/firewall/waf/packages/${encodeURIComponent(t)}/groups/${encodeURIComponent(e)}`,{body:{...r}})}},Yc=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/zones/${encodeURIComponent(t)}/firewall/waf/packages/${encodeURIComponent(e)}/rules`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(n)}/firewall/waf/packages/${encodeURIComponent(t)}/rules/${encodeURIComponent(e)}`)}async edit(e,t,n,r){return this._client.patch(`/zones/${encodeURIComponent(n)}/firewall/waf/packages/${encodeURIComponent(t)}/rules/${encodeURIComponent(e)}`,{body:{...r}})}},Xc=class extends m{groups;rules;constructor(e){super(e),this.groups=new Jc(e),this.rules=new Yc(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/firewall/waf/packages`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/firewall/waf/packages/${encodeURIComponent(e)}`)}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/firewall/waf/packages/${encodeURIComponent(e)}`,{body:{...n}})}},Zc=class extends m{overrides;packages;constructor(e){super(e),this.overrides=new qc(e),this.packages=new Xc(e)}},Qc=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/firewall/access_rules/rules`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/firewall/access_rules/rules`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/firewall/access_rules/rules/${encodeURIComponent(t)}`)}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(e)}/firewall/access_rules/rules/${encodeURIComponent(t)}`,{body:{...n}})}},$c=class extends m{accessRules;lockdowns;rules;uaRules;waf;zoneAccessRules;constructor(e){super(e),this.accessRules=new Uc(e),this.lockdowns=new Wc(e),this.rules=new Gc(e),this.uaRules=new Kc(e),this.waf=new Zc(e),this.zoneAccessRules=new Qc(e)}},el=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/fraud_detection/settings`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/fraud_detection/settings`,{body:{...t}})}},tl=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/google-tag-gateway/config`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/settings/google-tag-gateway/config`,{body:{...t}})}},nl=class extends m{config;constructor(e){super(e),this.config=new tl(e)}},rl=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/healthchecks/preview/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/healthchecks/preview`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/healthchecks/preview/${encodeURIComponent(e)}`)}},il=class extends m{previews;constructor(e){super(e),this.previews=new rl(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/healthchecks`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/healthchecks/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/healthchecks`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/healthchecks/${encodeURIComponent(e)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/healthchecks/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/healthchecks/${encodeURIComponent(e)}`)}},al=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/hostnames/settings/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(e)}/hostnames/settings/${encodeURIComponent(t)}/${encodeURIComponent(n)}`)}async delete(e,t,n){return this._client.delete(`/zones/${encodeURIComponent(e)}/hostnames/settings/${encodeURIComponent(t)}/${encodeURIComponent(n)}`)}},ol=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/hostnames/settings/${encodeURIComponent(t)}/${encodeURIComponent(n)}`)}},sl=class extends m{tls;tlsSingle;constructor(e){super(e),this.tls=new al(e),this.tlsSingle=new ol(e)}},cl=class extends m{settings;constructor(e){super(e),this.settings=new sl(e)}},ll=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/hyperdrive/configs`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/hyperdrive/configs/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/hyperdrive/configs`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/hyperdrive/configs/${encodeURIComponent(t)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/hyperdrive/configs/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/hyperdrive/configs/${encodeURIComponent(t)}`)}},ul=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/iam/permission_groups`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/iam/permission_groups/${encodeURIComponent(t)}`)}},dl=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/iam/resource_groups`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/iam/resource_groups/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/iam/resource_groups`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/iam/resource_groups/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/iam/resource_groups/${encodeURIComponent(t)}`)}},fl=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/sso_connectors`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/sso_connectors/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/sso_connectors`,{body:{...t}})}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/sso_connectors/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/sso_connectors/${encodeURIComponent(t)}`)}async beginVerification(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/sso_connectors/${encodeURIComponent(t)}/begin_verification`)}},pl=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/iam/user_groups/${encodeURIComponent(t)}/members`,{...n?{query:n}:{}})}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/iam/user_groups/${encodeURIComponent(t)}/members`,{body:n})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/iam/user_groups/${encodeURIComponent(t)}/members`,{body:n})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/iam/user_groups/${encodeURIComponent(t)}/members/${encodeURIComponent(n)}`)}},ml=class extends m{members;constructor(e){super(e),this.members=new pl(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/iam/user_groups`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/iam/user_groups/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/iam/user_groups`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/iam/user_groups/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/iam/user_groups/${encodeURIComponent(t)}`)}},hl=class extends m{permissionGroups;resourceGroups;sso;userGroups;constructor(e){super(e),this.permissionGroups=new ul(e),this.resourceGroups=new dl(e),this.sso=new fl(e),this.userGroups=new ml(e)}},gl=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/images/v1/${encodeURIComponent(e)}/blob`)}},_l=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/images/v1/keys`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(t)}/images/v1/keys/${encodeURIComponent(e)}`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/images/v1/keys/${encodeURIComponent(e)}`)}},vl=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/images/v1/stats`)}},yl=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/images/v1/variants`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/images/v1/variants/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/images/v1/variants`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/images/v1/variants/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/images/v1/variants/${encodeURIComponent(e)}`)}},bl=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/images/v1/variants/${encodeURIComponent(e)}/flat`)}},xl=class extends m{blobs;keys;stats;variants;variantsFlat;constructor(e){super(e),this.blobs=new gl(e),this.keys=new _l(e),this.stats=new vl(e),this.variants=new yl(e),this.variantsFlat=new bl(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/images/v1`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/images/v1/${encodeURIComponent(e)}`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/images/v1`)}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/images/v1/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/images/v1/${encodeURIComponent(e)}`)}},Sl=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/images/v2/direct_upload`)}},Cl=class extends m{directUploads;constructor(e){super(e),this.directUploads=new Sl(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/images/v2`,{...t?{query:t}:{}})}},wl=class extends m{v1;v2;constructor(e){super(e),this.v1=new xl(e),this.v2=new Cl(e)}},Tl=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/intel/asn/${encodeURIComponent(e)}/subnets`)}},El=class extends m{subnets;constructor(e){super(e),this.subnets=new Tl(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/intel/asn/${encodeURIComponent(e)}`)}},Dl=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/attack-surface-report/issue-types`)}},Ol=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/attack-surface-report/issues`,{...t?{query:t}:{}})}async class(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/attack-surface-report/issues/class`,{...t?{query:t}:{}})}async severity(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/attack-surface-report/issues/severity`,{...t?{query:t}:{}})}async type(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/attack-surface-report/issues/type`,{...t?{query:t}:{}})}async dismiss(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/intel/attack-surface-report/${encodeURIComponent(t)}/dismiss`,{body:{...n}})}},kl=class extends m{issueTypes;issues;constructor(e){super(e),this.issueTypes=new Dl(e),this.issues=new Ol(e)}},Al=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/dns`,{...t?{query:t}:{}})}},jl=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/domain-history`,{...t?{query:t}:{}})}},Ml=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/domain/bulk`,{...t?{query:t}:{}})}},Nl=class extends m{bulks;constructor(e){super(e),this.bulks=new Ml(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/domain`,{...t?{query:t}:{}})}},Pl=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/indicator-feeds/${encodeURIComponent(t)}/download`)}},Fl=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/indicator-feeds/permissions/view`)}async create(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/intel/indicator-feeds/permissions/add`,{body:{...t}})}async delete(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/intel/indicator-feeds/permissions/remove`,{body:{...t}})}},Il=class extends m{constructor(e){super(e)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/intel/indicator-feeds/${encodeURIComponent(t)}/snapshot`)}},Ll=class extends m{downloads;permissions;snapshots;constructor(e){super(e),this.downloads=new Pl(e),this.permissions=new Fl(e),this.snapshots=new Il(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/indicator-feeds`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/indicator-feeds/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/intel/indicator-feeds`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/intel/indicator-feeds/${encodeURIComponent(t)}`,{body:{...n}})}async data(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/indicator-feeds/${encodeURIComponent(t)}/data`)}},Rl=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/ip-lists`)}},zl=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/ip`,{...t?{query:t}:{}})}},Bl=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/intel/miscategorization`,{body:{...t}})}},Vl=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/sinkholes`)}},Hl=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/intel/whois`,{...t?{query:t}:{}})}},Ul=class extends m{asn;attackSurfaceReport;dns;domainHistory;domains;indicatorFeeds;ipLists;ips;miscategorizations;sinkholes;whois;constructor(e){super(e),this.asn=new El(e),this.attackSurfaceReport=new kl(e),this.dns=new Al(e),this.domainHistory=new jl(e),this.domains=new Nl(e),this.indicatorFeeds=new Ll(e),this.ipLists=new Rl(e),this.ips=new zl(e),this.miscategorizations=new Bl(e),this.sinkholes=new Vl(e),this.whois=new Hl(e)}},Wl=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/ips`,{...e?{query:e}:{}})}},Gl=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/keyless_certificates`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/keyless_certificates/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/keyless_certificates`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/keyless_certificates/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/keyless_certificates/${encodeURIComponent(e)}`)}},Kl=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/storage/kv/namespaces/${encodeURIComponent(e)}/bulk/get`,{body:{...n}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/storage/kv/namespaces/${encodeURIComponent(e)}/bulk`,{body:n})}async delete(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/storage/kv/namespaces/${encodeURIComponent(e)}/bulk/delete`,{body:n})}},ql=class extends m{constructor(e){super(e)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/storage/kv/namespaces/${encodeURIComponent(e)}/bulk`)}},Jl=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/storage/kv/namespaces/${encodeURIComponent(e)}/keys`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/storage/kv/namespaces/${encodeURIComponent(t)}/values/${encodeURIComponent(e)}`)}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(n)}/storage/kv/namespaces/${encodeURIComponent(t)}/values/${encodeURIComponent(e)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/storage/kv/namespaces/${encodeURIComponent(t)}/values/${encodeURIComponent(e)}`)}},Yl=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/storage/kv/namespaces/${encodeURIComponent(t)}/metadata/${encodeURIComponent(e)}`)}},Xl=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/storage/kv/namespaces`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/storage/kv/namespaces/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/storage/kv/namespaces`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/storage/kv/namespaces/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/storage/kv/namespaces/${encodeURIComponent(e)}`)}},Zl=class extends m{bulk;bulkDeprecated;keys;metadata;namespaces;constructor(e){super(e),this.bulk=new Kl(e),this.bulkDeprecated=new ql(e),this.keys=new Jl(e),this.metadata=new Yl(e),this.namespaces=new Xl(e)}},Ql=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/leaked-credential-checks/detections`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/leaked-credential-checks/detections`,{body:{...t}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/leaked-credential-checks/detections/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(e)}/leaked-credential-checks/detections/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/leaked-credential-checks/detections/${encodeURIComponent(t)}`)}},$l=class extends m{detections;constructor(e){super(e),this.detections=new Ql(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/leaked-credential-checks`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/leaked-credential-checks`,{body:{...t}})}},eu=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/load_balancers/monitor_groups/${encodeURIComponent(e)}/references`)}},tu=class extends m{references;constructor(e){super(e),this.references=new eu(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/load_balancers/monitor_groups`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/load_balancers/monitor_groups/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/load_balancers/monitor_groups`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/load_balancers/monitor_groups/${encodeURIComponent(e)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/load_balancers/monitor_groups/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/load_balancers/monitor_groups/${encodeURIComponent(e)}`)}},nu=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/load_balancers/monitors/${encodeURIComponent(e)}/preview`,{body:{...n}})}},ru=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/load_balancers/monitors/${encodeURIComponent(e)}/references`)}},iu=class extends m{previews;references;constructor(e){super(e),this.previews=new nu(e),this.references=new ru(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/load_balancers/monitors`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/load_balancers/monitors/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/load_balancers/monitors`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/load_balancers/monitors/${encodeURIComponent(e)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/load_balancers/monitors/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/load_balancers/monitors/${encodeURIComponent(e)}`)}},au=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/load_balancers/pools/${encodeURIComponent(e)}/health`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/load_balancers/pools/${encodeURIComponent(e)}/preview`,{body:{...n}})}},ou=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/load_balancers/pools/${encodeURIComponent(e)}/references`)}},su=class extends m{health;references;constructor(e){super(e),this.health=new au(e),this.references=new ou(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/load_balancers/pools`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/load_balancers/pools/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/load_balancers/pools`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/load_balancers/pools/${encodeURIComponent(e)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/load_balancers/pools/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/load_balancers/pools/${encodeURIComponent(e)}`)}async bulkEdit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/load_balancers/pools`,{body:{...t}})}},cu=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/load_balancers/preview/${encodeURIComponent(e)}`)}},lu=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/load_balancers/regions`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/load_balancers/regions/${encodeURIComponent(e)}`)}},uu=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/load_balancers/search`,{...t?{query:t}:{}})}},du=class extends m{monitorGroups;monitors;pools;previews;regions;searches;constructor(e){super(e),this.monitorGroups=new tu(e),this.monitors=new iu(e),this.pools=new su(e),this.previews=new cu(e),this.regions=new lu(e),this.searches=new uu(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/load_balancers`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/load_balancers/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/load_balancers`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(e)}/load_balancers/${encodeURIComponent(t)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(e)}/load_balancers/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/load_balancers/${encodeURIComponent(t)}`)}},fu=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/logpush/datasets/${encodeURIComponent(e)}/fields`)}},pu=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/logpush/datasets/${encodeURIComponent(e)}/jobs`)}},mu=class extends m{fields;jobs;constructor(e){super(e),this.fields=new fu(e),this.jobs=new pu(e)}},hu=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/logpush/jobs`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/logpush/jobs`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/logpush/jobs/${encodeURIComponent(e)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/logpush/jobs/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/logpush/jobs/${encodeURIComponent(e)}`,{body:{...n}})}},gu=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/logpush/ownership/validate`,{body:{...t}})}},_u=class extends m{validate;constructor(e){super(e),this.validate=new gu(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/logpush/ownership`,{body:{...t}})}},vu=class extends m{constructor(e){super(e)}async delete(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/logpush/validate/destination`,{body:{...t}})}},yu=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/logpush/validate/origin`,{body:{...t}})}},bu=class extends m{destination;origin;constructor(e){super(e),this.destination=new vu(e),this.origin=new yu(e)}async destinationExistsDelete(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/logpush/validate/destination/exists`,{body:{...t}})}},xu=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/logpush/datasets/${encodeURIComponent(e)}/fields`)}},Su=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/logpush/datasets/${encodeURIComponent(e)}/jobs`)}},Cu=class extends m{fields;jobs;constructor(e){super(e),this.fields=new xu(e),this.jobs=new Su(e)}},wu=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/logpush/edge/jobs`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/logpush/edge/jobs`,{body:{...t}})}},Tu=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/logpush/jobs`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/logpush/jobs/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/logpush/jobs`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/logpush/jobs/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/logpush/jobs/${encodeURIComponent(e)}`)}},Eu=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/logs/explorer/datasets/available`)}},Du=class extends m{available;constructor(e){super(e),this.available=new Eu(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/logs/explorer/datasets`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/logs/explorer/datasets`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/logs/explorer/datasets/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/logs/explorer/datasets/${encodeURIComponent(t)}`,{body:{...n}})}},Ou=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/logs/explorer/datasets/available`)}},ku=class extends m{available;constructor(e){super(e),this.available=new Ou(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/logs/explorer/datasets`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/logs/explorer/datasets`,{body:{...t}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/logs/explorer/datasets/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(e)}/logs/explorer/datasets/${encodeURIComponent(t)}`,{body:{...n}})}},Au=class extends m{accounts;zones;constructor(e){super(e),this.accounts=new Du(e),this.zones=new ku(e)}},ju=class extends m{constructor(e){super(e)}async query(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/logs/explorer/query/sql`)}},Mu=class extends m{constructor(e){super(e)}async query(e){return this._client.post(`/zones/${encodeURIComponent(e)}/logs/explorer/query/sql`)}},Nu=class extends m{accounts;zones;constructor(e){super(e),this.accounts=new ju(e),this.zones=new Mu(e)}},Pu=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/logpush/ownership`,{body:{...t}})}async validate(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/logpush/ownership/validate`,{body:{...t}})}},Fu=class extends m{constructor(e){super(e)}async destination(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/logpush/validate/destination`,{body:{...t}})}async destinationExists(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/logpush/validate/destination/exists`,{body:{...t}})}async origin(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/logpush/validate/origin`,{body:{...t}})}},Iu=class extends m{accountDatasets;accountJobs;accountOwnership;accountValidate;datasets;edge;jobs;logExplorerDatasets;logExplorerQuery;ownership;validate;constructor(e){super(e),this.accountDatasets=new mu(e),this.accountJobs=new hu(e),this.accountOwnership=new _u(e),this.accountValidate=new bu(e),this.datasets=new Cu(e),this.edge=new wu(e),this.jobs=new Tu(e),this.logExplorerDatasets=new Au(e),this.logExplorerQuery=new Nu(e),this.ownership=new Pu(e),this.validate=new Fu(e)}},Lu=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/logs/control/cmb/config`,{body:{...t}})}async delete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/logs/control/cmb/config`)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/logs/control/cmb/config`)}},Ru=class extends m{config;constructor(e){super(e),this.config=new Lu(e)}},zu=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/logs/control/retention/flag`,{body:{...t}})}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/logs/control/retention/flag`)}},Bu=class extends m{cmb;retention;constructor(e){super(e),this.cmb=new Ru(e),this.retention=new zu(e)}},Vu=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/logs/rayids/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}},Hu=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/logs/received/fields`)}},Uu=class extends m{fields;constructor(e){super(e),this.fields=new Hu(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/logs/received`,{...t?{query:t}:{}})}},Wu=class extends m{control;rayid;received;constructor(e){super(e),this.control=new Bu(e),this.rayid=new Vu(e),this.received=new Uu(e)}},Gu=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/catalog-syncs/prebuilt-policies`,{...t?{query:t}:{}})}},Ku=class extends m{prebuiltPolicies;constructor(e){super(e),this.prebuiltPolicies=new Gu(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/catalog-syncs`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/catalog-syncs/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/cloud/catalog-syncs`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/cloud/catalog-syncs/${encodeURIComponent(t)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/cloud/catalog-syncs/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/cloud/catalog-syncs/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async refresh(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/cloud/catalog-syncs/${encodeURIComponent(t)}/refresh`)}},qu=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/providers`,{...t?{query:t}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/providers/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/cloud/providers`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/cloud/providers/${encodeURIComponent(t)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/cloud/providers/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/cloud/providers/${encodeURIComponent(t)}`)}async discoverAll(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/cloud/providers/discover`)}async discover(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/cloud/providers/${encodeURIComponent(t)}/discover`,{...n?{query:n}:{}})}async initialSetup(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/providers/${encodeURIComponent(t)}/initial_setup`)}},Ju=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps/magic_wan_address_space`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps/magic_wan_address_space`,{body:{...t}})}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps/magic_wan_address_space`,{body:{...t}})}},Yu=class extends m{addressSpaces;constructor(e){super(e),this.addressSpaces=new Ju(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps`,{...t?{query:t}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps/${encodeURIComponent(t)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async apply(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps/${encodeURIComponent(t)}/apply`)}async export(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps/${encodeURIComponent(t)}/export`)}async plan(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/cloud/onramps/${encodeURIComponent(t)}/plan`)}},Xu=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/resources`,{...t?{query:t}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/resources/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async export(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cloud/resources/export`,{...t?{query:t}:{}})}async policyPreview(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/cloud/resources/policy-preview`,{body:{...t}})}},Zu=class extends m{catalogSyncs;cloudIntegrations;onRamps;resources;constructor(e){super(e),this.catalogSyncs=new Ku(e),this.cloudIntegrations=new qu(e),this.onRamps=new Yu(e),this.resources=new Xu(e)}},Qu=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/mnm/config/full`)}},$u=class extends m{full;constructor(e){super(e),this.full=new Qu(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/mnm/config`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/mnm/config`,{body:{...t}})}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/mnm/config`,{body:{...t}})}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/mnm/config`,{body:{...t}})}async delete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/mnm/config`)}},ed=class extends m{constructor(e){super(e)}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(t)}/mnm/rules/${encodeURIComponent(e)}/advertisement`)}},td=class extends m{advertisements;constructor(e){super(e),this.advertisements=new ed(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/mnm/rules`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/mnm/rules/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/mnm/rules`,{body:{...t}})}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/mnm/rules`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/mnm/rules/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/mnm/rules/${encodeURIComponent(e)}`)}},nd=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/mnm/vpc-flows/token`)}},rd=class extends m{tokens;constructor(e){super(e),this.tokens=new nd(e)}},id=class extends m{configs;rules;vpcFlows;constructor(e){super(e),this.configs=new $u(e),this.rules=new td(e),this.vpcFlows=new rd(e)}},ad=class extends m{constructor(e){super(e)}async account(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_dns_protection/configs/dns_protection/rules`)}},od=class extends m{constructor(e){super(e)}async rule(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_dns_protection/configs/dns_protection/rules/${encodeURIComponent(t)}`)}},sd=class extends m{for;protection;constructor(e){super(e),this.for=new ad(e),this.protection=new od(e)}},cd=class extends m{delete;constructor(e){super(e),this.delete=new sd(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_dns_protection/configs/dns_protection/rules`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/advanced_dns_protection/configs/dns_protection/rules`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_dns_protection/configs/dns_protection/rules/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/advanced_dns_protection/configs/dns_protection/rules/${encodeURIComponent(t)}`,{body:{...n}})}},ld=class extends m{rules;constructor(e){super(e),this.rules=new cd(e)}},ud=class extends m{protection;constructor(e){super(e),this.protection=new ld(e)}},dd=class extends m{dns;constructor(e){super(e),this.dns=new ud(e)}},fd=class extends m{configs;constructor(e){super(e),this.configs=new dd(e)}},pd=class extends m{constructor(e){super(e)}async prefix(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/allowlist/${encodeURIComponent(t)}`)}},md=class extends m{constructor(e){super(e)}async account(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/allowlist`)}},hd=class extends m{allowlist;for;constructor(e){super(e),this.allowlist=new pd(e),this.for=new md(e)}},gd=class extends m{delete;constructor(e){super(e),this.delete=new hd(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/allowlist`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/allowlist`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/allowlist/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/allowlist/${encodeURIComponent(t)}`,{body:{...n}})}},_d=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/prefixes/bulk`,{body:t})}},vd=class extends m{constructor(e){super(e)}async account(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/prefixes`)}},yd=class extends m{for;constructor(e){super(e),this.for=new vd(e)}async prefix(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/prefixes/${encodeURIComponent(t)}`)}},bd=class extends m{bulk;delete;constructor(e){super(e),this.bulk=new _d(e),this.delete=new yd(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/prefixes`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/prefixes`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/prefixes/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/prefixes/${encodeURIComponent(t)}`,{body:{...n}})}},xd=class extends m{constructor(e){super(e)}async account(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/filters`)}},Sd=class extends m{constructor(e){super(e)}async filter(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/filters/${encodeURIComponent(t)}`)}},Cd=class extends m{for;protection;constructor(e){super(e),this.for=new xd(e),this.protection=new Sd(e)}},wd=class extends m{delete;constructor(e){super(e),this.delete=new Cd(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/filters`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/filters`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/filters/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/filters/${encodeURIComponent(t)}`,{body:{...n}})}},Td=class extends m{constructor(e){super(e)}async account(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/rules`)}},Ed=class extends m{constructor(e){super(e)}async rule(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/rules/${encodeURIComponent(t)}`)}},Dd=class extends m{for;protection;constructor(e){super(e),this.for=new Td(e),this.protection=new Ed(e)}},Od=class extends m{delete;constructor(e){super(e),this.delete=new Dd(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/rules`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/rules`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/rules/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/syn_protection/rules/${encodeURIComponent(t)}`,{body:{...n}})}},kd=class extends m{filters;rules;constructor(e){super(e),this.filters=new wd(e),this.rules=new Od(e)}},Ad=class extends m{protection;constructor(e){super(e),this.protection=new kd(e)}},jd=class extends m{constructor(e){super(e)}async account(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters`)}},Md=class extends m{constructor(e){super(e)}async filter(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/${encodeURIComponent(t)}`)}},Nd=class extends m{for;protection;constructor(e){super(e),this.for=new jd(e),this.protection=new Md(e)}},Pd=class extends m{delete;constructor(e){super(e),this.delete=new Nd(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/${encodeURIComponent(t)}`,{body:{...n}})}},Fd=class extends m{constructor(e){super(e)}async account(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules`)}},Id=class extends m{constructor(e){super(e)}async rule(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/${encodeURIComponent(t)}`)}},Ld=class extends m{for;protection;constructor(e){super(e),this.for=new Fd(e),this.protection=new Id(e)}},Rd=class extends m{delete;constructor(e){super(e),this.delete=new Ld(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/${encodeURIComponent(t)}`,{body:{...n}})}},zd=class extends m{filters;rules;constructor(e){super(e),this.filters=new Pd(e),this.rules=new Rd(e)}},Bd=class extends m{protection;constructor(e){super(e),this.protection=new zd(e)}},Vd=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_protection_status`)}async update(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/advanced_tcp_protection/configs/tcp_protection_status`,{body:{...t}})}},Hd=class extends m{status;constructor(e){super(e),this.status=new Vd(e)}},Ud=class extends m{flow;protection;constructor(e){super(e),this.flow=new Bd(e),this.protection=new Hd(e)}},Wd=class extends m{allowlist;prefixes;syn;tcp;constructor(e){super(e),this.allowlist=new gd(e),this.prefixes=new bd(e),this.syn=new Ad(e),this.tcp=new Ud(e)}},Gd=class extends m{configs;constructor(e){super(e),this.configs=new Wd(e)}},Kd=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/apps`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/apps`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/apps/${encodeURIComponent(t)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/apps/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/apps/${encodeURIComponent(t)}`)}},qd=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/cf_interconnects`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/magic/cf_interconnects/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/magic/cf_interconnects/${encodeURIComponent(e)}`,{body:{...n}})}async bulkUpdate(e){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/cf_interconnects`)}},Jd=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/connectors/${encodeURIComponent(t)}/telemetry/events/latest`)}},Yd=class extends m{latest;constructor(e){super(e),this.latest=new Jd(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/connectors/${encodeURIComponent(t)}/telemetry/events`,{...n?{query:n}:{}})}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/connectors/${encodeURIComponent(t)}/telemetry/events/${encodeURIComponent(n)}.${encodeURIComponent(r)}`)}},Xd=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/connectors/${encodeURIComponent(t)}/telemetry/snapshots/latest`)}},Zd=class extends m{latest;constructor(e){super(e),this.latest=new Xd(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/connectors/${encodeURIComponent(t)}/telemetry/snapshots`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/connectors/${encodeURIComponent(t)}/telemetry/snapshots/${encodeURIComponent(n)}`)}},Qd=class extends m{events;snapshots;constructor(e){super(e),this.events=new Yd(e),this.snapshots=new Zd(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/connectors`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/connectors/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/connectors`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/connectors/${encodeURIComponent(t)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/connectors/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/connectors/${encodeURIComponent(t)}`)}},$d=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/gre_tunnels`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/magic/gre_tunnels/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/gre_tunnels`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/magic/gre_tunnels/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/magic/gre_tunnels/${encodeURIComponent(e)}`)}async bulkUpdate(e){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/gre_tunnels`)}},ef=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/ipsec_tunnels`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/magic/ipsec_tunnels/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/ipsec_tunnels`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/magic/ipsec_tunnels/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/magic/ipsec_tunnels/${encodeURIComponent(e)}`)}async bulkUpdate(e){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/ipsec_tunnels`)}async pskGenerate(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/magic/ipsec_tunnels/${encodeURIComponent(e)}/psk_generate`)}},tf=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/pcaps/${encodeURIComponent(e)}/download`)}},nf=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/pcaps/ownership`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/pcaps/ownership`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/pcaps/ownership/${encodeURIComponent(e)}`)}async validate(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/pcaps/ownership/validate`,{body:{...t}})}},rf=class extends m{download;ownership;constructor(e){super(e),this.download=new tf(e),this.ownership=new nf(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/pcaps`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/pcaps/${encodeURIComponent(e)}`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/pcaps`)}async stop(e,t){return this._client.put(`/accounts/${encodeURIComponent(t)}/pcaps/${encodeURIComponent(e)}/stop`)}},af=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/routes`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/magic/routes/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/routes`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/magic/routes/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/magic/routes/${encodeURIComponent(e)}`)}async bulkUpdate(e){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/routes`)}async empty(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/routes`)}},of=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/acls`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/acls/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/acls`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/acls/${encodeURIComponent(n)}`,{body:{...r}})}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/acls/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/acls/${encodeURIComponent(n)}`)}},sf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/app_configs`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/app_configs`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/app_configs/${encodeURIComponent(n)}`)}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/app_configs/${encodeURIComponent(n)}`,{body:{...r}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/app_configs/${encodeURIComponent(n)}`,{body:{...r}})}},cf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/lans`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/lans/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/lans`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/lans/${encodeURIComponent(n)}`,{body:{...r}})}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/lans/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/lans/${encodeURIComponent(n)}`)}},lf=class extends m{constructor(e){super(e)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/netflow_config`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/netflow_config`)}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/netflow_config`,{body:{...n}})}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/netflow_config`,{body:{...n}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/netflow_config`,{body:{...n}})}},uf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/wans`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/wans/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/sites/${encodeURIComponent(t)}/wans`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/wans/${encodeURIComponent(n)}`,{body:{...r}})}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/wans/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}/wans/${encodeURIComponent(n)}`)}},df=class extends m{acls;appConfiguration;lans;netflowConfig;wans;constructor(e){super(e),this.acls=new of(e),this.appConfiguration=new sf(e),this.lans=new cf(e),this.netflowConfig=new lf(e),this.wans=new uf(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/magic/sites`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/magic/sites`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/magic/sites/${encodeURIComponent(e)}`)}},ff=class extends m{advancedDNSProtection;advancedTCPProtection;apps;cfInterconnects;connectors;greTunnels;ipsecTunnels;pcaps;routes;sites;constructor(e){super(e),this.advancedDNSProtection=new fd(e),this.advancedTCPProtection=new Gd(e),this.apps=new Kd(e),this.cfInterconnects=new qd(e),this.connectors=new Qd(e),this.greTunnels=new $d(e),this.ipsecTunnels=new ef(e),this.pcaps=new rf(e),this.routes=new af(e),this.sites=new df(e)}},pf=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/managed_headers`)}async edit(e){return this._client.patch(`/zones/${encodeURIComponent(e)}/managed_headers`)}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/managed_headers`)}},mf=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/mtls_certificates/${encodeURIComponent(e)}/associations`)}},hf=class extends m{associations;constructor(e){super(e),this.associations=new mf(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/mtls_certificates`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/mtls_certificates/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/mtls_certificates`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/mtls_certificates/${encodeURIComponent(e)}`)}},gf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cni/cnis`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/cni/cnis/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cni/cnis`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/cni/cnis/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/cni/cnis/${encodeURIComponent(e)}`)}},_f=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cni/interconnects`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/cni/interconnects/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cni/interconnects`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/cni/interconnects/${encodeURIComponent(e)}`)}async loa(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/cni/interconnects/${encodeURIComponent(e)}/loa`)}async status(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/cni/interconnects/${encodeURIComponent(e)}/status`)}},vf=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/cni/settings`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/cni/settings`,{body:{...t}})}},yf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cni/slots`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/cni/slots/${encodeURIComponent(e)}`)}},bf=class extends m{cnis;interconnects;settings;slots;constructor(e){super(e),this.cnis=new gf(e),this.interconnects=new _f(e),this.settings=new vf(e),this.slots=new yf(e)}},xf=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/organizations`)}},Sf=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/organizations/${encodeURIComponent(e)}/logs/audit`,{...t?{query:t}:{}})}},Cf=class extends m{audit;constructor(e){super(e),this.audit=new Sf(e)}},wf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/organizations/${encodeURIComponent(e)}/members`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/organizations/${encodeURIComponent(e)}/members`,{body:{...t}})}async delete(e,t){return this._client.delete(`/organizations/${encodeURIComponent(e)}/members/${encodeURIComponent(t)}`)}async get(e,t){return this._client.get(`/organizations/${encodeURIComponent(e)}/members/${encodeURIComponent(t)}`)}},Tf=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/organizations/${encodeURIComponent(e)}/members:batchCreate`)}},Ef=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/organizations/${encodeURIComponent(e)}/accounts`,{...t?{query:t}:{}})}},Df=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/organizations/${encodeURIComponent(e)}/profile`)}async update(e,t){return this._client.put(`/organizations/${encodeURIComponent(e)}/profile`,{body:{...t}})}},Of=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/organizations/${encodeURIComponent(e)}/shares`,{...t?{query:t}:{}})}},kf=class extends m{accountOrganizations;logs;members;membersBatchCreate;organizationAccounts;organizationProfile;shares;constructor(e){super(e),this.accountOrganizations=new xf(e),this.logs=new Cf(e),this.members=new wf(e),this.membersBatchCreate=new Tf(e),this.organizationAccounts=new Ef(e),this.organizationProfile=new Df(e),this.shares=new Of(e)}async list(e){return this._client.get(`/organizations`,{...e?{query:e}:{}})}async get(e){return this._client.get(`/organizations/${encodeURIComponent(e)}`)}async create(e){return this._client.post(`/organizations`,{body:{...e}})}async update(e,t){return this._client.put(`/organizations/${encodeURIComponent(e)}`,{body:{...t}})}async delete(e){return this._client.delete(`/organizations/${encodeURIComponent(e)}`)}},Af=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/certificates`,{...e?{query:e}:{}})}async get(e){return this._client.get(`/certificates/${encodeURIComponent(e)}`)}async create(e){return this._client.post(`/certificates`,{body:{...e}})}async delete(e){return this._client.delete(`/certificates/${encodeURIComponent(e)}`)}},jf=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/cache/origin_post_quantum_encryption`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/cache/origin_post_quantum_encryption`,{body:{...t}})}},Mf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/origin_tls_client_auth/hostnames`,{...t?{query:t}:{}})}},Nf=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/origin_tls_client_auth/hostnames/certificates`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/origin_tls_client_auth/hostnames/certificates/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/origin_tls_client_auth/hostnames/certificates`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/origin_tls_client_auth/hostnames/certificates/${encodeURIComponent(e)}`)}},Pf=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/origin_tls_client_auth/hostnames/${encodeURIComponent(e)}`)}async update(e){return this._client.put(`/zones/${encodeURIComponent(e)}/origin_tls_client_auth/hostnames`)}},Ff=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/origin_tls_client_auth/settings`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/origin_tls_client_auth/settings`,{body:{...t}})}},If=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/origin_tls_client_auth`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/origin_tls_client_auth/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/origin_tls_client_auth`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/origin_tls_client_auth/${encodeURIComponent(e)}`)}},Lf=class extends m{hostnameAssociations;hostnameCertificates;hostnames;settings;zoneCertificates;constructor(e){super(e),this.hostnameAssociations=new Mf(e),this.hostnameCertificates=new Nf(e),this.hostnames=new Pf(e),this.settings=new Ff(e),this.zoneCertificates=new If(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/origin_tls_client_auth`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/origin_tls_client_auth/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/origin_tls_client_auth`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/origin_tls_client_auth/${encodeURIComponent(e)}`)}},Rf=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/pagerules/settings`)}},zf=class extends m{settings;constructor(e){super(e),this.settings=new Rf(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/pagerules`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/pagerules/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/pagerules`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/pagerules/${encodeURIComponent(e)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/pagerules/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/pagerules/${encodeURIComponent(e)}`)}},Bf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/page_shield/connections`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/page_shield/connections/${encodeURIComponent(t)}`)}},Vf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/page_shield/cookies`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/page_shield/cookies/${encodeURIComponent(t)}`)}},Hf=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/page_shield/policies`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/page_shield/policies/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/page_shield/policies`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(e)}/page_shield/policies/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/page_shield/policies/${encodeURIComponent(t)}`)}},Uf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/page_shield/scripts`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/page_shield/scripts/${encodeURIComponent(t)}`)}},Wf=class extends m{connections;cookies;policies;scripts;constructor(e){super(e),this.connections=new Bf(e),this.cookies=new Vf(e),this.policies=new Hf(e),this.scripts=new Uf(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/page_shield`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/page_shield`,{body:{...t}})}},Gf=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/pages/projects/${encodeURIComponent(t)}/deployments/${encodeURIComponent(e)}/history/logs`)}},Kf=class extends m{logs;constructor(e){super(e),this.logs=new Gf(e)}},qf=class extends m{history;constructor(e){super(e),this.history=new Kf(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/pages/projects/${encodeURIComponent(e)}/deployments`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/pages/projects/${encodeURIComponent(t)}/deployments/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/pages/projects/${encodeURIComponent(e)}/deployments`)}async delete(e,t,n,r){return this._client.delete(`/accounts/${encodeURIComponent(n)}/pages/projects/${encodeURIComponent(t)}/deployments/${encodeURIComponent(e)}`,{...r?{query:r}:{}})}async retry(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(n)}/pages/projects/${encodeURIComponent(t)}/deployments/${encodeURIComponent(e)}/retry`)}async rollback(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(n)}/pages/projects/${encodeURIComponent(t)}/deployments/${encodeURIComponent(e)}/rollback`)}},Jf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/pages/projects/${encodeURIComponent(e)}/domains`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/pages/projects/${encodeURIComponent(t)}/domains/${encodeURIComponent(e)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/pages/projects/${encodeURIComponent(e)}/domains`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(n)}/pages/projects/${encodeURIComponent(t)}/domains/${encodeURIComponent(e)}`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/pages/projects/${encodeURIComponent(t)}/domains/${encodeURIComponent(e)}`)}},Yf=class extends m{deployments;domains;constructor(e){super(e),this.deployments=new qf(e),this.domains=new Jf(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/pages/projects`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/pages/projects/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/pages/projects`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/pages/projects/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/pages/projects/${encodeURIComponent(e)}`)}async purgeBuildCache(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/pages/projects/${encodeURIComponent(e)}/purge_build_cache`)}},Xf=class extends m{projects;constructor(e){super(e),this.projects=new Yf(e)}},Zf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/pipelines/v1/sinks`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/pipelines/v1/sinks/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/pipelines/v1/sinks`,{body:{...t}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/pipelines/v1/sinks/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}},Qf=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/pipelines/v1/streams`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/pipelines/v1/streams/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/pipelines/v1/streams`,{body:{...t}})}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/pipelines/v1/streams/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/pipelines/v1/streams/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}},$f=class extends m{sinks;streams;constructor(e){super(e),this.sinks=new Zf(e),this.streams=new Qf(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/pipelines`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/pipelines/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/pipelines`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/pipelines/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/pipelines/${encodeURIComponent(t)}`)}async listV1(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/pipelines/v1/pipelines`,{...t?{query:t}:{}})}async getV1(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/pipelines/v1/pipelines/${encodeURIComponent(t)}`)}async createV1(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/pipelines/v1/pipelines`,{body:{...t}})}async deleteV1(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/pipelines/v1/pipelines/${encodeURIComponent(t)}`)}async validateSql(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/pipelines/v1/validate_sql`,{body:{...t}})}},ep=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}/consumers`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/queues/${encodeURIComponent(t)}/consumers/${encodeURIComponent(e)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}/consumers`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(n)}/queues/${encodeURIComponent(t)}/consumers/${encodeURIComponent(e)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/queues/${encodeURIComponent(t)}/consumers/${encodeURIComponent(e)}`)}},tp=class extends m{constructor(e){super(e)}async ack(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}/messages/ack`)}async pull(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}/messages/pull`,{body:{...n}})}async push(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}/messages`,{body:{...n}})}async bulkPush(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}/messages/batch`,{body:{...n}})}async preview(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}/messages/preview`,{body:{...n}})}async ackPreview(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}/messages/preview/ack`)}},np=class extends m{constructor(e){super(e)}async status(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}/purge`)}async start(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}/purge`,{body:{...n}})}},rp=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/event_subscriptions/subscriptions`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/event_subscriptions/subscriptions/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/event_subscriptions/subscriptions`,{body:{...t}})}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/event_subscriptions/subscriptions/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/event_subscriptions/subscriptions/${encodeURIComponent(t)}`)}},ip=class extends m{consumers;messages;purge;subscriptions;constructor(e){super(e),this.consumers=new ep(e),this.messages=new tp(e),this.purge=new np(e),this.subscriptions=new rp(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/queues`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/queues`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/queues/${encodeURIComponent(e)}`)}},ap=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}/cors`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}/cors`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}/cors`)}},op=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2/buckets/${encodeURIComponent(t)}/domains/custom`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2/buckets/${encodeURIComponent(t)}/domains/custom/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/r2/buckets/${encodeURIComponent(t)}/domains/custom`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/r2/buckets/${encodeURIComponent(t)}/domains/custom/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}/domains/custom/${encodeURIComponent(n)}`)}},sp=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2/buckets/${encodeURIComponent(t)}/domains/managed`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/r2/buckets/${encodeURIComponent(t)}/domains/managed`,{body:{...n}})}},cp=class extends m{custom;managed;constructor(e){super(e),this.custom=new op(e),this.managed=new sp(e)}},lp=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/event_notifications/r2/${encodeURIComponent(e)}/configuration`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/event_notifications/r2/${encodeURIComponent(t)}/configuration/queues/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(n)}/event_notifications/r2/${encodeURIComponent(t)}/configuration/queues/${encodeURIComponent(e)}`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/event_notifications/r2/${encodeURIComponent(t)}/configuration/queues/${encodeURIComponent(e)}`)}},up=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}/lifecycle`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}/lifecycle`)}},dp=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}/local-uploads`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}/local-uploads`,{body:{...n}})}},fp=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}/lock`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}/lock`)}},pp=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2/metrics`)}},mp=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2/buckets/${encodeURIComponent(t)}/sippy`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/r2/buckets/${encodeURIComponent(t)}/sippy`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}/sippy`)}},hp=class extends m{cors;domains;eventNotifications;lifecycle;localUploads;locks;metrics;sippy;constructor(e){super(e),this.cors=new ap(e),this.domains=new cp(e),this.eventNotifications=new lp(e),this.lifecycle=new up(e),this.localUploads=new dp(e),this.locks=new fp(e),this.metrics=new pp(e),this.sippy=new mp(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2/buckets`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2/buckets/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/r2/buckets`,{body:{...t}})}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/r2/buckets/${encodeURIComponent(t)}`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/r2/buckets/${encodeURIComponent(e)}`)}},gp=class extends m{constructor(e){super(e)}async source(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/slurper/source/connectivity-precheck`,{body:{...t}})}async target(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/slurper/target/connectivity-precheck`,{body:{...t}})}},_p=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/slurper/jobs/${encodeURIComponent(t)}/logs`,{...n?{query:n}:{}})}},vp=class extends m{logs;constructor(e){super(e),this.logs=new _p(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/slurper/jobs`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/slurper/jobs/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/slurper/jobs`,{body:{...t}})}async abortAll(e){return this._client.put(`/accounts/${encodeURIComponent(e)}/slurper/jobs/abortAll`)}async abort(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/slurper/jobs/${encodeURIComponent(t)}/abort`)}async pause(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/slurper/jobs/${encodeURIComponent(t)}/pause`)}async progress(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/slurper/jobs/${encodeURIComponent(t)}/progress`)}async resume(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/slurper/jobs/${encodeURIComponent(t)}/resume`)}},yp=class extends m{connectivityPrecheck;jobs;constructor(e){super(e),this.connectivityPrecheck=new gp(e),this.jobs=new vp(e)}},bp=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/r2/temp-access-credentials`,{body:{...t}})}},xp=class extends m{buckets;superSlurper;temporaryCredentials;constructor(e){super(e),this.buckets=new hp(e),this.superSlurper=new yp(e),this.temporaryCredentials=new bp(e)}},Sp=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/r2-catalog/${encodeURIComponent(t)}/credential`,{body:{...n}})}},X=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2-catalog/${encodeURIComponent(t)}/maintenance-configs`)}async update(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/r2-catalog/${encodeURIComponent(t)}/maintenance-configs`,{body:{...n}})}},Cp=class extends m{constructor(e){super(e)}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2-catalog/${encodeURIComponent(t)}/namespaces/${encodeURIComponent(n)}/tables/${encodeURIComponent(r)}/maintenance-configs`)}async update(e,t,n,r,i){return this._client.post(`/accounts/${encodeURIComponent(e)}/r2-catalog/${encodeURIComponent(t)}/namespaces/${encodeURIComponent(n)}/tables/${encodeURIComponent(r)}/maintenance-configs`,{body:{...i}})}},wp=class extends m{maintenanceConfigs;constructor(e){super(e),this.maintenanceConfigs=new Cp(e)}async list(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2-catalog/${encodeURIComponent(t)}/namespaces/${encodeURIComponent(n)}/tables`,{...r?{query:r}:{}})}},Tp=class extends m{tables;constructor(e){super(e),this.tables=new wp(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2-catalog/${encodeURIComponent(t)}/namespaces`,{...n?{query:n}:{}})}},Ep=class extends m{credentials;maintenanceConfigs;namespaces;constructor(e){super(e),this.credentials=new Sp(e),this.maintenanceConfigs=new X(e),this.namespaces=new Tp(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2-catalog`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/r2-catalog/${encodeURIComponent(t)}`)}async enable(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/r2-catalog/${encodeURIComponent(t)}/enable`)}async disable(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/r2-catalog/${encodeURIComponent(t)}/disable`)}},Dp=class extends m{constructor(e){super(e)}async summary(e,t){return this._client.get(`/radar/agent_readiness/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Op=class extends m{constructor(e){super(e)}async userAgent(e){return this._client.get(`/radar/ai/bots/summary/user_agent`,{...e?{query:e}:{}})}},kp=class extends m{summary;constructor(e){super(e),this.summary=new Op(e)}async summaryV2(e,t){return this._client.get(`/radar/ai/bots/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseries(e){return this._client.get(`/radar/ai/bots/timeseries`,{...e?{query:e}:{}})}async timeseriesGroups(e,t){return this._client.get(`/radar/ai/bots/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Ap=class extends m{constructor(e){super(e)}async model(e){return this._client.get(`/radar/ai/inference/summary/model`,{...e?{query:e}:{}})}async task(e){return this._client.get(`/radar/ai/inference/summary/task`,{...e?{query:e}:{}})}},jp=class extends m{constructor(e){super(e)}async model(e){return this._client.get(`/radar/ai/inference/timeseries_groups/model`,{...e?{query:e}:{}})}async task(e){return this._client.get(`/radar/ai/inference/timeseries_groups/task`,{...e?{query:e}:{}})}},Mp=class extends m{summary;constructor(e){super(e),this.summary=new jp(e)}},Np=class extends m{summary;timeseriesGroups;constructor(e){super(e),this.summary=new Ap(e),this.timeseriesGroups=new Mp(e)}async summaryV2(e,t){return this._client.get(`/radar/ai/inference/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseriesGroupsV2(e,t){return this._client.get(`/radar/ai/inference/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Pp=class extends m{constructor(e){super(e)}async summary(e){return this._client.get(`/radar/ai/markdown_for_agents/summary`,{...e?{query:e}:{}})}async timeseries(e){return this._client.get(`/radar/ai/markdown_for_agents/timeseries`,{...e?{query:e}:{}})}},Fp=class extends m{constructor(e){super(e)}async summary(e,t){return this._client.get(`/radar/ai/bots/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseries(e){return this._client.get(`/radar/ai/bots/timeseries`,{...e?{query:e}:{}})}async timeseriesGroups(e,t){return this._client.get(`/radar/ai/bots/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async userAgent(e){return this._client.get(`/radar/ai/bots/timeseries_groups/user_agent`,{...e?{query:e}:{}})}},Ip=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/ai/tomarkdown`)}},Lp=class extends m{bots;inference;markdownForAgents;timeseriesGroups;toMarkdown;constructor(e){super(e),this.bots=new kp(e),this.inference=new Np(e),this.markdownForAgents=new Pp(e),this.timeseriesGroups=new Fp(e),this.toMarkdown=new Ip(e)}},Rp=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/radar/annotations/outages`,{...e?{query:e}:{}})}async locations(e){return this._client.get(`/radar/annotations/outages/locations`,{...e?{query:e}:{}})}},zp=class extends m{outages;constructor(e){super(e),this.outages=new Rp(e)}async list(e){return this._client.get(`/radar/annotations`,{...e?{query:e}:{}})}},Bp=class extends m{constructor(e){super(e)}async dnssec(e){return this._client.get(`/radar/as112/summary/dnssec`,{...e?{query:e}:{}})}async edns(e){return this._client.get(`/radar/as112/summary/edns`,{...e?{query:e}:{}})}async ipVersion(e){return this._client.get(`/radar/as112/summary/ip_version`,{...e?{query:e}:{}})}async protocol(e){return this._client.get(`/radar/as112/summary/protocol`,{...e?{query:e}:{}})}async queryType(e){return this._client.get(`/radar/as112/summary/query_type`,{...e?{query:e}:{}})}async responseCodes(e){return this._client.get(`/radar/as112/summary/response_codes`,{...e?{query:e}:{}})}},Vp=class extends m{constructor(e){super(e)}async protocol(e){return this._client.get(`/radar/as112/timeseries_groups/protocol`,{...e?{query:e}:{}})}async queryType(e){return this._client.get(`/radar/as112/timeseries_groups/query_type`,{...e?{query:e}:{}})}async responseCodes(e){return this._client.get(`/radar/as112/timeseries_groups/response_codes`,{...e?{query:e}:{}})}async dnssec(e){return this._client.get(`/radar/as112/timeseries_groups/dnssec`,{...e?{query:e}:{}})}async edns(e){return this._client.get(`/radar/as112/timeseries_groups/edns`,{...e?{query:e}:{}})}async ipVersion(e){return this._client.get(`/radar/as112/timeseries_groups/ip_version`,{...e?{query:e}:{}})}},Hp=class extends m{constructor(e){super(e)}async locations(e){return this._client.get(`/radar/as112/top/locations`,{...e?{query:e}:{}})}async dnssec(e,t){return this._client.get(`/radar/as112/top/locations/dnssec/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async edns(e,t){return this._client.get(`/radar/as112/top/locations/edns/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async ipVersion(e,t){return this._client.get(`/radar/as112/top/locations/ip_version/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Up=class extends m{summary;timeseriesGroups;top;constructor(e){super(e),this.summary=new Bp(e),this.timeseriesGroups=new Vp(e),this.top=new Hp(e)}async timeseries(e){return this._client.get(`/radar/as112/timeseries`,{...e?{query:e}:{}})}async summaryV2(e,t){return this._client.get(`/radar/as112/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseriesGroupsV2(e,t){return this._client.get(`/radar/as112/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Wp=class extends m{constructor(e){super(e)}async bitrate(e){return this._client.get(`/radar/attacks/layer3/summary/bitrate`,{...e?{query:e}:{}})}async duration(e){return this._client.get(`/radar/attacks/layer3/summary/duration`,{...e?{query:e}:{}})}async ipVersion(e){return this._client.get(`/radar/attacks/layer3/summary/ip_version`,{...e?{query:e}:{}})}async protocol(e){return this._client.get(`/radar/attacks/layer3/summary/protocol`,{...e?{query:e}:{}})}async vector(e){return this._client.get(`/radar/attacks/layer3/summary/vector`,{...e?{query:e}:{}})}async industry(e){return this._client.get(`/radar/attacks/layer3/summary/industry`,{...e?{query:e}:{}})}async vertical(e){return this._client.get(`/radar/attacks/layer3/summary/vertical`,{...e?{query:e}:{}})}},Gp=class extends m{constructor(e){super(e)}async industry(e){return this._client.get(`/radar/attacks/layer3/timeseries_groups/industry`,{...e?{query:e}:{}})}async ipVersion(e){return this._client.get(`/radar/attacks/layer3/timeseries_groups/ip_version`,{...e?{query:e}:{}})}async protocol(e){return this._client.get(`/radar/attacks/layer3/timeseries_groups/protocol`,{...e?{query:e}:{}})}async vector(e){return this._client.get(`/radar/attacks/layer3/timeseries_groups/vector`,{...e?{query:e}:{}})}async vertical(e){return this._client.get(`/radar/attacks/layer3/timeseries_groups/vertical`,{...e?{query:e}:{}})}async bitrate(e){return this._client.get(`/radar/attacks/layer3/timeseries_groups/bitrate`,{...e?{query:e}:{}})}async duration(e){return this._client.get(`/radar/attacks/layer3/timeseries_groups/duration`,{...e?{query:e}:{}})}},Kp=class extends m{constructor(e){super(e)}async origin(e){return this._client.get(`/radar/attacks/layer3/top/locations/origin`,{...e?{query:e}:{}})}async target(e){return this._client.get(`/radar/attacks/layer3/top/locations/target`,{...e?{query:e}:{}})}},qp=class extends m{locations;constructor(e){super(e),this.locations=new Kp(e)}async attacks(e){return this._client.get(`/radar/attacks/layer3/top/attacks`,{...e?{query:e}:{}})}async industry(e){return this._client.get(`/radar/attacks/layer3/top/industry`,{...e?{query:e}:{}})}async vertical(e){return this._client.get(`/radar/attacks/layer3/top/vertical`,{...e?{query:e}:{}})}},Jp=class extends m{summary;timeseriesGroups;top;constructor(e){super(e),this.summary=new Wp(e),this.timeseriesGroups=new Gp(e),this.top=new qp(e)}async summaryV2(e,t){return this._client.get(`/radar/attacks/layer3/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseries(e){return this._client.get(`/radar/attacks/layer3/timeseries`,{...e?{query:e}:{}})}async timeseriesGroupsV2(e,t){return this._client.get(`/radar/attacks/layer3/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Yp=class extends m{constructor(e){super(e)}async ipVersion(e){return this._client.get(`/radar/attacks/layer7/summary/ip_version`,{...e?{query:e}:{}})}async httpMethod(e){return this._client.get(`/radar/attacks/layer7/summary/http_method`,{...e?{query:e}:{}})}async httpVersion(e){return this._client.get(`/radar/attacks/layer7/summary/http_version`,{...e?{query:e}:{}})}async managedRules(e){return this._client.get(`/radar/attacks/layer7/summary/managed_rules`,{...e?{query:e}:{}})}async mitigationProduct(e){return this._client.get(`/radar/attacks/layer7/summary/mitigation_product`,{...e?{query:e}:{}})}async industry(e){return this._client.get(`/radar/attacks/layer7/summary/industry`,{...e?{query:e}:{}})}async vertical(e){return this._client.get(`/radar/attacks/layer7/summary/vertical`,{...e?{query:e}:{}})}},Xp=class extends m{constructor(e){super(e)}async industry(e){return this._client.get(`/radar/attacks/layer7/timeseries_groups/industry`,{...e?{query:e}:{}})}async ipVersion(e){return this._client.get(`/radar/attacks/layer7/timeseries_groups/ip_version`,{...e?{query:e}:{}})}async vertical(e){return this._client.get(`/radar/attacks/layer7/timeseries_groups/vertical`,{...e?{query:e}:{}})}async httpMethod(e){return this._client.get(`/radar/attacks/layer7/timeseries_groups/http_method`,{...e?{query:e}:{}})}async httpVersion(e){return this._client.get(`/radar/attacks/layer7/timeseries_groups/http_version`,{...e?{query:e}:{}})}async managedRules(e){return this._client.get(`/radar/attacks/layer7/timeseries_groups/managed_rules`,{...e?{query:e}:{}})}async mitigationProduct(e){return this._client.get(`/radar/attacks/layer7/timeseries_groups/mitigation_product`,{...e?{query:e}:{}})}},Zp=class extends m{constructor(e){super(e)}async origin(e){return this._client.get(`/radar/attacks/layer7/top/ases/origin`,{...e?{query:e}:{}})}},Qp=class extends m{constructor(e){super(e)}async origin(e){return this._client.get(`/radar/attacks/layer7/top/locations/origin`,{...e?{query:e}:{}})}async target(e){return this._client.get(`/radar/attacks/layer7/top/locations/target`,{...e?{query:e}:{}})}},$p=class extends m{ases;locations;constructor(e){super(e),this.ases=new Zp(e),this.locations=new Qp(e)}async attacks(e){return this._client.get(`/radar/attacks/layer7/top/attacks`,{...e?{query:e}:{}})}async industry(e){return this._client.get(`/radar/attacks/layer7/top/industry`,{...e?{query:e}:{}})}async vertical(e){return this._client.get(`/radar/attacks/layer7/top/vertical`,{...e?{query:e}:{}})}},em=class extends m{summary;timeseriesGroups;top;constructor(e){super(e),this.summary=new Yp(e),this.timeseriesGroups=new Xp(e),this.top=new $p(e)}async summaryV2(e,t){return this._client.get(`/radar/attacks/layer7/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseries(e){return this._client.get(`/radar/attacks/layer7/timeseries`,{...e?{query:e}:{}})}async timeseriesGroupsV2(e,t){return this._client.get(`/radar/attacks/layer7/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},tm=class extends m{layer3;layer7;constructor(e){super(e),this.layer3=new Jp(e),this.layer7=new em(e)}},nm=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/radar/bgp/hijacks/events`,{...e?{query:e}:{}})}},rm=class extends m{events;constructor(e){super(e),this.events=new nm(e)}},im=class extends m{constructor(e){super(e)}async timeseries(e){return this._client.get(`/radar/bgp/ips/timeseries`,{...e?{query:e}:{}})}},am=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/radar/bgp/leaks/events`,{...e?{query:e}:{}})}},om=class extends m{events;constructor(e){super(e),this.events=new am(e)}},sm=class extends m{constructor(e){super(e)}async moas(e){return this._client.get(`/radar/bgp/routes/moas`,{...e?{query:e}:{}})}async pfx2as(e){return this._client.get(`/radar/bgp/routes/pfx2as`,{...e?{query:e}:{}})}async stats(e){return this._client.get(`/radar/bgp/routes/stats`,{...e?{query:e}:{}})}async ases(e){return this._client.get(`/radar/bgp/routes/ases`,{...e?{query:e}:{}})}async realtime(e){return this._client.get(`/radar/bgp/routes/realtime`,{...e?{query:e}:{}})}},cm=class extends m{constructor(e){super(e)}async snapshot(e){return this._client.get(`/radar/bgp/rpki/aspa/snapshot`,{...e?{query:e}:{}})}async changes(e){return this._client.get(`/radar/bgp/rpki/aspa/changes`,{...e?{query:e}:{}})}async timeseries(e){return this._client.get(`/radar/bgp/rpki/aspa/timeseries`,{...e?{query:e}:{}})}},lm=class extends m{aspa;constructor(e){super(e),this.aspa=new cm(e)}},um=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/radar/bgp/top/ases`,{...e?{query:e}:{}})}async prefixes(e){return this._client.get(`/radar/bgp/top/ases/prefixes`,{...e?{query:e}:{}})}},dm=class extends m{ases;constructor(e){super(e),this.ases=new um(e)}async prefixes(e){return this._client.get(`/radar/bgp/top/prefixes`,{...e?{query:e}:{}})}},fm=class extends m{hijacks;ips;leaks;routes;rpki;top;constructor(e){super(e),this.hijacks=new rm(e),this.ips=new im(e),this.leaks=new om(e),this.routes=new sm(e),this.rpki=new lm(e),this.top=new dm(e)}async timeseries(e){return this._client.get(`/radar/bgp/timeseries`,{...e?{query:e}:{}})}},pm=class extends m{constructor(e){super(e)}async summary(e,t){return this._client.get(`/radar/bots/crawlers/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseriesGroups(e,t){return this._client.get(`/radar/bots/crawlers/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},mm=class extends m{webCrawlers;constructor(e){super(e),this.webCrawlers=new pm(e)}async list(e){return this._client.get(`/radar/bots`,{...e?{query:e}:{}})}async get(e,t){return this._client.get(`/radar/bots/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async summary(e,t){return this._client.get(`/radar/bots/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseries(e){return this._client.get(`/radar/bots/timeseries`,{...e?{query:e}:{}})}async timeseriesGroups(e,t){return this._client.get(`/radar/bots/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},hm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/ct/authorities/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async list(e){return this._client.get(`/radar/ct/authorities`,{...e?{query:e}:{}})}},gm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/ct/logs/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async list(e){return this._client.get(`/radar/ct/logs`,{...e?{query:e}:{}})}},_m=class extends m{authorities;logs;constructor(e){super(e),this.authorities=new hm(e),this.logs=new gm(e)}async summary(e,t){return this._client.get(`/radar/ct/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseries(e){return this._client.get(`/radar/ct/timeseries`,{...e?{query:e}:{}})}async timeseriesGroups(e,t){return this._client.get(`/radar/ct/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},vm=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/radar/datasets`,{...e?{query:e}:{}})}async get(e){return this._client.get(`/radar/datasets/${encodeURIComponent(e)}`)}async download(e){return this._client.post(`/radar/datasets/download`,{body:{...e}})}},ym=class extends m{constructor(e){super(e)}async cacheHit(e){return this._client.get(`/radar/dns/summary/cache_hit`,{...e?{query:e}:{}})}async dnssec(e){return this._client.get(`/radar/dns/summary/dnssec`,{...e?{query:e}:{}})}async dnssecAware(e){return this._client.get(`/radar/dns/summary/dnssec_aware`,{...e?{query:e}:{}})}async dnssecE2e(e){return this._client.get(`/radar/dns/summary/dnssec_e2e`,{...e?{query:e}:{}})}async ipVersion(e){return this._client.get(`/radar/dns/summary/ip_version`,{...e?{query:e}:{}})}async matchingAnswer(e){return this._client.get(`/radar/dns/summary/matching_answer`,{...e?{query:e}:{}})}async protocol(e){return this._client.get(`/radar/dns/summary/protocol`,{...e?{query:e}:{}})}async queryType(e){return this._client.get(`/radar/dns/summary/query_type`,{...e?{query:e}:{}})}async responseCode(e){return this._client.get(`/radar/dns/summary/response_code`,{...e?{query:e}:{}})}async responseTtl(e){return this._client.get(`/radar/dns/summary/response_ttl`,{...e?{query:e}:{}})}},bm=class extends m{constructor(e){super(e)}async cacheHit(e){return this._client.get(`/radar/dns/timeseries_groups/cache_hit`,{...e?{query:e}:{}})}async dnssec(e){return this._client.get(`/radar/dns/timeseries_groups/dnssec`,{...e?{query:e}:{}})}async dnssecAware(e){return this._client.get(`/radar/dns/timeseries_groups/dnssec_aware`,{...e?{query:e}:{}})}async dnssecE2e(e){return this._client.get(`/radar/dns/timeseries_groups/dnssec_e2e`,{...e?{query:e}:{}})}async ipVersion(e){return this._client.get(`/radar/dns/timeseries_groups/ip_version`,{...e?{query:e}:{}})}async matchingAnswer(e){return this._client.get(`/radar/dns/timeseries_groups/matching_answer`,{...e?{query:e}:{}})}async protocol(e){return this._client.get(`/radar/dns/timeseries_groups/protocol`,{...e?{query:e}:{}})}async queryType(e){return this._client.get(`/radar/dns/timeseries_groups/query_type`,{...e?{query:e}:{}})}async responseCode(e){return this._client.get(`/radar/dns/timeseries_groups/response_code`,{...e?{query:e}:{}})}async responseTtl(e){return this._client.get(`/radar/dns/timeseries_groups/response_ttl`,{...e?{query:e}:{}})}},xm=class extends m{constructor(e){super(e)}async ases(e){return this._client.get(`/radar/dns/top/ases`,{...e?{query:e}:{}})}async locations(e){return this._client.get(`/radar/dns/top/locations`,{...e?{query:e}:{}})}},Sm=class extends m{summary;timeseriesGroups;top;constructor(e){super(e),this.summary=new ym(e),this.timeseriesGroups=new bm(e),this.top=new xm(e)}async summaryV2(e,t){return this._client.get(`/radar/dns/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseries(e){return this._client.get(`/radar/dns/timeseries`,{...e?{query:e}:{}})}async timeseriesGroupsV2(e,t){return this._client.get(`/radar/dns/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Cm=class extends m{constructor(e){super(e)}async arc(e){return this._client.get(`/radar/email/routing/summary/arc`,{...e?{query:e}:{}})}async dkim(e){return this._client.get(`/radar/email/routing/summary/dkim`,{...e?{query:e}:{}})}async dmarc(e){return this._client.get(`/radar/email/routing/summary/dmarc`,{...e?{query:e}:{}})}async encrypted(e){return this._client.get(`/radar/email/routing/summary/encrypted`,{...e?{query:e}:{}})}async ipVersion(e){return this._client.get(`/radar/email/routing/summary/ip_version`,{...e?{query:e}:{}})}async spf(e){return this._client.get(`/radar/email/routing/summary/spf`,{...e?{query:e}:{}})}},wm=class extends m{constructor(e){super(e)}async arc(e){return this._client.get(`/radar/email/routing/timeseries_groups/arc`,{...e?{query:e}:{}})}async dkim(e){return this._client.get(`/radar/email/routing/timeseries_groups/dkim`,{...e?{query:e}:{}})}async dmarc(e){return this._client.get(`/radar/email/routing/timeseries_groups/dmarc`,{...e?{query:e}:{}})}async encrypted(e){return this._client.get(`/radar/email/routing/timeseries_groups/encrypted`,{...e?{query:e}:{}})}async ipVersion(e){return this._client.get(`/radar/email/routing/timeseries_groups/ip_version`,{...e?{query:e}:{}})}async spf(e){return this._client.get(`/radar/email/routing/timeseries_groups/spf`,{...e?{query:e}:{}})}},Tm=class extends m{summary;timeseriesGroups;constructor(e){super(e),this.summary=new Cm(e),this.timeseriesGroups=new wm(e)}async summaryV2(e,t){return this._client.get(`/radar/email/routing/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseriesGroupsV2(e,t){return this._client.get(`/radar/email/routing/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Em=class extends m{constructor(e){super(e)}async arc(e){return this._client.get(`/radar/email/security/summary/arc`,{...e?{query:e}:{}})}async dkim(e){return this._client.get(`/radar/email/security/summary/dkim`,{...e?{query:e}:{}})}async dmarc(e){return this._client.get(`/radar/email/security/summary/dmarc`,{...e?{query:e}:{}})}async malicious(e){return this._client.get(`/radar/email/security/summary/malicious`,{...e?{query:e}:{}})}async spam(e){return this._client.get(`/radar/email/security/summary/spam`,{...e?{query:e}:{}})}async spf(e){return this._client.get(`/radar/email/security/summary/spf`,{...e?{query:e}:{}})}async threatCategory(e){return this._client.get(`/radar/email/security/summary/threat_category`,{...e?{query:e}:{}})}async spoof(e){return this._client.get(`/radar/email/security/summary/spoof`,{...e?{query:e}:{}})}async tlsVersion(e){return this._client.get(`/radar/email/security/summary/tls_version`,{...e?{query:e}:{}})}},Dm=class extends m{constructor(e){super(e)}async arc(e){return this._client.get(`/radar/email/security/timeseries_groups/arc`,{...e?{query:e}:{}})}async dkim(e){return this._client.get(`/radar/email/security/timeseries_groups/dkim`,{...e?{query:e}:{}})}async dmarc(e){return this._client.get(`/radar/email/security/timeseries_groups/dmarc`,{...e?{query:e}:{}})}async malicious(e){return this._client.get(`/radar/email/security/timeseries_groups/malicious`,{...e?{query:e}:{}})}async spam(e){return this._client.get(`/radar/email/security/timeseries_groups/spam`,{...e?{query:e}:{}})}async spf(e){return this._client.get(`/radar/email/security/timeseries_groups/spf`,{...e?{query:e}:{}})}async threatCategory(e){return this._client.get(`/radar/email/security/timeseries_groups/threat_category`,{...e?{query:e}:{}})}async spoof(e){return this._client.get(`/radar/email/security/timeseries_groups/spoof`,{...e?{query:e}:{}})}async tlsVersion(e){return this._client.get(`/radar/email/security/timeseries_groups/tls_version`,{...e?{query:e}:{}})}},Om=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/email/security/top/tlds/malicious/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},km=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/email/security/top/tlds/spam/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Am=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/email/security/top/tlds/spoof/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},jm=class extends m{malicious;spam;spoof;constructor(e){super(e),this.malicious=new Om(e),this.spam=new km(e),this.spoof=new Am(e)}async get(e){return this._client.get(`/radar/email/security/top/tlds`,{...e?{query:e}:{}})}},Mm=class extends m{tlds;constructor(e){super(e),this.tlds=new jm(e)}},Nm=class extends m{summary;timeseriesGroups;top;constructor(e){super(e),this.summary=new Em(e),this.timeseriesGroups=new Dm(e),this.top=new Mm(e)}async summaryV2(e,t){return this._client.get(`/radar/email/security/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseriesGroupsV2(e,t){return this._client.get(`/radar/email/security/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Pm=class extends m{routing;security;constructor(e){super(e),this.routing=new Tm(e),this.security=new Nm(e)}},Fm=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/radar/entities/asns`,{...e?{query:e}:{}})}async get(e,t){return this._client.get(`/radar/entities/asns/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async rel(e,t){return this._client.get(`/radar/entities/asns/${encodeURIComponent(e)}/rel`,{...t?{query:t}:{}})}async asSet(e,t){return this._client.get(`/radar/entities/asns/${encodeURIComponent(e)}/as_set`,{...t?{query:t}:{}})}async ip(e){return this._client.get(`/radar/entities/asns/ip`,{...e?{query:e}:{}})}async botnetThreatFeed(e){return this._client.get(`/radar/entities/asns/botnet_threat_feed`,{...e?{query:e}:{}})}},Im=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/radar/entities/locations`,{...e?{query:e}:{}})}async get(e,t){return this._client.get(`/radar/entities/locations/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Lm=class extends m{asns;locations;constructor(e){super(e),this.asns=new Fm(e),this.locations=new Im(e)}async get(e){return this._client.get(`/radar/entities/ip`,{...e?{query:e}:{}})}},Rm=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/radar/geolocations`,{...e?{query:e}:{}})}async get(e,t){return this._client.get(`/radar/geolocations/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},zm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/ases/bot_class/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Bm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/ases/browser_family/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Vm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/ases/device_type/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Hm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/ases/http_version/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Um=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/ases/http_protocol/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Wm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/ases/ip_version/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Gm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/ases/os/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Km=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/ases/tls_version/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},qm=class extends m{botClass;browserFamily;deviceType;httpMethod;httpProtocol;ipVersion;os;tlsVersion;constructor(e){super(e),this.botClass=new zm(e),this.browserFamily=new Bm(e),this.deviceType=new Vm(e),this.httpMethod=new Hm(e),this.httpProtocol=new Um(e),this.ipVersion=new Wm(e),this.os=new Gm(e),this.tlsVersion=new Km(e)}async get(e){return this._client.get(`/radar/http/top/ases`,{...e?{query:e}:{}})}},Jm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/locations/bot_class/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Ym=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/locations/browser_family/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Xm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/locations/device_type/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Zm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/locations/http_version/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},Qm=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/locations/http_protocol/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},$m=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/locations/ip_version/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},eh=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/locations/os/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},th=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/http/top/locations/tls_version/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},nh=class extends m{botClass;browserFamily;deviceType;httpMethod;httpProtocol;ipVersion;os;tlsVersion;constructor(e){super(e),this.botClass=new Jm(e),this.browserFamily=new Ym(e),this.deviceType=new Xm(e),this.httpMethod=new Zm(e),this.httpProtocol=new Qm(e),this.ipVersion=new $m(e),this.os=new eh(e),this.tlsVersion=new th(e)}async get(e){return this._client.get(`/radar/http/top/locations`,{...e?{query:e}:{}})}},rh=class extends m{constructor(e){super(e)}async botClass(e){return this._client.get(`/radar/http/summary/bot_class`,{...e?{query:e}:{}})}async deviceType(e){return this._client.get(`/radar/http/summary/device_type`,{...e?{query:e}:{}})}async httpProtocol(e){return this._client.get(`/radar/http/summary/http_protocol`,{...e?{query:e}:{}})}async httpVersion(e){return this._client.get(`/radar/http/summary/http_version`,{...e?{query:e}:{}})}async ipVersion(e){return this._client.get(`/radar/http/summary/ip_version`,{...e?{query:e}:{}})}async os(e){return this._client.get(`/radar/http/summary/os`,{...e?{query:e}:{}})}async tlsVersion(e){return this._client.get(`/radar/http/summary/tls_version`,{...e?{query:e}:{}})}async postQuantum(e){return this._client.get(`/radar/http/summary/post_quantum`,{...e?{query:e}:{}})}},ih=class extends m{constructor(e){super(e)}async tlsVersion(e){return this._client.get(`/radar/http/timeseries_groups/tls_version`,{...e?{query:e}:{}})}async botClass(e){return this._client.get(`/radar/http/timeseries_groups/bot_class`,{...e?{query:e}:{}})}async browser(e){return this._client.get(`/radar/http/timeseries_groups/browser`,{...e?{query:e}:{}})}async browserFamily(e){return this._client.get(`/radar/http/timeseries_groups/browser_family`,{...e?{query:e}:{}})}async deviceType(e){return this._client.get(`/radar/http/timeseries_groups/device_type`,{...e?{query:e}:{}})}async httpProtocol(e){return this._client.get(`/radar/http/timeseries_groups/http_protocol`,{...e?{query:e}:{}})}async httpVersion(e){return this._client.get(`/radar/http/timeseries_groups/http_version`,{...e?{query:e}:{}})}async ipVersion(e){return this._client.get(`/radar/http/timeseries_groups/ip_version`,{...e?{query:e}:{}})}async os(e){return this._client.get(`/radar/http/timeseries_groups/os`,{...e?{query:e}:{}})}async postQuantum(e){return this._client.get(`/radar/http/timeseries_groups/post_quantum`,{...e?{query:e}:{}})}},ah=class extends m{constructor(e){super(e)}async browser(e){return this._client.get(`/radar/http/top/browser`,{...e?{query:e}:{}})}async browserFamily(e){return this._client.get(`/radar/http/top/browser_family`,{...e?{query:e}:{}})}},oh=class extends m{ases;locations;summary;timeseriesGroups;top;constructor(e){super(e),this.ases=new qm(e),this.locations=new nh(e),this.summary=new rh(e),this.timeseriesGroups=new ih(e),this.top=new ah(e)}async summaryV2(e,t){return this._client.get(`/radar/http/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseries(e){return this._client.get(`/radar/http/timeseries`,{...e?{query:e}:{}})}async timeseriesGroupsV2(e,t){return this._client.get(`/radar/http/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},sh=class extends m{constructor(e){super(e)}async botClass(e){return this._client.get(`/radar/leaked_credential_checks/summary/bot_class`,{...e?{query:e}:{}})}async compromised(e){return this._client.get(`/radar/leaked_credential_checks/summary/compromised`,{...e?{query:e}:{}})}},ch=class extends m{constructor(e){super(e)}async botClass(e){return this._client.get(`/radar/leaked_credential_checks/timeseries_groups/bot_class`,{...e?{query:e}:{}})}async compromised(e){return this._client.get(`/radar/leaked_credential_checks/timeseries_groups/compromised`,{...e?{query:e}:{}})}},lh=class extends m{summary;timeseriesGroups;constructor(e){super(e),this.summary=new sh(e),this.timeseriesGroups=new ch(e)}async summaryV2(e,t){return this._client.get(`/radar/leaked_credential_checks/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseriesGroupsV2(e,t){return this._client.get(`/radar/leaked_credential_checks/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},uh=class extends m{constructor(e){super(e)}async ases(e){return this._client.get(`/radar/netflows/top/ases`,{...e?{query:e}:{}})}async locations(e){return this._client.get(`/radar/netflows/top/locations`,{...e?{query:e}:{}})}},dh=class extends m{top;constructor(e){super(e),this.top=new uh(e)}async timeseries(e){return this._client.get(`/radar/netflows/timeseries`,{...e?{query:e}:{}})}async summary(e){return this._client.get(`/radar/netflows/summary`,{...e?{query:e}:{}})}async summaryV2(e,t){return this._client.get(`/radar/netflows/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseriesGroups(e,t){return this._client.get(`/radar/netflows/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},fh=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/radar/origins`,{...e?{query:e}:{}})}async summary(e,t){return this._client.get(`/radar/origins/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseries(e){return this._client.get(`/radar/origins/timeseries`,{...e?{query:e}:{}})}async timeseriesGroups(e,t){return this._client.get(`/radar/origins/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/radar/origins/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},ph=class extends m{constructor(e){super(e)}async summary(e,t){return this._client.get(`/radar/post_quantum/origin/summary/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}async timeseriesGroups(e,t){return this._client.get(`/radar/post_quantum/origin/timeseries_groups/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},mh=class extends m{constructor(e){super(e)}async support(e){return this._client.get(`/radar/post_quantum/tls/support`,{...e?{query:e}:{}})}},hh=class extends m{origin;tls;constructor(e){super(e),this.origin=new ph(e),this.tls=new mh(e)}},gh=class extends m{constructor(e){super(e)}async summary(e){return this._client.get(`/radar/quality/iqi/summary`,{...e?{query:e}:{}})}async timeseriesGroups(e){return this._client.get(`/radar/quality/iqi/timeseries_groups`,{...e?{query:e}:{}})}},_h=class extends m{constructor(e){super(e)}async ases(e){return this._client.get(`/radar/quality/speed/top/ases`,{...e?{query:e}:{}})}async locations(e){return this._client.get(`/radar/quality/speed/top/locations`,{...e?{query:e}:{}})}},vh=class extends m{top;constructor(e){super(e),this.top=new _h(e)}async summary(e){return this._client.get(`/radar/quality/speed/summary`,{...e?{query:e}:{}})}async histogram(e){return this._client.get(`/radar/quality/speed/histogram`,{...e?{query:e}:{}})}},yh=class extends m{iqi;speed;constructor(e){super(e),this.iqi=new gh(e),this.speed=new vh(e)}},bh=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/radar/ranking/domain/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},xh=class extends m{constructor(e){super(e)}async timeseriesGroups(e){return this._client.get(`/radar/ranking/internet_services/timeseries_groups`,{...e?{query:e}:{}})}async top(e){return this._client.get(`/radar/ranking/internet_services/top`,{...e?{query:e}:{}})}async categories(e){return this._client.get(`/radar/ranking/internet_services/categories`,{...e?{query:e}:{}})}},Sh=class extends m{domain;internetServices;constructor(e){super(e),this.domain=new bh(e),this.internetServices=new xh(e)}async timeseriesGroups(e){return this._client.get(`/radar/ranking/timeseries_groups`,{...e?{query:e}:{}})}async top(e){return this._client.get(`/radar/ranking/top`,{...e?{query:e}:{}})}},Ch=class extends m{constructor(e){super(e)}async directive(e){return this._client.get(`/radar/robots_txt/top/user_agents/directive`,{...e?{query:e}:{}})}},wh=class extends m{userAgents;constructor(e){super(e),this.userAgents=new Ch(e)}async domainCategories(e){return this._client.get(`/radar/robots_txt/top/domain_categories`,{...e?{query:e}:{}})}},Th=class extends m{top;constructor(e){super(e),this.top=new wh(e)}},Eh=class extends m{constructor(e){super(e)}async global(e){return this._client.get(`/radar/search/global`,{...e?{query:e}:{}})}},Dh=class extends m{constructor(e){super(e)}async summary(e){return this._client.get(`/radar/tcp_resets_timeouts/summary`,{...e?{query:e}:{}})}async timeseriesGroups(e){return this._client.get(`/radar/tcp_resets_timeouts/timeseries_groups`,{...e?{query:e}:{}})}},Oh=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/radar/tlds`,{...e?{query:e}:{}})}async get(e,t){return this._client.get(`/radar/tlds/${encodeURIComponent(e)}`,{...t?{query:t}:{}})}},kh=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/radar/traffic_anomalies/locations`,{...e?{query:e}:{}})}},Ah=class extends m{locations;constructor(e){super(e),this.locations=new kh(e)}async get(e){return this._client.get(`/radar/traffic_anomalies`,{...e?{query:e}:{}})}},jh=class extends m{constructor(e){super(e)}async bots(e){return this._client.get(`/radar/verified_bots/top/bots`,{...e?{query:e}:{}})}async categories(e){return this._client.get(`/radar/verified_bots/top/categories`,{...e?{query:e}:{}})}},Mh=class extends m{top;constructor(e){super(e),this.top=new jh(e)}},Nh=class extends m{agentReadiness;ai;annotations;as112;attacks;bgp;bots;ct;datasets;dns;email;entities;geolocations;http;leakedCredentials;netflows;origins;postQuantum;quality;ranking;robotsTxt;search;tcpResetsTimeouts;tlds;trafficAnomalies;verifiedBots;constructor(e){super(e),this.agentReadiness=new Dp(e),this.ai=new Lp(e),this.annotations=new zp(e),this.as112=new Up(e),this.attacks=new tm(e),this.bgp=new fm(e),this.bots=new mm(e),this.ct=new _m(e),this.datasets=new vm(e),this.dns=new Sm(e),this.email=new Pm(e),this.entities=new Lm(e),this.geolocations=new Rm(e),this.http=new oh(e),this.leakedCredentials=new lh(e),this.netflows=new dh(e),this.origins=new fh(e),this.postQuantum=new hh(e),this.quality=new yh(e),this.ranking=new Sh(e),this.robotsTxt=new Th(e),this.search=new Eh(e),this.tcpResetsTimeouts=new Dh(e),this.tlds=new Oh(e),this.trafficAnomalies=new Ah(e),this.verifiedBots=new Mh(e)}},Ph=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/rate_limits`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/rate_limits/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/rate_limits`,{body:{...t}})}async edit(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/rate_limits/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/rate_limits/${encodeURIComponent(e)}`)}},Fh=class extends m{constructor(e){super(e)}async getActiveSession(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/realtime/kit/${encodeURIComponent(n)}/meetings/${encodeURIComponent(e)}/active-session`)}async kickParticipants(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/meetings/${encodeURIComponent(n)}/active-session/kick`)}async kickAllParticipants(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/meetings/${encodeURIComponent(n)}/active-session/kick-all`)}async createPoll(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/meetings/${encodeURIComponent(n)}/active-session/poll`)}},Ih=class extends m{constructor(e){super(e)}async getOrgAnalytics(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/analytics/daywise`,{...n?{query:n}:{}})}},Lh=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/apps`)}async post(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/apps`)}},Rh=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/meetings/${encodeURIComponent(n)}/active-session/mute`)}},zh=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/meetings/${encodeURIComponent(n)}/active-session/mute-all`)}},Bh=class extends m{mute;muteAll;constructor(e){super(e),this.mute=new Rh(e),this.muteAll=new zh(e)}},Vh=class extends m{constructor(e){super(e)}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(t)}/realtime/kit/${encodeURIComponent(n)}/meetings/${encodeURIComponent(e)}/livestream`,{...r?{query:r}:{}})}},Hh=class extends m{activeSession;livestream;constructor(e){super(e),this.activeSession=new Bh(e),this.livestream=new Vh(e)}},Uh=class extends m{constructor(e){super(e)}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/sessions/${encodeURIComponent(n)}/livestream-sessions`,{...r?{query:r}:{}})}},Wh=class extends m{sessions;constructor(e){super(e),this.sessions=new Uh(e)}},Gh=class extends m{livestream;constructor(e){super(e),this.livestream=new Wh(e)}},Kh=class extends m{meetings;sessions;constructor(e){super(e),this.meetings=new Hh(e),this.sessions=new Gh(e)}},qh=class extends m{constructor(e){super(e)}async getAllLivestreams(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/livestreams`,{...n?{query:n}:{}})}async stopLivestreamingAMeeting(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/realtime/kit/${encodeURIComponent(n)}/meetings/${encodeURIComponent(e)}/active-livestream/stop`)}async startLivestreamingAMeeting(e,t,n,r){return this._client.post(`/accounts/${encodeURIComponent(t)}/realtime/kit/${encodeURIComponent(n)}/meetings/${encodeURIComponent(e)}/livestreams`,{body:{...r}})}async getLivestreamAnalyticsComplete(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/analytics/livestreams/overall`,{...n?{query:n}:{}})}async getOrgAnalytics(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/analytics/daywise`,{...n?{query:n}:{}})}async getMeetingActiveLivestreams(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/realtime/kit/${encodeURIComponent(n)}/meetings/${encodeURIComponent(e)}/active-livestream`)}async getLivestreamSessionDetailsForSessionId(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/livestreams/sessions/${encodeURIComponent(n)}`)}async getActiveLivestreamsForLivestreamId(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/livestreams/${encodeURIComponent(n)}/active-livestream-session`)}async getLivestreamSessionForLivestreamId(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/livestreams/${encodeURIComponent(n)}`,{...r?{query:r}:{}})}},Jh=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/meetings`,{...n?{query:n}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/meetings`)}async getMeetingById(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(t)}/realtime/kit/${encodeURIComponent(n)}/meetings/${encodeURIComponent(e)}`,{...r?{query:r}:{}})}async updateMeetingById(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/realtime/kit/${encodeURIComponent(n)}/meetings/${encodeURIComponent(e)}`)}async replaceMeetingById(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/realtime/kit/${encodeURIComponent(n)}/meetings/${encodeURIComponent(e)}`)}async getMeetingParticipants(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/meetings/${encodeURIComponent(n)}/participants`,{...r?{query:r}:{}})}async addParticipant(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/meetings/${encodeURIComponent(n)}/participants`)}async getMeetingParticipant(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(n)}/realtime/kit/${encodeURIComponent(r)}/meetings/${encodeURIComponent(e)}/participants/${encodeURIComponent(t)}`)}async editParticipant(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(n)}/realtime/kit/${encodeURIComponent(r)}/meetings/${encodeURIComponent(e)}/participants/${encodeURIComponent(t)}`)}async deleteMeetingParticipant(e,t,n,r){return this._client.delete(`/accounts/${encodeURIComponent(n)}/realtime/kit/${encodeURIComponent(r)}/meetings/${encodeURIComponent(e)}/participants/${encodeURIComponent(t)}`)}async refreshParticipantToken(e,t,n,r){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/meetings/${encodeURIComponent(n)}/participants/${encodeURIComponent(r)}/token`)}},Yh=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/presets`,{...n?{query:n}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/presets`)}async getPresetById(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/presets/${encodeURIComponent(n)}`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/presets/${encodeURIComponent(n)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/presets/${encodeURIComponent(n)}`)}},Xh=class extends m{constructor(e){super(e)}async getRecordings(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/recordings`,{...n?{query:n}:{}})}async startRecordings(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/recordings`)}async getActiveRecordings(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/recordings/active-recording/${encodeURIComponent(n)}`)}async getOneRecording(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/recordings/${encodeURIComponent(n)}`)}async pauseResumeStopRecording(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/recordings/${encodeURIComponent(n)}`,{body:{...r}})}async startTrackRecording(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/recordings/track`)}},Zh=class extends m{constructor(e){super(e)}async getSessions(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/sessions`,{...n?{query:n}:{}})}async getSessionDetails(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/sessions/${encodeURIComponent(n)}`,{...r?{query:r}:{}})}async getSessionParticipants(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/sessions/${encodeURIComponent(n)}/participants`,{...r?{query:r}:{}})}async getSessionParticipantDetails(e,t,n,r,i){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/sessions/${encodeURIComponent(r)}/participants/${encodeURIComponent(n)}`,{...i?{query:i}:{}})}async getSessionChat(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/sessions/${encodeURIComponent(n)}/chat`)}async getSessionTranscripts(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/sessions/${encodeURIComponent(n)}/transcript`)}async getSessionSummary(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/sessions/${encodeURIComponent(n)}/summary`)}async generateSummaryOfTranscripts(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/sessions/${encodeURIComponent(n)}/summary`)}async getParticipantDataFromPeerId(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/sessions/peer-report/${encodeURIComponent(n)}`,{...r?{query:r}:{}})}},Qh=class extends m{constructor(e){super(e)}async getWebhooks(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/webhooks`)}async createWebhook(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/webhooks`,{body:{...n}})}async getWebhookById(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/webhooks/${encodeURIComponent(n)}`)}async replaceWebhook(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/webhooks/${encodeURIComponent(n)}`,{body:{...r}})}async editWebhook(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/webhooks/${encodeURIComponent(n)}`,{body:{...r}})}async deleteWebhook(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/realtime/kit/${encodeURIComponent(t)}/webhooks/${encodeURIComponent(n)}`)}},$h=class extends m{activeSession;analytics;apps;kit;livestreams;meetings;presets;recordings;sessions;webhooks;constructor(e){super(e),this.activeSession=new Fh(e),this.analytics=new Ih(e),this.apps=new Lh(e),this.kit=new Kh(e),this.livestreams=new qh(e),this.meetings=new Jh(e),this.presets=new Yh(e),this.recordings=new Xh(e),this.sessions=new Zh(e),this.webhooks=new Qh(e)}},eg=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/registrar/domains`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/registrar/domains/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/registrar/domains/${encodeURIComponent(e)}`,{body:{...n}})}},tg=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/registrar/registrations`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/registrar/registrations`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/registrar/registrations/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/registrar/registrations/${encodeURIComponent(t)}`,{body:{...n}})}async getStatus(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/registrar/registrations/${encodeURIComponent(t)}/registration-status`)}async getUpdateStatus(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/registrar/registrations/${encodeURIComponent(t)}/update-status`)}},ng=class extends m{domains;registrations;constructor(e){super(e),this.domains=new eg(e),this.registrations=new tg(e)}async domainSearch(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/registrar/domain-search`,{...t?{query:t}:{}})}async domainCheck(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/registrar/domain-check`,{body:{...t}})}},rg=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/request-tracer/trace`,{body:{...t}})}},ig=class extends m{traces;constructor(e){super(e),this.traces=new rg(e)}},ag=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}/recipients`,{...n?{query:n}:{}})}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}/recipients/${encodeURIComponent(n)}`,{...r?{query:r}:{}})}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}/recipients`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}/recipients/${encodeURIComponent(n)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}/recipients`,{body:n})}},og=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}/resources`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}/resources/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}/resources`,{body:{...n}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}/resources/${encodeURIComponent(n)}`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}/resources/${encodeURIComponent(n)}`)}},sg=class extends m{recipients;resources;constructor(e){super(e),this.recipients=new ag(e),this.resources=new og(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/shares`,{...t?{query:t}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/shares`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/shares/${encodeURIComponent(t)}`)}},cg=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/tags`,{...t?{query:t}:{}})}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/tags`,{body:{...t}})}async delete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/tags`)}},lg=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/tags/keys`,{...t?{query:t}:{}})}},ug=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/tags/values/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}},dg=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/tags`,{...t?{query:t}:{}})}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/tags`,{body:{...t}})}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/tags`)}},fg=class extends m{accountTags;keys;values;zoneTags;constructor(e){super(e),this.accountTags=new cg(e),this.keys=new lg(e),this.values=new ug(e),this.zoneTags=new dg(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/tags/resources`,{...t?{query:t}:{}})}},pg=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/rules/lists/bulk_operations/${encodeURIComponent(e)}`)}},mg=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/rules/lists/${encodeURIComponent(e)}/items`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/rules/lists/${encodeURIComponent(t)}/items/${encodeURIComponent(e)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/rules/lists/${encodeURIComponent(e)}/items`,{body:n})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/rules/lists/${encodeURIComponent(e)}/items`,{body:n})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/rules/lists/${encodeURIComponent(e)}/items`)}},hg=class extends m{bulkOperations;items;constructor(e){super(e),this.bulkOperations=new pg(e),this.items=new mg(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/rules/lists`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/rules/lists/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/rules/lists`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/rules/lists/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/rules/lists/${encodeURIComponent(e)}`)}},gg=class extends m{lists;constructor(e){super(e),this.lists=new hg(e)}},_g=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/rulesets/phases/${encodeURIComponent(e)}/entrypoint/versions`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/rulesets/phases/${encodeURIComponent(t)}/entrypoint/versions/${encodeURIComponent(e)}`)}},vg=class extends m{versions;constructor(e){super(e),this.versions=new _g(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/rulesets/phases/${encodeURIComponent(e)}/entrypoint`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(t)}/rulesets/phases/${encodeURIComponent(e)}/entrypoint`)}},yg=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/rulesets/${encodeURIComponent(e)}/rules`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/rulesets/${encodeURIComponent(t)}/rules/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(n)}/rulesets/${encodeURIComponent(t)}/rules/${encodeURIComponent(e)}`)}},bg=class extends m{constructor(e){super(e)}async tag(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(r)}/rulesets/${encodeURIComponent(n)}/versions/${encodeURIComponent(t)}/by_tag/${encodeURIComponent(e)}`)}},xg=class extends m{constructor(e){super(e)}async tag(e,t,n,r){return this._client.get(`/zones/${encodeURIComponent(r)}/rulesets/${encodeURIComponent(n)}/versions/${encodeURIComponent(t)}/by_tag/${encodeURIComponent(e)}`)}},Sg=class extends m{byTag;zoneByTag;constructor(e){super(e),this.byTag=new bg(e),this.zoneByTag=new xg(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/rulesets/${encodeURIComponent(e)}/versions`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/rulesets/${encodeURIComponent(t)}/versions/${encodeURIComponent(e)}`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/rulesets/${encodeURIComponent(t)}/versions/${encodeURIComponent(e)}`)}},Cg=class extends m{phases;rules;versions;constructor(e){super(e),this.phases=new vg(e),this.rules=new yg(e),this.versions=new Sg(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/rulesets`,{...t?{query:t}:{}})}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/rulesets`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/rulesets/${encodeURIComponent(e)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/rulesets/${encodeURIComponent(e)}`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(t)}/rulesets/${encodeURIComponent(e)}`)}},wg=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/rulesets/phases/${encodeURIComponent(e)}/entrypoint/versions`)}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(n)}/rulesets/phases/${encodeURIComponent(t)}/entrypoint/versions/${encodeURIComponent(e)}`)}},Tg=class extends m{versions;constructor(e){super(e),this.versions=new wg(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/rulesets/phases/${encodeURIComponent(e)}/entrypoint`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(t)}/rulesets/phases/${encodeURIComponent(e)}/entrypoint`)}},Eg=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(t)}/rulesets/${encodeURIComponent(e)}/rules`)}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(n)}/rulesets/${encodeURIComponent(t)}/rules/${encodeURIComponent(e)}`)}async delete(e,t,n){return this._client.delete(`/zones/${encodeURIComponent(n)}/rulesets/${encodeURIComponent(t)}/rules/${encodeURIComponent(e)}`)}},Dg=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/rulesets/${encodeURIComponent(e)}/versions`)}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(n)}/rulesets/${encodeURIComponent(t)}/versions/${encodeURIComponent(e)}`)}async delete(e,t,n){return this._client.delete(`/zones/${encodeURIComponent(n)}/rulesets/${encodeURIComponent(t)}/versions/${encodeURIComponent(e)}`)}},Og=class extends m{accountRulesets;phases;rules;versions;constructor(e){super(e),this.accountRulesets=new Cg(e),this.phases=new Tg(e),this.rules=new Eg(e),this.versions=new Dg(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/rulesets`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/rulesets/${encodeURIComponent(e)}`)}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/rulesets`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(t)}/rulesets/${encodeURIComponent(e)}`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/rulesets/${encodeURIComponent(e)}`)}},kg=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/rum/v2/${encodeURIComponent(t)}/rules`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/rum/v2/${encodeURIComponent(t)}/rule`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(e)}/rum/v2/${encodeURIComponent(t)}/rule/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/rum/v2/${encodeURIComponent(t)}/rule/${encodeURIComponent(n)}`)}async bulkCreate(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/rum/v2/${encodeURIComponent(t)}/rules`,{body:{...n}})}},Ag=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/rum/site_info/list`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/rum/site_info/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/rum/site_info`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/rum/site_info/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/rum/site_info/${encodeURIComponent(t)}`)}},jg=class extends m{rules;siteInfo;constructor(e){super(e),this.rules=new kg(e),this.siteInfo=new Ag(e)}},Mg=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/schema_validation/schemas/hosts`,{...t?{query:t}:{}})}},Ng=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/schema_validation/schemas/${encodeURIComponent(t)}/operations`,{...n?{query:n}:{}})}},Pg=class extends m{hosts;operations;constructor(e){super(e),this.hosts=new Mg(e),this.operations=new Ng(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/schema_validation/schemas`,{...t?{query:t}:{}})}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/schema_validation/schemas/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/schema_validation/schemas`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/schema_validation/schemas/${encodeURIComponent(t)}`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/schema_validation/schemas/${encodeURIComponent(t)}`)}},Fg=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/schema_validation/settings/operations`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/schema_validation/settings/operations/${encodeURIComponent(t)}`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/schema_validation/settings/operations/${encodeURIComponent(t)}`)}async bulkEdit(e){return this._client.patch(`/zones/${encodeURIComponent(e)}/schema_validation/settings/operations`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/schema_validation/settings/operations/${encodeURIComponent(t)}`)}},Ig=class extends m{operations;constructor(e){super(e),this.operations=new Fg(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/schema_validation/settings`)}async update(e){return this._client.put(`/zones/${encodeURIComponent(e)}/schema_validation/settings`)}async edit(e){return this._client.patch(`/zones/${encodeURIComponent(e)}/schema_validation/settings`)}},Lg=class extends m{schemas;settings;constructor(e){super(e),this.schemas=new Pg(e),this.settings=new Ig(e)}},Rg=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/scim/v2/Groups`,{...t?{query:t}:{}})}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/scim/v2/Groups`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/scim/v2/Groups/${encodeURIComponent(t)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/scim/v2/Groups/${encodeURIComponent(t)}`)}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/scim/v2/Groups/${encodeURIComponent(t)}`)}},zg=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/scim/v2/ResourceTypes`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/scim/v2/ResourceTypes/${encodeURIComponent(t)}`)}},Bg=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/scim/v2/Schemas`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/scim/v2/Schemas/${encodeURIComponent(t)}`)}},Vg=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/scim/v2/ServiceProviderConfig`)}},Hg=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/scim/v2/Users`,{...t?{query:t}:{}})}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/scim/v2/Users`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/scim/v2/Users/${encodeURIComponent(t)}`)}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/scim/v2/Users/${encodeURIComponent(t)}`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/scim/v2/Users/${encodeURIComponent(t)}`)}},Ug=class extends m{groups;resourceTypes;schemas;serviceProviderConfig;users;constructor(e){super(e),this.groups=new Rg(e),this.resourceTypes=new zg(e),this.schemas=new Bg(e),this.serviceProviderConfig=new Vg(e),this.users=new Hg(e)}},Wg=class extends m{constructor(e){super(e)}},Gg=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/secrets_store/quota`)}},Kg=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/secrets_store/stores/${encodeURIComponent(t)}/secrets`,{body:n})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/secrets_store/stores/${encodeURIComponent(t)}/secrets`)}},qg=class extends m{bulk;constructor(e){super(e),this.bulk=new Kg(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/secrets_store/stores/${encodeURIComponent(t)}/secrets`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/secrets_store/stores/${encodeURIComponent(t)}/secrets/${encodeURIComponent(n)}`)}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(e)}/secrets_store/stores/${encodeURIComponent(t)}/secrets/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/secrets_store/stores/${encodeURIComponent(t)}/secrets/${encodeURIComponent(n)}`)}async duplicate(e,t,n,r){return this._client.post(`/accounts/${encodeURIComponent(e)}/secrets_store/stores/${encodeURIComponent(t)}/secrets/${encodeURIComponent(n)}/duplicate`,{body:{...r}})}},Jg=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/secrets_store/stores`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/secrets_store/stores`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/secrets_store/stores/${encodeURIComponent(t)}`)}},Yg=class extends m{constructor(e){super(e)}async id(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/secrets_store/stores/${encodeURIComponent(t)}`)}},Xg=class extends m{by;constructor(e){super(e),this.by=new Yg(e)}async v2(e,t){return this._client.get(`/system/accounts/${encodeURIComponent(e)}/stores/${encodeURIComponent(t)}`)}},Zg=class extends m{constructor(e){super(e)}async id(e,t,n){return this._client.delete(`/system/accounts/${encodeURIComponent(e)}/stores/${encodeURIComponent(t)}/secrets/${encodeURIComponent(n)}`)}},Qg=class extends m{constructor(e){super(e)}async bulk(e,t){return this._client.delete(`/system/accounts/${encodeURIComponent(e)}/stores/${encodeURIComponent(t)}/secrets`)}},$g=class extends m{by;system;constructor(e){super(e),this.by=new Zg(e),this.system=new Qg(e)}},e_=class extends m{constructor(e){super(e)}async create(e,t,n,r){return this._client.post(`/system/accounts/${encodeURIComponent(e)}/stores/${encodeURIComponent(t)}/secrets/${encodeURIComponent(n)}/duplicate`,{body:{...r}})}},t_=class extends m{delete;duplicate;constructor(e){super(e),this.delete=new $g(e),this.duplicate=new e_(e)}async list(e,t,n){return this._client.get(`/system/accounts/${encodeURIComponent(e)}/stores/${encodeURIComponent(t)}/secrets`,{...n?{query:n}:{}})}async create(e,t,n){return this._client.post(`/system/accounts/${encodeURIComponent(e)}/stores/${encodeURIComponent(t)}/secrets`,{body:n})}async get(e,t,n){return this._client.get(`/system/accounts/${encodeURIComponent(e)}/stores/${encodeURIComponent(t)}/secrets/${encodeURIComponent(n)}`)}async edit(e,t,n,r){return this._client.patch(`/system/accounts/${encodeURIComponent(e)}/stores/${encodeURIComponent(t)}/secrets/${encodeURIComponent(n)}`,{body:{...r}})}},n_=class extends m{get;secrets;constructor(e){super(e),this.get=new Xg(e),this.secrets=new t_(e)}async list(e,t){return this._client.get(`/system/accounts/${encodeURIComponent(e)}/stores`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/system/accounts/${encodeURIComponent(e)}/stores`,{body:{...t}})}async delete(e,t){return this._client.delete(`/system/accounts/${encodeURIComponent(e)}/stores/${encodeURIComponent(t)}`)}},r_=class extends m{quota;secrets;stores;systemStores;constructor(e){super(e),this.quota=new Gg(e),this.secrets=new qg(e),this.stores=new Jg(e),this.systemStores=new n_(e)}},i_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/security-center/insights/class`,{...t?{query:t}:{}})}},a_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/security-center/insights/severity`,{...t?{query:t}:{}})}},o_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/security-center/insights/type`,{...t?{query:t}:{}})}},s_=class extends m{class;severity;type;constructor(e){super(e),this.class=new i_(e),this.severity=new a_(e),this.type=new o_(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/security-center/insights`,{...t?{query:t}:{}})}async dismiss(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/security-center/insights/${encodeURIComponent(t)}/dismiss`,{body:{...n}})}},c_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/security-center/insights/class`,{...t?{query:t}:{}})}},l_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/security-center/insights/${encodeURIComponent(t)}/context`)}},u_=class extends m{constructor(e){super(e)}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(e)}/security-center/insights/${encodeURIComponent(t)}/dismiss`,{body:{...n}})}},d_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/security-center/insights/severity`,{...t?{query:t}:{}})}},f_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/security-center/insights/type`,{...t?{query:t}:{}})}},p_=class extends m{class;context;dismiss;severity;type;constructor(e){super(e),this.class=new c_(e),this.context=new l_(e),this.dismiss=new u_(e),this.severity=new d_(e),this.type=new f_(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/security-center/insights`,{...t?{query:t}:{}})}},m_=class extends m{insights;zoneInsights;constructor(e){super(e),this.insights=new s_(e),this.zoneInsights=new p_(e)}},h_=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/security-center/securitytxt`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/security-center/securitytxt`,{body:{...t}})}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/security-center/securitytxt`)}},g_=class extends m{constructor(e){super(e)}async status(e){return this._client.get(`/zones/${encodeURIComponent(e)}/smart_shield/cache_reserve_clear`)}async clear(e){return this._client.post(`/zones/${encodeURIComponent(e)}/smart_shield/cache_reserve_clear`)}},__=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/smart_shield/healthchecks`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/smart_shield/healthchecks/${encodeURIComponent(e)}`)}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/smart_shield/healthchecks/${encodeURIComponent(e)}`,{body:{...n}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/smart_shield/healthchecks/${encodeURIComponent(e)}`)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/smart_shield/healthchecks`,{...t?{query:t}:{}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/smart_shield/healthchecks/${encodeURIComponent(e)}`,{body:{...n}})}},v_=class extends m{cacheReserveClear;healthChecks;constructor(e){super(e),this.cacheReserveClear=new g_(e),this.healthChecks=new __(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/smart_shield`)}async update(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/smart_shield`,{body:{...t}})}},y_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/snippets/${encodeURIComponent(t)}/content`)}},b_=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/snippets/snippet_rules`)}async update(e){return this._client.put(`/zones/${encodeURIComponent(e)}/snippets/snippet_rules`)}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/snippets/snippet_rules`)}},x_=class extends m{content;rules;constructor(e){super(e),this.content=new y_(e),this.rules=new b_(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/snippets`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/snippets/${encodeURIComponent(t)}`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/snippets/${encodeURIComponent(t)}`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/snippets/${encodeURIComponent(t)}`)}},S_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/spectrum/analytics/aggregate/current`,{...t?{query:t}:{}})}},C_=class extends m{currents;constructor(e){super(e),this.currents=new S_(e)}},w_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/spectrum/analytics/events/bytime`,{...t?{query:t}:{}})}},T_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/spectrum/analytics/events/summary`,{...t?{query:t}:{}})}},E_=class extends m{bytimes;summaries;constructor(e){super(e),this.bytimes=new w_(e),this.summaries=new T_(e)}},D_=class extends m{aggregates;events;constructor(e){super(e),this.aggregates=new C_(e),this.events=new E_(e)}},O_=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/spectrum/apps`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/spectrum/apps/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/spectrum/apps`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/spectrum/apps/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/spectrum/apps/${encodeURIComponent(e)}`)}},k_=class extends m{analytics;apps;constructor(e){super(e),this.analytics=new D_(e),this.apps=new O_(e)}},A_=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/speed_api/availabilities`)}},j_=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/speed_api/pages/${encodeURIComponent(t)}/tests`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/speed_api/pages/${encodeURIComponent(t)}/tests/${encodeURIComponent(n)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/speed_api/pages/${encodeURIComponent(t)}/tests`)}async delete(e,t,n){return this._client.delete(`/zones/${encodeURIComponent(e)}/speed_api/pages/${encodeURIComponent(t)}/tests`,{...n?{query:n}:{}})}},M_=class extends m{tests;constructor(e){super(e),this.tests=new j_(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/speed_api/pages`)}async trend(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/speed_api/pages/${encodeURIComponent(t)}/trend`,{...n?{query:n}:{}})}},N_=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(e)}/speed_api/schedule/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async create(e,t,n){return this._client.post(`/zones/${encodeURIComponent(e)}/speed_api/schedule/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async delete(e,t,n){return this._client.delete(`/zones/${encodeURIComponent(e)}/speed_api/schedule/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}},P_=class extends m{availabilities;pages;schedule;constructor(e){super(e),this.availabilities=new A_(e),this.pages=new M_(e),this.schedule=new N_(e)}},F_=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/ssl/analyze`,{body:{...t}})}},I_=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/ssl_automatic_mode`)}async patch(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/settings/ssl_automatic_mode`,{body:{...t}})}},L_=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/ssl/certificate_packs/quota`)}},R_=class extends m{quota;constructor(e){super(e),this.quota=new L_(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/ssl/certificate_packs`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/ssl/certificate_packs/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/ssl/certificate_packs/order`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/ssl/certificate_packs/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/ssl/certificate_packs/${encodeURIComponent(e)}`)}},z_=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/ssl/recommendation`)}},B_=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/ssl/universal/settings`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/ssl/universal/settings`,{body:{...t}})}},V_=class extends m{settings;constructor(e){super(e),this.settings=new B_(e)}},H_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/ssl/verification`,{...t?{query:t}:{}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/ssl/verification/${encodeURIComponent(e)}`,{body:{...n}})}},U_=class extends m{analyze;automaticUpgrader;certificatePacks;recommendations;universal;verification;constructor(e){super(e),this.analyze=new F_(e),this.automaticUpgrader=new I_(e),this.certificatePacks=new R_(e),this.recommendations=new z_(e),this.universal=new V_(e),this.verification=new H_(e)}},W_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/stream/${encodeURIComponent(t)}/audio`)}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(e)}/stream/${encodeURIComponent(t)}/audio/${encodeURIComponent(n)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/stream/${encodeURIComponent(t)}/audio/${encodeURIComponent(n)}`)}async copy(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/stream/${encodeURIComponent(t)}/audio/copy`,{body:{...n}})}},G_=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/stream/${encodeURIComponent(t)}/captions/${encodeURIComponent(e)}/vtt`)}},K_=class extends m{vtt;constructor(e){super(e),this.vtt=new G_(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/stream/${encodeURIComponent(t)}/captions/${encodeURIComponent(e)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(n)}/stream/${encodeURIComponent(t)}/captions/${encodeURIComponent(e)}/generate`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(n)}/stream/${encodeURIComponent(t)}/captions/${encodeURIComponent(e)}`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/stream/${encodeURIComponent(t)}/captions/${encodeURIComponent(e)}`)}},q_=class extends m{language;constructor(e){super(e),this.language=new K_(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/stream/${encodeURIComponent(e)}/captions`)}},J_=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/stream/clip`,{body:{...t}})}},Y_=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/stream/copy`,{body:{...t}})}},X_=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/stream/direct_upload`,{body:{...t}})}},Z_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/stream/${encodeURIComponent(e)}/downloads`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/stream/${encodeURIComponent(e)}/downloads`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/stream/${encodeURIComponent(e)}/downloads`)}},Q_=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/stream/${encodeURIComponent(e)}/embed`)}},$_=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/stream/keys`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/stream/keys`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/stream/keys/${encodeURIComponent(e)}`)}},ev=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/stream/live_inputs/${encodeURIComponent(e)}/disable`)}},tv=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/stream/live_inputs/${encodeURIComponent(e)}/enable`)}},nv=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/stream/live_inputs/${encodeURIComponent(e)}/outputs`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/stream/live_inputs/${encodeURIComponent(e)}/outputs`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(n)}/stream/live_inputs/${encodeURIComponent(t)}/outputs/${encodeURIComponent(e)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/stream/live_inputs/${encodeURIComponent(t)}/outputs/${encodeURIComponent(e)}`)}},rv=class extends m{disable;enable;outputs;constructor(e){super(e),this.disable=new ev(e),this.enable=new tv(e),this.outputs=new nv(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/stream/live_inputs`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/stream/live_inputs/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/stream/live_inputs`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/stream/live_inputs/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/stream/live_inputs/${encodeURIComponent(e)}`)}},iv=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/stream/${encodeURIComponent(e)}/token`,{body:{...n}})}},av=class extends m{constructor(e){super(e)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(t)}/stream/${encodeURIComponent(e)}/downloads/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/stream/${encodeURIComponent(e)}/downloads/${encodeURIComponent(n)}`)}},ov=class extends m{constructor(e){super(e)}async storageUsage(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/stream/storage-usage`,{...t?{query:t}:{}})}},sv=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/stream/watermarks`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/stream/watermarks/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/stream/watermarks`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/stream/watermarks/${encodeURIComponent(e)}`)}},cv=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/stream/webhook`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/stream/webhook`,{body:{...t}})}async delete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/stream/webhook`)}},lv=class extends m{audioTracks;captions;clip;copy;directUpload;downloads;embed;keys;liveInputs;token;typedDownloads;videos;watermarks;webhooks;constructor(e){super(e),this.audioTracks=new W_(e),this.captions=new q_(e),this.clip=new J_(e),this.copy=new Y_(e),this.directUpload=new X_(e),this.downloads=new Z_(e),this.embed=new Q_(e),this.keys=new $_(e),this.liveInputs=new rv(e),this.token=new iv(e),this.typedDownloads=new av(e),this.videos=new ov(e),this.watermarks=new sv(e),this.webhooks=new cv(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/stream`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/stream/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/stream`,{...t?{query:t}:{}})}async edit(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/stream/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/stream/${encodeURIComponent(e)}`)}},uv=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/tenants/${encodeURIComponent(e)}/account_types`)}},dv=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/tenants/${encodeURIComponent(e)}/accounts`)}},fv=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/tenants/${encodeURIComponent(e)}/entitlements`)}},pv=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/tenants/${encodeURIComponent(e)}/memberships`)}},mv=class extends m{accountTypes;accounts;entitlements;memberships;constructor(e){super(e),this.accountTypes=new uv(e),this.accounts=new dv(e),this.entitlements=new fv(e),this.memberships=new pv(e)}async get(e){return this._client.get(`/tenants/${encodeURIComponent(e)}`)}},hv=class extends m{constructor(e){super(e)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/token_validation/config/${encodeURIComponent(t)}/credentials`)}},gv=class extends m{credentials;constructor(e){super(e),this.credentials=new hv(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/token_validation/config`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/token_validation/config/${encodeURIComponent(t)}`)}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/token_validation/config`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/token_validation/config/${encodeURIComponent(t)}`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/token_validation/config/${encodeURIComponent(t)}`)}},_v=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/token_validation/rules/preview`,{body:{...t}})}},vv=class extends m{preview;constructor(e){super(e),this.preview=new _v(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/token_validation/rules`,{...t?{query:t}:{}})}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/token_validation/rules`)}async bulkCreate(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/token_validation/rules/bulk`,{body:t})}async bulkEdit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/token_validation/rules/bulk`,{body:t})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/token_validation/rules/${encodeURIComponent(t)}`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/token_validation/rules/${encodeURIComponent(t)}`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/token_validation/rules/${encodeURIComponent(t)}`)}},yv=class extends m{configuration;rules;constructor(e){super(e),this.configuration=new gv(e),this.rules=new vv(e)}},bv=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/challenges/widgets`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/challenges/widgets/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/challenges/widgets`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/challenges/widgets/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/challenges/widgets/${encodeURIComponent(t)}`)}async rotateSecret(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/challenges/widgets/${encodeURIComponent(t)}/rotate_secret`,{body:{...n}})}},xv=class extends m{widgets;constructor(e){super(e),this.widgets=new bv(e)}},Sv=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/url_normalization`)}async update(e){return this._client.put(`/zones/${encodeURIComponent(e)}/url_normalization`)}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}/url_normalization`)}},Cv=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/urlscanner/response/${encodeURIComponent(e)}`)}},wv=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/urlscanner/v2/responses/${encodeURIComponent(e)}`)}},Tv=class extends m{constructor(e){super(e)}async scans(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/urlscanner/scan`,{...t?{query:t}:{}})}async scan(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/urlscanner/scan/${encodeURIComponent(e)}`,{...n?{query:n}:{}})}},Ev=class extends m{urlscanner;constructor(e){super(e),this.urlscanner=new Tv(e)}},Dv=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/urlscanner/scan/${encodeURIComponent(e)}/har`)}},Ov=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/urlscanner/scan/${encodeURIComponent(e)}/screenshot`,{...n?{query:n}:{}})}},kv=class extends m{get;har;screenshot;constructor(e){super(e),this.get=new Ev(e),this.har=new Dv(e),this.screenshot=new Ov(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/urlscanner/scan`,{body:{...t}})}},Av=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/urlscanner/v2/search`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/urlscanner/v2/result/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/urlscanner/v2/scan`,{body:{...t}})}async bulkCreate(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/urlscanner/v2/bulk`,{body:t})}async har(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/urlscanner/v2/har/${encodeURIComponent(e)}`)}async screenshot(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/urlscanner/v2/screenshots/${encodeURIComponent(e)}.png`,{...n?{query:n}:{}})}async dom(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/urlscanner/v2/dom/${encodeURIComponent(e)}`)}},jv=class extends m{response;responses;scan;scans;constructor(e){super(e),this.response=new Cv(e),this.responses=new wv(e),this.scan=new kv(e),this.scans=new Av(e)}},Mv=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/user/audit_logs`,{...e?{query:e}:{}})}},Nv=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/user/billing/history`,{...e?{query:e}:{}})}},Pv=class extends m{constructor(e){super(e)}async get(){return this._client.get(`/user/billing/profile`)}},Fv=class extends m{history;profile;constructor(e){super(e),this.history=new Nv(e),this.profile=new Pv(e)}},Iv=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/user/firewall/access_rules/rules`,{...e?{query:e}:{}})}async create(e){return this._client.post(`/user/firewall/access_rules/rules`,{body:{...e}})}async delete(e){return this._client.delete(`/user/firewall/access_rules/rules/${encodeURIComponent(e)}`)}async edit(e,t){return this._client.patch(`/user/firewall/access_rules/rules/${encodeURIComponent(e)}`,{body:{...t}})}},Lv=class extends m{accessRules;constructor(e){super(e),this.accessRules=new Iv(e)}},Rv=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/user/load_balancers/monitors/${encodeURIComponent(e)}/preview`,{body:{...t}})}},zv=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/user/load_balancers/monitors/${encodeURIComponent(e)}/references`)}},Bv=class extends m{preview;references;constructor(e){super(e),this.preview=new Rv(e),this.references=new zv(e)}async list(){return this._client.get(`/user/load_balancers/monitors`)}async create(e){return this._client.post(`/user/load_balancers/monitors`,{body:{...e}})}async delete(e){return this._client.delete(`/user/load_balancers/monitors/${encodeURIComponent(e)}`)}async get(e){return this._client.get(`/user/load_balancers/monitors/${encodeURIComponent(e)}`)}async edit(e,t){return this._client.patch(`/user/load_balancers/monitors/${encodeURIComponent(e)}`,{body:{...t}})}async update(e,t){return this._client.put(`/user/load_balancers/monitors/${encodeURIComponent(e)}`,{body:{...t}})}},Vv=class extends m{constructor(e){super(e)}async pools(e){return this._client.patch(`/user/load_balancers/pools`,{body:{...e}})}async pool(e,t){return this._client.patch(`/user/load_balancers/pools/${encodeURIComponent(e)}`,{body:{...t}})}},Hv=class extends m{pools;constructor(e){super(e),this.pools=new Vv(e)}},Uv=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/user/load_balancers/pools/${encodeURIComponent(e)}/health`)}},Wv=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/user/load_balancers/pools/${encodeURIComponent(e)}/preview`,{body:{...t}})}},Gv=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/user/load_balancers/pools/${encodeURIComponent(e)}/references`)}},Kv=class extends m{edit;health;preview;references;constructor(e){super(e),this.edit=new Hv(e),this.health=new Uv(e),this.preview=new Wv(e),this.references=new Gv(e)}async list(e){return this._client.get(`/user/load_balancers/pools`,{...e?{query:e}:{}})}async create(e){return this._client.post(`/user/load_balancers/pools`,{body:{...e}})}async delete(e){return this._client.delete(`/user/load_balancers/pools/${encodeURIComponent(e)}`)}async get(e){return this._client.get(`/user/load_balancers/pools/${encodeURIComponent(e)}`)}async update(e,t){return this._client.put(`/user/load_balancers/pools/${encodeURIComponent(e)}`,{body:{...t}})}},qv=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/user/load_balancers/preview/${encodeURIComponent(e)}`)}},Jv=class extends m{monitors;pools;preview;constructor(e){super(e),this.monitors=new Bv(e),this.pools=new Kv(e),this.preview=new qv(e)}},Yv=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/user/load_balancing_analytics/events`,{...e?{query:e}:{}})}},Xv=class extends m{events;constructor(e){super(e),this.events=new Yv(e)}},Zv=class extends m{constructor(e){super(e)}async get(){return this._client.get(`/user/subscriptions`)}async update(e,t){return this._client.put(`/user/subscriptions/${encodeURIComponent(e)}`,{body:{...t}})}async delete(e){return this._client.delete(`/user/subscriptions/${encodeURIComponent(e)}`)}},Qv=class extends m{constructor(e){super(e)}async list(){return this._client.get(`/users/tenants`)}},$v=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/user/tokens/permission_groups`,{...e?{query:e}:{}})}},ey=class extends m{constructor(e){super(e)}async update(e){return this._client.put(`/user/tokens/${encodeURIComponent(e)}/value`)}},ty=class extends m{permissionGroups;value;constructor(e){super(e),this.permissionGroups=new $v(e),this.value=new ey(e)}async list(e){return this._client.get(`/user/tokens`,{...e?{query:e}:{}})}async get(e){return this._client.get(`/user/tokens/${encodeURIComponent(e)}`)}async create(e){return this._client.post(`/user/tokens`,{body:{...e}})}async update(e,t){return this._client.put(`/user/tokens/${encodeURIComponent(e)}`,{body:{...t}})}async delete(e){return this._client.delete(`/user/tokens/${encodeURIComponent(e)}`)}async verify(){return this._client.get(`/user/tokens/verify`)}},ny=class extends m{auditLogs;billing;firewall;loadBalancers;loadBalancingAnalytics;subscriptions;tenants;tokens;constructor(e){super(e),this.auditLogs=new Mv(e),this.billing=new Fv(e),this.firewall=new Lv(e),this.loadBalancers=new Jv(e),this.loadBalancingAnalytics=new Xv(e),this.subscriptions=new Zv(e),this.tenants=new Qv(e),this.tokens=new ty(e)}async get(){return this._client.get(`/user`)}async edit(e){return this._client.patch(`/user`,{body:{...e}})}},ry=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/indexes/${encodeURIComponent(t)}/delete-by-ids`,{body:{...n}})}},iy=class extends m{ids;constructor(e){super(e),this.ids=new ry(e)}},ay=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/indexes/${encodeURIComponent(t)}/get-by-ids`,{body:{...n}})}},oy=class extends m{ids;constructor(e){super(e),this.ids=new ay(e)}},sy=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/indexes/${encodeURIComponent(t)}/insert`)}},cy=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/indexes/${encodeURIComponent(t)}/query`,{body:{...n}})}},ly=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/indexes/${encodeURIComponent(t)}/upsert`)}},uy=class extends m{deleteBy;getBy;insert;query;upsert;constructor(e){super(e),this.deleteBy=new iy(e),this.getBy=new oy(e),this.insert=new sy(e),this.query=new cy(e),this.upsert=new ly(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/vectorize/indexes`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/indexes`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/vectorize/indexes/${encodeURIComponent(t)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/vectorize/indexes/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/vectorize/indexes/${encodeURIComponent(t)}`,{body:{...n}})}},dy=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}/metadata_index/list`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}/metadata_index/create`,{body:{...n}})}async delete(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}/metadata_index/delete`,{body:{...n}})}},fy=class extends m{deprecatedIndexes;metadataIndex;constructor(e){super(e),this.deprecatedIndexes=new uy(e),this.metadataIndex=new dy(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}`)}async insert(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}/insert`,{body:{...n}})}async query(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}/query`,{body:{...n}})}async upsert(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}/upsert`,{body:{...n}})}async deleteByIds(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}/delete_by_ids`,{body:{...n}})}async getByIds(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}/get_by_ids`,{body:{...n}})}async info(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}/info`)}async listVectors(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/vectorize/v2/indexes/${encodeURIComponent(t)}/list`,{...n?{query:n}:{}})}},py=class extends m{constructor(e){super(e)}},my=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/waiting_rooms`,{...t?{query:t}:{}})}},hy=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(n)}/waiting_rooms/${encodeURIComponent(t)}/events/${encodeURIComponent(e)}/details`)}},gy=class extends m{details;constructor(e){super(e),this.details=new hy(e)}async list(e,t,n){return this._client.get(`/zones/${encodeURIComponent(t)}/waiting_rooms/${encodeURIComponent(e)}/events`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(n)}/waiting_rooms/${encodeURIComponent(t)}/events/${encodeURIComponent(e)}`)}async create(e,t,n){return this._client.post(`/zones/${encodeURIComponent(t)}/waiting_rooms/${encodeURIComponent(e)}/events`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/zones/${encodeURIComponent(n)}/waiting_rooms/${encodeURIComponent(t)}/events/${encodeURIComponent(e)}`,{body:{...r}})}async edit(e,t,n,r){return this._client.patch(`/zones/${encodeURIComponent(n)}/waiting_rooms/${encodeURIComponent(t)}/events/${encodeURIComponent(e)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/zones/${encodeURIComponent(n)}/waiting_rooms/${encodeURIComponent(t)}/events/${encodeURIComponent(e)}`)}},_y=class extends m{constructor(e){super(e)}async preview(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/waiting_rooms/preview`,{body:{...t}})}},vy=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/waiting_rooms/${encodeURIComponent(e)}/rules`)}async create(e,t,n){return this._client.post(`/zones/${encodeURIComponent(t)}/waiting_rooms/${encodeURIComponent(e)}/rules`,{body:{...n}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/waiting_rooms/${encodeURIComponent(e)}/rules`,{body:n})}async edit(e,t,n,r){return this._client.patch(`/zones/${encodeURIComponent(n)}/waiting_rooms/${encodeURIComponent(t)}/rules/${encodeURIComponent(e)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/zones/${encodeURIComponent(n)}/waiting_rooms/${encodeURIComponent(t)}/rules/${encodeURIComponent(e)}`)}},yy=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/waiting_rooms/settings`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/waiting_rooms/settings`,{body:{...t}})}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/waiting_rooms/settings`,{body:{...t}})}},by=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/waiting_rooms/${encodeURIComponent(e)}/status`)}},xy=class extends m{accountWaitingRooms;events;page;rules;settings;statuses;constructor(e){super(e),this.accountWaitingRooms=new my(e),this.events=new gy(e),this.page=new _y(e),this.rules=new vy(e),this.settings=new yy(e),this.statuses=new by(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/waiting_rooms`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/waiting_rooms/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/waiting_rooms`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/waiting_rooms/${encodeURIComponent(e)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/waiting_rooms/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/waiting_rooms/${encodeURIComponent(e)}`)}},Sy=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/web3/hostnames/${encodeURIComponent(e)}/ipfs_universal_path/content_list/entries`)}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(n)}/web3/hostnames/${encodeURIComponent(t)}/ipfs_universal_path/content_list/entries/${encodeURIComponent(e)}`)}async create(e,t,n){return this._client.post(`/zones/${encodeURIComponent(t)}/web3/hostnames/${encodeURIComponent(e)}/ipfs_universal_path/content_list/entries`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/zones/${encodeURIComponent(n)}/web3/hostnames/${encodeURIComponent(t)}/ipfs_universal_path/content_list/entries/${encodeURIComponent(e)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/zones/${encodeURIComponent(n)}/web3/hostnames/${encodeURIComponent(t)}/ipfs_universal_path/content_list/entries/${encodeURIComponent(e)}`)}},Cy=class extends m{entries;constructor(e){super(e),this.entries=new Sy(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/web3/hostnames/${encodeURIComponent(e)}/ipfs_universal_path/content_list`)}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/web3/hostnames/${encodeURIComponent(e)}/ipfs_universal_path/content_list`,{body:{...n}})}},wy=class extends m{contentLists;constructor(e){super(e),this.contentLists=new Cy(e)}},Ty=class extends m{ipfsUniversalPaths;constructor(e){super(e),this.ipfsUniversalPaths=new wy(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/web3/hostnames`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/web3/hostnames/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/web3/hostnames`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/web3/hostnames/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/web3/hostnames/${encodeURIComponent(e)}`)}},Ey=class extends m{hostnames;constructor(e){super(e),this.hostnames=new Ty(e)}},Dy=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/account-settings`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/account-settings`,{body:{...t}})}},Oy=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/containers`,{...t?{query:t}:{}})}},ky=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/assets/upload`,{body:{...t}})}},Ay=class extends m{upload;constructor(e){super(e),this.upload=new ky(e)}},jy=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/workers/${encodeURIComponent(t)}/versions`,{...n?{query:n}:{}})}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/workers/${encodeURIComponent(t)}/versions/${encodeURIComponent(n)}`,{...r?{query:r}:{}})}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/workers/${encodeURIComponent(t)}/versions`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/workers/${encodeURIComponent(t)}/versions/${encodeURIComponent(n)}`)}},My=class extends m{versions;constructor(e){super(e),this.versions=new jy(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/workers`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/workers/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/workers`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/workers/${encodeURIComponent(t)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/workers/workers/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/workers/${encodeURIComponent(t)}`)}},Ny=class extends m{workers;constructor(e){super(e),this.workers=new My(e)}},Py=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/pay-per-crawl/configuration`)}async edit(e){return this._client.patch(`/zones/${encodeURIComponent(e)}/pay-per-crawl/configuration`)}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/pay-per-crawl/configuration`)}},Fy=class extends m{constructor(e){super(e)}async delete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/pay-per-crawl/crawler/stripe`)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/pay-per-crawl/crawler/stripe`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/pay-per-crawl/crawler/stripe`)}},Iy=class extends m{stripe;constructor(e){super(e),this.stripe=new Fy(e)}},Ly=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/deployments`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/deployments`,{body:{...n}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/deployments/${encodeURIComponent(n)}`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/deployments/${encodeURIComponent(n)}`)}},Ry=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/domains`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/domains/${encodeURIComponent(t)}`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/domains`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/domains/${encodeURIComponent(t)}`)}},zy=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/observability/destinations`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/observability/destinations`,{body:{...t}})}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/workers/observability/destinations/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/workers/observability/destinations/${encodeURIComponent(e)}`)}},By=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/observability/queries`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/observability/queries`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/workers/observability/queries/${encodeURIComponent(e)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/workers/observability/queries/${encodeURIComponent(e)}`)}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/workers/observability/queries/${encodeURIComponent(e)}`,{body:{...n}})}},Vy=class extends m{constructor(e){super(e)}async keys(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/observability/telemetry/keys`,{body:{...t}})}async query(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/observability/telemetry/query`,{body:{...t}})}async values(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/observability/telemetry/values`,{body:{...t}})}},Hy=class extends m{destinations;queries;telemetry;constructor(e){super(e),this.destinations=new zy(e),this.queries=new By(e),this.telemetry=new Vy(e)}},Uy=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/placement/regions`)}},Wy=class extends m{regions;constructor(e){super(e),this.regions=new Uy(e)}},Gy=class extends m{constructor(e){super(e)}async delete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/pay-per-crawl/publisher/stripe`)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/pay-per-crawl/publisher/stripe`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/pay-per-crawl/publisher/stripe`)}},Ky=class extends m{stripe;constructor(e){super(e),this.stripe=new Gy(e)}},qy=class extends m{constructor(e){super(e)}async generate(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/containers/registries/${encodeURIComponent(e)}/credentials`,{body:{...n}})}},Jy=class extends m{credentials;constructor(e){super(e),this.credentials=new qy(e)}},Yy=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/workers/routes`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/workers/routes/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/workers/routes`,{body:{...t}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/workers/routes/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/workers/routes/${encodeURIComponent(e)}`)}},Xy=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/assets-upload-session`)}},Zy=class extends m{upload;constructor(e){super(e),this.upload=new Xy(e)}},Qy=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/content/v2`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/content`)}},$y=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/schedules`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/schedules`,{body:n})}},eb=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/settings`)}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/settings`)}},tb=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/script-settings`)}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/script-settings`,{body:{...n}})}},nb=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/subdomain`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/subdomain`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/subdomain`)}},rb=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/tails`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/tails/${encodeURIComponent(n)}`)}},ib=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/usage-model`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/usage-model`,{body:{...n}})}},ab=class extends m{assets;content;schedules;scriptAndVersionSettings;settings;subdomain;tail;usageModel;constructor(e){super(e),this.assets=new Zy(e),this.content=new Qy(e),this.schedules=new $y(e),this.scriptAndVersionSettings=new eb(e),this.settings=new tb(e),this.subdomain=new nb(e),this.tail=new rb(e),this.usageModel=new ib(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts`,{...t?{query:t}:{}})}async search(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts-search`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}},ob=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/secrets`)}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/secrets/${encodeURIComponent(n)}`,{...r?{query:r}:{}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/secrets`,{body:{...n}})}async delete(e,t,n,r){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/secrets/${encodeURIComponent(n)}`,{...r?{query:r}:{}})}},sb=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/services/${encodeURIComponent(t)}/environments/${encodeURIComponent(n)}/content`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/services/${encodeURIComponent(t)}/environments/${encodeURIComponent(n)}/content`)}},cb=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/services/${encodeURIComponent(t)}/environments/${encodeURIComponent(n)}/settings`)}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(e)}/workers/services/${encodeURIComponent(t)}/environments/${encodeURIComponent(n)}/settings`,{body:{...r}})}},lb=class extends m{content;settings;constructor(e){super(e),this.content=new sb(e),this.settings=new cb(e)}},ub=class extends m{environments;constructor(e){super(e),this.environments=new lb(e)}},db=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/subdomain`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/workers/subdomain`,{body:{...t}})}async delete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/workers/subdomain`)}},fb=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/versions`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/versions/${encodeURIComponent(n)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/workers/scripts/${encodeURIComponent(t)}/versions`,{body:{...n}})}},pb=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/pay-per-crawl/zones_can_be_enabled/query`)}},mb=class extends m{query;constructor(e){super(e),this.query=new pb(e)}async edit(e){return this._client.patch(`/accounts/${encodeURIComponent(e)}/pay-per-crawl/zones_can_be_enabled`)}},hb=class extends m{accountSettings;applications;assets;beta;configuration;crawler;deployments;domains;observability;placement;publisher;registries;routes;scripts;secrets;services;subdomains;versions;zonesCanBeEnabled;constructor(e){super(e),this.accountSettings=new Dy(e),this.applications=new Oy(e),this.assets=new Ay(e),this.beta=new Ny(e),this.configuration=new Py(e),this.crawler=new Iy(e),this.deployments=new Ly(e),this.domains=new Ry(e),this.observability=new Hy(e),this.placement=new Wy(e),this.publisher=new Ky(e),this.registries=new Jy(e),this.routes=new Yy(e),this.scripts=new ab(e),this.secrets=new ob(e),this.services=new ub(e),this.subdomains=new db(e),this.versions=new fb(e),this.zonesCanBeEnabled=new mb(e)}},gb=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/builds/builds/${encodeURIComponent(t)}/logs`,{...n?{query:n}:{}})}},_b=class extends m{logs;constructor(e){super(e),this.logs=new gb(e)}async cancel(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/builds/builds/${encodeURIComponent(t)}/cancel`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/builds/builds/${encodeURIComponent(t)}`)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/builds/workers/${encodeURIComponent(t)}/builds`,{...n?{query:n}:{}})}},vb=class extends m{constructor(e){super(e)}async get(e,t,n,r,i){return this._client.get(`/accounts/${encodeURIComponent(e)}/builds/repos/${encodeURIComponent(t)}/${encodeURIComponent(n)}/${encodeURIComponent(r)}/config_autofill`,{...i?{query:i}:{}})}},yb=class extends m{constructor(e){super(e)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/builds/repos/connections/${encodeURIComponent(t)}`)}async upsert(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/builds/repos/connections`,{body:{...t}})}},bb=class extends m{configAutofill;connections;constructor(e){super(e),this.configAutofill=new vb(e),this.connections=new yb(e)}},xb=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/builds/tokens`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/builds/tokens/${encodeURIComponent(t)}`)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/builds/tokens`,{...t?{query:t}:{}})}},Sb=class extends m{constructor(e){super(e)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/builds/triggers/${encodeURIComponent(t)}/environment_variables/${encodeURIComponent(n)}`)}async upsert(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/builds/triggers/${encodeURIComponent(t)}/environment_variables`)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/builds/triggers/${encodeURIComponent(t)}/environment_variables`)}},Cb=class extends m{environmentVariables;constructor(e){super(e),this.environmentVariables=new Sb(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/builds/triggers`,{body:{...t}})}async createBuild(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/builds/triggers/${encodeURIComponent(t)}/builds`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/builds/triggers/${encodeURIComponent(t)}`)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/builds/workers/${encodeURIComponent(t)}/triggers`)}async purgeCache(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/builds/triggers/${encodeURIComponent(t)}/purge_build_cache`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/builds/triggers/${encodeURIComponent(t)}`,{body:{...n}})}},wb=class extends m{builds;repos;tokens;triggers;constructor(e){super(e),this.builds=new _b(e),this.repos=new bb(e),this.tokens=new xb(e),this.triggers=new Cb(e)}async getAccountLimits(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/builds/account/limits`)}async getBuildsByVersion(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/builds/builds`,{...t?{query:t}:{}})}async getLatestBuilds(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/builds/builds/latest`,{...t?{query:t}:{}})}},Tb=class extends m{constructor(e){super(e)}async create(e,t,n,r){return this._client.post(`/accounts/${encodeURIComponent(r)}/workflows/${encodeURIComponent(e)}/instances/${encodeURIComponent(t)}/events/${encodeURIComponent(n)}`)}},Eb=class extends m{constructor(e){super(e)}async edit(e,t,n,r){return this._client.patch(`/accounts/${encodeURIComponent(n)}/workflows/${encodeURIComponent(e)}/instances/${encodeURIComponent(t)}/status`,{body:{...r}})}},Db=class extends m{events;status;constructor(e){super(e),this.events=new Tb(e),this.status=new Eb(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/workflows/${encodeURIComponent(e)}/instances`,{body:{...n}})}async get(e,t,n,r){return this._client.get(`/accounts/${encodeURIComponent(n)}/workflows/${encodeURIComponent(e)}/instances/${encodeURIComponent(t)}`,{...r?{query:r}:{}})}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/workflows/${encodeURIComponent(e)}/instances`,{...n?{query:n}:{}})}async bulk(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/workflows/${encodeURIComponent(e)}/instances/batch`,{body:n})}async batchTerminate(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/workflows/${encodeURIComponent(e)}/instances/batch/terminate`,{body:n})}async statusTerminate(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/workflows/${encodeURIComponent(e)}/instances/terminate`)}},Ob=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/workflows/${encodeURIComponent(e)}/versions/${encodeURIComponent(t)}`)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/workflows/${encodeURIComponent(e)}/versions`,{...n?{query:n}:{}})}async dag(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/workflows/${encodeURIComponent(e)}/versions/${encodeURIComponent(t)}/dag`)}async graph(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/workflows/${encodeURIComponent(e)}/versions/${encodeURIComponent(t)}/graph`)}},kb=class extends m{instances;versions;constructor(e){super(e),this.instances=new Db(e),this.versions=new Ob(e)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/workflows/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/workflows/${encodeURIComponent(e)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/workflows/${encodeURIComponent(e)}`)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/workflows`,{...t?{query:t}:{}})}},Ab=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/zaraz/config`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/settings/zaraz/config`,{body:{...t}})}},jb=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/zaraz/default`)}},Mb=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/zaraz/export`)}},Nb=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/zaraz/history/configs`,{...t?{query:t}:{}})}},Pb=class extends m{configs;constructor(e){super(e),this.configs=new Nb(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/zaraz/history`,{...t?{query:t}:{}})}async update(e){return this._client.put(`/zones/${encodeURIComponent(e)}/settings/zaraz/history`)}},Fb=class extends m{constructor(e){super(e)}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/settings/zaraz/publish`)}},Ib=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/zaraz/workflow`)}},Lb=class extends m{config;default;export;history;publish;workflow;constructor(e){super(e),this.config=new Ab(e),this.default=new jb(e),this.export=new Mb(e),this.history=new Pb(e),this.publish=new Fb(e),this.workflow=new Ib(e)}async update(e){return this._client.put(`/zones/${encodeURIComponent(e)}/settings/zaraz/workflow`)}},Rb=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/ai-controls/mcp/portals`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/ai-controls/mcp/portals`,{body:{...t}})}async read(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/ai-controls/mcp/portals/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/access/ai-controls/mcp/portals/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/access/ai-controls/mcp/portals/${encodeURIComponent(t)}`)}},zb=class extends m{constructor(e){super(e)}async sync(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/access/ai-controls/mcp/servers/${encodeURIComponent(e)}/sync`)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/ai-controls/mcp/servers`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/ai-controls/mcp/servers`,{body:{...t}})}async read(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/ai-controls/mcp/servers/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/access/ai-controls/mcp/servers/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/access/ai-controls/mcp/servers/${encodeURIComponent(t)}`)}},Bb=class extends m{portals;servers;constructor(e){super(e),this.portals=new Rb(e),this.servers=new zb(e)}},Vb=class extends m{mcp;constructor(e){super(e),this.mcp=new Bb(e)}},Hb=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/apps/ca`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/ca`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/ca`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/ca`)}},Ub=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/policies`,{...n?{query:n}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(n)}/access/apps/${encodeURIComponent(e)}/policies/${encodeURIComponent(t)}`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/policies`,{body:{...n}})}async update(e,t,n,r){return this._client.put(`/accounts/${encodeURIComponent(n)}/access/apps/${encodeURIComponent(e)}/policies/${encodeURIComponent(t)}`,{body:{...r}})}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(n)}/access/apps/${encodeURIComponent(e)}/policies/${encodeURIComponent(t)}`)}},Wb=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/policy-tests/${encodeURIComponent(t)}/users`,{...n?{query:n}:{}})}},Gb=class extends m{users;constructor(e){super(e),this.users=new Wb(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/policy-tests/${encodeURIComponent(t)}`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/policy-tests`)}},Kb=class extends m{constructor(e){super(e)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/settings`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/settings`,{body:{...n}})}},qb=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/user_policy_checks`)}},Jb=class extends m{cas;policies;policyTests;settings;userPolicyChecks;constructor(e){super(e),this.cas=new Hb(e),this.policies=new Ub(e),this.policyTests=new Gb(e),this.settings=new Kb(e),this.userPolicyChecks=new qb(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/apps`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/apps`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}`)}async revokeTokens(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/revoke_tokens`)}},Yb=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/bookmarks`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/bookmarks/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/access/bookmarks/${encodeURIComponent(e)}`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(t)}/access/bookmarks/${encodeURIComponent(e)}`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/access/bookmarks/${encodeURIComponent(e)}`)}},Xb=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/certificates/settings`)}async update(e){return this._client.put(`/accounts/${encodeURIComponent(e)}/access/certificates/settings`)}},Zb=class extends m{settings;constructor(e){super(e),this.settings=new Xb(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/certificates`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/certificates/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/certificates`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/access/certificates/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/access/certificates/${encodeURIComponent(e)}`)}},Qb=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/custom_pages`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/custom_pages/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/custom_pages`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/access/custom_pages/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/access/custom_pages/${encodeURIComponent(e)}`)}},$b=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/gateway_ca`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/gateway_ca`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/access/gateway_ca/${encodeURIComponent(e)}`)}},ex=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/groups`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/groups/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/groups`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/access/groups/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/access/groups/${encodeURIComponent(e)}`)}},tx=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/infrastructure/targets`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/infrastructure/targets/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/infrastructure/targets`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/infrastructure/targets/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/infrastructure/targets/${encodeURIComponent(t)}`)}async bulkUpdate(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/infrastructure/targets/batch`,{body:t})}async bulkDelete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/infrastructure/targets/batch`)}async bulkDeleteV2(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/infrastructure/targets/batch_delete`,{body:{...t}})}},nx=class extends m{targets;constructor(e){super(e),this.targets=new tx(e)}},rx=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/keys`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/access/keys`,{body:{...t}})}async rotate(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/keys/rotate`)}},ix=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/logs/access_requests`,{...t?{query:t}:{}})}},ax=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/logs/scim/updates`,{...t?{query:t}:{}})}},ox=class extends m{updates;constructor(e){super(e),this.updates=new ax(e)}},sx=class extends m{accessRequests;scim;constructor(e){super(e),this.accessRequests=new ix(e),this.scim=new ox(e)}},cx=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/policies`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/policies/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/policies`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/access/policies/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/access/policies/${encodeURIComponent(t)}`)}},lx=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/service_tokens`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/service_tokens/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/service_tokens`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/access/service_tokens/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/access/service_tokens/${encodeURIComponent(e)}`)}async refresh(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/access/service_tokens/${encodeURIComponent(e)}/refresh`)}async rotate(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/access/service_tokens/${encodeURIComponent(e)}/rotate`,{body:{...n}})}},ux=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/tags`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/tags/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/tags`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/access/tags/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/access/tags/${encodeURIComponent(t)}`)}},dx=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/users/${encodeURIComponent(e)}/active_sessions`)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/users/${encodeURIComponent(e)}/active_sessions/${encodeURIComponent(n)}`)}},fx=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/users/${encodeURIComponent(e)}/failed_logins`)}},px=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/users/${encodeURIComponent(e)}/last_seen_identity`)}},mx=class extends m{activeSessions;failedLogins;lastSeenIdentity;constructor(e){super(e),this.activeSessions=new dx(e),this.failedLogins=new fx(e),this.lastSeenIdentity=new px(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/users`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/users/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/users`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/access/users/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/access/users/${encodeURIComponent(e)}`)}},hx=class extends m{aiControls;applications;bookmarks;certificates;customPages;gatewayCa;groups;infrastructure;keys;logs;policies;serviceTokens;tags;users;constructor(e){super(e),this.aiControls=new Vb(e),this.applications=new Jb(e),this.bookmarks=new Yb(e),this.certificates=new Zb(e),this.customPages=new Qb(e),this.gatewayCa=new $b(e),this.groups=new ex(e),this.infrastructure=new nx(e),this.keys=new rx(e),this.logs=new sx(e),this.policies=new cx(e),this.serviceTokens=new lx(e),this.tags=new ux(e),this.users=new mx(e)}},gx=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/access/apps/ca`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/ca`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/ca`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/ca`)}},_x=class extends m{constructor(e){super(e)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(n)}/access/apps/${encodeURIComponent(e)}/policies/${encodeURIComponent(t)}/make_reusable`)}},vx=class extends m{reusable;constructor(e){super(e),this.reusable=new _x(e)}},yx=class extends m{make;constructor(e){super(e),this.make=new vx(e)}async list(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/policies`)}async create(e,t,n){return this._client.post(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/policies`,{body:{...n}})}async delete(e,t,n){return this._client.delete(`/zones/${encodeURIComponent(n)}/access/apps/${encodeURIComponent(t)}/policies/${encodeURIComponent(e)}`)}async get(e,t,n){return this._client.get(`/zones/${encodeURIComponent(n)}/access/apps/${encodeURIComponent(t)}/policies/${encodeURIComponent(e)}`)}async update(e,t,n,r){return this._client.put(`/zones/${encodeURIComponent(n)}/access/apps/${encodeURIComponent(t)}/policies/${encodeURIComponent(e)}`,{body:{...r}})}},bx=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/apps/review_status`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/gateway/apps/review_status`,{body:{...t}})}},xx=class extends m{status;constructor(e){super(e),this.status=new bx(e)}},Sx=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/revoke_tokens`)}},Cx=class extends m{tokens;constructor(e){super(e),this.tokens=new Sx(e)}},wx=class extends m{constructor(e){super(e)}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/settings`,{body:{...n}})}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/settings`,{body:{...n}})}},Tx=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}/user_policy_checks`)}},Ex=class extends m{checks;constructor(e){super(e),this.checks=new Tx(e)}},Dx=class extends m{policy;constructor(e){super(e),this.policy=new Ex(e)}},Ox=class extends m{ca;policies;review;revoke;settings;user;constructor(e){super(e),this.ca=new gx(e),this.policies=new yx(e),this.review=new xx(e),this.revoke=new Cx(e),this.settings=new wx(e),this.user=new Dx(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/access/apps`)}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/access/apps`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(t)}/access/apps/${encodeURIComponent(e)}`)}},kx=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/access/certificates/settings`)}async update(e){return this._client.put(`/zones/${encodeURIComponent(e)}/access/certificates/settings`)}},Ax=class extends m{settings;constructor(e){super(e),this.settings=new kx(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/access/certificates`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/access/certificates`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/access/certificates/${encodeURIComponent(e)}`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/access/certificates/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/access/certificates/${encodeURIComponent(e)}`,{body:{...n}})}},jx=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/zerotrust/connectivity_settings`)}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/zerotrust/connectivity_settings`,{body:{...t}})}},Mx=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/client-versions/target-environments`)}},Nx=class extends m{environments;constructor(e){super(e),this.environments=new Mx(e)}},Px=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/client-versions`,{...t?{query:t}:{}})}},Fx=class extends m{target;versions;constructor(e){super(e),this.target=new Nx(e),this.versions=new Px(e)}},Ix=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/deployment-groups`,{...t?{query:t}:{}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/deployment-groups`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/deployment-groups/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/devices/deployment-groups/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/devices/deployment-groups/${encodeURIComponent(t)}`)}},Lx=class extends m{groups;constructor(e){super(e),this.groups=new Ix(e)}},Rx=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/physical-devices`,{...t?{query:t}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/devices/physical-devices/${encodeURIComponent(e)}`,{...n?{query:n}:{}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/devices/physical-devices/${encodeURIComponent(e)}`)}async revoke(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/physical-devices/${encodeURIComponent(t)}/revoke`)}},zx=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/devices/dex_tests`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/devices/dex_tests/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dex/devices/dex_tests`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/dex/devices/dex_tests/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dex/devices/dex_tests/${encodeURIComponent(t)}`)}},Bx=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/devices/${encodeURIComponent(t)}/fleet-status/live`,{...n?{query:n}:{}})}},Vx=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/ip-profiles`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/ip-profiles/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/ip-profiles`,{body:{...t}})}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/devices/ip-profiles/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/devices/ip-profiles/${encodeURIComponent(t)}`)}},Hx=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/networks`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/devices/networks/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/networks`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/devices/networks/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/devices/networks/${encodeURIComponent(e)}`)}},Ux=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/devices/${encodeURIComponent(e)}/override_codes`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/registrations/${encodeURIComponent(t)}/override_codes`)}},Wx=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/devices/policy/${encodeURIComponent(e)}/exclude`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/devices/policy/${encodeURIComponent(e)}/exclude`,{body:n})}},Gx=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/devices/policy/${encodeURIComponent(e)}/fallback_domains`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/devices/policy/${encodeURIComponent(e)}/fallback_domains`,{body:n})}},Kx=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/devices/policy/${encodeURIComponent(e)}/include`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/devices/policy/${encodeURIComponent(e)}/include`,{body:n})}},qx=class extends m{excludes;fallbackDomains;includes;constructor(e){super(e),this.excludes=new Wx(e),this.fallbackDomains=new Gx(e),this.includes=new Kx(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/policies`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/devices/policy/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/policy`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/devices/policy/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/devices/policy/${encodeURIComponent(e)}`)}},Jx=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/devices/policy/certificates`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/devices/policy/certificates`,{body:{...t}})}},Yx=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/policy/exclude`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/devices/policy/exclude`,{body:t})}},Xx=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/policy/fallback_domains`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/devices/policy/fallback_domains`,{body:t})}},Zx=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/policy/include`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/devices/policy/include`,{body:t})}},Qx=class extends m{certificates;excludes;fallbackDomains;includes;constructor(e){super(e),this.certificates=new Jx(e),this.excludes=new Yx(e),this.fallbackDomains=new Xx(e),this.includes=new Zx(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/policy`)}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/devices/policy`,{body:{...t}})}},$x=class extends m{custom;default;constructor(e){super(e),this.custom=new qx(e),this.default=new Qx(e)}},eS=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/posture/integration`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/devices/posture/integration/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/posture/integration`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/devices/posture/integration/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/devices/posture/integration/${encodeURIComponent(e)}`)}},tS=class extends m{integrations;constructor(e){super(e),this.integrations=new eS(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/posture`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/devices/posture/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/posture`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/devices/posture/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/devices/posture/${encodeURIComponent(e)}`)}},nS=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/registrations`,{...t?{query:t}:{}})}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/devices/registrations/${encodeURIComponent(e)}`,{...n?{query:n}:{}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/devices/registrations/${encodeURIComponent(e)}`)}async bulkDelete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/devices/registrations`,{...t?{query:t}:{}})}async revoke(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/registrations/revoke`,{...t?{query:t}:{}})}async unrevoke(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/registrations/unrevoke`,{...t?{query:t}:{}})}},rS=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/resilience/disconnect`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/resilience/disconnect`,{body:{...t}})}},iS=class extends m{globalWarpOverride;constructor(e){super(e),this.globalWarpOverride=new rS(e)}},aS=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/revoke`,{body:t})}},oS=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices/settings`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/devices/settings`,{body:{...t}})}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/devices/settings`,{body:{...t}})}async delete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/devices/settings`)}},sS=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/devices/unrevoke`,{body:t})}},cS=class extends m{client;deployment;devices;dexTests;fleetStatus;ipProfiles;networks;overrideCodes;policies;posture;registrations;resilience;revoke;settings;unrevoke;constructor(e){super(e),this.client=new Fx(e),this.deployment=new Lx(e),this.devices=new Rx(e),this.dexTests=new zx(e),this.fleetStatus=new Bx(e),this.ipProfiles=new Vx(e),this.networks=new Hx(e),this.overrideCodes=new Ux(e),this.policies=new $x(e),this.posture=new tS(e),this.registrations=new nS(e),this.resilience=new iS(e),this.revoke=new aS(e),this.settings=new oS(e),this.unrevoke=new sS(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/devices`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/devices/${encodeURIComponent(e)}`)}},lS=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/colos`,{...t?{query:t}:{}})}},uS=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/commands/devices`,{...t?{query:t}:{}})}},dS=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/commands/${encodeURIComponent(t)}/downloads/${encodeURIComponent(n)}`)}},fS=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/commands/quota`)}},pS=class extends m{devices;downloads;quota;constructor(e){super(e),this.devices=new uS(e),this.downloads=new dS(e),this.quota=new fS(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/commands`,{...t?{query:t}:{}})}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/dex/commands`)}},mS=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/fleet-status/devices`,{...t?{query:t}:{}})}},hS=class extends m{devices;constructor(e){super(e),this.devices=new mS(e)}async live(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/fleet-status/live`,{...t?{query:t}:{}})}async overTime(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/fleet-status/over-time`,{...t?{query:t}:{}})}},gS=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/http-tests/${encodeURIComponent(t)}/percentiles`,{...n?{query:n}:{}})}},_S=class extends m{percentiles;constructor(e){super(e),this.percentiles=new gS(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/http-tests/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}},vS=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/rules/${encodeURIComponent(t)}`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dex/rules/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/dex/rules/${encodeURIComponent(t)}`,{body:{...n}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dex/rules`,{body:{...t}})}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/rules`,{...t?{query:t}:{}})}},yS=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/tests/unique-devices`,{...t?{query:t}:{}})}},bS=class extends m{uniqueDevices;constructor(e){super(e),this.uniqueDevices=new yS(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/tests/overview`,{...t?{query:t}:{}})}},xS=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/traceroute-test-results/${encodeURIComponent(t)}/network-path`)}},SS=class extends m{networkPath;constructor(e){super(e),this.networkPath=new xS(e)}},CS=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/traceroute-tests/${encodeURIComponent(t)}`,{...n?{query:n}:{}})}async percentiles(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/traceroute-tests/${encodeURIComponent(t)}/percentiles`,{...n?{query:n}:{}})}async networkPath(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/traceroute-tests/${encodeURIComponent(t)}/network-path`,{...n?{query:n}:{}})}},wS=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dex/warp-change-events`,{...t?{query:t}:{}})}},TS=class extends m{colos;commands;fleetStatus;httpTests;rules;tests;tracerouteTestResults;tracerouteTests;warpChangeEvents;constructor(e){super(e),this.colos=new lS(e),this.commands=new pS(e),this.fleetStatus=new hS(e),this.httpTests=new _S(e),this.rules=new vS(e),this.tests=new bS(e),this.tracerouteTestResults=new SS(e),this.tracerouteTests=new CS(e),this.warpChangeEvents=new wS(e)}},ES=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/datasets/${encodeURIComponent(t)}/upload`)}async edit(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/datasets/${encodeURIComponent(t)}/upload/${encodeURIComponent(n)}`)}},DS=class extends m{constructor(e){super(e)}async create(e,t,n,r){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/datasets/${encodeURIComponent(t)}/versions/${encodeURIComponent(n)}/entries/${encodeURIComponent(r)}`)}},OS=class extends m{entries;constructor(e){super(e),this.entries=new DS(e)}async create(e,t,n,r){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/datasets/${encodeURIComponent(t)}/versions/${encodeURIComponent(n)}`,{body:r})}},kS=class extends m{upload;versions;constructor(e){super(e),this.upload=new ES(e),this.versions=new OS(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/datasets`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/datasets`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/datasets/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dlp/datasets/${encodeURIComponent(t)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/datasets/${encodeURIComponent(t)}`)}},AS=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/email/account_mapping`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/email/account_mapping`,{body:{...t}})}},jS=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/email/rules`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/email/rules/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/email/rules`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dlp/email/rules/${encodeURIComponent(t)}`)}async bulkEdit(e){return this._client.patch(`/accounts/${encodeURIComponent(e)}/dlp/email/rules`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/email/rules/${encodeURIComponent(t)}`,{body:{...n}})}},MS=class extends m{accountMapping;rules;constructor(e){super(e),this.accountMapping=new AS(e),this.rules=new jS(e)}},NS=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/entries`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/entries/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/entries`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dlp/entries/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/entries/custom/${encodeURIComponent(t)}`,{body:{...n}})}},PS=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/entries`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/entries/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/entries/integration`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/entries/integration/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dlp/entries/integration/${encodeURIComponent(t)}`)}},FS=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/entries`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/entries/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/entries/predefined`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/entries/predefined/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dlp/entries/predefined/${encodeURIComponent(t)}`)}},IS=class extends m{custom;integration;predefined;constructor(e){super(e),this.custom=new NS(e),this.integration=new PS(e),this.predefined=new FS(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/entries`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/entries/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/entries`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/entries/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dlp/entries/${encodeURIComponent(t)}`)}},LS=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/limits`)}},RS=class extends m{constructor(e){super(e)}async validate(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/patterns/validate`,{body:{...t}})}},zS=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/payload_log`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/payload_log`,{body:{...t}})}},BS=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/profiles/custom/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/profiles/custom`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/profiles/custom/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dlp/profiles/custom/${encodeURIComponent(t)}`)}},VS=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/profiles/predefined/${encodeURIComponent(t)}/config`)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/profiles/predefined/${encodeURIComponent(t)}/config`,{body:{...n}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/profiles/predefined/${encodeURIComponent(t)}/config`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dlp/profiles/predefined/${encodeURIComponent(t)}`)}},HS=class extends m{custom;predefined;constructor(e){super(e),this.custom=new BS(e),this.predefined=new VS(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/profiles`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/profiles/${encodeURIComponent(t)}`)}},US=class extends m{datasets;email;entries;limits;patterns;payloadLogs;profiles;constructor(e){super(e),this.datasets=new kS(e),this.email=new MS(e),this.entries=new IS(e),this.limits=new LS(e),this.patterns=new RS(e),this.payloadLogs=new zS(e),this.profiles=new HS(e)}},WS=class extends m{constructor(e){super(e)}async fingerprints(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/document_fingerprints`,{body:{...t}})}},GS=class extends m{document;constructor(e){super(e),this.document=new WS(e)}async v2(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/document_fingerprints/${encodeURIComponent(t)}`,{body:{...n}})}},KS=class extends m{constructor(e){super(e)}async fingerprints(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/document_fingerprints/${encodeURIComponent(t)}`)}},qS=class extends m{constructor(e){super(e)}async all(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/document_fingerprints`)}},JS=class extends m{document;fingerprints;constructor(e){super(e),this.document=new KS(e),this.fingerprints=new qS(e)}},YS=class extends m{create;get;constructor(e){super(e),this.create=new GS(e),this.get=new JS(e)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dlp/document_fingerprints/${encodeURIComponent(t)}`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/document_fingerprints/${encodeURIComponent(t)}`)}},XS=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/app_types`)}},ZS=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/audit_ssh_settings`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/gateway/audit_ssh_settings`,{body:{...t}})}async rotateSeed(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/gateway/audit_ssh_settings/rotate_seed`)}},QS=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/categories`)}},$S=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/certificates`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/gateway/certificates`,{body:{...t}})}async deactivate(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/gateway/certificates/${encodeURIComponent(e)}/deactivate`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/gateway/certificates/${encodeURIComponent(e)}`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/gateway/certificates/${encodeURIComponent(e)}`)}async activate(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/gateway/certificates/${encodeURIComponent(e)}/activate`)}},eC=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/configuration/custom_certificate`)}},tC=class extends m{customCertificate;constructor(e){super(e),this.customCertificate=new eC(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/configuration`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/gateway/configuration`,{body:{...t}})}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/gateway/configuration`,{body:{...t}})}},nC=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/gateway/lists/${encodeURIComponent(e)}/items`)}},rC=class extends m{items;constructor(e){super(e),this.items=new nC(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/lists`,{...t?{query:t}:{}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/gateway/lists/${encodeURIComponent(e)}`,{body:{...n}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/gateway/lists/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/gateway/lists/${encodeURIComponent(e)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/gateway/lists/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/gateway/lists`,{body:{...t}})}},iC=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/gateway/locations`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/gateway/locations/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/gateway/locations/${encodeURIComponent(e)}`)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/locations`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/gateway/locations/${encodeURIComponent(e)}`)}},aC=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/logging`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/gateway/logging`,{body:{...t}})}},oC=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/pacfiles`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/gateway/pacfiles/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/gateway/pacfiles`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/gateway/pacfiles/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/gateway/pacfiles/${encodeURIComponent(e)}`)}},sC=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/proxy_endpoints`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/gateway/proxy_endpoints/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/gateway/proxy_endpoints`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/gateway/proxy_endpoints/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/gateway/proxy_endpoints/${encodeURIComponent(e)}`)}},cC=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/rules`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/gateway/rules/${encodeURIComponent(e)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/gateway/rules`,{body:{...t}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/gateway/rules/${encodeURIComponent(e)}`)}async listTenant(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway/rules/tenant`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(t)}/gateway/rules/${encodeURIComponent(e)}`,{body:{...n}})}async resetExpiration(e,t){return this._client.post(`/accounts/${encodeURIComponent(t)}/gateway/rules/${encodeURIComponent(e)}/reset_expiration`)}},lC=class extends m{appTypes;auditSshSettings;categories;certificates;configurations;lists;locations;logging;pacfiles;proxyEndpoints;rules;constructor(e){super(e),this.appTypes=new XS(e),this.auditSshSettings=new ZS(e),this.categories=new QS(e),this.certificates=new $S(e),this.configurations=new tC(e),this.lists=new rC(e),this.locations=new iC(e),this.logging=new aC(e),this.pacfiles=new oC(e),this.proxyEndpoints=new sC(e),this.rules=new cC(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/gateway`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/gateway`)}},uC=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/access/groups`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/access/groups`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/access/groups/${encodeURIComponent(e)}`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/access/groups/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/access/groups/${encodeURIComponent(e)}`,{body:{...n}})}},dC=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/identity_providers/${encodeURIComponent(e)}/scim/groups`,{...n?{query:n}:{}})}},fC=class extends m{constructor(e){super(e)}async list(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/identity_providers/${encodeURIComponent(e)}/scim/users`,{...n?{query:n}:{}})}},pC=class extends m{groups;users;constructor(e){super(e),this.groups=new dC(e),this.users=new fC(e)}},mC=class extends m{scim;constructor(e){super(e),this.scim=new pC(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/identity_providers`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(t)}/access/identity_providers/${encodeURIComponent(e)}`)}async create(e){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/identity_providers`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(t)}/access/identity_providers/${encodeURIComponent(e)}`)}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/access/identity_providers/${encodeURIComponent(e)}`)}},hC=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/zerotrust/routes/hostname`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/zerotrust/routes/hostname/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/zerotrust/routes/hostname`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/zerotrust/routes/hostname/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/zerotrust/routes/hostname/${encodeURIComponent(t)}`)}},gC=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(t)}/teamnet/routes/ip/${encodeURIComponent(e)}`,{...n?{query:n}:{}})}},_C=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(t)}/teamnet/routes/network/${encodeURIComponent(e)}`,{body:{...n}})}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(t)}/teamnet/routes/network/${encodeURIComponent(e)}`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(t)}/teamnet/routes/network/${encodeURIComponent(e)}`,{...n?{query:n}:{}})}},vC=class extends m{ips;networks;constructor(e){super(e),this.ips=new gC(e),this.networks=new _C(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/teamnet/routes`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/teamnet/routes/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/teamnet/routes`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/teamnet/routes/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/teamnet/routes/${encodeURIComponent(e)}`)}},yC=class extends m{constructor(e){super(e)}async update(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/zerotrust/subnets/cloudflare_source/${encodeURIComponent(t)}`,{body:{...n}})}},bC=class extends m{constructor(e){super(e)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/zerotrust/subnets/warp`,{body:{...t}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/zerotrust/subnets/warp/${encodeURIComponent(t)}`)}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/zerotrust/subnets/warp/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/zerotrust/subnets/warp/${encodeURIComponent(t)}`)}},xC=class extends m{cloudflareSource;warp;constructor(e){super(e),this.cloudflareSource=new yC(e),this.warp=new bC(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/zerotrust/subnets`,{...t?{query:t}:{}})}},SC=class extends m{constructor(e){super(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/teamnet/virtual_networks`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/teamnet/virtual_networks/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/teamnet/virtual_networks`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/teamnet/virtual_networks/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(t)}/teamnet/virtual_networks/${encodeURIComponent(e)}`)}},CC=class extends m{hostnameRoutes;routes;subnets;virtualNetworks;constructor(e){super(e),this.hostnameRoutes=new hC(e),this.routes=new vC(e),this.subnets=new xC(e),this.virtualNetworks=new SC(e)}},wC=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/organizations/doh`)}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/access/organizations/doh`,{body:{...t}})}},TC=class extends m{doh;constructor(e){super(e),this.doh=new wC(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/access/organizations`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/organizations`,{body:{...t}})}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/access/organizations`,{body:{...t}})}async revokeUsers(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/access/organizations/revoke_user`,{body:{...t}})}},EC=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/profiles/custom`)}},DC=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/profiles/predefined/${encodeURIComponent(t)}`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/profiles/predefined/${encodeURIComponent(t)}`,{body:{...n}})}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/dlp/profiles/predefined`,{body:{...t}})}},OC=class extends m{custom;predefined;constructor(e){super(e),this.custom=new EC(e),this.predefined=new DC(e)}},kC=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/zt_risk_scoring/behaviors`)}async update(e){return this._client.put(`/accounts/${encodeURIComponent(e)}/zt_risk_scoring/behaviors`)}},AC=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/zt_risk_scoring/integrations/reference_id/${encodeURIComponent(t)}`)}},jC=class extends m{references;constructor(e){super(e),this.references=new AC(e)}async list(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/zt_risk_scoring/integrations`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/zt_risk_scoring/integrations`,{body:{...t}})}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/zt_risk_scoring/integrations/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/zt_risk_scoring/integrations/${encodeURIComponent(t)}`)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/zt_risk_scoring/integrations/${encodeURIComponent(t)}`)}},MC=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/zt_risk_scoring/summary`)}},NC=class extends m{behaviours;integrations;summary;constructor(e){super(e),this.behaviours=new kC(e),this.integrations=new jC(e),this.summary=new MC(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/zt_risk_scoring/${encodeURIComponent(t)}`)}async reset(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/zt_risk_scoring/${encodeURIComponent(t)}/reset`)}},PC=class extends m{constructor(e){super(e)}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/access/seats`,{body:t})}},FC=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/access/service_tokens`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/access/service_tokens`,{body:{...t}})}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/access/service_tokens/${encodeURIComponent(e)}`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/access/service_tokens/${encodeURIComponent(e)}`)}async update(e,t,n){return this._client.put(`/zones/${encodeURIComponent(t)}/access/service_tokens/${encodeURIComponent(e)}`,{body:{...n}})}},IC=class extends m{constructor(e){super(e)}async delete(e){return this._client.delete(`/accounts/${encodeURIComponent(e)}/dlp/settings`)}async get(e){return this._client.get(`/accounts/${encodeURIComponent(e)}/dlp/settings`)}async edit(e,t){return this._client.patch(`/accounts/${encodeURIComponent(e)}/dlp/settings`,{body:{...t}})}async update(e,t){return this._client.put(`/accounts/${encodeURIComponent(e)}/dlp/settings`,{body:{...t}})}},LC=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cfd_tunnel/${encodeURIComponent(t)}/configurations`)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/cfd_tunnel/${encodeURIComponent(t)}/configurations`,{body:{...n}})}},RC=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cfd_tunnel/${encodeURIComponent(t)}/connections`)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cfd_tunnel/${encodeURIComponent(t)}/connections`,{...n?{query:n}:{}})}},zC=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/cfd_tunnel/${encodeURIComponent(t)}/connectors/${encodeURIComponent(n)}`)}},BC=class extends m{constructor(e){super(e)}async create(e,t,n){return this._client.post(`/accounts/${encodeURIComponent(e)}/cfd_tunnel/${encodeURIComponent(t)}/management`,{body:{...n}})}},VC=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cfd_tunnel/${encodeURIComponent(t)}/token`)}},HC=class extends m{configurations;connections;connectors;management;token;constructor(e){super(e),this.configurations=new LC(e),this.connections=new RC(e),this.connectors=new zC(e),this.management=new BC(e),this.token=new VC(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cfd_tunnel`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/cfd_tunnel/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/cfd_tunnel`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(t)}/cfd_tunnel/${encodeURIComponent(e)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/cfd_tunnel/${encodeURIComponent(t)}`)}},UC=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/warp_connector/${encodeURIComponent(t)}/connections`)}},WC=class extends m{constructor(e){super(e)}async get(e,t,n){return this._client.get(`/accounts/${encodeURIComponent(e)}/warp_connector/${encodeURIComponent(t)}/connectors/${encodeURIComponent(n)}`)}},GC=class extends m{constructor(e){super(e)}async update(e,t,n){return this._client.put(`/accounts/${encodeURIComponent(e)}/warp_connector/${encodeURIComponent(t)}/failover`,{body:{...n}})}},KC=class extends m{constructor(e){super(e)}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/warp_connector/${encodeURIComponent(t)}/token`)}},qC=class extends m{connections;connectors;failover;token;constructor(e){super(e),this.connections=new UC(e),this.connectors=new WC(e),this.failover=new GC(e),this.token=new KC(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/warp_connector`,{...t?{query:t}:{}})}async get(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/warp_connector/${encodeURIComponent(t)}`)}async create(e,t){return this._client.post(`/accounts/${encodeURIComponent(e)}/warp_connector`,{body:{...t}})}async edit(e,t,n){return this._client.patch(`/accounts/${encodeURIComponent(e)}/warp_connector/${encodeURIComponent(t)}`,{body:{...n}})}async delete(e,t){return this._client.delete(`/accounts/${encodeURIComponent(e)}/warp_connector/${encodeURIComponent(t)}`)}},JC=class extends m{cloudflared;warpConnector;constructor(e){super(e),this.cloudflared=new HC(e),this.warpConnector=new qC(e)}async list(e,t){return this._client.get(`/accounts/${encodeURIComponent(e)}/tunnels`,{...t?{query:t}:{}})}},YC=class extends m{constructor(e){super(e)}async delete(e,t,n){return this._client.delete(`/accounts/${encodeURIComponent(t)}/access/users/${encodeURIComponent(e)}/mfa_authenticators/${encodeURIComponent(n)}`)}},XC=class extends m{authenticators;constructor(e){super(e),this.authenticators=new YC(e)}},ZC=class extends m{mfa;constructor(e){super(e),this.mfa=new XC(e)}},QC=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/access/identity_providers`)}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/access/identity_providers`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(t)}/access/identity_providers/${encodeURIComponent(e)}`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/access/identity_providers/${encodeURIComponent(e)}`)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(t)}/access/identity_providers/${encodeURIComponent(e)}`)}},$C=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/access/organizations`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/access/organizations`,{body:{...t}})}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/access/organizations`,{body:{...t}})}async revokeUserCreate(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/access/organizations/revoke_user`,{body:{...t}})}},ew=class extends m{access;apps;certificates;connectivitySettings;devices;dex;dlp;documentFingerprints;gateway;groups;identityProviders;networks;organizations;profiles;riskScoring;seats;serviceTokens;settings;tunnels;users;zoneIdentityProviders;zoneOrganizations;constructor(e){super(e),this.access=new hx(e),this.apps=new Ox(e),this.certificates=new Ax(e),this.connectivitySettings=new jx(e),this.devices=new cS(e),this.dex=new TS(e),this.dlp=new US(e),this.documentFingerprints=new YS(e),this.gateway=new lC(e),this.groups=new uC(e),this.identityProviders=new mC(e),this.networks=new CC(e),this.organizations=new TC(e),this.profiles=new OC(e),this.riskScoring=new NC(e),this.seats=new PC(e),this.serviceTokens=new FC(e),this.settings=new IC(e),this.tunnels=new JC(e),this.users=new ZC(e),this.zoneIdentityProviders=new QC(e),this.zoneOrganizations=new $C(e)}},tw=class extends m{constructor(e){super(e)}async trigger(e){return this._client.put(`/zones/${encodeURIComponent(e)}/activation_check`)}},nw=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/aegis`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/settings/aegis`,{body:{...t}})}},rw=class extends m{constructor(e){super(e)}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/custom_ns`,{body:{...t}})}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/custom_ns`)}},iw=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/environments`)}async edit(e){return this._client.patch(`/zones/${encodeURIComponent(e)}/environments`)}async create(e){return this._client.post(`/zones/${encodeURIComponent(e)}/environments`)}async update(e){return this._client.put(`/zones/${encodeURIComponent(e)}/environments`)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/environments/${encodeURIComponent(t)}`)}async rollback(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/environments/${encodeURIComponent(t)}/rollback`)}},aw=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/fonts`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/settings/fonts`,{body:{...t}})}},ow=class extends m{constructor(e){super(e)}async delete(e,t){return this._client.delete(`/zones/${encodeURIComponent(e)}/hold`,{...t?{query:t}:{}})}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/hold`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/hold`,{body:{...t}})}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/hold`,{...t?{query:t}:{}})}},sw=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/origin_h2_max_streams`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/settings/origin_h2_max_streams`,{body:{...t}})}},cw=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/origin_max_http_version`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/settings/origin_max_http_version`,{body:{...t}})}},lw=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/available_plans`)}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(t)}/available_plans/${encodeURIComponent(e)}`)}},uw=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/available_rate_plans`)}},dw=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/rum`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/settings/rum`,{body:{...t}})}},fw=class extends m{constructor(e){super(e)}async list(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings`)}async bulkEdit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/settings`,{body:t})}async get(e,t){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/${encodeURIComponent(t)}`)}async edit(e,t,n){return this._client.patch(`/zones/${encodeURIComponent(e)}/settings/${encodeURIComponent(t)}`,{body:{...n}})}},pw=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/settings/speed_brain`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}/settings/speed_brain`,{body:{...t}})}},mw=class extends m{constructor(e){super(e)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}/subscription`)}async create(e,t){return this._client.post(`/zones/${encodeURIComponent(e)}/subscription`,{body:{...t}})}async update(e,t){return this._client.put(`/zones/${encodeURIComponent(e)}/subscription`,{body:{...t}})}},hw=class extends m{activationCheck;aegis;customNameservers;environments;fonts;holds;originH2MaxStreams;originMaxHTTPVersion;plans;ratePlans;rum;settings;speedBrain;subscriptions;constructor(e){super(e),this.activationCheck=new tw(e),this.aegis=new nw(e),this.customNameservers=new rw(e),this.environments=new iw(e),this.fonts=new aw(e),this.holds=new ow(e),this.originH2MaxStreams=new sw(e),this.originMaxHTTPVersion=new cw(e),this.plans=new lw(e),this.ratePlans=new uw(e),this.rum=new dw(e),this.settings=new fw(e),this.speedBrain=new pw(e),this.subscriptions=new mw(e)}async list(e){return this._client.get(`/zones`,{...e?{query:e}:{}})}async create(e){return this._client.post(`/zones`,{body:{...e}})}async delete(e){return this._client.delete(`/zones/${encodeURIComponent(e)}`)}async get(e){return this._client.get(`/zones/${encodeURIComponent(e)}`)}async edit(e,t){return this._client.patch(`/zones/${encodeURIComponent(e)}`,{body:{...t}})}},gw=class extends ie{abuseReports;accounts;acm;addressing;ai;aiGateway;aiSearch;alerting;analytics;apiGateway;argo;auditLogs;autorag;billing;botManagement;botnetFeed;brandProtection;browserRendering;builds;cache;calls;certificateAuthorities;clientCertificates;cloudConnector;cloudforceOne;connectivity;contentScanning;customCertificates;customHostnames;customNameservers;customPages;d1;dcvDelegation;diagnostics;dispatchNamespaces;dns;dnsFirewall;durableObjects;emailRouting;emailSecurity;emailSending;filters;firewall;fraud;googleTagGateway;healthchecks;hostnames;hyperdrive;iam;images;intel;ips;keylessCertificates;kv;leakedCredentialChecks;loadBalancers;logpush;logs;magicCloudNetworking;magicNetworkMonitoring;magicTransit;managedTransforms;mtlsCertificates;networkInterconnects;organizations;originCaCertificates;originPostQuantumEncryption;originTLSClientAuth;pageRules;pageShield;pages;pipelines;queues;r2;r2DataCatalog;radar;rateLimits;realtimeKit;registrar;requestTracers;resourceSharing;resourceTagging;rules;rulesets;rum;schemaValidation;scim;scm;secretsStore;securityCenter;securityTxt;smartShield;snippets;spectrum;speed;ssl;stream;tenants;tokenValidation;turnstile;urlNormalization;urlScanner;user;vectorize;vulnScanner;waitingRooms;web3;workers;workersBuilds;workflows;zaraz;zeroTrust;zones;constructor(e){super({apiVersion:`2026-06-10`,...e}),this.abuseReports=new _(this),this.accounts=new P(this),this.acm=new L(this),this.addressing=new ce(this),this.ai=new nr(this),this.aiGateway=new ur(this),this.aiSearch=new Er(this),this.alerting=new Fr(this),this.analytics=new Br(this),this.apiGateway=new ci(this),this.argo=new di(this),this.auditLogs=new fi(this),this.autorag=new mi(this),this.billing=new _i(this),this.botManagement=new yi(this),this.botnetFeed=new Ci(this),this.brandProtection=new ki(this),this.browserRendering=new Gi(this),this.builds=new Ki(this),this.cache=new Zi(this),this.calls=new ea(this),this.certificateAuthorities=new na(this),this.clientCertificates=new ra(this),this.cloudConnector=new aa(this),this.cloudforceOne=new Ao(this),this.connectivity=new No(this),this.contentScanning=new Io(this),this.customCertificates=new Ro(this),this.customHostnames=new Ho(this),this.customNameservers=new Uo(this),this.customPages=new rs(this),this.d1=new as(this),this.dcvDelegation=new os(this),this.diagnostics=new ls(this),this.dispatchNamespaces=new _s(this),this.dns=new zs(this),this.dnsFirewall=new Ws(this),this.durableObjects=new qs(this),this.emailRouting=new ic(this),this.emailSecurity=new Lc(this),this.emailSending=new Vc(this),this.filters=new Hc(this),this.firewall=new $c(this),this.fraud=new el(this),this.googleTagGateway=new nl(this),this.healthchecks=new il(this),this.hostnames=new cl(this),this.hyperdrive=new ll(this),this.iam=new hl(this),this.images=new wl(this),this.intel=new Ul(this),this.ips=new Wl(this),this.keylessCertificates=new Gl(this),this.kv=new Zl(this),this.leakedCredentialChecks=new $l(this),this.loadBalancers=new du(this),this.logpush=new Iu(this),this.logs=new Wu(this),this.magicCloudNetworking=new Zu(this),this.magicNetworkMonitoring=new id(this),this.magicTransit=new ff(this),this.managedTransforms=new pf(this),this.mtlsCertificates=new hf(this),this.networkInterconnects=new bf(this),this.organizations=new kf(this),this.originCaCertificates=new Af(this),this.originPostQuantumEncryption=new jf(this),this.originTLSClientAuth=new Lf(this),this.pageRules=new zf(this),this.pageShield=new Wf(this),this.pages=new Xf(this),this.pipelines=new $f(this),this.queues=new ip(this),this.r2=new xp(this),this.r2DataCatalog=new Ep(this),this.radar=new Nh(this),this.rateLimits=new Ph(this),this.realtimeKit=new $h(this),this.registrar=new ng(this),this.requestTracers=new ig(this),this.resourceSharing=new sg(this),this.resourceTagging=new fg(this),this.rules=new gg(this),this.rulesets=new Og(this),this.rum=new jg(this),this.schemaValidation=new Lg(this),this.scim=new Ug(this),this.scm=new Wg(this),this.secretsStore=new r_(this),this.securityCenter=new m_(this),this.securityTxt=new h_(this),this.smartShield=new v_(this),this.snippets=new x_(this),this.spectrum=new k_(this),this.speed=new P_(this),this.ssl=new U_(this),this.stream=new lv(this),this.tenants=new mv(this),this.tokenValidation=new yv(this),this.turnstile=new xv(this),this.urlNormalization=new Sv(this),this.urlScanner=new jv(this),this.user=new ny(this),this.vectorize=new fy(this),this.vulnScanner=new py(this),this.waitingRooms=new xy(this),this.web3=new Ey(this),this.workers=new hb(this),this.workersBuilds=new wb(this),this.workflows=new kb(this),this.zaraz=new Lb(this),this.zeroTrust=new ew(this),this.zones=new hw(this)}};const _w=process.env.CLI_VERSION??`0.1.0`;function Z(r){let i=e(),a=process.env.CF_DELEGATION?` ${i.dim(`·`)} ${i.dim(`delegated`)}`:``,o=`🍊☁️ ${i.bold.hex(t.orange)(`cf`)} ${i.dim(`·`)} ${i.dim(`v${r}`)}${a}`,s=n(o).length,c=`─`.repeat(s);return`${o}\n${i.hex(t.orange)(c)}`}let Q=!1,$=!1;function vw(e,t={}){if(!(Q||$)){if(t.quiet||!process.stderr.isTTY){$=!0;return}process.stderr.write(`${Z(e)}\n`),Q=!0}}export{f as a,gw as i,Z as n,u as o,_w as r,a as s,vw as t};
|