@mivis/petmart-api 1.2.231 → 1.2.233

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 +11 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.231",
3
+ "version": "1.2.233",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -1010,7 +1010,7 @@ declare namespace Components {
1010
1010
  extends Omit<IOrderItem, 'product_id'> {
1011
1011
  product_id: Pick<
1012
1012
  IProduct,
1013
- '_id' | 'name' | 'photo' | 'discount' | 'slug'
1013
+ '_id' | 'name' | 'photo' | 'discount' | 'slug' | 'status'
1014
1014
  >;
1015
1015
  }
1016
1016
 
@@ -1569,6 +1569,7 @@ declare namespace Components {
1569
1569
  export interface IUserRandomProductQueryRequest extends OptionalUserQuery {
1570
1570
  size: string;
1571
1571
  category_id?: string;
1572
+ subCategory_id?: string;
1572
1573
  }
1573
1574
 
1574
1575
  export enum ECheckForFillingSellerDataError {
@@ -1826,9 +1827,9 @@ declare namespace Components {
1826
1827
  }
1827
1828
 
1828
1829
  export enum EViewCountEntityType {
1829
- HORSE = 'horse',
1830
- PRODUCT = 'product',
1831
- SERVICE = 'service',
1830
+ HORSE = 'HORSE',
1831
+ PRODUCT = 'PRODUCT',
1832
+ SERVICE = 'SERVICE',
1832
1833
  }
1833
1834
 
1834
1835
  export interface IViewCount {
@@ -2211,5 +2212,11 @@ declare namespace Components {
2211
2212
  token: string;
2212
2213
  userId?: string;
2213
2214
  }
2215
+
2216
+ export enum EEntityType {
2217
+ PRODUCT = 'PRODUCT',
2218
+ HORSE = 'HORSE',
2219
+ SERVICE = 'SERVICE',
2220
+ }
2214
2221
  }
2215
2222
  }