@mivis/petmart-api 1.2.174 → 1.2.176

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.174",
3
+ "version": "1.2.176",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -1547,11 +1547,23 @@ declare namespace Components {
1547
1547
  user_id: string;
1548
1548
  message: NotificationData;
1549
1549
  status: ENotificationStatus;
1550
+ createdAt: Date;
1550
1551
  }
1551
1552
 
1552
1553
  export enum ENotificationStatus {
1553
1554
  READ = 'READ',
1554
1555
  UNREAD = 'UNREAD',
1555
1556
  }
1557
+
1558
+ export interface ISendNotifications {
1559
+ to: ENotificationRecipients;
1560
+ notificationData: NotificationData;
1561
+ }
1562
+
1563
+ export enum ENotificationRecipients {
1564
+ ALL = 'ALL',
1565
+ SELLERS = 'SELLERS',
1566
+ USERS = 'USERS',
1567
+ }
1556
1568
  }
1557
1569
  }