@mivis/petmart-api 1.2.307 → 1.2.309
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 +21 -1
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -364,6 +364,7 @@ declare namespace Components {
|
|
|
364
364
|
shop_details: IShopDetails;
|
|
365
365
|
delivery_ways: IDeliveryWays;
|
|
366
366
|
slug: string;
|
|
367
|
+
is_disabled: boolean;
|
|
367
368
|
};
|
|
368
369
|
vendor_code: string;
|
|
369
370
|
price: number;
|
|
@@ -515,6 +516,7 @@ declare namespace Components {
|
|
|
515
516
|
delivery_ways: IDeliveryWays;
|
|
516
517
|
shops_info: IShop[];
|
|
517
518
|
slug: string;
|
|
519
|
+
is_disabled: boolean;
|
|
518
520
|
};
|
|
519
521
|
f_price: number | null;
|
|
520
522
|
low_stock_flag: boolean;
|
|
@@ -523,10 +525,19 @@ declare namespace Components {
|
|
|
523
525
|
count: number;
|
|
524
526
|
price: number;
|
|
525
527
|
discounted_price: number | null;
|
|
528
|
+
applied_promo?: {
|
|
529
|
+
code: string;
|
|
530
|
+
discount: number;
|
|
531
|
+
};
|
|
526
532
|
createdAt: Date;
|
|
527
533
|
updatedAt: Date;
|
|
528
534
|
}
|
|
529
535
|
|
|
536
|
+
export interface ICartResponse {
|
|
537
|
+
items: ICart[];
|
|
538
|
+
promoBreakdown: Record<string, number>;
|
|
539
|
+
}
|
|
540
|
+
|
|
530
541
|
export interface ICreateCartResponse {
|
|
531
542
|
message?: string;
|
|
532
543
|
cartItem: ICart;
|
|
@@ -756,6 +767,7 @@ declare namespace Components {
|
|
|
756
767
|
company_info?: ISellerCompanyInfo;
|
|
757
768
|
shop_details: IShopDetails;
|
|
758
769
|
delivery_ways: IDeliveryWays;
|
|
770
|
+
is_disabled: boolean;
|
|
759
771
|
balance_info: IBalanceInfo;
|
|
760
772
|
moy_sklad?: IMoySklad;
|
|
761
773
|
commission: number;
|
|
@@ -845,6 +857,7 @@ declare namespace Components {
|
|
|
845
857
|
passport_details?: string;
|
|
846
858
|
passport_photo?: File | File[] | string;
|
|
847
859
|
card_number?: string;
|
|
860
|
+
is_disabled?: boolean;
|
|
848
861
|
}
|
|
849
862
|
|
|
850
863
|
export interface IActionsSellersRequest {
|
|
@@ -898,7 +911,12 @@ declare namespace Components {
|
|
|
898
911
|
|
|
899
912
|
export type IPopulatedOrderSeller = Pick<
|
|
900
913
|
ISeller,
|
|
901
|
-
|
|
914
|
+
| '_id'
|
|
915
|
+
| 'shop_details'
|
|
916
|
+
| 'user_id'
|
|
917
|
+
| 'nearest_point_of_cdek'
|
|
918
|
+
| 'slug'
|
|
919
|
+
| 'is_disabled'
|
|
902
920
|
>;
|
|
903
921
|
|
|
904
922
|
export type IPopulatedOrderUser = Pick<
|
|
@@ -2322,6 +2340,7 @@ declare namespace Components {
|
|
|
2322
2340
|
_id: string;
|
|
2323
2341
|
slug: string;
|
|
2324
2342
|
shop_details: IShopDetails;
|
|
2343
|
+
is_disabled: boolean;
|
|
2325
2344
|
updatedAt: Date;
|
|
2326
2345
|
}
|
|
2327
2346
|
|
|
@@ -2444,6 +2463,7 @@ declare namespace Components {
|
|
|
2444
2463
|
target_sellers: {
|
|
2445
2464
|
_id: string;
|
|
2446
2465
|
shop_details: IShopDetails;
|
|
2466
|
+
is_disabled: boolean;
|
|
2447
2467
|
}[];
|
|
2448
2468
|
target_categories: string[];
|
|
2449
2469
|
target_subcategories: string[];
|