@mivis/petmart-api 1.2.296 → 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 +25 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.296",
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
@@ -2555,5 +2555,30 @@ declare namespace Components {
2555
2555
  products: IProductResponse[];
2556
2556
  filters: IFilterWithSelect[];
2557
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
+ }
2558
2583
  }
2559
2584
  }