@mivis/petmart-api 1.2.217 → 1.2.219

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 +11 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.217",
3
+ "version": "1.2.219",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -614,7 +614,7 @@ declare namespace Components {
614
614
  // own_delivery: boolean; // Появится в ближайшем будущем
615
615
  delivery_to_point: boolean;
616
616
  courier: boolean;
617
- yandex_express: boolean
617
+ yandex_express: boolean;
618
618
  }
619
619
 
620
620
  export enum ESellerStatus {
@@ -931,7 +931,7 @@ declare namespace Components {
931
931
  yandex_uuid?: string;
932
932
  cdek_barcode?: string;
933
933
  type?: DeliveryTypes;
934
- yandex_offer?: OfferDto;
934
+ yandex_offer?: OfferDto;
935
935
  }
936
936
 
937
937
  export interface IPVZ {
@@ -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 {
@@ -2132,6 +2140,7 @@ declare namespace Components {
2132
2140
  export interface IServiceCategory {
2133
2141
  _id: string;
2134
2142
  name: string;
2143
+ photo: string;
2135
2144
  createdAt: Date;
2136
2145
  updatedAt: Date;
2137
2146
  }