@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.
@@ -41,7 +41,7 @@ import {
41
41
  termsAgreementSchema,
42
42
  userLicenseSchema,
43
43
  vendorProductTypeSchema
44
- } from "../chunk-5A746NK4.mjs";
44
+ } from "../chunk-VUTQY6KS.mjs";
45
45
  export {
46
46
  APP_SETTINGS_ID,
47
47
  AdModel,
@@ -8618,7 +8618,7 @@ var termsAgreementSchema = new MongooseSchema6(
8618
8618
  osName: { required: true, type: String },
8619
8619
  osVersion: { required: true, type: String },
8620
8620
  termVersion: { required: true, type: String },
8621
- timestamp: { required: true, type: String }
8621
+ timestamp: { required: true, type: Date }
8622
8622
  },
8623
8623
  { _id: false }
8624
8624
  );
@@ -8854,7 +8854,7 @@ schema4.index({ isRead: 1, userId: 1 });
8854
8854
  schema4.index({ createdAt: -1, userId: 1 });
8855
8855
  var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
8856
8856
 
8857
- // node_modules/@timardex/cluemart-shared/dist/chunk-D5BWQS2J.mjs
8857
+ // node_modules/@timardex/cluemart-shared/dist/chunk-7IB7QPVH.mjs
8858
8858
  var EnumInviteStatus2 = /* @__PURE__ */ ((EnumInviteStatus22) => {
8859
8859
  EnumInviteStatus22["ACCEPTED"] = "Accepted";
8860
8860
  EnumInviteStatus22["COMPLETED"] = "Completed";
@@ -10031,7 +10031,7 @@ async function activeAffiliateCodeExists(affiliateCode) {
10031
10031
  return existing !== null;
10032
10032
  }
10033
10033
 
10034
- // node_modules/@timardex/cluemart-shared/dist/chunk-HAPY4NHC.mjs
10034
+ // node_modules/@timardex/cluemart-shared/dist/chunk-2UNNIQIK.mjs
10035
10035
  var import_dayjs3 = __toESM(require("dayjs"), 1);
10036
10036
  var import_customParseFormat2 = __toESM(require("dayjs/plugin/customParseFormat.js"), 1);
10037
10037
  var import_isSameOrAfter2 = __toESM(require("dayjs/plugin/isSameOrAfter.js"), 1);
@@ -10086,7 +10086,7 @@ var SHARE_RESOURCE_LABEL2 = {
10086
10086
  school: "School"
10087
10087
  };
10088
10088
 
10089
- // node_modules/@timardex/cluemart-shared/dist/chunk-CAI7BTMN.mjs
10089
+ // node_modules/@timardex/cluemart-shared/dist/chunk-2CIW3WKR.mjs
10090
10090
  var PROMO_CODE_PREFIX2 = "CM-";
10091
10091
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
10092
10092
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10198,7 +10198,7 @@ var gameScreenIdentifierList2 = [
10198
10198
  }
10199
10199
  ];
10200
10200
 
10201
- // node_modules/@timardex/cluemart-shared/dist/chunk-LYL3X7HT.mjs
10201
+ // node_modules/@timardex/cluemart-shared/dist/chunk-A3RIEOQ7.mjs
10202
10202
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10203
10203
  var statusOptions2 = [
10204
10204
  ...Object.values(EnumInviteStatus2).map((status) => ({