@timardex/cluemart-server-shared 1.0.309 → 1.0.310

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
@@ -7103,6 +7103,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = gql`
7103
7103
  createdAt
7104
7104
  isOfflineMode
7105
7105
  key
7106
+ minimumRedeemableAffiliatePoints
7106
7107
  updatedAt
7107
7108
  }
7108
7109
  `;
@@ -9030,6 +9031,11 @@ var AppSettingSchema = new MongooseSchema19(
9030
9031
  type: String,
9031
9032
  unique: true
9032
9033
  // ✅ allowed here
9034
+ },
9035
+ minimumRedeemableAffiliatePoints: {
9036
+ default: 500,
9037
+ required: true,
9038
+ type: Number
9033
9039
  }
9034
9040
  },
9035
9041
  { timestamps: true }
@@ -9380,7 +9386,7 @@ async function activeAffiliateCodeExists(affiliateCode) {
9380
9386
  return existing !== null;
9381
9387
  }
9382
9388
 
9383
- // node_modules/@timardex/cluemart-shared/dist/chunk-SWWVD4J5.mjs
9389
+ // node_modules/@timardex/cluemart-shared/dist/chunk-SD42WIMV.mjs
9384
9390
  var import_dayjs3 = __toESM(require("dayjs"), 1);
9385
9391
  var import_customParseFormat2 = __toESM(require("dayjs/plugin/customParseFormat.js"), 1);
9386
9392
  var import_isSameOrAfter2 = __toESM(require("dayjs/plugin/isSameOrAfter.js"), 1);
@@ -9435,7 +9441,7 @@ var SHARE_RESOURCE_LABEL2 = {
9435
9441
  school: "School"
9436
9442
  };
9437
9443
 
9438
- // node_modules/@timardex/cluemart-shared/dist/chunk-2V7QKRQE.mjs
9444
+ // node_modules/@timardex/cluemart-shared/dist/chunk-4VN5M5JO.mjs
9439
9445
  var PROMO_CODE_PREFIX2 = "CM-";
9440
9446
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
9441
9447
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -9537,7 +9543,7 @@ var gameScreenIdentifierList2 = [
9537
9543
  }
9538
9544
  ];
9539
9545
 
9540
- // node_modules/@timardex/cluemart-shared/dist/chunk-THXLJFLL.mjs
9546
+ // node_modules/@timardex/cluemart-shared/dist/chunk-TX3TVIQO.mjs
9541
9547
  var import_dayjs4 = __toESM(require("dayjs"), 1);
9542
9548
  var statusOptions2 = [
9543
9549
  ...Object.values(EnumInviteStatus2).map((status) => ({