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