1import{g as A,k as H,l as m}from"./chunk-YJN4A7P5.js";import{q as b,r as g,v as y}from"./chunk-6O5MEZ7U.js";import{aa as v,ea as f,fa as P}from"./chunk-QTZFXAJH.js";var T=class h{constructor(t,n,d){this.http=t;n&&(this.basePath=n),d&&(this.configuration=d)}apiEndpointService=P(A);defaultHeaders=new b;configuration=new m;basePath=this.apiEndpointService.getEcommerceApiEndpoint();searchUsingPOST(t,n="body",d=!1){if(t==null)throw new Error("Required parameter query was null or undefined when calling searchUsingPOST.");let l=this.basePath+"/product-favorite/search",c=new g,e=new b(this.defaultHeaders.keys().reduce((o,i)=>{let a=this.defaultHeaders.getAll(i);return a&&(o[i]=a.join(",")),o},{})),p=["application/json"],s=this.configuration.selectHeaderAccept(p);s!=null&&(e=e.set("Accept",s));let u=["application/json"],r=this.configuration.selectHeaderContentType(u);return r!=null&&(e=e.set("Content-Type",r)),this.http.post(l,t,{params:c,withCredentials:this.configuration.withCredentials,headers:e,observe:n,reportProgress:d})}countUsingPOST(t,n="body",d=!1){if(t==null)throw new Error("Required parameter query was null or undefined when calling countUsingPOST.");let l=this.basePath+"/product-favorite/count",c=new g,e=new b(this.defaultHeaders.keys().reduce((o,i)=>{let a=this.defaultHeaders.getAll(i);return a&&(o[i]=a.join(",")),o},{})),p=["application/json"],s=this.configuration.selectHeaderAccept(p);s!=null&&(e=e.set("Accept",s));let u=["application/json"],r=this.configuration.selectHeaderContentType(u);return r!=null&&(e=e.set("Content-Type",r)),this.http.post(l,t,{params:c,withCredentials:this.configuration.withCredentials,headers:e,observe:n,reportProgress:d})}syncAuctionTimesUsingPOST(t,n="body",d=!1){if(t==null)throw new Error("Required parameter items was null or undefined when calling syncAuctionTimesUsingPOST.");let l=this.basePath+"/product-favorite/sync-auction-times",c=new g,e=new b(this.defaultHeaders.keys().reduce((o,i)=>{let a=this.defaultHeaders.getAll(i);return a&&(o[i]=a.join(",")),o},{})),p=["application/json"],s=this.configuration.selectHeaderAccept(p);s!=null&&(e=e.set("Accept",s));let u=["application/json"],r=this.configuration.selectHeaderContentType(u);return r!=null&&(e=e.set("Content-Type",r)),this.http.post(l,t,{params:c,withCredentials:this.configuration.withCredentials,headers:e,observe:n,reportProgress:d})}removeUsingDELETE(t,n="body",d=!1){if(t==null)throw new Error("Required parameter productIds was null or undefined when calling removeUsingDELETE.");let l=this.basePath+"/product-favorite/remove",c=new g,e=new b(this.defaultHeaders.keys().reduce((o,i)=>{let a=this.defaultHeaders.getAll(i);return a&&(o[i]=a.join(",")),o},{})),p=["application/json"],s=this.configuration.selectHeaderAccept(p);s!=null&&(e=e.set("Accept",s));let u=["application/json"],r=this.configuration.selectHeaderContentType(u);return r!=null&&(e=e.set("Content-Type",r)),this.http.delete(l,{params:c,withCredentials:this.configuration.withCredentials,headers:e,body:t,observe:n,reportProgress:d})}removeByIdUsingDELETE(t,n="body",d=!1){if(t==null)throw new Error("Required parameter ids was null or undefined when calling removeByIdUsingDELETE.");let l=this.basePath+"/product-favorite/remove-by-id",c=new g,e=new b(this.defaultHeaders.keys().reduce((o,i)=>{let a=this.defaultHeaders.getAll(i);return a&&(o[i]=a.join(",")),o},{})),p=["application/json"],s=this.configuration.selectHeaderAccept(p);s!=null&&(e=e.set("Accept",s));let u=["application/json"],r=this.configuration.selectHeaderContentType(u);return r!=null&&(e=e.set("Content-Type",r)),this.http.delete(l,{params:c,withCredentials:this.configuration.withCredentials,headers:e,body:{ids:t},observe:n,reportProgress:d})}static \u0275fac=function(n){return new(n||h)(f(y),f(H,8),f(m,8))};static \u0275prov=v({token:h,factory:h.\u0275fac,providedIn:"root"})};export{T as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.