@mivis/petmart-api 1.2.223 → 1.2.225

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 +8 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.223",
3
+ "version": "1.2.225",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -361,6 +361,7 @@ declare namespace Components {
361
361
  createdAt: Date;
362
362
  updatedAt: Date;
363
363
  is_favorite?: boolean;
364
+ reviewsData?: IReviewsData;
364
365
  }
365
366
 
366
367
  type OptionalDimension = {
@@ -931,7 +932,7 @@ declare namespace Components {
931
932
  yandex_uuid?: string;
932
933
  cdek_barcode?: string;
933
934
  type?: DeliveryTypes;
934
- yandex_offer?: OfferDto;
935
+ yandex_offer?: OfferDto;
935
936
  comment?: string;
936
937
  }
937
938
 
@@ -2087,7 +2088,7 @@ declare namespace Components {
2087
2088
 
2088
2089
  export interface IPopulatedFavorite extends Omit<IFavorite, 'entity_id'> {
2089
2090
  _id: string;
2090
- entity_id: IProductResponse | IPopulatedHorse; // В зависимости от entity_type присваивать entity_id as IProductResponse или IPopulatedHorse
2091
+ entity_id: IProductResponse | IPopulatedHorse | IPopulatedService; // В зависимости от entity_type присваивать entity_id as IProductResponse или IPopulatedHorse
2091
2092
  }
2092
2093
 
2093
2094
  export enum EFavoriteToggleActions {
@@ -2111,6 +2112,7 @@ declare namespace Components {
2111
2112
  // Services (Услуги) - Начало
2112
2113
 
2113
2114
  export interface IGetServicesQuery extends FilterBaseQuery {
2115
+ creator_id?: string;
2114
2116
  user_id?: string;
2115
2117
  category?: string;
2116
2118
  priceMin?: string;
@@ -2197,5 +2199,9 @@ declare namespace Components {
2197
2199
  export interface OptionalUserLocationQuery
2198
2200
  extends OptionalUserQuery,
2199
2201
  OptionalLocationQuery {}
2202
+
2203
+ export interface CombinedUserLocationFilterQuery
2204
+ extends OptionalUserLocationQuery,
2205
+ FilterBaseQuery {}
2200
2206
  }
2201
2207
  }