/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
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,p){const f=o(i),m=n.toJSON();n.objects&&(m.objects=JSON.stringify(n.objects));const u={...m,f:"json"},a=s({...f.query,...u}),c=r(a,{...p,method:"post",authMode:"no-prompt"}),j=`${f.path}/unitIdentifiers/reset`,{data:d}=await t(j,c);return e.fromJSON(d)}export{i as reset};
