@teamnovu/kit-shopware-composables 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,15 +1,15 @@
1
1
  import { inject as Y, unref as i, computed as c, reactive as Z, watch as H, toRef as W } from "vue";
2
2
  import { until as J } from "@vueuse/core";
3
- import { queryOptions as Q, useQuery as M, useQueryClient as S, useMutation as f } from "@tanstack/vue-query";
3
+ import { queryOptions as Q, useQuery as M, useQueryClient as S, useMutation as v } from "@tanstack/vue-query";
4
4
  import "@teamnovu/kit-shopware-api-client";
5
5
  const _ = Symbol("shopwareClient");
6
- function m() {
6
+ function g() {
7
7
  const e = Y(_);
8
8
  if (!e)
9
9
  throw new Error("Shopware client not provided!");
10
10
  return e;
11
11
  }
12
- const R = {
12
+ const F = {
13
13
  all: () => ["context"]
14
14
  }, ee = {
15
15
  all: () => ["language"]
@@ -43,28 +43,34 @@ const R = {
43
43
  body: t
44
44
  }
45
45
  ]
46
- }, L = {
46
+ }, w = {
47
47
  all: () => ["product"],
48
- lists: () => [...L.all(), "list"],
48
+ lists: () => [...w.all(), "list"],
49
49
  list: (e, s) => [
50
- ...L.all(),
50
+ ...w.all(),
51
51
  "list",
52
52
  {
53
53
  url: e,
54
54
  body: s
55
55
  }
56
56
  ],
57
- details: () => [...L.all(), "detail"],
58
- detail: (e, s) => [
59
- ...L.all(),
60
- "detail",
57
+ details: () => [...w.all(), "detail"],
58
+ customDetail: (e, s) => [
59
+ ...w.details(),
60
+ "custom",
61
61
  {
62
62
  url: e,
63
63
  body: s
64
64
  }
65
65
  ],
66
+ detail: (e) => [
67
+ ...w.details(),
68
+ {
69
+ body: e
70
+ }
71
+ ],
66
72
  search: (e) => [
67
- ...L.all(),
73
+ ...w.all(),
68
74
  "search",
69
75
  {
70
76
  body: e
@@ -72,36 +78,36 @@ const R = {
72
78
  ]
73
79
  }, x = {
74
80
  get: () => ["cart"]
75
- }, F = {
81
+ }, I = {
76
82
  all: () => ["customer"],
77
83
  detail: (e) => ["customer", { body: e }]
78
- }, w = {
84
+ }, R = {
79
85
  all: () => ["address"],
80
- lists: () => [...w.all(), "list"],
86
+ lists: () => [...R.all(), "list"],
81
87
  list: (e) => [
82
- ...w.all(),
88
+ ...R.all(),
83
89
  "list",
84
90
  {
85
91
  body: e
86
92
  }
87
93
  ],
88
- details: () => [...w.all(), "detail"],
89
- detail: (e, s) => [...w.details(), e, ...s ? [{ body: s }] : []]
90
- }, N = {
94
+ details: () => [...R.all(), "detail"],
95
+ detail: (e, s) => [...R.details(), e, ...s ? [{ body: s }] : []]
96
+ }, D = {
91
97
  all: () => ["shippingMethod"],
92
- lists: () => [...N.all(), "list"],
98
+ lists: () => [...D.all(), "list"],
93
99
  list: (e) => [
94
- ...N.all(),
100
+ ...D.all(),
95
101
  "list",
96
102
  {
97
103
  body: e
98
104
  }
99
105
  ]
100
- }, D = {
106
+ }, N = {
101
107
  all: () => ["paymentMethod"],
102
- lists: () => [...D.all(), "list"],
108
+ lists: () => [...N.all(), "list"],
103
109
  list: (e) => [
104
- ...D.all(),
110
+ ...N.all(),
105
111
  "list",
106
112
  {
107
113
  body: e
@@ -118,38 +124,38 @@ const R = {
118
124
  body: e
119
125
  }
120
126
  ]
121
- }, E = {
127
+ }, T = {
122
128
  all: () => ["seoUrl"],
123
- lists: () => [...E.all(), "list"],
129
+ lists: () => [...T.all(), "list"],
124
130
  list: (e) => [
125
- ...E.all(),
131
+ ...T.all(),
126
132
  "list",
127
133
  {
128
134
  body: e
129
135
  }
130
136
  ]
131
- }, j = {
137
+ }, E = {
132
138
  all: () => ["salutation"],
133
- lists: () => [...j.all(), "list"],
139
+ lists: () => [...E.all(), "list"],
134
140
  list: (e) => [
135
- ...j.all(),
141
+ ...E.all(),
136
142
  "list",
137
143
  {
138
144
  body: e
139
145
  }
140
146
  ]
141
- }, T = {
147
+ }, j = {
142
148
  all: () => ["country"],
143
- lists: () => [...T.all(), "list"],
149
+ lists: () => [...j.all(), "list"],
144
150
  list: (e) => [
145
- ...T.all(),
151
+ ...j.all(),
146
152
  "list",
147
153
  {
148
154
  body: e
149
155
  }
150
156
  ]
151
157
  };
152
- function g(e) {
158
+ function p(e) {
153
159
  const s = i(e);
154
160
  return Object.fromEntries(
155
161
  Object.entries(s ?? {}).map(
@@ -159,14 +165,14 @@ function g(e) {
159
165
  }
160
166
  const te = "listAddress post /account/list-address";
161
167
  function ne(e) {
162
- const s = m(), t = w.list(c(() => {
168
+ const s = g(), t = R.list(c(() => {
163
169
  var n;
164
- return (n = g(e)) == null ? void 0 : n.body;
170
+ return (n = p(e)) == null ? void 0 : n.body;
165
171
  }));
166
172
  return Q({
167
173
  queryKey: t,
168
174
  queryFn: ({ signal: n }) => s.query(te, {
169
- ...g(e),
175
+ ...p(e),
170
176
  signal: n
171
177
  })
172
178
  });
@@ -177,74 +183,67 @@ function se(e) {
177
183
  const V = (e) => {
178
184
  const s = e.replace(/\/?$/, "");
179
185
  return s.startsWith("/") ? s.slice(1) : s;
180
- }, pt = (e) => `/${V(e)}`;
181
- function gt(e, s, t) {
186
+ }, gt = (e) => `/${V(e)}`;
187
+ function mt(e, s, t) {
182
188
  const n = S();
183
189
  return {
184
- onMutate: async (a) => {
190
+ onMutate: async (r) => {
185
191
  await n.cancelQueries({ queryKey: e });
186
- const r = n.getQueryData(e);
187
- if (n.setQueryData(e, (u) => s(a, u)), t) {
192
+ const a = n.getQueryData(e);
193
+ if (n.setQueryData(e, (u) => s(r, u)), t) {
188
194
  const u = i(t), o = i(u.onMutate);
189
- o == null || o(a);
195
+ o == null || o(r);
190
196
  }
191
- return { previousValue: r };
197
+ return { previousValue: a };
192
198
  },
193
- onError: (a, r, u) => {
199
+ onError: (r, a, u) => {
194
200
  if (u && n.setQueryData(e, u.previousValue), t) {
195
- const o = i(t), h = i(o.onError);
196
- h == null || h(a, r, u);
201
+ const o = i(t), f = i(o.onError);
202
+ f == null || f(r, a, u);
197
203
  }
198
204
  },
199
- onSettled: (...a) => {
205
+ onSettled: (...r) => {
200
206
  if (n.invalidateQueries({ queryKey: e }), t) {
201
- const r = i(t), u = i(r.onSettled);
202
- u == null || u(...a);
207
+ const a = i(t), u = i(a.onSettled);
208
+ u == null || u(...r);
203
209
  }
204
210
  }
205
211
  };
206
212
  }
207
- const re = (e) => {
208
- var t, n, a, r;
209
- const s = (n = (t = i(e)) == null ? void 0 : t.transactions) == null ? void 0 : n.find((u) => {
210
- var o;
211
- return (o = u.paymentMethod) == null ? void 0 : o.active;
212
- });
213
- return ((a = s == null ? void 0 : s.paymentMethod) == null ? void 0 : a.asynchronous) && ((r = s == null ? void 0 : s.paymentMethod) == null ? void 0 : r.afterOrderEnabled);
214
- }, ae = "readContext get /context";
215
- function ue(e) {
216
- const s = m();
213
+ const re = "readContext get /context";
214
+ function ae(e) {
215
+ const s = g();
217
216
  return Q({
218
- queryKey: R.all(),
219
- queryFn: ({ signal: t }) => s.query(ae, {
220
- ...g(e),
217
+ queryKey: F.all(),
218
+ queryFn: ({ signal: t }) => s.query(re, {
219
+ ...p(e),
221
220
  signal: t
222
221
  })
223
222
  });
224
223
  }
225
224
  function k(e) {
226
- return M(ue(e));
225
+ return M(ae(e));
227
226
  }
228
- const oe = "updateContext patch /context";
227
+ const ue = "updateContext patch /context";
229
228
  function $(e) {
230
- const s = m(), t = S();
231
- return f({
229
+ const s = g(), t = S();
230
+ return v({
232
231
  ...e,
233
- mutationFn: async (n) => (t.cancelQueries({ queryKey: R.all() }), s.query(oe, {
232
+ mutationFn: async (n) => (t.cancelQueries({ queryKey: F.all() }), s.query(ue, {
234
233
  body: n
235
234
  })),
236
- onSuccess: async (n, a, r) => {
235
+ onSuccess: async (n, r, a) => {
237
236
  var u, o;
238
- await t.invalidateQueries({ queryKey: R.all() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
237
+ await t.invalidateQueries({ queryKey: F.all() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
239
238
  }
240
239
  });
241
240
  }
242
- function mt() {
243
- const e = $(), s = k(), t = se(), n = c(() => s.isFetching.value || e.isPending.value), a = async (d) => {
241
+ function ft() {
242
+ const e = $(), s = k(), t = se(), n = c(() => s.isFetching.value || e.isPending.value), r = async (d) => {
244
243
  await e.mutateAsync({
245
244
  billingAddressId: d.id
246
245
  }), await J(n).toBe(!1);
247
- }, r = async (d) => {
246
+ }, a = async (d) => {
248
247
  await e.mutateAsync({
249
248
  shippingAddressId: d.id
250
249
  }), await J(n).toBe(!1);
@@ -254,7 +253,7 @@ function mt() {
254
253
  }), o = c(() => {
255
254
  var d, P;
256
255
  return (P = (d = s.data.value) == null ? void 0 : d.customer) == null ? void 0 : P.activeShippingAddress;
257
- }), h = c(() => {
256
+ }), f = c(() => {
258
257
  var d;
259
258
  return ((d = t.data.value) == null ? void 0 : d.elements.filter(
260
259
  (P) => {
@@ -275,33 +274,33 @@ function mt() {
275
274
  contextUpdateMutation: e,
276
275
  contextQuery: s,
277
276
  addressListQuery: t,
278
- setBillingAddress: a,
279
- setShippingAddress: r,
277
+ setBillingAddress: r,
278
+ setShippingAddress: a,
280
279
  isSaving: n,
281
280
  activeBillingAddress: u,
282
281
  activeShippingAddress: o,
283
- inactiveBillingAddresses: h,
282
+ inactiveBillingAddresses: f,
284
283
  inactiveShippingAddresses: C
285
284
  };
286
285
  }
287
- const ie = "readOrder post /order";
288
- function ce(e) {
289
- const s = m(), t = U.detail(e);
286
+ const oe = "readOrder post /order";
287
+ function ie(e) {
288
+ const s = g(), t = U.detail(e);
290
289
  return Q({
291
290
  queryKey: t,
292
291
  queryFn: async ({ signal: n }) => {
293
- const a = g(e);
294
- return s.query(ie, {
295
- ...a,
292
+ const r = p(e);
293
+ return s.query(oe, {
294
+ ...r,
296
295
  signal: n
297
296
  });
298
297
  }
299
298
  });
300
299
  }
301
- function le(e) {
302
- return M(ce(e));
300
+ function ce(e) {
301
+ return M(ie(e));
303
302
  }
304
- function ht(e, s) {
303
+ function vt(e, s) {
305
304
  const t = c(() => {
306
305
  const l = i(e);
307
306
  if (l)
@@ -318,84 +317,84 @@ function ht(e, s) {
318
317
  checkPromotion: !0
319
318
  }
320
319
  };
321
- }), n = le(t.value), a = c(() => {
322
- var l, p, q, I;
323
- return (I = (q = (p = (l = n.data) == null ? void 0 : l.value) == null ? void 0 : p.orders) == null ? void 0 : q.elements) == null ? void 0 : I[0];
324
- }), r = c(() => {
325
- var l, p;
326
- return ((p = (l = n.data) == null ? void 0 : l.value) == null ? void 0 : p.paymentChangeable) || {};
320
+ }), n = ce(t.value), r = c(() => {
321
+ var l, m, q, L;
322
+ return (L = (q = (m = (l = n.data) == null ? void 0 : l.value) == null ? void 0 : m.orders) == null ? void 0 : q.elements) == null ? void 0 : L[0];
323
+ }), a = c(() => {
324
+ var l, m;
325
+ return ((m = (l = n.data) == null ? void 0 : l.value) == null ? void 0 : m.paymentChangeable) || {};
327
326
  }), u = c(() => {
328
- var l, p, q;
329
- return (q = (p = (l = a.value) == null ? void 0 : l.stateMachineState) == null ? void 0 : p.translated) == null ? void 0 : q.name;
327
+ var l, m, q;
328
+ return (q = (m = (l = r.value) == null ? void 0 : l.stateMachineState) == null ? void 0 : m.translated) == null ? void 0 : q.name;
330
329
  }), o = c(() => {
331
- var l, p;
332
- return (p = (l = a.value) == null ? void 0 : l.stateMachineState) == null ? void 0 : p.technicalName;
333
- }), h = c(() => {
334
- var l, p;
335
- return (p = (l = a.value) == null ? void 0 : l.price) == null ? void 0 : p.totalPrice;
330
+ var l, m;
331
+ return (m = (l = r.value) == null ? void 0 : l.stateMachineState) == null ? void 0 : m.technicalName;
332
+ }), f = c(() => {
333
+ var l, m;
334
+ return (m = (l = r.value) == null ? void 0 : l.price) == null ? void 0 : m.totalPrice;
336
335
  }), C = c(() => {
337
- var l, p;
338
- return (p = (l = a.value) == null ? void 0 : l.price) == null ? void 0 : p.positionPrice;
336
+ var l, m;
337
+ return (m = (l = r.value) == null ? void 0 : l.price) == null ? void 0 : m.positionPrice;
339
338
  }), d = c(() => {
340
339
  var l;
341
- return (l = a.value) == null ? void 0 : l.shippingTotal;
340
+ return (l = r.value) == null ? void 0 : l.shippingTotal;
342
341
  }), P = c(() => {
343
- var l, p, q, I, z, G;
342
+ var l, m, q, L, z, G;
344
343
  return {
345
- email: (p = (l = a.value) == null ? void 0 : l.orderCustomer) == null ? void 0 : p.email,
346
- firstName: (I = (q = a.value) == null ? void 0 : q.orderCustomer) == null ? void 0 : I.firstName,
347
- lastName: (G = (z = a.value) == null ? void 0 : z.orderCustomer) == null ? void 0 : G.lastName
344
+ email: (m = (l = r.value) == null ? void 0 : l.orderCustomer) == null ? void 0 : m.email,
345
+ firstName: (L = (q = r.value) == null ? void 0 : q.orderCustomer) == null ? void 0 : L.firstName,
346
+ lastName: (G = (z = r.value) == null ? void 0 : z.orderCustomer) == null ? void 0 : G.lastName
348
347
  };
349
348
  }), O = c(() => {
350
- var l, p;
351
- return (p = (l = a.value) == null ? void 0 : l.addresses) == null ? void 0 : p.find(
349
+ var l, m;
350
+ return (m = (l = r.value) == null ? void 0 : l.addresses) == null ? void 0 : m.find(
352
351
  ({ id: q }) => {
353
- var I;
354
- return q === ((I = a.value) == null ? void 0 : I.billingAddressId);
352
+ var L;
353
+ return q === ((L = r.value) == null ? void 0 : L.billingAddressId);
355
354
  }
356
355
  );
357
356
  }), y = c(
358
357
  () => {
359
- var l, p, q;
360
- return (q = (p = (l = a.value) == null ? void 0 : l.deliveries) == null ? void 0 : p[0]) == null ? void 0 : q.shippingOrderAddress;
358
+ var l, m, q;
359
+ return (q = (m = (l = r.value) == null ? void 0 : l.deliveries) == null ? void 0 : m[0]) == null ? void 0 : q.shippingOrderAddress;
361
360
  }
362
- ), v = c(() => {
363
- var p, q;
364
- const l = (p = a.value) == null ? void 0 : p.transactions;
361
+ ), h = c(() => {
362
+ var m, q;
363
+ const l = (m = r.value) == null ? void 0 : m.transactions;
365
364
  if (l != null && l.length)
366
365
  return (q = l.at(-1)) == null ? void 0 : q.paymentMethod;
367
- }), A = c(() => {
368
- var p, q;
369
- const l = (p = a.value) == null ? void 0 : p.deliveries;
366
+ }), K = c(() => {
367
+ var m, q;
368
+ const l = (m = r.value) == null ? void 0 : m.deliveries;
370
369
  if (l != null && l.length)
371
370
  return (q = l.at(-1)) == null ? void 0 : q.shippingMethod;
372
- }), K = c(() => {
373
- var p;
371
+ }), A = c(() => {
372
+ var m;
374
373
  const l = i(e);
375
- return ((p = r.value) == null ? void 0 : p[l]) ?? !1;
374
+ return ((m = a.value) == null ? void 0 : m[l]) ?? !1;
376
375
  });
377
376
  return {
378
- order: a,
377
+ order: r,
379
378
  status: u,
380
379
  statusTechnicalName: o,
381
- total: h,
380
+ total: f,
382
381
  subtotal: C,
383
382
  shippingCosts: d,
384
383
  shippingAddress: y,
385
384
  billingAddress: O,
386
385
  personalDetails: P,
387
- shippingMethod: A,
388
- paymentMethod: v,
389
- paymentChangeable: K,
386
+ shippingMethod: K,
387
+ paymentMethod: h,
388
+ paymentChangeable: A,
390
389
  orderQuery: n
391
390
  };
392
391
  }
393
- function ft(e) {
392
+ function ht(e) {
394
393
  const s = c(() => {
395
- var r, u;
396
- return (u = (r = i(e)) == null ? void 0 : r.transactions) == null ? void 0 : u.find((o) => {
397
- var h;
398
- return ((h = o.paymentMethod) == null ? void 0 : h.active) === !0;
394
+ var r, a;
395
+ return (a = (r = i(e)) == null ? void 0 : r.transactions) == null ? void 0 : a.find((u) => {
396
+ var o;
397
+ return ((o = u.paymentMethod) == null ? void 0 : o.active) === !0;
399
398
  });
400
399
  }), t = c(() => {
401
400
  var r;
@@ -405,355 +404,354 @@ function ft(e) {
405
404
  return (r = s.value) == null ? void 0 : r.stateMachineState;
406
405
  });
407
406
  return {
408
- isAsynchronous: c(() => re(e)),
409
407
  activeTransaction: s,
410
408
  state: n,
411
409
  paymentMethod: t
412
410
  };
413
411
  }
414
- const de = "createCustomerAddress post /account/address";
415
- function vt(e) {
416
- const s = m(), t = S();
417
- return f({
412
+ const le = "createCustomerAddress post /account/address";
413
+ function qt(e) {
414
+ const s = g(), t = S();
415
+ return v({
418
416
  ...e,
419
- mutationFn: async (n) => s.query(de, g(n)),
420
- onSuccess: async (n, a, r) => {
417
+ mutationFn: async (n) => s.query(le, p(n)),
418
+ onSuccess: async (n, r, a) => {
421
419
  var u, o;
422
- await t.invalidateQueries({ queryKey: w.lists() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
420
+ await t.invalidateQueries({ queryKey: R.lists() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
423
421
  }
424
422
  });
425
423
  }
426
- const ye = "deleteCustomerAddress delete /account/address/{addressId}";
427
- function qt(e) {
428
- const s = m(), t = S();
429
- return f({
424
+ const de = "deleteCustomerAddress delete /account/address/{addressId}";
425
+ function Ct(e) {
426
+ const s = g(), t = S();
427
+ return v({
430
428
  ...e,
431
- mutationFn: async (n) => s.query(ye, g(n)),
432
- onSuccess: async (n, a, r) => {
429
+ mutationFn: async (n) => s.query(de, p(n)),
430
+ onSuccess: async (n, r, a) => {
433
431
  var u, o;
434
- await t.invalidateQueries({ queryKey: w.lists() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
432
+ await t.invalidateQueries({ queryKey: R.lists() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
435
433
  }
436
434
  });
437
435
  }
438
- const pe = "updateCustomerAddress patch /account/address/{addressId}";
439
- function Ct(e) {
440
- const s = m(), t = S();
441
- return f({
436
+ const ye = "updateCustomerAddress patch /account/address/{addressId}";
437
+ function St(e) {
438
+ const s = g(), t = S();
439
+ return v({
442
440
  ...e,
443
- mutationFn: async (n) => s.query(pe, g(n)),
444
- onSuccess: async (n, a, r) => {
445
- var o, h;
446
- const { addressId: u } = g(a).params;
447
- t.setQueryData(w.detail(u), n), await Promise.all([
448
- t.invalidateQueries({ queryKey: w.lists() }),
441
+ mutationFn: async (n) => s.query(ye, p(n)),
442
+ onSuccess: async (n, r, a) => {
443
+ var o, f;
444
+ const { addressId: u } = p(r).params;
445
+ t.setQueryData(R.detail(u), n), await Promise.all([
446
+ t.invalidateQueries({ queryKey: R.lists() }),
449
447
  t.invalidateQueries({
450
- queryKey: w.detail(g(a).params.addressId),
448
+ queryKey: R.detail(p(r).params.addressId),
451
449
  predicate: (C) => C.queryKey.at(-1) !== u
452
450
  })
453
- ]), await ((h = i((o = i(e)) == null ? void 0 : o.onSuccess)) == null ? void 0 : h(n, a, r));
451
+ ]), await ((f = i((o = i(e)) == null ? void 0 : o.onSuccess)) == null ? void 0 : f(n, r, a));
454
452
  }
455
453
  });
456
454
  }
457
- const ge = "addLineItem post /checkout/cart/line-item";
458
- function St(e) {
459
- const s = m(), t = S();
460
- return f({
455
+ const pe = "addLineItem post /checkout/cart/line-item";
456
+ function Pt(e) {
457
+ const s = g(), t = S();
458
+ return v({
461
459
  ...e,
462
- mutationFn: async (n) => s.query(ge, {
460
+ mutationFn: async (n) => s.query(pe, {
463
461
  body: n
464
462
  }),
465
- onSuccess: async (n, a, r) => {
463
+ onSuccess: async (n, r, a) => {
466
464
  var u, o;
467
- t.setQueryData(x.get(), n), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
465
+ t.setQueryData(x.get(), n), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
468
466
  }
469
467
  });
470
468
  }
471
- const me = "readCart get /checkout/cart";
472
- function he(e) {
473
- const s = m(), t = x.get();
469
+ const ge = "readCart get /checkout/cart";
470
+ function me(e) {
471
+ const s = g(), t = x.get();
474
472
  return Q({
475
473
  queryKey: t,
476
- queryFn: async ({ signal: n }) => s.query(me, {
477
- ...g(e),
474
+ queryFn: async ({ signal: n }) => s.query(ge, {
475
+ ...p(e),
478
476
  signal: n
479
477
  })
480
478
  });
481
479
  }
482
- function Pt() {
483
- return M(he());
480
+ function Qt() {
481
+ return M(me());
484
482
  }
485
483
  const fe = "removeLineItem post /checkout/cart/line-item/delete";
486
- function Qt(e) {
487
- const s = m(), t = S();
488
- return f({
484
+ function Mt(e) {
485
+ const s = g(), t = S();
486
+ return v({
489
487
  ...e,
490
488
  mutationFn: async (n) => s.query(fe, {
491
489
  body: n
492
490
  }),
493
- onSuccess: async (n, a, r) => {
491
+ onSuccess: async (n, r, a) => {
494
492
  var u, o;
495
- t.setQueryData(x.get(), n), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
493
+ t.setQueryData(x.get(), n), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
496
494
  }
497
495
  });
498
496
  }
499
497
  const ve = "updateLineItem patch /checkout/cart/line-item";
500
- function Mt(e) {
501
- const s = m(), t = S();
502
- return f({
498
+ function Ot(e) {
499
+ const s = g(), t = S();
500
+ return v({
503
501
  ...e,
504
502
  mutationFn: async (n) => s.query(ve, {
505
503
  body: n
506
504
  }),
507
- onSuccess: async (n, a, r) => {
505
+ onSuccess: async (n, r, a) => {
508
506
  var u, o;
509
- t.setQueryData(x.get(), n), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
507
+ t.setQueryData(x.get(), n), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
510
508
  }
511
509
  });
512
510
  }
513
- const qe = "createOrder post /checkout/order";
514
- function Ot(e) {
515
- const s = m(), t = S();
516
- return f({
511
+ const he = "createOrder post /checkout/order";
512
+ function Kt(e) {
513
+ const s = g(), t = S();
514
+ return v({
517
515
  ...e,
518
- mutationFn: async (n) => s.query(qe, g(n)),
519
- onSuccess: async (n, a, r) => {
516
+ mutationFn: async (n) => s.query(he, p(n)),
517
+ onSuccess: async (n, r, a) => {
520
518
  var u, o;
521
519
  await Promise.all([
522
520
  // Clear cart after successful order creation
523
521
  t.invalidateQueries({ queryKey: x.get() }),
524
522
  // Invalidate order list to refetch data
525
523
  t.invalidateQueries({ queryKey: U.lists() })
526
- ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
524
+ ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
527
525
  }
528
526
  });
529
527
  }
530
- const Ce = "readLanguages post /language";
531
- function Se(e) {
532
- const s = m();
528
+ const qe = "readLanguages post /language";
529
+ function Ce(e) {
530
+ const s = g();
533
531
  return Q({
534
532
  queryKey: ee.all(),
535
- queryFn: ({ signal: t }) => s.query(Ce, {
536
- ...g(e),
533
+ queryFn: ({ signal: t }) => s.query(qe, {
534
+ ...p(e),
537
535
  signal: t
538
536
  })
539
537
  });
540
538
  }
541
539
  function At(e) {
542
- return M(Se(e));
540
+ return M(Ce(e));
543
541
  }
544
- const Pe = "readCountry post /country", Qe = function(s) {
545
- const t = m(), n = T.list(s);
542
+ const Se = "readCountry post /country", Pe = function(s) {
543
+ const t = g(), n = j.list(s);
546
544
  return Q({
547
545
  queryKey: n,
548
- queryFn: async ({ signal: a }) => {
549
- const r = g(s);
550
- return t.query(Pe, {
551
- ...r,
552
- signal: a
546
+ queryFn: async ({ signal: r }) => {
547
+ const a = p(s);
548
+ return t.query(Se, {
549
+ ...a,
550
+ signal: r
553
551
  });
554
552
  }
555
553
  });
556
554
  };
557
- function Kt(e) {
558
- return M(Qe(e));
559
- }
560
- const Me = "changeEmail post /account/change-email";
561
555
  function wt(e) {
562
- const s = m(), t = S();
563
- return f({
556
+ return M(Pe(e));
557
+ }
558
+ const Qe = "changeEmail post /account/change-email";
559
+ function Rt(e) {
560
+ const s = g(), t = S();
561
+ return v({
564
562
  ...e,
565
- mutationFn: async (n) => s.query(Me, g(n)),
566
- onSuccess: async (n, a, r) => {
563
+ mutationFn: async (n) => s.query(Qe, p(n)),
564
+ onSuccess: async (n, r, a) => {
567
565
  var u, o;
568
- await t.invalidateQueries({ queryKey: F.all() }), await t.invalidateQueries({ queryKey: R.all() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
566
+ await t.invalidateQueries({ queryKey: I.all() }), await t.invalidateQueries({ queryKey: F.all() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
569
567
  }
570
568
  });
571
569
  }
572
- const Oe = "changeProfile post /account/change-profile";
573
- function Rt(e) {
574
- const s = m(), t = S();
575
- return f({
570
+ const Me = "changeProfile post /account/change-profile";
571
+ function Ft(e) {
572
+ const s = g(), t = S();
573
+ return v({
576
574
  ...e,
577
- mutationFn: async (n) => s.query(Oe, g(n)),
578
- onSuccess: async (n, a, r) => {
575
+ mutationFn: async (n) => s.query(Me, p(n)),
576
+ onSuccess: async (n, r, a) => {
579
577
  var u, o;
580
578
  await Promise.all([
581
- t.invalidateQueries({ queryKey: F.all() }),
582
- t.invalidateQueries({ queryKey: R.all() })
583
- ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
579
+ t.invalidateQueries({ queryKey: I.all() }),
580
+ t.invalidateQueries({ queryKey: F.all() })
581
+ ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
584
582
  }
585
583
  });
586
584
  }
587
- const Ae = "loginCustomer post /account/login";
588
- function Ft(e) {
589
- const s = m(), t = S();
590
- return f({
585
+ const Oe = "loginCustomer post /account/login";
586
+ function It(e) {
587
+ const s = g(), t = S();
588
+ return v({
591
589
  ...e,
592
590
  mutationFn: async (n) => {
593
- const a = await s.queryRaw(Ae, {
591
+ const r = await s.queryRaw(Oe, {
594
592
  body: n
595
- }), r = a.headers.get("sw-context-token");
596
- return r && (s.contextToken = r), a.json();
593
+ }), a = r.headers.get("sw-context-token");
594
+ return a && (s.contextToken = a), r.json();
597
595
  },
598
- onSuccess: async (n, a, r) => {
596
+ onSuccess: async (n, r, a) => {
599
597
  var u, o;
600
598
  await Promise.all([
601
- t.removeQueries({ queryKey: R.all() }),
599
+ t.removeQueries({ queryKey: F.all() }),
602
600
  t.invalidateQueries({ queryKey: x.get() }),
603
- t.invalidateQueries({ queryKey: F.all() })
604
- ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
601
+ t.invalidateQueries({ queryKey: I.all() })
602
+ ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
605
603
  }
606
604
  });
607
605
  }
608
606
  const Ke = "logoutCustomer post /account/logout";
609
- function It(e) {
610
- const s = m(), t = S();
611
- return f({
607
+ function Lt(e) {
608
+ const s = g(), t = S();
609
+ return v({
612
610
  ...e,
613
- mutationFn: async (n) => s.query(Ke, g(n)),
614
- onSuccess: async (n, a, r) => {
611
+ mutationFn: async (n) => s.query(Ke, p(n)),
612
+ onSuccess: async (n, r, a) => {
615
613
  var u, o;
616
614
  await Promise.all([
617
- t.removeQueries({ queryKey: R.all() }),
615
+ t.removeQueries({ queryKey: F.all() }),
618
616
  t.invalidateQueries({ queryKey: x.get() }),
619
- t.invalidateQueries({ queryKey: F.all() })
620
- ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
617
+ t.invalidateQueries({ queryKey: I.all() })
618
+ ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
621
619
  }
622
620
  });
623
621
  }
624
- const we = "readCustomer post /account/customer";
625
- function Re(e) {
626
- const s = m(), t = F.detail(c(() => g(e).body ?? {}));
622
+ const Ae = "readCustomer post /account/customer";
623
+ function we(e) {
624
+ const s = g(), t = I.detail(c(() => p(e).body ?? {}));
627
625
  return Q({
628
626
  queryKey: t,
629
- queryFn: async () => s.query(we, g(e))
627
+ queryFn: async () => s.query(Ae, p(e))
630
628
  });
631
629
  }
632
- function Fe(e) {
633
- return M(Re(e));
630
+ function Re(e) {
631
+ return M(we(e));
634
632
  }
635
- const Ie = "register post /account/register";
636
- function Lt(e) {
637
- const s = m(), t = S();
638
- return f({
633
+ const Fe = "register post /account/register";
634
+ function xt(e) {
635
+ const s = g(), t = S();
636
+ return v({
639
637
  ...e,
640
- mutationFn: async (n) => s.query(Ie, g(n)),
641
- onSuccess: async (n, a, r) => {
638
+ mutationFn: async (n) => s.query(Fe, p(n)),
639
+ onSuccess: async (n, r, a) => {
642
640
  var u, o;
643
- await t.invalidateQueries({ queryKey: F.all() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
641
+ await t.invalidateQueries({ queryKey: I.all() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
644
642
  }
645
643
  });
646
644
  }
647
- const Le = "defaultBillingAddress patch /account/address/default-billing/{addressId}";
648
- function xt(e) {
649
- const s = m(), t = S();
650
- return f({
645
+ const Ie = "defaultBillingAddress patch /account/address/default-billing/{addressId}";
646
+ function Ut(e) {
647
+ const s = g(), t = S();
648
+ return v({
651
649
  ...e,
652
- mutationFn: async (n) => s.query(Le, g(n)),
653
- onSuccess: async (n, a, r) => {
650
+ mutationFn: async (n) => s.query(Ie, p(n)),
651
+ onSuccess: async (n, r, a) => {
654
652
  var u, o;
655
653
  await Promise.all([
656
- t.invalidateQueries({ queryKey: F.all() }),
657
- t.invalidateQueries({ queryKey: R.all() })
658
- ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
654
+ t.invalidateQueries({ queryKey: I.all() }),
655
+ t.invalidateQueries({ queryKey: F.all() })
656
+ ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
659
657
  }
660
658
  });
661
659
  }
662
- const xe = "defaultShippingAddress patch /account/address/default-shipping/{addressId}";
663
- function Ut(e) {
664
- const s = m(), t = S();
665
- return f({
660
+ const Le = "defaultShippingAddress patch /account/address/default-shipping/{addressId}";
661
+ function bt(e) {
662
+ const s = g(), t = S();
663
+ return v({
666
664
  ...e,
667
- mutationFn: async (n) => s.query(xe, g(n)),
668
- onSuccess: async (n, a, r) => {
665
+ mutationFn: async (n) => s.query(Le, p(n)),
666
+ onSuccess: async (n, r, a) => {
669
667
  var u, o;
670
668
  await Promise.all([
671
- t.invalidateQueries({ queryKey: F.all() }),
672
- t.invalidateQueries({ queryKey: R.all() })
673
- ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
669
+ t.invalidateQueries({ queryKey: I.all() }),
670
+ t.invalidateQueries({ queryKey: F.all() })
671
+ ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
674
672
  }
675
673
  });
676
674
  }
677
- const Ue = "deleteCustomer delete /account/customer";
678
- function bt(e) {
679
- const s = m(), t = S();
680
- return f({
675
+ const xe = "deleteCustomer delete /account/customer";
676
+ function kt(e) {
677
+ const s = g(), t = S();
678
+ return v({
681
679
  ...e,
682
- mutationFn: async (n) => s.query(Ue, g(n)),
683
- onSuccess: async (n, a, r) => {
680
+ mutationFn: async (n) => s.query(xe, p(n)),
681
+ onSuccess: async (n, r, a) => {
684
682
  var u, o;
685
683
  await Promise.all([
684
+ t.resetQueries({ queryKey: I.all() }),
686
685
  t.resetQueries({ queryKey: F.all() }),
687
- t.resetQueries({ queryKey: R.all() }),
688
686
  t.resetQueries({ queryKey: x.get() })
689
- ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
687
+ ]), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
690
688
  }
691
689
  });
692
690
  }
693
- const be = "registerConfirm post /account/register-confirm";
694
- function kt(e) {
695
- const s = m();
696
- return f({
691
+ const Ue = "registerConfirm post /account/register-confirm";
692
+ function Bt(e) {
693
+ const s = g();
694
+ return v({
697
695
  ...e,
698
696
  mutationFn: async (t) => {
699
- const n = await s.queryRaw(be, {
697
+ const n = await s.queryRaw(Ue, {
700
698
  body: t
701
- }), a = n.headers.get("sw-context-token");
702
- return a && (s.contextToken = a), n.json();
699
+ }), r = n.headers.get("sw-context-token");
700
+ return r && (s.contextToken = r), n.json();
703
701
  },
704
- onSuccess: async (t, n, a) => {
705
- var r, u;
706
- await ((u = i((r = i(e)) == null ? void 0 : r.onSuccess)) == null ? void 0 : u(t, n, a));
702
+ onSuccess: async (t, n, r) => {
703
+ var a, u;
704
+ await ((u = i((a = i(e)) == null ? void 0 : a.onSuccess)) == null ? void 0 : u(t, n, r));
707
705
  }
708
706
  });
709
707
  }
710
- const ke = "sendRecoveryMail post /account/recovery-password";
711
- function Bt(e) {
712
- const s = m();
713
- return f({
708
+ const be = "sendRecoveryMail post /account/recovery-password";
709
+ function Dt(e) {
710
+ const s = g();
711
+ return v({
714
712
  ...e,
715
- mutationFn: async (t) => s.query(ke, g(t)),
716
- onSuccess: async (t, n, a) => {
717
- var r, u;
718
- await ((u = i((r = i(e)) == null ? void 0 : r.onSuccess)) == null ? void 0 : u(t, n, a));
713
+ mutationFn: async (t) => s.query(be, p(t)),
714
+ onSuccess: async (t, n, r) => {
715
+ var a, u;
716
+ await ((u = i((a = i(e)) == null ? void 0 : a.onSuccess)) == null ? void 0 : u(t, n, r));
719
717
  }
720
718
  });
721
719
  }
722
- const Be = "changePassword post /account/change-password";
720
+ const ke = "changePassword post /account/change-password";
723
721
  function Nt(e) {
724
- const s = m();
725
- return f({
722
+ const s = g();
723
+ return v({
726
724
  ...e,
727
- mutationFn: async (t) => s.query(Be, g(t)),
728
- onSuccess: async (t, n, a) => {
729
- var r, u;
730
- await ((u = i((r = i(e)) == null ? void 0 : r.onSuccess)) == null ? void 0 : u(t, n, a));
725
+ mutationFn: async (t) => s.query(ke, p(t)),
726
+ onSuccess: async (t, n, r) => {
727
+ var a, u;
728
+ await ((u = i((a = i(e)) == null ? void 0 : a.onSuccess)) == null ? void 0 : u(t, n, r));
731
729
  }
732
730
  });
733
731
  }
734
- const Ne = "recoveryPassword post /account/recovery-password-confirm";
735
- function Dt(e) {
736
- const s = m();
737
- return f({
732
+ const Be = "recoveryPassword post /account/recovery-password-confirm";
733
+ function Tt(e) {
734
+ const s = g();
735
+ return v({
738
736
  ...e,
739
- mutationFn: async (t) => s.query(Ne, g(t)),
740
- onSuccess: async (t, n, a) => {
741
- var r, u;
742
- await ((u = i((r = i(e)) == null ? void 0 : r.onSuccess)) == null ? void 0 : u(t, n, a));
737
+ mutationFn: async (t) => s.query(Be, p(t)),
738
+ onSuccess: async (t, n, r) => {
739
+ var a, u;
740
+ await ((u = i((a = i(e)) == null ? void 0 : a.onSuccess)) == null ? void 0 : u(t, n, r));
743
741
  }
744
742
  });
745
743
  }
746
- const De = "readNavigation post /navigation/{activeId}/{rootId}", Ee = function(s, t, n) {
747
- const a = m(), r = b.detail(s, t, n);
744
+ const De = "readNavigation post /navigation/{activeId}/{rootId}", Ne = function(s, t, n) {
745
+ const r = g(), a = b.detail(s, t, n);
748
746
  return Q({
749
- queryKey: r,
747
+ queryKey: a,
750
748
  queryFn: async ({ signal: u }) => {
751
- const o = i(s), h = i(t), C = g(n);
752
- return a.query(De, {
749
+ const o = i(s), f = i(t), C = p(n);
750
+ return r.query(De, {
753
751
  ...C,
754
752
  params: {
755
753
  activeId: o,
756
- rootId: h
754
+ rootId: f
757
755
  },
758
756
  signal: u
759
757
  });
@@ -761,271 +759,288 @@ const De = "readNavigation post /navigation/{activeId}/{rootId}", Ee = function(
761
759
  });
762
760
  };
763
761
  function Et(e, s, t) {
764
- return M(Ee(e, s, t));
762
+ return M(Ne(e, s, t));
765
763
  }
766
- const je = "readPaymentMethod post /payment-method";
767
- function Te(e) {
768
- const s = m(), t = D.list(c(() => {
764
+ const Te = "readPaymentMethod post /payment-method";
765
+ function Ee(e) {
766
+ const s = g(), t = N.list(c(() => {
769
767
  var n;
770
- return (n = g(e)) == null ? void 0 : n.body;
768
+ return (n = p(e)) == null ? void 0 : n.body;
771
769
  }));
772
770
  return Q({
773
771
  queryKey: t,
774
- queryFn: ({ signal: n }) => s.query(je, {
775
- ...g(e),
772
+ queryFn: ({ signal: n }) => s.query(Te, {
773
+ ...p(e),
776
774
  signal: n
777
775
  })
778
776
  });
779
777
  }
780
- function Ve(e) {
781
- return M(Te(e));
778
+ function je(e) {
779
+ return M(Ee(e));
782
780
  }
783
- const $e = "handlePaymentMethod post /handle-payment";
781
+ const Ve = "handlePaymentMethod post /handle-payment";
784
782
  function jt(e) {
785
- const s = m();
786
- return f({
783
+ const s = g();
784
+ return v({
787
785
  ...e,
788
- mutationFn: async (t) => s.query($e, g(t)),
789
- onSuccess: async (t, n, a) => {
790
- var r, u;
791
- await ((u = i((r = i(e)) == null ? void 0 : r.onSuccess)) == null ? void 0 : u(t, n, a));
786
+ mutationFn: async (t) => s.query(Ve, p(t)),
787
+ onSuccess: async (t, n, r) => {
788
+ var a, u;
789
+ await ((u = i((a = i(e)) == null ? void 0 : a.onSuccess)) == null ? void 0 : u(t, n, r));
792
790
  }
793
791
  });
794
792
  }
795
- const ze = "orderSetPayment post /order/payment";
796
- function Tt(e) {
797
- const s = m(), t = S();
798
- return f({
793
+ const $e = "orderSetPayment post /order/payment";
794
+ function Vt(e) {
795
+ const s = g(), t = S();
796
+ return v({
799
797
  ...e,
800
- mutationFn: async (n) => s.query(ze, g(n)),
801
- onSuccess: async (n, a, r) => {
798
+ mutationFn: async (n) => s.query($e, p(n)),
799
+ onSuccess: async (n, r, a) => {
802
800
  var u, o;
803
- await t.invalidateQueries({ queryKey: U.all() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, a, r));
801
+ await t.invalidateQueries({ queryKey: U.all() }), await ((o = i((u = i(e)) == null ? void 0 : u.onSuccess)) == null ? void 0 : o(n, r, a));
804
802
  }
805
803
  });
806
804
  }
807
- const Ge = "readCategoryList post /category", He = function(s) {
808
- const t = m(), n = B.list(s);
805
+ const ze = "readCategoryList post /category", Ge = function(s) {
806
+ const t = g(), n = B.list(s);
809
807
  return Q({
810
808
  queryKey: n,
811
- queryFn: async ({ signal: a }) => t.query(Ge, {
812
- ...g(s),
813
- signal: a
809
+ queryFn: async ({ signal: r }) => t.query(ze, {
810
+ ...p(s),
811
+ signal: r
814
812
  })
815
813
  });
816
814
  };
817
- function Vt(e) {
818
- return M(He(e));
815
+ function $t(e) {
816
+ return M(Ge(e));
819
817
  }
820
- const We = "readCompactProductListing post /novu/headless/product-listing/{seoUrl}";
821
- function Je(e, s) {
822
- const t = m(), n = L.list(e, s);
818
+ const He = "readCompactProductListing post /novu/headless/product-listing/{seoUrl}";
819
+ function We(e, s) {
820
+ const t = g(), n = w.list(e, s);
823
821
  return Q({
824
822
  queryKey: n,
825
- queryFn: async ({ signal: a }) => {
826
- const r = g(s);
827
- return t.query(We, {
828
- ...r,
823
+ queryFn: async ({ signal: r }) => {
824
+ const a = p(s);
825
+ return t.query(He, {
826
+ ...a,
829
827
  params: {
830
- ...r.params,
828
+ ...a.params,
831
829
  seoUrl: V(i(e))
832
830
  },
833
- signal: a
831
+ signal: r
834
832
  });
835
833
  }
836
834
  });
837
835
  }
838
- function $t(e, s) {
839
- return M(Je(e, s));
836
+ function zt(e, s) {
837
+ return M(We(e, s));
840
838
  }
841
- const Xe = "readCustomProductDetail post /novu/headless/product/{seoUrl}";
842
- function Ye(e, s) {
843
- const t = m(), n = L.detail(e, s);
839
+ const Je = "readCustomProductDetail post /novu/headless/product/{seoUrl}";
840
+ function Xe(e, s) {
841
+ const t = g(), n = w.customDetail(e, s);
844
842
  return Q({
845
843
  queryKey: n,
846
- queryFn: async ({ signal: a }) => {
847
- const r = g(s);
848
- return t.query(Xe, {
849
- ...r,
844
+ queryFn: async ({ signal: r }) => {
845
+ const a = p(s);
846
+ return t.query(Je, {
847
+ ...a,
850
848
  params: {
851
- ...r.params,
849
+ ...a.params,
852
850
  seoUrl: V(i(e))
853
851
  },
854
- signal: a
852
+ signal: r
855
853
  });
856
854
  }
857
855
  });
858
856
  }
859
- function zt(e, s) {
860
- return M(Ye(e, s));
857
+ function Gt(e, s) {
858
+ return M(Xe(e, s));
861
859
  }
862
- const Ze = "searchPage post /search";
863
- function _e(e) {
864
- const s = m(), t = L.search(e);
860
+ const Ye = "searchPage post /search";
861
+ function Ze(e) {
862
+ const s = g(), t = w.search(e);
865
863
  return Q({
866
864
  queryKey: t,
867
865
  queryFn: async ({ signal: n }) => {
868
- const a = g(e);
869
- return s.query(Ze, {
870
- ...a,
866
+ const r = p(e);
867
+ return s.query(Ye, {
868
+ ...r,
871
869
  signal: n
872
870
  });
873
871
  }
874
872
  });
875
873
  }
876
- function Gt(e) {
877
- return M(_e(e));
874
+ function Ht(e) {
875
+ return M(Ze(e));
878
876
  }
879
- const et = "readSalutation post /salutation", tt = function(s) {
880
- const t = m(), n = j.list(s);
877
+ const _e = "readProduct post /product";
878
+ function et(e) {
879
+ const s = g(), t = w.detail(e);
881
880
  return Q({
882
- queryKey: n,
883
- queryFn: async ({ signal: a }) => {
884
- const r = g(s);
885
- return t.query(et, {
881
+ queryKey: t,
882
+ queryFn: async ({ signal: n }) => {
883
+ const r = p(e);
884
+ return s.query(_e, {
886
885
  ...r,
887
- signal: a
886
+ signal: n
887
+ });
888
+ }
889
+ });
890
+ }
891
+ function Wt(e) {
892
+ return M(et(e));
893
+ }
894
+ const tt = "readSalutation post /salutation", nt = function(s) {
895
+ const t = g(), n = E.list(s);
896
+ return Q({
897
+ queryKey: n,
898
+ queryFn: async ({ signal: r }) => {
899
+ const a = p(s);
900
+ return t.query(tt, {
901
+ ...a,
902
+ signal: r
888
903
  });
889
904
  }
890
905
  });
891
906
  };
892
- function Ht(e) {
893
- return M(tt(e));
907
+ function Jt(e) {
908
+ return M(nt(e));
894
909
  }
895
- const nt = "readSeoUrl post /seo-url", st = function(s) {
896
- const t = m(), n = E.list(s);
910
+ const st = "readSeoUrl post /seo-url", rt = function(s) {
911
+ const t = g(), n = T.list(s);
897
912
  return Q({
898
913
  queryKey: n,
899
- queryFn: async ({ signal: a }) => {
900
- const r = g(s);
901
- return t.query(nt, {
902
- ...r,
903
- signal: a
914
+ queryFn: async ({ signal: r }) => {
915
+ const a = p(s);
916
+ return t.query(st, {
917
+ ...a,
918
+ signal: r
904
919
  });
905
920
  }
906
921
  });
907
922
  };
908
- function Wt(e) {
909
- return M(st(e));
923
+ function Xt(e) {
924
+ return M(rt(e));
910
925
  }
911
- const rt = "readShippingMethod post /shipping-method";
912
- function at(e) {
913
- const s = m(), t = N.list(c(() => {
926
+ const at = "readShippingMethod post /shipping-method";
927
+ function ut(e) {
928
+ const s = g(), t = D.list(c(() => {
914
929
  var n;
915
- return (n = g(e)) == null ? void 0 : n.body;
930
+ return (n = p(e)) == null ? void 0 : n.body;
916
931
  }));
917
932
  return Q({
918
933
  queryKey: t,
919
- queryFn: ({ signal: n }) => s.query(rt, {
920
- ...g(e),
934
+ queryFn: ({ signal: n }) => s.query(at, {
935
+ ...p(e),
921
936
  signal: n
922
937
  })
923
938
  });
924
939
  }
925
- function ut(e) {
926
- return M(at(e));
940
+ function ot(e) {
941
+ return M(ut(e));
927
942
  }
928
- function Jt() {
929
- const e = k(), s = $(), t = Ve({
943
+ function Yt() {
944
+ const e = k(), s = $(), t = je({
930
945
  query: {
931
946
  onlyAvailable: !0
932
947
  }
933
- }), n = c(() => s.isPending.value), a = async (o) => s.mutateAsync({
948
+ }), n = c(() => s.isPending.value), r = async (o) => s.mutateAsync({
934
949
  paymentMethodId: o
935
- }), r = c(() => {
936
- var o, h;
937
- return (h = (o = e.data) == null ? void 0 : o.value) == null ? void 0 : h.paymentMethod;
950
+ }), a = c(() => {
951
+ var o, f;
952
+ return (f = (o = e.data) == null ? void 0 : o.value) == null ? void 0 : f.paymentMethod;
938
953
  }), u = c(() => {
939
- var o, h, C;
940
- return ((C = (h = (o = t.data) == null ? void 0 : o.value) == null ? void 0 : h.elements) == null ? void 0 : C.sort((d, P) => (d.position ?? 0) - (P.position ?? 0))) ?? [];
954
+ var o, f, C;
955
+ return ((C = (f = (o = t.data) == null ? void 0 : o.value) == null ? void 0 : f.elements) == null ? void 0 : C.sort((d, P) => (d.position ?? 0) - (P.position ?? 0))) ?? [];
941
956
  });
942
957
  return {
943
958
  contextUpdateMutation: s,
944
959
  contextQuery: e,
945
960
  paymentMethodsQuery: t,
946
- activePaymentMethod: r,
947
- setPaymentMethod: a,
961
+ activePaymentMethod: a,
962
+ setPaymentMethod: r,
948
963
  isSaving: n,
949
964
  paymentMethods: u
950
965
  };
951
966
  }
952
- function Xt() {
953
- const e = k(), s = $(), t = ut({
967
+ function Zt() {
968
+ const e = k(), s = $(), t = ot({
954
969
  query: {
955
970
  onlyAvailable: !0
956
971
  }
957
- }), n = c(() => s.isPending.value), a = async (o) => s.mutateAsync({
972
+ }), n = c(() => s.isPending.value), r = async (o) => s.mutateAsync({
958
973
  shippingMethodId: o
959
- }), r = c(() => {
960
- var o, h;
961
- return (h = (o = e.data) == null ? void 0 : o.value) == null ? void 0 : h.shippingMethod;
974
+ }), a = c(() => {
975
+ var o, f;
976
+ return (f = (o = e.data) == null ? void 0 : o.value) == null ? void 0 : f.shippingMethod;
962
977
  }), u = c(() => {
963
- var o, h;
964
- return ((h = (o = t.data) == null ? void 0 : o.value) == null ? void 0 : h.elements.sort((C, d) => (C.position ?? 0) - (d.position ?? 0))) ?? [];
978
+ var o, f;
979
+ return ((f = (o = t.data) == null ? void 0 : o.value) == null ? void 0 : f.elements.sort((C, d) => (C.position ?? 0) - (d.position ?? 0))) ?? [];
965
980
  });
966
981
  return {
967
982
  contextUpdateMutation: s,
968
983
  contextQuery: e,
969
984
  shippingMethodsQuery: t,
970
- activeShippingMethod: r,
971
- setShippingMethod: a,
985
+ activeShippingMethod: a,
986
+ setShippingMethod: r,
972
987
  isSaving: n,
973
988
  shippingMethods: u
974
989
  };
975
990
  }
976
- const ot = (e, s) => {
991
+ const it = (e, s) => {
977
992
  var n;
978
993
  const t = (n = e == null ? void 0 : e.extensions) == null ? void 0 : n.novuSeoUrls;
979
994
  if (Array.isArray(s)) {
980
- const a = s.find((r) => !!(t != null && t[r]));
981
- return a ? (t == null ? void 0 : t[a]) ?? "" : "";
995
+ const r = s.find((a) => !!(t != null && t[a]));
996
+ return r ? (t == null ? void 0 : t[r]) ?? "" : "";
982
997
  }
983
998
  return (t == null ? void 0 : t[s]) ?? "";
984
- }, Yt = () => {
999
+ }, _t = () => {
985
1000
  const e = k(), s = c(() => {
986
- var t, n, a;
987
- return ((a = (n = (t = e.data) == null ? void 0 : t.value) == null ? void 0 : n.context) == null ? void 0 : a.languageIdChain) ?? [];
1001
+ var t, n, r;
1002
+ return ((r = (n = (t = e.data) == null ? void 0 : t.value) == null ? void 0 : n.context) == null ? void 0 : r.languageIdChain) ?? [];
988
1003
  });
989
1004
  return (t, n) => {
990
- const a = [n, ...s.value];
991
- return ot(i(t), i(a));
1005
+ const r = [n, ...s.value];
1006
+ return it(i(t), i(r));
992
1007
  };
993
1008
  };
994
- function Zt(e) {
995
- const { total: s, limit: t, page: n, totalCountMode: a } = e ?? {}, r = Z({
1009
+ function en(e) {
1010
+ const { total: s, limit: t, page: n, totalCountMode: r } = e ?? {}, a = Z({
996
1011
  page: n ?? 1,
997
1012
  total: s ?? 0,
998
1013
  limit: t,
999
- totalCountMode: a
1000
- }), u = c(() => r.limit === void 0 ? 1 : Math.max(1, Math.ceil(r.total / r.limit))), o = c({
1014
+ totalCountMode: r
1015
+ }), u = c(() => a.limit === void 0 ? 1 : Math.max(1, Math.ceil(a.total / a.limit))), o = c({
1001
1016
  get() {
1002
- return r.page;
1017
+ return a.page;
1003
1018
  },
1004
1019
  set(O) {
1005
- r.page = Math.max(1, Math.min(i(u), O));
1020
+ a.page = Math.max(1, Math.min(i(u), O));
1006
1021
  }
1007
1022
  });
1008
1023
  H(
1009
- [() => i(u), () => r],
1024
+ [() => i(u), () => a],
1010
1025
  ([O, y]) => {
1011
- r.page = Math.min(O, r.page), r.total = y.total ?? 0, r.limit = y.limit;
1026
+ a.page = Math.min(O, a.page), a.total = y.total ?? 0, a.limit = y.limit;
1012
1027
  }
1013
1028
  );
1014
- const h = c(() => r.page === i(u)), C = c(() => r.page === 1), d = c(() => ({
1015
- p: r.page,
1016
- limit: r.limit,
1017
- "total-count-mode": r.totalCountMode ?? "none"
1029
+ const f = c(() => a.page === i(u)), C = c(() => a.page === 1), d = c(() => ({
1030
+ p: a.page,
1031
+ limit: a.limit,
1032
+ "total-count-mode": a.totalCountMode ?? "none"
1018
1033
  })), P = (O) => {
1019
1034
  H(() => i(O), (y) => {
1020
- y && (r.total = (y == null ? void 0 : y.total) ?? 0, r.limit = (y == null ? void 0 : y.limit) ?? 0);
1035
+ y && (a.total = (y == null ? void 0 : y.total) ?? 0, a.limit = (y == null ? void 0 : y.limit) ?? 0);
1021
1036
  });
1022
1037
  };
1023
1038
  return {
1024
1039
  page: i(o),
1025
- total: W(r, "total"),
1026
- limit: W(r, "limit"),
1040
+ total: W(a, "total"),
1041
+ limit: W(a, "limit"),
1027
1042
  pageCount: u,
1028
- isLastPage: h,
1043
+ isLastPage: f,
1029
1044
  isFirstPage: C,
1030
1045
  usePaginationSync: P,
1031
1046
  // This can be used to pass the pagination options directly to the query options
@@ -1037,43 +1052,43 @@ function X(e) {
1037
1052
  if (!e || !((t = e.calculatedPrices) != null && t.length))
1038
1053
  return [];
1039
1054
  const s = e.calculatedPrices.length;
1040
- return e.calculatedPrices.map(({ unitPrice: n, quantity: a }, r) => ({
1041
- label: r === s - 1 ? `from ${a}` : `to ${a}`,
1042
- quantity: a,
1055
+ return e.calculatedPrices.map(({ unitPrice: n, quantity: r }, a) => ({
1056
+ label: a === s - 1 ? `from ${r}` : `to ${r}`,
1057
+ quantity: r,
1043
1058
  unitPrice: n
1044
1059
  }));
1045
1060
  }
1046
- function _t(e) {
1061
+ function tn(e) {
1047
1062
  const s = c(() => {
1048
1063
  var y;
1049
1064
  return (y = e.value) == null ? void 0 : y.calculatedCheapestPrice;
1050
1065
  }), t = c(
1051
1066
  () => {
1052
- var y, v, A, K, l;
1053
- return (((v = (y = e.value) == null ? void 0 : y.calculatedPrices) == null ? void 0 : v.length) ?? 0) > 0 ? (K = (A = e.value) == null ? void 0 : A.calculatedPrices) == null ? void 0 : K[0] : (l = e.value) == null ? void 0 : l.calculatedPrice;
1067
+ var y, h, K, A, l;
1068
+ return (((h = (y = e.value) == null ? void 0 : y.calculatedPrices) == null ? void 0 : h.length) ?? 0) > 0 ? (A = (K = e.value) == null ? void 0 : K.calculatedPrices) == null ? void 0 : A[0] : (l = e.value) == null ? void 0 : l.calculatedPrice;
1054
1069
  }
1055
1070
  ), n = c(() => {
1056
1071
  var y;
1057
1072
  return (y = t == null ? void 0 : t.value) == null ? void 0 : y.referencePrice;
1058
- }), a = c(() => {
1059
- var y, v;
1060
- return (((v = (y = e.value) == null ? void 0 : y.calculatedPrices) == null ? void 0 : v.length) ?? 0) > 1;
1061
- }), r = c(
1073
+ }), r = c(() => {
1074
+ var y, h;
1075
+ return (((h = (y = e.value) == null ? void 0 : y.calculatedPrices) == null ? void 0 : h.length) ?? 0) > 1;
1076
+ }), a = c(
1062
1077
  () => {
1063
- var y, v, A, K, l, p;
1064
- return !!((y = e.value) != null && y.parentId) && ((A = (v = e.value) == null ? void 0 : v.calculatedCheapestPrice) == null ? void 0 : A.hasRange) && ((K = t == null ? void 0 : t.value) == null ? void 0 : K.unitPrice) !== ((l = s == null ? void 0 : s.value) == null ? void 0 : l.unitPrice) && ((p = s == null ? void 0 : s.value) == null ? void 0 : p.unitPrice);
1078
+ var y, h, K, A, l, m;
1079
+ return !!((y = e.value) != null && y.parentId) && ((K = (h = e.value) == null ? void 0 : h.calculatedCheapestPrice) == null ? void 0 : K.hasRange) && ((A = t == null ? void 0 : t.value) == null ? void 0 : A.unitPrice) !== ((l = s == null ? void 0 : s.value) == null ? void 0 : l.unitPrice) && ((m = s == null ? void 0 : s.value) == null ? void 0 : m.unitPrice);
1065
1080
  }
1066
1081
  ), u = c(
1067
1082
  () => {
1068
- var y, v;
1069
- return a.value && X(e.value).length > 1 ? (v = (y = e.value) == null ? void 0 : y.calculatedPrices) == null ? void 0 : v.reduce((A, K) => K.unitPrice < A.unitPrice ? K : A) : t.value;
1083
+ var y, h;
1084
+ return r.value && X(e.value).length > 1 ? (h = (y = e.value) == null ? void 0 : y.calculatedPrices) == null ? void 0 : h.reduce((K, A) => A.unitPrice < K.unitPrice ? A : K) : t.value;
1070
1085
  }
1071
1086
  ), o = c(
1072
1087
  () => {
1073
1088
  var y;
1074
1089
  return (y = u.value) == null ? void 0 : y.unitPrice;
1075
1090
  }
1076
- ), h = c(
1091
+ ), f = c(
1077
1092
  () => {
1078
1093
  var y;
1079
1094
  return (y = u.value) == null ? void 0 : y.totalPrice;
@@ -1081,48 +1096,48 @@ function _t(e) {
1081
1096
  ), C = c(
1082
1097
  () => u.value
1083
1098
  ), d = c(() => {
1084
- var y, v;
1085
- return !!((v = (y = u.value) == null ? void 0 : y.listPrice) != null && v.percentage);
1099
+ var y, h;
1100
+ return !!((h = (y = u.value) == null ? void 0 : y.listPrice) != null && h.percentage);
1086
1101
  }), P = c(
1087
1102
  () => {
1088
- var y, v, A;
1089
- return (A = (v = (y = e.value) == null ? void 0 : y.calculatedPrice) == null ? void 0 : v.regulationPrice) == null ? void 0 : A.price;
1103
+ var y, h, K;
1104
+ return (K = (h = (y = e.value) == null ? void 0 : y.calculatedPrice) == null ? void 0 : h.regulationPrice) == null ? void 0 : K.price;
1090
1105
  }
1091
1106
  ), O = c(() => X(e.value));
1092
1107
  return {
1093
1108
  price: C,
1094
- totalPrice: h,
1109
+ totalPrice: f,
1095
1110
  unitPrice: o,
1096
- displayFromVariants: r,
1097
- displayFrom: a,
1111
+ displayFromVariants: a,
1112
+ displayFrom: r,
1098
1113
  tierPrices: O,
1099
1114
  referencePrice: n,
1100
1115
  isListPrice: d,
1101
1116
  regulationPrice: P
1102
1117
  };
1103
1118
  }
1104
- function it(e, s) {
1119
+ function ct(e, s) {
1105
1120
  var n;
1106
1121
  const t = (n = e.extensions) == null ? void 0 : n.variants;
1107
- return s.length === 0 ? (t == null ? void 0 : t.find((a) => {
1108
- var r;
1109
- return ((r = a.optionIds) == null ? void 0 : r.length) === 0;
1110
- })) ?? (t == null ? void 0 : t[0]) : t == null ? void 0 : t.find((a) => {
1111
- var r;
1112
- return (r = a.optionIds) == null ? void 0 : r.every((u) => s.includes(u));
1122
+ return s.length === 0 ? (t == null ? void 0 : t.find((r) => {
1123
+ var a;
1124
+ return ((a = r.optionIds) == null ? void 0 : a.length) === 0;
1125
+ })) ?? (t == null ? void 0 : t[0]) : t == null ? void 0 : t.find((r) => {
1126
+ var a;
1127
+ return (a = r.optionIds) == null ? void 0 : a.every((u) => s.includes(u));
1113
1128
  });
1114
1129
  }
1115
- function en(e, s) {
1116
- return c(() => it(i(e), i(s)));
1130
+ function nn(e, s) {
1131
+ return c(() => ct(i(e), i(s)));
1117
1132
  }
1118
- function tn(e) {
1133
+ function sn(e) {
1119
1134
  return c(() => {
1120
- var s, t, n, a, r, u;
1121
- return !!((t = (s = i(e)) == null ? void 0 : s.customer) != null && t.id) && !!((a = (n = i(e)) == null ? void 0 : n.customer) != null && a.active) && !((u = (r = i(e)) == null ? void 0 : r.customer) != null && u.guest);
1135
+ var s, t, n, r, a, u;
1136
+ return !!((t = (s = i(e)) == null ? void 0 : s.customer) != null && t.id) && !!((r = (n = i(e)) == null ? void 0 : n.customer) != null && r.active) && !((u = (a = i(e)) == null ? void 0 : a.customer) != null && u.guest);
1122
1137
  });
1123
1138
  }
1124
- function nn(e) {
1125
- const s = Fe(e ? { body: e } : void 0), t = c(() => {
1139
+ function rn(e) {
1140
+ const s = Re(e ? { body: e } : void 0), t = c(() => {
1126
1141
  var d;
1127
1142
  return (d = s.data) == null ? void 0 : d.value;
1128
1143
  }), n = c(
@@ -1130,12 +1145,12 @@ function nn(e) {
1130
1145
  var d;
1131
1146
  return !!((d = t.value) != null && d.id) && !!t.value.active && !t.value.guest;
1132
1147
  }
1133
- ), a = c(
1148
+ ), r = c(
1134
1149
  () => {
1135
1150
  var d;
1136
1151
  return !!((d = t.value) != null && d.id) && !t.value.guest;
1137
1152
  }
1138
- ), r = c(() => {
1153
+ ), a = c(() => {
1139
1154
  var d;
1140
1155
  return !!((d = t.value) != null && d.guest);
1141
1156
  }), u = c(
@@ -1148,7 +1163,7 @@ function nn(e) {
1148
1163
  var d;
1149
1164
  return ((d = t.value) == null ? void 0 : d.defaultShippingAddressId) || null;
1150
1165
  }
1151
- ), h = c(
1166
+ ), f = c(
1152
1167
  () => {
1153
1168
  var d;
1154
1169
  return ((d = t.value) == null ? void 0 : d.defaultBillingAddress) || null;
@@ -1163,104 +1178,105 @@ function nn(e) {
1163
1178
  // Computed properties
1164
1179
  user: t,
1165
1180
  isLoggedIn: n,
1166
- isCustomerSession: a,
1167
- isGuestSession: r,
1181
+ isCustomerSession: r,
1182
+ isGuestSession: a,
1168
1183
  defaultBillingAddressId: u,
1169
1184
  defaultShippingAddressId: o,
1170
- userDefaultBillingAddress: h,
1185
+ userDefaultBillingAddress: f,
1171
1186
  userDefaultShippingAddress: C,
1172
1187
  // Expose queries and mutations directly
1173
1188
  customerQuery: s
1174
1189
  };
1175
1190
  }
1176
1191
  export {
1177
- pt as absolutizeSeoUrl,
1178
- w as addressKeys,
1192
+ gt as absolutizeSeoUrl,
1193
+ R as addressKeys,
1179
1194
  x as cartKeys,
1180
1195
  B as categoryKeys,
1181
- R as contextKeys,
1182
- T as countryKeys,
1183
- F as customerKeys,
1184
- it as getProductVariantForOptions,
1185
- re as isAsynchronousOrder,
1196
+ F as contextKeys,
1197
+ j as countryKeys,
1198
+ I as customerKeys,
1199
+ ct as getProductVariantForOptions,
1186
1200
  ee as languageKey,
1187
1201
  b as navigationKeys,
1188
1202
  U as orderKeys,
1189
- D as paymentKeys,
1190
- L as productKeys,
1191
- je as readPaymentMethodOperation,
1192
- rt as readShippingMethodOperation,
1203
+ N as paymentKeys,
1204
+ w as productKeys,
1205
+ Te as readPaymentMethodOperation,
1206
+ at as readShippingMethodOperation,
1193
1207
  V as relativizeSeoUrl,
1194
- j as salutationKeys,
1195
- E as seoUrlKeys,
1196
- N as shippingKeys,
1208
+ E as salutationKeys,
1209
+ T as seoUrlKeys,
1210
+ D as shippingKeys,
1197
1211
  _ as shopwareClientKey,
1198
- g as unrefOptions,
1199
- St as useAddLineItemMutation,
1200
- wt as useChangeEmailMutation,
1212
+ p as unrefOptions,
1213
+ Pt as useAddLineItemMutation,
1214
+ Rt as useChangeEmailMutation,
1201
1215
  Nt as useChangePasswordMutation,
1202
- Rt as useChangeProfileMutation,
1203
- mt as useCheckoutAddresses,
1204
- vt as useCreateCustomerAddressMutation,
1205
- Ot as useCreateOrderMutation,
1206
- xt as useDefaultBillingAddressMutation,
1207
- Ut as useDefaultShippingAddressMutation,
1208
- qt as useDeleteCustomerAddressMutation,
1209
- bt as useDeleteCustomerMutation,
1216
+ Ft as useChangeProfileMutation,
1217
+ ft as useCheckoutAddresses,
1218
+ qt as useCreateCustomerAddressMutation,
1219
+ Kt as useCreateOrderMutation,
1220
+ Ut as useDefaultBillingAddressMutation,
1221
+ bt as useDefaultShippingAddressMutation,
1222
+ Ct as useDeleteCustomerAddressMutation,
1223
+ kt as useDeleteCustomerMutation,
1210
1224
  jt as useHandlePaymentMutation,
1211
- tn as useIsLoggedIn,
1225
+ sn as useIsLoggedIn,
1212
1226
  se as useListAddressQuery,
1213
1227
  ne as useListAddressQueryOptions,
1214
- Ft as useLoginCustomerMutation,
1215
- It as useLogoutCustomerMutation,
1216
- gt as useOptimistic,
1217
- ht as useOrderDetails,
1218
- ft as useOrderPayment,
1219
- Tt as useOrderSetPaymentMutation,
1220
- Zt as usePagination,
1221
- Jt as usePaymentMethods,
1222
- _t as useProductPrice,
1223
- en as useProductVariantForOptions,
1224
- Pt as useReadCartQuery,
1225
- he as useReadCartQueryOptions,
1226
- Vt as useReadCategoryListQuery,
1227
- He as useReadCategoryListQueryOptions,
1228
- $t as useReadCompactProductListingQuery,
1229
- Je as useReadCompactProductListingQueryOptions,
1228
+ It as useLoginCustomerMutation,
1229
+ Lt as useLogoutCustomerMutation,
1230
+ mt as useOptimistic,
1231
+ vt as useOrderDetails,
1232
+ ht as useOrderPayment,
1233
+ Vt as useOrderSetPaymentMutation,
1234
+ en as usePagination,
1235
+ Yt as usePaymentMethods,
1236
+ tn as useProductPrice,
1237
+ nn as useProductVariantForOptions,
1238
+ Qt as useReadCartQuery,
1239
+ me as useReadCartQueryOptions,
1240
+ $t as useReadCategoryListQuery,
1241
+ Ge as useReadCategoryListQueryOptions,
1242
+ zt as useReadCompactProductListingQuery,
1243
+ We as useReadCompactProductListingQueryOptions,
1230
1244
  k as useReadContextQuery,
1231
- ue as useReadContextQueryOptions,
1232
- Kt as useReadCountryQuery,
1233
- Qe as useReadCountryQueryOptions,
1234
- Ye as useReadCustomProductDetailOptions,
1235
- zt as useReadCustomProductDetailQuery,
1236
- Fe as useReadCustomerQuery,
1237
- Re as useReadCustomerQueryOptions,
1245
+ ae as useReadContextQueryOptions,
1246
+ wt as useReadCountryQuery,
1247
+ Pe as useReadCountryQueryOptions,
1248
+ Xe as useReadCustomProductDetailOptions,
1249
+ Gt as useReadCustomProductDetailQuery,
1250
+ Re as useReadCustomerQuery,
1251
+ we as useReadCustomerQueryOptions,
1238
1252
  At as useReadLanguageQuery,
1239
- Se as useReadLanguageQueryOptions,
1253
+ Ce as useReadLanguageQueryOptions,
1240
1254
  Et as useReadNavigationQuery,
1241
- Ee as useReadNavigationQueryOptions,
1242
- le as useReadOrderQuery,
1243
- ce as useReadOrderQueryOptions,
1244
- Ve as useReadPaymentMethodQuery,
1245
- Te as useReadPaymentMethodQueryOptions,
1246
- Ht as useReadSalutationQuery,
1247
- tt as useReadSalutationQueryOptions,
1248
- Wt as useReadSeoUrlQuery,
1249
- st as useReadSeoUrlQueryOptions,
1250
- ut as useReadShippingMethodQuery,
1251
- at as useReadShippingMethodQueryOptions,
1252
- Dt as useRecoveryPasswordMutation,
1253
- kt as useRegisterConfirmMutation,
1254
- Lt as useRegisterCustomerMutation,
1255
- Qt as useRemoveLineItemMutation,
1256
- Gt as useSearchPageQuery,
1257
- _e as useSearchPageQueryOptions,
1258
- Bt as useSendRecoveryMailMutation,
1259
- Yt as useSeoUrl,
1260
- Xt as useShippingMethods,
1261
- m as useShopwareQueryClient,
1255
+ Ne as useReadNavigationQueryOptions,
1256
+ ce as useReadOrderQuery,
1257
+ ie as useReadOrderQueryOptions,
1258
+ je as useReadPaymentMethodQuery,
1259
+ Ee as useReadPaymentMethodQueryOptions,
1260
+ Wt as useReadProductQuery,
1261
+ et as useReadProductQueryOptions,
1262
+ Jt as useReadSalutationQuery,
1263
+ nt as useReadSalutationQueryOptions,
1264
+ Xt as useReadSeoUrlQuery,
1265
+ rt as useReadSeoUrlQueryOptions,
1266
+ ot as useReadShippingMethodQuery,
1267
+ ut as useReadShippingMethodQueryOptions,
1268
+ Tt as useRecoveryPasswordMutation,
1269
+ Bt as useRegisterConfirmMutation,
1270
+ xt as useRegisterCustomerMutation,
1271
+ Mt as useRemoveLineItemMutation,
1272
+ Ht as useSearchPageQuery,
1273
+ Ze as useSearchPageQueryOptions,
1274
+ Dt as useSendRecoveryMailMutation,
1275
+ _t as useSeoUrl,
1276
+ Zt as useShippingMethods,
1277
+ g as useShopwareQueryClient,
1262
1278
  $ as useUpdateContextMutation,
1263
- Ct as useUpdateCustomerAddressMutation,
1264
- Mt as useUpdateLineItemMutation,
1265
- nn as useUser
1279
+ St as useUpdateCustomerAddressMutation,
1280
+ Ot as useUpdateLineItemMutation,
1281
+ rn as useUser
1266
1282
  };