@mivis/petmart-api 1.2.240 → 1.2.241
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 +19 -2
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -270,9 +270,10 @@ declare namespace Components {
|
|
|
270
270
|
external_item_id: string | null;
|
|
271
271
|
variations?: IProduct[];
|
|
272
272
|
purchases_count: number;
|
|
273
|
-
viewed?: number;
|
|
274
273
|
number: number;
|
|
275
274
|
slug: string;
|
|
275
|
+
published_at?: Date;
|
|
276
|
+
entityAnalytics?: IEntityAnalytics;
|
|
276
277
|
createdAt: Date;
|
|
277
278
|
updatedAt: Date;
|
|
278
279
|
}
|
|
@@ -356,13 +357,14 @@ declare namespace Components {
|
|
|
356
357
|
characteristic: ICharacteristic[];
|
|
357
358
|
variations?: IProduct[];
|
|
358
359
|
purchases_count: number;
|
|
359
|
-
viewed?: number;
|
|
360
360
|
number: number;
|
|
361
361
|
slug: string;
|
|
362
362
|
createdAt: Date;
|
|
363
363
|
updatedAt: Date;
|
|
364
364
|
is_favorite?: boolean;
|
|
365
365
|
reviewsData?: IReviewsData;
|
|
366
|
+
published_at?: Date;
|
|
367
|
+
entityAnalytics?: IEntityAnalytics;
|
|
366
368
|
}
|
|
367
369
|
|
|
368
370
|
type OptionalDimension = {
|
|
@@ -1785,6 +1787,8 @@ declare namespace Components {
|
|
|
1785
1787
|
telegram_message_id: string | null;
|
|
1786
1788
|
slug: string;
|
|
1787
1789
|
number: number;
|
|
1790
|
+
published_at?: Date;
|
|
1791
|
+
entityAnalytics?: IEntityAnalytics;
|
|
1788
1792
|
createdAt: Date;
|
|
1789
1793
|
updatedAt: Date;
|
|
1790
1794
|
}
|
|
@@ -2171,6 +2175,8 @@ declare namespace Components {
|
|
|
2171
2175
|
slug: string;
|
|
2172
2176
|
distance?: number; // Расстояние пользователя до лошади (если передано гео)
|
|
2173
2177
|
number: number;
|
|
2178
|
+
published_at?: Date;
|
|
2179
|
+
entityAnalytics?: IEntityAnalytics;
|
|
2174
2180
|
createdAt: Date;
|
|
2175
2181
|
updatedAt: Date;
|
|
2176
2182
|
}
|
|
@@ -2244,5 +2250,16 @@ declare namespace Components {
|
|
|
2244
2250
|
slug: string;
|
|
2245
2251
|
updatedAt: Date;
|
|
2246
2252
|
}
|
|
2253
|
+
|
|
2254
|
+
export interface IEntityAnalytics {
|
|
2255
|
+
entity_type: EEntityType;
|
|
2256
|
+
entity_id: string;
|
|
2257
|
+
views_count: number;
|
|
2258
|
+
favorites_count: number;
|
|
2259
|
+
purchases_count: number;
|
|
2260
|
+
cart_count: number;
|
|
2261
|
+
createdAt: Date;
|
|
2262
|
+
updatedAt: Date;
|
|
2263
|
+
}
|
|
2247
2264
|
}
|
|
2248
2265
|
}
|