@mivis/petmart-api 1.2.190 → 1.2.192
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.
- package/package.json +1 -1
- package/type.d.ts +34 -1
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -1655,7 +1655,7 @@ declare namespace Components {
|
|
|
1655
1655
|
breed: string;
|
|
1656
1656
|
suit: string;
|
|
1657
1657
|
category: string;
|
|
1658
|
-
|
|
1658
|
+
birthDate: Date;
|
|
1659
1659
|
withersHeight: number;
|
|
1660
1660
|
price: string;
|
|
1661
1661
|
location: IHorseLocation;
|
|
@@ -1733,5 +1733,38 @@ declare namespace Components {
|
|
|
1733
1733
|
createdAt: Date;
|
|
1734
1734
|
updatedAt: Date;
|
|
1735
1735
|
}
|
|
1736
|
+
|
|
1737
|
+
export interface IHorseFormInformation {
|
|
1738
|
+
breeds: IBreed[];
|
|
1739
|
+
suits: ISuit[];
|
|
1740
|
+
categories: IHorseCategory[];
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
export enum EViewCountEntityType {
|
|
1744
|
+
HORSE = 'horse',
|
|
1745
|
+
PRODUCT = 'product',
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
export interface IViewCount {
|
|
1749
|
+
entity_type: EViewCountEntityType;
|
|
1750
|
+
entity_id: string;
|
|
1751
|
+
count: number;
|
|
1752
|
+
createdAt: Date;
|
|
1753
|
+
updatedAt: Date;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
export interface IPopulatedHorseWViewCount extends IPopulatedHorse {
|
|
1757
|
+
viewCount: IViewCount;
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
export interface IGetCombinedHorses {
|
|
1761
|
+
user_id?: string; // objectid
|
|
1762
|
+
sex?: 'male' | 'female';
|
|
1763
|
+
breed?: string; // objectid
|
|
1764
|
+
suit?: string; // objectid
|
|
1765
|
+
birthDate?: string;
|
|
1766
|
+
category?: string; // objectid
|
|
1767
|
+
price?: string; // objectid
|
|
1768
|
+
}
|
|
1736
1769
|
}
|
|
1737
1770
|
}
|