@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.cjs CHANGED
@@ -8663,7 +8663,7 @@ var termsAgreementSchema = new MongooseSchema6(
8663
8663
  osName: { required: true, type: String },
8664
8664
  osVersion: { required: true, type: String },
8665
8665
  termVersion: { required: true, type: String },
8666
- timestamp: { required: true, type: String }
8666
+ timestamp: { required: true, type: Date }
8667
8667
  },
8668
8668
  { _id: false }
8669
8669
  );
@@ -8899,7 +8899,7 @@ schema4.index({ isRead: 1, userId: 1 });
8899
8899
  schema4.index({ createdAt: -1, userId: 1 });
8900
8900
  var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
8901
8901
 
8902
- // node_modules/@timardex/cluemart-shared/dist/chunk-D5BWQS2J.mjs
8902
+ // node_modules/@timardex/cluemart-shared/dist/chunk-7IB7QPVH.mjs
8903
8903
  var EnumInviteStatus2 = /* @__PURE__ */ ((EnumInviteStatus22) => {
8904
8904
  EnumInviteStatus22["ACCEPTED"] = "Accepted";
8905
8905
  EnumInviteStatus22["COMPLETED"] = "Completed";
@@ -10076,7 +10076,7 @@ async function activeAffiliateCodeExists(affiliateCode) {
10076
10076
  return existing !== null;
10077
10077
  }
10078
10078
 
10079
- // node_modules/@timardex/cluemart-shared/dist/chunk-HAPY4NHC.mjs
10079
+ // node_modules/@timardex/cluemart-shared/dist/chunk-2UNNIQIK.mjs
10080
10080
  var import_dayjs3 = __toESM(require("dayjs"), 1);
10081
10081
  var import_customParseFormat2 = __toESM(require("dayjs/plugin/customParseFormat.js"), 1);
10082
10082
  var import_isSameOrAfter2 = __toESM(require("dayjs/plugin/isSameOrAfter.js"), 1);
@@ -10131,7 +10131,7 @@ var SHARE_RESOURCE_LABEL2 = {
10131
10131
  school: "School"
10132
10132
  };
10133
10133
 
10134
- // node_modules/@timardex/cluemart-shared/dist/chunk-CAI7BTMN.mjs
10134
+ // node_modules/@timardex/cluemart-shared/dist/chunk-2CIW3WKR.mjs
10135
10135
  var PROMO_CODE_PREFIX2 = "CM-";
10136
10136
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
10137
10137
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10243,7 +10243,7 @@ var gameScreenIdentifierList2 = [
10243
10243
  }
10244
10244
  ];
10245
10245
 
10246
- // node_modules/@timardex/cluemart-shared/dist/chunk-LYL3X7HT.mjs
10246
+ // node_modules/@timardex/cluemart-shared/dist/chunk-A3RIEOQ7.mjs
10247
10247
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10248
10248
  var statusOptions2 = [
10249
10249
  ...Object.values(EnumInviteStatus2).map((status) => ({