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