@timardex/cluemart-server-shared 2.1.5 → 2.1.6
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/dist/{chunk-M4ZWI4YC.mjs → chunk-2MNX373V.mjs} +9 -6
- package/dist/chunk-2MNX373V.mjs.map +1 -0
- package/dist/index.cjs +11 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.mjs +11 -8
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +8 -5
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +11 -2
- package/dist/mongoose/index.d.ts +11 -2
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +11 -8
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +4 -4
- package/dist/service/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-M4ZWI4YC.mjs.map +0 -1
package/dist/service/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PushTokenModel,
|
|
9
9
|
UserModel,
|
|
10
10
|
VendorModel
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-2MNX373V.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
|
|
1458
|
-
title: `Vendor
|
|
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 ? "
|
|
1799
|
+
title: isExtension ? "Licence Extension Reminder" : "Licence Expiring Soon",
|
|
1800
1800
|
type: resourceInfo.notificationType,
|
|
1801
1801
|
userIds: [user._id]
|
|
1802
1802
|
};
|