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