hey-pharmacist-ecommerce 1.1.20 → 1.1.22
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/index.d.mts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +722 -487
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +724 -489
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/components/CartItem.tsx +29 -17
- package/src/lib/Apis/api.ts +0 -1
- package/src/lib/Apis/apis/products-api.ts +187 -0
- package/src/lib/Apis/apis/stores-api.ts +244 -0
- package/src/lib/Apis/models/create-product-dto.ts +6 -0
- package/src/lib/Apis/models/create-single-variant-product-dto.ts +6 -0
- package/src/lib/Apis/models/extended-product-dto.ts +6 -0
- package/src/lib/Apis/models/index.ts +2 -0
- package/src/lib/Apis/models/new-client-email-dto.ts +159 -0
- package/src/lib/Apis/models/product.ts +6 -0
- package/src/lib/Apis/models/schedule-tour-email-dto.ts +45 -0
- package/src/lib/Apis/models/update-product-dto.ts +6 -0
- package/src/lib/Apis/sharedConfig.ts +9 -0
- package/src/lib/Apis/wrapper.ts +11 -16
- package/src/lib/api-adapter/config.ts +12 -6
- package/src/providers/CartProvider.tsx +152 -82
- package/src/screens/CartScreen.tsx +1 -1
- package/src/screens/CheckoutScreen.tsx +21 -6
- package/src/screens/ProductDetailScreen.tsx +140 -132
- package/src/styles/globals.css +15 -5
- package/src/lib/Apis/apis/inventory-api.ts +0 -267
package/dist/index.d.mts
CHANGED
|
@@ -1883,6 +1883,12 @@ interface ExtendedProductDTO {
|
|
|
1883
1883
|
* @memberof ExtendedProductDTO
|
|
1884
1884
|
*/
|
|
1885
1885
|
upc: string;
|
|
1886
|
+
/**
|
|
1887
|
+
*
|
|
1888
|
+
* @type {boolean}
|
|
1889
|
+
* @memberof ExtendedProductDTO
|
|
1890
|
+
*/
|
|
1891
|
+
homeScreenFeatured: boolean;
|
|
1886
1892
|
/**
|
|
1887
1893
|
*
|
|
1888
1894
|
* @type {boolean}
|
|
@@ -2357,6 +2363,12 @@ interface Product {
|
|
|
2357
2363
|
* @memberof Product
|
|
2358
2364
|
*/
|
|
2359
2365
|
upc: string;
|
|
2366
|
+
/**
|
|
2367
|
+
*
|
|
2368
|
+
* @type {boolean}
|
|
2369
|
+
* @memberof Product
|
|
2370
|
+
*/
|
|
2371
|
+
homeScreenFeatured: boolean;
|
|
2360
2372
|
}
|
|
2361
2373
|
|
|
2362
2374
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1883,6 +1883,12 @@ interface ExtendedProductDTO {
|
|
|
1883
1883
|
* @memberof ExtendedProductDTO
|
|
1884
1884
|
*/
|
|
1885
1885
|
upc: string;
|
|
1886
|
+
/**
|
|
1887
|
+
*
|
|
1888
|
+
* @type {boolean}
|
|
1889
|
+
* @memberof ExtendedProductDTO
|
|
1890
|
+
*/
|
|
1891
|
+
homeScreenFeatured: boolean;
|
|
1886
1892
|
/**
|
|
1887
1893
|
*
|
|
1888
1894
|
* @type {boolean}
|
|
@@ -2357,6 +2363,12 @@ interface Product {
|
|
|
2357
2363
|
* @memberof Product
|
|
2358
2364
|
*/
|
|
2359
2365
|
upc: string;
|
|
2366
|
+
/**
|
|
2367
|
+
*
|
|
2368
|
+
* @type {boolean}
|
|
2369
|
+
* @memberof Product
|
|
2370
|
+
*/
|
|
2371
|
+
homeScreenFeatured: boolean;
|
|
2360
2372
|
}
|
|
2361
2373
|
|
|
2362
2374
|
/**
|