@mivis/petmart-api 1.2.308 → 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 +16 -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,6 +525,10 @@ 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
|
}
|
|
@@ -761,6 +767,7 @@ declare namespace Components {
|
|
|
761
767
|
company_info?: ISellerCompanyInfo;
|
|
762
768
|
shop_details: IShopDetails;
|
|
763
769
|
delivery_ways: IDeliveryWays;
|
|
770
|
+
is_disabled: boolean;
|
|
764
771
|
balance_info: IBalanceInfo;
|
|
765
772
|
moy_sklad?: IMoySklad;
|
|
766
773
|
commission: number;
|
|
@@ -850,6 +857,7 @@ declare namespace Components {
|
|
|
850
857
|
passport_details?: string;
|
|
851
858
|
passport_photo?: File | File[] | string;
|
|
852
859
|
card_number?: string;
|
|
860
|
+
is_disabled?: boolean;
|
|
853
861
|
}
|
|
854
862
|
|
|
855
863
|
export interface IActionsSellersRequest {
|
|
@@ -903,7 +911,12 @@ declare namespace Components {
|
|
|
903
911
|
|
|
904
912
|
export type IPopulatedOrderSeller = Pick<
|
|
905
913
|
ISeller,
|
|
906
|
-
|
|
914
|
+
| '_id'
|
|
915
|
+
| 'shop_details'
|
|
916
|
+
| 'user_id'
|
|
917
|
+
| 'nearest_point_of_cdek'
|
|
918
|
+
| 'slug'
|
|
919
|
+
| 'is_disabled'
|
|
907
920
|
>;
|
|
908
921
|
|
|
909
922
|
export type IPopulatedOrderUser = Pick<
|
|
@@ -2327,6 +2340,7 @@ declare namespace Components {
|
|
|
2327
2340
|
_id: string;
|
|
2328
2341
|
slug: string;
|
|
2329
2342
|
shop_details: IShopDetails;
|
|
2343
|
+
is_disabled: boolean;
|
|
2330
2344
|
updatedAt: Date;
|
|
2331
2345
|
}
|
|
2332
2346
|
|
|
@@ -2449,6 +2463,7 @@ declare namespace Components {
|
|
|
2449
2463
|
target_sellers: {
|
|
2450
2464
|
_id: string;
|
|
2451
2465
|
shop_details: IShopDetails;
|
|
2466
|
+
is_disabled: boolean;
|
|
2452
2467
|
}[];
|
|
2453
2468
|
target_categories: string[];
|
|
2454
2469
|
target_subcategories: string[];
|