@mivis/petmart-api 1.2.212 → 1.2.214
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 +10 -0
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -299,6 +299,7 @@ declare namespace Components {
|
|
|
299
299
|
brands?: string;
|
|
300
300
|
sizes?: string;
|
|
301
301
|
materials?: string;
|
|
302
|
+
sortBy?: EProductsSortOptions;
|
|
302
303
|
}
|
|
303
304
|
|
|
304
305
|
export interface IProductQueryResponse {
|
|
@@ -1832,6 +1833,7 @@ declare namespace Components {
|
|
|
1832
1833
|
export interface InternalPushMessageData {
|
|
1833
1834
|
type: ENotificationType;
|
|
1834
1835
|
typeId: string;
|
|
1836
|
+
typeSlug?: string | null;
|
|
1835
1837
|
}
|
|
1836
1838
|
|
|
1837
1839
|
export interface ExternalPushMessageData {
|
|
@@ -1887,6 +1889,7 @@ declare namespace Components {
|
|
|
1887
1889
|
}
|
|
1888
1890
|
|
|
1889
1891
|
export interface ICollection {
|
|
1892
|
+
_id: string;
|
|
1890
1893
|
title: string;
|
|
1891
1894
|
desc?: string;
|
|
1892
1895
|
slug: string;
|
|
@@ -1896,5 +1899,12 @@ declare namespace Components {
|
|
|
1896
1899
|
status: ECollectionStatus;
|
|
1897
1900
|
position: number;
|
|
1898
1901
|
}
|
|
1902
|
+
|
|
1903
|
+
export enum EProductsSortOptions {
|
|
1904
|
+
NEWEST = 'Новинки',
|
|
1905
|
+
POPULAR = 'Популярные',
|
|
1906
|
+
CHEAPEST = 'Дешевле',
|
|
1907
|
+
EXPENSIVE = 'Дороже',
|
|
1908
|
+
}
|
|
1899
1909
|
}
|
|
1900
1910
|
}
|