hey-pharmacist-ecommerce 1.1.24 → 1.1.26
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 +1 -206
- package/dist/index.d.ts +1 -206
- package/dist/index.js +48 -234
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +48 -234
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/CartItem.tsx +0 -10
- package/src/components/ProductCard.tsx +4 -5
- package/src/lib/Apis/api.ts +0 -8
- package/src/lib/Apis/apis/product-variants-api.ts +0 -96
- package/src/lib/Apis/apis/products-api.ts +7 -15
- package/src/lib/Apis/apis/shipping-api.ts +12 -214
- package/src/lib/Apis/models/category-filters.ts +0 -6
- package/src/lib/Apis/models/create-variant-dto.ts +0 -6
- package/src/lib/Apis/models/discounts-insights-dto.ts +0 -6
- package/src/lib/Apis/models/index.ts +0 -29
- package/src/lib/Apis/models/orders-insights-dto.ts +0 -6
- package/src/lib/Apis/models/payment.ts +0 -7
- package/src/lib/Apis/models/product-variant.ts +0 -6
- package/src/lib/Apis/models/products-insights-dto.ts +0 -6
- package/src/lib/Apis/models/rate-dto.ts +0 -6
- package/src/lib/Apis/models/update-product-variant-dto.ts +0 -6
- package/src/providers/WishlistProvider.tsx +2 -3
- package/src/screens/CheckoutScreen.tsx +26 -74
- package/src/lib/Apis/apis/chats-api.ts +0 -1101
- package/src/lib/Apis/apis/drafts-api.ts +0 -448
- package/src/lib/Apis/apis/open-aiapi.ts +0 -513
- package/src/lib/Apis/apis/payment-methods-api.ts +0 -411
- package/src/lib/Apis/apis/product-attributes-api.ts +0 -538
- package/src/lib/Apis/apis/product-favorite-list-api.ts +0 -321
- package/src/lib/Apis/apis/roles-api.ts +0 -614
- package/src/lib/Apis/apis/statistics-api.ts +0 -234
- package/src/lib/Apis/models/add-message-dto.ts +0 -56
- package/src/lib/Apis/models/chat.ts +0 -33
- package/src/lib/Apis/models/create-chat-dto.ts +0 -39
- package/src/lib/Apis/models/create-draft-dto.ts +0 -67
- package/src/lib/Apis/models/create-product-attribute-dto.ts +0 -33
- package/src/lib/Apis/models/create-role-dto.ts +0 -57
- package/src/lib/Apis/models/create-zone-dto.ts +0 -82
- package/src/lib/Apis/models/default-payment-method-request-dto.ts +0 -27
- package/src/lib/Apis/models/draft.ts +0 -79
- package/src/lib/Apis/models/google-analytics-request-dto.ts +0 -55
- package/src/lib/Apis/models/google-analytics-response-dto.ts +0 -39
- package/src/lib/Apis/models/my-favorite-list-dto.ts +0 -52
- package/src/lib/Apis/models/open-api.ts +0 -33
- package/src/lib/Apis/models/payment-method-data.ts +0 -34
- package/src/lib/Apis/models/payment-method.ts +0 -51
- package/src/lib/Apis/models/populated-chat-dto.ts +0 -95
- package/src/lib/Apis/models/product-attribute.ts +0 -57
- package/src/lib/Apis/models/product.ts +0 -142
- package/src/lib/Apis/models/role.ts +0 -69
- package/src/lib/Apis/models/single-message-populated.ts +0 -59
- package/src/lib/Apis/models/single-suggest-attribute.ts +0 -33
- package/src/lib/Apis/models/statistic-dto.ts +0 -171
- package/src/lib/Apis/models/suggest-attributes.ts +0 -28
- package/src/lib/Apis/models/update-product-attribute-dto.ts +0 -33
- package/src/lib/Apis/models/update-role-dto.ts +0 -57
- package/src/lib/Apis/models/update-zone-dto.ts +0 -82
- package/src/lib/Apis/models/user.ts +0 -232
- package/src/lib/Apis/models/zone-single-size.ts +0 -51
- package/src/lib/Apis/models/zone.ts +0 -106
package/dist/index.d.mts
CHANGED
|
@@ -609,14 +609,6 @@ interface ProductVariant {
|
|
|
609
609
|
* @memberof ProductVariant
|
|
610
610
|
*/
|
|
611
611
|
sku: string;
|
|
612
|
-
/**
|
|
613
|
-
*
|
|
614
|
-
* @type {{ [key: string]: string; }}
|
|
615
|
-
* @memberof ProductVariant
|
|
616
|
-
*/
|
|
617
|
-
attribute: {
|
|
618
|
-
[key: string]: string;
|
|
619
|
-
};
|
|
620
612
|
/**
|
|
621
613
|
*
|
|
622
614
|
* @type {boolean}
|
|
@@ -2230,147 +2222,6 @@ interface LoginDto {
|
|
|
2230
2222
|
password: string;
|
|
2231
2223
|
}
|
|
2232
2224
|
|
|
2233
|
-
/**
|
|
2234
|
-
* Hey Pharamcist API
|
|
2235
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
2236
|
-
*
|
|
2237
|
-
* OpenAPI spec version: 1.0
|
|
2238
|
-
*
|
|
2239
|
-
*
|
|
2240
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
2241
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
2242
|
-
* Do not edit the class manually.
|
|
2243
|
-
*/
|
|
2244
|
-
|
|
2245
|
-
/**
|
|
2246
|
-
*
|
|
2247
|
-
* @export
|
|
2248
|
-
* @interface Product
|
|
2249
|
-
*/
|
|
2250
|
-
interface Product {
|
|
2251
|
-
_id?: string;
|
|
2252
|
-
/**
|
|
2253
|
-
*
|
|
2254
|
-
* @type {Date}
|
|
2255
|
-
* @memberof Product
|
|
2256
|
-
*/
|
|
2257
|
-
createdAt: Date;
|
|
2258
|
-
/**
|
|
2259
|
-
*
|
|
2260
|
-
* @type {Date}
|
|
2261
|
-
* @memberof Product
|
|
2262
|
-
*/
|
|
2263
|
-
updatedAt: Date;
|
|
2264
|
-
/**
|
|
2265
|
-
*
|
|
2266
|
-
* @type {string}
|
|
2267
|
-
* @memberof Product
|
|
2268
|
-
*/
|
|
2269
|
-
id: string;
|
|
2270
|
-
/**
|
|
2271
|
-
*
|
|
2272
|
-
* @type {Array<string>}
|
|
2273
|
-
* @memberof Product
|
|
2274
|
-
*/
|
|
2275
|
-
parentSubCategories: Array<string>;
|
|
2276
|
-
/**
|
|
2277
|
-
*
|
|
2278
|
-
* @type {Array<string>}
|
|
2279
|
-
* @memberof Product
|
|
2280
|
-
*/
|
|
2281
|
-
parentCategories: Array<string>;
|
|
2282
|
-
/**
|
|
2283
|
-
*
|
|
2284
|
-
* @type {Array<string>}
|
|
2285
|
-
* @memberof Product
|
|
2286
|
-
*/
|
|
2287
|
-
productVariants: Array<string>;
|
|
2288
|
-
/**
|
|
2289
|
-
*
|
|
2290
|
-
* @type {string}
|
|
2291
|
-
* @memberof Product
|
|
2292
|
-
*/
|
|
2293
|
-
storeId: string;
|
|
2294
|
-
/**
|
|
2295
|
-
*
|
|
2296
|
-
* @type {string}
|
|
2297
|
-
* @memberof Product
|
|
2298
|
-
*/
|
|
2299
|
-
name: string;
|
|
2300
|
-
/**
|
|
2301
|
-
*
|
|
2302
|
-
* @type {string}
|
|
2303
|
-
* @memberof Product
|
|
2304
|
-
*/
|
|
2305
|
-
description: string;
|
|
2306
|
-
/**
|
|
2307
|
-
*
|
|
2308
|
-
* @type {Array<SingleProductMedia>}
|
|
2309
|
-
* @memberof Product
|
|
2310
|
-
*/
|
|
2311
|
-
productMedia: Array<SingleProductMedia>;
|
|
2312
|
-
/**
|
|
2313
|
-
*
|
|
2314
|
-
* @type {Array<string>}
|
|
2315
|
-
* @memberof Product
|
|
2316
|
-
*/
|
|
2317
|
-
tags: Array<string>;
|
|
2318
|
-
/**
|
|
2319
|
-
*
|
|
2320
|
-
* @type {boolean}
|
|
2321
|
-
* @memberof Product
|
|
2322
|
-
*/
|
|
2323
|
-
isActive: boolean;
|
|
2324
|
-
/**
|
|
2325
|
-
*
|
|
2326
|
-
* @type {string}
|
|
2327
|
-
* @memberof Product
|
|
2328
|
-
*/
|
|
2329
|
-
brand: string;
|
|
2330
|
-
/**
|
|
2331
|
-
*
|
|
2332
|
-
* @type {Array<string>}
|
|
2333
|
-
* @memberof Product
|
|
2334
|
-
*/
|
|
2335
|
-
embedding: Array<string>;
|
|
2336
|
-
/**
|
|
2337
|
-
*
|
|
2338
|
-
* @type {string}
|
|
2339
|
-
* @memberof Product
|
|
2340
|
-
*/
|
|
2341
|
-
sku: string;
|
|
2342
|
-
/**
|
|
2343
|
-
*
|
|
2344
|
-
* @type {Array<string>}
|
|
2345
|
-
* @memberof Product
|
|
2346
|
-
*/
|
|
2347
|
-
frequentlyBoughtProducts: Array<string>;
|
|
2348
|
-
/**
|
|
2349
|
-
*
|
|
2350
|
-
* @type {boolean}
|
|
2351
|
-
* @memberof Product
|
|
2352
|
-
*/
|
|
2353
|
-
showStock: boolean;
|
|
2354
|
-
/**
|
|
2355
|
-
*
|
|
2356
|
-
* @type {Array<string>}
|
|
2357
|
-
* @memberof Product
|
|
2358
|
-
*/
|
|
2359
|
-
reviews: Array<string>;
|
|
2360
|
-
/**
|
|
2361
|
-
*
|
|
2362
|
-
* @type {string}
|
|
2363
|
-
* @memberof Product
|
|
2364
|
-
*/
|
|
2365
|
-
upc: string;
|
|
2366
|
-
/**
|
|
2367
|
-
*
|
|
2368
|
-
* @type {boolean}
|
|
2369
|
-
* @memberof Product
|
|
2370
|
-
*/
|
|
2371
|
-
homeScreenFeatured: boolean;
|
|
2372
|
-
}
|
|
2373
|
-
|
|
2374
2225
|
/**
|
|
2375
2226
|
* Hey Pharamcist API
|
|
2376
2227
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
@@ -2777,56 +2628,6 @@ declare enum UserWithNoIdCustomerTypeEnum {
|
|
|
2777
2628
|
Regular = "Regular"
|
|
2778
2629
|
}
|
|
2779
2630
|
|
|
2780
|
-
/**
|
|
2781
|
-
* Hey Pharamcist API
|
|
2782
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
2783
|
-
*
|
|
2784
|
-
* OpenAPI spec version: 1.0
|
|
2785
|
-
*
|
|
2786
|
-
*
|
|
2787
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
2788
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
2789
|
-
* Do not edit the class manually.
|
|
2790
|
-
*/
|
|
2791
|
-
/**
|
|
2792
|
-
*
|
|
2793
|
-
* @export
|
|
2794
|
-
* @interface PaymentMethod
|
|
2795
|
-
*/
|
|
2796
|
-
interface PaymentMethod {
|
|
2797
|
-
_id?: string;
|
|
2798
|
-
/**
|
|
2799
|
-
*
|
|
2800
|
-
* @type {string}
|
|
2801
|
-
* @memberof PaymentMethod
|
|
2802
|
-
*/
|
|
2803
|
-
id: string;
|
|
2804
|
-
/**
|
|
2805
|
-
*
|
|
2806
|
-
* @type {string}
|
|
2807
|
-
* @memberof PaymentMethod
|
|
2808
|
-
*/
|
|
2809
|
-
brand: string;
|
|
2810
|
-
/**
|
|
2811
|
-
*
|
|
2812
|
-
* @type {string}
|
|
2813
|
-
* @memberof PaymentMethod
|
|
2814
|
-
*/
|
|
2815
|
-
last4: string;
|
|
2816
|
-
/**
|
|
2817
|
-
*
|
|
2818
|
-
* @type {number}
|
|
2819
|
-
* @memberof PaymentMethod
|
|
2820
|
-
*/
|
|
2821
|
-
expMonth: number;
|
|
2822
|
-
/**
|
|
2823
|
-
*
|
|
2824
|
-
* @type {number}
|
|
2825
|
-
* @memberof PaymentMethod
|
|
2826
|
-
*/
|
|
2827
|
-
expYear: number;
|
|
2828
|
-
}
|
|
2829
|
-
|
|
2830
2631
|
/**
|
|
2831
2632
|
* Hey Pharamcist API
|
|
2832
2633
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
@@ -2941,12 +2742,6 @@ interface Payment {
|
|
|
2941
2742
|
* @memberof Payment
|
|
2942
2743
|
*/
|
|
2943
2744
|
orderId: string;
|
|
2944
|
-
/**
|
|
2945
|
-
*
|
|
2946
|
-
* @type {PaymentMethod}
|
|
2947
|
-
* @memberof Payment
|
|
2948
|
-
*/
|
|
2949
|
-
paymentCardDetails: PaymentMethod;
|
|
2950
2745
|
/**
|
|
2951
2746
|
*
|
|
2952
2747
|
* @type {UserWithNoId}
|
|
@@ -3871,7 +3666,7 @@ declare class Configuration {
|
|
|
3871
3666
|
}
|
|
3872
3667
|
|
|
3873
3668
|
interface WishlistContextType extends Wishlist {
|
|
3874
|
-
addToWishlist: (product:
|
|
3669
|
+
addToWishlist: (product: any) => Promise<void>;
|
|
3875
3670
|
removeFromWishlist: (productId: string) => Promise<void>;
|
|
3876
3671
|
isInWishlist: (productId: string) => boolean;
|
|
3877
3672
|
getWishlistCount: () => number;
|
package/dist/index.d.ts
CHANGED
|
@@ -609,14 +609,6 @@ interface ProductVariant {
|
|
|
609
609
|
* @memberof ProductVariant
|
|
610
610
|
*/
|
|
611
611
|
sku: string;
|
|
612
|
-
/**
|
|
613
|
-
*
|
|
614
|
-
* @type {{ [key: string]: string; }}
|
|
615
|
-
* @memberof ProductVariant
|
|
616
|
-
*/
|
|
617
|
-
attribute: {
|
|
618
|
-
[key: string]: string;
|
|
619
|
-
};
|
|
620
612
|
/**
|
|
621
613
|
*
|
|
622
614
|
* @type {boolean}
|
|
@@ -2230,147 +2222,6 @@ interface LoginDto {
|
|
|
2230
2222
|
password: string;
|
|
2231
2223
|
}
|
|
2232
2224
|
|
|
2233
|
-
/**
|
|
2234
|
-
* Hey Pharamcist API
|
|
2235
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
2236
|
-
*
|
|
2237
|
-
* OpenAPI spec version: 1.0
|
|
2238
|
-
*
|
|
2239
|
-
*
|
|
2240
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
2241
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
2242
|
-
* Do not edit the class manually.
|
|
2243
|
-
*/
|
|
2244
|
-
|
|
2245
|
-
/**
|
|
2246
|
-
*
|
|
2247
|
-
* @export
|
|
2248
|
-
* @interface Product
|
|
2249
|
-
*/
|
|
2250
|
-
interface Product {
|
|
2251
|
-
_id?: string;
|
|
2252
|
-
/**
|
|
2253
|
-
*
|
|
2254
|
-
* @type {Date}
|
|
2255
|
-
* @memberof Product
|
|
2256
|
-
*/
|
|
2257
|
-
createdAt: Date;
|
|
2258
|
-
/**
|
|
2259
|
-
*
|
|
2260
|
-
* @type {Date}
|
|
2261
|
-
* @memberof Product
|
|
2262
|
-
*/
|
|
2263
|
-
updatedAt: Date;
|
|
2264
|
-
/**
|
|
2265
|
-
*
|
|
2266
|
-
* @type {string}
|
|
2267
|
-
* @memberof Product
|
|
2268
|
-
*/
|
|
2269
|
-
id: string;
|
|
2270
|
-
/**
|
|
2271
|
-
*
|
|
2272
|
-
* @type {Array<string>}
|
|
2273
|
-
* @memberof Product
|
|
2274
|
-
*/
|
|
2275
|
-
parentSubCategories: Array<string>;
|
|
2276
|
-
/**
|
|
2277
|
-
*
|
|
2278
|
-
* @type {Array<string>}
|
|
2279
|
-
* @memberof Product
|
|
2280
|
-
*/
|
|
2281
|
-
parentCategories: Array<string>;
|
|
2282
|
-
/**
|
|
2283
|
-
*
|
|
2284
|
-
* @type {Array<string>}
|
|
2285
|
-
* @memberof Product
|
|
2286
|
-
*/
|
|
2287
|
-
productVariants: Array<string>;
|
|
2288
|
-
/**
|
|
2289
|
-
*
|
|
2290
|
-
* @type {string}
|
|
2291
|
-
* @memberof Product
|
|
2292
|
-
*/
|
|
2293
|
-
storeId: string;
|
|
2294
|
-
/**
|
|
2295
|
-
*
|
|
2296
|
-
* @type {string}
|
|
2297
|
-
* @memberof Product
|
|
2298
|
-
*/
|
|
2299
|
-
name: string;
|
|
2300
|
-
/**
|
|
2301
|
-
*
|
|
2302
|
-
* @type {string}
|
|
2303
|
-
* @memberof Product
|
|
2304
|
-
*/
|
|
2305
|
-
description: string;
|
|
2306
|
-
/**
|
|
2307
|
-
*
|
|
2308
|
-
* @type {Array<SingleProductMedia>}
|
|
2309
|
-
* @memberof Product
|
|
2310
|
-
*/
|
|
2311
|
-
productMedia: Array<SingleProductMedia>;
|
|
2312
|
-
/**
|
|
2313
|
-
*
|
|
2314
|
-
* @type {Array<string>}
|
|
2315
|
-
* @memberof Product
|
|
2316
|
-
*/
|
|
2317
|
-
tags: Array<string>;
|
|
2318
|
-
/**
|
|
2319
|
-
*
|
|
2320
|
-
* @type {boolean}
|
|
2321
|
-
* @memberof Product
|
|
2322
|
-
*/
|
|
2323
|
-
isActive: boolean;
|
|
2324
|
-
/**
|
|
2325
|
-
*
|
|
2326
|
-
* @type {string}
|
|
2327
|
-
* @memberof Product
|
|
2328
|
-
*/
|
|
2329
|
-
brand: string;
|
|
2330
|
-
/**
|
|
2331
|
-
*
|
|
2332
|
-
* @type {Array<string>}
|
|
2333
|
-
* @memberof Product
|
|
2334
|
-
*/
|
|
2335
|
-
embedding: Array<string>;
|
|
2336
|
-
/**
|
|
2337
|
-
*
|
|
2338
|
-
* @type {string}
|
|
2339
|
-
* @memberof Product
|
|
2340
|
-
*/
|
|
2341
|
-
sku: string;
|
|
2342
|
-
/**
|
|
2343
|
-
*
|
|
2344
|
-
* @type {Array<string>}
|
|
2345
|
-
* @memberof Product
|
|
2346
|
-
*/
|
|
2347
|
-
frequentlyBoughtProducts: Array<string>;
|
|
2348
|
-
/**
|
|
2349
|
-
*
|
|
2350
|
-
* @type {boolean}
|
|
2351
|
-
* @memberof Product
|
|
2352
|
-
*/
|
|
2353
|
-
showStock: boolean;
|
|
2354
|
-
/**
|
|
2355
|
-
*
|
|
2356
|
-
* @type {Array<string>}
|
|
2357
|
-
* @memberof Product
|
|
2358
|
-
*/
|
|
2359
|
-
reviews: Array<string>;
|
|
2360
|
-
/**
|
|
2361
|
-
*
|
|
2362
|
-
* @type {string}
|
|
2363
|
-
* @memberof Product
|
|
2364
|
-
*/
|
|
2365
|
-
upc: string;
|
|
2366
|
-
/**
|
|
2367
|
-
*
|
|
2368
|
-
* @type {boolean}
|
|
2369
|
-
* @memberof Product
|
|
2370
|
-
*/
|
|
2371
|
-
homeScreenFeatured: boolean;
|
|
2372
|
-
}
|
|
2373
|
-
|
|
2374
2225
|
/**
|
|
2375
2226
|
* Hey Pharamcist API
|
|
2376
2227
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
@@ -2777,56 +2628,6 @@ declare enum UserWithNoIdCustomerTypeEnum {
|
|
|
2777
2628
|
Regular = "Regular"
|
|
2778
2629
|
}
|
|
2779
2630
|
|
|
2780
|
-
/**
|
|
2781
|
-
* Hey Pharamcist API
|
|
2782
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
2783
|
-
*
|
|
2784
|
-
* OpenAPI spec version: 1.0
|
|
2785
|
-
*
|
|
2786
|
-
*
|
|
2787
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
2788
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
2789
|
-
* Do not edit the class manually.
|
|
2790
|
-
*/
|
|
2791
|
-
/**
|
|
2792
|
-
*
|
|
2793
|
-
* @export
|
|
2794
|
-
* @interface PaymentMethod
|
|
2795
|
-
*/
|
|
2796
|
-
interface PaymentMethod {
|
|
2797
|
-
_id?: string;
|
|
2798
|
-
/**
|
|
2799
|
-
*
|
|
2800
|
-
* @type {string}
|
|
2801
|
-
* @memberof PaymentMethod
|
|
2802
|
-
*/
|
|
2803
|
-
id: string;
|
|
2804
|
-
/**
|
|
2805
|
-
*
|
|
2806
|
-
* @type {string}
|
|
2807
|
-
* @memberof PaymentMethod
|
|
2808
|
-
*/
|
|
2809
|
-
brand: string;
|
|
2810
|
-
/**
|
|
2811
|
-
*
|
|
2812
|
-
* @type {string}
|
|
2813
|
-
* @memberof PaymentMethod
|
|
2814
|
-
*/
|
|
2815
|
-
last4: string;
|
|
2816
|
-
/**
|
|
2817
|
-
*
|
|
2818
|
-
* @type {number}
|
|
2819
|
-
* @memberof PaymentMethod
|
|
2820
|
-
*/
|
|
2821
|
-
expMonth: number;
|
|
2822
|
-
/**
|
|
2823
|
-
*
|
|
2824
|
-
* @type {number}
|
|
2825
|
-
* @memberof PaymentMethod
|
|
2826
|
-
*/
|
|
2827
|
-
expYear: number;
|
|
2828
|
-
}
|
|
2829
|
-
|
|
2830
2631
|
/**
|
|
2831
2632
|
* Hey Pharamcist API
|
|
2832
2633
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
@@ -2941,12 +2742,6 @@ interface Payment {
|
|
|
2941
2742
|
* @memberof Payment
|
|
2942
2743
|
*/
|
|
2943
2744
|
orderId: string;
|
|
2944
|
-
/**
|
|
2945
|
-
*
|
|
2946
|
-
* @type {PaymentMethod}
|
|
2947
|
-
* @memberof Payment
|
|
2948
|
-
*/
|
|
2949
|
-
paymentCardDetails: PaymentMethod;
|
|
2950
2745
|
/**
|
|
2951
2746
|
*
|
|
2952
2747
|
* @type {UserWithNoId}
|
|
@@ -3871,7 +3666,7 @@ declare class Configuration {
|
|
|
3871
3666
|
}
|
|
3872
3667
|
|
|
3873
3668
|
interface WishlistContextType extends Wishlist {
|
|
3874
|
-
addToWishlist: (product:
|
|
3669
|
+
addToWishlist: (product: any) => Promise<void>;
|
|
3875
3670
|
removeFromWishlist: (productId: string) => Promise<void>;
|
|
3876
3671
|
isInWishlist: (productId: string) => boolean;
|
|
3877
3672
|
getWishlistCount: () => number;
|