@mivis/petmart-api 1.2.219 → 1.2.221
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 -1
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -1560,7 +1560,7 @@ declare namespace Components {
|
|
|
1560
1560
|
reason_of_cancel: EReasonOfCancel;
|
|
1561
1561
|
}
|
|
1562
1562
|
|
|
1563
|
-
export interface IUserRandomProductQueryRequest {
|
|
1563
|
+
export interface IUserRandomProductQueryRequest extends OptionalUserQuery {
|
|
1564
1564
|
size: string;
|
|
1565
1565
|
category_id?: string;
|
|
1566
1566
|
}
|
|
@@ -2157,6 +2157,7 @@ declare namespace Components {
|
|
|
2157
2157
|
photo: string;
|
|
2158
2158
|
telegram_message_id: number | null;
|
|
2159
2159
|
slug: string;
|
|
2160
|
+
distance?: number; // Расстояние пользователя до лошади (если передано гео)
|
|
2160
2161
|
number: number;
|
|
2161
2162
|
createdAt: Date;
|
|
2162
2163
|
updatedAt: Date;
|
|
@@ -2181,5 +2182,18 @@ declare namespace Components {
|
|
|
2181
2182
|
}
|
|
2182
2183
|
|
|
2183
2184
|
// Services (Услуги) - Конец
|
|
2185
|
+
|
|
2186
|
+
export interface OptionalUserQuery {
|
|
2187
|
+
user_id?: string;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
export interface OptionalLocationQuery {
|
|
2191
|
+
lat?: string;
|
|
2192
|
+
lng?: string;
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
export interface OptionalUserLocationQuery
|
|
2196
|
+
extends OptionalUserQuery,
|
|
2197
|
+
OptionalLocationQuery {}
|
|
2184
2198
|
}
|
|
2185
2199
|
}
|