@mivis/petmart-api 1.2.233 → 1.2.235
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 +15 -0
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -1746,6 +1746,8 @@ declare namespace Components {
|
|
|
1746
1746
|
toRemoveImages?: string[];
|
|
1747
1747
|
toRemoveVideoCover?: string;
|
|
1748
1748
|
toRemoveDocuments?: string[]; // Array of documents.fileName
|
|
1749
|
+
archived_reason?: EArchivedReason;
|
|
1750
|
+
status?: EHorseStatus;
|
|
1749
1751
|
}
|
|
1750
1752
|
|
|
1751
1753
|
export enum EHorseStatus {
|
|
@@ -1778,6 +1780,7 @@ declare namespace Components {
|
|
|
1778
1780
|
communication: ICommunication;
|
|
1779
1781
|
reason_of_cancel?: string;
|
|
1780
1782
|
distance?: number; // Расстояние пользователя до лошади (если передано гео)
|
|
1783
|
+
archived_reason?: string;
|
|
1781
1784
|
telegram_message_id: string | null;
|
|
1782
1785
|
slug: string;
|
|
1783
1786
|
number: number;
|
|
@@ -2218,5 +2221,17 @@ declare namespace Components {
|
|
|
2218
2221
|
HORSE = 'HORSE',
|
|
2219
2222
|
SERVICE = 'SERVICE',
|
|
2220
2223
|
}
|
|
2224
|
+
|
|
2225
|
+
export interface IGetUnreviewedProductsResponse {
|
|
2226
|
+
products: IProductResponse[];
|
|
2227
|
+
count: number;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
export enum EArchivedReason {
|
|
2231
|
+
HORSESMART = 'На хорсесмарт',
|
|
2232
|
+
OTHER_PLATFORM = 'На другой площадке',
|
|
2233
|
+
PERSONAL = 'Лично',
|
|
2234
|
+
NOT_SOLD = 'Не продан',
|
|
2235
|
+
}
|
|
2221
2236
|
}
|
|
2222
2237
|
}
|