PageSourceSearch

https://www.politeianet.gr/assets/wishlist-api.jqAYIh8d.js

js politeianet.gr collected 2026-09-24 09:28:09 UTC 1,832 bytes, 1 lines download raw bytes

1import{a as I}from"./axios.MS0w9iSV.js";import{B as b,o as V,c as P,a as u,e as p,D as A,s as O,t as x,b as q,d as v}from"./common--ubEBI-f.ivqnILd6.js";const B=function(e){return{queryItems:async(o,s,a,l,n={})=>{p("queryItems","id",o);const t="/api/v2/Wishlist/{id}/items".replace("{id}",encodeURIComponent(String(o))),i=new URL(t,A);let r;e&&(r=e.baseOptions);const d={method:"GET",...r,...n},h={},c={};s!==void 0&&(c.sorting=s),a!==void 0&&(c.pageSize=a),l!==void 0&&(c.page=l),O(i,c);let m=r&&r.headers?r.headers:{};return d.headers={...h,...m,...n.headers},{url:x(i),options:d}},reorderItems:async(o,s,a={})=>{p("reorderItems","WishlistReorderItemRequest",o),p("reorderItems","id",s);const l="/api/v2/Wishlist/{id}/items/reorder".replace("{id}",encodeURIComponent(String(s))),n=new URL(l,A);let t;e&&(t=e.baseOptions);const i={method:"POST",...t,...a},r={},d={};await q(r,e),r["Content-Type"]="application/json",O(n,d);let h=t&&t.headers?t.headers:{};return i.headers={...r,...h,...a.headers},i.data=v(o,i,e),{url:x(n),options:i}}}},y=function(e){const o=B(e);return{async queryItems(s,a,l,n,t){var h,c;const i=await o.queryItems(s,a,l,n,t),r=(e==null?void 0:e.serverIndex)??0,d=(c=(h=V["WishlistApiV2.queryItems"])==null?void 0:h[r])==null?void 0:c.url;return(m,S)=>P(i,I,u,e)(m,d||S)},async reorderItems(s,a,l){var r,d;const n=await o.reorderItems(s,a,l),t=(e==null?void 0:e.serverIndex)??0,i=(d=(r=V["WishlistApiV2.reorderItems"])==null?void 0:r[t])==null?void 0:d.url;return(h,c)=>P(n,I,u,e)(h,i||c)}}};class W extends b{queryItems(o,s,a,l,n){return y(this.configuration).queryItems(o,s,a,l,n).then(t=>t(this.axios,this.basePath))}reorderItems(o,s,a){return y(this.configuration).reorderItems(o,s,a).then(l=>l(this.axios,this.basePath))}}export{W as WishlistApiV2,B as WishlistApiV2AxiosParamCreator,y as WishlistApiV2Fp};

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.