@mivis/petmart-api 1.2.171 → 1.2.173
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 +26 -2
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -573,12 +573,16 @@ declare namespace Components {
|
|
|
573
573
|
lng: number;
|
|
574
574
|
}
|
|
575
575
|
|
|
576
|
+
export interface IShopWorkTime {
|
|
577
|
+
time: string;
|
|
578
|
+
}
|
|
579
|
+
|
|
576
580
|
export interface IShop {
|
|
577
581
|
_id: string;
|
|
578
582
|
name: string;
|
|
579
583
|
address: IShopAddress;
|
|
580
584
|
nearest_metro_station: string;
|
|
581
|
-
work_time
|
|
585
|
+
work_time?: IShopWorkTime[];
|
|
582
586
|
createdAt: Date;
|
|
583
587
|
updatedAt: Date;
|
|
584
588
|
}
|
|
@@ -632,6 +636,8 @@ declare namespace Components {
|
|
|
632
636
|
telegram_message_id: number | null;
|
|
633
637
|
api_token: string | null;
|
|
634
638
|
slug: string;
|
|
639
|
+
telegram_chat_id: number | null;
|
|
640
|
+
telegram_api_token: string;
|
|
635
641
|
number: number;
|
|
636
642
|
createdAt: Date;
|
|
637
643
|
updatedAt: Date;
|
|
@@ -920,7 +926,7 @@ declare namespace Components {
|
|
|
920
926
|
limit: number;
|
|
921
927
|
}
|
|
922
928
|
|
|
923
|
-
export type IPopulatedOrderShop =
|
|
929
|
+
export type IPopulatedOrderShop = IShop;
|
|
924
930
|
|
|
925
931
|
export interface IPopulatedOrderItemApp
|
|
926
932
|
extends Omit<IOrderItem, 'product_id'> {
|
|
@@ -1528,5 +1534,23 @@ declare namespace Components {
|
|
|
1528
1534
|
ios: IVersion;
|
|
1529
1535
|
android: IVersion;
|
|
1530
1536
|
}
|
|
1537
|
+
|
|
1538
|
+
export interface NotificationData {
|
|
1539
|
+
body: string;
|
|
1540
|
+
data?: ExpoPushMessageData;
|
|
1541
|
+
title: string;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
export interface INotification {
|
|
1545
|
+
_id: string;
|
|
1546
|
+
user_id: string;
|
|
1547
|
+
message: NotificationData;
|
|
1548
|
+
status: ENotificationStatus;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
export enum ENotificationStatus {
|
|
1552
|
+
READ = 'READ',
|
|
1553
|
+
UNREAD = 'UNREAD',
|
|
1554
|
+
}
|
|
1531
1555
|
}
|
|
1532
1556
|
}
|