@timardex/cluemart-server-shared 2.1.1 → 2.1.2

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.
@@ -3518,6 +3518,8 @@ var LicenceExpiryDate = /* @__PURE__ */ ((LicenceExpiryDate2) => {
3518
3518
  LicenceExpiryDate2["ONE_YEAR"] = "1 year";
3519
3519
  LicenceExpiryDate2["ONE_MONTH"] = "1 month";
3520
3520
  LicenceExpiryDate2["TWO_MONTHS"] = "2 months";
3521
+ LicenceExpiryDate2["THREE_MONTHS"] = "3 months";
3522
+ LicenceExpiryDate2["SIX_MONTHS"] = "6 months";
3521
3523
  return LicenceExpiryDate2;
3522
3524
  })(LicenceExpiryDate || {});
3523
3525
  var LicenceCategory = /* @__PURE__ */ ((LicenceCategory2) => {
@@ -3603,7 +3605,9 @@ function createLicenceObject(expiryDate, licenceType) {
3603
3605
  const expiryDateMapping = {
3604
3606
  ["1 year" /* ONE_YEAR */]: today.add(1, "year").endOf("day").toDate(),
3605
3607
  ["1 month" /* ONE_MONTH */]: today.add(1, "month").endOf("day").toDate(),
3606
- ["2 months" /* TWO_MONTHS */]: today.add(2, "month").endOf("day").toDate()
3608
+ ["2 months" /* TWO_MONTHS */]: today.add(2, "month").endOf("day").toDate(),
3609
+ ["3 months" /* THREE_MONTHS */]: today.add(3, "month").endOf("day").toDate(),
3610
+ ["6 months" /* SIX_MONTHS */]: today.add(6, "month").endOf("day").toDate()
3607
3611
  };
3608
3612
  const licenceObject = {
3609
3613
  expiryDate: expiryDateMapping[expiryDate],