@instockng/api-client 1.0.37 → 1.0.39
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/fetchers/carts.d.ts +567 -1
- package/dist/fetchers/carts.js +18 -2
- package/dist/fetchers/orders.d.ts +19 -0
- package/dist/hooks/admin/abandoned-carts.d.ts +8 -0
- package/dist/hooks/admin/brands.d.ts +4 -0
- package/dist/hooks/admin/customers.d.ts +8 -0
- package/dist/hooks/admin/delivery-zones.d.ts +4 -0
- package/dist/hooks/admin/discount-codes.d.ts +5 -0
- package/dist/hooks/admin/orders.d.ts +55 -0
- package/dist/hooks/admin/orders.js +23 -0
- package/dist/hooks/admin/products.d.ts +6 -0
- package/dist/hooks/admin/stats.d.ts +8 -0
- package/dist/hooks/admin/variants.d.ts +10 -0
- package/dist/hooks/admin/warehouses.d.ts +2 -0
- package/dist/hooks/public/carts.d.ts +566 -1
- package/dist/hooks/public/carts.js +20 -2
- package/dist/hooks/public/orders.d.ts +19 -0
- package/dist/rpc-client.d.ts +795 -0
- package/dist/rpc-types.d.ts +9 -0
- package/dist/utils/query-keys.d.ts +2 -0
- package/dist/utils/query-keys.js +2 -0
- package/package.json +7 -8
package/dist/rpc-client.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
45
45
|
tiktokPixelId: string;
|
|
46
46
|
paystackPublicKey: string;
|
|
47
47
|
freeShippingThreshold: number;
|
|
48
|
+
upsellDiscountPercent: number;
|
|
48
49
|
createdAt: string;
|
|
49
50
|
updatedAt: string;
|
|
50
51
|
deletedAt: string;
|
|
@@ -536,9 +537,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
536
537
|
createdAt: string;
|
|
537
538
|
updatedAt: string;
|
|
538
539
|
price: number;
|
|
540
|
+
costPrice: number;
|
|
539
541
|
compareAtPrice: number;
|
|
540
542
|
deletedAt: string;
|
|
541
543
|
thumbnailUrl: string;
|
|
544
|
+
rawThumbnailUrl: string;
|
|
542
545
|
originalPrice: number;
|
|
543
546
|
id: string;
|
|
544
547
|
name: string | null;
|
|
@@ -549,6 +552,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
549
552
|
lowStockThreshold: number | null;
|
|
550
553
|
};
|
|
551
554
|
quantity: number;
|
|
555
|
+
priceOverride: number;
|
|
552
556
|
basePrice: number;
|
|
553
557
|
discountPercent: number;
|
|
554
558
|
finalPrice: number;
|
|
@@ -622,6 +626,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
622
626
|
tiktokPixelId: string;
|
|
623
627
|
paystackPublicKey: string;
|
|
624
628
|
freeShippingThreshold: number;
|
|
629
|
+
upsellDiscountPercent: number;
|
|
625
630
|
createdAt: string;
|
|
626
631
|
updatedAt: string;
|
|
627
632
|
deletedAt: string;
|
|
@@ -1113,9 +1118,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1113
1118
|
createdAt: string;
|
|
1114
1119
|
updatedAt: string;
|
|
1115
1120
|
price: number;
|
|
1121
|
+
costPrice: number;
|
|
1116
1122
|
compareAtPrice: number;
|
|
1117
1123
|
deletedAt: string;
|
|
1118
1124
|
thumbnailUrl: string;
|
|
1125
|
+
rawThumbnailUrl: string;
|
|
1119
1126
|
originalPrice: number;
|
|
1120
1127
|
id: string;
|
|
1121
1128
|
name: string | null;
|
|
@@ -1126,6 +1133,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1126
1133
|
lowStockThreshold: number | null;
|
|
1127
1134
|
};
|
|
1128
1135
|
quantity: number;
|
|
1136
|
+
priceOverride: number;
|
|
1129
1137
|
basePrice: number;
|
|
1130
1138
|
discountPercent: number;
|
|
1131
1139
|
finalPrice: number;
|
|
@@ -1187,6 +1195,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1187
1195
|
tiktokPixelId: string;
|
|
1188
1196
|
paystackPublicKey: string;
|
|
1189
1197
|
freeShippingThreshold: number;
|
|
1198
|
+
upsellDiscountPercent: number;
|
|
1190
1199
|
createdAt: string;
|
|
1191
1200
|
updatedAt: string;
|
|
1192
1201
|
deletedAt: string;
|
|
@@ -1678,9 +1687,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1678
1687
|
createdAt: string;
|
|
1679
1688
|
updatedAt: string;
|
|
1680
1689
|
price: number;
|
|
1690
|
+
costPrice: number;
|
|
1681
1691
|
compareAtPrice: number;
|
|
1682
1692
|
deletedAt: string;
|
|
1683
1693
|
thumbnailUrl: string;
|
|
1694
|
+
rawThumbnailUrl: string;
|
|
1684
1695
|
originalPrice: number;
|
|
1685
1696
|
id: string;
|
|
1686
1697
|
name: string | null;
|
|
@@ -1691,6 +1702,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1691
1702
|
lowStockThreshold: number | null;
|
|
1692
1703
|
};
|
|
1693
1704
|
quantity: number;
|
|
1705
|
+
priceOverride: number;
|
|
1694
1706
|
basePrice: number;
|
|
1695
1707
|
discountPercent: number;
|
|
1696
1708
|
finalPrice: number;
|
|
@@ -1769,6 +1781,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
1769
1781
|
tiktokPixelId: string;
|
|
1770
1782
|
paystackPublicKey: string;
|
|
1771
1783
|
freeShippingThreshold: number;
|
|
1784
|
+
upsellDiscountPercent: number;
|
|
1772
1785
|
createdAt: string;
|
|
1773
1786
|
updatedAt: string;
|
|
1774
1787
|
deletedAt: string;
|
|
@@ -2260,9 +2273,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2260
2273
|
createdAt: string;
|
|
2261
2274
|
updatedAt: string;
|
|
2262
2275
|
price: number;
|
|
2276
|
+
costPrice: number;
|
|
2263
2277
|
compareAtPrice: number;
|
|
2264
2278
|
deletedAt: string;
|
|
2265
2279
|
thumbnailUrl: string;
|
|
2280
|
+
rawThumbnailUrl: string;
|
|
2266
2281
|
originalPrice: number;
|
|
2267
2282
|
id: string;
|
|
2268
2283
|
name: string | null;
|
|
@@ -2273,6 +2288,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2273
2288
|
lowStockThreshold: number | null;
|
|
2274
2289
|
};
|
|
2275
2290
|
quantity: number;
|
|
2291
|
+
priceOverride: number;
|
|
2276
2292
|
basePrice: number;
|
|
2277
2293
|
discountPercent: number;
|
|
2278
2294
|
finalPrice: number;
|
|
@@ -2352,6 +2368,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2352
2368
|
tiktokPixelId: string;
|
|
2353
2369
|
paystackPublicKey: string;
|
|
2354
2370
|
freeShippingThreshold: number;
|
|
2371
|
+
upsellDiscountPercent: number;
|
|
2355
2372
|
createdAt: string;
|
|
2356
2373
|
updatedAt: string;
|
|
2357
2374
|
deletedAt: string;
|
|
@@ -2843,9 +2860,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2843
2860
|
createdAt: string;
|
|
2844
2861
|
updatedAt: string;
|
|
2845
2862
|
price: number;
|
|
2863
|
+
costPrice: number;
|
|
2846
2864
|
compareAtPrice: number;
|
|
2847
2865
|
deletedAt: string;
|
|
2848
2866
|
thumbnailUrl: string;
|
|
2867
|
+
rawThumbnailUrl: string;
|
|
2849
2868
|
originalPrice: number;
|
|
2850
2869
|
id: string;
|
|
2851
2870
|
name: string | null;
|
|
@@ -2856,6 +2875,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2856
2875
|
lowStockThreshold: number | null;
|
|
2857
2876
|
};
|
|
2858
2877
|
quantity: number;
|
|
2878
|
+
priceOverride: number;
|
|
2859
2879
|
basePrice: number;
|
|
2860
2880
|
discountPercent: number;
|
|
2861
2881
|
finalPrice: number;
|
|
@@ -2935,6 +2955,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
2935
2955
|
tiktokPixelId: string;
|
|
2936
2956
|
paystackPublicKey: string;
|
|
2937
2957
|
freeShippingThreshold: number;
|
|
2958
|
+
upsellDiscountPercent: number;
|
|
2938
2959
|
createdAt: string;
|
|
2939
2960
|
updatedAt: string;
|
|
2940
2961
|
deletedAt: string;
|
|
@@ -3426,9 +3447,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
3426
3447
|
createdAt: string;
|
|
3427
3448
|
updatedAt: string;
|
|
3428
3449
|
price: number;
|
|
3450
|
+
costPrice: number;
|
|
3429
3451
|
compareAtPrice: number;
|
|
3430
3452
|
deletedAt: string;
|
|
3431
3453
|
thumbnailUrl: string;
|
|
3454
|
+
rawThumbnailUrl: string;
|
|
3432
3455
|
originalPrice: number;
|
|
3433
3456
|
id: string;
|
|
3434
3457
|
name: string | null;
|
|
@@ -3439,6 +3462,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
3439
3462
|
lowStockThreshold: number | null;
|
|
3440
3463
|
};
|
|
3441
3464
|
quantity: number;
|
|
3465
|
+
priceOverride: number;
|
|
3442
3466
|
basePrice: number;
|
|
3443
3467
|
discountPercent: number;
|
|
3444
3468
|
finalPrice: number;
|
|
@@ -3521,6 +3545,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
3521
3545
|
tiktokPixelId: string;
|
|
3522
3546
|
paystackPublicKey: string;
|
|
3523
3547
|
freeShippingThreshold: number;
|
|
3548
|
+
upsellDiscountPercent: number;
|
|
3524
3549
|
createdAt: string;
|
|
3525
3550
|
updatedAt: string;
|
|
3526
3551
|
deletedAt: string;
|
|
@@ -4012,9 +4037,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4012
4037
|
createdAt: string;
|
|
4013
4038
|
updatedAt: string;
|
|
4014
4039
|
price: number;
|
|
4040
|
+
costPrice: number;
|
|
4015
4041
|
compareAtPrice: number;
|
|
4016
4042
|
deletedAt: string;
|
|
4017
4043
|
thumbnailUrl: string;
|
|
4044
|
+
rawThumbnailUrl: string;
|
|
4018
4045
|
originalPrice: number;
|
|
4019
4046
|
id: string;
|
|
4020
4047
|
name: string | null;
|
|
@@ -4025,6 +4052,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4025
4052
|
lowStockThreshold: number | null;
|
|
4026
4053
|
};
|
|
4027
4054
|
quantity: number;
|
|
4055
|
+
priceOverride: number;
|
|
4028
4056
|
basePrice: number;
|
|
4029
4057
|
discountPercent: number;
|
|
4030
4058
|
finalPrice: number;
|
|
@@ -4122,6 +4150,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4122
4150
|
tiktokPixelId: string;
|
|
4123
4151
|
paystackPublicKey: string;
|
|
4124
4152
|
freeShippingThreshold: number;
|
|
4153
|
+
upsellDiscountPercent: number;
|
|
4125
4154
|
createdAt: string;
|
|
4126
4155
|
updatedAt: string;
|
|
4127
4156
|
deletedAt: string;
|
|
@@ -4613,9 +4642,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4613
4642
|
createdAt: string;
|
|
4614
4643
|
updatedAt: string;
|
|
4615
4644
|
price: number;
|
|
4645
|
+
costPrice: number;
|
|
4616
4646
|
compareAtPrice: number;
|
|
4617
4647
|
deletedAt: string;
|
|
4618
4648
|
thumbnailUrl: string;
|
|
4649
|
+
rawThumbnailUrl: string;
|
|
4619
4650
|
originalPrice: number;
|
|
4620
4651
|
id: string;
|
|
4621
4652
|
name: string | null;
|
|
@@ -4626,6 +4657,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4626
4657
|
lowStockThreshold: number | null;
|
|
4627
4658
|
};
|
|
4628
4659
|
quantity: number;
|
|
4660
|
+
priceOverride: number;
|
|
4629
4661
|
basePrice: number;
|
|
4630
4662
|
discountPercent: number;
|
|
4631
4663
|
finalPrice: number;
|
|
@@ -4788,6 +4820,9 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4788
4820
|
};
|
|
4789
4821
|
output: {
|
|
4790
4822
|
subtotal: number;
|
|
4823
|
+
totalCost: number;
|
|
4824
|
+
totalProfit: number;
|
|
4825
|
+
profitMargin: number;
|
|
4791
4826
|
deliveryCharge: number;
|
|
4792
4827
|
totalPrice: number;
|
|
4793
4828
|
discountAmount: number;
|
|
@@ -4804,6 +4839,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4804
4839
|
deliveryConfirmationSentAt: string;
|
|
4805
4840
|
deliveryConfirmedAt: string;
|
|
4806
4841
|
deliveryConfirmationAttempts: number;
|
|
4842
|
+
needsManualCall: boolean;
|
|
4807
4843
|
brand: {
|
|
4808
4844
|
id: string;
|
|
4809
4845
|
name: string;
|
|
@@ -4815,6 +4851,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4815
4851
|
tiktokPixelId: string;
|
|
4816
4852
|
paystackPublicKey: string;
|
|
4817
4853
|
freeShippingThreshold: number;
|
|
4854
|
+
upsellDiscountPercent: number;
|
|
4818
4855
|
createdAt: string;
|
|
4819
4856
|
updatedAt: string;
|
|
4820
4857
|
deletedAt: string;
|
|
@@ -4847,6 +4884,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
4847
4884
|
};
|
|
4848
4885
|
items: {
|
|
4849
4886
|
priceAtPurchase: number;
|
|
4887
|
+
costAtPurchase: number;
|
|
4888
|
+
itemProfit: number;
|
|
4850
4889
|
variant: {
|
|
4851
4890
|
price: number;
|
|
4852
4891
|
createdAt: string;
|
|
@@ -5306,6 +5345,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5306
5345
|
productId: string;
|
|
5307
5346
|
thumbnailUrl: string | null;
|
|
5308
5347
|
sku: string;
|
|
5348
|
+
costPrice: string;
|
|
5309
5349
|
compareAtPrice: string;
|
|
5310
5350
|
trackInventory: boolean;
|
|
5311
5351
|
lowStockThreshold: number | null;
|
|
@@ -5398,6 +5438,9 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5398
5438
|
};
|
|
5399
5439
|
output: {
|
|
5400
5440
|
subtotal: number;
|
|
5441
|
+
totalCost: number;
|
|
5442
|
+
totalProfit: number;
|
|
5443
|
+
profitMargin: number;
|
|
5401
5444
|
deliveryCharge: number;
|
|
5402
5445
|
totalPrice: number;
|
|
5403
5446
|
discountAmount: number;
|
|
@@ -5414,6 +5457,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5414
5457
|
deliveryConfirmationSentAt: string;
|
|
5415
5458
|
deliveryConfirmedAt: string;
|
|
5416
5459
|
deliveryConfirmationAttempts: number;
|
|
5460
|
+
needsManualCall: boolean;
|
|
5417
5461
|
brand: {
|
|
5418
5462
|
id: string;
|
|
5419
5463
|
name: string;
|
|
@@ -5425,6 +5469,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5425
5469
|
tiktokPixelId: string;
|
|
5426
5470
|
paystackPublicKey: string;
|
|
5427
5471
|
freeShippingThreshold: number;
|
|
5472
|
+
upsellDiscountPercent: number;
|
|
5428
5473
|
createdAt: string;
|
|
5429
5474
|
updatedAt: string;
|
|
5430
5475
|
deletedAt: string;
|
|
@@ -5457,6 +5502,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5457
5502
|
};
|
|
5458
5503
|
items: {
|
|
5459
5504
|
priceAtPurchase: number;
|
|
5505
|
+
costAtPurchase: number;
|
|
5506
|
+
itemProfit: number;
|
|
5460
5507
|
variant: {
|
|
5461
5508
|
price: number;
|
|
5462
5509
|
createdAt: string;
|
|
@@ -5916,6 +5963,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5916
5963
|
productId: string;
|
|
5917
5964
|
thumbnailUrl: string | null;
|
|
5918
5965
|
sku: string;
|
|
5966
|
+
costPrice: string;
|
|
5919
5967
|
compareAtPrice: string;
|
|
5920
5968
|
trackInventory: boolean;
|
|
5921
5969
|
lowStockThreshold: number | null;
|
|
@@ -5989,6 +6037,560 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
5989
6037
|
};
|
|
5990
6038
|
}>;
|
|
5991
6039
|
};
|
|
6040
|
+
} & {
|
|
6041
|
+
":id": {
|
|
6042
|
+
"upsell-addons": import("hono/client").ClientRequest<{
|
|
6043
|
+
$get: {
|
|
6044
|
+
input: {
|
|
6045
|
+
param: {
|
|
6046
|
+
id: string;
|
|
6047
|
+
};
|
|
6048
|
+
};
|
|
6049
|
+
output: {
|
|
6050
|
+
error: {
|
|
6051
|
+
code: string;
|
|
6052
|
+
message: string;
|
|
6053
|
+
};
|
|
6054
|
+
};
|
|
6055
|
+
outputFormat: "json";
|
|
6056
|
+
status: any;
|
|
6057
|
+
} | {
|
|
6058
|
+
input: {
|
|
6059
|
+
param: {
|
|
6060
|
+
id: string;
|
|
6061
|
+
};
|
|
6062
|
+
};
|
|
6063
|
+
output: {
|
|
6064
|
+
productId: string;
|
|
6065
|
+
productName: string;
|
|
6066
|
+
productThumbnailUrl: string | null;
|
|
6067
|
+
addons: {
|
|
6068
|
+
isOnSale: boolean;
|
|
6069
|
+
saleId: string;
|
|
6070
|
+
saleName: string;
|
|
6071
|
+
saleEndsAt: string;
|
|
6072
|
+
id: string;
|
|
6073
|
+
name: string;
|
|
6074
|
+
slug: string;
|
|
6075
|
+
description: string;
|
|
6076
|
+
thumbnailUrl: string;
|
|
6077
|
+
quantityDiscounts: string | number | boolean | {
|
|
6078
|
+
[x: string]: string | number | boolean | /*elided*/ any | {
|
|
6079
|
+
[x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any;
|
|
6080
|
+
length: number;
|
|
6081
|
+
toString: never;
|
|
6082
|
+
toLocaleString: never;
|
|
6083
|
+
pop: never;
|
|
6084
|
+
push: never;
|
|
6085
|
+
concat: never;
|
|
6086
|
+
join: never;
|
|
6087
|
+
reverse: never;
|
|
6088
|
+
shift: never;
|
|
6089
|
+
slice: never;
|
|
6090
|
+
sort: never;
|
|
6091
|
+
splice: never;
|
|
6092
|
+
unshift: never;
|
|
6093
|
+
indexOf: never;
|
|
6094
|
+
lastIndexOf: never;
|
|
6095
|
+
every: never;
|
|
6096
|
+
some: never;
|
|
6097
|
+
forEach: never;
|
|
6098
|
+
map: never;
|
|
6099
|
+
filter: never;
|
|
6100
|
+
reduce: never;
|
|
6101
|
+
reduceRight: never;
|
|
6102
|
+
find: never;
|
|
6103
|
+
findIndex: never;
|
|
6104
|
+
fill: never;
|
|
6105
|
+
copyWithin: never;
|
|
6106
|
+
entries: never;
|
|
6107
|
+
keys: never;
|
|
6108
|
+
values: never;
|
|
6109
|
+
includes: never;
|
|
6110
|
+
flatMap: never;
|
|
6111
|
+
flat: never;
|
|
6112
|
+
[Symbol.iterator]: never;
|
|
6113
|
+
readonly [Symbol.unscopables]: {
|
|
6114
|
+
[x: number]: boolean;
|
|
6115
|
+
length?: boolean;
|
|
6116
|
+
toString?: boolean;
|
|
6117
|
+
toLocaleString?: boolean;
|
|
6118
|
+
pop?: boolean;
|
|
6119
|
+
push?: boolean;
|
|
6120
|
+
concat?: boolean;
|
|
6121
|
+
join?: boolean;
|
|
6122
|
+
reverse?: boolean;
|
|
6123
|
+
shift?: boolean;
|
|
6124
|
+
slice?: boolean;
|
|
6125
|
+
sort?: boolean;
|
|
6126
|
+
splice?: boolean;
|
|
6127
|
+
unshift?: boolean;
|
|
6128
|
+
indexOf?: boolean;
|
|
6129
|
+
lastIndexOf?: boolean;
|
|
6130
|
+
every?: boolean;
|
|
6131
|
+
some?: boolean;
|
|
6132
|
+
forEach?: boolean;
|
|
6133
|
+
map?: boolean;
|
|
6134
|
+
filter?: boolean;
|
|
6135
|
+
reduce?: boolean;
|
|
6136
|
+
reduceRight?: boolean;
|
|
6137
|
+
find?: boolean;
|
|
6138
|
+
findIndex?: boolean;
|
|
6139
|
+
fill?: boolean;
|
|
6140
|
+
copyWithin?: boolean;
|
|
6141
|
+
entries?: boolean;
|
|
6142
|
+
keys?: boolean;
|
|
6143
|
+
values?: boolean;
|
|
6144
|
+
includes?: boolean;
|
|
6145
|
+
flatMap?: boolean;
|
|
6146
|
+
flat?: boolean;
|
|
6147
|
+
};
|
|
6148
|
+
};
|
|
6149
|
+
} | {
|
|
6150
|
+
[x: number]: string | number | boolean | {
|
|
6151
|
+
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any;
|
|
6152
|
+
} | /*elided*/ any;
|
|
6153
|
+
length: number;
|
|
6154
|
+
toString: never;
|
|
6155
|
+
toLocaleString: never;
|
|
6156
|
+
pop: never;
|
|
6157
|
+
push: never;
|
|
6158
|
+
concat: never;
|
|
6159
|
+
join: never;
|
|
6160
|
+
reverse: never;
|
|
6161
|
+
shift: never;
|
|
6162
|
+
slice: never;
|
|
6163
|
+
sort: never;
|
|
6164
|
+
splice: never;
|
|
6165
|
+
unshift: never;
|
|
6166
|
+
indexOf: never;
|
|
6167
|
+
lastIndexOf: never;
|
|
6168
|
+
every: never;
|
|
6169
|
+
some: never;
|
|
6170
|
+
forEach: never;
|
|
6171
|
+
map: never;
|
|
6172
|
+
filter: never;
|
|
6173
|
+
reduce: never;
|
|
6174
|
+
reduceRight: never;
|
|
6175
|
+
find: never;
|
|
6176
|
+
findIndex: never;
|
|
6177
|
+
fill: never;
|
|
6178
|
+
copyWithin: never;
|
|
6179
|
+
entries: never;
|
|
6180
|
+
keys: never;
|
|
6181
|
+
values: never;
|
|
6182
|
+
includes: never;
|
|
6183
|
+
flatMap: never;
|
|
6184
|
+
flat: never;
|
|
6185
|
+
[Symbol.iterator]: never;
|
|
6186
|
+
readonly [Symbol.unscopables]: {
|
|
6187
|
+
[x: number]: boolean;
|
|
6188
|
+
length?: boolean;
|
|
6189
|
+
toString?: boolean;
|
|
6190
|
+
toLocaleString?: boolean;
|
|
6191
|
+
pop?: boolean;
|
|
6192
|
+
push?: boolean;
|
|
6193
|
+
concat?: boolean;
|
|
6194
|
+
join?: boolean;
|
|
6195
|
+
reverse?: boolean;
|
|
6196
|
+
shift?: boolean;
|
|
6197
|
+
slice?: boolean;
|
|
6198
|
+
sort?: boolean;
|
|
6199
|
+
splice?: boolean;
|
|
6200
|
+
unshift?: boolean;
|
|
6201
|
+
indexOf?: boolean;
|
|
6202
|
+
lastIndexOf?: boolean;
|
|
6203
|
+
every?: boolean;
|
|
6204
|
+
some?: boolean;
|
|
6205
|
+
forEach?: boolean;
|
|
6206
|
+
map?: boolean;
|
|
6207
|
+
filter?: boolean;
|
|
6208
|
+
reduce?: boolean;
|
|
6209
|
+
reduceRight?: boolean;
|
|
6210
|
+
find?: boolean;
|
|
6211
|
+
findIndex?: boolean;
|
|
6212
|
+
fill?: boolean;
|
|
6213
|
+
copyWithin?: boolean;
|
|
6214
|
+
entries?: boolean;
|
|
6215
|
+
keys?: boolean;
|
|
6216
|
+
values?: boolean;
|
|
6217
|
+
includes?: boolean;
|
|
6218
|
+
flatMap?: boolean;
|
|
6219
|
+
flat?: boolean;
|
|
6220
|
+
};
|
|
6221
|
+
};
|
|
6222
|
+
brand: {
|
|
6223
|
+
id: string;
|
|
6224
|
+
name: string;
|
|
6225
|
+
slug: string;
|
|
6226
|
+
logoUrl: string;
|
|
6227
|
+
siteUrl: string;
|
|
6228
|
+
domain: string;
|
|
6229
|
+
metaPixelId: string;
|
|
6230
|
+
tiktokPixelId: string;
|
|
6231
|
+
paystackPublicKey: string;
|
|
6232
|
+
freeShippingThreshold: number;
|
|
6233
|
+
upsellDiscountPercent: number;
|
|
6234
|
+
createdAt: string;
|
|
6235
|
+
updatedAt: string;
|
|
6236
|
+
deletedAt: string;
|
|
6237
|
+
};
|
|
6238
|
+
variants: {
|
|
6239
|
+
createdAt: string;
|
|
6240
|
+
updatedAt: string;
|
|
6241
|
+
price: number;
|
|
6242
|
+
costPrice: number;
|
|
6243
|
+
compareAtPrice: number;
|
|
6244
|
+
deletedAt: string;
|
|
6245
|
+
thumbnailUrl: string;
|
|
6246
|
+
rawThumbnailUrl: string;
|
|
6247
|
+
originalPrice: number;
|
|
6248
|
+
id: string;
|
|
6249
|
+
name: string | null;
|
|
6250
|
+
isActive: boolean;
|
|
6251
|
+
productId: string;
|
|
6252
|
+
sku: string;
|
|
6253
|
+
trackInventory: boolean;
|
|
6254
|
+
lowStockThreshold: number | null;
|
|
6255
|
+
}[];
|
|
6256
|
+
media: string | number | true | {
|
|
6257
|
+
[x: string]: string | number | boolean | /*elided*/ any | {
|
|
6258
|
+
[x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any;
|
|
6259
|
+
length: number;
|
|
6260
|
+
toString: never;
|
|
6261
|
+
toLocaleString: never;
|
|
6262
|
+
pop: never;
|
|
6263
|
+
push: never;
|
|
6264
|
+
concat: never;
|
|
6265
|
+
join: never;
|
|
6266
|
+
reverse: never;
|
|
6267
|
+
shift: never;
|
|
6268
|
+
slice: never;
|
|
6269
|
+
sort: never;
|
|
6270
|
+
splice: never;
|
|
6271
|
+
unshift: never;
|
|
6272
|
+
indexOf: never;
|
|
6273
|
+
lastIndexOf: never;
|
|
6274
|
+
every: never;
|
|
6275
|
+
some: never;
|
|
6276
|
+
forEach: never;
|
|
6277
|
+
map: never;
|
|
6278
|
+
filter: never;
|
|
6279
|
+
reduce: never;
|
|
6280
|
+
reduceRight: never;
|
|
6281
|
+
find: never;
|
|
6282
|
+
findIndex: never;
|
|
6283
|
+
fill: never;
|
|
6284
|
+
copyWithin: never;
|
|
6285
|
+
entries: never;
|
|
6286
|
+
keys: never;
|
|
6287
|
+
values: never;
|
|
6288
|
+
includes: never;
|
|
6289
|
+
flatMap: never;
|
|
6290
|
+
flat: never;
|
|
6291
|
+
[Symbol.iterator]: never;
|
|
6292
|
+
readonly [Symbol.unscopables]: {
|
|
6293
|
+
[x: number]: boolean;
|
|
6294
|
+
length?: boolean;
|
|
6295
|
+
toString?: boolean;
|
|
6296
|
+
toLocaleString?: boolean;
|
|
6297
|
+
pop?: boolean;
|
|
6298
|
+
push?: boolean;
|
|
6299
|
+
concat?: boolean;
|
|
6300
|
+
join?: boolean;
|
|
6301
|
+
reverse?: boolean;
|
|
6302
|
+
shift?: boolean;
|
|
6303
|
+
slice?: boolean;
|
|
6304
|
+
sort?: boolean;
|
|
6305
|
+
splice?: boolean;
|
|
6306
|
+
unshift?: boolean;
|
|
6307
|
+
indexOf?: boolean;
|
|
6308
|
+
lastIndexOf?: boolean;
|
|
6309
|
+
every?: boolean;
|
|
6310
|
+
some?: boolean;
|
|
6311
|
+
forEach?: boolean;
|
|
6312
|
+
map?: boolean;
|
|
6313
|
+
filter?: boolean;
|
|
6314
|
+
reduce?: boolean;
|
|
6315
|
+
reduceRight?: boolean;
|
|
6316
|
+
find?: boolean;
|
|
6317
|
+
findIndex?: boolean;
|
|
6318
|
+
fill?: boolean;
|
|
6319
|
+
copyWithin?: boolean;
|
|
6320
|
+
entries?: boolean;
|
|
6321
|
+
keys?: boolean;
|
|
6322
|
+
values?: boolean;
|
|
6323
|
+
includes?: boolean;
|
|
6324
|
+
flatMap?: boolean;
|
|
6325
|
+
flat?: boolean;
|
|
6326
|
+
};
|
|
6327
|
+
};
|
|
6328
|
+
} | {
|
|
6329
|
+
[x: number]: string | number | boolean | {
|
|
6330
|
+
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any;
|
|
6331
|
+
} | /*elided*/ any;
|
|
6332
|
+
length: number;
|
|
6333
|
+
toString: never;
|
|
6334
|
+
toLocaleString: never;
|
|
6335
|
+
pop: never;
|
|
6336
|
+
push: never;
|
|
6337
|
+
concat: never;
|
|
6338
|
+
join: never;
|
|
6339
|
+
reverse: never;
|
|
6340
|
+
shift: never;
|
|
6341
|
+
slice: never;
|
|
6342
|
+
sort: never;
|
|
6343
|
+
splice: never;
|
|
6344
|
+
unshift: never;
|
|
6345
|
+
indexOf: never;
|
|
6346
|
+
lastIndexOf: never;
|
|
6347
|
+
every: never;
|
|
6348
|
+
some: never;
|
|
6349
|
+
forEach: never;
|
|
6350
|
+
map: never;
|
|
6351
|
+
filter: never;
|
|
6352
|
+
reduce: never;
|
|
6353
|
+
reduceRight: never;
|
|
6354
|
+
find: never;
|
|
6355
|
+
findIndex: never;
|
|
6356
|
+
fill: never;
|
|
6357
|
+
copyWithin: never;
|
|
6358
|
+
entries: never;
|
|
6359
|
+
keys: never;
|
|
6360
|
+
values: never;
|
|
6361
|
+
includes: never;
|
|
6362
|
+
flatMap: never;
|
|
6363
|
+
flat: never;
|
|
6364
|
+
[Symbol.iterator]: never;
|
|
6365
|
+
readonly [Symbol.unscopables]: {
|
|
6366
|
+
[x: number]: boolean;
|
|
6367
|
+
length?: boolean;
|
|
6368
|
+
toString?: boolean;
|
|
6369
|
+
toLocaleString?: boolean;
|
|
6370
|
+
pop?: boolean;
|
|
6371
|
+
push?: boolean;
|
|
6372
|
+
concat?: boolean;
|
|
6373
|
+
join?: boolean;
|
|
6374
|
+
reverse?: boolean;
|
|
6375
|
+
shift?: boolean;
|
|
6376
|
+
slice?: boolean;
|
|
6377
|
+
sort?: boolean;
|
|
6378
|
+
splice?: boolean;
|
|
6379
|
+
unshift?: boolean;
|
|
6380
|
+
indexOf?: boolean;
|
|
6381
|
+
lastIndexOf?: boolean;
|
|
6382
|
+
every?: boolean;
|
|
6383
|
+
some?: boolean;
|
|
6384
|
+
forEach?: boolean;
|
|
6385
|
+
map?: boolean;
|
|
6386
|
+
filter?: boolean;
|
|
6387
|
+
reduce?: boolean;
|
|
6388
|
+
reduceRight?: boolean;
|
|
6389
|
+
find?: boolean;
|
|
6390
|
+
findIndex?: boolean;
|
|
6391
|
+
fill?: boolean;
|
|
6392
|
+
copyWithin?: boolean;
|
|
6393
|
+
entries?: boolean;
|
|
6394
|
+
keys?: boolean;
|
|
6395
|
+
values?: boolean;
|
|
6396
|
+
includes?: boolean;
|
|
6397
|
+
flatMap?: boolean;
|
|
6398
|
+
flat?: boolean;
|
|
6399
|
+
};
|
|
6400
|
+
};
|
|
6401
|
+
features: string;
|
|
6402
|
+
faqs: string | number | true | {
|
|
6403
|
+
[x: string]: string | number | boolean | /*elided*/ any | {
|
|
6404
|
+
[x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any;
|
|
6405
|
+
length: number;
|
|
6406
|
+
toString: never;
|
|
6407
|
+
toLocaleString: never;
|
|
6408
|
+
pop: never;
|
|
6409
|
+
push: never;
|
|
6410
|
+
concat: never;
|
|
6411
|
+
join: never;
|
|
6412
|
+
reverse: never;
|
|
6413
|
+
shift: never;
|
|
6414
|
+
slice: never;
|
|
6415
|
+
sort: never;
|
|
6416
|
+
splice: never;
|
|
6417
|
+
unshift: never;
|
|
6418
|
+
indexOf: never;
|
|
6419
|
+
lastIndexOf: never;
|
|
6420
|
+
every: never;
|
|
6421
|
+
some: never;
|
|
6422
|
+
forEach: never;
|
|
6423
|
+
map: never;
|
|
6424
|
+
filter: never;
|
|
6425
|
+
reduce: never;
|
|
6426
|
+
reduceRight: never;
|
|
6427
|
+
find: never;
|
|
6428
|
+
findIndex: never;
|
|
6429
|
+
fill: never;
|
|
6430
|
+
copyWithin: never;
|
|
6431
|
+
entries: never;
|
|
6432
|
+
keys: never;
|
|
6433
|
+
values: never;
|
|
6434
|
+
includes: never;
|
|
6435
|
+
flatMap: never;
|
|
6436
|
+
flat: never;
|
|
6437
|
+
[Symbol.iterator]: never;
|
|
6438
|
+
readonly [Symbol.unscopables]: {
|
|
6439
|
+
[x: number]: boolean;
|
|
6440
|
+
length?: boolean;
|
|
6441
|
+
toString?: boolean;
|
|
6442
|
+
toLocaleString?: boolean;
|
|
6443
|
+
pop?: boolean;
|
|
6444
|
+
push?: boolean;
|
|
6445
|
+
concat?: boolean;
|
|
6446
|
+
join?: boolean;
|
|
6447
|
+
reverse?: boolean;
|
|
6448
|
+
shift?: boolean;
|
|
6449
|
+
slice?: boolean;
|
|
6450
|
+
sort?: boolean;
|
|
6451
|
+
splice?: boolean;
|
|
6452
|
+
unshift?: boolean;
|
|
6453
|
+
indexOf?: boolean;
|
|
6454
|
+
lastIndexOf?: boolean;
|
|
6455
|
+
every?: boolean;
|
|
6456
|
+
some?: boolean;
|
|
6457
|
+
forEach?: boolean;
|
|
6458
|
+
map?: boolean;
|
|
6459
|
+
filter?: boolean;
|
|
6460
|
+
reduce?: boolean;
|
|
6461
|
+
reduceRight?: boolean;
|
|
6462
|
+
find?: boolean;
|
|
6463
|
+
findIndex?: boolean;
|
|
6464
|
+
fill?: boolean;
|
|
6465
|
+
copyWithin?: boolean;
|
|
6466
|
+
entries?: boolean;
|
|
6467
|
+
keys?: boolean;
|
|
6468
|
+
values?: boolean;
|
|
6469
|
+
includes?: boolean;
|
|
6470
|
+
flatMap?: boolean;
|
|
6471
|
+
flat?: boolean;
|
|
6472
|
+
};
|
|
6473
|
+
};
|
|
6474
|
+
} | {
|
|
6475
|
+
[x: number]: string | number | boolean | {
|
|
6476
|
+
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any;
|
|
6477
|
+
} | /*elided*/ any;
|
|
6478
|
+
length: number;
|
|
6479
|
+
toString: never;
|
|
6480
|
+
toLocaleString: never;
|
|
6481
|
+
pop: never;
|
|
6482
|
+
push: never;
|
|
6483
|
+
concat: never;
|
|
6484
|
+
join: never;
|
|
6485
|
+
reverse: never;
|
|
6486
|
+
shift: never;
|
|
6487
|
+
slice: never;
|
|
6488
|
+
sort: never;
|
|
6489
|
+
splice: never;
|
|
6490
|
+
unshift: never;
|
|
6491
|
+
indexOf: never;
|
|
6492
|
+
lastIndexOf: never;
|
|
6493
|
+
every: never;
|
|
6494
|
+
some: never;
|
|
6495
|
+
forEach: never;
|
|
6496
|
+
map: never;
|
|
6497
|
+
filter: never;
|
|
6498
|
+
reduce: never;
|
|
6499
|
+
reduceRight: never;
|
|
6500
|
+
find: never;
|
|
6501
|
+
findIndex: never;
|
|
6502
|
+
fill: never;
|
|
6503
|
+
copyWithin: never;
|
|
6504
|
+
entries: never;
|
|
6505
|
+
keys: never;
|
|
6506
|
+
values: never;
|
|
6507
|
+
includes: never;
|
|
6508
|
+
flatMap: never;
|
|
6509
|
+
flat: never;
|
|
6510
|
+
[Symbol.iterator]: never;
|
|
6511
|
+
readonly [Symbol.unscopables]: {
|
|
6512
|
+
[x: number]: boolean;
|
|
6513
|
+
length?: boolean;
|
|
6514
|
+
toString?: boolean;
|
|
6515
|
+
toLocaleString?: boolean;
|
|
6516
|
+
pop?: boolean;
|
|
6517
|
+
push?: boolean;
|
|
6518
|
+
concat?: boolean;
|
|
6519
|
+
join?: boolean;
|
|
6520
|
+
reverse?: boolean;
|
|
6521
|
+
shift?: boolean;
|
|
6522
|
+
slice?: boolean;
|
|
6523
|
+
sort?: boolean;
|
|
6524
|
+
splice?: boolean;
|
|
6525
|
+
unshift?: boolean;
|
|
6526
|
+
indexOf?: boolean;
|
|
6527
|
+
lastIndexOf?: boolean;
|
|
6528
|
+
every?: boolean;
|
|
6529
|
+
some?: boolean;
|
|
6530
|
+
forEach?: boolean;
|
|
6531
|
+
map?: boolean;
|
|
6532
|
+
filter?: boolean;
|
|
6533
|
+
reduce?: boolean;
|
|
6534
|
+
reduceRight?: boolean;
|
|
6535
|
+
find?: boolean;
|
|
6536
|
+
findIndex?: boolean;
|
|
6537
|
+
fill?: boolean;
|
|
6538
|
+
copyWithin?: boolean;
|
|
6539
|
+
entries?: boolean;
|
|
6540
|
+
keys?: boolean;
|
|
6541
|
+
values?: boolean;
|
|
6542
|
+
includes?: boolean;
|
|
6543
|
+
flatMap?: boolean;
|
|
6544
|
+
flat?: boolean;
|
|
6545
|
+
};
|
|
6546
|
+
};
|
|
6547
|
+
sales: {
|
|
6548
|
+
sale: {
|
|
6549
|
+
id: string;
|
|
6550
|
+
name: string;
|
|
6551
|
+
createdAt: string;
|
|
6552
|
+
updatedAt: string;
|
|
6553
|
+
deletedAt: string;
|
|
6554
|
+
isActive: boolean;
|
|
6555
|
+
brandId: string;
|
|
6556
|
+
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
6557
|
+
discountValue: string;
|
|
6558
|
+
startDate: string;
|
|
6559
|
+
endDate: string;
|
|
6560
|
+
};
|
|
6561
|
+
id: string;
|
|
6562
|
+
createdAt: string;
|
|
6563
|
+
productId: string;
|
|
6564
|
+
saleId: string;
|
|
6565
|
+
}[];
|
|
6566
|
+
createdAt: string;
|
|
6567
|
+
updatedAt: string;
|
|
6568
|
+
deletedAt: string;
|
|
6569
|
+
isActive: boolean;
|
|
6570
|
+
brandId: string;
|
|
6571
|
+
discountPercent: number;
|
|
6572
|
+
addonDescription: string | null;
|
|
6573
|
+
}[];
|
|
6574
|
+
}[];
|
|
6575
|
+
outputFormat: "json";
|
|
6576
|
+
status: 200;
|
|
6577
|
+
} | {
|
|
6578
|
+
input: {
|
|
6579
|
+
param: {
|
|
6580
|
+
id: string;
|
|
6581
|
+
};
|
|
6582
|
+
};
|
|
6583
|
+
output: {
|
|
6584
|
+
error: {
|
|
6585
|
+
code: string;
|
|
6586
|
+
message: any;
|
|
6587
|
+
};
|
|
6588
|
+
};
|
|
6589
|
+
outputFormat: "json";
|
|
6590
|
+
status: 500;
|
|
6591
|
+
};
|
|
6592
|
+
}>;
|
|
6593
|
+
};
|
|
5992
6594
|
} & {
|
|
5993
6595
|
":id": {
|
|
5994
6596
|
recommendations: import("hono/client").ClientRequest<{
|
|
@@ -6164,6 +6766,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6164
6766
|
tiktokPixelId: string;
|
|
6165
6767
|
paystackPublicKey: string;
|
|
6166
6768
|
freeShippingThreshold: number;
|
|
6769
|
+
upsellDiscountPercent: number;
|
|
6167
6770
|
createdAt: string;
|
|
6168
6771
|
updatedAt: string;
|
|
6169
6772
|
deletedAt: string;
|
|
@@ -6172,9 +6775,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6172
6775
|
createdAt: string;
|
|
6173
6776
|
updatedAt: string;
|
|
6174
6777
|
price: number;
|
|
6778
|
+
costPrice: number;
|
|
6175
6779
|
compareAtPrice: number;
|
|
6176
6780
|
deletedAt: string;
|
|
6177
6781
|
thumbnailUrl: string;
|
|
6782
|
+
rawThumbnailUrl: string;
|
|
6178
6783
|
originalPrice: number;
|
|
6179
6784
|
id: string;
|
|
6180
6785
|
name: string | null;
|
|
@@ -6567,6 +7172,9 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6567
7172
|
canUpdateAddress: boolean;
|
|
6568
7173
|
confirmationMessage: string;
|
|
6569
7174
|
subtotal: number;
|
|
7175
|
+
totalCost: number;
|
|
7176
|
+
totalProfit: number;
|
|
7177
|
+
profitMargin: number;
|
|
6570
7178
|
deliveryCharge: number;
|
|
6571
7179
|
totalPrice: number;
|
|
6572
7180
|
discountAmount: number;
|
|
@@ -6583,6 +7191,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6583
7191
|
deliveryConfirmationSentAt: string;
|
|
6584
7192
|
deliveryConfirmedAt: string;
|
|
6585
7193
|
deliveryConfirmationAttempts: number;
|
|
7194
|
+
needsManualCall: boolean;
|
|
6586
7195
|
brand: {
|
|
6587
7196
|
id: string;
|
|
6588
7197
|
name: string;
|
|
@@ -6594,6 +7203,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6594
7203
|
tiktokPixelId: string;
|
|
6595
7204
|
paystackPublicKey: string;
|
|
6596
7205
|
freeShippingThreshold: number;
|
|
7206
|
+
upsellDiscountPercent: number;
|
|
6597
7207
|
createdAt: string;
|
|
6598
7208
|
updatedAt: string;
|
|
6599
7209
|
deletedAt: string;
|
|
@@ -6626,6 +7236,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
6626
7236
|
};
|
|
6627
7237
|
items: {
|
|
6628
7238
|
priceAtPurchase: number;
|
|
7239
|
+
costAtPurchase: number;
|
|
7240
|
+
itemProfit: number;
|
|
6629
7241
|
variant: {
|
|
6630
7242
|
price: number;
|
|
6631
7243
|
createdAt: string;
|
|
@@ -7085,6 +7697,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7085
7697
|
productId: string;
|
|
7086
7698
|
thumbnailUrl: string | null;
|
|
7087
7699
|
sku: string;
|
|
7700
|
+
costPrice: string;
|
|
7088
7701
|
compareAtPrice: string;
|
|
7089
7702
|
trackInventory: boolean;
|
|
7090
7703
|
lowStockThreshold: number | null;
|
|
@@ -7186,6 +7799,9 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7186
7799
|
input: {};
|
|
7187
7800
|
output: {
|
|
7188
7801
|
subtotal: number;
|
|
7802
|
+
totalCost: number;
|
|
7803
|
+
totalProfit: number;
|
|
7804
|
+
profitMargin: number;
|
|
7189
7805
|
deliveryCharge: number;
|
|
7190
7806
|
totalPrice: number;
|
|
7191
7807
|
discountAmount: number;
|
|
@@ -7202,6 +7818,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7202
7818
|
deliveryConfirmationSentAt: string;
|
|
7203
7819
|
deliveryConfirmedAt: string;
|
|
7204
7820
|
deliveryConfirmationAttempts: number;
|
|
7821
|
+
needsManualCall: boolean;
|
|
7205
7822
|
brand: {
|
|
7206
7823
|
id: string;
|
|
7207
7824
|
name: string;
|
|
@@ -7213,6 +7830,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7213
7830
|
tiktokPixelId: string;
|
|
7214
7831
|
paystackPublicKey: string;
|
|
7215
7832
|
freeShippingThreshold: number;
|
|
7833
|
+
upsellDiscountPercent: number;
|
|
7216
7834
|
createdAt: string;
|
|
7217
7835
|
updatedAt: string;
|
|
7218
7836
|
deletedAt: string;
|
|
@@ -7245,6 +7863,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7245
7863
|
};
|
|
7246
7864
|
items: {
|
|
7247
7865
|
priceAtPurchase: number;
|
|
7866
|
+
costAtPurchase: number;
|
|
7867
|
+
itemProfit: number;
|
|
7248
7868
|
variant: {
|
|
7249
7869
|
price: number;
|
|
7250
7870
|
createdAt: string;
|
|
@@ -7704,6 +8324,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7704
8324
|
productId: string;
|
|
7705
8325
|
thumbnailUrl: string | null;
|
|
7706
8326
|
sku: string;
|
|
8327
|
+
costPrice: string;
|
|
7707
8328
|
compareAtPrice: string;
|
|
7708
8329
|
trackInventory: boolean;
|
|
7709
8330
|
lowStockThreshold: number | null;
|
|
@@ -7778,6 +8399,9 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7778
8399
|
input: {};
|
|
7779
8400
|
output: {
|
|
7780
8401
|
subtotal: number;
|
|
8402
|
+
totalCost: number;
|
|
8403
|
+
totalProfit: number;
|
|
8404
|
+
profitMargin: number;
|
|
7781
8405
|
deliveryCharge: number;
|
|
7782
8406
|
totalPrice: number;
|
|
7783
8407
|
discountAmount: number;
|
|
@@ -7794,6 +8418,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7794
8418
|
deliveryConfirmationSentAt: string;
|
|
7795
8419
|
deliveryConfirmedAt: string;
|
|
7796
8420
|
deliveryConfirmationAttempts: number;
|
|
8421
|
+
needsManualCall: boolean;
|
|
7797
8422
|
brand: {
|
|
7798
8423
|
id: string;
|
|
7799
8424
|
name: string;
|
|
@@ -7805,6 +8430,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7805
8430
|
tiktokPixelId: string;
|
|
7806
8431
|
paystackPublicKey: string;
|
|
7807
8432
|
freeShippingThreshold: number;
|
|
8433
|
+
upsellDiscountPercent: number;
|
|
7808
8434
|
createdAt: string;
|
|
7809
8435
|
updatedAt: string;
|
|
7810
8436
|
deletedAt: string;
|
|
@@ -7837,6 +8463,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
7837
8463
|
};
|
|
7838
8464
|
items: {
|
|
7839
8465
|
priceAtPurchase: number;
|
|
8466
|
+
costAtPurchase: number;
|
|
8467
|
+
itemProfit: number;
|
|
7840
8468
|
variant: {
|
|
7841
8469
|
price: number;
|
|
7842
8470
|
createdAt: string;
|
|
@@ -8296,6 +8924,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8296
8924
|
productId: string;
|
|
8297
8925
|
thumbnailUrl: string | null;
|
|
8298
8926
|
sku: string;
|
|
8927
|
+
costPrice: string;
|
|
8299
8928
|
compareAtPrice: string;
|
|
8300
8929
|
trackInventory: boolean;
|
|
8301
8930
|
lowStockThreshold: number | null;
|
|
@@ -8380,6 +9009,9 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8380
9009
|
input: {};
|
|
8381
9010
|
output: {
|
|
8382
9011
|
subtotal: number;
|
|
9012
|
+
totalCost: number;
|
|
9013
|
+
totalProfit: number;
|
|
9014
|
+
profitMargin: number;
|
|
8383
9015
|
deliveryCharge: number;
|
|
8384
9016
|
totalPrice: number;
|
|
8385
9017
|
discountAmount: number;
|
|
@@ -8396,6 +9028,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8396
9028
|
deliveryConfirmationSentAt: string;
|
|
8397
9029
|
deliveryConfirmedAt: string;
|
|
8398
9030
|
deliveryConfirmationAttempts: number;
|
|
9031
|
+
needsManualCall: boolean;
|
|
8399
9032
|
brand: {
|
|
8400
9033
|
id: string;
|
|
8401
9034
|
name: string;
|
|
@@ -8407,6 +9040,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8407
9040
|
tiktokPixelId: string;
|
|
8408
9041
|
paystackPublicKey: string;
|
|
8409
9042
|
freeShippingThreshold: number;
|
|
9043
|
+
upsellDiscountPercent: number;
|
|
8410
9044
|
createdAt: string;
|
|
8411
9045
|
updatedAt: string;
|
|
8412
9046
|
deletedAt: string;
|
|
@@ -8439,6 +9073,8 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8439
9073
|
};
|
|
8440
9074
|
items: {
|
|
8441
9075
|
priceAtPurchase: number;
|
|
9076
|
+
costAtPurchase: number;
|
|
9077
|
+
itemProfit: number;
|
|
8442
9078
|
variant: {
|
|
8443
9079
|
price: number;
|
|
8444
9080
|
createdAt: string;
|
|
@@ -8898,6 +9534,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
8898
9534
|
productId: string;
|
|
8899
9535
|
thumbnailUrl: string | null;
|
|
8900
9536
|
sku: string;
|
|
9537
|
+
costPrice: string;
|
|
8901
9538
|
compareAtPrice: string;
|
|
8902
9539
|
trackInventory: boolean;
|
|
8903
9540
|
lowStockThreshold: number | null;
|
|
@@ -9170,6 +9807,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
9170
9807
|
tiktokPixelId: string;
|
|
9171
9808
|
paystackPublicKey: string;
|
|
9172
9809
|
freeShippingThreshold: number;
|
|
9810
|
+
upsellDiscountPercent: number;
|
|
9173
9811
|
createdAt: string;
|
|
9174
9812
|
updatedAt: string;
|
|
9175
9813
|
deletedAt: string;
|
|
@@ -9178,9 +9816,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
9178
9816
|
createdAt: string;
|
|
9179
9817
|
updatedAt: string;
|
|
9180
9818
|
price: number;
|
|
9819
|
+
costPrice: number;
|
|
9181
9820
|
compareAtPrice: number;
|
|
9182
9821
|
deletedAt: string;
|
|
9183
9822
|
thumbnailUrl: string;
|
|
9823
|
+
rawThumbnailUrl: string;
|
|
9184
9824
|
originalPrice: number;
|
|
9185
9825
|
id: string;
|
|
9186
9826
|
name: string | null;
|
|
@@ -9718,6 +10358,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
9718
10358
|
tiktokPixelId: string;
|
|
9719
10359
|
paystackPublicKey: string;
|
|
9720
10360
|
freeShippingThreshold: number;
|
|
10361
|
+
upsellDiscountPercent: number;
|
|
9721
10362
|
createdAt: string;
|
|
9722
10363
|
updatedAt: string;
|
|
9723
10364
|
deletedAt: string;
|
|
@@ -9726,9 +10367,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
9726
10367
|
createdAt: string;
|
|
9727
10368
|
updatedAt: string;
|
|
9728
10369
|
price: number;
|
|
10370
|
+
costPrice: number;
|
|
9729
10371
|
compareAtPrice: number;
|
|
9730
10372
|
deletedAt: string;
|
|
9731
10373
|
thumbnailUrl: string;
|
|
10374
|
+
rawThumbnailUrl: string;
|
|
9732
10375
|
originalPrice: number;
|
|
9733
10376
|
id: string;
|
|
9734
10377
|
name: string | null;
|
|
@@ -10249,6 +10892,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
10249
10892
|
tiktokPixelId: string;
|
|
10250
10893
|
paystackPublicKey: string;
|
|
10251
10894
|
freeShippingThreshold: number;
|
|
10895
|
+
upsellDiscountPercent: number;
|
|
10252
10896
|
createdAt: string;
|
|
10253
10897
|
updatedAt: string;
|
|
10254
10898
|
deletedAt: string;
|
|
@@ -10257,9 +10901,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
10257
10901
|
createdAt: string;
|
|
10258
10902
|
updatedAt: string;
|
|
10259
10903
|
price: number;
|
|
10904
|
+
costPrice: number;
|
|
10260
10905
|
compareAtPrice: number;
|
|
10261
10906
|
deletedAt: string;
|
|
10262
10907
|
thumbnailUrl: string;
|
|
10908
|
+
rawThumbnailUrl: string;
|
|
10263
10909
|
originalPrice: number;
|
|
10264
10910
|
id: string;
|
|
10265
10911
|
name: string | null;
|
|
@@ -10793,6 +11439,7 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
10793
11439
|
tiktokPixelId: string;
|
|
10794
11440
|
paystackPublicKey: string;
|
|
10795
11441
|
freeShippingThreshold: number;
|
|
11442
|
+
upsellDiscountPercent: number;
|
|
10796
11443
|
createdAt: string;
|
|
10797
11444
|
updatedAt: string;
|
|
10798
11445
|
deletedAt: string;
|
|
@@ -10801,9 +11448,11 @@ export declare function createRpcClients(baseURL: string): {
|
|
|
10801
11448
|
createdAt: string;
|
|
10802
11449
|
updatedAt: string;
|
|
10803
11450
|
price: number;
|
|
11451
|
+
costPrice: number;
|
|
10804
11452
|
compareAtPrice: number;
|
|
10805
11453
|
deletedAt: string;
|
|
10806
11454
|
thumbnailUrl: string;
|
|
11455
|
+
rawThumbnailUrl: string;
|
|
10807
11456
|
originalPrice: number;
|
|
10808
11457
|
id: string;
|
|
10809
11458
|
name: string | null;
|
|
@@ -11261,6 +11910,9 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11261
11910
|
input: {};
|
|
11262
11911
|
output: {
|
|
11263
11912
|
subtotal: number;
|
|
11913
|
+
totalCost: number;
|
|
11914
|
+
totalProfit: number;
|
|
11915
|
+
profitMargin: number;
|
|
11264
11916
|
deliveryCharge: number;
|
|
11265
11917
|
totalPrice: number;
|
|
11266
11918
|
discountAmount: number;
|
|
@@ -11277,6 +11929,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11277
11929
|
deliveryConfirmationSentAt: string;
|
|
11278
11930
|
deliveryConfirmedAt: string;
|
|
11279
11931
|
deliveryConfirmationAttempts: number;
|
|
11932
|
+
needsManualCall: boolean;
|
|
11280
11933
|
brand: {
|
|
11281
11934
|
id: string;
|
|
11282
11935
|
name: string;
|
|
@@ -11288,6 +11941,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11288
11941
|
tiktokPixelId: string;
|
|
11289
11942
|
paystackPublicKey: string;
|
|
11290
11943
|
freeShippingThreshold: number;
|
|
11944
|
+
upsellDiscountPercent: number;
|
|
11291
11945
|
createdAt: string;
|
|
11292
11946
|
updatedAt: string;
|
|
11293
11947
|
deletedAt: string;
|
|
@@ -11320,6 +11974,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11320
11974
|
};
|
|
11321
11975
|
items: {
|
|
11322
11976
|
priceAtPurchase: number;
|
|
11977
|
+
costAtPurchase: number;
|
|
11978
|
+
itemProfit: number;
|
|
11323
11979
|
variant: {
|
|
11324
11980
|
price: number;
|
|
11325
11981
|
createdAt: string;
|
|
@@ -11779,6 +12435,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11779
12435
|
productId: string;
|
|
11780
12436
|
thumbnailUrl: string | null;
|
|
11781
12437
|
sku: string;
|
|
12438
|
+
costPrice: string;
|
|
11782
12439
|
compareAtPrice: string;
|
|
11783
12440
|
trackInventory: boolean;
|
|
11784
12441
|
lowStockThreshold: number | null;
|
|
@@ -11862,6 +12519,9 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11862
12519
|
output: {
|
|
11863
12520
|
data: {
|
|
11864
12521
|
subtotal: number;
|
|
12522
|
+
totalCost: number;
|
|
12523
|
+
totalProfit: number;
|
|
12524
|
+
profitMargin: number;
|
|
11865
12525
|
deliveryCharge: number;
|
|
11866
12526
|
totalPrice: number;
|
|
11867
12527
|
discountAmount: number;
|
|
@@ -11878,6 +12538,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11878
12538
|
deliveryConfirmationSentAt: string;
|
|
11879
12539
|
deliveryConfirmedAt: string;
|
|
11880
12540
|
deliveryConfirmationAttempts: number;
|
|
12541
|
+
needsManualCall: boolean;
|
|
11881
12542
|
brand: {
|
|
11882
12543
|
id: string;
|
|
11883
12544
|
name: string;
|
|
@@ -11889,6 +12550,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11889
12550
|
tiktokPixelId: string;
|
|
11890
12551
|
paystackPublicKey: string;
|
|
11891
12552
|
freeShippingThreshold: number;
|
|
12553
|
+
upsellDiscountPercent: number;
|
|
11892
12554
|
createdAt: string;
|
|
11893
12555
|
updatedAt: string;
|
|
11894
12556
|
deletedAt: string;
|
|
@@ -11921,6 +12583,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
11921
12583
|
};
|
|
11922
12584
|
items: {
|
|
11923
12585
|
priceAtPurchase: number;
|
|
12586
|
+
costAtPurchase: number;
|
|
12587
|
+
itemProfit: number;
|
|
11924
12588
|
variant: {
|
|
11925
12589
|
price: number;
|
|
11926
12590
|
createdAt: string;
|
|
@@ -12380,6 +13044,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12380
13044
|
productId: string;
|
|
12381
13045
|
thumbnailUrl: string | null;
|
|
12382
13046
|
sku: string;
|
|
13047
|
+
costPrice: string;
|
|
12383
13048
|
compareAtPrice: string;
|
|
12384
13049
|
trackInventory: boolean;
|
|
12385
13050
|
lowStockThreshold: number | null;
|
|
@@ -12465,6 +13130,9 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12465
13130
|
};
|
|
12466
13131
|
output: {
|
|
12467
13132
|
subtotal: number;
|
|
13133
|
+
totalCost: number;
|
|
13134
|
+
totalProfit: number;
|
|
13135
|
+
profitMargin: number;
|
|
12468
13136
|
deliveryCharge: number;
|
|
12469
13137
|
totalPrice: number;
|
|
12470
13138
|
discountAmount: number;
|
|
@@ -12481,6 +13149,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12481
13149
|
deliveryConfirmationSentAt: string;
|
|
12482
13150
|
deliveryConfirmedAt: string;
|
|
12483
13151
|
deliveryConfirmationAttempts: number;
|
|
13152
|
+
needsManualCall: boolean;
|
|
12484
13153
|
brand: {
|
|
12485
13154
|
id: string;
|
|
12486
13155
|
name: string;
|
|
@@ -12492,6 +13161,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12492
13161
|
tiktokPixelId: string;
|
|
12493
13162
|
paystackPublicKey: string;
|
|
12494
13163
|
freeShippingThreshold: number;
|
|
13164
|
+
upsellDiscountPercent: number;
|
|
12495
13165
|
createdAt: string;
|
|
12496
13166
|
updatedAt: string;
|
|
12497
13167
|
deletedAt: string;
|
|
@@ -12524,6 +13194,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12524
13194
|
};
|
|
12525
13195
|
items: {
|
|
12526
13196
|
priceAtPurchase: number;
|
|
13197
|
+
costAtPurchase: number;
|
|
13198
|
+
itemProfit: number;
|
|
12527
13199
|
variant: {
|
|
12528
13200
|
price: number;
|
|
12529
13201
|
createdAt: string;
|
|
@@ -12983,6 +13655,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
12983
13655
|
productId: string;
|
|
12984
13656
|
thumbnailUrl: string | null;
|
|
12985
13657
|
sku: string;
|
|
13658
|
+
costPrice: string;
|
|
12986
13659
|
compareAtPrice: string;
|
|
12987
13660
|
trackInventory: boolean;
|
|
12988
13661
|
lowStockThreshold: number | null;
|
|
@@ -13077,6 +13750,9 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13077
13750
|
};
|
|
13078
13751
|
output: {
|
|
13079
13752
|
subtotal: number;
|
|
13753
|
+
totalCost: number;
|
|
13754
|
+
totalProfit: number;
|
|
13755
|
+
profitMargin: number;
|
|
13080
13756
|
deliveryCharge: number;
|
|
13081
13757
|
totalPrice: number;
|
|
13082
13758
|
discountAmount: number;
|
|
@@ -13093,6 +13769,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13093
13769
|
deliveryConfirmationSentAt: string;
|
|
13094
13770
|
deliveryConfirmedAt: string;
|
|
13095
13771
|
deliveryConfirmationAttempts: number;
|
|
13772
|
+
needsManualCall: boolean;
|
|
13096
13773
|
brand: {
|
|
13097
13774
|
id: string;
|
|
13098
13775
|
name: string;
|
|
@@ -13104,6 +13781,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13104
13781
|
tiktokPixelId: string;
|
|
13105
13782
|
paystackPublicKey: string;
|
|
13106
13783
|
freeShippingThreshold: number;
|
|
13784
|
+
upsellDiscountPercent: number;
|
|
13107
13785
|
createdAt: string;
|
|
13108
13786
|
updatedAt: string;
|
|
13109
13787
|
deletedAt: string;
|
|
@@ -13136,6 +13814,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13136
13814
|
};
|
|
13137
13815
|
items: {
|
|
13138
13816
|
priceAtPurchase: number;
|
|
13817
|
+
costAtPurchase: number;
|
|
13818
|
+
itemProfit: number;
|
|
13139
13819
|
variant: {
|
|
13140
13820
|
price: number;
|
|
13141
13821
|
createdAt: string;
|
|
@@ -13595,6 +14275,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13595
14275
|
productId: string;
|
|
13596
14276
|
thumbnailUrl: string | null;
|
|
13597
14277
|
sku: string;
|
|
14278
|
+
costPrice: string;
|
|
13598
14279
|
compareAtPrice: string;
|
|
13599
14280
|
trackInventory: boolean;
|
|
13600
14281
|
lowStockThreshold: number | null;
|
|
@@ -13684,6 +14365,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
13684
14365
|
paystackPublicKey: string | null;
|
|
13685
14366
|
paystackSecretKey: string | null;
|
|
13686
14367
|
freeShippingThreshold: string;
|
|
14368
|
+
upsellDiscountPercent: number;
|
|
13687
14369
|
createdAt: string;
|
|
13688
14370
|
updatedAt: string;
|
|
13689
14371
|
deletedAt: string;
|
|
@@ -14193,6 +14875,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14193
14875
|
thumbnailUrl: string | null;
|
|
14194
14876
|
sku: string;
|
|
14195
14877
|
price: string;
|
|
14878
|
+
costPrice: string;
|
|
14196
14879
|
compareAtPrice: string;
|
|
14197
14880
|
trackInventory: boolean;
|
|
14198
14881
|
lowStockThreshold: number | null;
|
|
@@ -14203,6 +14886,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14203
14886
|
orderId: string;
|
|
14204
14887
|
warehouseId: string | null;
|
|
14205
14888
|
priceAtPurchase: string;
|
|
14889
|
+
costAtPurchase: string;
|
|
14206
14890
|
}[];
|
|
14207
14891
|
notes: {
|
|
14208
14892
|
User: {
|
|
@@ -14448,6 +15132,32 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14448
15132
|
status: import("hono/utils/http-status").StatusCode;
|
|
14449
15133
|
};
|
|
14450
15134
|
}>;
|
|
15135
|
+
} & {
|
|
15136
|
+
stats: import("hono/client").ClientRequest<{
|
|
15137
|
+
$get: {
|
|
15138
|
+
input: {};
|
|
15139
|
+
output: {
|
|
15140
|
+
totalRevenue: number;
|
|
15141
|
+
totalCost: number;
|
|
15142
|
+
totalProfit: number;
|
|
15143
|
+
profitMargin: number;
|
|
15144
|
+
orderCount: number;
|
|
15145
|
+
profitableOrderCount: number;
|
|
15146
|
+
};
|
|
15147
|
+
outputFormat: "json";
|
|
15148
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
15149
|
+
} | {
|
|
15150
|
+
input: {};
|
|
15151
|
+
output: {
|
|
15152
|
+
error: {
|
|
15153
|
+
code: string;
|
|
15154
|
+
message: string;
|
|
15155
|
+
};
|
|
15156
|
+
};
|
|
15157
|
+
outputFormat: "json";
|
|
15158
|
+
status: 500;
|
|
15159
|
+
};
|
|
15160
|
+
}>;
|
|
14451
15161
|
} & {
|
|
14452
15162
|
":id": {
|
|
14453
15163
|
status: import("hono/client").ClientRequest<{
|
|
@@ -14459,6 +15169,9 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14459
15169
|
};
|
|
14460
15170
|
output: {
|
|
14461
15171
|
subtotal: number;
|
|
15172
|
+
totalCost: number;
|
|
15173
|
+
totalProfit: number;
|
|
15174
|
+
profitMargin: number;
|
|
14462
15175
|
deliveryCharge: number;
|
|
14463
15176
|
totalPrice: number;
|
|
14464
15177
|
discountAmount: number;
|
|
@@ -14475,6 +15188,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14475
15188
|
deliveryConfirmationSentAt: string;
|
|
14476
15189
|
deliveryConfirmedAt: string;
|
|
14477
15190
|
deliveryConfirmationAttempts: number;
|
|
15191
|
+
needsManualCall: boolean;
|
|
14478
15192
|
brand: {
|
|
14479
15193
|
id: string;
|
|
14480
15194
|
name: string;
|
|
@@ -14486,6 +15200,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14486
15200
|
tiktokPixelId: string;
|
|
14487
15201
|
paystackPublicKey: string;
|
|
14488
15202
|
freeShippingThreshold: number;
|
|
15203
|
+
upsellDiscountPercent: number;
|
|
14489
15204
|
createdAt: string;
|
|
14490
15205
|
updatedAt: string;
|
|
14491
15206
|
deletedAt: string;
|
|
@@ -14518,6 +15233,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14518
15233
|
};
|
|
14519
15234
|
items: {
|
|
14520
15235
|
priceAtPurchase: number;
|
|
15236
|
+
costAtPurchase: number;
|
|
15237
|
+
itemProfit: number;
|
|
14521
15238
|
variant: {
|
|
14522
15239
|
price: number;
|
|
14523
15240
|
createdAt: string;
|
|
@@ -14977,6 +15694,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
14977
15694
|
productId: string;
|
|
14978
15695
|
thumbnailUrl: string | null;
|
|
14979
15696
|
sku: string;
|
|
15697
|
+
costPrice: string;
|
|
14980
15698
|
compareAtPrice: string;
|
|
14981
15699
|
trackInventory: boolean;
|
|
14982
15700
|
lowStockThreshold: number | null;
|
|
@@ -15293,6 +16011,9 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15293
16011
|
};
|
|
15294
16012
|
output: {
|
|
15295
16013
|
subtotal: number;
|
|
16014
|
+
totalCost: number;
|
|
16015
|
+
totalProfit: number;
|
|
16016
|
+
profitMargin: number;
|
|
15296
16017
|
deliveryCharge: number;
|
|
15297
16018
|
totalPrice: number;
|
|
15298
16019
|
discountAmount: number;
|
|
@@ -15309,6 +16030,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15309
16030
|
deliveryConfirmationSentAt: string;
|
|
15310
16031
|
deliveryConfirmedAt: string;
|
|
15311
16032
|
deliveryConfirmationAttempts: number;
|
|
16033
|
+
needsManualCall: boolean;
|
|
15312
16034
|
brand: {
|
|
15313
16035
|
id: string;
|
|
15314
16036
|
name: string;
|
|
@@ -15320,6 +16042,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15320
16042
|
tiktokPixelId: string;
|
|
15321
16043
|
paystackPublicKey: string;
|
|
15322
16044
|
freeShippingThreshold: number;
|
|
16045
|
+
upsellDiscountPercent: number;
|
|
15323
16046
|
createdAt: string;
|
|
15324
16047
|
updatedAt: string;
|
|
15325
16048
|
deletedAt: string;
|
|
@@ -15352,6 +16075,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15352
16075
|
};
|
|
15353
16076
|
items: {
|
|
15354
16077
|
priceAtPurchase: number;
|
|
16078
|
+
costAtPurchase: number;
|
|
16079
|
+
itemProfit: number;
|
|
15355
16080
|
variant: {
|
|
15356
16081
|
price: number;
|
|
15357
16082
|
createdAt: string;
|
|
@@ -15811,6 +16536,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15811
16536
|
productId: string;
|
|
15812
16537
|
thumbnailUrl: string | null;
|
|
15813
16538
|
sku: string;
|
|
16539
|
+
costPrice: string;
|
|
15814
16540
|
compareAtPrice: string;
|
|
15815
16541
|
trackInventory: boolean;
|
|
15816
16542
|
lowStockThreshold: number | null;
|
|
@@ -15923,6 +16649,9 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15923
16649
|
};
|
|
15924
16650
|
output: {
|
|
15925
16651
|
subtotal: number;
|
|
16652
|
+
totalCost: number;
|
|
16653
|
+
totalProfit: number;
|
|
16654
|
+
profitMargin: number;
|
|
15926
16655
|
deliveryCharge: number;
|
|
15927
16656
|
totalPrice: number;
|
|
15928
16657
|
discountAmount: number;
|
|
@@ -15939,6 +16668,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15939
16668
|
deliveryConfirmationSentAt: string;
|
|
15940
16669
|
deliveryConfirmedAt: string;
|
|
15941
16670
|
deliveryConfirmationAttempts: number;
|
|
16671
|
+
needsManualCall: boolean;
|
|
15942
16672
|
brand: {
|
|
15943
16673
|
id: string;
|
|
15944
16674
|
name: string;
|
|
@@ -15950,6 +16680,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15950
16680
|
tiktokPixelId: string;
|
|
15951
16681
|
paystackPublicKey: string;
|
|
15952
16682
|
freeShippingThreshold: number;
|
|
16683
|
+
upsellDiscountPercent: number;
|
|
15953
16684
|
createdAt: string;
|
|
15954
16685
|
updatedAt: string;
|
|
15955
16686
|
deletedAt: string;
|
|
@@ -15982,6 +16713,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
15982
16713
|
};
|
|
15983
16714
|
items: {
|
|
15984
16715
|
priceAtPurchase: number;
|
|
16716
|
+
costAtPurchase: number;
|
|
16717
|
+
itemProfit: number;
|
|
15985
16718
|
variant: {
|
|
15986
16719
|
price: number;
|
|
15987
16720
|
createdAt: string;
|
|
@@ -16441,6 +17174,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16441
17174
|
productId: string;
|
|
16442
17175
|
thumbnailUrl: string | null;
|
|
16443
17176
|
sku: string;
|
|
17177
|
+
costPrice: string;
|
|
16444
17178
|
compareAtPrice: string;
|
|
16445
17179
|
trackInventory: boolean;
|
|
16446
17180
|
lowStockThreshold: number | null;
|
|
@@ -16597,6 +17331,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16597
17331
|
paystackPublicKey: string | null;
|
|
16598
17332
|
paystackSecretKey: string | null;
|
|
16599
17333
|
freeShippingThreshold: string;
|
|
17334
|
+
upsellDiscountPercent: number;
|
|
16600
17335
|
createdAt: string;
|
|
16601
17336
|
updatedAt: string;
|
|
16602
17337
|
deletedAt: string;
|
|
@@ -16629,6 +17364,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16629
17364
|
paystackPublicKey: string | null;
|
|
16630
17365
|
paystackSecretKey: string | null;
|
|
16631
17366
|
freeShippingThreshold: string;
|
|
17367
|
+
upsellDiscountPercent: number;
|
|
16632
17368
|
createdAt: string;
|
|
16633
17369
|
updatedAt: string;
|
|
16634
17370
|
deletedAt: string;
|
|
@@ -16681,6 +17417,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16681
17417
|
paystackPublicKey: string | null;
|
|
16682
17418
|
paystackSecretKey: string | null;
|
|
16683
17419
|
freeShippingThreshold: string;
|
|
17420
|
+
upsellDiscountPercent: number;
|
|
16684
17421
|
createdAt: string;
|
|
16685
17422
|
updatedAt: string;
|
|
16686
17423
|
deletedAt: string;
|
|
@@ -16721,6 +17458,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16721
17458
|
paystackPublicKey: string | null;
|
|
16722
17459
|
paystackSecretKey: string | null;
|
|
16723
17460
|
freeShippingThreshold: string;
|
|
17461
|
+
upsellDiscountPercent: number;
|
|
16724
17462
|
createdAt: string;
|
|
16725
17463
|
updatedAt: string;
|
|
16726
17464
|
deletedAt: string;
|
|
@@ -16934,6 +17672,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16934
17672
|
tiktokPixelId: string;
|
|
16935
17673
|
paystackPublicKey: string;
|
|
16936
17674
|
freeShippingThreshold: number;
|
|
17675
|
+
upsellDiscountPercent: number;
|
|
16937
17676
|
createdAt: string;
|
|
16938
17677
|
updatedAt: string;
|
|
16939
17678
|
deletedAt: string;
|
|
@@ -16942,9 +17681,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
16942
17681
|
createdAt: string;
|
|
16943
17682
|
updatedAt: string;
|
|
16944
17683
|
price: number;
|
|
17684
|
+
costPrice: number;
|
|
16945
17685
|
compareAtPrice: number;
|
|
16946
17686
|
deletedAt: string;
|
|
16947
17687
|
thumbnailUrl: string;
|
|
17688
|
+
rawThumbnailUrl: string;
|
|
16948
17689
|
originalPrice: number;
|
|
16949
17690
|
id: string;
|
|
16950
17691
|
name: string | null;
|
|
@@ -17452,6 +18193,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17452
18193
|
tiktokPixelId: string;
|
|
17453
18194
|
paystackPublicKey: string;
|
|
17454
18195
|
freeShippingThreshold: number;
|
|
18196
|
+
upsellDiscountPercent: number;
|
|
17455
18197
|
createdAt: string;
|
|
17456
18198
|
updatedAt: string;
|
|
17457
18199
|
deletedAt: string;
|
|
@@ -17460,9 +18202,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17460
18202
|
createdAt: string;
|
|
17461
18203
|
updatedAt: string;
|
|
17462
18204
|
price: number;
|
|
18205
|
+
costPrice: number;
|
|
17463
18206
|
compareAtPrice: number;
|
|
17464
18207
|
deletedAt: string;
|
|
17465
18208
|
thumbnailUrl: string;
|
|
18209
|
+
rawThumbnailUrl: string;
|
|
17466
18210
|
originalPrice: number;
|
|
17467
18211
|
id: string;
|
|
17468
18212
|
name: string | null;
|
|
@@ -17991,6 +18735,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17991
18735
|
tiktokPixelId: string;
|
|
17992
18736
|
paystackPublicKey: string;
|
|
17993
18737
|
freeShippingThreshold: number;
|
|
18738
|
+
upsellDiscountPercent: number;
|
|
17994
18739
|
createdAt: string;
|
|
17995
18740
|
updatedAt: string;
|
|
17996
18741
|
deletedAt: string;
|
|
@@ -17999,9 +18744,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
17999
18744
|
createdAt: string;
|
|
18000
18745
|
updatedAt: string;
|
|
18001
18746
|
price: number;
|
|
18747
|
+
costPrice: number;
|
|
18002
18748
|
compareAtPrice: number;
|
|
18003
18749
|
deletedAt: string;
|
|
18004
18750
|
thumbnailUrl: string;
|
|
18751
|
+
rawThumbnailUrl: string;
|
|
18005
18752
|
originalPrice: number;
|
|
18006
18753
|
id: string;
|
|
18007
18754
|
name: string | null;
|
|
@@ -18517,6 +19264,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18517
19264
|
tiktokPixelId: string;
|
|
18518
19265
|
paystackPublicKey: string;
|
|
18519
19266
|
freeShippingThreshold: number;
|
|
19267
|
+
upsellDiscountPercent: number;
|
|
18520
19268
|
createdAt: string;
|
|
18521
19269
|
updatedAt: string;
|
|
18522
19270
|
deletedAt: string;
|
|
@@ -18525,9 +19273,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18525
19273
|
createdAt: string;
|
|
18526
19274
|
updatedAt: string;
|
|
18527
19275
|
price: number;
|
|
19276
|
+
costPrice: number;
|
|
18528
19277
|
compareAtPrice: number;
|
|
18529
19278
|
deletedAt: string;
|
|
18530
19279
|
thumbnailUrl: string;
|
|
19280
|
+
rawThumbnailUrl: string;
|
|
18531
19281
|
originalPrice: number;
|
|
18532
19282
|
id: string;
|
|
18533
19283
|
name: string | null;
|
|
@@ -18900,9 +19650,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18900
19650
|
createdAt: string;
|
|
18901
19651
|
updatedAt: string;
|
|
18902
19652
|
price: number;
|
|
19653
|
+
costPrice: number;
|
|
18903
19654
|
compareAtPrice: number;
|
|
18904
19655
|
deletedAt: string;
|
|
18905
19656
|
thumbnailUrl: string;
|
|
19657
|
+
rawThumbnailUrl: string;
|
|
18906
19658
|
originalPrice: number;
|
|
18907
19659
|
id: string;
|
|
18908
19660
|
name: string | null;
|
|
@@ -18962,9 +19714,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
18962
19714
|
createdAt: string;
|
|
18963
19715
|
updatedAt: string;
|
|
18964
19716
|
price: number;
|
|
19717
|
+
costPrice: number;
|
|
18965
19718
|
compareAtPrice: number;
|
|
18966
19719
|
deletedAt: string;
|
|
18967
19720
|
thumbnailUrl: string;
|
|
19721
|
+
rawThumbnailUrl: string;
|
|
18968
19722
|
originalPrice: number;
|
|
18969
19723
|
id: string;
|
|
18970
19724
|
name: string | null;
|
|
@@ -19002,9 +19756,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19002
19756
|
createdAt: string;
|
|
19003
19757
|
updatedAt: string;
|
|
19004
19758
|
price: number;
|
|
19759
|
+
costPrice: number;
|
|
19005
19760
|
compareAtPrice: number;
|
|
19006
19761
|
deletedAt: string;
|
|
19007
19762
|
thumbnailUrl: string;
|
|
19763
|
+
rawThumbnailUrl: string;
|
|
19008
19764
|
originalPrice: number;
|
|
19009
19765
|
id: string;
|
|
19010
19766
|
name: string | null;
|
|
@@ -19051,9 +19807,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19051
19807
|
createdAt: string;
|
|
19052
19808
|
updatedAt: string;
|
|
19053
19809
|
price: number;
|
|
19810
|
+
costPrice: number;
|
|
19054
19811
|
compareAtPrice: number;
|
|
19055
19812
|
deletedAt: string;
|
|
19056
19813
|
thumbnailUrl: string;
|
|
19814
|
+
rawThumbnailUrl: string;
|
|
19057
19815
|
originalPrice: number;
|
|
19058
19816
|
id: string;
|
|
19059
19817
|
name: string | null;
|
|
@@ -19114,9 +19872,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19114
19872
|
createdAt: string;
|
|
19115
19873
|
updatedAt: string;
|
|
19116
19874
|
price: number;
|
|
19875
|
+
costPrice: number;
|
|
19117
19876
|
compareAtPrice: number;
|
|
19118
19877
|
deletedAt: string;
|
|
19119
19878
|
thumbnailUrl: string;
|
|
19879
|
+
rawThumbnailUrl: string;
|
|
19120
19880
|
originalPrice: number;
|
|
19121
19881
|
id: string;
|
|
19122
19882
|
name: string | null;
|
|
@@ -19306,6 +20066,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19306
20066
|
paystackPublicKey: string | null;
|
|
19307
20067
|
paystackSecretKey: string | null;
|
|
19308
20068
|
freeShippingThreshold: string;
|
|
20069
|
+
upsellDiscountPercent: number;
|
|
19309
20070
|
createdAt: string;
|
|
19310
20071
|
updatedAt: string;
|
|
19311
20072
|
deletedAt: string;
|
|
@@ -19767,6 +20528,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
19767
20528
|
thumbnailUrl: string | null;
|
|
19768
20529
|
sku: string;
|
|
19769
20530
|
price: string;
|
|
20531
|
+
costPrice: string;
|
|
19770
20532
|
compareAtPrice: string;
|
|
19771
20533
|
trackInventory: boolean;
|
|
19772
20534
|
lowStockThreshold: number | null;
|
|
@@ -20121,6 +20883,9 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20121
20883
|
};
|
|
20122
20884
|
orders: {
|
|
20123
20885
|
subtotal: number;
|
|
20886
|
+
totalCost: number;
|
|
20887
|
+
totalProfit: number;
|
|
20888
|
+
profitMargin: number;
|
|
20124
20889
|
deliveryCharge: number;
|
|
20125
20890
|
totalPrice: number;
|
|
20126
20891
|
discountAmount: number;
|
|
@@ -20137,6 +20902,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20137
20902
|
deliveryConfirmationSentAt: string;
|
|
20138
20903
|
deliveryConfirmedAt: string;
|
|
20139
20904
|
deliveryConfirmationAttempts: number;
|
|
20905
|
+
needsManualCall: boolean;
|
|
20140
20906
|
brand: {
|
|
20141
20907
|
id: string;
|
|
20142
20908
|
name: string;
|
|
@@ -20148,6 +20914,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20148
20914
|
tiktokPixelId: string;
|
|
20149
20915
|
paystackPublicKey: string;
|
|
20150
20916
|
freeShippingThreshold: number;
|
|
20917
|
+
upsellDiscountPercent: number;
|
|
20151
20918
|
createdAt: string;
|
|
20152
20919
|
updatedAt: string;
|
|
20153
20920
|
deletedAt: string;
|
|
@@ -20180,6 +20947,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20180
20947
|
};
|
|
20181
20948
|
items: {
|
|
20182
20949
|
priceAtPurchase: number;
|
|
20950
|
+
costAtPurchase: number;
|
|
20951
|
+
itemProfit: number;
|
|
20183
20952
|
variant: {
|
|
20184
20953
|
price: number;
|
|
20185
20954
|
createdAt: string;
|
|
@@ -20639,6 +21408,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20639
21408
|
productId: string;
|
|
20640
21409
|
thumbnailUrl: string | null;
|
|
20641
21410
|
sku: string;
|
|
21411
|
+
costPrice: string;
|
|
20642
21412
|
compareAtPrice: string;
|
|
20643
21413
|
trackInventory: boolean;
|
|
20644
21414
|
lowStockThreshold: number | null;
|
|
@@ -20736,6 +21506,9 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20736
21506
|
};
|
|
20737
21507
|
recentOrders: {
|
|
20738
21508
|
subtotal: number;
|
|
21509
|
+
totalCost: number;
|
|
21510
|
+
totalProfit: number;
|
|
21511
|
+
profitMargin: number;
|
|
20739
21512
|
deliveryCharge: number;
|
|
20740
21513
|
totalPrice: number;
|
|
20741
21514
|
discountAmount: number;
|
|
@@ -20752,6 +21525,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20752
21525
|
deliveryConfirmationSentAt: string;
|
|
20753
21526
|
deliveryConfirmedAt: string;
|
|
20754
21527
|
deliveryConfirmationAttempts: number;
|
|
21528
|
+
needsManualCall: boolean;
|
|
20755
21529
|
brand: {
|
|
20756
21530
|
id: string;
|
|
20757
21531
|
name: string;
|
|
@@ -20763,6 +21537,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20763
21537
|
tiktokPixelId: string;
|
|
20764
21538
|
paystackPublicKey: string;
|
|
20765
21539
|
freeShippingThreshold: number;
|
|
21540
|
+
upsellDiscountPercent: number;
|
|
20766
21541
|
createdAt: string;
|
|
20767
21542
|
updatedAt: string;
|
|
20768
21543
|
deletedAt: string;
|
|
@@ -20795,6 +21570,8 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
20795
21570
|
};
|
|
20796
21571
|
items: {
|
|
20797
21572
|
priceAtPurchase: number;
|
|
21573
|
+
costAtPurchase: number;
|
|
21574
|
+
itemProfit: number;
|
|
20798
21575
|
variant: {
|
|
20799
21576
|
price: number;
|
|
20800
21577
|
createdAt: string;
|
|
@@ -21254,6 +22031,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
21254
22031
|
productId: string;
|
|
21255
22032
|
thumbnailUrl: string | null;
|
|
21256
22033
|
sku: string;
|
|
22034
|
+
costPrice: string;
|
|
21257
22035
|
compareAtPrice: string;
|
|
21258
22036
|
trackInventory: boolean;
|
|
21259
22037
|
lowStockThreshold: number | null;
|
|
@@ -21387,6 +22165,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
21387
22165
|
tiktokPixelId: string;
|
|
21388
22166
|
paystackPublicKey: string;
|
|
21389
22167
|
freeShippingThreshold: number;
|
|
22168
|
+
upsellDiscountPercent: number;
|
|
21390
22169
|
createdAt: string;
|
|
21391
22170
|
updatedAt: string;
|
|
21392
22171
|
deletedAt: string;
|
|
@@ -21878,9 +22657,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
21878
22657
|
createdAt: string;
|
|
21879
22658
|
updatedAt: string;
|
|
21880
22659
|
price: number;
|
|
22660
|
+
costPrice: number;
|
|
21881
22661
|
compareAtPrice: number;
|
|
21882
22662
|
deletedAt: string;
|
|
21883
22663
|
thumbnailUrl: string;
|
|
22664
|
+
rawThumbnailUrl: string;
|
|
21884
22665
|
originalPrice: number;
|
|
21885
22666
|
id: string;
|
|
21886
22667
|
name: string | null;
|
|
@@ -21891,6 +22672,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
21891
22672
|
lowStockThreshold: number | null;
|
|
21892
22673
|
};
|
|
21893
22674
|
quantity: number;
|
|
22675
|
+
priceOverride: number;
|
|
21894
22676
|
basePrice: number;
|
|
21895
22677
|
discountPercent: number;
|
|
21896
22678
|
finalPrice: number;
|
|
@@ -21966,6 +22748,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
21966
22748
|
tiktokPixelId: string;
|
|
21967
22749
|
paystackPublicKey: string;
|
|
21968
22750
|
freeShippingThreshold: number;
|
|
22751
|
+
upsellDiscountPercent: number;
|
|
21969
22752
|
createdAt: string;
|
|
21970
22753
|
updatedAt: string;
|
|
21971
22754
|
deletedAt: string;
|
|
@@ -22457,9 +23240,11 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
22457
23240
|
createdAt: string;
|
|
22458
23241
|
updatedAt: string;
|
|
22459
23242
|
price: number;
|
|
23243
|
+
costPrice: number;
|
|
22460
23244
|
compareAtPrice: number;
|
|
22461
23245
|
deletedAt: string;
|
|
22462
23246
|
thumbnailUrl: string;
|
|
23247
|
+
rawThumbnailUrl: string;
|
|
22463
23248
|
originalPrice: number;
|
|
22464
23249
|
id: string;
|
|
22465
23250
|
name: string | null;
|
|
@@ -22470,6 +23255,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
22470
23255
|
lowStockThreshold: number | null;
|
|
22471
23256
|
};
|
|
22472
23257
|
quantity: number;
|
|
23258
|
+
priceOverride: number;
|
|
22473
23259
|
basePrice: number;
|
|
22474
23260
|
discountPercent: number;
|
|
22475
23261
|
finalPrice: number;
|
|
@@ -22587,6 +23373,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
22587
23373
|
tiktokPixelId: string;
|
|
22588
23374
|
paystackPublicKey: string;
|
|
22589
23375
|
freeShippingThreshold: number;
|
|
23376
|
+
upsellDiscountPercent: number;
|
|
22590
23377
|
createdAt: string;
|
|
22591
23378
|
updatedAt: string;
|
|
22592
23379
|
deletedAt: string;
|
|
@@ -22669,6 +23456,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
22669
23456
|
tiktokPixelId: string;
|
|
22670
23457
|
paystackPublicKey: string;
|
|
22671
23458
|
freeShippingThreshold: number;
|
|
23459
|
+
upsellDiscountPercent: number;
|
|
22672
23460
|
createdAt: string;
|
|
22673
23461
|
updatedAt: string;
|
|
22674
23462
|
deletedAt: string;
|
|
@@ -22748,6 +23536,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
22748
23536
|
tiktokPixelId: string;
|
|
22749
23537
|
paystackPublicKey: string;
|
|
22750
23538
|
freeShippingThreshold: number;
|
|
23539
|
+
upsellDiscountPercent: number;
|
|
22751
23540
|
createdAt: string;
|
|
22752
23541
|
updatedAt: string;
|
|
22753
23542
|
deletedAt: string;
|
|
@@ -22839,6 +23628,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
22839
23628
|
tiktokPixelId: string;
|
|
22840
23629
|
paystackPublicKey: string;
|
|
22841
23630
|
freeShippingThreshold: number;
|
|
23631
|
+
upsellDiscountPercent: number;
|
|
22842
23632
|
createdAt: string;
|
|
22843
23633
|
updatedAt: string;
|
|
22844
23634
|
deletedAt: string;
|
|
@@ -22960,6 +23750,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
22960
23750
|
tiktokPixelId: string;
|
|
22961
23751
|
paystackPublicKey: string;
|
|
22962
23752
|
freeShippingThreshold: number;
|
|
23753
|
+
upsellDiscountPercent: number;
|
|
22963
23754
|
createdAt: string;
|
|
22964
23755
|
updatedAt: string;
|
|
22965
23756
|
deletedAt: string;
|
|
@@ -23074,6 +23865,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
23074
23865
|
tiktokPixelId: string;
|
|
23075
23866
|
paystackPublicKey: string;
|
|
23076
23867
|
freeShippingThreshold: number;
|
|
23868
|
+
upsellDiscountPercent: number;
|
|
23077
23869
|
createdAt: string;
|
|
23078
23870
|
updatedAt: string;
|
|
23079
23871
|
deletedAt: string;
|
|
@@ -23265,6 +24057,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
23265
24057
|
tiktokPixelId: string;
|
|
23266
24058
|
paystackPublicKey: string;
|
|
23267
24059
|
freeShippingThreshold: number;
|
|
24060
|
+
upsellDiscountPercent: number;
|
|
23268
24061
|
createdAt: string;
|
|
23269
24062
|
updatedAt: string;
|
|
23270
24063
|
deletedAt: string;
|
|
@@ -23344,6 +24137,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
23344
24137
|
tiktokPixelId: string;
|
|
23345
24138
|
paystackPublicKey: string;
|
|
23346
24139
|
freeShippingThreshold: number;
|
|
24140
|
+
upsellDiscountPercent: number;
|
|
23347
24141
|
createdAt: string;
|
|
23348
24142
|
updatedAt: string;
|
|
23349
24143
|
deletedAt: string;
|
|
@@ -23438,6 +24232,7 @@ export declare function createAdminRpcClients(baseURL: string): {
|
|
|
23438
24232
|
tiktokPixelId: string;
|
|
23439
24233
|
paystackPublicKey: string;
|
|
23440
24234
|
freeShippingThreshold: number;
|
|
24235
|
+
upsellDiscountPercent: number;
|
|
23441
24236
|
createdAt: string;
|
|
23442
24237
|
updatedAt: string;
|
|
23443
24238
|
deletedAt: string;
|