@mivis/petmart-api 1.2.224 → 1.2.226
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 +9 -2
package/package.json
CHANGED
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
|
|
|
@@ -1315,6 +1316,7 @@ declare namespace Components {
|
|
|
1315
1316
|
export interface IReviewsData {
|
|
1316
1317
|
count: number;
|
|
1317
1318
|
averageRating: string;
|
|
1319
|
+
sellerName?: string;
|
|
1318
1320
|
}
|
|
1319
1321
|
|
|
1320
1322
|
export interface ICreateReviewRequest {
|
|
@@ -2087,7 +2089,7 @@ declare namespace Components {
|
|
|
2087
2089
|
|
|
2088
2090
|
export interface IPopulatedFavorite extends Omit<IFavorite, 'entity_id'> {
|
|
2089
2091
|
_id: string;
|
|
2090
|
-
entity_id: IProductResponse | IPopulatedHorse; // В зависимости от entity_type присваивать entity_id as IProductResponse или IPopulatedHorse
|
|
2092
|
+
entity_id: IProductResponse | IPopulatedHorse | IPopulatedService; // В зависимости от entity_type присваивать entity_id as IProductResponse или IPopulatedHorse
|
|
2091
2093
|
}
|
|
2092
2094
|
|
|
2093
2095
|
export enum EFavoriteToggleActions {
|
|
@@ -2111,6 +2113,7 @@ declare namespace Components {
|
|
|
2111
2113
|
// Services (Услуги) - Начало
|
|
2112
2114
|
|
|
2113
2115
|
export interface IGetServicesQuery extends FilterBaseQuery {
|
|
2116
|
+
creator_id?: string;
|
|
2114
2117
|
user_id?: string;
|
|
2115
2118
|
category?: string;
|
|
2116
2119
|
priceMin?: string;
|
|
@@ -2197,5 +2200,9 @@ declare namespace Components {
|
|
|
2197
2200
|
export interface OptionalUserLocationQuery
|
|
2198
2201
|
extends OptionalUserQuery,
|
|
2199
2202
|
OptionalLocationQuery {}
|
|
2203
|
+
|
|
2204
|
+
export interface CombinedUserLocationFilterQuery
|
|
2205
|
+
extends OptionalUserLocationQuery,
|
|
2206
|
+
FilterBaseQuery {}
|
|
2200
2207
|
}
|
|
2201
2208
|
}
|