/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import t from"../../../request.js";import{parseUrl as o,encode as r,asValidOptions as e}from"../../utils.js";import s from"./support/EditUnitIdentifiersResult.js";async function i(i,n,p){const m=o(i),u={...n.toJSON(),f:"json"},f=r({...m.query,...u}),a=e(f,{...p,method:"post",authMode:"no-prompt"}),d=`${m.path}/unitIdentifiers/reserve`,{data:j}=await t(d,a);return s.fromJSON(j)}export{i as reserve};
