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