Liferay.Loader.define("commerce-frontend-js@4.0.75/ServiceProvider/commerce-delivery-cart/v1.0/CartItem",["module","exports","require","../../../utilities/AJAX/index"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function CartItem(e){return{createItemByCartId:(t,r)=>a.default.POST(resolveItemsPath(e,t),r),deleteItemById:t=>a.default.DELETE(resolveCartItemsPath(e,t)),getItemById:t=>a.default.GET(resolveCartItemsPath(e,t)),getItemsByCartId:t=>a.default.GET(resolveItemsPath(e,t)),replaceItemById:(t,r)=>a.default.PUT(resolveCartItemsPath(e,t),r),updateItemById:(t,r)=>a.default.PATCH(resolveCartItemsPath(e,t),r)}};var a=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r("../../../utilities/AJAX/index"));const e="/carts",c="/cart-items",o="/items",n="v1.0";function resolveItemsPath(t="",r){return"".concat(t).concat(n).concat(e,"/").concat(r).concat(o)}function resolveCartItemsPath(e="",t){return"".concat(e).concat(n).concat(c,"/").concat(t)}}}));
//# sourceMappingURL=CartItem.js.map