@mivis/petmart-api 1.2.187 → 1.2.189

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 +9 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.187",
3
+ "version": "1.2.189",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -968,7 +968,10 @@ declare namespace Components {
968
968
 
969
969
  export interface IPopulatedOrderItemApp
970
970
  extends Omit<IOrderItem, 'product_id'> {
971
- product_id: Pick<IProduct, '_id' | 'name' | 'photo' | 'discount'>;
971
+ product_id: Pick<
972
+ IProduct,
973
+ '_id' | 'name' | 'photo' | 'discount' | 'slug'
974
+ >;
972
975
  }
973
976
 
974
977
  export type IPopulatedOrderUserApp = Pick<
@@ -1612,5 +1615,10 @@ declare namespace Components {
1612
1615
  combinations: ICharacteristic[][];
1613
1616
  characteristics: { name: string; values: string[] }[];
1614
1617
  }
1618
+
1619
+ export interface IGetVariationByCharacteristics {
1620
+ product_id: string;
1621
+ characteristics: ICharacteristic[];
1622
+ }
1615
1623
  }
1616
1624
  }