@timardex/cluemart-server-shared 1.1.30 → 1.1.32

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/index.mjs CHANGED
@@ -8558,7 +8558,7 @@ var termsAgreementSchema = new MongooseSchema6(
8558
8558
  osName: { required: true, type: String },
8559
8559
  osVersion: { required: true, type: String },
8560
8560
  termVersion: { required: true, type: String },
8561
- timestamp: { required: true, type: String }
8561
+ timestamp: { required: true, type: Date }
8562
8562
  },
8563
8563
  { _id: false }
8564
8564
  );
@@ -8794,7 +8794,7 @@ schema4.index({ isRead: 1, userId: 1 });
8794
8794
  schema4.index({ createdAt: -1, userId: 1 });
8795
8795
  var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
8796
8796
 
8797
- // node_modules/@timardex/cluemart-shared/dist/chunk-D5BWQS2J.mjs
8797
+ // node_modules/@timardex/cluemart-shared/dist/chunk-7IB7QPVH.mjs
8798
8798
  var EnumInviteStatus2 = /* @__PURE__ */ ((EnumInviteStatus22) => {
8799
8799
  EnumInviteStatus22["ACCEPTED"] = "Accepted";
8800
8800
  EnumInviteStatus22["COMPLETED"] = "Completed";
@@ -9971,7 +9971,7 @@ async function activeAffiliateCodeExists(affiliateCode) {
9971
9971
  return existing !== null;
9972
9972
  }
9973
9973
 
9974
- // node_modules/@timardex/cluemart-shared/dist/chunk-HAPY4NHC.mjs
9974
+ // node_modules/@timardex/cluemart-shared/dist/chunk-2UNNIQIK.mjs
9975
9975
  import dayjs3 from "dayjs";
9976
9976
  import customParseFormat2 from "dayjs/plugin/customParseFormat.js";
9977
9977
  import isSameOrAfter2 from "dayjs/plugin/isSameOrAfter.js";
@@ -10026,7 +10026,7 @@ var SHARE_RESOURCE_LABEL2 = {
10026
10026
  school: "School"
10027
10027
  };
10028
10028
 
10029
- // node_modules/@timardex/cluemart-shared/dist/chunk-CAI7BTMN.mjs
10029
+ // node_modules/@timardex/cluemart-shared/dist/chunk-2CIW3WKR.mjs
10030
10030
  var PROMO_CODE_PREFIX2 = "CM-";
10031
10031
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
10032
10032
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10138,7 +10138,7 @@ var gameScreenIdentifierList2 = [
10138
10138
  }
10139
10139
  ];
10140
10140
 
10141
- // node_modules/@timardex/cluemart-shared/dist/chunk-LYL3X7HT.mjs
10141
+ // node_modules/@timardex/cluemart-shared/dist/chunk-A3RIEOQ7.mjs
10142
10142
  import dayjs4 from "dayjs";
10143
10143
  var statusOptions2 = [
10144
10144
  ...Object.values(EnumInviteStatus2).map((status) => ({