@mivis/petmart-api 1.2.239 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +20 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.239",
3
+ "version": "1.2.241",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
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 = {
@@ -1754,6 +1756,7 @@ declare namespace Components {
1754
1756
  MODERATION = 'MODERATION',
1755
1757
  PUBLISHED = 'PUBLISHED',
1756
1758
  REJECTED = 'REJECTED',
1759
+ ARCHIVED = 'ARCHIVED',
1757
1760
  }
1758
1761
 
1759
1762
  export interface IHorse {
@@ -1784,6 +1787,8 @@ declare namespace Components {
1784
1787
  telegram_message_id: string | null;
1785
1788
  slug: string;
1786
1789
  number: number;
1790
+ published_at?: Date;
1791
+ entityAnalytics?: IEntityAnalytics;
1787
1792
  createdAt: Date;
1788
1793
  updatedAt: Date;
1789
1794
  }
@@ -2170,6 +2175,8 @@ declare namespace Components {
2170
2175
  slug: string;
2171
2176
  distance?: number; // Расстояние пользователя до лошади (если передано гео)
2172
2177
  number: number;
2178
+ published_at?: Date;
2179
+ entityAnalytics?: IEntityAnalytics;
2173
2180
  createdAt: Date;
2174
2181
  updatedAt: Date;
2175
2182
  }
@@ -2243,5 +2250,16 @@ declare namespace Components {
2243
2250
  slug: string;
2244
2251
  updatedAt: Date;
2245
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
+ }
2246
2264
  }
2247
2265
  }