@instockng/api-client 1.0.9 → 1.0.11
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/apps/backend/src/lib/brand-response.d.ts +2 -0
- package/dist/apps/backend/src/lib/cart-helpers.d.ts +4 -0
- package/dist/apps/backend/src/lib/cart-response.d.ts +2 -0
- package/dist/apps/backend/src/lib/delivery-zone-response.d.ts +2 -0
- package/dist/apps/backend/src/lib/discount-code-response.d.ts +2 -0
- package/dist/apps/backend/src/lib/order-recovery.d.ts +6 -0
- package/dist/apps/backend/src/lib/order-response.d.ts +2 -0
- package/dist/apps/backend/src/lib/product-response.d.ts +2 -0
- package/dist/apps/backend/src/routes/admin/abandoned-carts.d.ts +4 -8
- package/dist/apps/backend/src/routes/admin/brands.d.ts +8 -0
- package/dist/apps/backend/src/routes/admin/customers.d.ts +2 -4
- package/dist/apps/backend/src/routes/admin/delivery-zones.d.ts +8 -0
- package/dist/apps/backend/src/routes/admin/discount-codes.d.ts +10 -0
- package/dist/apps/backend/src/routes/admin/inventory.d.ts +0 -4
- package/dist/apps/backend/src/routes/admin/orders.d.ts +12 -24
- package/dist/apps/backend/src/routes/admin/products.d.ts +8 -16
- package/dist/apps/backend/src/routes/admin/stats.d.ts +2 -4
- package/dist/apps/backend/src/routes/admin/warehouses.d.ts +2 -4
- package/dist/apps/backend/src/routes/public/brands.d.ts +1 -0
- package/dist/apps/backend/src/routes/public/brands.js +1 -0
- package/dist/apps/backend/src/routes/public/carts.d.ts +18 -36
- package/dist/apps/backend/src/routes/public/orders.d.ts +4 -8
- package/dist/apps/backend/src/routes/public/products.d.ts +4 -8
- package/dist/apps/backend/src/validators/brand.d.ts +4 -0
- package/dist/apps/backend/src/validators/brand.js +4 -0
- package/dist/packages/api-client/src/fetchers/brands.d.ts +1 -0
- package/dist/packages/api-client/src/fetchers/carts.d.ts +18 -36
- package/dist/packages/api-client/src/fetchers/orders.d.ts +4 -8
- package/dist/packages/api-client/src/fetchers/products.d.ts +4 -8
- package/dist/packages/api-client/src/hooks/admin/abandoned-carts.d.ts +4 -8
- package/dist/packages/api-client/src/hooks/admin/brands.d.ts +8 -0
- package/dist/packages/api-client/src/hooks/admin/customers.d.ts +2 -4
- package/dist/packages/api-client/src/hooks/admin/delivery-zones.d.ts +8 -0
- package/dist/packages/api-client/src/hooks/admin/discount-codes.d.ts +10 -0
- package/dist/packages/api-client/src/hooks/admin/inventory.d.ts +0 -4
- package/dist/packages/api-client/src/hooks/admin/orders.d.ts +12 -24
- package/dist/packages/api-client/src/hooks/admin/products.d.ts +4 -8
- package/dist/packages/api-client/src/hooks/admin/stats.d.ts +2 -4
- package/dist/packages/api-client/src/hooks/admin/warehouses.d.ts +2 -4
- package/dist/packages/api-client/src/hooks/public/brands.d.ts +1 -0
- package/dist/packages/api-client/src/hooks/public/carts.d.ts +18 -36
- package/dist/packages/api-client/src/hooks/public/orders.d.ts +4 -8
- package/dist/packages/api-client/src/hooks/public/products.d.ts +4 -8
- package/dist/packages/api-client/src/rpc-client.d.ts +83 -116
- package/package.json +1 -1
- package/dist/apps/backend/src/generated/zod/index.d.ts +0 -1114
- package/dist/apps/backend/src/generated/zod/index.js +0 -670
- package/dist/backend-types.d.ts +0 -10
- package/dist/backend-types.js +0 -10
- package/dist/client.d.ts +0 -20
- package/dist/client.js +0 -40
- package/dist/enum-types.d.ts +0 -8
- package/dist/enum-types.js +0 -5
- package/dist/fetchers/brands.d.ts +0 -25
- package/dist/fetchers/brands.js +0 -26
- package/dist/fetchers/carts.d.ts +0 -2335
- package/dist/fetchers/carts.js +0 -174
- package/dist/fetchers/delivery-zones.d.ts +0 -28
- package/dist/fetchers/delivery-zones.js +0 -26
- package/dist/fetchers/index.d.ts +0 -22
- package/dist/fetchers/index.js +0 -22
- package/dist/fetchers/orders.d.ts +0 -540
- package/dist/fetchers/orders.js +0 -44
- package/dist/fetchers/products.d.ts +0 -386
- package/dist/fetchers/products.js +0 -42
- package/dist/hooks/admin/abandoned-carts.d.ts +0 -535
- package/dist/hooks/admin/abandoned-carts.js +0 -83
- package/dist/hooks/admin/brands.d.ts +0 -79
- package/dist/hooks/admin/brands.js +0 -108
- package/dist/hooks/admin/customers.d.ts +0 -278
- package/dist/hooks/admin/customers.js +0 -26
- package/dist/hooks/admin/delivery-zones.d.ts +0 -270
- package/dist/hooks/admin/delivery-zones.js +0 -176
- package/dist/hooks/admin/discount-codes.d.ts +0 -299
- package/dist/hooks/admin/discount-codes.js +0 -165
- package/dist/hooks/admin/index.d.ts +0 -16
- package/dist/hooks/admin/index.js +0 -16
- package/dist/hooks/admin/inventory.d.ts +0 -224
- package/dist/hooks/admin/inventory.js +0 -107
- package/dist/hooks/admin/orders.d.ts +0 -1662
- package/dist/hooks/admin/orders.js +0 -178
- package/dist/hooks/admin/products.d.ts +0 -374
- package/dist/hooks/admin/products.js +0 -89
- package/dist/hooks/admin/stats.d.ts +0 -277
- package/dist/hooks/admin/stats.js +0 -25
- package/dist/hooks/admin/variants.d.ts +0 -115
- package/dist/hooks/admin/variants.js +0 -127
- package/dist/hooks/admin/warehouses.d.ts +0 -277
- package/dist/hooks/admin/warehouses.js +0 -108
- package/dist/hooks/public/brands.d.ts +0 -33
- package/dist/hooks/public/brands.js +0 -30
- package/dist/hooks/public/carts.d.ts +0 -2405
- package/dist/hooks/public/carts.js +0 -213
- package/dist/hooks/public/delivery-zones.d.ts +0 -34
- package/dist/hooks/public/delivery-zones.js +0 -28
- package/dist/hooks/public/index.d.ts +0 -10
- package/dist/hooks/public/index.js +0 -10
- package/dist/hooks/public/orders.d.ts +0 -559
- package/dist/hooks/public/orders.js +0 -50
- package/dist/hooks/public/products.d.ts +0 -398
- package/dist/hooks/public/products.js +0 -47
- package/dist/hooks/use-query-unwrapped.d.ts +0 -20
- package/dist/hooks/use-query-unwrapped.js +0 -22
- package/dist/hooks/useApiConfig.d.ts +0 -12
- package/dist/hooks/useApiConfig.js +0 -14
- package/dist/index.d.ts +0 -20
- package/dist/index.js +0 -25
- package/dist/provider.d.ts +0 -36
- package/dist/provider.js +0 -54
- package/dist/rpc-client.d.ts +0 -9607
- package/dist/rpc-client.js +0 -78
- package/dist/rpc-types.d.ts +0 -76
- package/dist/rpc-types.js +0 -7
- package/dist/types.d.ts +0 -34
- package/dist/types.js +0 -16
- package/dist/utils/query-keys.d.ts +0 -106
- package/dist/utils/query-keys.js +0 -108
|
@@ -31,6 +31,8 @@ export declare function useGetCart(cartId: string, options?: Omit<UseQueryOption
|
|
|
31
31
|
siteUrl: string;
|
|
32
32
|
domain: string;
|
|
33
33
|
metaPixelId: string | null;
|
|
34
|
+
paystackPublicKey: string | null;
|
|
35
|
+
paystackSecretKey: string | null;
|
|
34
36
|
};
|
|
35
37
|
customerPhone: string;
|
|
36
38
|
customerEmail: string;
|
|
@@ -150,9 +152,7 @@ export declare function useGetCart(cartId: string, options?: Omit<UseQueryOption
|
|
|
150
152
|
includes?: boolean;
|
|
151
153
|
flatMap?: boolean;
|
|
152
154
|
flat?: boolean;
|
|
153
|
-
at?: boolean;
|
|
154
155
|
};
|
|
155
|
-
at: never;
|
|
156
156
|
};
|
|
157
157
|
} | {
|
|
158
158
|
[x: number]: string | number | boolean | {
|
|
@@ -225,9 +225,7 @@ export declare function useGetCart(cartId: string, options?: Omit<UseQueryOption
|
|
|
225
225
|
includes?: boolean;
|
|
226
226
|
flatMap?: boolean;
|
|
227
227
|
flat?: boolean;
|
|
228
|
-
at?: boolean;
|
|
229
228
|
};
|
|
230
|
-
at: never;
|
|
231
229
|
};
|
|
232
230
|
};
|
|
233
231
|
id: string;
|
|
@@ -295,6 +293,8 @@ export declare function useUpdateCart(cartId: string, options?: UseMutationOptio
|
|
|
295
293
|
siteUrl: string;
|
|
296
294
|
domain: string;
|
|
297
295
|
metaPixelId: string | null;
|
|
296
|
+
paystackPublicKey: string | null;
|
|
297
|
+
paystackSecretKey: string | null;
|
|
298
298
|
};
|
|
299
299
|
customerPhone: string;
|
|
300
300
|
customerEmail: string;
|
|
@@ -414,9 +414,7 @@ export declare function useUpdateCart(cartId: string, options?: UseMutationOptio
|
|
|
414
414
|
includes?: boolean;
|
|
415
415
|
flatMap?: boolean;
|
|
416
416
|
flat?: boolean;
|
|
417
|
-
at?: boolean;
|
|
418
417
|
};
|
|
419
|
-
at: never;
|
|
420
418
|
};
|
|
421
419
|
} | {
|
|
422
420
|
[x: number]: string | number | boolean | {
|
|
@@ -489,9 +487,7 @@ export declare function useUpdateCart(cartId: string, options?: UseMutationOptio
|
|
|
489
487
|
includes?: boolean;
|
|
490
488
|
flatMap?: boolean;
|
|
491
489
|
flat?: boolean;
|
|
492
|
-
at?: boolean;
|
|
493
490
|
};
|
|
494
|
-
at: never;
|
|
495
491
|
};
|
|
496
492
|
};
|
|
497
493
|
id: string;
|
|
@@ -567,6 +563,8 @@ export declare function useCreateCart(options?: UseMutationOptions<Awaited<Retur
|
|
|
567
563
|
siteUrl: string;
|
|
568
564
|
domain: string;
|
|
569
565
|
metaPixelId: string | null;
|
|
566
|
+
paystackPublicKey: string | null;
|
|
567
|
+
paystackSecretKey: string | null;
|
|
570
568
|
};
|
|
571
569
|
customerPhone: string;
|
|
572
570
|
customerEmail: string;
|
|
@@ -686,9 +684,7 @@ export declare function useCreateCart(options?: UseMutationOptions<Awaited<Retur
|
|
|
686
684
|
includes?: boolean;
|
|
687
685
|
flatMap?: boolean;
|
|
688
686
|
flat?: boolean;
|
|
689
|
-
at?: boolean;
|
|
690
687
|
};
|
|
691
|
-
at: never;
|
|
692
688
|
};
|
|
693
689
|
} | {
|
|
694
690
|
[x: number]: string | number | boolean | {
|
|
@@ -761,9 +757,7 @@ export declare function useCreateCart(options?: UseMutationOptions<Awaited<Retur
|
|
|
761
757
|
includes?: boolean;
|
|
762
758
|
flatMap?: boolean;
|
|
763
759
|
flat?: boolean;
|
|
764
|
-
at?: boolean;
|
|
765
760
|
};
|
|
766
|
-
at: never;
|
|
767
761
|
};
|
|
768
762
|
};
|
|
769
763
|
id: string;
|
|
@@ -830,6 +824,8 @@ export declare function useApplyDiscount(cartId: string, options?: UseMutationOp
|
|
|
830
824
|
siteUrl: string;
|
|
831
825
|
domain: string;
|
|
832
826
|
metaPixelId: string | null;
|
|
827
|
+
paystackPublicKey: string | null;
|
|
828
|
+
paystackSecretKey: string | null;
|
|
833
829
|
};
|
|
834
830
|
customerPhone: string;
|
|
835
831
|
customerEmail: string;
|
|
@@ -949,9 +945,7 @@ export declare function useApplyDiscount(cartId: string, options?: UseMutationOp
|
|
|
949
945
|
includes?: boolean;
|
|
950
946
|
flatMap?: boolean;
|
|
951
947
|
flat?: boolean;
|
|
952
|
-
at?: boolean;
|
|
953
948
|
};
|
|
954
|
-
at: never;
|
|
955
949
|
};
|
|
956
950
|
} | {
|
|
957
951
|
[x: number]: string | number | boolean | {
|
|
@@ -1024,9 +1018,7 @@ export declare function useApplyDiscount(cartId: string, options?: UseMutationOp
|
|
|
1024
1018
|
includes?: boolean;
|
|
1025
1019
|
flatMap?: boolean;
|
|
1026
1020
|
flat?: boolean;
|
|
1027
|
-
at?: boolean;
|
|
1028
1021
|
};
|
|
1029
|
-
at: never;
|
|
1030
1022
|
};
|
|
1031
1023
|
};
|
|
1032
1024
|
id: string;
|
|
@@ -1098,6 +1090,8 @@ export declare function useRemoveDiscount(cartId: string, options?: UseMutationO
|
|
|
1098
1090
|
siteUrl: string;
|
|
1099
1091
|
domain: string;
|
|
1100
1092
|
metaPixelId: string | null;
|
|
1093
|
+
paystackPublicKey: string | null;
|
|
1094
|
+
paystackSecretKey: string | null;
|
|
1101
1095
|
};
|
|
1102
1096
|
customerPhone: string;
|
|
1103
1097
|
customerEmail: string;
|
|
@@ -1217,9 +1211,7 @@ export declare function useRemoveDiscount(cartId: string, options?: UseMutationO
|
|
|
1217
1211
|
includes?: boolean;
|
|
1218
1212
|
flatMap?: boolean;
|
|
1219
1213
|
flat?: boolean;
|
|
1220
|
-
at?: boolean;
|
|
1221
1214
|
};
|
|
1222
|
-
at: never;
|
|
1223
1215
|
};
|
|
1224
1216
|
} | {
|
|
1225
1217
|
[x: number]: string | number | boolean | {
|
|
@@ -1292,9 +1284,7 @@ export declare function useRemoveDiscount(cartId: string, options?: UseMutationO
|
|
|
1292
1284
|
includes?: boolean;
|
|
1293
1285
|
flatMap?: boolean;
|
|
1294
1286
|
flat?: boolean;
|
|
1295
|
-
at?: boolean;
|
|
1296
1287
|
};
|
|
1297
|
-
at: never;
|
|
1298
1288
|
};
|
|
1299
1289
|
};
|
|
1300
1290
|
id: string;
|
|
@@ -1369,6 +1359,8 @@ export declare function useAddCartItem(cartId: string, options?: UseMutationOpti
|
|
|
1369
1359
|
siteUrl: string;
|
|
1370
1360
|
domain: string;
|
|
1371
1361
|
metaPixelId: string | null;
|
|
1362
|
+
paystackPublicKey: string | null;
|
|
1363
|
+
paystackSecretKey: string | null;
|
|
1372
1364
|
};
|
|
1373
1365
|
customerPhone: string;
|
|
1374
1366
|
customerEmail: string;
|
|
@@ -1488,9 +1480,7 @@ export declare function useAddCartItem(cartId: string, options?: UseMutationOpti
|
|
|
1488
1480
|
includes?: boolean;
|
|
1489
1481
|
flatMap?: boolean;
|
|
1490
1482
|
flat?: boolean;
|
|
1491
|
-
at?: boolean;
|
|
1492
1483
|
};
|
|
1493
|
-
at: never;
|
|
1494
1484
|
};
|
|
1495
1485
|
} | {
|
|
1496
1486
|
[x: number]: string | number | boolean | {
|
|
@@ -1563,9 +1553,7 @@ export declare function useAddCartItem(cartId: string, options?: UseMutationOpti
|
|
|
1563
1553
|
includes?: boolean;
|
|
1564
1554
|
flatMap?: boolean;
|
|
1565
1555
|
flat?: boolean;
|
|
1566
|
-
at?: boolean;
|
|
1567
1556
|
};
|
|
1568
|
-
at: never;
|
|
1569
1557
|
};
|
|
1570
1558
|
};
|
|
1571
1559
|
id: string;
|
|
@@ -1643,6 +1631,8 @@ export declare function useUpdateCartItem(cartId: string, options?: UseMutationO
|
|
|
1643
1631
|
siteUrl: string;
|
|
1644
1632
|
domain: string;
|
|
1645
1633
|
metaPixelId: string | null;
|
|
1634
|
+
paystackPublicKey: string | null;
|
|
1635
|
+
paystackSecretKey: string | null;
|
|
1646
1636
|
};
|
|
1647
1637
|
customerPhone: string;
|
|
1648
1638
|
customerEmail: string;
|
|
@@ -1762,9 +1752,7 @@ export declare function useUpdateCartItem(cartId: string, options?: UseMutationO
|
|
|
1762
1752
|
includes?: boolean;
|
|
1763
1753
|
flatMap?: boolean;
|
|
1764
1754
|
flat?: boolean;
|
|
1765
|
-
at?: boolean;
|
|
1766
1755
|
};
|
|
1767
|
-
at: never;
|
|
1768
1756
|
};
|
|
1769
1757
|
} | {
|
|
1770
1758
|
[x: number]: string | number | boolean | {
|
|
@@ -1837,9 +1825,7 @@ export declare function useUpdateCartItem(cartId: string, options?: UseMutationO
|
|
|
1837
1825
|
includes?: boolean;
|
|
1838
1826
|
flatMap?: boolean;
|
|
1839
1827
|
flat?: boolean;
|
|
1840
|
-
at?: boolean;
|
|
1841
1828
|
};
|
|
1842
|
-
at: never;
|
|
1843
1829
|
};
|
|
1844
1830
|
};
|
|
1845
1831
|
id: string;
|
|
@@ -1907,6 +1893,8 @@ export declare function useRemoveCartItem(cartId: string, options?: UseMutationO
|
|
|
1907
1893
|
siteUrl: string;
|
|
1908
1894
|
domain: string;
|
|
1909
1895
|
metaPixelId: string | null;
|
|
1896
|
+
paystackPublicKey: string | null;
|
|
1897
|
+
paystackSecretKey: string | null;
|
|
1910
1898
|
};
|
|
1911
1899
|
customerPhone: string;
|
|
1912
1900
|
customerEmail: string;
|
|
@@ -2026,9 +2014,7 @@ export declare function useRemoveCartItem(cartId: string, options?: UseMutationO
|
|
|
2026
2014
|
includes?: boolean;
|
|
2027
2015
|
flatMap?: boolean;
|
|
2028
2016
|
flat?: boolean;
|
|
2029
|
-
at?: boolean;
|
|
2030
2017
|
};
|
|
2031
|
-
at: never;
|
|
2032
2018
|
};
|
|
2033
2019
|
} | {
|
|
2034
2020
|
[x: number]: string | number | boolean | {
|
|
@@ -2101,9 +2087,7 @@ export declare function useRemoveCartItem(cartId: string, options?: UseMutationO
|
|
|
2101
2087
|
includes?: boolean;
|
|
2102
2088
|
flatMap?: boolean;
|
|
2103
2089
|
flat?: boolean;
|
|
2104
|
-
at?: boolean;
|
|
2105
2090
|
};
|
|
2106
|
-
at: never;
|
|
2107
2091
|
};
|
|
2108
2092
|
};
|
|
2109
2093
|
id: string;
|
|
@@ -2185,6 +2169,8 @@ export declare function useCheckoutCart(cartId: string, options?: UseMutationOpt
|
|
|
2185
2169
|
siteUrl: string;
|
|
2186
2170
|
domain: string;
|
|
2187
2171
|
metaPixelId: string | null;
|
|
2172
|
+
paystackPublicKey: string | null;
|
|
2173
|
+
paystackSecretKey: string | null;
|
|
2188
2174
|
};
|
|
2189
2175
|
deliveryZone: {
|
|
2190
2176
|
deliveryCost: number;
|
|
@@ -2300,9 +2286,7 @@ export declare function useCheckoutCart(cartId: string, options?: UseMutationOpt
|
|
|
2300
2286
|
includes?: boolean;
|
|
2301
2287
|
flatMap?: boolean;
|
|
2302
2288
|
flat?: boolean;
|
|
2303
|
-
at?: boolean;
|
|
2304
2289
|
};
|
|
2305
|
-
at: never;
|
|
2306
2290
|
};
|
|
2307
2291
|
} | {
|
|
2308
2292
|
[x: number]: string | number | boolean | {
|
|
@@ -2375,9 +2359,7 @@ export declare function useCheckoutCart(cartId: string, options?: UseMutationOpt
|
|
|
2375
2359
|
includes?: boolean;
|
|
2376
2360
|
flatMap?: boolean;
|
|
2377
2361
|
flat?: boolean;
|
|
2378
|
-
at?: boolean;
|
|
2379
2362
|
};
|
|
2380
|
-
at: never;
|
|
2381
2363
|
};
|
|
2382
2364
|
};
|
|
2383
2365
|
id: string;
|
|
@@ -42,6 +42,8 @@ export declare function useGetOrder(orderId: string, token: string, options?: Om
|
|
|
42
42
|
siteUrl: string;
|
|
43
43
|
domain: string;
|
|
44
44
|
metaPixelId: string | null;
|
|
45
|
+
paystackPublicKey: string | null;
|
|
46
|
+
paystackSecretKey: string | null;
|
|
45
47
|
};
|
|
46
48
|
deliveryZone: {
|
|
47
49
|
deliveryCost: number;
|
|
@@ -157,9 +159,7 @@ export declare function useGetOrder(orderId: string, token: string, options?: Om
|
|
|
157
159
|
includes?: boolean;
|
|
158
160
|
flatMap?: boolean;
|
|
159
161
|
flat?: boolean;
|
|
160
|
-
at?: boolean;
|
|
161
162
|
};
|
|
162
|
-
at: never;
|
|
163
163
|
};
|
|
164
164
|
} | {
|
|
165
165
|
[x: number]: string | number | boolean | {
|
|
@@ -232,9 +232,7 @@ export declare function useGetOrder(orderId: string, token: string, options?: Om
|
|
|
232
232
|
includes?: boolean;
|
|
233
233
|
flatMap?: boolean;
|
|
234
234
|
flat?: boolean;
|
|
235
|
-
at?: boolean;
|
|
236
235
|
};
|
|
237
|
-
at: never;
|
|
238
236
|
};
|
|
239
237
|
};
|
|
240
238
|
id: string;
|
|
@@ -323,6 +321,8 @@ export declare function useConfirmOrder(options?: UseMutationOptions<Awaited<Ret
|
|
|
323
321
|
siteUrl: string;
|
|
324
322
|
domain: string;
|
|
325
323
|
metaPixelId: string | null;
|
|
324
|
+
paystackPublicKey: string | null;
|
|
325
|
+
paystackSecretKey: string | null;
|
|
326
326
|
};
|
|
327
327
|
deliveryZone: {
|
|
328
328
|
deliveryCost: number;
|
|
@@ -438,9 +438,7 @@ export declare function useConfirmOrder(options?: UseMutationOptions<Awaited<Ret
|
|
|
438
438
|
includes?: boolean;
|
|
439
439
|
flatMap?: boolean;
|
|
440
440
|
flat?: boolean;
|
|
441
|
-
at?: boolean;
|
|
442
441
|
};
|
|
443
|
-
at: never;
|
|
444
442
|
};
|
|
445
443
|
} | {
|
|
446
444
|
[x: number]: string | number | boolean | {
|
|
@@ -513,9 +511,7 @@ export declare function useConfirmOrder(options?: UseMutationOptions<Awaited<Ret
|
|
|
513
511
|
includes?: boolean;
|
|
514
512
|
flatMap?: boolean;
|
|
515
513
|
flat?: boolean;
|
|
516
|
-
at?: boolean;
|
|
517
514
|
};
|
|
518
|
-
at: never;
|
|
519
515
|
};
|
|
520
516
|
};
|
|
521
517
|
id: string;
|
|
@@ -30,6 +30,8 @@ export declare function useGetProducts(brandId: string, options?: Omit<UseQueryO
|
|
|
30
30
|
siteUrl: string;
|
|
31
31
|
domain: string;
|
|
32
32
|
metaPixelId: string | null;
|
|
33
|
+
paystackPublicKey: string | null;
|
|
34
|
+
paystackSecretKey: string | null;
|
|
33
35
|
};
|
|
34
36
|
variants: {
|
|
35
37
|
createdAt: string;
|
|
@@ -125,9 +127,7 @@ export declare function useGetProducts(brandId: string, options?: Omit<UseQueryO
|
|
|
125
127
|
includes?: boolean;
|
|
126
128
|
flatMap?: boolean;
|
|
127
129
|
flat?: boolean;
|
|
128
|
-
at?: boolean;
|
|
129
130
|
};
|
|
130
|
-
at: never;
|
|
131
131
|
};
|
|
132
132
|
} | {
|
|
133
133
|
[x: number]: string | number | boolean | {
|
|
@@ -200,9 +200,7 @@ export declare function useGetProducts(brandId: string, options?: Omit<UseQueryO
|
|
|
200
200
|
includes?: boolean;
|
|
201
201
|
flatMap?: boolean;
|
|
202
202
|
flat?: boolean;
|
|
203
|
-
at?: boolean;
|
|
204
203
|
};
|
|
205
|
-
at: never;
|
|
206
204
|
};
|
|
207
205
|
}[], Error>;
|
|
208
206
|
/**
|
|
@@ -229,6 +227,8 @@ export declare function useGetProduct(slug: string, options?: Omit<UseQueryOptio
|
|
|
229
227
|
siteUrl: string;
|
|
230
228
|
domain: string;
|
|
231
229
|
metaPixelId: string | null;
|
|
230
|
+
paystackPublicKey: string | null;
|
|
231
|
+
paystackSecretKey: string | null;
|
|
232
232
|
};
|
|
233
233
|
variants: {
|
|
234
234
|
createdAt: string;
|
|
@@ -324,9 +324,7 @@ export declare function useGetProduct(slug: string, options?: Omit<UseQueryOptio
|
|
|
324
324
|
includes?: boolean;
|
|
325
325
|
flatMap?: boolean;
|
|
326
326
|
flat?: boolean;
|
|
327
|
-
at?: boolean;
|
|
328
327
|
};
|
|
329
|
-
at: never;
|
|
330
328
|
};
|
|
331
329
|
} | {
|
|
332
330
|
[x: number]: string | number | boolean | {
|
|
@@ -399,8 +397,6 @@ export declare function useGetProduct(slug: string, options?: Omit<UseQueryOptio
|
|
|
399
397
|
includes?: boolean;
|
|
400
398
|
flatMap?: boolean;
|
|
401
399
|
flat?: boolean;
|
|
402
|
-
at?: boolean;
|
|
403
400
|
};
|
|
404
|
-
at: never;
|
|
405
401
|
};
|
|
406
402
|
}, Error>;
|