@mivis/petmart-api 1.2.40 → 1.2.42
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/package.json +1 -1
- package/type.d.ts +17 -1
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -310,6 +310,10 @@ declare namespace Components {
|
|
|
310
310
|
price: number;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
+
export interface IDeleteCartRequest {
|
|
314
|
+
toDelete?: string;
|
|
315
|
+
}
|
|
316
|
+
|
|
313
317
|
export interface ICart {
|
|
314
318
|
_id: string;
|
|
315
319
|
user_id: string;
|
|
@@ -317,6 +321,11 @@ declare namespace Components {
|
|
|
317
321
|
_id: string;
|
|
318
322
|
name: string;
|
|
319
323
|
photo: string[];
|
|
324
|
+
seller_id: {
|
|
325
|
+
_id: string;
|
|
326
|
+
shop_details: IShopDetails;
|
|
327
|
+
delivery_ways: IDeliveryWays;
|
|
328
|
+
};
|
|
320
329
|
};
|
|
321
330
|
count: number;
|
|
322
331
|
price: number;
|
|
@@ -449,6 +458,13 @@ declare namespace Components {
|
|
|
449
458
|
updatedAt: Date;
|
|
450
459
|
}
|
|
451
460
|
|
|
461
|
+
export interface ISellerShowcaseResponse {
|
|
462
|
+
purchasesCount: number;
|
|
463
|
+
averageRating: number;
|
|
464
|
+
reviewsCount: number;
|
|
465
|
+
seller: ISeller;
|
|
466
|
+
}
|
|
467
|
+
|
|
452
468
|
export interface ISellerQueryRequest {
|
|
453
469
|
name?: string;
|
|
454
470
|
}
|
|
@@ -574,7 +590,7 @@ declare namespace Components {
|
|
|
574
590
|
_id: string;
|
|
575
591
|
user_id: {
|
|
576
592
|
_id: string;
|
|
577
|
-
name
|
|
593
|
+
name?: string;
|
|
578
594
|
};
|
|
579
595
|
product_id: string;
|
|
580
596
|
rating: number;
|