@mivis/petmart-api 1.2.295 → 1.2.299

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 +28 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.295",
3
+ "version": "1.2.299",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -282,6 +282,7 @@ declare namespace Components {
282
282
  entityAnalytics?: IEntityAnalytics;
283
283
  low_stock_flag: boolean;
284
284
  f_price: number | null;
285
+ eventName: string;
285
286
  createdAt: Date;
286
287
  updatedAt: Date;
287
288
  }
@@ -380,6 +381,7 @@ declare namespace Components {
380
381
  low_stock_flag: boolean;
381
382
  f_price: number | null;
382
383
  ratingScore: number;
384
+ eventName: string;
383
385
  }
384
386
 
385
387
  type OptionalDimension = {
@@ -509,6 +511,7 @@ declare namespace Components {
509
511
  };
510
512
  f_price: number | null;
511
513
  low_stock_flag: boolean;
514
+ eventName: string;
512
515
  };
513
516
  count: number;
514
517
  price: number;
@@ -2552,5 +2555,30 @@ declare namespace Components {
2552
2555
  products: IProductResponse[];
2553
2556
  filters: IFilterWithSelect[];
2554
2557
  }
2558
+
2559
+ export interface IProductsByCategoryIdQueryRequest extends FilterBaseQuery {
2560
+ user_id?: string;
2561
+ skip: string;
2562
+ limit: string;
2563
+ sortBy?: EProductsSortOptions;
2564
+ }
2565
+
2566
+ export interface IProductsByCategoryIdResponse {
2567
+ products: IProductResponse[];
2568
+ }
2569
+
2570
+ export interface IProductsBySellerIdQueryRequest extends FilterBaseQuery {
2571
+ user_id?: string;
2572
+ skip: string;
2573
+ limit: string;
2574
+ sortBy?: EProductsSortOptions;
2575
+ subCategory_id?: string;
2576
+ priceMin?: string;
2577
+ priceMax?: string;
2578
+ }
2579
+
2580
+ export interface IProductsBySellerIdResponse {
2581
+ products: IProductResponse[];
2582
+ }
2555
2583
  }
2556
2584
  }