@mivis/petmart-api 1.2.194 → 1.2.196

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 +16 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.194",
3
+ "version": "1.2.196",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -1643,13 +1643,6 @@ declare namespace Components {
1643
1643
  FEMALE = 'female',
1644
1644
  }
1645
1645
 
1646
- export enum EPrefferedCommunication {
1647
- TELEGRAM = 'Telegram',
1648
- WHATSAPP = 'WhatsApp',
1649
- CALLS = 'Звонки',
1650
- SMS = 'СМС',
1651
- }
1652
-
1653
1646
  export interface ICompetitionHistory {
1654
1647
  name: string;
1655
1648
  place: string;
@@ -1661,9 +1654,16 @@ declare namespace Components {
1661
1654
  lng: number;
1662
1655
  }
1663
1656
 
1657
+ export interface IPreferredCommunication {
1658
+ telegram: boolean;
1659
+ whatsapp: boolean;
1660
+ calls: boolean;
1661
+ sms: boolean;
1662
+ }
1663
+
1664
1664
  export interface ICommunication {
1665
1665
  tel: number;
1666
- preferredCommunication: EPrefferedCommunication;
1666
+ preferredCommunication: IPreferredCommunication;
1667
1667
  }
1668
1668
 
1669
1669
  export interface ICreateHorse {
@@ -1674,7 +1674,7 @@ declare namespace Components {
1674
1674
  category: string;
1675
1675
  birthDate: Date;
1676
1676
  withersHeight: number;
1677
- price: string;
1677
+ price: number;
1678
1678
  location: IHorseLocation;
1679
1679
  images: File | File[];
1680
1680
  video_cover?: File;
@@ -1704,7 +1704,7 @@ declare namespace Components {
1704
1704
  age: string;
1705
1705
  category: string;
1706
1706
  withersHeight: number;
1707
- price: string;
1707
+ price: number;
1708
1708
  location: IHorseLocation;
1709
1709
  images: string[];
1710
1710
  video_cover: string | null;
@@ -1779,9 +1779,13 @@ declare namespace Components {
1779
1779
  sex?: 'male' | 'female';
1780
1780
  breed?: string; // objectid
1781
1781
  suit?: string; // objectid
1782
- birthDate?: string;
1782
+ ageMin?: string;
1783
+ ageMax?: string;
1784
+ withersHeightMin?: string;
1785
+ withersHeightMax?: string;
1786
+ priceMin?: string;
1787
+ priceMax?: string;
1783
1788
  category?: string; // objectid
1784
- price?: string; // objectid
1785
1789
  }
1786
1790
 
1787
1791
  export interface IReverseGeocodingRequest {