@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.
@@ -39,6 +39,9 @@ export declare function useGetStats(params?: {
39
39
  };
40
40
  recentOrders: {
41
41
  subtotal: number;
42
+ totalCost: number;
43
+ totalProfit: number;
44
+ profitMargin: number;
42
45
  deliveryCharge: number;
43
46
  totalPrice: number;
44
47
  discountAmount: number;
@@ -55,6 +58,7 @@ export declare function useGetStats(params?: {
55
58
  deliveryConfirmationSentAt: string;
56
59
  deliveryConfirmedAt: string;
57
60
  deliveryConfirmationAttempts: number;
61
+ needsManualCall: boolean;
58
62
  brand: {
59
63
  id: string;
60
64
  name: string;
@@ -66,6 +70,7 @@ export declare function useGetStats(params?: {
66
70
  tiktokPixelId: string;
67
71
  paystackPublicKey: string;
68
72
  freeShippingThreshold: number;
73
+ upsellDiscountPercent: number;
69
74
  createdAt: string;
70
75
  updatedAt: string;
71
76
  deletedAt: string;
@@ -98,6 +103,8 @@ export declare function useGetStats(params?: {
98
103
  };
99
104
  items: {
100
105
  priceAtPurchase: number;
106
+ costAtPurchase: number;
107
+ itemProfit: number;
101
108
  variant: {
102
109
  price: number;
103
110
  createdAt: string;
@@ -557,6 +564,7 @@ export declare function useGetStats(params?: {
557
564
  productId: string;
558
565
  thumbnailUrl: string | null;
559
566
  sku: string;
567
+ costPrice: string;
560
568
  compareAtPrice: string;
561
569
  trackInventory: boolean;
562
570
  lowStockThreshold: number | null;
@@ -13,9 +13,11 @@ export declare function useSearchVariants(params?: {
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
15
  price: number;
16
+ costPrice: number;
16
17
  compareAtPrice: number;
17
18
  deletedAt: string;
18
19
  thumbnailUrl: string;
20
+ rawThumbnailUrl: string;
19
21
  originalPrice: number;
20
22
  id: string;
21
23
  name: string | null;
@@ -32,9 +34,11 @@ export declare function useListProductVariants(productId: string, options?: Omit
32
34
  createdAt: string;
33
35
  updatedAt: string;
34
36
  price: number;
37
+ costPrice: number;
35
38
  compareAtPrice: number;
36
39
  deletedAt: string;
37
40
  thumbnailUrl: string;
41
+ rawThumbnailUrl: string;
38
42
  originalPrice: number;
39
43
  id: string;
40
44
  name: string | null;
@@ -51,9 +55,11 @@ export declare function useCreateVariant(productId: string, options?: UseMutatio
51
55
  createdAt: string;
52
56
  updatedAt: string;
53
57
  price: number;
58
+ costPrice: number;
54
59
  compareAtPrice: number;
55
60
  deletedAt: string;
56
61
  thumbnailUrl: string;
62
+ rawThumbnailUrl: string;
57
63
  originalPrice: number;
58
64
  id: string;
59
65
  name: string | null;
@@ -77,9 +83,11 @@ export declare function useUpdateVariant(productId: string, options?: UseMutatio
77
83
  createdAt: string;
78
84
  updatedAt: string;
79
85
  price: number;
86
+ costPrice: number;
80
87
  compareAtPrice: number;
81
88
  deletedAt: string;
82
89
  thumbnailUrl: string;
90
+ rawThumbnailUrl: string;
83
91
  originalPrice: number;
84
92
  id: string;
85
93
  name: string | null;
@@ -102,9 +110,11 @@ export declare function useGetVariantInventory(variantId: string, options?: Omit
102
110
  createdAt: string;
103
111
  updatedAt: string;
104
112
  price: number;
113
+ costPrice: number;
105
114
  compareAtPrice: number;
106
115
  deletedAt: string;
107
116
  thumbnailUrl: string;
117
+ rawThumbnailUrl: string;
108
118
  originalPrice: number;
109
119
  id: string;
110
120
  name: string | null;
@@ -75,6 +75,7 @@ export declare function useGetWarehouseInventory(warehouseId: string, options?:
75
75
  paystackPublicKey: string | null;
76
76
  paystackSecretKey: string | null;
77
77
  freeShippingThreshold: string;
78
+ upsellDiscountPercent: number;
78
79
  createdAt: string;
79
80
  updatedAt: string;
80
81
  deletedAt: string;
@@ -536,6 +537,7 @@ export declare function useGetWarehouseInventory(warehouseId: string, options?:
536
537
  thumbnailUrl: string | null;
537
538
  sku: string;
538
539
  price: string;
540
+ costPrice: string;
539
541
  compareAtPrice: string;
540
542
  trackInventory: boolean;
541
543
  lowStockThreshold: number | null;