/*
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 o,asValidOptions as s}from"../../utils.js";import i from"./support/EditCircuitsResult.js";async function u(u,e,m){const p=r(u),a={...e.toJSON(),f:"json"},c=o({...p.query,...a}),f=s(c,{...m,method:"post"}),n=`${p.path}/circuits/alter`,{data:j}=await t(n,f);return i.fromJSON(j)}export{u as alterCircuit};
