@timardex/cluemart-server-shared 2.1.5 → 2.1.7

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.
@@ -8,7 +8,7 @@ import {
8
8
  PushTokenModel,
9
9
  UserModel,
10
10
  VendorModel
11
- } from "../chunk-M4ZWI4YC.mjs";
11
+ } from "../chunk-OVAGFPTP.mjs";
12
12
  import "../chunk-6PNG5BI5.mjs";
13
13
 
14
14
  // src/service/promoCode/constants.ts
@@ -1454,8 +1454,8 @@ async function handleVendorLicenceCompliance(user, now) {
1454
1454
  resourceName: vendor.name,
1455
1455
  resourceType: EnumNotificationResourceType2.DOWNGRADED_VENDOR
1456
1456
  },
1457
- message: `Your Vendor license has been downgraded due to licence expiration.`,
1458
- title: `Vendor License Downgraded`,
1457
+ message: `Your Vendor licence has been downgraded due to licence expiration.`,
1458
+ title: `Vendor Licence Downgraded`,
1459
1459
  type: EnumNotificationType2.SYSTEM,
1460
1460
  userIds: [user._id]
1461
1461
  };
@@ -1796,7 +1796,7 @@ async function sendLicenseReminder(user, licence) {
1796
1796
  resourceType: resourceInfo.resourceType
1797
1797
  },
1798
1798
  message: isExtension ? `Your ${licenceName} will be automatically extended for another year on ${formatDate(expiryDate, "date")}.` : `Your ${licenceName} expires in 7 days (${formatDate(expiryDate, "date")}). Renew now to avoid deactivation.`,
1799
- title: isExtension ? "License Extension Reminder" : "License Expiring Soon",
1799
+ title: isExtension ? "Licence Extension Reminder" : "Licence Expiring Soon",
1800
1800
  type: resourceInfo.notificationType,
1801
1801
  userIds: [user._id]
1802
1802
  };