@mivis/petmart-api 1.2.234 → 1.2.236

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 +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.234",
3
+ "version": "1.2.236",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -525,6 +525,7 @@ declare namespace Components {
525
525
  photo: string;
526
526
  seoInfo?: ISeoInfo;
527
527
  slug: string;
528
+ updatedAt: Date;
528
529
  children: IParsedSubCategory[];
529
530
  }
530
531
 
@@ -534,6 +535,7 @@ declare namespace Components {
534
535
  type: string;
535
536
  seoInfo?: ISeoInfo;
536
537
  slug: string;
538
+ updatedAt: Date;
537
539
  status: ESubCategoryStatus;
538
540
  }
539
541
 
@@ -1746,6 +1748,8 @@ declare namespace Components {
1746
1748
  toRemoveImages?: string[];
1747
1749
  toRemoveVideoCover?: string;
1748
1750
  toRemoveDocuments?: string[]; // Array of documents.fileName
1751
+ archived_reason?: EArchivedReason;
1752
+ status?: EHorseStatus;
1749
1753
  }
1750
1754
 
1751
1755
  export enum EHorseStatus {
@@ -1778,6 +1782,7 @@ declare namespace Components {
1778
1782
  communication: ICommunication;
1779
1783
  reason_of_cancel?: string;
1780
1784
  distance?: number; // Расстояние пользователя до лошади (если передано гео)
1785
+ archived_reason?: string;
1781
1786
  telegram_message_id: string | null;
1782
1787
  slug: string;
1783
1788
  number: number;
@@ -2223,5 +2228,12 @@ declare namespace Components {
2223
2228
  products: IProductResponse[];
2224
2229
  count: number;
2225
2230
  }
2231
+
2232
+ export enum EArchivedReason {
2233
+ HORSESMART = 'На хорсесмарт',
2234
+ OTHER_PLATFORM = 'На другой площадке',
2235
+ PERSONAL = 'Лично',
2236
+ NOT_SOLD = 'Не продан',
2237
+ }
2226
2238
  }
2227
2239
  }