@mivis/petmart-api 1.2.308 → 1.2.310

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +23 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.308",
3
+ "version": "1.2.310",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
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
- '_id' | 'shop_details' | 'user_id' | 'nearest_point_of_cdek' | 'slug'
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<
@@ -1482,6 +1495,7 @@ declare namespace Components {
1482
1495
  PRODUCT = 'PRODUCT',
1483
1496
  COLLECTION = 'COLLECTION',
1484
1497
  FAVORITES = 'FAVORITES',
1498
+ SUBCATEGORY = 'SUBCATEGORY',
1485
1499
  }
1486
1500
 
1487
1501
  export interface IAdminChangeSellerStatusRequest {
@@ -1684,10 +1698,16 @@ declare namespace Components {
1684
1698
  seller_id: string;
1685
1699
  navigation_path: string | null; // example: "ProductScreen"
1686
1700
  navigation_params: Record<string, any> | null; // example: {product_id: "ObjectId"}
1701
+ type: EBannerType;
1687
1702
  createdAt: Date;
1688
1703
  updatedAt: Date;
1689
1704
  }
1690
1705
 
1706
+ export enum EBannerType {
1707
+ WEB = 'WEB',
1708
+ APP = 'APP',
1709
+ }
1710
+
1691
1711
  export interface IMoySkladLinkerRequest {
1692
1712
  updateData: {
1693
1713
  linker_id: string;
@@ -2327,6 +2347,7 @@ declare namespace Components {
2327
2347
  _id: string;
2328
2348
  slug: string;
2329
2349
  shop_details: IShopDetails;
2350
+ is_disabled: boolean;
2330
2351
  updatedAt: Date;
2331
2352
  }
2332
2353
 
@@ -2449,6 +2470,7 @@ declare namespace Components {
2449
2470
  target_sellers: {
2450
2471
  _id: string;
2451
2472
  shop_details: IShopDetails;
2473
+ is_disabled: boolean;
2452
2474
  }[];
2453
2475
  target_categories: string[];
2454
2476
  target_subcategories: string[];