/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import t from"../../../request.js";import{parseUrl as r,encode as i,asValidOptions as o}from"../../utils.js";import s from"./support/EditCircuitsResult.js";async function c(c,u,e){const p=r(c),m=u.toJSON();u.circuits&&(m.circuits=JSON.stringify(u.circuits));const n={...m,f:"json"},a=i({...p.query,...n}),f=o(a,{...e,method:"post",authMode:"no-prompt"}),d=`${p.path}/circuits/delete`,{data:j}=await t(d,f);return s.fromJSON(j)}export{c as deleteCircuits};
