@instockng/api-client 1.0.35 → 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/fetchers/brands.d.ts +1 -0
- package/dist/fetchers/carts.d.ts +113 -112
- package/dist/fetchers/delivery-zones.d.ts +0 -1
- package/dist/fetchers/orders.d.ts +31 -30
- package/dist/hooks/admin/abandoned-carts.d.ts +24 -24
- 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/orders.d.ts +79 -78
- package/dist/hooks/admin/products.d.ts +6 -4
- package/dist/hooks/admin/stats.d.ts +14 -14
- 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 +113 -112
- package/dist/hooks/public/delivery-zones.d.ts +0 -1
- package/dist/hooks/public/orders.d.ts +31 -30
- package/dist/rpc-client.d.ts +354 -330
- package/dist/rpc-types.d.ts +9 -6
- package/package.json +1 -1
package/dist/rpc-types.d.ts
CHANGED
|
@@ -243,6 +243,7 @@ declare const dummyClient: {
|
|
|
243
243
|
metaPixelId: string;
|
|
244
244
|
tiktokPixelId: string;
|
|
245
245
|
paystackPublicKey: string;
|
|
246
|
+
freeShippingThreshold: number;
|
|
246
247
|
createdAt: string;
|
|
247
248
|
updatedAt: string;
|
|
248
249
|
deletedAt: string;
|
|
@@ -561,8 +562,8 @@ declare const dummyClient: {
|
|
|
561
562
|
createdAt: string;
|
|
562
563
|
updatedAt: string;
|
|
563
564
|
deletedAt: string;
|
|
564
|
-
brandId: string;
|
|
565
565
|
isActive: boolean;
|
|
566
|
+
brandId: string;
|
|
566
567
|
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
567
568
|
discountValue: string;
|
|
568
569
|
startDate: string;
|
|
@@ -576,8 +577,8 @@ declare const dummyClient: {
|
|
|
576
577
|
createdAt: string;
|
|
577
578
|
updatedAt: string;
|
|
578
579
|
deletedAt: string;
|
|
579
|
-
brandId: string;
|
|
580
580
|
isActive: boolean;
|
|
581
|
+
brandId: string;
|
|
581
582
|
};
|
|
582
583
|
outputFormat: "json";
|
|
583
584
|
status: 200;
|
|
@@ -773,6 +774,7 @@ declare const dummyClient: {
|
|
|
773
774
|
metaPixelId: string;
|
|
774
775
|
tiktokPixelId: string;
|
|
775
776
|
paystackPublicKey: string;
|
|
777
|
+
freeShippingThreshold: number;
|
|
776
778
|
createdAt: string;
|
|
777
779
|
updatedAt: string;
|
|
778
780
|
deletedAt: string;
|
|
@@ -1091,8 +1093,8 @@ declare const dummyClient: {
|
|
|
1091
1093
|
createdAt: string;
|
|
1092
1094
|
updatedAt: string;
|
|
1093
1095
|
deletedAt: string;
|
|
1094
|
-
brandId: string;
|
|
1095
1096
|
isActive: boolean;
|
|
1097
|
+
brandId: string;
|
|
1096
1098
|
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
1097
1099
|
discountValue: string;
|
|
1098
1100
|
startDate: string;
|
|
@@ -1106,8 +1108,8 @@ declare const dummyClient: {
|
|
|
1106
1108
|
createdAt: string;
|
|
1107
1109
|
updatedAt: string;
|
|
1108
1110
|
deletedAt: string;
|
|
1109
|
-
brandId: string;
|
|
1110
1111
|
isActive: boolean;
|
|
1112
|
+
brandId: string;
|
|
1111
1113
|
}[];
|
|
1112
1114
|
outputFormat: "json";
|
|
1113
1115
|
status: 200;
|
|
@@ -1316,6 +1318,7 @@ declare const dummyClient: {
|
|
|
1316
1318
|
metaPixelId: string;
|
|
1317
1319
|
tiktokPixelId: string;
|
|
1318
1320
|
paystackPublicKey: string;
|
|
1321
|
+
freeShippingThreshold: number;
|
|
1319
1322
|
createdAt: string;
|
|
1320
1323
|
updatedAt: string;
|
|
1321
1324
|
deletedAt: string;
|
|
@@ -1634,8 +1637,8 @@ declare const dummyClient: {
|
|
|
1634
1637
|
createdAt: string;
|
|
1635
1638
|
updatedAt: string;
|
|
1636
1639
|
deletedAt: string;
|
|
1637
|
-
brandId: string;
|
|
1638
1640
|
isActive: boolean;
|
|
1641
|
+
brandId: string;
|
|
1639
1642
|
discountType: import("@prisma/client").$Enums.DiscountType;
|
|
1640
1643
|
discountValue: string;
|
|
1641
1644
|
startDate: string;
|
|
@@ -1649,8 +1652,8 @@ declare const dummyClient: {
|
|
|
1649
1652
|
createdAt: string;
|
|
1650
1653
|
updatedAt: string;
|
|
1651
1654
|
deletedAt: string;
|
|
1652
|
-
brandId: string;
|
|
1653
1655
|
isActive: boolean;
|
|
1656
|
+
brandId: string;
|
|
1654
1657
|
}[];
|
|
1655
1658
|
outputFormat: "json";
|
|
1656
1659
|
status: 200;
|