@mivis/petmart-api 1.2.218 → 1.2.220

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 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.218",
3
+ "version": "1.2.220",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -1768,6 +1768,7 @@ declare namespace Components {
1768
1768
  documents: IDocument[] | null;
1769
1769
  competition_history: ICompetitionHistory[] | null;
1770
1770
  communication: ICommunication;
1771
+ reason_of_cancel?: string;
1771
1772
  distance?: number; // Расстояние пользователя до лошади (если передано гео)
1772
1773
  telegram_message_id: string | null;
1773
1774
  slug: string;
@@ -1869,6 +1870,12 @@ declare namespace Components {
1869
1870
  export interface IActionsHorseRequest {
1870
1871
  toDelete: string;
1871
1872
  }
1873
+
1874
+ export interface IAdminChangeHorseStatusRequest {
1875
+ status: EHorseStatus;
1876
+ reason_of_cancel?: string;
1877
+ }
1878
+
1872
1879
  export interface InternalPushMessageData {
1873
1880
  type: ENotificationType;
1874
1881
  typeId: string;
@@ -2067,6 +2074,7 @@ declare namespace Components {
2067
2074
  export enum EFavoritesEntityType {
2068
2075
  PRODUCT = 'PRODUCT',
2069
2076
  HORSE = 'HORSE',
2077
+ SERVICE = 'SERVICE',
2070
2078
  }
2071
2079
 
2072
2080
  export interface IFavorite {
@@ -2149,6 +2157,7 @@ declare namespace Components {
2149
2157
  photo: string;
2150
2158
  telegram_message_id: number | null;
2151
2159
  slug: string;
2160
+ distance?: number; // Расстояние пользователя до лошади (если передано гео)
2152
2161
  number: number;
2153
2162
  createdAt: Date;
2154
2163
  updatedAt: Date;