@instockng/api-client 1.0.34 → 1.0.36
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/backend-types.d.ts +1 -1
- package/dist/fetchers/brands.d.ts +1 -0
- package/dist/fetchers/carts.d.ts +185 -152
- package/dist/fetchers/delivery-zones.d.ts +0 -1
- package/dist/fetchers/orders.d.ts +55 -30
- package/dist/hooks/admin/abandoned-carts.d.ts +36 -34
- package/dist/hooks/admin/brands.d.ts +4 -0
- package/dist/hooks/admin/customers.d.ts +14 -14
- package/dist/hooks/admin/delivery-zones.d.ts +12 -8
- package/dist/hooks/admin/discount-codes.d.ts +20 -15
- package/dist/hooks/admin/index.d.ts +1 -0
- package/dist/hooks/admin/index.js +1 -0
- package/dist/hooks/admin/orders.d.ts +79 -78
- package/dist/hooks/admin/products.d.ts +54 -4
- package/dist/hooks/admin/sales.d.ts +46 -0
- package/dist/hooks/admin/sales.js +180 -0
- package/dist/hooks/admin/stats.d.ts +14 -14
- package/dist/hooks/admin/variants.d.ts +13 -6
- package/dist/hooks/admin/variants.js +6 -5
- package/dist/hooks/admin/warehouses.d.ts +7 -6
- package/dist/hooks/public/brands.d.ts +1 -0
- package/dist/hooks/public/carts.d.ts +185 -152
- package/dist/hooks/public/delivery-zones.d.ts +0 -1
- package/dist/hooks/public/orders.d.ts +55 -30
- package/dist/rpc-client.d.ts +1121 -427
- package/dist/rpc-client.js +1 -0
- package/dist/rpc-types.d.ts +81 -6
- package/dist/utils/query-keys.d.ts +6 -0
- package/dist/utils/query-keys.js +6 -0
- package/package.json +1 -1
package/dist/rpc-client.d.ts
CHANGED
|
@@ -35,19 +35,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
35
35
|
output: {
|
|
36
36
|
id: string;
|
|
37
37
|
brand: {
|
|
38
|
-
createdAt: string;
|
|
39
|
-
updatedAt: string;
|
|
40
|
-
deletedAt: string;
|
|
41
38
|
id: string;
|
|
42
39
|
name: string;
|
|
43
40
|
slug: string;
|
|
44
|
-
logoUrl: string
|
|
41
|
+
logoUrl: string;
|
|
45
42
|
siteUrl: string;
|
|
46
43
|
domain: string;
|
|
47
|
-
metaPixelId: string
|
|
48
|
-
tiktokPixelId: string
|
|
49
|
-
paystackPublicKey: string
|
|
50
|
-
|
|
44
|
+
metaPixelId: string;
|
|
45
|
+
tiktokPixelId: string;
|
|
46
|
+
paystackPublicKey: string;
|
|
47
|
+
freeShippingThreshold: number;
|
|
48
|
+
createdAt: string;
|
|
49
|
+
updatedAt: string;
|
|
50
|
+
deletedAt: string;
|
|
51
51
|
};
|
|
52
52
|
customerPhone: string;
|
|
53
53
|
customerEmail: string;
|
|
@@ -67,9 +67,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
67
67
|
createdAt: string;
|
|
68
68
|
updatedAt: string;
|
|
69
69
|
deletedAt: string;
|
|
70
|
-
brandId: string | null;
|
|
71
|
-
isActive: boolean;
|
|
72
70
|
code: string;
|
|
71
|
+
isActive: boolean;
|
|
72
|
+
brandId: string | null;
|
|
73
|
+
description: string | null;
|
|
73
74
|
minPurchase: string;
|
|
74
75
|
maxDiscount: string;
|
|
75
76
|
usageLimit: number | null;
|
|
@@ -78,14 +79,12 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
78
79
|
validFrom: string;
|
|
79
80
|
validUntil: string;
|
|
80
81
|
isAutoApply: boolean;
|
|
81
|
-
description: string | null;
|
|
82
82
|
category: string;
|
|
83
83
|
createdBy: string | null;
|
|
84
84
|
};
|
|
85
85
|
items: {
|
|
86
86
|
id: string;
|
|
87
87
|
variant: {
|
|
88
|
-
price: number;
|
|
89
88
|
product: {
|
|
90
89
|
id: string;
|
|
91
90
|
name: string;
|
|
@@ -93,8 +92,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
93
92
|
createdAt: string;
|
|
94
93
|
updatedAt: string;
|
|
95
94
|
deletedAt: string;
|
|
96
|
-
brandId: string;
|
|
97
95
|
isActive: boolean;
|
|
96
|
+
brandId: string;
|
|
98
97
|
description: string | null;
|
|
99
98
|
thumbnailUrl: string | null;
|
|
100
99
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -534,16 +533,18 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
534
533
|
};
|
|
535
534
|
};
|
|
536
535
|
};
|
|
537
|
-
id: string;
|
|
538
|
-
name: string | null;
|
|
539
536
|
createdAt: string;
|
|
540
537
|
updatedAt: string;
|
|
538
|
+
price: number;
|
|
539
|
+
compareAtPrice: number;
|
|
541
540
|
deletedAt: string;
|
|
541
|
+
thumbnailUrl: string;
|
|
542
|
+
originalPrice: number;
|
|
543
|
+
id: string;
|
|
544
|
+
name: string | null;
|
|
542
545
|
isActive: boolean;
|
|
543
|
-
thumbnailUrl: string | null;
|
|
544
546
|
productId: string;
|
|
545
547
|
sku: string;
|
|
546
|
-
compareAtPrice: string;
|
|
547
548
|
trackInventory: boolean;
|
|
548
549
|
lowStockThreshold: number | null;
|
|
549
550
|
};
|
|
@@ -611,19 +612,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
611
612
|
output: {
|
|
612
613
|
id: string;
|
|
613
614
|
brand: {
|
|
614
|
-
createdAt: string;
|
|
615
|
-
updatedAt: string;
|
|
616
|
-
deletedAt: string;
|
|
617
615
|
id: string;
|
|
618
616
|
name: string;
|
|
619
617
|
slug: string;
|
|
620
|
-
logoUrl: string
|
|
618
|
+
logoUrl: string;
|
|
621
619
|
siteUrl: string;
|
|
622
620
|
domain: string;
|
|
623
|
-
metaPixelId: string
|
|
624
|
-
tiktokPixelId: string
|
|
625
|
-
paystackPublicKey: string
|
|
626
|
-
|
|
621
|
+
metaPixelId: string;
|
|
622
|
+
tiktokPixelId: string;
|
|
623
|
+
paystackPublicKey: string;
|
|
624
|
+
freeShippingThreshold: number;
|
|
625
|
+
createdAt: string;
|
|
626
|
+
updatedAt: string;
|
|
627
|
+
deletedAt: string;
|
|
627
628
|
};
|
|
628
629
|
customerPhone: string;
|
|
629
630
|
customerEmail: string;
|
|
@@ -643,9 +644,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
643
644
|
createdAt: string;
|
|
644
645
|
updatedAt: string;
|
|
645
646
|
deletedAt: string;
|
|
646
|
-
brandId: string | null;
|
|
647
|
-
isActive: boolean;
|
|
648
647
|
code: string;
|
|
648
|
+
isActive: boolean;
|
|
649
|
+
brandId: string | null;
|
|
650
|
+
description: string | null;
|
|
649
651
|
minPurchase: string;
|
|
650
652
|
maxDiscount: string;
|
|
651
653
|
usageLimit: number | null;
|
|
@@ -654,14 +656,12 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
654
656
|
validFrom: string;
|
|
655
657
|
validUntil: string;
|
|
656
658
|
isAutoApply: boolean;
|
|
657
|
-
description: string | null;
|
|
658
659
|
category: string;
|
|
659
660
|
createdBy: string | null;
|
|
660
661
|
};
|
|
661
662
|
items: {
|
|
662
663
|
id: string;
|
|
663
664
|
variant: {
|
|
664
|
-
price: number;
|
|
665
665
|
product: {
|
|
666
666
|
id: string;
|
|
667
667
|
name: string;
|
|
@@ -669,8 +669,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
669
669
|
createdAt: string;
|
|
670
670
|
updatedAt: string;
|
|
671
671
|
deletedAt: string;
|
|
672
|
-
brandId: string;
|
|
673
672
|
isActive: boolean;
|
|
673
|
+
brandId: string;
|
|
674
674
|
description: string | null;
|
|
675
675
|
thumbnailUrl: string | null;
|
|
676
676
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -1110,16 +1110,18 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1110
1110
|
};
|
|
1111
1111
|
};
|
|
1112
1112
|
};
|
|
1113
|
-
id: string;
|
|
1114
|
-
name: string | null;
|
|
1115
1113
|
createdAt: string;
|
|
1116
1114
|
updatedAt: string;
|
|
1115
|
+
price: number;
|
|
1116
|
+
compareAtPrice: number;
|
|
1117
1117
|
deletedAt: string;
|
|
1118
|
+
thumbnailUrl: string;
|
|
1119
|
+
originalPrice: number;
|
|
1120
|
+
id: string;
|
|
1121
|
+
name: string | null;
|
|
1118
1122
|
isActive: boolean;
|
|
1119
|
-
thumbnailUrl: string | null;
|
|
1120
1123
|
productId: string;
|
|
1121
1124
|
sku: string;
|
|
1122
|
-
compareAtPrice: string;
|
|
1123
1125
|
trackInventory: boolean;
|
|
1124
1126
|
lowStockThreshold: number | null;
|
|
1125
1127
|
};
|
|
@@ -1175,19 +1177,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1175
1177
|
output: {
|
|
1176
1178
|
id: string;
|
|
1177
1179
|
brand: {
|
|
1178
|
-
createdAt: string;
|
|
1179
|
-
updatedAt: string;
|
|
1180
|
-
deletedAt: string;
|
|
1181
1180
|
id: string;
|
|
1182
1181
|
name: string;
|
|
1183
1182
|
slug: string;
|
|
1184
|
-
logoUrl: string
|
|
1183
|
+
logoUrl: string;
|
|
1185
1184
|
siteUrl: string;
|
|
1186
1185
|
domain: string;
|
|
1187
|
-
metaPixelId: string
|
|
1188
|
-
tiktokPixelId: string
|
|
1189
|
-
paystackPublicKey: string
|
|
1190
|
-
|
|
1186
|
+
metaPixelId: string;
|
|
1187
|
+
tiktokPixelId: string;
|
|
1188
|
+
paystackPublicKey: string;
|
|
1189
|
+
freeShippingThreshold: number;
|
|
1190
|
+
createdAt: string;
|
|
1191
|
+
updatedAt: string;
|
|
1192
|
+
deletedAt: string;
|
|
1191
1193
|
};
|
|
1192
1194
|
customerPhone: string;
|
|
1193
1195
|
customerEmail: string;
|
|
@@ -1207,9 +1209,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1207
1209
|
createdAt: string;
|
|
1208
1210
|
updatedAt: string;
|
|
1209
1211
|
deletedAt: string;
|
|
1210
|
-
brandId: string | null;
|
|
1211
|
-
isActive: boolean;
|
|
1212
1212
|
code: string;
|
|
1213
|
+
isActive: boolean;
|
|
1214
|
+
brandId: string | null;
|
|
1215
|
+
description: string | null;
|
|
1213
1216
|
minPurchase: string;
|
|
1214
1217
|
maxDiscount: string;
|
|
1215
1218
|
usageLimit: number | null;
|
|
@@ -1218,14 +1221,12 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1218
1221
|
validFrom: string;
|
|
1219
1222
|
validUntil: string;
|
|
1220
1223
|
isAutoApply: boolean;
|
|
1221
|
-
description: string | null;
|
|
1222
1224
|
category: string;
|
|
1223
1225
|
createdBy: string | null;
|
|
1224
1226
|
};
|
|
1225
1227
|
items: {
|
|
1226
1228
|
id: string;
|
|
1227
1229
|
variant: {
|
|
1228
|
-
price: number;
|
|
1229
1230
|
product: {
|
|
1230
1231
|
id: string;
|
|
1231
1232
|
name: string;
|
|
@@ -1233,8 +1234,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1233
1234
|
createdAt: string;
|
|
1234
1235
|
updatedAt: string;
|
|
1235
1236
|
deletedAt: string;
|
|
1236
|
-
brandId: string;
|
|
1237
1237
|
isActive: boolean;
|
|
1238
|
+
brandId: string;
|
|
1238
1239
|
description: string | null;
|
|
1239
1240
|
thumbnailUrl: string | null;
|
|
1240
1241
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -1674,16 +1675,18 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1674
1675
|
};
|
|
1675
1676
|
};
|
|
1676
1677
|
};
|
|
1677
|
-
id: string;
|
|
1678
|
-
name: string | null;
|
|
1679
1678
|
createdAt: string;
|
|
1680
1679
|
updatedAt: string;
|
|
1680
|
+
price: number;
|
|
1681
|
+
compareAtPrice: number;
|
|
1681
1682
|
deletedAt: string;
|
|
1683
|
+
thumbnailUrl: string;
|
|
1684
|
+
originalPrice: number;
|
|
1685
|
+
id: string;
|
|
1686
|
+
name: string | null;
|
|
1682
1687
|
isActive: boolean;
|
|
1683
|
-
thumbnailUrl: string | null;
|
|
1684
1688
|
productId: string;
|
|
1685
1689
|
sku: string;
|
|
1686
|
-
compareAtPrice: string;
|
|
1687
1690
|
trackInventory: boolean;
|
|
1688
1691
|
lowStockThreshold: number | null;
|
|
1689
1692
|
};
|
|
@@ -1756,19 +1759,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1756
1759
|
output: {
|
|
1757
1760
|
id: string;
|
|
1758
1761
|
brand: {
|
|
1759
|
-
createdAt: string;
|
|
1760
|
-
updatedAt: string;
|
|
1761
|
-
deletedAt: string;
|
|
1762
1762
|
id: string;
|
|
1763
1763
|
name: string;
|
|
1764
1764
|
slug: string;
|
|
1765
|
-
logoUrl: string
|
|
1765
|
+
logoUrl: string;
|
|
1766
1766
|
siteUrl: string;
|
|
1767
1767
|
domain: string;
|
|
1768
|
-
metaPixelId: string
|
|
1769
|
-
tiktokPixelId: string
|
|
1770
|
-
paystackPublicKey: string
|
|
1771
|
-
|
|
1768
|
+
metaPixelId: string;
|
|
1769
|
+
tiktokPixelId: string;
|
|
1770
|
+
paystackPublicKey: string;
|
|
1771
|
+
freeShippingThreshold: number;
|
|
1772
|
+
createdAt: string;
|
|
1773
|
+
updatedAt: string;
|
|
1774
|
+
deletedAt: string;
|
|
1772
1775
|
};
|
|
1773
1776
|
customerPhone: string;
|
|
1774
1777
|
customerEmail: string;
|
|
@@ -1788,9 +1791,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1788
1791
|
createdAt: string;
|
|
1789
1792
|
updatedAt: string;
|
|
1790
1793
|
deletedAt: string;
|
|
1791
|
-
brandId: string | null;
|
|
1792
|
-
isActive: boolean;
|
|
1793
1794
|
code: string;
|
|
1795
|
+
isActive: boolean;
|
|
1796
|
+
brandId: string | null;
|
|
1797
|
+
description: string | null;
|
|
1794
1798
|
minPurchase: string;
|
|
1795
1799
|
maxDiscount: string;
|
|
1796
1800
|
usageLimit: number | null;
|
|
@@ -1799,14 +1803,12 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1799
1803
|
validFrom: string;
|
|
1800
1804
|
validUntil: string;
|
|
1801
1805
|
isAutoApply: boolean;
|
|
1802
|
-
description: string | null;
|
|
1803
1806
|
category: string;
|
|
1804
1807
|
createdBy: string | null;
|
|
1805
1808
|
};
|
|
1806
1809
|
items: {
|
|
1807
1810
|
id: string;
|
|
1808
1811
|
variant: {
|
|
1809
|
-
price: number;
|
|
1810
1812
|
product: {
|
|
1811
1813
|
id: string;
|
|
1812
1814
|
name: string;
|
|
@@ -1814,8 +1816,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1814
1816
|
createdAt: string;
|
|
1815
1817
|
updatedAt: string;
|
|
1816
1818
|
deletedAt: string;
|
|
1817
|
-
brandId: string;
|
|
1818
1819
|
isActive: boolean;
|
|
1820
|
+
brandId: string;
|
|
1819
1821
|
description: string | null;
|
|
1820
1822
|
thumbnailUrl: string | null;
|
|
1821
1823
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -2255,16 +2257,18 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2255
2257
|
};
|
|
2256
2258
|
};
|
|
2257
2259
|
};
|
|
2258
|
-
id: string;
|
|
2259
|
-
name: string | null;
|
|
2260
2260
|
createdAt: string;
|
|
2261
2261
|
updatedAt: string;
|
|
2262
|
+
price: number;
|
|
2263
|
+
compareAtPrice: number;
|
|
2262
2264
|
deletedAt: string;
|
|
2265
|
+
thumbnailUrl: string;
|
|
2266
|
+
originalPrice: number;
|
|
2267
|
+
id: string;
|
|
2268
|
+
name: string | null;
|
|
2263
2269
|
isActive: boolean;
|
|
2264
|
-
thumbnailUrl: string | null;
|
|
2265
2270
|
productId: string;
|
|
2266
2271
|
sku: string;
|
|
2267
|
-
compareAtPrice: string;
|
|
2268
2272
|
trackInventory: boolean;
|
|
2269
2273
|
lowStockThreshold: number | null;
|
|
2270
2274
|
};
|
|
@@ -2338,19 +2342,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2338
2342
|
output: {
|
|
2339
2343
|
id: string;
|
|
2340
2344
|
brand: {
|
|
2341
|
-
createdAt: string;
|
|
2342
|
-
updatedAt: string;
|
|
2343
|
-
deletedAt: string;
|
|
2344
2345
|
id: string;
|
|
2345
2346
|
name: string;
|
|
2346
2347
|
slug: string;
|
|
2347
|
-
logoUrl: string
|
|
2348
|
+
logoUrl: string;
|
|
2348
2349
|
siteUrl: string;
|
|
2349
2350
|
domain: string;
|
|
2350
|
-
metaPixelId: string
|
|
2351
|
-
tiktokPixelId: string
|
|
2352
|
-
paystackPublicKey: string
|
|
2353
|
-
|
|
2351
|
+
metaPixelId: string;
|
|
2352
|
+
tiktokPixelId: string;
|
|
2353
|
+
paystackPublicKey: string;
|
|
2354
|
+
freeShippingThreshold: number;
|
|
2355
|
+
createdAt: string;
|
|
2356
|
+
updatedAt: string;
|
|
2357
|
+
deletedAt: string;
|
|
2354
2358
|
};
|
|
2355
2359
|
customerPhone: string;
|
|
2356
2360
|
customerEmail: string;
|
|
@@ -2370,9 +2374,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2370
2374
|
createdAt: string;
|
|
2371
2375
|
updatedAt: string;
|
|
2372
2376
|
deletedAt: string;
|
|
2373
|
-
brandId: string | null;
|
|
2374
|
-
isActive: boolean;
|
|
2375
2377
|
code: string;
|
|
2378
|
+
isActive: boolean;
|
|
2379
|
+
brandId: string | null;
|
|
2380
|
+
description: string | null;
|
|
2376
2381
|
minPurchase: string;
|
|
2377
2382
|
maxDiscount: string;
|
|
2378
2383
|
usageLimit: number | null;
|
|
@@ -2381,14 +2386,12 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2381
2386
|
validFrom: string;
|
|
2382
2387
|
validUntil: string;
|
|
2383
2388
|
isAutoApply: boolean;
|
|
2384
|
-
description: string | null;
|
|
2385
2389
|
category: string;
|
|
2386
2390
|
createdBy: string | null;
|
|
2387
2391
|
};
|
|
2388
2392
|
items: {
|
|
2389
2393
|
id: string;
|
|
2390
2394
|
variant: {
|
|
2391
|
-
price: number;
|
|
2392
2395
|
product: {
|
|
2393
2396
|
id: string;
|
|
2394
2397
|
name: string;
|
|
@@ -2396,8 +2399,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2396
2399
|
createdAt: string;
|
|
2397
2400
|
updatedAt: string;
|
|
2398
2401
|
deletedAt: string;
|
|
2399
|
-
brandId: string;
|
|
2400
2402
|
isActive: boolean;
|
|
2403
|
+
brandId: string;
|
|
2401
2404
|
description: string | null;
|
|
2402
2405
|
thumbnailUrl: string | null;
|
|
2403
2406
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -2837,16 +2840,18 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2837
2840
|
};
|
|
2838
2841
|
};
|
|
2839
2842
|
};
|
|
2840
|
-
id: string;
|
|
2841
|
-
name: string | null;
|
|
2842
2843
|
createdAt: string;
|
|
2843
2844
|
updatedAt: string;
|
|
2845
|
+
price: number;
|
|
2846
|
+
compareAtPrice: number;
|
|
2844
2847
|
deletedAt: string;
|
|
2848
|
+
thumbnailUrl: string;
|
|
2849
|
+
originalPrice: number;
|
|
2850
|
+
id: string;
|
|
2851
|
+
name: string | null;
|
|
2845
2852
|
isActive: boolean;
|
|
2846
|
-
thumbnailUrl: string | null;
|
|
2847
2853
|
productId: string;
|
|
2848
2854
|
sku: string;
|
|
2849
|
-
compareAtPrice: string;
|
|
2850
2855
|
trackInventory: boolean;
|
|
2851
2856
|
lowStockThreshold: number | null;
|
|
2852
2857
|
};
|
|
@@ -2920,19 +2925,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2920
2925
|
output: {
|
|
2921
2926
|
id: string;
|
|
2922
2927
|
brand: {
|
|
2923
|
-
createdAt: string;
|
|
2924
|
-
updatedAt: string;
|
|
2925
|
-
deletedAt: string;
|
|
2926
2928
|
id: string;
|
|
2927
2929
|
name: string;
|
|
2928
2930
|
slug: string;
|
|
2929
|
-
logoUrl: string
|
|
2931
|
+
logoUrl: string;
|
|
2930
2932
|
siteUrl: string;
|
|
2931
2933
|
domain: string;
|
|
2932
|
-
metaPixelId: string
|
|
2933
|
-
tiktokPixelId: string
|
|
2934
|
-
paystackPublicKey: string
|
|
2935
|
-
|
|
2934
|
+
metaPixelId: string;
|
|
2935
|
+
tiktokPixelId: string;
|
|
2936
|
+
paystackPublicKey: string;
|
|
2937
|
+
freeShippingThreshold: number;
|
|
2938
|
+
createdAt: string;
|
|
2939
|
+
updatedAt: string;
|
|
2940
|
+
deletedAt: string;
|
|
2936
2941
|
};
|
|
2937
2942
|
customerPhone: string;
|
|
2938
2943
|
customerEmail: string;
|
|
@@ -2952,9 +2957,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2952
2957
|
createdAt: string;
|
|
2953
2958
|
updatedAt: string;
|
|
2954
2959
|
deletedAt: string;
|
|
2955
|
-
brandId: string | null;
|
|
2956
|
-
isActive: boolean;
|
|
2957
2960
|
code: string;
|
|
2961
|
+
isActive: boolean;
|
|
2962
|
+
brandId: string | null;
|
|
2963
|
+
description: string | null;
|
|
2958
2964
|
minPurchase: string;
|
|
2959
2965
|
maxDiscount: string;
|
|
2960
2966
|
usageLimit: number | null;
|
|
@@ -2963,14 +2969,12 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2963
2969
|
validFrom: string;
|
|
2964
2970
|
validUntil: string;
|
|
2965
2971
|
isAutoApply: boolean;
|
|
2966
|
-
description: string | null;
|
|
2967
2972
|
category: string;
|
|
2968
2973
|
createdBy: string | null;
|
|
2969
2974
|
};
|
|
2970
2975
|
items: {
|
|
2971
2976
|
id: string;
|
|
2972
2977
|
variant: {
|
|
2973
|
-
price: number;
|
|
2974
2978
|
product: {
|
|
2975
2979
|
id: string;
|
|
2976
2980
|
name: string;
|
|
@@ -2978,8 +2982,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2978
2982
|
createdAt: string;
|
|
2979
2983
|
updatedAt: string;
|
|
2980
2984
|
deletedAt: string;
|
|
2981
|
-
brandId: string;
|
|
2982
2985
|
isActive: boolean;
|
|
2986
|
+
brandId: string;
|
|
2983
2987
|
description: string | null;
|
|
2984
2988
|
thumbnailUrl: string | null;
|
|
2985
2989
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -3419,16 +3423,18 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
3419
3423
|
};
|
|
3420
3424
|
};
|
|
3421
3425
|
};
|
|
3422
|
-
id: string;
|
|
3423
|
-
name: string | null;
|
|
3424
3426
|
createdAt: string;
|
|
3425
3427
|
updatedAt: string;
|
|
3428
|
+
price: number;
|
|
3429
|
+
compareAtPrice: number;
|
|
3426
3430
|
deletedAt: string;
|
|
3431
|
+
thumbnailUrl: string;
|
|
3432
|
+
originalPrice: number;
|
|
3433
|
+
id: string;
|
|
3434
|
+
name: string | null;
|
|
3427
3435
|
isActive: boolean;
|
|
3428
|
-
thumbnailUrl: string | null;
|
|
3429
3436
|
productId: string;
|
|
3430
3437
|
sku: string;
|
|
3431
|
-
compareAtPrice: string;
|
|
3432
3438
|
trackInventory: boolean;
|
|
3433
3439
|
lowStockThreshold: number | null;
|
|
3434
3440
|
};
|
|
@@ -3505,19 +3511,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
3505
3511
|
output: {
|
|
3506
3512
|
id: string;
|
|
3507
3513
|
brand: {
|
|
3508
|
-
createdAt: string;
|
|
3509
|
-
updatedAt: string;
|
|
3510
|
-
deletedAt: string;
|
|
3511
3514
|
id: string;
|
|
3512
3515
|
name: string;
|
|
3513
3516
|
slug: string;
|
|
3514
|
-
logoUrl: string
|
|
3517
|
+
logoUrl: string;
|
|
3515
3518
|
siteUrl: string;
|
|
3516
3519
|
domain: string;
|
|
3517
|
-
metaPixelId: string
|
|
3518
|
-
tiktokPixelId: string
|
|
3519
|
-
paystackPublicKey: string
|
|
3520
|
-
|
|
3520
|
+
metaPixelId: string;
|
|
3521
|
+
tiktokPixelId: string;
|
|
3522
|
+
paystackPublicKey: string;
|
|
3523
|
+
freeShippingThreshold: number;
|
|
3524
|
+
createdAt: string;
|
|
3525
|
+
updatedAt: string;
|
|
3526
|
+
deletedAt: string;
|
|
3521
3527
|
};
|
|
3522
3528
|
customerPhone: string;
|
|
3523
3529
|
customerEmail: string;
|
|
@@ -3537,9 +3543,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
3537
3543
|
createdAt: string;
|
|
3538
3544
|
updatedAt: string;
|
|
3539
3545
|
deletedAt: string;
|
|
3540
|
-
brandId: string | null;
|
|
3541
|
-
isActive: boolean;
|
|
3542
3546
|
code: string;
|
|
3547
|
+
isActive: boolean;
|
|
3548
|
+
brandId: string | null;
|
|
3549
|
+
description: string | null;
|
|
3543
3550
|
minPurchase: string;
|
|
3544
3551
|
maxDiscount: string;
|
|
3545
3552
|
usageLimit: number | null;
|
|
@@ -3548,14 +3555,12 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
3548
3555
|
validFrom: string;
|
|
3549
3556
|
validUntil: string;
|
|
3550
3557
|
isAutoApply: boolean;
|
|
3551
|
-
description: string | null;
|
|
3552
3558
|
category: string;
|
|
3553
3559
|
createdBy: string | null;
|
|
3554
3560
|
};
|
|
3555
3561
|
items: {
|
|
3556
3562
|
id: string;
|
|
3557
3563
|
variant: {
|
|
3558
|
-
price: number;
|
|
3559
3564
|
product: {
|
|
3560
3565
|
id: string;
|
|
3561
3566
|
name: string;
|
|
@@ -3563,8 +3568,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
3563
3568
|
createdAt: string;
|
|
3564
3569
|
updatedAt: string;
|
|
3565
3570
|
deletedAt: string;
|
|
3566
|
-
brandId: string;
|
|
3567
3571
|
isActive: boolean;
|
|
3572
|
+
brandId: string;
|
|
3568
3573
|
description: string | null;
|
|
3569
3574
|
thumbnailUrl: string | null;
|
|
3570
3575
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -4004,16 +4009,18 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4004
4009
|
};
|
|
4005
4010
|
};
|
|
4006
4011
|
};
|
|
4007
|
-
id: string;
|
|
4008
|
-
name: string | null;
|
|
4009
4012
|
createdAt: string;
|
|
4010
4013
|
updatedAt: string;
|
|
4014
|
+
price: number;
|
|
4015
|
+
compareAtPrice: number;
|
|
4011
4016
|
deletedAt: string;
|
|
4017
|
+
thumbnailUrl: string;
|
|
4018
|
+
originalPrice: number;
|
|
4019
|
+
id: string;
|
|
4020
|
+
name: string | null;
|
|
4012
4021
|
isActive: boolean;
|
|
4013
|
-
thumbnailUrl: string | null;
|
|
4014
4022
|
productId: string;
|
|
4015
4023
|
sku: string;
|
|
4016
|
-
compareAtPrice: string;
|
|
4017
4024
|
trackInventory: boolean;
|
|
4018
4025
|
lowStockThreshold: number | null;
|
|
4019
4026
|
};
|
|
@@ -4105,19 +4112,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4105
4112
|
output: {
|
|
4106
4113
|
id: string;
|
|
4107
4114
|
brand: {
|
|
4108
|
-
createdAt: string;
|
|
4109
|
-
updatedAt: string;
|
|
4110
|
-
deletedAt: string;
|
|
4111
4115
|
id: string;
|
|
4112
4116
|
name: string;
|
|
4113
4117
|
slug: string;
|
|
4114
|
-
logoUrl: string
|
|
4118
|
+
logoUrl: string;
|
|
4115
4119
|
siteUrl: string;
|
|
4116
4120
|
domain: string;
|
|
4117
|
-
metaPixelId: string
|
|
4118
|
-
tiktokPixelId: string
|
|
4119
|
-
paystackPublicKey: string
|
|
4120
|
-
|
|
4121
|
+
metaPixelId: string;
|
|
4122
|
+
tiktokPixelId: string;
|
|
4123
|
+
paystackPublicKey: string;
|
|
4124
|
+
freeShippingThreshold: number;
|
|
4125
|
+
createdAt: string;
|
|
4126
|
+
updatedAt: string;
|
|
4127
|
+
deletedAt: string;
|
|
4121
4128
|
};
|
|
4122
4129
|
customerPhone: string;
|
|
4123
4130
|
customerEmail: string;
|
|
@@ -4137,9 +4144,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4137
4144
|
createdAt: string;
|
|
4138
4145
|
updatedAt: string;
|
|
4139
4146
|
deletedAt: string;
|
|
4140
|
-
brandId: string | null;
|
|
4141
|
-
isActive: boolean;
|
|
4142
4147
|
code: string;
|
|
4148
|
+
isActive: boolean;
|
|
4149
|
+
brandId: string | null;
|
|
4150
|
+
description: string | null;
|
|
4143
4151
|
minPurchase: string;
|
|
4144
4152
|
maxDiscount: string;
|
|
4145
4153
|
usageLimit: number | null;
|
|
@@ -4148,14 +4156,12 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4148
4156
|
validFrom: string;
|
|
4149
4157
|
validUntil: string;
|
|
4150
4158
|
isAutoApply: boolean;
|
|
4151
|
-
description: string | null;
|
|
4152
4159
|
category: string;
|
|
4153
4160
|
createdBy: string | null;
|
|
4154
4161
|
};
|
|
4155
4162
|
items: {
|
|
4156
4163
|
id: string;
|
|
4157
4164
|
variant: {
|
|
4158
|
-
price: number;
|
|
4159
4165
|
product: {
|
|
4160
4166
|
id: string;
|
|
4161
4167
|
name: string;
|
|
@@ -4163,8 +4169,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4163
4169
|
createdAt: string;
|
|
4164
4170
|
updatedAt: string;
|
|
4165
4171
|
deletedAt: string;
|
|
4166
|
-
brandId: string;
|
|
4167
4172
|
isActive: boolean;
|
|
4173
|
+
brandId: string;
|
|
4168
4174
|
description: string | null;
|
|
4169
4175
|
thumbnailUrl: string | null;
|
|
4170
4176
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -4604,16 +4610,18 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4604
4610
|
};
|
|
4605
4611
|
};
|
|
4606
4612
|
};
|
|
4607
|
-
id: string;
|
|
4608
|
-
name: string | null;
|
|
4609
4613
|
createdAt: string;
|
|
4610
4614
|
updatedAt: string;
|
|
4615
|
+
price: number;
|
|
4616
|
+
compareAtPrice: number;
|
|
4611
4617
|
deletedAt: string;
|
|
4618
|
+
thumbnailUrl: string;
|
|
4619
|
+
originalPrice: number;
|
|
4620
|
+
id: string;
|
|
4621
|
+
name: string | null;
|
|
4612
4622
|
isActive: boolean;
|
|
4613
|
-
thumbnailUrl: string | null;
|
|
4614
4623
|
productId: string;
|
|
4615
4624
|
sku: string;
|
|
4616
|
-
compareAtPrice: string;
|
|
4617
4625
|
trackInventory: boolean;
|
|
4618
4626
|
lowStockThreshold: number | null;
|
|
4619
4627
|
};
|
|
@@ -4789,19 +4797,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4789
4797
|
prospectSince: string;
|
|
4790
4798
|
lastRecoveryAttemptAt: string;
|
|
4791
4799
|
brand: {
|
|
4792
|
-
createdAt: string;
|
|
4793
|
-
updatedAt: string;
|
|
4794
|
-
deletedAt: string;
|
|
4795
4800
|
id: string;
|
|
4796
4801
|
name: string;
|
|
4797
4802
|
slug: string;
|
|
4798
|
-
logoUrl: string
|
|
4803
|
+
logoUrl: string;
|
|
4799
4804
|
siteUrl: string;
|
|
4800
4805
|
domain: string;
|
|
4801
|
-
metaPixelId: string
|
|
4802
|
-
tiktokPixelId: string
|
|
4803
|
-
paystackPublicKey: string
|
|
4804
|
-
|
|
4806
|
+
metaPixelId: string;
|
|
4807
|
+
tiktokPixelId: string;
|
|
4808
|
+
paystackPublicKey: string;
|
|
4809
|
+
freeShippingThreshold: number;
|
|
4810
|
+
createdAt: string;
|
|
4811
|
+
updatedAt: string;
|
|
4812
|
+
deletedAt: string;
|
|
4805
4813
|
};
|
|
4806
4814
|
deliveryZone: {
|
|
4807
4815
|
deliveryCost: number;
|
|
@@ -4819,6 +4827,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4819
4827
|
};
|
|
4820
4828
|
id: string;
|
|
4821
4829
|
name: string;
|
|
4830
|
+
isActive: boolean;
|
|
4822
4831
|
brandId: string | null;
|
|
4823
4832
|
stateId: string;
|
|
4824
4833
|
allowCOD: boolean;
|
|
@@ -4827,7 +4836,6 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4827
4836
|
estimatedDays: number | null;
|
|
4828
4837
|
noteTitle: string | null;
|
|
4829
4838
|
noteContent: string | null;
|
|
4830
|
-
isActive: boolean;
|
|
4831
4839
|
};
|
|
4832
4840
|
items: {
|
|
4833
4841
|
priceAtPurchase: number;
|
|
@@ -4843,8 +4851,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4843
4851
|
id: string;
|
|
4844
4852
|
name: string;
|
|
4845
4853
|
slug: string;
|
|
4846
|
-
brandId: string;
|
|
4847
4854
|
isActive: boolean;
|
|
4855
|
+
brandId: string;
|
|
4848
4856
|
description: string | null;
|
|
4849
4857
|
thumbnailUrl: string | null;
|
|
4850
4858
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -5287,8 +5295,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5287
5295
|
id: string;
|
|
5288
5296
|
name: string | null;
|
|
5289
5297
|
isActive: boolean;
|
|
5290
|
-
thumbnailUrl: string | null;
|
|
5291
5298
|
productId: string;
|
|
5299
|
+
thumbnailUrl: string | null;
|
|
5292
5300
|
sku: string;
|
|
5293
5301
|
compareAtPrice: string;
|
|
5294
5302
|
trackInventory: boolean;
|
|
@@ -5300,16 +5308,16 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5300
5308
|
deletedAt: string;
|
|
5301
5309
|
id: string;
|
|
5302
5310
|
name: string;
|
|
5311
|
+
state: string | null;
|
|
5303
5312
|
isActive: boolean;
|
|
5304
5313
|
address: string | null;
|
|
5305
5314
|
city: string | null;
|
|
5306
|
-
state: string | null;
|
|
5307
5315
|
};
|
|
5308
5316
|
id: string;
|
|
5309
|
-
orderId: string;
|
|
5310
5317
|
variantId: string;
|
|
5311
|
-
warehouseId: string | null;
|
|
5312
5318
|
quantity: number;
|
|
5319
|
+
orderId: string;
|
|
5320
|
+
warehouseId: string | null;
|
|
5313
5321
|
}[];
|
|
5314
5322
|
email: string | null;
|
|
5315
5323
|
id: string;
|
|
@@ -5380,19 +5388,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5380
5388
|
prospectSince: string;
|
|
5381
5389
|
lastRecoveryAttemptAt: string;
|
|
5382
5390
|
brand: {
|
|
5383
|
-
createdAt: string;
|
|
5384
|
-
updatedAt: string;
|
|
5385
|
-
deletedAt: string;
|
|
5386
5391
|
id: string;
|
|
5387
5392
|
name: string;
|
|
5388
5393
|
slug: string;
|
|
5389
|
-
logoUrl: string
|
|
5394
|
+
logoUrl: string;
|
|
5390
5395
|
siteUrl: string;
|
|
5391
5396
|
domain: string;
|
|
5392
|
-
metaPixelId: string
|
|
5393
|
-
tiktokPixelId: string
|
|
5394
|
-
paystackPublicKey: string
|
|
5395
|
-
|
|
5397
|
+
metaPixelId: string;
|
|
5398
|
+
tiktokPixelId: string;
|
|
5399
|
+
paystackPublicKey: string;
|
|
5400
|
+
freeShippingThreshold: number;
|
|
5401
|
+
createdAt: string;
|
|
5402
|
+
updatedAt: string;
|
|
5403
|
+
deletedAt: string;
|
|
5396
5404
|
};
|
|
5397
5405
|
deliveryZone: {
|
|
5398
5406
|
deliveryCost: number;
|
|
@@ -5410,6 +5418,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5410
5418
|
};
|
|
5411
5419
|
id: string;
|
|
5412
5420
|
name: string;
|
|
5421
|
+
isActive: boolean;
|
|
5413
5422
|
brandId: string | null;
|
|
5414
5423
|
stateId: string;
|
|
5415
5424
|
allowCOD: boolean;
|
|
@@ -5418,7 +5427,6 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5418
5427
|
estimatedDays: number | null;
|
|
5419
5428
|
noteTitle: string | null;
|
|
5420
5429
|
noteContent: string | null;
|
|
5421
|
-
isActive: boolean;
|
|
5422
5430
|
};
|
|
5423
5431
|
items: {
|
|
5424
5432
|
priceAtPurchase: number;
|
|
@@ -5434,8 +5442,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5434
5442
|
id: string;
|
|
5435
5443
|
name: string;
|
|
5436
5444
|
slug: string;
|
|
5437
|
-
brandId: string;
|
|
5438
5445
|
isActive: boolean;
|
|
5446
|
+
brandId: string;
|
|
5439
5447
|
description: string | null;
|
|
5440
5448
|
thumbnailUrl: string | null;
|
|
5441
5449
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -5878,8 +5886,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5878
5886
|
id: string;
|
|
5879
5887
|
name: string | null;
|
|
5880
5888
|
isActive: boolean;
|
|
5881
|
-
thumbnailUrl: string | null;
|
|
5882
5889
|
productId: string;
|
|
5890
|
+
thumbnailUrl: string | null;
|
|
5883
5891
|
sku: string;
|
|
5884
5892
|
compareAtPrice: string;
|
|
5885
5893
|
trackInventory: boolean;
|
|
@@ -5891,16 +5899,16 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5891
5899
|
deletedAt: string;
|
|
5892
5900
|
id: string;
|
|
5893
5901
|
name: string;
|
|
5902
|
+
state: string | null;
|
|
5894
5903
|
isActive: boolean;
|
|
5895
5904
|
address: string | null;
|
|
5896
5905
|
city: string | null;
|
|
5897
|
-
state: string | null;
|
|
5898
5906
|
};
|
|
5899
5907
|
id: string;
|
|
5900
|
-
orderId: string;
|
|
5901
5908
|
variantId: string;
|
|
5902
|
-
warehouseId: string | null;
|
|
5903
5909
|
quantity: number;
|
|
5910
|
+
orderId: string;
|
|
5911
|
+
warehouseId: string | null;
|
|
5904
5912
|
}[];
|
|
5905
5913
|
email: string | null;
|
|
5906
5914
|
id: string;
|
|
@@ -5953,6 +5961,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5953
5961
|
};
|
|
5954
5962
|
};
|
|
5955
5963
|
output: {
|
|
5964
|
+
isOnSale: boolean;
|
|
5965
|
+
saleId: string;
|
|
5966
|
+
saleName: string;
|
|
5967
|
+
saleEndsAt: string;
|
|
5956
5968
|
id: string;
|
|
5957
5969
|
name: string;
|
|
5958
5970
|
slug: string;
|
|
@@ -6113,6 +6125,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6113
6125
|
metaPixelId: string;
|
|
6114
6126
|
tiktokPixelId: string;
|
|
6115
6127
|
paystackPublicKey: string;
|
|
6128
|
+
freeShippingThreshold: number;
|
|
6116
6129
|
createdAt: string;
|
|
6117
6130
|
updatedAt: string;
|
|
6118
6131
|
deletedAt: string;
|
|
@@ -6123,10 +6136,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6123
6136
|
price: number;
|
|
6124
6137
|
compareAtPrice: number;
|
|
6125
6138
|
deletedAt: string;
|
|
6139
|
+
thumbnailUrl: string;
|
|
6140
|
+
originalPrice: number;
|
|
6126
6141
|
id: string;
|
|
6127
6142
|
name: string | null;
|
|
6128
6143
|
isActive: boolean;
|
|
6129
|
-
thumbnailUrl: string | null;
|
|
6130
6144
|
productId: string;
|
|
6131
6145
|
sku: string;
|
|
6132
6146
|
trackInventory: boolean;
|
|
@@ -6423,11 +6437,30 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6423
6437
|
flat?: boolean;
|
|
6424
6438
|
};
|
|
6425
6439
|
};
|
|
6440
|
+
sales: {
|
|
6441
|
+
sale: {
|
|
6442
|
+
id: string;
|
|
6443
|
+
name: string;
|
|
6444
|
+
createdAt: string;
|
|
6445
|
+
updatedAt: string;
|
|
6446
|
+
deletedAt: string;
|
|
6447
|
+
isActive: boolean;
|
|
6448
|
+
brandId: string;
|
|
6449
|
+
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
6450
|
+
discountValue: string;
|
|
6451
|
+
startDate: string;
|
|
6452
|
+
endDate: string;
|
|
6453
|
+
};
|
|
6454
|
+
id: string;
|
|
6455
|
+
createdAt: string;
|
|
6456
|
+
productId: string;
|
|
6457
|
+
saleId: string;
|
|
6458
|
+
}[];
|
|
6426
6459
|
createdAt: string;
|
|
6427
6460
|
updatedAt: string;
|
|
6428
6461
|
deletedAt: string;
|
|
6429
|
-
brandId: string;
|
|
6430
6462
|
isActive: boolean;
|
|
6463
|
+
brandId: string;
|
|
6431
6464
|
}[];
|
|
6432
6465
|
outputFormat: "json";
|
|
6433
6466
|
status: 200;
|
|
@@ -6503,19 +6536,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6503
6536
|
prospectSince: string;
|
|
6504
6537
|
lastRecoveryAttemptAt: string;
|
|
6505
6538
|
brand: {
|
|
6506
|
-
createdAt: string;
|
|
6507
|
-
updatedAt: string;
|
|
6508
|
-
deletedAt: string;
|
|
6509
6539
|
id: string;
|
|
6510
6540
|
name: string;
|
|
6511
6541
|
slug: string;
|
|
6512
|
-
logoUrl: string
|
|
6542
|
+
logoUrl: string;
|
|
6513
6543
|
siteUrl: string;
|
|
6514
6544
|
domain: string;
|
|
6515
|
-
metaPixelId: string
|
|
6516
|
-
tiktokPixelId: string
|
|
6517
|
-
paystackPublicKey: string
|
|
6518
|
-
|
|
6545
|
+
metaPixelId: string;
|
|
6546
|
+
tiktokPixelId: string;
|
|
6547
|
+
paystackPublicKey: string;
|
|
6548
|
+
freeShippingThreshold: number;
|
|
6549
|
+
createdAt: string;
|
|
6550
|
+
updatedAt: string;
|
|
6551
|
+
deletedAt: string;
|
|
6519
6552
|
};
|
|
6520
6553
|
deliveryZone: {
|
|
6521
6554
|
deliveryCost: number;
|
|
@@ -6533,6 +6566,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6533
6566
|
};
|
|
6534
6567
|
id: string;
|
|
6535
6568
|
name: string;
|
|
6569
|
+
isActive: boolean;
|
|
6536
6570
|
brandId: string | null;
|
|
6537
6571
|
stateId: string;
|
|
6538
6572
|
allowCOD: boolean;
|
|
@@ -6541,7 +6575,6 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6541
6575
|
estimatedDays: number | null;
|
|
6542
6576
|
noteTitle: string | null;
|
|
6543
6577
|
noteContent: string | null;
|
|
6544
|
-
isActive: boolean;
|
|
6545
6578
|
};
|
|
6546
6579
|
items: {
|
|
6547
6580
|
priceAtPurchase: number;
|
|
@@ -6557,8 +6590,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6557
6590
|
id: string;
|
|
6558
6591
|
name: string;
|
|
6559
6592
|
slug: string;
|
|
6560
|
-
brandId: string;
|
|
6561
6593
|
isActive: boolean;
|
|
6594
|
+
brandId: string;
|
|
6562
6595
|
description: string | null;
|
|
6563
6596
|
thumbnailUrl: string | null;
|
|
6564
6597
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -7001,8 +7034,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7001
7034
|
id: string;
|
|
7002
7035
|
name: string | null;
|
|
7003
7036
|
isActive: boolean;
|
|
7004
|
-
thumbnailUrl: string | null;
|
|
7005
7037
|
productId: string;
|
|
7038
|
+
thumbnailUrl: string | null;
|
|
7006
7039
|
sku: string;
|
|
7007
7040
|
compareAtPrice: string;
|
|
7008
7041
|
trackInventory: boolean;
|
|
@@ -7014,16 +7047,16 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7014
7047
|
deletedAt: string;
|
|
7015
7048
|
id: string;
|
|
7016
7049
|
name: string;
|
|
7050
|
+
state: string | null;
|
|
7017
7051
|
isActive: boolean;
|
|
7018
7052
|
address: string | null;
|
|
7019
7053
|
city: string | null;
|
|
7020
|
-
state: string | null;
|
|
7021
7054
|
};
|
|
7022
7055
|
id: string;
|
|
7023
|
-
orderId: string;
|
|
7024
7056
|
variantId: string;
|
|
7025
|
-
warehouseId: string | null;
|
|
7026
7057
|
quantity: number;
|
|
7058
|
+
orderId: string;
|
|
7059
|
+
warehouseId: string | null;
|
|
7027
7060
|
}[];
|
|
7028
7061
|
email: string | null;
|
|
7029
7062
|
id: string;
|
|
@@ -7103,19 +7136,19 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7103
7136
|
prospectSince: string;
|
|
7104
7137
|
lastRecoveryAttemptAt: string;
|
|
7105
7138
|
brand: {
|
|
7106
|
-
createdAt: string;
|
|
7107
|
-
updatedAt: string;
|
|
7108
|
-
deletedAt: string;
|
|
7109
7139
|
id: string;
|
|
7110
7140
|
name: string;
|
|
7111
7141
|
slug: string;
|
|
7112
|
-
logoUrl: string
|
|
7142
|
+
logoUrl: string;
|
|
7113
7143
|
siteUrl: string;
|
|
7114
7144
|
domain: string;
|
|
7115
|
-
metaPixelId: string
|
|
7116
|
-
tiktokPixelId: string
|
|
7117
|
-
paystackPublicKey: string
|
|
7118
|
-
|
|
7145
|
+
metaPixelId: string;
|
|
7146
|
+
tiktokPixelId: string;
|
|
7147
|
+
paystackPublicKey: string;
|
|
7148
|
+
freeShippingThreshold: number;
|
|
7149
|
+
createdAt: string;
|
|
7150
|
+
updatedAt: string;
|
|
7151
|
+
deletedAt: string;
|
|
7119
7152
|
};
|
|
7120
7153
|
deliveryZone: {
|
|
7121
7154
|
deliveryCost: number;
|
|
@@ -7133,6 +7166,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7133
7166
|
};
|
|
7134
7167
|
id: string;
|
|
7135
7168
|
name: string;
|
|
7169
|
+
isActive: boolean;
|
|
7136
7170
|
brandId: string | null;
|
|
7137
7171
|
stateId: string;
|
|
7138
7172
|
allowCOD: boolean;
|
|
@@ -7141,7 +7175,6 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7141
7175
|
estimatedDays: number | null;
|
|
7142
7176
|
noteTitle: string | null;
|
|
7143
7177
|
noteContent: string | null;
|
|
7144
|
-
isActive: boolean;
|
|
7145
7178
|
};
|
|
7146
7179
|
items: {
|
|
7147
7180
|
priceAtPurchase: number;
|
|
@@ -7157,8 +7190,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7157
7190
|
id: string;
|
|
7158
7191
|
name: string;
|
|
7159
7192
|
slug: string;
|
|
7160
|
-
brandId: string;
|
|
7161
7193
|
isActive: boolean;
|
|
7194
|
+
brandId: string;
|
|
7162
7195
|
description: string | null;
|
|
7163
7196
|
thumbnailUrl: string | null;
|
|
7164
7197
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -7601,8 +7634,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7601
7634
|
id: string;
|
|
7602
7635
|
name: string | null;
|
|
7603
7636
|
isActive: boolean;
|
|
7604
|
-
thumbnailUrl: string | null;
|
|
7605
7637
|
productId: string;
|
|
7638
|
+
thumbnailUrl: string | null;
|
|
7606
7639
|
sku: string;
|
|
7607
7640
|
compareAtPrice: string;
|
|
7608
7641
|
trackInventory: boolean;
|
|
@@ -7614,16 +7647,16 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7614
7647
|
deletedAt: string;
|
|
7615
7648
|
id: string;
|
|
7616
7649
|
name: string;
|
|
7650
|
+
state: string | null;
|
|
7617
7651
|
isActive: boolean;
|
|
7618
7652
|
address: string | null;
|
|
7619
7653
|
city: string | null;
|
|
7620
|
-
state: string | null;
|
|
7621
7654
|
};
|
|
7622
7655
|
id: string;
|
|
7623
|
-
orderId: string;
|
|
7624
7656
|
variantId: string;
|
|
7625
|
-
warehouseId: string | null;
|
|
7626
7657
|
quantity: number;
|
|
7658
|
+
orderId: string;
|
|
7659
|
+
warehouseId: string | null;
|
|
7627
7660
|
}[];
|
|
7628
7661
|
email: string | null;
|
|
7629
7662
|
id: string;
|
|
@@ -7690,6 +7723,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7690
7723
|
};
|
|
7691
7724
|
};
|
|
7692
7725
|
output: {
|
|
7726
|
+
isOnSale: boolean;
|
|
7727
|
+
saleId: string;
|
|
7728
|
+
saleName: string;
|
|
7729
|
+
saleEndsAt: string;
|
|
7693
7730
|
id: string;
|
|
7694
7731
|
name: string;
|
|
7695
7732
|
slug: string;
|
|
@@ -7850,6 +7887,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7850
7887
|
metaPixelId: string;
|
|
7851
7888
|
tiktokPixelId: string;
|
|
7852
7889
|
paystackPublicKey: string;
|
|
7890
|
+
freeShippingThreshold: number;
|
|
7853
7891
|
createdAt: string;
|
|
7854
7892
|
updatedAt: string;
|
|
7855
7893
|
deletedAt: string;
|
|
@@ -7860,10 +7898,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7860
7898
|
price: number;
|
|
7861
7899
|
compareAtPrice: number;
|
|
7862
7900
|
deletedAt: string;
|
|
7901
|
+
thumbnailUrl: string;
|
|
7902
|
+
originalPrice: number;
|
|
7863
7903
|
id: string;
|
|
7864
7904
|
name: string | null;
|
|
7865
7905
|
isActive: boolean;
|
|
7866
|
-
thumbnailUrl: string | null;
|
|
7867
7906
|
productId: string;
|
|
7868
7907
|
sku: string;
|
|
7869
7908
|
trackInventory: boolean;
|
|
@@ -8160,11 +8199,30 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8160
8199
|
flat?: boolean;
|
|
8161
8200
|
};
|
|
8162
8201
|
};
|
|
8202
|
+
sales: {
|
|
8203
|
+
sale: {
|
|
8204
|
+
id: string;
|
|
8205
|
+
name: string;
|
|
8206
|
+
createdAt: string;
|
|
8207
|
+
updatedAt: string;
|
|
8208
|
+
deletedAt: string;
|
|
8209
|
+
isActive: boolean;
|
|
8210
|
+
brandId: string;
|
|
8211
|
+
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
8212
|
+
discountValue: string;
|
|
8213
|
+
startDate: string;
|
|
8214
|
+
endDate: string;
|
|
8215
|
+
};
|
|
8216
|
+
id: string;
|
|
8217
|
+
createdAt: string;
|
|
8218
|
+
productId: string;
|
|
8219
|
+
saleId: string;
|
|
8220
|
+
}[];
|
|
8163
8221
|
createdAt: string;
|
|
8164
8222
|
updatedAt: string;
|
|
8165
8223
|
deletedAt: string;
|
|
8166
|
-
brandId: string;
|
|
8167
8224
|
isActive: boolean;
|
|
8225
|
+
brandId: string;
|
|
8168
8226
|
}[];
|
|
8169
8227
|
outputFormat: "json";
|
|
8170
8228
|
status: 200;
|
|
@@ -8213,6 +8271,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8213
8271
|
};
|
|
8214
8272
|
};
|
|
8215
8273
|
output: {
|
|
8274
|
+
isOnSale: boolean;
|
|
8275
|
+
saleId: string;
|
|
8276
|
+
saleName: string;
|
|
8277
|
+
saleEndsAt: string;
|
|
8216
8278
|
id: string;
|
|
8217
8279
|
name: string;
|
|
8218
8280
|
slug: string;
|
|
@@ -8373,6 +8435,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8373
8435
|
metaPixelId: string;
|
|
8374
8436
|
tiktokPixelId: string;
|
|
8375
8437
|
paystackPublicKey: string;
|
|
8438
|
+
freeShippingThreshold: number;
|
|
8376
8439
|
createdAt: string;
|
|
8377
8440
|
updatedAt: string;
|
|
8378
8441
|
deletedAt: string;
|
|
@@ -8383,10 +8446,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8383
8446
|
price: number;
|
|
8384
8447
|
compareAtPrice: number;
|
|
8385
8448
|
deletedAt: string;
|
|
8449
|
+
thumbnailUrl: string;
|
|
8450
|
+
originalPrice: number;
|
|
8386
8451
|
id: string;
|
|
8387
8452
|
name: string | null;
|
|
8388
8453
|
isActive: boolean;
|
|
8389
|
-
thumbnailUrl: string | null;
|
|
8390
8454
|
productId: string;
|
|
8391
8455
|
sku: string;
|
|
8392
8456
|
trackInventory: boolean;
|
|
@@ -8683,11 +8747,30 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8683
8747
|
flat?: boolean;
|
|
8684
8748
|
};
|
|
8685
8749
|
};
|
|
8750
|
+
sales: {
|
|
8751
|
+
sale: {
|
|
8752
|
+
id: string;
|
|
8753
|
+
name: string;
|
|
8754
|
+
createdAt: string;
|
|
8755
|
+
updatedAt: string;
|
|
8756
|
+
deletedAt: string;
|
|
8757
|
+
isActive: boolean;
|
|
8758
|
+
brandId: string;
|
|
8759
|
+
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
8760
|
+
discountValue: string;
|
|
8761
|
+
startDate: string;
|
|
8762
|
+
endDate: string;
|
|
8763
|
+
};
|
|
8764
|
+
id: string;
|
|
8765
|
+
createdAt: string;
|
|
8766
|
+
productId: string;
|
|
8767
|
+
saleId: string;
|
|
8768
|
+
}[];
|
|
8686
8769
|
createdAt: string;
|
|
8687
8770
|
updatedAt: string;
|
|
8688
8771
|
deletedAt: string;
|
|
8689
|
-
brandId: string;
|
|
8690
8772
|
isActive: boolean;
|
|
8773
|
+
brandId: string;
|
|
8691
8774
|
};
|
|
8692
8775
|
outputFormat: "json";
|
|
8693
8776
|
status: 200;
|
|
@@ -8719,6 +8802,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8719
8802
|
};
|
|
8720
8803
|
};
|
|
8721
8804
|
output: {
|
|
8805
|
+
isOnSale: boolean;
|
|
8806
|
+
saleId: string;
|
|
8807
|
+
saleName: string;
|
|
8808
|
+
saleEndsAt: string;
|
|
8722
8809
|
id: string;
|
|
8723
8810
|
name: string;
|
|
8724
8811
|
slug: string;
|
|
@@ -8879,6 +8966,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8879
8966
|
metaPixelId: string;
|
|
8880
8967
|
tiktokPixelId: string;
|
|
8881
8968
|
paystackPublicKey: string;
|
|
8969
|
+
freeShippingThreshold: number;
|
|
8882
8970
|
createdAt: string;
|
|
8883
8971
|
updatedAt: string;
|
|
8884
8972
|
deletedAt: string;
|
|
@@ -8889,10 +8977,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8889
8977
|
price: number;
|
|
8890
8978
|
compareAtPrice: number;
|
|
8891
8979
|
deletedAt: string;
|
|
8980
|
+
thumbnailUrl: string;
|
|
8981
|
+
originalPrice: number;
|
|
8892
8982
|
id: string;
|
|
8893
8983
|
name: string | null;
|
|
8894
8984
|
isActive: boolean;
|
|
8895
|
-
thumbnailUrl: string | null;
|
|
8896
8985
|
productId: string;
|
|
8897
8986
|
sku: string;
|
|
8898
8987
|
trackInventory: boolean;
|
|
@@ -9189,11 +9278,30 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
9189
9278
|
flat?: boolean;
|
|
9190
9279
|
};
|
|
9191
9280
|
};
|
|
9281
|
+
sales: {
|
|
9282
|
+
sale: {
|
|
9283
|
+
id: string;
|
|
9284
|
+
name: string;
|
|
9285
|
+
createdAt: string;
|
|
9286
|
+
updatedAt: string;
|
|
9287
|
+
deletedAt: string;
|
|
9288
|
+
isActive: boolean;
|
|
9289
|
+
brandId: string;
|
|
9290
|
+
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
9291
|
+
discountValue: string;
|
|
9292
|
+
startDate: string;
|
|
9293
|
+
endDate: string;
|
|
9294
|
+
};
|
|
9295
|
+
id: string;
|
|
9296
|
+
createdAt: string;
|
|
9297
|
+
productId: string;
|
|
9298
|
+
saleId: string;
|
|
9299
|
+
}[];
|
|
9192
9300
|
createdAt: string;
|
|
9193
9301
|
updatedAt: string;
|
|
9194
9302
|
deletedAt: string;
|
|
9195
|
-
brandId: string;
|
|
9196
9303
|
isActive: boolean;
|
|
9304
|
+
brandId: string;
|
|
9197
9305
|
}[];
|
|
9198
9306
|
outputFormat: "json";
|
|
9199
9307
|
status: 200;
|
|
@@ -9238,6 +9346,10 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
9238
9346
|
};
|
|
9239
9347
|
};
|
|
9240
9348
|
output: {
|
|
9349
|
+
isOnSale: boolean;
|
|
9350
|
+
saleId: string;
|
|
9351
|
+
saleName: string;
|
|
9352
|
+
saleEndsAt: string;
|
|
9241
9353
|
id: string;
|
|
9242
9354
|
name: string;
|
|
9243
9355
|
slug: string;
|
|
@@ -9398,6 +9510,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
9398
9510
|
metaPixelId: string;
|
|
9399
9511
|
tiktokPixelId: string;
|
|
9400
9512
|
paystackPublicKey: string;
|
|
9513
|
+
freeShippingThreshold: number;
|
|
9401
9514
|
createdAt: string;
|
|
9402
9515
|
updatedAt: string;
|
|
9403
9516
|
deletedAt: string;
|
|
@@ -9408,10 +9521,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
9408
9521
|
price: number;
|
|
9409
9522
|
compareAtPrice: number;
|
|
9410
9523
|
deletedAt: string;
|
|
9524
|
+
thumbnailUrl: string;
|
|
9525
|
+
originalPrice: number;
|
|
9411
9526
|
id: string;
|
|
9412
9527
|
name: string | null;
|
|
9413
9528
|
isActive: boolean;
|
|
9414
|
-
thumbnailUrl: string | null;
|
|
9415
9529
|
productId: string;
|
|
9416
9530
|
sku: string;
|
|
9417
9531
|
trackInventory: boolean;
|
|
@@ -9708,11 +9822,30 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
9708
9822
|
flat?: boolean;
|
|
9709
9823
|
};
|
|
9710
9824
|
};
|
|
9825
|
+
sales: {
|
|
9826
|
+
sale: {
|
|
9827
|
+
id: string;
|
|
9828
|
+
name: string;
|
|
9829
|
+
createdAt: string;
|
|
9830
|
+
updatedAt: string;
|
|
9831
|
+
deletedAt: string;
|
|
9832
|
+
isActive: boolean;
|
|
9833
|
+
brandId: string;
|
|
9834
|
+
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
9835
|
+
discountValue: string;
|
|
9836
|
+
startDate: string;
|
|
9837
|
+
endDate: string;
|
|
9838
|
+
};
|
|
9839
|
+
id: string;
|
|
9840
|
+
createdAt: string;
|
|
9841
|
+
productId: string;
|
|
9842
|
+
saleId: string;
|
|
9843
|
+
}[];
|
|
9711
9844
|
createdAt: string;
|
|
9712
9845
|
updatedAt: string;
|
|
9713
9846
|
deletedAt: string;
|
|
9714
|
-
brandId: string;
|
|
9715
9847
|
isActive: boolean;
|
|
9848
|
+
brandId: string;
|
|
9716
9849
|
}[];
|
|
9717
9850
|
outputFormat: "json";
|
|
9718
9851
|
status: 200;
|
|
@@ -9758,7 +9891,6 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
9758
9891
|
id: string;
|
|
9759
9892
|
name: string;
|
|
9760
9893
|
deliveryCost: number;
|
|
9761
|
-
freeShippingThreshold: number;
|
|
9762
9894
|
allowCOD: boolean;
|
|
9763
9895
|
allowOnline: boolean;
|
|
9764
9896
|
waybillOnly: boolean;
|
|
@@ -9814,6 +9946,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
9814
9946
|
metaPixelId: string;
|
|
9815
9947
|
tiktokPixelId: string;
|
|
9816
9948
|
paystackPublicKey: string;
|
|
9949
|
+
freeShippingThreshold: string;
|
|
9817
9950
|
createdAt: string;
|
|
9818
9951
|
updatedAt: string;
|
|
9819
9952
|
};
|
|
@@ -9855,19 +9988,19 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
9855
9988
|
prospectSince: string;
|
|
9856
9989
|
lastRecoveryAttemptAt: string;
|
|
9857
9990
|
brand: {
|
|
9858
|
-
createdAt: string;
|
|
9859
|
-
updatedAt: string;
|
|
9860
|
-
deletedAt: string;
|
|
9861
9991
|
id: string;
|
|
9862
9992
|
name: string;
|
|
9863
9993
|
slug: string;
|
|
9864
|
-
logoUrl: string
|
|
9994
|
+
logoUrl: string;
|
|
9865
9995
|
siteUrl: string;
|
|
9866
9996
|
domain: string;
|
|
9867
|
-
metaPixelId: string
|
|
9868
|
-
tiktokPixelId: string
|
|
9869
|
-
paystackPublicKey: string
|
|
9870
|
-
|
|
9997
|
+
metaPixelId: string;
|
|
9998
|
+
tiktokPixelId: string;
|
|
9999
|
+
paystackPublicKey: string;
|
|
10000
|
+
freeShippingThreshold: number;
|
|
10001
|
+
createdAt: string;
|
|
10002
|
+
updatedAt: string;
|
|
10003
|
+
deletedAt: string;
|
|
9871
10004
|
};
|
|
9872
10005
|
deliveryZone: {
|
|
9873
10006
|
deliveryCost: number;
|
|
@@ -9885,6 +10018,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
9885
10018
|
};
|
|
9886
10019
|
id: string;
|
|
9887
10020
|
name: string;
|
|
10021
|
+
isActive: boolean;
|
|
9888
10022
|
brandId: string | null;
|
|
9889
10023
|
stateId: string;
|
|
9890
10024
|
allowCOD: boolean;
|
|
@@ -9893,7 +10027,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
9893
10027
|
estimatedDays: number | null;
|
|
9894
10028
|
noteTitle: string | null;
|
|
9895
10029
|
noteContent: string | null;
|
|
9896
|
-
isActive: boolean;
|
|
9897
10030
|
};
|
|
9898
10031
|
items: {
|
|
9899
10032
|
priceAtPurchase: number;
|
|
@@ -9909,8 +10042,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
9909
10042
|
id: string;
|
|
9910
10043
|
name: string;
|
|
9911
10044
|
slug: string;
|
|
9912
|
-
brandId: string;
|
|
9913
10045
|
isActive: boolean;
|
|
10046
|
+
brandId: string;
|
|
9914
10047
|
description: string | null;
|
|
9915
10048
|
thumbnailUrl: string | null;
|
|
9916
10049
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -10353,8 +10486,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
10353
10486
|
id: string;
|
|
10354
10487
|
name: string | null;
|
|
10355
10488
|
isActive: boolean;
|
|
10356
|
-
thumbnailUrl: string | null;
|
|
10357
10489
|
productId: string;
|
|
10490
|
+
thumbnailUrl: string | null;
|
|
10358
10491
|
sku: string;
|
|
10359
10492
|
compareAtPrice: string;
|
|
10360
10493
|
trackInventory: boolean;
|
|
@@ -10366,16 +10499,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
10366
10499
|
deletedAt: string;
|
|
10367
10500
|
id: string;
|
|
10368
10501
|
name: string;
|
|
10502
|
+
state: string | null;
|
|
10369
10503
|
isActive: boolean;
|
|
10370
10504
|
address: string | null;
|
|
10371
10505
|
city: string | null;
|
|
10372
|
-
state: string | null;
|
|
10373
10506
|
};
|
|
10374
10507
|
id: string;
|
|
10375
|
-
orderId: string;
|
|
10376
10508
|
variantId: string;
|
|
10377
|
-
warehouseId: string | null;
|
|
10378
10509
|
quantity: number;
|
|
10510
|
+
orderId: string;
|
|
10511
|
+
warehouseId: string | null;
|
|
10379
10512
|
}[];
|
|
10380
10513
|
email: string | null;
|
|
10381
10514
|
id: string;
|
|
@@ -10437,19 +10570,19 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
10437
10570
|
prospectSince: string;
|
|
10438
10571
|
lastRecoveryAttemptAt: string;
|
|
10439
10572
|
brand: {
|
|
10440
|
-
createdAt: string;
|
|
10441
|
-
updatedAt: string;
|
|
10442
|
-
deletedAt: string;
|
|
10443
10573
|
id: string;
|
|
10444
10574
|
name: string;
|
|
10445
10575
|
slug: string;
|
|
10446
|
-
logoUrl: string
|
|
10576
|
+
logoUrl: string;
|
|
10447
10577
|
siteUrl: string;
|
|
10448
10578
|
domain: string;
|
|
10449
|
-
metaPixelId: string
|
|
10450
|
-
tiktokPixelId: string
|
|
10451
|
-
paystackPublicKey: string
|
|
10452
|
-
|
|
10579
|
+
metaPixelId: string;
|
|
10580
|
+
tiktokPixelId: string;
|
|
10581
|
+
paystackPublicKey: string;
|
|
10582
|
+
freeShippingThreshold: number;
|
|
10583
|
+
createdAt: string;
|
|
10584
|
+
updatedAt: string;
|
|
10585
|
+
deletedAt: string;
|
|
10453
10586
|
};
|
|
10454
10587
|
deliveryZone: {
|
|
10455
10588
|
deliveryCost: number;
|
|
@@ -10467,6 +10600,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
10467
10600
|
};
|
|
10468
10601
|
id: string;
|
|
10469
10602
|
name: string;
|
|
10603
|
+
isActive: boolean;
|
|
10470
10604
|
brandId: string | null;
|
|
10471
10605
|
stateId: string;
|
|
10472
10606
|
allowCOD: boolean;
|
|
@@ -10475,7 +10609,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
10475
10609
|
estimatedDays: number | null;
|
|
10476
10610
|
noteTitle: string | null;
|
|
10477
10611
|
noteContent: string | null;
|
|
10478
|
-
isActive: boolean;
|
|
10479
10612
|
};
|
|
10480
10613
|
items: {
|
|
10481
10614
|
priceAtPurchase: number;
|
|
@@ -10491,8 +10624,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
10491
10624
|
id: string;
|
|
10492
10625
|
name: string;
|
|
10493
10626
|
slug: string;
|
|
10494
|
-
brandId: string;
|
|
10495
10627
|
isActive: boolean;
|
|
10628
|
+
brandId: string;
|
|
10496
10629
|
description: string | null;
|
|
10497
10630
|
thumbnailUrl: string | null;
|
|
10498
10631
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -10935,8 +11068,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
10935
11068
|
id: string;
|
|
10936
11069
|
name: string | null;
|
|
10937
11070
|
isActive: boolean;
|
|
10938
|
-
thumbnailUrl: string | null;
|
|
10939
11071
|
productId: string;
|
|
11072
|
+
thumbnailUrl: string | null;
|
|
10940
11073
|
sku: string;
|
|
10941
11074
|
compareAtPrice: string;
|
|
10942
11075
|
trackInventory: boolean;
|
|
@@ -10948,16 +11081,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
10948
11081
|
deletedAt: string;
|
|
10949
11082
|
id: string;
|
|
10950
11083
|
name: string;
|
|
11084
|
+
state: string | null;
|
|
10951
11085
|
isActive: boolean;
|
|
10952
11086
|
address: string | null;
|
|
10953
11087
|
city: string | null;
|
|
10954
|
-
state: string | null;
|
|
10955
11088
|
};
|
|
10956
11089
|
id: string;
|
|
10957
|
-
orderId: string;
|
|
10958
11090
|
variantId: string;
|
|
10959
|
-
warehouseId: string | null;
|
|
10960
11091
|
quantity: number;
|
|
11092
|
+
orderId: string;
|
|
11093
|
+
warehouseId: string | null;
|
|
10961
11094
|
}[];
|
|
10962
11095
|
email: string | null;
|
|
10963
11096
|
id: string;
|
|
@@ -11021,19 +11154,19 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11021
11154
|
prospectSince: string;
|
|
11022
11155
|
lastRecoveryAttemptAt: string;
|
|
11023
11156
|
brand: {
|
|
11024
|
-
createdAt: string;
|
|
11025
|
-
updatedAt: string;
|
|
11026
|
-
deletedAt: string;
|
|
11027
11157
|
id: string;
|
|
11028
11158
|
name: string;
|
|
11029
11159
|
slug: string;
|
|
11030
|
-
logoUrl: string
|
|
11160
|
+
logoUrl: string;
|
|
11031
11161
|
siteUrl: string;
|
|
11032
11162
|
domain: string;
|
|
11033
|
-
metaPixelId: string
|
|
11034
|
-
tiktokPixelId: string
|
|
11035
|
-
paystackPublicKey: string
|
|
11036
|
-
|
|
11163
|
+
metaPixelId: string;
|
|
11164
|
+
tiktokPixelId: string;
|
|
11165
|
+
paystackPublicKey: string;
|
|
11166
|
+
freeShippingThreshold: number;
|
|
11167
|
+
createdAt: string;
|
|
11168
|
+
updatedAt: string;
|
|
11169
|
+
deletedAt: string;
|
|
11037
11170
|
};
|
|
11038
11171
|
deliveryZone: {
|
|
11039
11172
|
deliveryCost: number;
|
|
@@ -11051,6 +11184,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11051
11184
|
};
|
|
11052
11185
|
id: string;
|
|
11053
11186
|
name: string;
|
|
11187
|
+
isActive: boolean;
|
|
11054
11188
|
brandId: string | null;
|
|
11055
11189
|
stateId: string;
|
|
11056
11190
|
allowCOD: boolean;
|
|
@@ -11059,7 +11193,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11059
11193
|
estimatedDays: number | null;
|
|
11060
11194
|
noteTitle: string | null;
|
|
11061
11195
|
noteContent: string | null;
|
|
11062
|
-
isActive: boolean;
|
|
11063
11196
|
};
|
|
11064
11197
|
items: {
|
|
11065
11198
|
priceAtPurchase: number;
|
|
@@ -11075,8 +11208,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11075
11208
|
id: string;
|
|
11076
11209
|
name: string;
|
|
11077
11210
|
slug: string;
|
|
11078
|
-
brandId: string;
|
|
11079
11211
|
isActive: boolean;
|
|
11212
|
+
brandId: string;
|
|
11080
11213
|
description: string | null;
|
|
11081
11214
|
thumbnailUrl: string | null;
|
|
11082
11215
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -11519,8 +11652,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11519
11652
|
id: string;
|
|
11520
11653
|
name: string | null;
|
|
11521
11654
|
isActive: boolean;
|
|
11522
|
-
thumbnailUrl: string | null;
|
|
11523
11655
|
productId: string;
|
|
11656
|
+
thumbnailUrl: string | null;
|
|
11524
11657
|
sku: string;
|
|
11525
11658
|
compareAtPrice: string;
|
|
11526
11659
|
trackInventory: boolean;
|
|
@@ -11532,16 +11665,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11532
11665
|
deletedAt: string;
|
|
11533
11666
|
id: string;
|
|
11534
11667
|
name: string;
|
|
11668
|
+
state: string | null;
|
|
11535
11669
|
isActive: boolean;
|
|
11536
11670
|
address: string | null;
|
|
11537
11671
|
city: string | null;
|
|
11538
|
-
state: string | null;
|
|
11539
11672
|
};
|
|
11540
11673
|
id: string;
|
|
11541
|
-
orderId: string;
|
|
11542
11674
|
variantId: string;
|
|
11543
|
-
warehouseId: string | null;
|
|
11544
11675
|
quantity: number;
|
|
11676
|
+
orderId: string;
|
|
11677
|
+
warehouseId: string | null;
|
|
11545
11678
|
}[];
|
|
11546
11679
|
email: string | null;
|
|
11547
11680
|
id: string;
|
|
@@ -11614,19 +11747,19 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11614
11747
|
prospectSince: string;
|
|
11615
11748
|
lastRecoveryAttemptAt: string;
|
|
11616
11749
|
brand: {
|
|
11617
|
-
createdAt: string;
|
|
11618
|
-
updatedAt: string;
|
|
11619
|
-
deletedAt: string;
|
|
11620
11750
|
id: string;
|
|
11621
11751
|
name: string;
|
|
11622
11752
|
slug: string;
|
|
11623
|
-
logoUrl: string
|
|
11753
|
+
logoUrl: string;
|
|
11624
11754
|
siteUrl: string;
|
|
11625
11755
|
domain: string;
|
|
11626
|
-
metaPixelId: string
|
|
11627
|
-
tiktokPixelId: string
|
|
11628
|
-
paystackPublicKey: string
|
|
11629
|
-
|
|
11756
|
+
metaPixelId: string;
|
|
11757
|
+
tiktokPixelId: string;
|
|
11758
|
+
paystackPublicKey: string;
|
|
11759
|
+
freeShippingThreshold: number;
|
|
11760
|
+
createdAt: string;
|
|
11761
|
+
updatedAt: string;
|
|
11762
|
+
deletedAt: string;
|
|
11630
11763
|
};
|
|
11631
11764
|
deliveryZone: {
|
|
11632
11765
|
deliveryCost: number;
|
|
@@ -11644,6 +11777,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11644
11777
|
};
|
|
11645
11778
|
id: string;
|
|
11646
11779
|
name: string;
|
|
11780
|
+
isActive: boolean;
|
|
11647
11781
|
brandId: string | null;
|
|
11648
11782
|
stateId: string;
|
|
11649
11783
|
allowCOD: boolean;
|
|
@@ -11652,7 +11786,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11652
11786
|
estimatedDays: number | null;
|
|
11653
11787
|
noteTitle: string | null;
|
|
11654
11788
|
noteContent: string | null;
|
|
11655
|
-
isActive: boolean;
|
|
11656
11789
|
};
|
|
11657
11790
|
items: {
|
|
11658
11791
|
priceAtPurchase: number;
|
|
@@ -11668,8 +11801,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11668
11801
|
id: string;
|
|
11669
11802
|
name: string;
|
|
11670
11803
|
slug: string;
|
|
11671
|
-
brandId: string;
|
|
11672
11804
|
isActive: boolean;
|
|
11805
|
+
brandId: string;
|
|
11673
11806
|
description: string | null;
|
|
11674
11807
|
thumbnailUrl: string | null;
|
|
11675
11808
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -12112,8 +12245,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12112
12245
|
id: string;
|
|
12113
12246
|
name: string | null;
|
|
12114
12247
|
isActive: boolean;
|
|
12115
|
-
thumbnailUrl: string | null;
|
|
12116
12248
|
productId: string;
|
|
12249
|
+
thumbnailUrl: string | null;
|
|
12117
12250
|
sku: string;
|
|
12118
12251
|
compareAtPrice: string;
|
|
12119
12252
|
trackInventory: boolean;
|
|
@@ -12125,16 +12258,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12125
12258
|
deletedAt: string;
|
|
12126
12259
|
id: string;
|
|
12127
12260
|
name: string;
|
|
12261
|
+
state: string | null;
|
|
12128
12262
|
isActive: boolean;
|
|
12129
12263
|
address: string | null;
|
|
12130
12264
|
city: string | null;
|
|
12131
|
-
state: string | null;
|
|
12132
12265
|
};
|
|
12133
12266
|
id: string;
|
|
12134
|
-
orderId: string;
|
|
12135
12267
|
variantId: string;
|
|
12136
|
-
warehouseId: string | null;
|
|
12137
12268
|
quantity: number;
|
|
12269
|
+
orderId: string;
|
|
12270
|
+
warehouseId: string | null;
|
|
12138
12271
|
}[];
|
|
12139
12272
|
email: string | null;
|
|
12140
12273
|
id: string;
|
|
@@ -12192,6 +12325,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12192
12325
|
tiktokPixelId: string | null;
|
|
12193
12326
|
paystackPublicKey: string | null;
|
|
12194
12327
|
paystackSecretKey: string | null;
|
|
12328
|
+
freeShippingThreshold: string;
|
|
12195
12329
|
createdAt: string;
|
|
12196
12330
|
updatedAt: string;
|
|
12197
12331
|
deletedAt: string;
|
|
@@ -12207,20 +12341,20 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12207
12341
|
};
|
|
12208
12342
|
id: string;
|
|
12209
12343
|
name: string;
|
|
12344
|
+
freeShippingThreshold: string;
|
|
12210
12345
|
createdAt: string;
|
|
12211
12346
|
updatedAt: string;
|
|
12212
12347
|
deletedAt: string;
|
|
12348
|
+
isActive: boolean;
|
|
12213
12349
|
brandId: string | null;
|
|
12214
12350
|
stateId: string;
|
|
12215
12351
|
deliveryCost: string;
|
|
12216
|
-
freeShippingThreshold: string;
|
|
12217
12352
|
allowCOD: boolean;
|
|
12218
12353
|
allowOnline: boolean;
|
|
12219
12354
|
waybillOnly: boolean;
|
|
12220
12355
|
estimatedDays: number | null;
|
|
12221
12356
|
noteTitle: string | null;
|
|
12222
12357
|
noteContent: string | null;
|
|
12223
|
-
isActive: boolean;
|
|
12224
12358
|
};
|
|
12225
12359
|
items: {
|
|
12226
12360
|
warehouse: {
|
|
@@ -12229,10 +12363,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12229
12363
|
createdAt: string;
|
|
12230
12364
|
updatedAt: string;
|
|
12231
12365
|
deletedAt: string;
|
|
12366
|
+
state: string | null;
|
|
12232
12367
|
isActive: boolean;
|
|
12233
12368
|
address: string | null;
|
|
12234
12369
|
city: string | null;
|
|
12235
|
-
state: string | null;
|
|
12236
12370
|
};
|
|
12237
12371
|
variant: {
|
|
12238
12372
|
product: {
|
|
@@ -12242,8 +12376,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12242
12376
|
createdAt: string;
|
|
12243
12377
|
updatedAt: string;
|
|
12244
12378
|
deletedAt: string;
|
|
12245
|
-
brandId: string;
|
|
12246
12379
|
isActive: boolean;
|
|
12380
|
+
brandId: string;
|
|
12247
12381
|
description: string | null;
|
|
12248
12382
|
thumbnailUrl: string | null;
|
|
12249
12383
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -12689,8 +12823,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12689
12823
|
updatedAt: string;
|
|
12690
12824
|
deletedAt: string;
|
|
12691
12825
|
isActive: boolean;
|
|
12692
|
-
thumbnailUrl: string | null;
|
|
12693
12826
|
productId: string;
|
|
12827
|
+
thumbnailUrl: string | null;
|
|
12694
12828
|
sku: string;
|
|
12695
12829
|
price: string;
|
|
12696
12830
|
compareAtPrice: string;
|
|
@@ -12698,10 +12832,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12698
12832
|
lowStockThreshold: number | null;
|
|
12699
12833
|
};
|
|
12700
12834
|
id: string;
|
|
12701
|
-
orderId: string;
|
|
12702
12835
|
variantId: string;
|
|
12703
|
-
warehouseId: string | null;
|
|
12704
12836
|
quantity: number;
|
|
12837
|
+
orderId: string;
|
|
12838
|
+
warehouseId: string | null;
|
|
12705
12839
|
priceAtPurchase: string;
|
|
12706
12840
|
}[];
|
|
12707
12841
|
notes: {
|
|
@@ -12878,6 +13012,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12878
13012
|
recoveryDiscountCodeId: string | null;
|
|
12879
13013
|
wasRecovered: boolean;
|
|
12880
13014
|
estimatedDays: number | null;
|
|
13015
|
+
discountAmount: string;
|
|
12881
13016
|
orderNumber: number;
|
|
12882
13017
|
firstName: string;
|
|
12883
13018
|
lastName: string;
|
|
@@ -12887,7 +13022,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12887
13022
|
deliveryCharge: string;
|
|
12888
13023
|
totalPrice: string;
|
|
12889
13024
|
discountCodeId: string | null;
|
|
12890
|
-
discountAmount: string;
|
|
12891
13025
|
paymentMethod: import("@prisma/client").$Enums.PaymentMethod;
|
|
12892
13026
|
paystackReference: string | null;
|
|
12893
13027
|
status: import("@prisma/client").$Enums.OrderStatus;
|
|
@@ -12954,19 +13088,19 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12954
13088
|
prospectSince: string;
|
|
12955
13089
|
lastRecoveryAttemptAt: string;
|
|
12956
13090
|
brand: {
|
|
12957
|
-
createdAt: string;
|
|
12958
|
-
updatedAt: string;
|
|
12959
|
-
deletedAt: string;
|
|
12960
13091
|
id: string;
|
|
12961
13092
|
name: string;
|
|
12962
13093
|
slug: string;
|
|
12963
|
-
logoUrl: string
|
|
13094
|
+
logoUrl: string;
|
|
12964
13095
|
siteUrl: string;
|
|
12965
13096
|
domain: string;
|
|
12966
|
-
metaPixelId: string
|
|
12967
|
-
tiktokPixelId: string
|
|
12968
|
-
paystackPublicKey: string
|
|
12969
|
-
|
|
13097
|
+
metaPixelId: string;
|
|
13098
|
+
tiktokPixelId: string;
|
|
13099
|
+
paystackPublicKey: string;
|
|
13100
|
+
freeShippingThreshold: number;
|
|
13101
|
+
createdAt: string;
|
|
13102
|
+
updatedAt: string;
|
|
13103
|
+
deletedAt: string;
|
|
12970
13104
|
};
|
|
12971
13105
|
deliveryZone: {
|
|
12972
13106
|
deliveryCost: number;
|
|
@@ -12984,6 +13118,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12984
13118
|
};
|
|
12985
13119
|
id: string;
|
|
12986
13120
|
name: string;
|
|
13121
|
+
isActive: boolean;
|
|
12987
13122
|
brandId: string | null;
|
|
12988
13123
|
stateId: string;
|
|
12989
13124
|
allowCOD: boolean;
|
|
@@ -12992,7 +13127,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12992
13127
|
estimatedDays: number | null;
|
|
12993
13128
|
noteTitle: string | null;
|
|
12994
13129
|
noteContent: string | null;
|
|
12995
|
-
isActive: boolean;
|
|
12996
13130
|
};
|
|
12997
13131
|
items: {
|
|
12998
13132
|
priceAtPurchase: number;
|
|
@@ -13008,8 +13142,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13008
13142
|
id: string;
|
|
13009
13143
|
name: string;
|
|
13010
13144
|
slug: string;
|
|
13011
|
-
brandId: string;
|
|
13012
13145
|
isActive: boolean;
|
|
13146
|
+
brandId: string;
|
|
13013
13147
|
description: string | null;
|
|
13014
13148
|
thumbnailUrl: string | null;
|
|
13015
13149
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -13452,8 +13586,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13452
13586
|
id: string;
|
|
13453
13587
|
name: string | null;
|
|
13454
13588
|
isActive: boolean;
|
|
13455
|
-
thumbnailUrl: string | null;
|
|
13456
13589
|
productId: string;
|
|
13590
|
+
thumbnailUrl: string | null;
|
|
13457
13591
|
sku: string;
|
|
13458
13592
|
compareAtPrice: string;
|
|
13459
13593
|
trackInventory: boolean;
|
|
@@ -13465,16 +13599,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13465
13599
|
deletedAt: string;
|
|
13466
13600
|
id: string;
|
|
13467
13601
|
name: string;
|
|
13602
|
+
state: string | null;
|
|
13468
13603
|
isActive: boolean;
|
|
13469
13604
|
address: string | null;
|
|
13470
13605
|
city: string | null;
|
|
13471
|
-
state: string | null;
|
|
13472
13606
|
};
|
|
13473
13607
|
id: string;
|
|
13474
|
-
orderId: string;
|
|
13475
13608
|
variantId: string;
|
|
13476
|
-
warehouseId: string | null;
|
|
13477
13609
|
quantity: number;
|
|
13610
|
+
orderId: string;
|
|
13611
|
+
warehouseId: string | null;
|
|
13478
13612
|
}[];
|
|
13479
13613
|
email: string | null;
|
|
13480
13614
|
id: string;
|
|
@@ -13765,6 +13899,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13765
13899
|
tiktokPixelId: string | null;
|
|
13766
13900
|
paystackPublicKey: string | null;
|
|
13767
13901
|
paystackSecretKey: string | null;
|
|
13902
|
+
freeShippingThreshold: string;
|
|
13768
13903
|
createdAt: string;
|
|
13769
13904
|
updatedAt: string;
|
|
13770
13905
|
deletedAt: string;
|
|
@@ -13796,6 +13931,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13796
13931
|
tiktokPixelId: string | null;
|
|
13797
13932
|
paystackPublicKey: string | null;
|
|
13798
13933
|
paystackSecretKey: string | null;
|
|
13934
|
+
freeShippingThreshold: string;
|
|
13799
13935
|
createdAt: string;
|
|
13800
13936
|
updatedAt: string;
|
|
13801
13937
|
deletedAt: string;
|
|
@@ -13847,6 +13983,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13847
13983
|
tiktokPixelId: string | null;
|
|
13848
13984
|
paystackPublicKey: string | null;
|
|
13849
13985
|
paystackSecretKey: string | null;
|
|
13986
|
+
freeShippingThreshold: string;
|
|
13850
13987
|
createdAt: string;
|
|
13851
13988
|
updatedAt: string;
|
|
13852
13989
|
deletedAt: string;
|
|
@@ -13886,6 +14023,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13886
14023
|
tiktokPixelId: string | null;
|
|
13887
14024
|
paystackPublicKey: string | null;
|
|
13888
14025
|
paystackSecretKey: string | null;
|
|
14026
|
+
freeShippingThreshold: string;
|
|
13889
14027
|
createdAt: string;
|
|
13890
14028
|
updatedAt: string;
|
|
13891
14029
|
deletedAt: string;
|
|
@@ -13934,6 +14072,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13934
14072
|
$get: {
|
|
13935
14073
|
input: {};
|
|
13936
14074
|
output: {
|
|
14075
|
+
isOnSale: boolean;
|
|
14076
|
+
saleId: string;
|
|
14077
|
+
saleName: string;
|
|
14078
|
+
saleEndsAt: string;
|
|
13937
14079
|
id: string;
|
|
13938
14080
|
name: string;
|
|
13939
14081
|
slug: string;
|
|
@@ -14094,6 +14236,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14094
14236
|
metaPixelId: string;
|
|
14095
14237
|
tiktokPixelId: string;
|
|
14096
14238
|
paystackPublicKey: string;
|
|
14239
|
+
freeShippingThreshold: number;
|
|
14097
14240
|
createdAt: string;
|
|
14098
14241
|
updatedAt: string;
|
|
14099
14242
|
deletedAt: string;
|
|
@@ -14104,10 +14247,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14104
14247
|
price: number;
|
|
14105
14248
|
compareAtPrice: number;
|
|
14106
14249
|
deletedAt: string;
|
|
14250
|
+
thumbnailUrl: string;
|
|
14251
|
+
originalPrice: number;
|
|
14107
14252
|
id: string;
|
|
14108
14253
|
name: string | null;
|
|
14109
14254
|
isActive: boolean;
|
|
14110
|
-
thumbnailUrl: string | null;
|
|
14111
14255
|
productId: string;
|
|
14112
14256
|
sku: string;
|
|
14113
14257
|
trackInventory: boolean;
|
|
@@ -14404,11 +14548,30 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14404
14548
|
flat?: boolean;
|
|
14405
14549
|
};
|
|
14406
14550
|
};
|
|
14551
|
+
sales: {
|
|
14552
|
+
sale: {
|
|
14553
|
+
id: string;
|
|
14554
|
+
name: string;
|
|
14555
|
+
createdAt: string;
|
|
14556
|
+
updatedAt: string;
|
|
14557
|
+
deletedAt: string;
|
|
14558
|
+
isActive: boolean;
|
|
14559
|
+
brandId: string;
|
|
14560
|
+
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
14561
|
+
discountValue: string;
|
|
14562
|
+
startDate: string;
|
|
14563
|
+
endDate: string;
|
|
14564
|
+
};
|
|
14565
|
+
id: string;
|
|
14566
|
+
createdAt: string;
|
|
14567
|
+
productId: string;
|
|
14568
|
+
saleId: string;
|
|
14569
|
+
}[];
|
|
14407
14570
|
createdAt: string;
|
|
14408
14571
|
updatedAt: string;
|
|
14409
14572
|
deletedAt: string;
|
|
14410
|
-
brandId: string;
|
|
14411
14573
|
isActive: boolean;
|
|
14574
|
+
brandId: string;
|
|
14412
14575
|
}[];
|
|
14413
14576
|
outputFormat: "json";
|
|
14414
14577
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -14427,6 +14590,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14427
14590
|
$post: {
|
|
14428
14591
|
input: {};
|
|
14429
14592
|
output: {
|
|
14593
|
+
isOnSale: boolean;
|
|
14594
|
+
saleId: string;
|
|
14595
|
+
saleName: string;
|
|
14596
|
+
saleEndsAt: string;
|
|
14430
14597
|
id: string;
|
|
14431
14598
|
name: string;
|
|
14432
14599
|
slug: string;
|
|
@@ -14587,6 +14754,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14587
14754
|
metaPixelId: string;
|
|
14588
14755
|
tiktokPixelId: string;
|
|
14589
14756
|
paystackPublicKey: string;
|
|
14757
|
+
freeShippingThreshold: number;
|
|
14590
14758
|
createdAt: string;
|
|
14591
14759
|
updatedAt: string;
|
|
14592
14760
|
deletedAt: string;
|
|
@@ -14597,10 +14765,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14597
14765
|
price: number;
|
|
14598
14766
|
compareAtPrice: number;
|
|
14599
14767
|
deletedAt: string;
|
|
14768
|
+
thumbnailUrl: string;
|
|
14769
|
+
originalPrice: number;
|
|
14600
14770
|
id: string;
|
|
14601
14771
|
name: string | null;
|
|
14602
14772
|
isActive: boolean;
|
|
14603
|
-
thumbnailUrl: string | null;
|
|
14604
14773
|
productId: string;
|
|
14605
14774
|
sku: string;
|
|
14606
14775
|
trackInventory: boolean;
|
|
@@ -14897,11 +15066,30 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14897
15066
|
flat?: boolean;
|
|
14898
15067
|
};
|
|
14899
15068
|
};
|
|
15069
|
+
sales: {
|
|
15070
|
+
sale: {
|
|
15071
|
+
id: string;
|
|
15072
|
+
name: string;
|
|
15073
|
+
createdAt: string;
|
|
15074
|
+
updatedAt: string;
|
|
15075
|
+
deletedAt: string;
|
|
15076
|
+
isActive: boolean;
|
|
15077
|
+
brandId: string;
|
|
15078
|
+
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
15079
|
+
discountValue: string;
|
|
15080
|
+
startDate: string;
|
|
15081
|
+
endDate: string;
|
|
15082
|
+
};
|
|
15083
|
+
id: string;
|
|
15084
|
+
createdAt: string;
|
|
15085
|
+
productId: string;
|
|
15086
|
+
saleId: string;
|
|
15087
|
+
}[];
|
|
14900
15088
|
createdAt: string;
|
|
14901
15089
|
updatedAt: string;
|
|
14902
15090
|
deletedAt: string;
|
|
14903
|
-
brandId: string;
|
|
14904
15091
|
isActive: boolean;
|
|
15092
|
+
brandId: string;
|
|
14905
15093
|
};
|
|
14906
15094
|
outputFormat: "json";
|
|
14907
15095
|
status: 201;
|
|
@@ -14941,6 +15129,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14941
15129
|
};
|
|
14942
15130
|
};
|
|
14943
15131
|
output: {
|
|
15132
|
+
isOnSale: boolean;
|
|
15133
|
+
saleId: string;
|
|
15134
|
+
saleName: string;
|
|
15135
|
+
saleEndsAt: string;
|
|
14944
15136
|
id: string;
|
|
14945
15137
|
name: string;
|
|
14946
15138
|
slug: string;
|
|
@@ -15101,6 +15293,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15101
15293
|
metaPixelId: string;
|
|
15102
15294
|
tiktokPixelId: string;
|
|
15103
15295
|
paystackPublicKey: string;
|
|
15296
|
+
freeShippingThreshold: number;
|
|
15104
15297
|
createdAt: string;
|
|
15105
15298
|
updatedAt: string;
|
|
15106
15299
|
deletedAt: string;
|
|
@@ -15111,10 +15304,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15111
15304
|
price: number;
|
|
15112
15305
|
compareAtPrice: number;
|
|
15113
15306
|
deletedAt: string;
|
|
15307
|
+
thumbnailUrl: string;
|
|
15308
|
+
originalPrice: number;
|
|
15114
15309
|
id: string;
|
|
15115
15310
|
name: string | null;
|
|
15116
15311
|
isActive: boolean;
|
|
15117
|
-
thumbnailUrl: string | null;
|
|
15118
15312
|
productId: string;
|
|
15119
15313
|
sku: string;
|
|
15120
15314
|
trackInventory: boolean;
|
|
@@ -15411,11 +15605,30 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15411
15605
|
flat?: boolean;
|
|
15412
15606
|
};
|
|
15413
15607
|
};
|
|
15608
|
+
sales: {
|
|
15609
|
+
sale: {
|
|
15610
|
+
id: string;
|
|
15611
|
+
name: string;
|
|
15612
|
+
createdAt: string;
|
|
15613
|
+
updatedAt: string;
|
|
15614
|
+
deletedAt: string;
|
|
15615
|
+
isActive: boolean;
|
|
15616
|
+
brandId: string;
|
|
15617
|
+
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
15618
|
+
discountValue: string;
|
|
15619
|
+
startDate: string;
|
|
15620
|
+
endDate: string;
|
|
15621
|
+
};
|
|
15622
|
+
id: string;
|
|
15623
|
+
createdAt: string;
|
|
15624
|
+
productId: string;
|
|
15625
|
+
saleId: string;
|
|
15626
|
+
}[];
|
|
15414
15627
|
createdAt: string;
|
|
15415
15628
|
updatedAt: string;
|
|
15416
15629
|
deletedAt: string;
|
|
15417
|
-
brandId: string;
|
|
15418
15630
|
isActive: boolean;
|
|
15631
|
+
brandId: string;
|
|
15419
15632
|
};
|
|
15420
15633
|
outputFormat: "json";
|
|
15421
15634
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -15442,6 +15655,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15442
15655
|
};
|
|
15443
15656
|
};
|
|
15444
15657
|
output: {
|
|
15658
|
+
isOnSale: boolean;
|
|
15659
|
+
saleId: string;
|
|
15660
|
+
saleName: string;
|
|
15661
|
+
saleEndsAt: string;
|
|
15445
15662
|
id: string;
|
|
15446
15663
|
name: string;
|
|
15447
15664
|
slug: string;
|
|
@@ -15602,6 +15819,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15602
15819
|
metaPixelId: string;
|
|
15603
15820
|
tiktokPixelId: string;
|
|
15604
15821
|
paystackPublicKey: string;
|
|
15822
|
+
freeShippingThreshold: number;
|
|
15605
15823
|
createdAt: string;
|
|
15606
15824
|
updatedAt: string;
|
|
15607
15825
|
deletedAt: string;
|
|
@@ -15612,10 +15830,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15612
15830
|
price: number;
|
|
15613
15831
|
compareAtPrice: number;
|
|
15614
15832
|
deletedAt: string;
|
|
15833
|
+
thumbnailUrl: string;
|
|
15834
|
+
originalPrice: number;
|
|
15615
15835
|
id: string;
|
|
15616
15836
|
name: string | null;
|
|
15617
15837
|
isActive: boolean;
|
|
15618
|
-
thumbnailUrl: string | null;
|
|
15619
15838
|
productId: string;
|
|
15620
15839
|
sku: string;
|
|
15621
15840
|
trackInventory: boolean;
|
|
@@ -15912,11 +16131,30 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15912
16131
|
flat?: boolean;
|
|
15913
16132
|
};
|
|
15914
16133
|
};
|
|
16134
|
+
sales: {
|
|
16135
|
+
sale: {
|
|
16136
|
+
id: string;
|
|
16137
|
+
name: string;
|
|
16138
|
+
createdAt: string;
|
|
16139
|
+
updatedAt: string;
|
|
16140
|
+
deletedAt: string;
|
|
16141
|
+
isActive: boolean;
|
|
16142
|
+
brandId: string;
|
|
16143
|
+
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
16144
|
+
discountValue: string;
|
|
16145
|
+
startDate: string;
|
|
16146
|
+
endDate: string;
|
|
16147
|
+
};
|
|
16148
|
+
id: string;
|
|
16149
|
+
createdAt: string;
|
|
16150
|
+
productId: string;
|
|
16151
|
+
saleId: string;
|
|
16152
|
+
}[];
|
|
15915
16153
|
createdAt: string;
|
|
15916
16154
|
updatedAt: string;
|
|
15917
16155
|
deletedAt: string;
|
|
15918
|
-
brandId: string;
|
|
15919
16156
|
isActive: boolean;
|
|
16157
|
+
brandId: string;
|
|
15920
16158
|
};
|
|
15921
16159
|
outputFormat: "json";
|
|
15922
16160
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -15967,10 +16205,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15967
16205
|
price: number;
|
|
15968
16206
|
compareAtPrice: number;
|
|
15969
16207
|
deletedAt: string;
|
|
16208
|
+
thumbnailUrl: string;
|
|
16209
|
+
originalPrice: number;
|
|
15970
16210
|
id: string;
|
|
15971
16211
|
name: string | null;
|
|
15972
16212
|
isActive: boolean;
|
|
15973
|
-
thumbnailUrl: string | null;
|
|
15974
16213
|
productId: string;
|
|
15975
16214
|
sku: string;
|
|
15976
16215
|
trackInventory: boolean;
|
|
@@ -15992,45 +16231,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15992
16231
|
}>;
|
|
15993
16232
|
} & {
|
|
15994
16233
|
":id": import("hono/client").ClientRequest<{
|
|
15995
|
-
$patch: {
|
|
15996
|
-
input: {
|
|
15997
|
-
param: {
|
|
15998
|
-
id: string;
|
|
15999
|
-
};
|
|
16000
|
-
};
|
|
16001
|
-
output: {
|
|
16002
|
-
createdAt: string;
|
|
16003
|
-
updatedAt: string;
|
|
16004
|
-
price: number;
|
|
16005
|
-
compareAtPrice: number;
|
|
16006
|
-
deletedAt: string;
|
|
16007
|
-
id: string;
|
|
16008
|
-
name: string | null;
|
|
16009
|
-
isActive: boolean;
|
|
16010
|
-
thumbnailUrl: string | null;
|
|
16011
|
-
productId: string;
|
|
16012
|
-
sku: string;
|
|
16013
|
-
trackInventory: boolean;
|
|
16014
|
-
lowStockThreshold: number | null;
|
|
16015
|
-
};
|
|
16016
|
-
outputFormat: "json";
|
|
16017
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
16018
|
-
} | {
|
|
16019
|
-
input: {
|
|
16020
|
-
param: {
|
|
16021
|
-
id: string;
|
|
16022
|
-
};
|
|
16023
|
-
};
|
|
16024
|
-
output: {
|
|
16025
|
-
error: {
|
|
16026
|
-
code: string;
|
|
16027
|
-
message: string;
|
|
16028
|
-
};
|
|
16029
|
-
};
|
|
16030
|
-
outputFormat: "json";
|
|
16031
|
-
status: 500;
|
|
16032
|
-
};
|
|
16033
|
-
} & {
|
|
16034
16234
|
$delete: {
|
|
16035
16235
|
input: {
|
|
16036
16236
|
param: {
|
|
@@ -16067,10 +16267,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16067
16267
|
price: number;
|
|
16068
16268
|
compareAtPrice: number;
|
|
16069
16269
|
deletedAt: string;
|
|
16270
|
+
thumbnailUrl: string;
|
|
16271
|
+
originalPrice: number;
|
|
16070
16272
|
id: string;
|
|
16071
16273
|
name: string | null;
|
|
16072
16274
|
isActive: boolean;
|
|
16073
|
-
thumbnailUrl: string | null;
|
|
16074
16275
|
productId: string;
|
|
16075
16276
|
sku: string;
|
|
16076
16277
|
trackInventory: boolean;
|
|
@@ -16106,10 +16307,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16106
16307
|
price: number;
|
|
16107
16308
|
compareAtPrice: number;
|
|
16108
16309
|
deletedAt: string;
|
|
16310
|
+
thumbnailUrl: string;
|
|
16311
|
+
originalPrice: number;
|
|
16109
16312
|
id: string;
|
|
16110
16313
|
name: string | null;
|
|
16111
16314
|
isActive: boolean;
|
|
16112
|
-
thumbnailUrl: string | null;
|
|
16113
16315
|
productId: string;
|
|
16114
16316
|
sku: string;
|
|
16115
16317
|
trackInventory: boolean;
|
|
@@ -16135,6 +16337,58 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16135
16337
|
}>;
|
|
16136
16338
|
};
|
|
16137
16339
|
};
|
|
16340
|
+
} & {
|
|
16341
|
+
products: {
|
|
16342
|
+
":productId": {
|
|
16343
|
+
variants: {
|
|
16344
|
+
":variantId": import("hono/client").ClientRequest<{
|
|
16345
|
+
$patch: {
|
|
16346
|
+
input: {
|
|
16347
|
+
param: {
|
|
16348
|
+
productId: string;
|
|
16349
|
+
} & {
|
|
16350
|
+
variantId: string;
|
|
16351
|
+
};
|
|
16352
|
+
};
|
|
16353
|
+
output: {
|
|
16354
|
+
createdAt: string;
|
|
16355
|
+
updatedAt: string;
|
|
16356
|
+
price: number;
|
|
16357
|
+
compareAtPrice: number;
|
|
16358
|
+
deletedAt: string;
|
|
16359
|
+
thumbnailUrl: string;
|
|
16360
|
+
originalPrice: number;
|
|
16361
|
+
id: string;
|
|
16362
|
+
name: string | null;
|
|
16363
|
+
isActive: boolean;
|
|
16364
|
+
productId: string;
|
|
16365
|
+
sku: string;
|
|
16366
|
+
trackInventory: boolean;
|
|
16367
|
+
lowStockThreshold: number | null;
|
|
16368
|
+
};
|
|
16369
|
+
outputFormat: "json";
|
|
16370
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
16371
|
+
} | {
|
|
16372
|
+
input: {
|
|
16373
|
+
param: {
|
|
16374
|
+
productId: string;
|
|
16375
|
+
} & {
|
|
16376
|
+
variantId: string;
|
|
16377
|
+
};
|
|
16378
|
+
};
|
|
16379
|
+
output: {
|
|
16380
|
+
error: {
|
|
16381
|
+
code: string;
|
|
16382
|
+
message: string;
|
|
16383
|
+
};
|
|
16384
|
+
};
|
|
16385
|
+
outputFormat: "json";
|
|
16386
|
+
status: 500;
|
|
16387
|
+
};
|
|
16388
|
+
}>;
|
|
16389
|
+
};
|
|
16390
|
+
};
|
|
16391
|
+
};
|
|
16138
16392
|
} & {
|
|
16139
16393
|
":id": {
|
|
16140
16394
|
inventory: import("hono/client").ClientRequest<{
|
|
@@ -16165,10 +16419,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16165
16419
|
price: number;
|
|
16166
16420
|
compareAtPrice: number;
|
|
16167
16421
|
deletedAt: string;
|
|
16422
|
+
thumbnailUrl: string;
|
|
16423
|
+
originalPrice: number;
|
|
16168
16424
|
id: string;
|
|
16169
16425
|
name: string | null;
|
|
16170
16426
|
isActive: boolean;
|
|
16171
|
-
thumbnailUrl: string | null;
|
|
16172
16427
|
productId: string;
|
|
16173
16428
|
sku: string;
|
|
16174
16429
|
trackInventory: boolean;
|
|
@@ -16211,10 +16466,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16211
16466
|
createdAt: string;
|
|
16212
16467
|
updatedAt: string;
|
|
16213
16468
|
deletedAt: string;
|
|
16469
|
+
state: string | null;
|
|
16214
16470
|
isActive: boolean;
|
|
16215
16471
|
address: string | null;
|
|
16216
16472
|
city: string | null;
|
|
16217
|
-
state: string | null;
|
|
16218
16473
|
}[];
|
|
16219
16474
|
outputFormat: "json";
|
|
16220
16475
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -16238,10 +16493,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16238
16493
|
createdAt: string;
|
|
16239
16494
|
updatedAt: string;
|
|
16240
16495
|
deletedAt: string;
|
|
16496
|
+
state: string | null;
|
|
16241
16497
|
isActive: boolean;
|
|
16242
16498
|
address: string | null;
|
|
16243
16499
|
city: string | null;
|
|
16244
|
-
state: string | null;
|
|
16245
16500
|
};
|
|
16246
16501
|
outputFormat: "json";
|
|
16247
16502
|
status: 201;
|
|
@@ -16271,10 +16526,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16271
16526
|
createdAt: string;
|
|
16272
16527
|
updatedAt: string;
|
|
16273
16528
|
deletedAt: string;
|
|
16529
|
+
state: string | null;
|
|
16274
16530
|
isActive: boolean;
|
|
16275
16531
|
address: string | null;
|
|
16276
16532
|
city: string | null;
|
|
16277
|
-
state: string | null;
|
|
16278
16533
|
};
|
|
16279
16534
|
outputFormat: "json";
|
|
16280
16535
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -16353,6 +16608,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16353
16608
|
tiktokPixelId: string | null;
|
|
16354
16609
|
paystackPublicKey: string | null;
|
|
16355
16610
|
paystackSecretKey: string | null;
|
|
16611
|
+
freeShippingThreshold: string;
|
|
16356
16612
|
createdAt: string;
|
|
16357
16613
|
updatedAt: string;
|
|
16358
16614
|
deletedAt: string;
|
|
@@ -16363,8 +16619,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16363
16619
|
createdAt: string;
|
|
16364
16620
|
updatedAt: string;
|
|
16365
16621
|
deletedAt: string;
|
|
16366
|
-
brandId: string;
|
|
16367
16622
|
isActive: boolean;
|
|
16623
|
+
brandId: string;
|
|
16368
16624
|
description: string | null;
|
|
16369
16625
|
thumbnailUrl: string | null;
|
|
16370
16626
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -16810,8 +17066,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16810
17066
|
updatedAt: string;
|
|
16811
17067
|
deletedAt: string;
|
|
16812
17068
|
isActive: boolean;
|
|
16813
|
-
thumbnailUrl: string | null;
|
|
16814
17069
|
productId: string;
|
|
17070
|
+
thumbnailUrl: string | null;
|
|
16815
17071
|
sku: string;
|
|
16816
17072
|
price: string;
|
|
16817
17073
|
compareAtPrice: string;
|
|
@@ -16829,10 +17085,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16829
17085
|
createdAt: string;
|
|
16830
17086
|
updatedAt: string;
|
|
16831
17087
|
deletedAt: string;
|
|
17088
|
+
state: string | null;
|
|
16832
17089
|
isActive: boolean;
|
|
16833
17090
|
address: string | null;
|
|
16834
17091
|
city: string | null;
|
|
16835
|
-
state: string | null;
|
|
16836
17092
|
};
|
|
16837
17093
|
inventory: {
|
|
16838
17094
|
variantId: string;
|
|
@@ -17177,19 +17433,19 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17177
17433
|
prospectSince: string;
|
|
17178
17434
|
lastRecoveryAttemptAt: string;
|
|
17179
17435
|
brand: {
|
|
17180
|
-
createdAt: string;
|
|
17181
|
-
updatedAt: string;
|
|
17182
|
-
deletedAt: string;
|
|
17183
17436
|
id: string;
|
|
17184
17437
|
name: string;
|
|
17185
17438
|
slug: string;
|
|
17186
|
-
logoUrl: string
|
|
17439
|
+
logoUrl: string;
|
|
17187
17440
|
siteUrl: string;
|
|
17188
17441
|
domain: string;
|
|
17189
|
-
metaPixelId: string
|
|
17190
|
-
tiktokPixelId: string
|
|
17191
|
-
paystackPublicKey: string
|
|
17192
|
-
|
|
17442
|
+
metaPixelId: string;
|
|
17443
|
+
tiktokPixelId: string;
|
|
17444
|
+
paystackPublicKey: string;
|
|
17445
|
+
freeShippingThreshold: number;
|
|
17446
|
+
createdAt: string;
|
|
17447
|
+
updatedAt: string;
|
|
17448
|
+
deletedAt: string;
|
|
17193
17449
|
};
|
|
17194
17450
|
deliveryZone: {
|
|
17195
17451
|
deliveryCost: number;
|
|
@@ -17207,6 +17463,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17207
17463
|
};
|
|
17208
17464
|
id: string;
|
|
17209
17465
|
name: string;
|
|
17466
|
+
isActive: boolean;
|
|
17210
17467
|
brandId: string | null;
|
|
17211
17468
|
stateId: string;
|
|
17212
17469
|
allowCOD: boolean;
|
|
@@ -17215,7 +17472,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17215
17472
|
estimatedDays: number | null;
|
|
17216
17473
|
noteTitle: string | null;
|
|
17217
17474
|
noteContent: string | null;
|
|
17218
|
-
isActive: boolean;
|
|
17219
17475
|
};
|
|
17220
17476
|
items: {
|
|
17221
17477
|
priceAtPurchase: number;
|
|
@@ -17231,8 +17487,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17231
17487
|
id: string;
|
|
17232
17488
|
name: string;
|
|
17233
17489
|
slug: string;
|
|
17234
|
-
brandId: string;
|
|
17235
17490
|
isActive: boolean;
|
|
17491
|
+
brandId: string;
|
|
17236
17492
|
description: string | null;
|
|
17237
17493
|
thumbnailUrl: string | null;
|
|
17238
17494
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -17675,8 +17931,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17675
17931
|
id: string;
|
|
17676
17932
|
name: string | null;
|
|
17677
17933
|
isActive: boolean;
|
|
17678
|
-
thumbnailUrl: string | null;
|
|
17679
17934
|
productId: string;
|
|
17935
|
+
thumbnailUrl: string | null;
|
|
17680
17936
|
sku: string;
|
|
17681
17937
|
compareAtPrice: string;
|
|
17682
17938
|
trackInventory: boolean;
|
|
@@ -17688,16 +17944,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17688
17944
|
deletedAt: string;
|
|
17689
17945
|
id: string;
|
|
17690
17946
|
name: string;
|
|
17947
|
+
state: string | null;
|
|
17691
17948
|
isActive: boolean;
|
|
17692
17949
|
address: string | null;
|
|
17693
17950
|
city: string | null;
|
|
17694
|
-
state: string | null;
|
|
17695
17951
|
};
|
|
17696
17952
|
id: string;
|
|
17697
|
-
orderId: string;
|
|
17698
17953
|
variantId: string;
|
|
17699
|
-
warehouseId: string | null;
|
|
17700
17954
|
quantity: number;
|
|
17955
|
+
orderId: string;
|
|
17956
|
+
warehouseId: string | null;
|
|
17701
17957
|
}[];
|
|
17702
17958
|
email: string | null;
|
|
17703
17959
|
id: string;
|
|
@@ -17773,19 +18029,19 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17773
18029
|
prospectSince: string;
|
|
17774
18030
|
lastRecoveryAttemptAt: string;
|
|
17775
18031
|
brand: {
|
|
17776
|
-
createdAt: string;
|
|
17777
|
-
updatedAt: string;
|
|
17778
|
-
deletedAt: string;
|
|
17779
18032
|
id: string;
|
|
17780
18033
|
name: string;
|
|
17781
18034
|
slug: string;
|
|
17782
|
-
logoUrl: string
|
|
18035
|
+
logoUrl: string;
|
|
17783
18036
|
siteUrl: string;
|
|
17784
18037
|
domain: string;
|
|
17785
|
-
metaPixelId: string
|
|
17786
|
-
tiktokPixelId: string
|
|
17787
|
-
paystackPublicKey: string
|
|
17788
|
-
|
|
18038
|
+
metaPixelId: string;
|
|
18039
|
+
tiktokPixelId: string;
|
|
18040
|
+
paystackPublicKey: string;
|
|
18041
|
+
freeShippingThreshold: number;
|
|
18042
|
+
createdAt: string;
|
|
18043
|
+
updatedAt: string;
|
|
18044
|
+
deletedAt: string;
|
|
17789
18045
|
};
|
|
17790
18046
|
deliveryZone: {
|
|
17791
18047
|
deliveryCost: number;
|
|
@@ -17803,6 +18059,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17803
18059
|
};
|
|
17804
18060
|
id: string;
|
|
17805
18061
|
name: string;
|
|
18062
|
+
isActive: boolean;
|
|
17806
18063
|
brandId: string | null;
|
|
17807
18064
|
stateId: string;
|
|
17808
18065
|
allowCOD: boolean;
|
|
@@ -17811,7 +18068,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17811
18068
|
estimatedDays: number | null;
|
|
17812
18069
|
noteTitle: string | null;
|
|
17813
18070
|
noteContent: string | null;
|
|
17814
|
-
isActive: boolean;
|
|
17815
18071
|
};
|
|
17816
18072
|
items: {
|
|
17817
18073
|
priceAtPurchase: number;
|
|
@@ -17827,8 +18083,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17827
18083
|
id: string;
|
|
17828
18084
|
name: string;
|
|
17829
18085
|
slug: string;
|
|
17830
|
-
brandId: string;
|
|
17831
18086
|
isActive: boolean;
|
|
18087
|
+
brandId: string;
|
|
17832
18088
|
description: string | null;
|
|
17833
18089
|
thumbnailUrl: string | null;
|
|
17834
18090
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -18271,8 +18527,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18271
18527
|
id: string;
|
|
18272
18528
|
name: string | null;
|
|
18273
18529
|
isActive: boolean;
|
|
18274
|
-
thumbnailUrl: string | null;
|
|
18275
18530
|
productId: string;
|
|
18531
|
+
thumbnailUrl: string | null;
|
|
18276
18532
|
sku: string;
|
|
18277
18533
|
compareAtPrice: string;
|
|
18278
18534
|
trackInventory: boolean;
|
|
@@ -18284,16 +18540,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18284
18540
|
deletedAt: string;
|
|
18285
18541
|
id: string;
|
|
18286
18542
|
name: string;
|
|
18543
|
+
state: string | null;
|
|
18287
18544
|
isActive: boolean;
|
|
18288
18545
|
address: string | null;
|
|
18289
18546
|
city: string | null;
|
|
18290
|
-
state: string | null;
|
|
18291
18547
|
};
|
|
18292
18548
|
id: string;
|
|
18293
|
-
orderId: string;
|
|
18294
18549
|
variantId: string;
|
|
18295
|
-
warehouseId: string | null;
|
|
18296
18550
|
quantity: number;
|
|
18551
|
+
orderId: string;
|
|
18552
|
+
warehouseId: string | null;
|
|
18297
18553
|
}[];
|
|
18298
18554
|
email: string | null;
|
|
18299
18555
|
id: string;
|
|
@@ -18341,23 +18597,23 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18341
18597
|
carts: {
|
|
18342
18598
|
id: string;
|
|
18343
18599
|
brand: {
|
|
18344
|
-
createdAt: string;
|
|
18345
|
-
updatedAt: string;
|
|
18346
|
-
deletedAt: string;
|
|
18347
18600
|
id: string;
|
|
18348
18601
|
name: string;
|
|
18349
18602
|
slug: string;
|
|
18350
|
-
logoUrl: string
|
|
18603
|
+
logoUrl: string;
|
|
18351
18604
|
siteUrl: string;
|
|
18352
18605
|
domain: string;
|
|
18353
|
-
metaPixelId: string
|
|
18354
|
-
tiktokPixelId: string
|
|
18355
|
-
paystackPublicKey: string
|
|
18356
|
-
|
|
18357
|
-
|
|
18358
|
-
|
|
18359
|
-
|
|
18360
|
-
|
|
18606
|
+
metaPixelId: string;
|
|
18607
|
+
tiktokPixelId: string;
|
|
18608
|
+
paystackPublicKey: string;
|
|
18609
|
+
freeShippingThreshold: number;
|
|
18610
|
+
createdAt: string;
|
|
18611
|
+
updatedAt: string;
|
|
18612
|
+
deletedAt: string;
|
|
18613
|
+
};
|
|
18614
|
+
customerPhone: string;
|
|
18615
|
+
customerEmail: string;
|
|
18616
|
+
customerFirstName: string;
|
|
18361
18617
|
customerLastName: string;
|
|
18362
18618
|
availablePaymentMethods: import("@prisma/client").$Enums.PaymentMethod[];
|
|
18363
18619
|
deliveryZone: {
|
|
@@ -18373,9 +18629,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18373
18629
|
createdAt: string;
|
|
18374
18630
|
updatedAt: string;
|
|
18375
18631
|
deletedAt: string;
|
|
18376
|
-
brandId: string | null;
|
|
18377
|
-
isActive: boolean;
|
|
18378
18632
|
code: string;
|
|
18633
|
+
isActive: boolean;
|
|
18634
|
+
brandId: string | null;
|
|
18635
|
+
description: string | null;
|
|
18379
18636
|
minPurchase: string;
|
|
18380
18637
|
maxDiscount: string;
|
|
18381
18638
|
usageLimit: number | null;
|
|
@@ -18384,14 +18641,12 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18384
18641
|
validFrom: string;
|
|
18385
18642
|
validUntil: string;
|
|
18386
18643
|
isAutoApply: boolean;
|
|
18387
|
-
description: string | null;
|
|
18388
18644
|
category: string;
|
|
18389
18645
|
createdBy: string | null;
|
|
18390
18646
|
};
|
|
18391
18647
|
items: {
|
|
18392
18648
|
id: string;
|
|
18393
18649
|
variant: {
|
|
18394
|
-
price: number;
|
|
18395
18650
|
product: {
|
|
18396
18651
|
id: string;
|
|
18397
18652
|
name: string;
|
|
@@ -18399,8 +18654,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18399
18654
|
createdAt: string;
|
|
18400
18655
|
updatedAt: string;
|
|
18401
18656
|
deletedAt: string;
|
|
18402
|
-
brandId: string;
|
|
18403
18657
|
isActive: boolean;
|
|
18658
|
+
brandId: string;
|
|
18404
18659
|
description: string | null;
|
|
18405
18660
|
thumbnailUrl: string | null;
|
|
18406
18661
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -18840,16 +19095,18 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18840
19095
|
};
|
|
18841
19096
|
};
|
|
18842
19097
|
};
|
|
18843
|
-
id: string;
|
|
18844
|
-
name: string | null;
|
|
18845
19098
|
createdAt: string;
|
|
18846
19099
|
updatedAt: string;
|
|
19100
|
+
price: number;
|
|
19101
|
+
compareAtPrice: number;
|
|
18847
19102
|
deletedAt: string;
|
|
19103
|
+
thumbnailUrl: string;
|
|
19104
|
+
originalPrice: number;
|
|
19105
|
+
id: string;
|
|
19106
|
+
name: string | null;
|
|
18848
19107
|
isActive: boolean;
|
|
18849
|
-
thumbnailUrl: string | null;
|
|
18850
19108
|
productId: string;
|
|
18851
19109
|
sku: string;
|
|
18852
|
-
compareAtPrice: string;
|
|
18853
19110
|
trackInventory: boolean;
|
|
18854
19111
|
lowStockThreshold: number | null;
|
|
18855
19112
|
};
|
|
@@ -18919,19 +19176,19 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18919
19176
|
output: {
|
|
18920
19177
|
id: string;
|
|
18921
19178
|
brand: {
|
|
18922
|
-
createdAt: string;
|
|
18923
|
-
updatedAt: string;
|
|
18924
|
-
deletedAt: string;
|
|
18925
19179
|
id: string;
|
|
18926
19180
|
name: string;
|
|
18927
19181
|
slug: string;
|
|
18928
|
-
logoUrl: string
|
|
19182
|
+
logoUrl: string;
|
|
18929
19183
|
siteUrl: string;
|
|
18930
19184
|
domain: string;
|
|
18931
|
-
metaPixelId: string
|
|
18932
|
-
tiktokPixelId: string
|
|
18933
|
-
paystackPublicKey: string
|
|
18934
|
-
|
|
19185
|
+
metaPixelId: string;
|
|
19186
|
+
tiktokPixelId: string;
|
|
19187
|
+
paystackPublicKey: string;
|
|
19188
|
+
freeShippingThreshold: number;
|
|
19189
|
+
createdAt: string;
|
|
19190
|
+
updatedAt: string;
|
|
19191
|
+
deletedAt: string;
|
|
18935
19192
|
};
|
|
18936
19193
|
customerPhone: string;
|
|
18937
19194
|
customerEmail: string;
|
|
@@ -18951,9 +19208,10 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18951
19208
|
createdAt: string;
|
|
18952
19209
|
updatedAt: string;
|
|
18953
19210
|
deletedAt: string;
|
|
18954
|
-
brandId: string | null;
|
|
18955
|
-
isActive: boolean;
|
|
18956
19211
|
code: string;
|
|
19212
|
+
isActive: boolean;
|
|
19213
|
+
brandId: string | null;
|
|
19214
|
+
description: string | null;
|
|
18957
19215
|
minPurchase: string;
|
|
18958
19216
|
maxDiscount: string;
|
|
18959
19217
|
usageLimit: number | null;
|
|
@@ -18962,14 +19220,12 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18962
19220
|
validFrom: string;
|
|
18963
19221
|
validUntil: string;
|
|
18964
19222
|
isAutoApply: boolean;
|
|
18965
|
-
description: string | null;
|
|
18966
19223
|
category: string;
|
|
18967
19224
|
createdBy: string | null;
|
|
18968
19225
|
};
|
|
18969
19226
|
items: {
|
|
18970
19227
|
id: string;
|
|
18971
19228
|
variant: {
|
|
18972
|
-
price: number;
|
|
18973
19229
|
product: {
|
|
18974
19230
|
id: string;
|
|
18975
19231
|
name: string;
|
|
@@ -18977,8 +19233,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18977
19233
|
createdAt: string;
|
|
18978
19234
|
updatedAt: string;
|
|
18979
19235
|
deletedAt: string;
|
|
18980
|
-
brandId: string;
|
|
18981
19236
|
isActive: boolean;
|
|
19237
|
+
brandId: string;
|
|
18982
19238
|
description: string | null;
|
|
18983
19239
|
thumbnailUrl: string | null;
|
|
18984
19240
|
quantityDiscounts: string | number | boolean | {
|
|
@@ -19418,16 +19674,18 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19418
19674
|
};
|
|
19419
19675
|
};
|
|
19420
19676
|
};
|
|
19421
|
-
id: string;
|
|
19422
|
-
name: string | null;
|
|
19423
19677
|
createdAt: string;
|
|
19424
19678
|
updatedAt: string;
|
|
19679
|
+
price: number;
|
|
19680
|
+
compareAtPrice: number;
|
|
19425
19681
|
deletedAt: string;
|
|
19682
|
+
thumbnailUrl: string;
|
|
19683
|
+
originalPrice: number;
|
|
19684
|
+
id: string;
|
|
19685
|
+
name: string | null;
|
|
19426
19686
|
isActive: boolean;
|
|
19427
|
-
thumbnailUrl: string | null;
|
|
19428
19687
|
productId: string;
|
|
19429
19688
|
sku: string;
|
|
19430
|
-
compareAtPrice: string;
|
|
19431
19689
|
trackInventory: boolean;
|
|
19432
19690
|
lowStockThreshold: number | null;
|
|
19433
19691
|
};
|
|
@@ -19548,6 +19806,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19548
19806
|
metaPixelId: string;
|
|
19549
19807
|
tiktokPixelId: string;
|
|
19550
19808
|
paystackPublicKey: string;
|
|
19809
|
+
freeShippingThreshold: number;
|
|
19551
19810
|
createdAt: string;
|
|
19552
19811
|
updatedAt: string;
|
|
19553
19812
|
deletedAt: string;
|
|
@@ -19556,16 +19815,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19556
19815
|
usagePercentage: number;
|
|
19557
19816
|
id: string;
|
|
19558
19817
|
type: string;
|
|
19559
|
-
brandId: string | null;
|
|
19560
|
-
isActive: boolean;
|
|
19561
19818
|
code: string;
|
|
19819
|
+
isActive: boolean;
|
|
19820
|
+
brandId: string | null;
|
|
19821
|
+
description: string | null;
|
|
19562
19822
|
usageLimit: number | null;
|
|
19563
19823
|
usageCount: number;
|
|
19564
19824
|
perCustomerLimit: number | null;
|
|
19565
19825
|
validFrom: string;
|
|
19566
19826
|
validUntil: string;
|
|
19567
19827
|
isAutoApply: boolean;
|
|
19568
|
-
description: string | null;
|
|
19569
19828
|
category: string;
|
|
19570
19829
|
createdBy: string | null;
|
|
19571
19830
|
}[];
|
|
@@ -19629,6 +19888,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19629
19888
|
metaPixelId: string;
|
|
19630
19889
|
tiktokPixelId: string;
|
|
19631
19890
|
paystackPublicKey: string;
|
|
19891
|
+
freeShippingThreshold: number;
|
|
19632
19892
|
createdAt: string;
|
|
19633
19893
|
updatedAt: string;
|
|
19634
19894
|
deletedAt: string;
|
|
@@ -19637,16 +19897,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19637
19897
|
usagePercentage: number;
|
|
19638
19898
|
id: string;
|
|
19639
19899
|
type: string;
|
|
19640
|
-
brandId: string | null;
|
|
19641
|
-
isActive: boolean;
|
|
19642
19900
|
code: string;
|
|
19901
|
+
isActive: boolean;
|
|
19902
|
+
brandId: string | null;
|
|
19903
|
+
description: string | null;
|
|
19643
19904
|
usageLimit: number | null;
|
|
19644
19905
|
usageCount: number;
|
|
19645
19906
|
perCustomerLimit: number | null;
|
|
19646
19907
|
validFrom: string;
|
|
19647
19908
|
validUntil: string;
|
|
19648
19909
|
isAutoApply: boolean;
|
|
19649
|
-
description: string | null;
|
|
19650
19910
|
category: string;
|
|
19651
19911
|
createdBy: string | null;
|
|
19652
19912
|
};
|
|
@@ -19707,6 +19967,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19707
19967
|
metaPixelId: string;
|
|
19708
19968
|
tiktokPixelId: string;
|
|
19709
19969
|
paystackPublicKey: string;
|
|
19970
|
+
freeShippingThreshold: number;
|
|
19710
19971
|
createdAt: string;
|
|
19711
19972
|
updatedAt: string;
|
|
19712
19973
|
deletedAt: string;
|
|
@@ -19715,16 +19976,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19715
19976
|
usagePercentage: number;
|
|
19716
19977
|
id: string;
|
|
19717
19978
|
type: string;
|
|
19718
|
-
brandId: string | null;
|
|
19719
|
-
isActive: boolean;
|
|
19720
19979
|
code: string;
|
|
19980
|
+
isActive: boolean;
|
|
19981
|
+
brandId: string | null;
|
|
19982
|
+
description: string | null;
|
|
19721
19983
|
usageLimit: number | null;
|
|
19722
19984
|
usageCount: number;
|
|
19723
19985
|
perCustomerLimit: number | null;
|
|
19724
19986
|
validFrom: string;
|
|
19725
19987
|
validUntil: string;
|
|
19726
19988
|
isAutoApply: boolean;
|
|
19727
|
-
description: string | null;
|
|
19728
19989
|
category: string;
|
|
19729
19990
|
createdBy: string | null;
|
|
19730
19991
|
};
|
|
@@ -19797,6 +20058,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19797
20058
|
metaPixelId: string;
|
|
19798
20059
|
tiktokPixelId: string;
|
|
19799
20060
|
paystackPublicKey: string;
|
|
20061
|
+
freeShippingThreshold: number;
|
|
19800
20062
|
createdAt: string;
|
|
19801
20063
|
updatedAt: string;
|
|
19802
20064
|
deletedAt: string;
|
|
@@ -19805,16 +20067,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19805
20067
|
usagePercentage: number;
|
|
19806
20068
|
id: string;
|
|
19807
20069
|
type: string;
|
|
19808
|
-
brandId: string | null;
|
|
19809
|
-
isActive: boolean;
|
|
19810
20070
|
code: string;
|
|
20071
|
+
isActive: boolean;
|
|
20072
|
+
brandId: string | null;
|
|
20073
|
+
description: string | null;
|
|
19811
20074
|
usageLimit: number | null;
|
|
19812
20075
|
usageCount: number;
|
|
19813
20076
|
perCustomerLimit: number | null;
|
|
19814
20077
|
validFrom: string;
|
|
19815
20078
|
validUntil: string;
|
|
19816
20079
|
isAutoApply: boolean;
|
|
19817
|
-
description: string | null;
|
|
19818
20080
|
category: string;
|
|
19819
20081
|
createdBy: string | null;
|
|
19820
20082
|
};
|
|
@@ -19917,6 +20179,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19917
20179
|
metaPixelId: string;
|
|
19918
20180
|
tiktokPixelId: string;
|
|
19919
20181
|
paystackPublicKey: string;
|
|
20182
|
+
freeShippingThreshold: number;
|
|
19920
20183
|
createdAt: string;
|
|
19921
20184
|
updatedAt: string;
|
|
19922
20185
|
deletedAt: string;
|
|
@@ -19924,16 +20187,16 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19924
20187
|
isExpired: boolean;
|
|
19925
20188
|
id: string;
|
|
19926
20189
|
type: string;
|
|
19927
|
-
brandId: string | null;
|
|
19928
|
-
isActive: boolean;
|
|
19929
20190
|
code: string;
|
|
20191
|
+
isActive: boolean;
|
|
20192
|
+
brandId: string | null;
|
|
20193
|
+
description: string | null;
|
|
19930
20194
|
usageLimit: number | null;
|
|
19931
20195
|
usageCount: number;
|
|
19932
20196
|
perCustomerLimit: number | null;
|
|
19933
20197
|
validFrom: string;
|
|
19934
20198
|
validUntil: string;
|
|
19935
20199
|
isAutoApply: boolean;
|
|
19936
|
-
description: string | null;
|
|
19937
20200
|
category: string;
|
|
19938
20201
|
createdBy: string | null;
|
|
19939
20202
|
};
|
|
@@ -20017,7 +20280,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20017
20280
|
output: {
|
|
20018
20281
|
deliveryZones: {
|
|
20019
20282
|
deliveryCost: number;
|
|
20020
|
-
freeShippingThreshold: number;
|
|
20021
20283
|
createdAt: string;
|
|
20022
20284
|
updatedAt: string;
|
|
20023
20285
|
deletedAt: string;
|
|
@@ -20031,6 +20293,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20031
20293
|
metaPixelId: string;
|
|
20032
20294
|
tiktokPixelId: string;
|
|
20033
20295
|
paystackPublicKey: string;
|
|
20296
|
+
freeShippingThreshold: number;
|
|
20034
20297
|
createdAt: string;
|
|
20035
20298
|
updatedAt: string;
|
|
20036
20299
|
deletedAt: string;
|
|
@@ -20047,6 +20310,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20047
20310
|
};
|
|
20048
20311
|
id: string;
|
|
20049
20312
|
name: string;
|
|
20313
|
+
freeShippingThreshold: string;
|
|
20314
|
+
isActive: boolean;
|
|
20050
20315
|
brandId: string | null;
|
|
20051
20316
|
stateId: string;
|
|
20052
20317
|
allowCOD: boolean;
|
|
@@ -20055,7 +20320,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20055
20320
|
estimatedDays: number | null;
|
|
20056
20321
|
noteTitle: string | null;
|
|
20057
20322
|
noteContent: string | null;
|
|
20058
|
-
isActive: boolean;
|
|
20059
20323
|
}[];
|
|
20060
20324
|
zonesCount: number;
|
|
20061
20325
|
createdAt: string;
|
|
@@ -20207,7 +20471,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20207
20471
|
input: {};
|
|
20208
20472
|
output: {
|
|
20209
20473
|
deliveryCost: number;
|
|
20210
|
-
freeShippingThreshold: number;
|
|
20211
20474
|
createdAt: string;
|
|
20212
20475
|
updatedAt: string;
|
|
20213
20476
|
deletedAt: string;
|
|
@@ -20221,6 +20484,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20221
20484
|
metaPixelId: string;
|
|
20222
20485
|
tiktokPixelId: string;
|
|
20223
20486
|
paystackPublicKey: string;
|
|
20487
|
+
freeShippingThreshold: number;
|
|
20224
20488
|
createdAt: string;
|
|
20225
20489
|
updatedAt: string;
|
|
20226
20490
|
deletedAt: string;
|
|
@@ -20237,6 +20501,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20237
20501
|
};
|
|
20238
20502
|
id: string;
|
|
20239
20503
|
name: string;
|
|
20504
|
+
freeShippingThreshold: string;
|
|
20505
|
+
isActive: boolean;
|
|
20240
20506
|
brandId: string | null;
|
|
20241
20507
|
stateId: string;
|
|
20242
20508
|
allowCOD: boolean;
|
|
@@ -20245,7 +20511,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20245
20511
|
estimatedDays: number | null;
|
|
20246
20512
|
noteTitle: string | null;
|
|
20247
20513
|
noteContent: string | null;
|
|
20248
|
-
isActive: boolean;
|
|
20249
20514
|
}[];
|
|
20250
20515
|
outputFormat: "json";
|
|
20251
20516
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -20285,7 +20550,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20285
20550
|
input: {};
|
|
20286
20551
|
output: {
|
|
20287
20552
|
deliveryCost: number;
|
|
20288
|
-
freeShippingThreshold: number;
|
|
20289
20553
|
createdAt: string;
|
|
20290
20554
|
updatedAt: string;
|
|
20291
20555
|
deletedAt: string;
|
|
@@ -20299,6 +20563,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20299
20563
|
metaPixelId: string;
|
|
20300
20564
|
tiktokPixelId: string;
|
|
20301
20565
|
paystackPublicKey: string;
|
|
20566
|
+
freeShippingThreshold: number;
|
|
20302
20567
|
createdAt: string;
|
|
20303
20568
|
updatedAt: string;
|
|
20304
20569
|
deletedAt: string;
|
|
@@ -20315,6 +20580,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20315
20580
|
};
|
|
20316
20581
|
id: string;
|
|
20317
20582
|
name: string;
|
|
20583
|
+
freeShippingThreshold: string;
|
|
20584
|
+
isActive: boolean;
|
|
20318
20585
|
brandId: string | null;
|
|
20319
20586
|
stateId: string;
|
|
20320
20587
|
allowCOD: boolean;
|
|
@@ -20323,7 +20590,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20323
20590
|
estimatedDays: number | null;
|
|
20324
20591
|
noteTitle: string | null;
|
|
20325
20592
|
noteContent: string | null;
|
|
20326
|
-
isActive: boolean;
|
|
20327
20593
|
};
|
|
20328
20594
|
outputFormat: "json";
|
|
20329
20595
|
status: 201;
|
|
@@ -20378,7 +20644,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20378
20644
|
};
|
|
20379
20645
|
output: {
|
|
20380
20646
|
deliveryCost: number;
|
|
20381
|
-
freeShippingThreshold: number;
|
|
20382
20647
|
createdAt: string;
|
|
20383
20648
|
updatedAt: string;
|
|
20384
20649
|
deletedAt: string;
|
|
@@ -20392,6 +20657,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20392
20657
|
metaPixelId: string;
|
|
20393
20658
|
tiktokPixelId: string;
|
|
20394
20659
|
paystackPublicKey: string;
|
|
20660
|
+
freeShippingThreshold: number;
|
|
20395
20661
|
createdAt: string;
|
|
20396
20662
|
updatedAt: string;
|
|
20397
20663
|
deletedAt: string;
|
|
@@ -20408,6 +20674,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20408
20674
|
};
|
|
20409
20675
|
id: string;
|
|
20410
20676
|
name: string;
|
|
20677
|
+
freeShippingThreshold: string;
|
|
20678
|
+
isActive: boolean;
|
|
20411
20679
|
brandId: string | null;
|
|
20412
20680
|
stateId: string;
|
|
20413
20681
|
allowCOD: boolean;
|
|
@@ -20416,7 +20684,6 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20416
20684
|
estimatedDays: number | null;
|
|
20417
20685
|
noteTitle: string | null;
|
|
20418
20686
|
noteContent: string | null;
|
|
20419
|
-
isActive: boolean;
|
|
20420
20687
|
};
|
|
20421
20688
|
outputFormat: "json";
|
|
20422
20689
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -20535,6 +20802,433 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20535
20802
|
};
|
|
20536
20803
|
}>;
|
|
20537
20804
|
};
|
|
20805
|
+
sales: {
|
|
20806
|
+
index: import("hono/client").ClientRequest<{
|
|
20807
|
+
$get: {
|
|
20808
|
+
input: {};
|
|
20809
|
+
output: {
|
|
20810
|
+
data: {
|
|
20811
|
+
id: any;
|
|
20812
|
+
brandId: any;
|
|
20813
|
+
name: any;
|
|
20814
|
+
discountType: any;
|
|
20815
|
+
discountValue: number;
|
|
20816
|
+
startDate: any;
|
|
20817
|
+
endDate: any;
|
|
20818
|
+
isActive: any;
|
|
20819
|
+
createdAt: any;
|
|
20820
|
+
updatedAt: any;
|
|
20821
|
+
brand: {
|
|
20822
|
+
id: any;
|
|
20823
|
+
name: any;
|
|
20824
|
+
slug: any;
|
|
20825
|
+
};
|
|
20826
|
+
products: any;
|
|
20827
|
+
productCount: any;
|
|
20828
|
+
status: "scheduled" | "ended" | "active" | "inactive";
|
|
20829
|
+
}[];
|
|
20830
|
+
pagination: {
|
|
20831
|
+
page: number;
|
|
20832
|
+
limit: number;
|
|
20833
|
+
total: number;
|
|
20834
|
+
totalPages: number;
|
|
20835
|
+
};
|
|
20836
|
+
};
|
|
20837
|
+
outputFormat: "json";
|
|
20838
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20839
|
+
} | {
|
|
20840
|
+
input: {};
|
|
20841
|
+
output: {
|
|
20842
|
+
error: {
|
|
20843
|
+
code: string;
|
|
20844
|
+
message: any;
|
|
20845
|
+
};
|
|
20846
|
+
};
|
|
20847
|
+
outputFormat: "json";
|
|
20848
|
+
status: 500;
|
|
20849
|
+
};
|
|
20850
|
+
} & {
|
|
20851
|
+
$post: {
|
|
20852
|
+
input: {};
|
|
20853
|
+
output: {
|
|
20854
|
+
error: {
|
|
20855
|
+
code: string;
|
|
20856
|
+
message: string;
|
|
20857
|
+
};
|
|
20858
|
+
};
|
|
20859
|
+
outputFormat: "json";
|
|
20860
|
+
status: 404;
|
|
20861
|
+
} | {
|
|
20862
|
+
input: {};
|
|
20863
|
+
output: {
|
|
20864
|
+
error: {
|
|
20865
|
+
code: string;
|
|
20866
|
+
message: string;
|
|
20867
|
+
};
|
|
20868
|
+
};
|
|
20869
|
+
outputFormat: "json";
|
|
20870
|
+
status: 400;
|
|
20871
|
+
} | {
|
|
20872
|
+
input: {};
|
|
20873
|
+
output: {
|
|
20874
|
+
id: any;
|
|
20875
|
+
brandId: any;
|
|
20876
|
+
name: any;
|
|
20877
|
+
discountType: any;
|
|
20878
|
+
discountValue: number;
|
|
20879
|
+
startDate: any;
|
|
20880
|
+
endDate: any;
|
|
20881
|
+
isActive: any;
|
|
20882
|
+
createdAt: any;
|
|
20883
|
+
updatedAt: any;
|
|
20884
|
+
brand: {
|
|
20885
|
+
id: any;
|
|
20886
|
+
name: any;
|
|
20887
|
+
slug: any;
|
|
20888
|
+
};
|
|
20889
|
+
products: any;
|
|
20890
|
+
productCount: any;
|
|
20891
|
+
status: "scheduled" | "ended" | "active" | "inactive";
|
|
20892
|
+
};
|
|
20893
|
+
outputFormat: "json";
|
|
20894
|
+
status: 201;
|
|
20895
|
+
} | {
|
|
20896
|
+
input: {};
|
|
20897
|
+
output: {
|
|
20898
|
+
error: {
|
|
20899
|
+
code: string;
|
|
20900
|
+
message: any;
|
|
20901
|
+
};
|
|
20902
|
+
};
|
|
20903
|
+
outputFormat: "json";
|
|
20904
|
+
status: 500;
|
|
20905
|
+
};
|
|
20906
|
+
}>;
|
|
20907
|
+
} & {
|
|
20908
|
+
":id": import("hono/client").ClientRequest<{
|
|
20909
|
+
$get: {
|
|
20910
|
+
input: {
|
|
20911
|
+
param: {
|
|
20912
|
+
id: string;
|
|
20913
|
+
};
|
|
20914
|
+
};
|
|
20915
|
+
output: {
|
|
20916
|
+
error: {
|
|
20917
|
+
code: string;
|
|
20918
|
+
message: string;
|
|
20919
|
+
};
|
|
20920
|
+
};
|
|
20921
|
+
outputFormat: "json";
|
|
20922
|
+
status: 404;
|
|
20923
|
+
} | {
|
|
20924
|
+
input: {
|
|
20925
|
+
param: {
|
|
20926
|
+
id: string;
|
|
20927
|
+
};
|
|
20928
|
+
};
|
|
20929
|
+
output: {
|
|
20930
|
+
id: any;
|
|
20931
|
+
brandId: any;
|
|
20932
|
+
name: any;
|
|
20933
|
+
discountType: any;
|
|
20934
|
+
discountValue: number;
|
|
20935
|
+
startDate: any;
|
|
20936
|
+
endDate: any;
|
|
20937
|
+
isActive: any;
|
|
20938
|
+
createdAt: any;
|
|
20939
|
+
updatedAt: any;
|
|
20940
|
+
brand: {
|
|
20941
|
+
id: any;
|
|
20942
|
+
name: any;
|
|
20943
|
+
slug: any;
|
|
20944
|
+
};
|
|
20945
|
+
products: any;
|
|
20946
|
+
productCount: any;
|
|
20947
|
+
status: "scheduled" | "ended" | "active" | "inactive";
|
|
20948
|
+
};
|
|
20949
|
+
outputFormat: "json";
|
|
20950
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20951
|
+
} | {
|
|
20952
|
+
input: {
|
|
20953
|
+
param: {
|
|
20954
|
+
id: string;
|
|
20955
|
+
};
|
|
20956
|
+
};
|
|
20957
|
+
output: {
|
|
20958
|
+
error: {
|
|
20959
|
+
code: string;
|
|
20960
|
+
message: any;
|
|
20961
|
+
};
|
|
20962
|
+
};
|
|
20963
|
+
outputFormat: "json";
|
|
20964
|
+
status: 500;
|
|
20965
|
+
};
|
|
20966
|
+
} & {
|
|
20967
|
+
$patch: {
|
|
20968
|
+
input: {
|
|
20969
|
+
param: {
|
|
20970
|
+
id: string;
|
|
20971
|
+
};
|
|
20972
|
+
};
|
|
20973
|
+
output: {
|
|
20974
|
+
id: any;
|
|
20975
|
+
brandId: any;
|
|
20976
|
+
name: any;
|
|
20977
|
+
discountType: any;
|
|
20978
|
+
discountValue: number;
|
|
20979
|
+
startDate: any;
|
|
20980
|
+
endDate: any;
|
|
20981
|
+
isActive: any;
|
|
20982
|
+
createdAt: any;
|
|
20983
|
+
updatedAt: any;
|
|
20984
|
+
brand: {
|
|
20985
|
+
id: any;
|
|
20986
|
+
name: any;
|
|
20987
|
+
slug: any;
|
|
20988
|
+
};
|
|
20989
|
+
products: any;
|
|
20990
|
+
productCount: any;
|
|
20991
|
+
status: "scheduled" | "ended" | "active" | "inactive";
|
|
20992
|
+
};
|
|
20993
|
+
outputFormat: "json";
|
|
20994
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20995
|
+
} | {
|
|
20996
|
+
input: {
|
|
20997
|
+
param: {
|
|
20998
|
+
id: string;
|
|
20999
|
+
};
|
|
21000
|
+
};
|
|
21001
|
+
output: {
|
|
21002
|
+
error: {
|
|
21003
|
+
code: string;
|
|
21004
|
+
message: string;
|
|
21005
|
+
};
|
|
21006
|
+
};
|
|
21007
|
+
outputFormat: "json";
|
|
21008
|
+
status: 404;
|
|
21009
|
+
} | {
|
|
21010
|
+
input: {
|
|
21011
|
+
param: {
|
|
21012
|
+
id: string;
|
|
21013
|
+
};
|
|
21014
|
+
};
|
|
21015
|
+
output: {
|
|
21016
|
+
error: {
|
|
21017
|
+
code: string;
|
|
21018
|
+
message: string;
|
|
21019
|
+
};
|
|
21020
|
+
};
|
|
21021
|
+
outputFormat: "json";
|
|
21022
|
+
status: 400;
|
|
21023
|
+
} | {
|
|
21024
|
+
input: {
|
|
21025
|
+
param: {
|
|
21026
|
+
id: string;
|
|
21027
|
+
};
|
|
21028
|
+
};
|
|
21029
|
+
output: {
|
|
21030
|
+
error: {
|
|
21031
|
+
code: string;
|
|
21032
|
+
message: any;
|
|
21033
|
+
};
|
|
21034
|
+
};
|
|
21035
|
+
outputFormat: "json";
|
|
21036
|
+
status: 500;
|
|
21037
|
+
};
|
|
21038
|
+
} & {
|
|
21039
|
+
$delete: {
|
|
21040
|
+
input: {
|
|
21041
|
+
param: {
|
|
21042
|
+
id: string;
|
|
21043
|
+
};
|
|
21044
|
+
};
|
|
21045
|
+
output: {
|
|
21046
|
+
error: {
|
|
21047
|
+
code: string;
|
|
21048
|
+
message: string;
|
|
21049
|
+
};
|
|
21050
|
+
};
|
|
21051
|
+
outputFormat: "json";
|
|
21052
|
+
status: 404;
|
|
21053
|
+
} | {
|
|
21054
|
+
input: {
|
|
21055
|
+
param: {
|
|
21056
|
+
id: string;
|
|
21057
|
+
};
|
|
21058
|
+
};
|
|
21059
|
+
output: null;
|
|
21060
|
+
outputFormat: "body";
|
|
21061
|
+
status: 204;
|
|
21062
|
+
} | {
|
|
21063
|
+
input: {
|
|
21064
|
+
param: {
|
|
21065
|
+
id: string;
|
|
21066
|
+
};
|
|
21067
|
+
};
|
|
21068
|
+
output: {
|
|
21069
|
+
error: {
|
|
21070
|
+
code: string;
|
|
21071
|
+
message: any;
|
|
21072
|
+
};
|
|
21073
|
+
};
|
|
21074
|
+
outputFormat: "json";
|
|
21075
|
+
status: 500;
|
|
21076
|
+
};
|
|
21077
|
+
}>;
|
|
21078
|
+
} & {
|
|
21079
|
+
stats: {
|
|
21080
|
+
overview: import("hono/client").ClientRequest<{
|
|
21081
|
+
$get: {
|
|
21082
|
+
input: {};
|
|
21083
|
+
output: {
|
|
21084
|
+
totalSales: number;
|
|
21085
|
+
activeSales: number;
|
|
21086
|
+
scheduledSales: number;
|
|
21087
|
+
totalProductsOnSale: number;
|
|
21088
|
+
};
|
|
21089
|
+
outputFormat: "json";
|
|
21090
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21091
|
+
} | {
|
|
21092
|
+
input: {};
|
|
21093
|
+
output: {
|
|
21094
|
+
error: {
|
|
21095
|
+
code: string;
|
|
21096
|
+
message: any;
|
|
21097
|
+
};
|
|
21098
|
+
};
|
|
21099
|
+
outputFormat: "json";
|
|
21100
|
+
status: 500;
|
|
21101
|
+
};
|
|
21102
|
+
}>;
|
|
21103
|
+
};
|
|
21104
|
+
} & {
|
|
21105
|
+
":id": {
|
|
21106
|
+
products: import("hono/client").ClientRequest<{
|
|
21107
|
+
$post: {
|
|
21108
|
+
input: {
|
|
21109
|
+
param: {
|
|
21110
|
+
id: string;
|
|
21111
|
+
};
|
|
21112
|
+
};
|
|
21113
|
+
output: {
|
|
21114
|
+
id: any;
|
|
21115
|
+
brandId: any;
|
|
21116
|
+
name: any;
|
|
21117
|
+
discountType: any;
|
|
21118
|
+
discountValue: number;
|
|
21119
|
+
startDate: any;
|
|
21120
|
+
endDate: any;
|
|
21121
|
+
isActive: any;
|
|
21122
|
+
createdAt: any;
|
|
21123
|
+
updatedAt: any;
|
|
21124
|
+
brand: {
|
|
21125
|
+
id: any;
|
|
21126
|
+
name: any;
|
|
21127
|
+
slug: any;
|
|
21128
|
+
};
|
|
21129
|
+
products: any;
|
|
21130
|
+
productCount: any;
|
|
21131
|
+
status: "scheduled" | "ended" | "active" | "inactive";
|
|
21132
|
+
};
|
|
21133
|
+
outputFormat: "json";
|
|
21134
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21135
|
+
} | {
|
|
21136
|
+
input: {
|
|
21137
|
+
param: {
|
|
21138
|
+
id: string;
|
|
21139
|
+
};
|
|
21140
|
+
};
|
|
21141
|
+
output: {
|
|
21142
|
+
error: {
|
|
21143
|
+
code: string;
|
|
21144
|
+
message: string;
|
|
21145
|
+
};
|
|
21146
|
+
};
|
|
21147
|
+
outputFormat: "json";
|
|
21148
|
+
status: 404;
|
|
21149
|
+
} | {
|
|
21150
|
+
input: {
|
|
21151
|
+
param: {
|
|
21152
|
+
id: string;
|
|
21153
|
+
};
|
|
21154
|
+
};
|
|
21155
|
+
output: {
|
|
21156
|
+
error: {
|
|
21157
|
+
code: string;
|
|
21158
|
+
message: string;
|
|
21159
|
+
};
|
|
21160
|
+
};
|
|
21161
|
+
outputFormat: "json";
|
|
21162
|
+
status: 400;
|
|
21163
|
+
} | {
|
|
21164
|
+
input: {
|
|
21165
|
+
param: {
|
|
21166
|
+
id: string;
|
|
21167
|
+
};
|
|
21168
|
+
};
|
|
21169
|
+
output: {
|
|
21170
|
+
error: {
|
|
21171
|
+
code: string;
|
|
21172
|
+
message: any;
|
|
21173
|
+
};
|
|
21174
|
+
};
|
|
21175
|
+
outputFormat: "json";
|
|
21176
|
+
status: 500;
|
|
21177
|
+
};
|
|
21178
|
+
}>;
|
|
21179
|
+
};
|
|
21180
|
+
} & {
|
|
21181
|
+
":id": {
|
|
21182
|
+
products: {
|
|
21183
|
+
":productId": import("hono/client").ClientRequest<{
|
|
21184
|
+
$delete: {
|
|
21185
|
+
input: {
|
|
21186
|
+
param: {
|
|
21187
|
+
id: string;
|
|
21188
|
+
} & {
|
|
21189
|
+
productId: string;
|
|
21190
|
+
};
|
|
21191
|
+
};
|
|
21192
|
+
output: null;
|
|
21193
|
+
outputFormat: "body";
|
|
21194
|
+
status: 204;
|
|
21195
|
+
} | {
|
|
21196
|
+
input: {
|
|
21197
|
+
param: {
|
|
21198
|
+
id: string;
|
|
21199
|
+
} & {
|
|
21200
|
+
productId: string;
|
|
21201
|
+
};
|
|
21202
|
+
};
|
|
21203
|
+
output: {
|
|
21204
|
+
error: {
|
|
21205
|
+
code: string;
|
|
21206
|
+
message: string;
|
|
21207
|
+
};
|
|
21208
|
+
};
|
|
21209
|
+
outputFormat: "json";
|
|
21210
|
+
status: 404;
|
|
21211
|
+
} | {
|
|
21212
|
+
input: {
|
|
21213
|
+
param: {
|
|
21214
|
+
id: string;
|
|
21215
|
+
} & {
|
|
21216
|
+
productId: string;
|
|
21217
|
+
};
|
|
21218
|
+
};
|
|
21219
|
+
output: {
|
|
21220
|
+
error: {
|
|
21221
|
+
code: string;
|
|
21222
|
+
message: any;
|
|
21223
|
+
};
|
|
21224
|
+
};
|
|
21225
|
+
outputFormat: "json";
|
|
21226
|
+
status: 500;
|
|
21227
|
+
};
|
|
21228
|
+
}>;
|
|
21229
|
+
};
|
|
21230
|
+
};
|
|
21231
|
+
};
|
|
20538
21232
|
};
|
|
20539
21233
|
/**
|
|
20540
21234
|
* Helper to create auth headers for admin RPC requests
|