@instockng/storefront-ui 1.0.68 → 1.0.70
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/index100.mjs +32 -42
- package/dist/index101.mjs +2 -2
- package/dist/index102.mjs +2 -2
- package/dist/index103.mjs +2 -28
- package/dist/index104.mjs +26 -16
- package/dist/index105.mjs +13 -210
- package/dist/index106.mjs +194 -159
- package/dist/index107.mjs +175 -17
- package/dist/index108.mjs +14 -15
- package/dist/index109.mjs +15 -25
- package/dist/index110.mjs +27 -150
- package/dist/index111.mjs +151 -15
- package/dist/index112.mjs +13 -24
- package/dist/index113.mjs +22 -75
- package/dist/index114.mjs +76 -30
- package/dist/index115.mjs +32 -139
- package/dist/index116.mjs +135 -45
- package/dist/index117.mjs +51 -19
- package/dist/index118.mjs +15 -19
- package/dist/index119.mjs +21 -17
- package/dist/index120.mjs +16 -18
- package/dist/index121.mjs +17 -13
- package/dist/index122.mjs +13 -14
- package/dist/index123.mjs +13 -12
- package/dist/index124.mjs +14 -58
- package/dist/index125.mjs +57 -10
- package/dist/index126.mjs +11 -32
- package/dist/index127.mjs +32 -17
- package/dist/index128.mjs +17 -27
- package/dist/index129.mjs +26 -19
- package/dist/index130.mjs +20 -12
- package/dist/index131.mjs +12 -14
- package/dist/index132.mjs +14 -40
- package/dist/index133.mjs +40 -16
- package/dist/index134.mjs +16 -261
- package/dist/index135.mjs +262 -64
- package/dist/index136.mjs +69 -7
- package/dist/index137.mjs +8 -2
- package/dist/index138.mjs +2 -2
- package/dist/index139.mjs +2 -33
- package/dist/index140.mjs +33 -2
- package/dist/index141.mjs +2 -21
- package/dist/index142.mjs +19 -54
- package/dist/index143.mjs +55 -28
- package/dist/index144.mjs +28 -6
- package/dist/index145.mjs +6 -51
- package/dist/index146.mjs +51 -5
- package/dist/index147.mjs +6 -12
- package/dist/index148.mjs +12 -7
- package/dist/index149.mjs +6 -27
- package/dist/index150.mjs +28 -2
- package/dist/index151.mjs +2 -70
- package/dist/index152.mjs +67 -164
- package/dist/index153.mjs +167 -2
- package/dist/index154.mjs +2 -2
- package/dist/index155.mjs +2 -2
- package/dist/index156.mjs +2 -18
- package/dist/index157.mjs +2 -32
- package/dist/index158.mjs +14 -34
- package/dist/index159.mjs +25 -11
- package/dist/index160.mjs +34 -14
- package/dist/index161.mjs +18 -2
- package/dist/index162.mjs +11 -13
- package/dist/index163.mjs +2 -46
- package/dist/index164.mjs +20 -2
- package/dist/index165.mjs +41 -25
- package/dist/index166.mjs +2 -18
- package/dist/index167.mjs +30 -2
- package/dist/index168.mjs +18 -2
- package/dist/index169.mjs +2 -2
- package/dist/index170.mjs +2 -2
- package/dist/index171.mjs +2 -72
- package/dist/index172.mjs +2 -2
- package/dist/index173.mjs +59 -40
- package/dist/index175.mjs +48 -31
- package/dist/index176.mjs +2 -152
- package/dist/index177.mjs +36 -2
- package/dist/index178.mjs +152 -2
- package/dist/index179.mjs +2 -19
- package/dist/index180.mjs +2 -2
- package/dist/index181.mjs +19 -2
- package/dist/index182.mjs +2 -26
- package/dist/index183.mjs +2 -2
- package/dist/index184.mjs +26 -2
- package/dist/index185.mjs +2 -24
- package/dist/index186.mjs +2 -23
- package/dist/index187.mjs +24 -2
- package/dist/index188.mjs +23 -2
- package/dist/index189.mjs +2 -2
- package/dist/index190.mjs +2 -23
- package/dist/index192.mjs +16 -16
- package/dist/index193.mjs +2 -2
- package/dist/index194.mjs +23 -2
- package/dist/index195.mjs +2 -2
- package/dist/index196.mjs +2 -23
- package/dist/index197.mjs +2 -2
- package/dist/index198.mjs +15 -15
- package/dist/index200.mjs +23 -2
- package/dist/index201.mjs +2 -2
- package/dist/index202.mjs +2 -2
- package/dist/index203.mjs +2 -2
- package/dist/index205.mjs +2 -2
- package/dist/index207.mjs +2 -127
- package/dist/index208.mjs +2 -2
- package/dist/index209.mjs +123 -70
- package/dist/index210.mjs +2 -74
- package/dist/index211.mjs +74 -2
- package/dist/index212.mjs +73 -30
- package/dist/index213.mjs +13 -11
- package/dist/index214.mjs +7 -4
- package/dist/index215.mjs +30 -3
- package/dist/index216.mjs +11 -13
- package/dist/index217.mjs +4 -7
- package/dist/index218.mjs +3 -11
- package/dist/index219.mjs +11 -4
- package/dist/index220.mjs +5 -33
- package/dist/index221.mjs +33 -31
- package/dist/index222.mjs +29 -26
- package/dist/index223.mjs +26 -59
- package/dist/index224.mjs +61 -2
- package/dist/index225.mjs +2 -108
- package/dist/index226.mjs +2 -2
- package/dist/index227.mjs +2 -2
- package/dist/index228.mjs +2 -2
- package/dist/index229.mjs +108 -2
- package/dist/index23.mjs +14 -13
- package/dist/index230.mjs +2 -2
- package/dist/index231.mjs +2 -2
- package/dist/index232.mjs +2 -2
- package/dist/index233.mjs +2 -37
- package/dist/index234.mjs +2 -2
- package/dist/index236.mjs +37 -2
- package/dist/index238.mjs +1 -1
- package/dist/index240.mjs +3 -3
- package/dist/index241.mjs +1 -1
- package/dist/index242.mjs +2 -2
- package/dist/index243.mjs +2 -2
- package/dist/index244.mjs +2 -2
- package/dist/index245.mjs +2 -2
- package/dist/index246.mjs +2 -2
- package/dist/index249.mjs +2 -2
- package/dist/index250.mjs +2 -2
- package/dist/index251.mjs +2 -2
- package/dist/index252.mjs +2 -2
- package/dist/index253.mjs +4 -2
- package/dist/index254.mjs +2 -4
- package/dist/index255.mjs +2 -3
- package/dist/index256.mjs +3 -2
- package/dist/index257.mjs +2 -2
- package/dist/index258.mjs +2 -17
- package/dist/index259.mjs +15 -11
- package/dist/index26.mjs +6 -5
- package/dist/index260.mjs +13 -6
- package/dist/index261.mjs +6 -30
- package/dist/index262.mjs +30 -2
- package/dist/index263.mjs +2 -2
- package/dist/index264.mjs +2 -2
- package/dist/index265.mjs +2 -18
- package/dist/index266.mjs +2 -47
- package/dist/index267.mjs +2 -2
- package/dist/index268.mjs +91 -2
- package/dist/index269.mjs +2 -2
- package/dist/index27.mjs +17 -17
- package/dist/index270.mjs +16 -89
- package/dist/index271.mjs +47 -2
- package/dist/index272.mjs +2 -2
- package/dist/index273.mjs +2 -2
- package/dist/index274.mjs +2 -2
- package/dist/index275.mjs +5 -0
- package/dist/index28.mjs +45 -45
- package/dist/index29.mjs +7 -7
- package/dist/index30.mjs +5 -5
- package/dist/index31.mjs +6 -6
- package/dist/index32.mjs +4 -0
- package/dist/index34.mjs +72 -68
- package/dist/index35.mjs +1 -1
- package/dist/index36.mjs +1 -1
- package/dist/index37.mjs +1 -1
- package/dist/index38.mjs +1 -1
- package/dist/index39.mjs +1 -1
- package/dist/index40.mjs +2 -2
- package/dist/index42.mjs +2 -2
- package/dist/index45.mjs +3 -3
- package/dist/index49.mjs +1 -1
- package/dist/index54.mjs +17 -17
- package/dist/index55.mjs +2 -2
- package/dist/index56.mjs +50 -82
- package/dist/index57.mjs +13 -75
- package/dist/index58.mjs +98 -76
- package/dist/index59.mjs +86 -56
- package/dist/index60.mjs +55 -57
- package/dist/index61.mjs +89 -55
- package/dist/index62.mjs +101 -13
- package/dist/index63.mjs +1 -1
- package/dist/index64.mjs +77 -45
- package/dist/index65.mjs +58 -102
- package/dist/index66.mjs +45 -111
- package/dist/index67.mjs +60 -22
- package/dist/index68.mjs +4 -152
- package/dist/index69.mjs +23 -2
- package/dist/index70.mjs +21 -20
- package/dist/index71.mjs +149 -71
- package/dist/index72.mjs +2 -15
- package/dist/index73.mjs +68 -56
- package/dist/index74.mjs +15 -5
- package/dist/index75.mjs +63 -2
- package/dist/index76.mjs +34 -6
- package/dist/index77.mjs +42 -1133
- package/dist/index78.mjs +232 -17
- package/dist/index79.mjs +5 -54
- package/dist/index80.mjs +129 -28
- package/dist/index81.mjs +68 -2
- package/dist/index82.mjs +80 -228
- package/dist/index83.mjs +28 -5
- package/dist/index84.mjs +7 -132
- package/dist/index85.mjs +69 -62
- package/dist/index86.mjs +3 -86
- package/dist/index87.mjs +2 -29
- package/dist/index88.mjs +81 -7
- package/dist/index89.mjs +51 -72
- package/dist/index90.mjs +5 -3
- package/dist/index91.mjs +5 -2
- package/dist/index92.mjs +169 -73
- package/dist/index93.mjs +50 -51
- package/dist/index94.mjs +69 -6
- package/dist/index95.mjs +2 -5
- package/dist/index96.mjs +5 -178
- package/dist/index97.mjs +1134 -53
- package/dist/index98.mjs +20 -69
- package/dist/index99.mjs +55 -34
- package/dist/providers/StorefrontProvider.d.ts +0 -1
- package/dist/providers/StorefrontProvider.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/providers/StorefrontProvider.tsx +0 -1
package/dist/index28.mjs
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { createRpcClients as
|
|
3
|
-
|
|
4
|
-
async function
|
|
5
|
-
const s = await
|
|
6
|
-
param: { id:
|
|
2
|
+
import { createRpcClients as n } from "./index26.mjs";
|
|
3
|
+
import { API_BASE_URL as o } from "./index23.mjs";
|
|
4
|
+
async function p(e) {
|
|
5
|
+
const s = await n(o).carts[":id"].$get({
|
|
6
|
+
param: { id: e }
|
|
7
7
|
});
|
|
8
8
|
if (!s.ok)
|
|
9
9
|
throw new Error(`Failed to fetch cart: ${s.statusText}`);
|
|
10
10
|
return s.json();
|
|
11
11
|
}
|
|
12
|
-
async function
|
|
13
|
-
const s = await
|
|
14
|
-
json: { brandSlug:
|
|
12
|
+
async function w(e) {
|
|
13
|
+
const s = await n(o).carts.index.$post({
|
|
14
|
+
json: { brandSlug: e }
|
|
15
15
|
});
|
|
16
16
|
if (!s.ok)
|
|
17
17
|
throw new Error(`Failed to create cart: ${s.statusText}`);
|
|
18
18
|
return s.json();
|
|
19
19
|
}
|
|
20
|
-
async function
|
|
21
|
-
const t = await
|
|
22
|
-
param: { id:
|
|
20
|
+
async function f(e, r) {
|
|
21
|
+
const t = await n(o).carts[":id"].$patch({
|
|
22
|
+
param: { id: e },
|
|
23
23
|
// @ts-expect-error - Hono RPC type inference issue
|
|
24
|
-
json:
|
|
24
|
+
json: r
|
|
25
25
|
});
|
|
26
26
|
if (!t.ok)
|
|
27
27
|
throw new Error(`Failed to update cart: ${t.statusText}`);
|
|
28
28
|
return t.json();
|
|
29
29
|
}
|
|
30
|
-
async function
|
|
31
|
-
const c = await
|
|
32
|
-
param: { id:
|
|
30
|
+
async function $(e, r, s, t, a, i, d) {
|
|
31
|
+
const c = await n(o).carts[":id"].items.$post({
|
|
32
|
+
param: { id: e },
|
|
33
33
|
// @ts-expect-error - Hono RPC type inference issue
|
|
34
|
-
json: { sku:
|
|
34
|
+
json: { sku: r, quantity: s, fbc: t, fbp: a, ttp: i, ttclid: d }
|
|
35
35
|
});
|
|
36
36
|
if (!c.ok)
|
|
37
37
|
throw new Error(`Failed to add item to cart: ${c.statusText}`);
|
|
38
38
|
return c.json();
|
|
39
39
|
}
|
|
40
|
-
async function h(
|
|
41
|
-
const a = await
|
|
42
|
-
param: { id:
|
|
40
|
+
async function h(e, r, s) {
|
|
41
|
+
const a = await n(o).carts[":id"].items[":itemId"].$patch({
|
|
42
|
+
param: { id: e, itemId: r },
|
|
43
43
|
// @ts-expect-error - Hono RPC type inference issue
|
|
44
44
|
json: { quantity: s }
|
|
45
45
|
});
|
|
@@ -47,61 +47,61 @@ async function h(n, e, s) {
|
|
|
47
47
|
throw new Error(`Failed to update cart item: ${a.statusText}`);
|
|
48
48
|
return a.json();
|
|
49
49
|
}
|
|
50
|
-
async function
|
|
51
|
-
const t = await
|
|
52
|
-
param: { id:
|
|
50
|
+
async function j(e, r) {
|
|
51
|
+
const t = await n(o).carts[":id"].items[":itemId"].$delete({
|
|
52
|
+
param: { id: e, itemId: r }
|
|
53
53
|
});
|
|
54
54
|
if (!t.ok)
|
|
55
55
|
throw new Error(`Failed to remove cart item: ${t.statusText}`);
|
|
56
56
|
return t.json();
|
|
57
57
|
}
|
|
58
|
-
async function
|
|
59
|
-
const t = await
|
|
60
|
-
param: { id:
|
|
58
|
+
async function y(e, r) {
|
|
59
|
+
const t = await n(o).carts[":id"]["apply-discount"].$post({
|
|
60
|
+
param: { id: e },
|
|
61
61
|
// @ts-expect-error - Hono RPC type inference issue
|
|
62
|
-
json: { code:
|
|
62
|
+
json: { code: r }
|
|
63
63
|
});
|
|
64
64
|
if (!t.ok)
|
|
65
65
|
throw new Error(`Failed to apply discount: ${t.statusText}`);
|
|
66
66
|
return t.json();
|
|
67
67
|
}
|
|
68
|
-
async function k(
|
|
69
|
-
const s = await
|
|
70
|
-
param: { id:
|
|
68
|
+
async function k(e) {
|
|
69
|
+
const s = await n(o).carts[":id"]["remove-discount"].$post({
|
|
70
|
+
param: { id: e }
|
|
71
71
|
});
|
|
72
72
|
if (!s.ok)
|
|
73
73
|
throw new Error(`Failed to remove discount: ${s.statusText}`);
|
|
74
74
|
return s.json();
|
|
75
75
|
}
|
|
76
|
-
async function
|
|
77
|
-
const t = await
|
|
78
|
-
param: { id:
|
|
76
|
+
async function x(e, r) {
|
|
77
|
+
const t = await n(o).carts[":id"].checkout.$post({
|
|
78
|
+
param: { id: e },
|
|
79
79
|
// @ts-expect-error - Hono RPC type inference issue
|
|
80
|
-
json:
|
|
80
|
+
json: r
|
|
81
81
|
});
|
|
82
82
|
if (!t.ok)
|
|
83
83
|
throw new Error(`Failed to checkout cart: ${t.statusText}`);
|
|
84
84
|
return t.json();
|
|
85
85
|
}
|
|
86
|
-
async function
|
|
87
|
-
const t = await
|
|
88
|
-
param: { id:
|
|
86
|
+
async function E(e, r) {
|
|
87
|
+
const t = await n(o).carts[":id"].recommendations.$get({
|
|
88
|
+
param: { id: e },
|
|
89
89
|
// @ts-ignore - Hono RPC type inference issue with query parameters
|
|
90
|
-
query: { limit:
|
|
90
|
+
query: { limit: r.toString() }
|
|
91
91
|
});
|
|
92
92
|
if (!t.ok)
|
|
93
93
|
throw new Error(`Failed to fetch cart recommendations: ${t.statusText}`);
|
|
94
94
|
return t.json();
|
|
95
95
|
}
|
|
96
96
|
export {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
97
|
+
$ as addCartItem,
|
|
98
|
+
y as applyDiscount,
|
|
99
|
+
x as checkoutCart,
|
|
100
|
+
w as createCart,
|
|
101
|
+
p as fetchCart,
|
|
102
|
+
E as fetchCartRecommendations,
|
|
103
|
+
j as removeCartItem,
|
|
104
104
|
k as removeDiscount,
|
|
105
|
-
|
|
105
|
+
f as updateCart,
|
|
106
106
|
h as updateCartItem
|
|
107
107
|
};
|
package/dist/index29.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { createRpcClients as s } from "./index26.mjs";
|
|
3
|
-
|
|
4
|
-
async function
|
|
3
|
+
import { API_BASE_URL as i } from "./index23.mjs";
|
|
4
|
+
async function d(r, e) {
|
|
5
5
|
const t = await s(i).orders[":id"][":token"].$get({
|
|
6
6
|
param: { id: r, token: e }
|
|
7
7
|
});
|
|
@@ -9,7 +9,7 @@ async function a(r, e) {
|
|
|
9
9
|
throw new Error(`Failed to fetch order: ${t.statusText}`);
|
|
10
10
|
return t.json();
|
|
11
11
|
}
|
|
12
|
-
async function
|
|
12
|
+
async function m(r, e) {
|
|
13
13
|
const t = await s(i).orders.confirm.$post({
|
|
14
14
|
json: { orderId: r, token: e }
|
|
15
15
|
});
|
|
@@ -17,7 +17,7 @@ async function d(r, e) {
|
|
|
17
17
|
throw new Error(`Failed to confirm order: ${t.statusText}`);
|
|
18
18
|
return t.json();
|
|
19
19
|
}
|
|
20
|
-
async function
|
|
20
|
+
async function f(r, e, o = 4) {
|
|
21
21
|
const n = await s(i).orders[":id"][":token"].recommendations.$get({
|
|
22
22
|
param: { id: r, token: e },
|
|
23
23
|
// @ts-ignore - Hono RPC type inference issue with query parameters
|
|
@@ -28,7 +28,7 @@ async function m(r, e, o = 4) {
|
|
|
28
28
|
return n.json();
|
|
29
29
|
}
|
|
30
30
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
m as confirmOrder,
|
|
32
|
+
d as fetchOrder,
|
|
33
|
+
f as fetchOrderRecommendations
|
|
34
34
|
};
|
package/dist/index30.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { createRpcClients as
|
|
3
|
-
|
|
4
|
-
async function
|
|
5
|
-
const e = await
|
|
2
|
+
import { createRpcClients as o } from "./index26.mjs";
|
|
3
|
+
import { API_BASE_URL as r } from "./index23.mjs";
|
|
4
|
+
async function c(t) {
|
|
5
|
+
const e = await o(r).deliveryZones.index.$get({
|
|
6
6
|
query: t ? { brandId: t } : {}
|
|
7
7
|
});
|
|
8
8
|
if (!e.ok)
|
|
@@ -10,5 +10,5 @@ async function r(t) {
|
|
|
10
10
|
return e.json();
|
|
11
11
|
}
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
c as fetchDeliveryZones
|
|
14
14
|
};
|
package/dist/index31.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { createRpcClients as
|
|
3
|
-
|
|
4
|
-
async function
|
|
5
|
-
const t = await
|
|
6
|
-
param: { slug:
|
|
2
|
+
import { createRpcClients as e } from "./index26.mjs";
|
|
3
|
+
import { API_BASE_URL as n } from "./index23.mjs";
|
|
4
|
+
async function c(r) {
|
|
5
|
+
const t = await e(n).brands[":slug"].$get({
|
|
6
|
+
param: { slug: r }
|
|
7
7
|
});
|
|
8
8
|
if (!t.ok)
|
|
9
9
|
throw new Error(`Failed to fetch brand: ${t.statusText}`);
|
|
10
10
|
return t.json();
|
|
11
11
|
}
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
c as fetchBrandBySlug
|
|
14
14
|
};
|
package/dist/index32.mjs
CHANGED
|
@@ -100,6 +100,10 @@ const d = {
|
|
|
100
100
|
list: (a) => ["admin", "delivery-zones", "zones", "list", a],
|
|
101
101
|
detail: (a) => ["admin", "delivery-zones", "zones", a]
|
|
102
102
|
}
|
|
103
|
+
},
|
|
104
|
+
media: {
|
|
105
|
+
all: ["admin", "media"],
|
|
106
|
+
list: (a) => ["admin", "media", "list", a]
|
|
103
107
|
}
|
|
104
108
|
}
|
|
105
109
|
};
|
package/dist/index34.mjs
CHANGED
|
@@ -1,71 +1,75 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { useGetStats as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
2
|
+
import { useCreateBrand as s, useDeleteBrand as r, useGetBrand as u, useListBrands as o, useUpdateBrand as a } from "./index56.mjs";
|
|
3
|
+
import { useGetCustomerHistory as n } from "./index57.mjs";
|
|
4
|
+
import { useCreateDeliveryZone as p, useCreateState as C, useDeleteDeliveryZone as D, useDeleteState as c, useListDeliveryZones as l, useListStates as G, useUpdateDeliveryZone as f, useUpdateState as m } from "./index58.mjs";
|
|
5
|
+
import { useBulkGenerateDiscountCodes as v, useCreateDiscountCode as y, useDeleteDiscountCode as L, useGetDiscountCode as U, useGetDiscountCodeAnalytics as O, useGetDiscountCodeOverviewStats as S, useListDiscountCodes as A, useUpdateDiscountCode as P } from "./index59.mjs";
|
|
6
|
+
import { useAdjustInventory as h, useGetInventoryTransactions as B, useGetLowStockVariants as I, useListInventory as W, useTransferInventory as Z } from "./index60.mjs";
|
|
7
|
+
import { useAddOrderNote as M, useCreateOrder as k, useDeleteOrder as w, useGetOrder as T, useListOrders as j, useUpdateOrder as E, useUpdateOrderStatus as H } from "./index61.mjs";
|
|
8
|
+
import { useCreateProduct as g, useDeleteProduct as q, useGetProduct as z, useGetProductAddOns as F, useListProducts as J, useUpdateProduct as K, useUpdateProductAddOns as Q } from "./index62.mjs";
|
|
9
|
+
import { useGetStats as X } from "./index63.mjs";
|
|
10
|
+
import { useCreateVariant as _, useDeleteVariant as $, useGetVariantInventory as ee, useListProductVariants as te, useSearchVariants as se, useUpdateVariant as re } from "./index64.mjs";
|
|
11
|
+
import { useCreateWarehouse as oe, useDeleteWarehouse as ae, useGetWarehouseInventory as de, useListWarehouses as ne, useUpdateWarehouse as ie } from "./index65.mjs";
|
|
12
|
+
import { useCleanupExpiredCarts as Ce, useGetAbandonedCart as De, useGetAbandonedCartStats as ce, useListAbandonedCarts as le } from "./index66.mjs";
|
|
13
|
+
import { useDeleteMedia as fe, useListMedia as me, useUploadMedia as xe } from "./index67.mjs";
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
15
|
+
M as useAddOrderNote,
|
|
16
|
+
h as useAdjustInventory,
|
|
17
|
+
v as useBulkGenerateDiscountCodes,
|
|
18
|
+
Ce as useCleanupExpiredCarts,
|
|
19
|
+
s as useCreateBrand,
|
|
20
|
+
p as useCreateDeliveryZone,
|
|
21
|
+
y as useCreateDiscountCode,
|
|
22
|
+
k as useCreateOrder,
|
|
23
|
+
g as useCreateProduct,
|
|
24
|
+
C as useCreateState,
|
|
25
|
+
_ as useCreateVariant,
|
|
26
|
+
oe as useCreateWarehouse,
|
|
27
|
+
r as useDeleteBrand,
|
|
28
|
+
D as useDeleteDeliveryZone,
|
|
29
|
+
L as useDeleteDiscountCode,
|
|
30
|
+
fe as useDeleteMedia,
|
|
31
|
+
w as useDeleteOrder,
|
|
32
|
+
q as useDeleteProduct,
|
|
33
|
+
c as useDeleteState,
|
|
34
|
+
$ as useDeleteVariant,
|
|
35
|
+
ae as useDeleteWarehouse,
|
|
36
|
+
De as useGetAbandonedCart,
|
|
37
|
+
ce as useGetAbandonedCartStats,
|
|
38
|
+
u as useGetBrand,
|
|
39
|
+
n as useGetCustomerHistory,
|
|
40
|
+
U as useGetDiscountCode,
|
|
41
|
+
O as useGetDiscountCodeAnalytics,
|
|
42
|
+
S as useGetDiscountCodeOverviewStats,
|
|
43
|
+
B as useGetInventoryTransactions,
|
|
44
|
+
I as useGetLowStockVariants,
|
|
45
|
+
T as useGetOrder,
|
|
46
|
+
z as useGetProduct,
|
|
47
|
+
F as useGetProductAddOns,
|
|
48
|
+
X as useGetStats,
|
|
49
|
+
ee as useGetVariantInventory,
|
|
50
|
+
de as useGetWarehouseInventory,
|
|
51
|
+
le as useListAbandonedCarts,
|
|
52
|
+
o as useListBrands,
|
|
53
|
+
l as useListDeliveryZones,
|
|
54
|
+
A as useListDiscountCodes,
|
|
55
|
+
W as useListInventory,
|
|
56
|
+
me as useListMedia,
|
|
57
|
+
j as useListOrders,
|
|
58
|
+
te as useListProductVariants,
|
|
59
|
+
J as useListProducts,
|
|
60
|
+
G as useListStates,
|
|
61
|
+
ne as useListWarehouses,
|
|
62
|
+
se as useSearchVariants,
|
|
63
|
+
Z as useTransferInventory,
|
|
64
|
+
a as useUpdateBrand,
|
|
65
|
+
f as useUpdateDeliveryZone,
|
|
66
|
+
P as useUpdateDiscountCode,
|
|
67
|
+
E as useUpdateOrder,
|
|
68
|
+
H as useUpdateOrderStatus,
|
|
69
|
+
K as useUpdateProduct,
|
|
70
|
+
Q as useUpdateProductAddOns,
|
|
71
|
+
m as useUpdateState,
|
|
72
|
+
re as useUpdateVariant,
|
|
73
|
+
ie as useUpdateWarehouse,
|
|
74
|
+
xe as useUploadMedia
|
|
71
75
|
};
|
package/dist/index35.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { useQueryClient as s, useMutation as r } from "@tanstack/react-query";
|
|
3
|
-
import { useQueryUnwrapped as c } from "./
|
|
3
|
+
import { useQueryUnwrapped as c } from "./index68.mjs";
|
|
4
4
|
import { queryKeys as i } from "./index32.mjs";
|
|
5
5
|
import { updateCart as a, createCart as l, applyDiscount as m, removeDiscount as y, addCartItem as p, updateCartItem as C, removeCartItem as q, checkoutCart as f, fetchCart as d, fetchCartRecommendations as b } from "./index28.mjs";
|
|
6
6
|
function S(e, t) {
|
package/dist/index36.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { useMutation as m } from "@tanstack/react-query";
|
|
3
|
-
import { useQueryUnwrapped as u } from "./
|
|
3
|
+
import { useQueryUnwrapped as u } from "./index68.mjs";
|
|
4
4
|
import { queryKeys as o } from "./index32.mjs";
|
|
5
5
|
import { confirmOrder as i, fetchOrder as c, fetchOrderRecommendations as f } from "./index29.mjs";
|
|
6
6
|
function a(e, r, n) {
|
package/dist/index37.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { useQueryUnwrapped as e } from "./
|
|
2
|
+
import { useQueryUnwrapped as e } from "./index68.mjs";
|
|
3
3
|
import { queryKeys as t } from "./index32.mjs";
|
|
4
4
|
import { fetchProductsByBrand as c, fetchProductBySlug as d, fetchProductAddons as n } from "./index27.mjs";
|
|
5
5
|
function f(r, u) {
|
package/dist/index38.mjs
CHANGED
package/dist/index39.mjs
CHANGED
package/dist/index40.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { getDefaultExportFromCjs as x } from "./
|
|
3
|
-
import { __module as q } from "./
|
|
2
|
+
import { getDefaultExportFromCjs as x } from "./index70.mjs";
|
|
3
|
+
import { __module as q } from "./index72.mjs";
|
|
4
4
|
function S(b, p) {
|
|
5
5
|
for (var s = 0; s < p.length; s++) {
|
|
6
6
|
const c = p[s];
|
package/dist/index42.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { getDefaultExportFromCjs as n } from "./
|
|
3
|
-
import { __require as i } from "./
|
|
2
|
+
import { getDefaultExportFromCjs as n } from "./index70.mjs";
|
|
3
|
+
import { __require as i } from "./index71.mjs";
|
|
4
4
|
function s(t, a) {
|
|
5
5
|
for (var o = 0; o < a.length; o++) {
|
|
6
6
|
const e = a[o];
|
package/dist/index45.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { p as S } from "./
|
|
3
|
-
import { t as U } from "./
|
|
4
|
-
import he from "./
|
|
2
|
+
import { p as S } from "./index73.mjs";
|
|
3
|
+
import { t as U } from "./index74.mjs";
|
|
4
|
+
import he from "./index75.mjs";
|
|
5
5
|
const fe = Object.prototype.toString, de = Error.prototype.toString, pe = RegExp.prototype.toString, me = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", ye = /^Symbol\((.*)\)(.*)$/;
|
|
6
6
|
function ge(n) {
|
|
7
7
|
return n != +n ? "NaN" : n === 0 && 1 / n < 0 ? "-0" : "" + n;
|
package/dist/index49.mjs
CHANGED
package/dist/index54.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import a from "./
|
|
3
|
-
import p from "./
|
|
4
|
-
import m from "./
|
|
5
|
-
import i from "./
|
|
6
|
-
import f from "./
|
|
7
|
-
import l from "./
|
|
8
|
-
import c from "./
|
|
9
|
-
import d from "./
|
|
10
|
-
import u from "./
|
|
11
|
-
import { VERSION as x } from "./
|
|
12
|
-
import C from "./
|
|
13
|
-
import A from "./
|
|
14
|
-
import E from "./
|
|
15
|
-
import O from "./
|
|
16
|
-
import S from "./
|
|
17
|
-
import H from "./
|
|
18
|
-
import T from "./
|
|
2
|
+
import a from "./index78.mjs";
|
|
3
|
+
import p from "./index79.mjs";
|
|
4
|
+
import m from "./index80.mjs";
|
|
5
|
+
import i from "./index81.mjs";
|
|
6
|
+
import f from "./index82.mjs";
|
|
7
|
+
import l from "./index83.mjs";
|
|
8
|
+
import c from "./index84.mjs";
|
|
9
|
+
import d from "./index85.mjs";
|
|
10
|
+
import u from "./index86.mjs";
|
|
11
|
+
import { VERSION as x } from "./index87.mjs";
|
|
12
|
+
import C from "./index88.mjs";
|
|
13
|
+
import A from "./index89.mjs";
|
|
14
|
+
import E from "./index90.mjs";
|
|
15
|
+
import O from "./index91.mjs";
|
|
16
|
+
import S from "./index92.mjs";
|
|
17
|
+
import H from "./index93.mjs";
|
|
18
|
+
import T from "./index94.mjs";
|
|
19
19
|
function n(o) {
|
|
20
20
|
const t = new m(o), e = p(m.prototype.request, t);
|
|
21
21
|
return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
|
package/dist/index55.mjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
var p = Object.defineProperty;
|
|
3
3
|
var k = (r, e, i) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[e] = i;
|
|
4
4
|
var h = (r, e, i) => k(r, typeof e != "symbol" ? e + "" : e, i);
|
|
5
|
-
import { serialize as j } from "./
|
|
6
|
-
import { mergePath as U, replaceUrlParam as P, buildSearchParams as S, removeIndexString as w, replaceUrlProtocol as x, deepMerge as C } from "./
|
|
5
|
+
import { serialize as j } from "./index76.mjs";
|
|
6
|
+
import { mergePath as U, replaceUrlParam as P, buildSearchParams as S, removeIndexString as w, replaceUrlProtocol as x, deepMerge as C } from "./index77.mjs";
|
|
7
7
|
var v = (r, e) => new Proxy(() => {
|
|
8
8
|
}, {
|
|
9
9
|
get(t, s) {
|