@mivis/petmart-api 1.2.206 → 1.2.208
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 +12 -1
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -1721,9 +1721,10 @@ declare namespace Components {
|
|
|
1721
1721
|
reg_number: string | null;
|
|
1722
1722
|
genealogy: string | null;
|
|
1723
1723
|
birthplace: string | null;
|
|
1724
|
-
documents:
|
|
1724
|
+
documents: IDocument[];
|
|
1725
1725
|
competition_history: ICompetitionHistory[] | null;
|
|
1726
1726
|
communication: ICommunication;
|
|
1727
|
+
distance?: number; // Расстояние пользователя до лошади (если передано гео)
|
|
1727
1728
|
telegram_message_id: string | null;
|
|
1728
1729
|
slug: string;
|
|
1729
1730
|
number: number;
|
|
@@ -1731,6 +1732,11 @@ declare namespace Components {
|
|
|
1731
1732
|
updatedAt: Date;
|
|
1732
1733
|
}
|
|
1733
1734
|
|
|
1735
|
+
export interface IDocument {
|
|
1736
|
+
name: string;
|
|
1737
|
+
fileName: string;
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1734
1740
|
export interface IPopulatedHorse
|
|
1735
1741
|
extends Omit<IHorse, 'user_id' | 'breed' | 'suit' | 'category'> {
|
|
1736
1742
|
user_id: IPopulatedOrderUserApp;
|
|
@@ -1825,5 +1831,10 @@ declare namespace Components {
|
|
|
1825
1831
|
export interface ExternalPushMessageData {
|
|
1826
1832
|
url: string;
|
|
1827
1833
|
}
|
|
1834
|
+
|
|
1835
|
+
export interface IGetHorseViewHistory extends FilterBaseQuery {
|
|
1836
|
+
lat?: string; // user lat
|
|
1837
|
+
lng?: string; // user lng
|
|
1838
|
+
}
|
|
1828
1839
|
}
|
|
1829
1840
|
}
|