@instockng/api-client 1.0.35 → 1.0.37

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.
Files changed (37) hide show
  1. package/dist/backend-types.d.ts +1 -1
  2. package/dist/fetchers/brands.d.ts +1 -0
  3. package/dist/fetchers/brands.js +1 -1
  4. package/dist/fetchers/carts.d.ts +132 -112
  5. package/dist/fetchers/carts.js +1 -1
  6. package/dist/fetchers/delivery-zones.d.ts +0 -1
  7. package/dist/fetchers/delivery-zones.js +1 -1
  8. package/dist/fetchers/orders.d.ts +94 -30
  9. package/dist/fetchers/orders.js +38 -1
  10. package/dist/fetchers/products.js +1 -1
  11. package/dist/hooks/admin/abandoned-carts.d.ts +24 -24
  12. package/dist/hooks/admin/brands.d.ts +4 -0
  13. package/dist/hooks/admin/customers.d.ts +33 -14
  14. package/dist/hooks/admin/delivery-zones.d.ts +12 -8
  15. package/dist/hooks/admin/discount-codes.d.ts +20 -15
  16. package/dist/hooks/admin/dispatch-riders.d.ts +59 -0
  17. package/dist/hooks/admin/dispatch-riders.js +92 -0
  18. package/dist/hooks/admin/index.d.ts +1 -0
  19. package/dist/hooks/admin/index.js +1 -0
  20. package/dist/hooks/admin/orders.d.ts +215 -78
  21. package/dist/hooks/admin/orders.js +70 -0
  22. package/dist/hooks/admin/products.d.ts +6 -4
  23. package/dist/hooks/admin/stats.d.ts +40 -14
  24. package/dist/hooks/admin/stats.js +20 -0
  25. package/dist/hooks/admin/warehouses.d.ts +7 -6
  26. package/dist/hooks/public/brands.d.ts +1 -0
  27. package/dist/hooks/public/carts.d.ts +132 -112
  28. package/dist/hooks/public/delivery-zones.d.ts +0 -1
  29. package/dist/hooks/public/orders.d.ts +98 -31
  30. package/dist/hooks/public/orders.js +23 -1
  31. package/dist/provider.js +1 -1
  32. package/dist/rpc-client.d.ts +6684 -3768
  33. package/dist/rpc-client.js +1 -0
  34. package/dist/rpc-types.d.ts +9 -6
  35. package/dist/utils/query-keys.d.ts +5 -0
  36. package/dist/utils/query-keys.js +5 -0
  37. package/package.json +1 -1
@@ -21,19 +21,19 @@ import { fetchCart, updateCart, createCart, addCartItem, updateCartItem, removeC
21
21
  export declare function useGetCart(cartId: string, options?: Omit<UseQueryOptions<Awaited<ReturnType<typeof fetchCart>>, Error>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<{
22
22
  id: string;
23
23
  brand: {
24
- createdAt: string;
25
- updatedAt: string;
26
- deletedAt: string;
27
24
  id: string;
28
25
  name: string;
29
26
  slug: string;
30
- logoUrl: string | null;
27
+ logoUrl: string;
31
28
  siteUrl: string;
32
29
  domain: string;
33
- metaPixelId: string | null;
34
- tiktokPixelId: string | null;
35
- paystackPublicKey: string | null;
36
- paystackSecretKey: string | null;
30
+ metaPixelId: string;
31
+ tiktokPixelId: string;
32
+ paystackPublicKey: string;
33
+ freeShippingThreshold: number;
34
+ createdAt: string;
35
+ updatedAt: string;
36
+ deletedAt: string;
37
37
  };
38
38
  customerPhone: string;
39
39
  customerEmail: string;
@@ -53,9 +53,10 @@ export declare function useGetCart(cartId: string, options?: Omit<UseQueryOption
53
53
  createdAt: string;
54
54
  updatedAt: string;
55
55
  deletedAt: string;
56
- brandId: string | null;
57
- isActive: boolean;
58
56
  code: string;
57
+ isActive: boolean;
58
+ brandId: string | null;
59
+ description: string | null;
59
60
  minPurchase: string;
60
61
  maxDiscount: string;
61
62
  usageLimit: number | null;
@@ -64,7 +65,6 @@ export declare function useGetCart(cartId: string, options?: Omit<UseQueryOption
64
65
  validFrom: string;
65
66
  validUntil: string;
66
67
  isAutoApply: boolean;
67
- description: string | null;
68
68
  category: string;
69
69
  createdBy: string | null;
70
70
  };
@@ -78,8 +78,8 @@ export declare function useGetCart(cartId: string, options?: Omit<UseQueryOption
78
78
  createdAt: string;
79
79
  updatedAt: string;
80
80
  deletedAt: string;
81
- brandId: string;
82
81
  isActive: boolean;
82
+ brandId: string;
83
83
  description: string | null;
84
84
  thumbnailUrl: string | null;
85
85
  quantityDiscounts: string | number | boolean | {
@@ -577,19 +577,19 @@ export declare function useGetCart(cartId: string, options?: Omit<UseQueryOption
577
577
  export declare function useUpdateCart(cartId: string, options?: UseMutationOptions<Awaited<ReturnType<typeof updateCart>>, Error, Parameters<typeof updateCart>[1]>): import("@tanstack/react-query").UseMutationResult<{
578
578
  id: string;
579
579
  brand: {
580
- createdAt: string;
581
- updatedAt: string;
582
- deletedAt: string;
583
580
  id: string;
584
581
  name: string;
585
582
  slug: string;
586
- logoUrl: string | null;
583
+ logoUrl: string;
587
584
  siteUrl: string;
588
585
  domain: string;
589
- metaPixelId: string | null;
590
- tiktokPixelId: string | null;
591
- paystackPublicKey: string | null;
592
- paystackSecretKey: string | null;
586
+ metaPixelId: string;
587
+ tiktokPixelId: string;
588
+ paystackPublicKey: string;
589
+ freeShippingThreshold: number;
590
+ createdAt: string;
591
+ updatedAt: string;
592
+ deletedAt: string;
593
593
  };
594
594
  customerPhone: string;
595
595
  customerEmail: string;
@@ -609,9 +609,10 @@ export declare function useUpdateCart(cartId: string, options?: UseMutationOptio
609
609
  createdAt: string;
610
610
  updatedAt: string;
611
611
  deletedAt: string;
612
- brandId: string | null;
613
- isActive: boolean;
614
612
  code: string;
613
+ isActive: boolean;
614
+ brandId: string | null;
615
+ description: string | null;
615
616
  minPurchase: string;
616
617
  maxDiscount: string;
617
618
  usageLimit: number | null;
@@ -620,7 +621,6 @@ export declare function useUpdateCart(cartId: string, options?: UseMutationOptio
620
621
  validFrom: string;
621
622
  validUntil: string;
622
623
  isAutoApply: boolean;
623
- description: string | null;
624
624
  category: string;
625
625
  createdBy: string | null;
626
626
  };
@@ -634,8 +634,8 @@ export declare function useUpdateCart(cartId: string, options?: UseMutationOptio
634
634
  createdAt: string;
635
635
  updatedAt: string;
636
636
  deletedAt: string;
637
- brandId: string;
638
637
  isActive: boolean;
638
+ brandId: string;
639
639
  description: string | null;
640
640
  thumbnailUrl: string | null;
641
641
  quantityDiscounts: string | number | boolean | {
@@ -1141,19 +1141,19 @@ export declare function useUpdateCart(cartId: string, options?: UseMutationOptio
1141
1141
  export declare function useCreateCart(options?: UseMutationOptions<Awaited<ReturnType<typeof createCart>>, Error, string>): import("@tanstack/react-query").UseMutationResult<{
1142
1142
  id: string;
1143
1143
  brand: {
1144
- createdAt: string;
1145
- updatedAt: string;
1146
- deletedAt: string;
1147
1144
  id: string;
1148
1145
  name: string;
1149
1146
  slug: string;
1150
- logoUrl: string | null;
1147
+ logoUrl: string;
1151
1148
  siteUrl: string;
1152
1149
  domain: string;
1153
- metaPixelId: string | null;
1154
- tiktokPixelId: string | null;
1155
- paystackPublicKey: string | null;
1156
- paystackSecretKey: string | null;
1150
+ metaPixelId: string;
1151
+ tiktokPixelId: string;
1152
+ paystackPublicKey: string;
1153
+ freeShippingThreshold: number;
1154
+ createdAt: string;
1155
+ updatedAt: string;
1156
+ deletedAt: string;
1157
1157
  };
1158
1158
  customerPhone: string;
1159
1159
  customerEmail: string;
@@ -1173,9 +1173,10 @@ export declare function useCreateCart(options?: UseMutationOptions<Awaited<Retur
1173
1173
  createdAt: string;
1174
1174
  updatedAt: string;
1175
1175
  deletedAt: string;
1176
- brandId: string | null;
1177
- isActive: boolean;
1178
1176
  code: string;
1177
+ isActive: boolean;
1178
+ brandId: string | null;
1179
+ description: string | null;
1179
1180
  minPurchase: string;
1180
1181
  maxDiscount: string;
1181
1182
  usageLimit: number | null;
@@ -1184,7 +1185,6 @@ export declare function useCreateCart(options?: UseMutationOptions<Awaited<Retur
1184
1185
  validFrom: string;
1185
1186
  validUntil: string;
1186
1187
  isAutoApply: boolean;
1187
- description: string | null;
1188
1188
  category: string;
1189
1189
  createdBy: string | null;
1190
1190
  };
@@ -1198,8 +1198,8 @@ export declare function useCreateCart(options?: UseMutationOptions<Awaited<Retur
1198
1198
  createdAt: string;
1199
1199
  updatedAt: string;
1200
1200
  deletedAt: string;
1201
- brandId: string;
1202
1201
  isActive: boolean;
1202
+ brandId: string;
1203
1203
  description: string | null;
1204
1204
  thumbnailUrl: string | null;
1205
1205
  quantityDiscounts: string | number | boolean | {
@@ -1696,19 +1696,19 @@ export declare function useApplyDiscount(cartId: string, options?: UseMutationOp
1696
1696
  }>): import("@tanstack/react-query").UseMutationResult<{
1697
1697
  id: string;
1698
1698
  brand: {
1699
- createdAt: string;
1700
- updatedAt: string;
1701
- deletedAt: string;
1702
1699
  id: string;
1703
1700
  name: string;
1704
1701
  slug: string;
1705
- logoUrl: string | null;
1702
+ logoUrl: string;
1706
1703
  siteUrl: string;
1707
1704
  domain: string;
1708
- metaPixelId: string | null;
1709
- tiktokPixelId: string | null;
1710
- paystackPublicKey: string | null;
1711
- paystackSecretKey: string | null;
1705
+ metaPixelId: string;
1706
+ tiktokPixelId: string;
1707
+ paystackPublicKey: string;
1708
+ freeShippingThreshold: number;
1709
+ createdAt: string;
1710
+ updatedAt: string;
1711
+ deletedAt: string;
1712
1712
  };
1713
1713
  customerPhone: string;
1714
1714
  customerEmail: string;
@@ -1728,9 +1728,10 @@ export declare function useApplyDiscount(cartId: string, options?: UseMutationOp
1728
1728
  createdAt: string;
1729
1729
  updatedAt: string;
1730
1730
  deletedAt: string;
1731
- brandId: string | null;
1732
- isActive: boolean;
1733
1731
  code: string;
1732
+ isActive: boolean;
1733
+ brandId: string | null;
1734
+ description: string | null;
1734
1735
  minPurchase: string;
1735
1736
  maxDiscount: string;
1736
1737
  usageLimit: number | null;
@@ -1739,7 +1740,6 @@ export declare function useApplyDiscount(cartId: string, options?: UseMutationOp
1739
1740
  validFrom: string;
1740
1741
  validUntil: string;
1741
1742
  isAutoApply: boolean;
1742
- description: string | null;
1743
1743
  category: string;
1744
1744
  createdBy: string | null;
1745
1745
  };
@@ -1753,8 +1753,8 @@ export declare function useApplyDiscount(cartId: string, options?: UseMutationOp
1753
1753
  createdAt: string;
1754
1754
  updatedAt: string;
1755
1755
  deletedAt: string;
1756
- brandId: string;
1757
1756
  isActive: boolean;
1757
+ brandId: string;
1758
1758
  description: string | null;
1759
1759
  thumbnailUrl: string | null;
1760
1760
  quantityDiscounts: string | number | boolean | {
@@ -2256,19 +2256,19 @@ export declare function useApplyDiscount(cartId: string, options?: UseMutationOp
2256
2256
  export declare function useRemoveDiscount(cartId: string, options?: UseMutationOptions<Awaited<ReturnType<typeof removeDiscount>>, Error, void>): import("@tanstack/react-query").UseMutationResult<{
2257
2257
  id: string;
2258
2258
  brand: {
2259
- createdAt: string;
2260
- updatedAt: string;
2261
- deletedAt: string;
2262
2259
  id: string;
2263
2260
  name: string;
2264
2261
  slug: string;
2265
- logoUrl: string | null;
2262
+ logoUrl: string;
2266
2263
  siteUrl: string;
2267
2264
  domain: string;
2268
- metaPixelId: string | null;
2269
- tiktokPixelId: string | null;
2270
- paystackPublicKey: string | null;
2271
- paystackSecretKey: string | null;
2265
+ metaPixelId: string;
2266
+ tiktokPixelId: string;
2267
+ paystackPublicKey: string;
2268
+ freeShippingThreshold: number;
2269
+ createdAt: string;
2270
+ updatedAt: string;
2271
+ deletedAt: string;
2272
2272
  };
2273
2273
  customerPhone: string;
2274
2274
  customerEmail: string;
@@ -2288,9 +2288,10 @@ export declare function useRemoveDiscount(cartId: string, options?: UseMutationO
2288
2288
  createdAt: string;
2289
2289
  updatedAt: string;
2290
2290
  deletedAt: string;
2291
- brandId: string | null;
2292
- isActive: boolean;
2293
2291
  code: string;
2292
+ isActive: boolean;
2293
+ brandId: string | null;
2294
+ description: string | null;
2294
2295
  minPurchase: string;
2295
2296
  maxDiscount: string;
2296
2297
  usageLimit: number | null;
@@ -2299,7 +2300,6 @@ export declare function useRemoveDiscount(cartId: string, options?: UseMutationO
2299
2300
  validFrom: string;
2300
2301
  validUntil: string;
2301
2302
  isAutoApply: boolean;
2302
- description: string | null;
2303
2303
  category: string;
2304
2304
  createdBy: string | null;
2305
2305
  };
@@ -2313,8 +2313,8 @@ export declare function useRemoveDiscount(cartId: string, options?: UseMutationO
2313
2313
  createdAt: string;
2314
2314
  updatedAt: string;
2315
2315
  deletedAt: string;
2316
- brandId: string;
2317
2316
  isActive: boolean;
2317
+ brandId: string;
2318
2318
  description: string | null;
2319
2319
  thumbnailUrl: string | null;
2320
2320
  quantityDiscounts: string | number | boolean | {
@@ -2822,19 +2822,19 @@ export declare function useAddCartItem(cartId: string, options?: UseMutationOpti
2822
2822
  }>): import("@tanstack/react-query").UseMutationResult<{
2823
2823
  id: string;
2824
2824
  brand: {
2825
- createdAt: string;
2826
- updatedAt: string;
2827
- deletedAt: string;
2828
2825
  id: string;
2829
2826
  name: string;
2830
2827
  slug: string;
2831
- logoUrl: string | null;
2828
+ logoUrl: string;
2832
2829
  siteUrl: string;
2833
2830
  domain: string;
2834
- metaPixelId: string | null;
2835
- tiktokPixelId: string | null;
2836
- paystackPublicKey: string | null;
2837
- paystackSecretKey: string | null;
2831
+ metaPixelId: string;
2832
+ tiktokPixelId: string;
2833
+ paystackPublicKey: string;
2834
+ freeShippingThreshold: number;
2835
+ createdAt: string;
2836
+ updatedAt: string;
2837
+ deletedAt: string;
2838
2838
  };
2839
2839
  customerPhone: string;
2840
2840
  customerEmail: string;
@@ -2854,9 +2854,10 @@ export declare function useAddCartItem(cartId: string, options?: UseMutationOpti
2854
2854
  createdAt: string;
2855
2855
  updatedAt: string;
2856
2856
  deletedAt: string;
2857
- brandId: string | null;
2858
- isActive: boolean;
2859
2857
  code: string;
2858
+ isActive: boolean;
2859
+ brandId: string | null;
2860
+ description: string | null;
2860
2861
  minPurchase: string;
2861
2862
  maxDiscount: string;
2862
2863
  usageLimit: number | null;
@@ -2865,7 +2866,6 @@ export declare function useAddCartItem(cartId: string, options?: UseMutationOpti
2865
2866
  validFrom: string;
2866
2867
  validUntil: string;
2867
2868
  isAutoApply: boolean;
2868
- description: string | null;
2869
2869
  category: string;
2870
2870
  createdBy: string | null;
2871
2871
  };
@@ -2879,8 +2879,8 @@ export declare function useAddCartItem(cartId: string, options?: UseMutationOpti
2879
2879
  createdAt: string;
2880
2880
  updatedAt: string;
2881
2881
  deletedAt: string;
2882
- brandId: string;
2883
2882
  isActive: boolean;
2883
+ brandId: string;
2884
2884
  description: string | null;
2885
2885
  thumbnailUrl: string | null;
2886
2886
  quantityDiscounts: string | number | boolean | {
@@ -3391,19 +3391,19 @@ export declare function useUpdateCartItem(cartId: string, options?: UseMutationO
3391
3391
  }>): import("@tanstack/react-query").UseMutationResult<{
3392
3392
  id: string;
3393
3393
  brand: {
3394
- createdAt: string;
3395
- updatedAt: string;
3396
- deletedAt: string;
3397
3394
  id: string;
3398
3395
  name: string;
3399
3396
  slug: string;
3400
- logoUrl: string | null;
3397
+ logoUrl: string;
3401
3398
  siteUrl: string;
3402
3399
  domain: string;
3403
- metaPixelId: string | null;
3404
- tiktokPixelId: string | null;
3405
- paystackPublicKey: string | null;
3406
- paystackSecretKey: string | null;
3400
+ metaPixelId: string;
3401
+ tiktokPixelId: string;
3402
+ paystackPublicKey: string;
3403
+ freeShippingThreshold: number;
3404
+ createdAt: string;
3405
+ updatedAt: string;
3406
+ deletedAt: string;
3407
3407
  };
3408
3408
  customerPhone: string;
3409
3409
  customerEmail: string;
@@ -3423,9 +3423,10 @@ export declare function useUpdateCartItem(cartId: string, options?: UseMutationO
3423
3423
  createdAt: string;
3424
3424
  updatedAt: string;
3425
3425
  deletedAt: string;
3426
- brandId: string | null;
3427
- isActive: boolean;
3428
3426
  code: string;
3427
+ isActive: boolean;
3428
+ brandId: string | null;
3429
+ description: string | null;
3429
3430
  minPurchase: string;
3430
3431
  maxDiscount: string;
3431
3432
  usageLimit: number | null;
@@ -3434,7 +3435,6 @@ export declare function useUpdateCartItem(cartId: string, options?: UseMutationO
3434
3435
  validFrom: string;
3435
3436
  validUntil: string;
3436
3437
  isAutoApply: boolean;
3437
- description: string | null;
3438
3438
  category: string;
3439
3439
  createdBy: string | null;
3440
3440
  };
@@ -3448,8 +3448,8 @@ export declare function useUpdateCartItem(cartId: string, options?: UseMutationO
3448
3448
  createdAt: string;
3449
3449
  updatedAt: string;
3450
3450
  deletedAt: string;
3451
- brandId: string;
3452
3451
  isActive: boolean;
3452
+ brandId: string;
3453
3453
  description: string | null;
3454
3454
  thumbnailUrl: string | null;
3455
3455
  quantityDiscounts: string | number | boolean | {
@@ -3947,19 +3947,19 @@ export declare function useUpdateCartItem(cartId: string, options?: UseMutationO
3947
3947
  export declare function useRemoveCartItem(cartId: string, options?: UseMutationOptions<Awaited<ReturnType<typeof removeCartItem>>, Error, string>): import("@tanstack/react-query").UseMutationResult<{
3948
3948
  id: string;
3949
3949
  brand: {
3950
- createdAt: string;
3951
- updatedAt: string;
3952
- deletedAt: string;
3953
3950
  id: string;
3954
3951
  name: string;
3955
3952
  slug: string;
3956
- logoUrl: string | null;
3953
+ logoUrl: string;
3957
3954
  siteUrl: string;
3958
3955
  domain: string;
3959
- metaPixelId: string | null;
3960
- tiktokPixelId: string | null;
3961
- paystackPublicKey: string | null;
3962
- paystackSecretKey: string | null;
3956
+ metaPixelId: string;
3957
+ tiktokPixelId: string;
3958
+ paystackPublicKey: string;
3959
+ freeShippingThreshold: number;
3960
+ createdAt: string;
3961
+ updatedAt: string;
3962
+ deletedAt: string;
3963
3963
  };
3964
3964
  customerPhone: string;
3965
3965
  customerEmail: string;
@@ -3979,9 +3979,10 @@ export declare function useRemoveCartItem(cartId: string, options?: UseMutationO
3979
3979
  createdAt: string;
3980
3980
  updatedAt: string;
3981
3981
  deletedAt: string;
3982
- brandId: string | null;
3983
- isActive: boolean;
3984
3982
  code: string;
3983
+ isActive: boolean;
3984
+ brandId: string | null;
3985
+ description: string | null;
3985
3986
  minPurchase: string;
3986
3987
  maxDiscount: string;
3987
3988
  usageLimit: number | null;
@@ -3990,7 +3991,6 @@ export declare function useRemoveCartItem(cartId: string, options?: UseMutationO
3990
3991
  validFrom: string;
3991
3992
  validUntil: string;
3992
3993
  isAutoApply: boolean;
3993
- description: string | null;
3994
3994
  category: string;
3995
3995
  createdBy: string | null;
3996
3996
  };
@@ -4004,8 +4004,8 @@ export declare function useRemoveCartItem(cartId: string, options?: UseMutationO
4004
4004
  createdAt: string;
4005
4005
  updatedAt: string;
4006
4006
  deletedAt: string;
4007
- brandId: string;
4008
4007
  isActive: boolean;
4008
+ brandId: string;
4009
4009
  description: string | null;
4010
4010
  thumbnailUrl: string | null;
4011
4011
  quantityDiscounts: string | number | boolean | {
@@ -4511,25 +4511,33 @@ export declare function useCheckoutCart(cartId: string, options?: UseMutationOpt
4511
4511
  deliveryCharge: number;
4512
4512
  totalPrice: number;
4513
4513
  discountAmount: number;
4514
+ amountPaid: number;
4515
+ flutterwaveAccountBank: string;
4516
+ flutterwaveAccountNumber: string;
4517
+ flutterwaveAccountExpiry: string;
4514
4518
  createdAt: string;
4515
4519
  updatedAt: string;
4516
4520
  deletedAt: string;
4517
4521
  prospectSince: string;
4518
4522
  lastRecoveryAttemptAt: string;
4523
+ shippedAt: string;
4524
+ deliveryConfirmationSentAt: string;
4525
+ deliveryConfirmedAt: string;
4526
+ deliveryConfirmationAttempts: number;
4519
4527
  brand: {
4520
- createdAt: string;
4521
- updatedAt: string;
4522
- deletedAt: string;
4523
4528
  id: string;
4524
4529
  name: string;
4525
4530
  slug: string;
4526
- logoUrl: string | null;
4531
+ logoUrl: string;
4527
4532
  siteUrl: string;
4528
4533
  domain: string;
4529
- metaPixelId: string | null;
4530
- tiktokPixelId: string | null;
4531
- paystackPublicKey: string | null;
4532
- paystackSecretKey: string | null;
4534
+ metaPixelId: string;
4535
+ tiktokPixelId: string;
4536
+ paystackPublicKey: string;
4537
+ freeShippingThreshold: number;
4538
+ createdAt: string;
4539
+ updatedAt: string;
4540
+ deletedAt: string;
4533
4541
  };
4534
4542
  deliveryZone: {
4535
4543
  deliveryCost: number;
@@ -4547,6 +4555,7 @@ export declare function useCheckoutCart(cartId: string, options?: UseMutationOpt
4547
4555
  };
4548
4556
  id: string;
4549
4557
  name: string;
4558
+ isActive: boolean;
4550
4559
  brandId: string | null;
4551
4560
  stateId: string;
4552
4561
  allowCOD: boolean;
@@ -4555,7 +4564,6 @@ export declare function useCheckoutCart(cartId: string, options?: UseMutationOpt
4555
4564
  estimatedDays: number | null;
4556
4565
  noteTitle: string | null;
4557
4566
  noteContent: string | null;
4558
- isActive: boolean;
4559
4567
  };
4560
4568
  items: {
4561
4569
  priceAtPurchase: number;
@@ -4571,8 +4579,8 @@ export declare function useCheckoutCart(cartId: string, options?: UseMutationOpt
4571
4579
  id: string;
4572
4580
  name: string;
4573
4581
  slug: string;
4574
- brandId: string;
4575
4582
  isActive: boolean;
4583
+ brandId: string;
4576
4584
  description: string | null;
4577
4585
  thumbnailUrl: string | null;
4578
4586
  quantityDiscounts: string | number | boolean | {
@@ -5015,8 +5023,8 @@ export declare function useCheckoutCart(cartId: string, options?: UseMutationOpt
5015
5023
  id: string;
5016
5024
  name: string | null;
5017
5025
  isActive: boolean;
5018
- thumbnailUrl: string | null;
5019
5026
  productId: string;
5027
+ thumbnailUrl: string | null;
5020
5028
  sku: string;
5021
5029
  compareAtPrice: string;
5022
5030
  trackInventory: boolean;
@@ -5028,16 +5036,16 @@ export declare function useCheckoutCart(cartId: string, options?: UseMutationOpt
5028
5036
  deletedAt: string;
5029
5037
  id: string;
5030
5038
  name: string;
5039
+ state: string | null;
5031
5040
  isActive: boolean;
5032
5041
  address: string | null;
5033
5042
  city: string | null;
5034
- state: string | null;
5035
5043
  };
5036
5044
  id: string;
5037
- orderId: string;
5038
5045
  variantId: string;
5039
- warehouseId: string | null;
5040
5046
  quantity: number;
5047
+ orderId: string;
5048
+ warehouseId: string | null;
5041
5049
  }[];
5042
5050
  email: string | null;
5043
5051
  id: string;
@@ -5058,8 +5066,19 @@ export declare function useCheckoutCart(cartId: string, options?: UseMutationOpt
5058
5066
  paystackReference: string | null;
5059
5067
  status: import("@prisma/client").$Enums.OrderStatus;
5060
5068
  cancellationReason: string | null;
5069
+ shippingMethod: string | null;
5070
+ dispatchRiderId: string | null;
5071
+ fezTrackingNumber: string | null;
5072
+ flutterwaveOrderRef: string | null;
5073
+ flutterwaveCustomerId: string | null;
5061
5074
  prospectReason: import("@prisma/client").$Enums.ProspectReason | null;
5062
5075
  userActionToken: string;
5076
+ labelPrintedAt: string;
5077
+ dispatchRider?: {
5078
+ id: string;
5079
+ name: string;
5080
+ phone: string;
5081
+ };
5063
5082
  }, Error, {
5064
5083
  firstName: string;
5065
5084
  lastName: string;
@@ -5276,6 +5295,7 @@ export declare function useGetCartRecommendations(cartId: string | null | undefi
5276
5295
  metaPixelId: string;
5277
5296
  tiktokPixelId: string;
5278
5297
  paystackPublicKey: string;
5298
+ freeShippingThreshold: number;
5279
5299
  createdAt: string;
5280
5300
  updatedAt: string;
5281
5301
  deletedAt: string;
@@ -5594,8 +5614,8 @@ export declare function useGetCartRecommendations(cartId: string | null | undefi
5594
5614
  createdAt: string;
5595
5615
  updatedAt: string;
5596
5616
  deletedAt: string;
5597
- brandId: string;
5598
5617
  isActive: boolean;
5618
+ brandId: string;
5599
5619
  discountType: import("@prisma/client").$Enums.DiscountType;
5600
5620
  discountValue: string;
5601
5621
  startDate: string;
@@ -5609,6 +5629,6 @@ export declare function useGetCartRecommendations(cartId: string | null | undefi
5609
5629
  createdAt: string;
5610
5630
  updatedAt: string;
5611
5631
  deletedAt: string;
5612
- brandId: string;
5613
5632
  isActive: boolean;
5633
+ brandId: string;
5614
5634
  }[], Error>;
@@ -25,7 +25,6 @@ export declare function useGetDeliveryZones(brandId: string | undefined, options
25
25
  id: string;
26
26
  name: string;
27
27
  deliveryCost: number;
28
- freeShippingThreshold: number;
29
28
  allowCOD: boolean;
30
29
  allowOnline: boolean;
31
30
  waybillOnly: boolean;