var{defineProperty:r,getOwnPropertyNames:S,getOwnPropertyDescriptor:y}=Object,P=Object.prototype.hasOwnProperty;function z(t){return this[t]}var v=(t)=>{var a=(p??=new WeakMap).get(t),c;if(a)return a;if(a=r({},"__esModule",{value:!0}),t&&typeof t==="object"||typeof t==="function"){for(var n of S(t))if(!P.call(a,n))r(a,n,{get:z.bind(t,n),enumerable:!(c=y(t,n))||c.enumerable})}return p.set(t,a),a},p;var s=(t)=>t;function i(t,a){this[t]=s.bind(null,a)}var f=(t,a)=>{for(var c in a)r(t,c,{get:a[c],enumerable:!0,configurable:!0,set:i.bind(a,c)})};var x=(t,a)=>()=>(t&&(a=t(t=0)),a);import{ZodSchemaType as o}from"@contractspec/lib.schema";import*as e from"zod";var h=e.object({path:e.string().min(1),value:e.unknown()}),j=new o(h,{name:"ContractPatchAdd"}),m=e.object({path:e.string().min(1),value:e.unknown()}),u=new o(m,{name:"ContractPatchUpdate"}),C=e.object({path:e.string().min(1)}),A=new o(C,{name:"ContractPatchRemove"}),d=e.object({adds:e.array(h).optional(),updates:e.array(m).optional(),removes:e.array(C).optional()}),M=new o(d,{name:"ContractSpecOverlay"}),l=e.object({overlay:d}),O=new o(l,{name:"ContractSpecPatch"});export{O as ContractSpecPatchModel,M as ContractSpecOverlayModel,u as ContractPatchUpdateModel,A as ContractPatchRemoveModel,j as ContractPatchAddModel};
