@timardex/cluemart-server-shared 1.1.28 → 1.1.29

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
@@ -7881,6 +7881,8 @@ var COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT = gql`
7881
7881
  fragment CouponParticipantUserFields on CouponParticipantUserType {
7882
7882
  couponCollectedCount
7883
7883
  couponRedeemedAt
7884
+ couponRedeemedCount
7885
+ couponCycleRedeemed
7884
7886
  createdAt
7885
7887
  updatedAt
7886
7888
  userId
@@ -9975,7 +9977,9 @@ var couponCodeSchema = new MongooseSchema26(
9975
9977
  var couponParticipantUserSchema = new MongooseSchema26(
9976
9978
  {
9977
9979
  couponCollectedCount: { default: 0, required: true, type: Number },
9980
+ couponCycleRedeemed: { default: false, required: true, type: Boolean },
9978
9981
  couponRedeemedAt: { default: null, required: false, type: Date },
9982
+ couponRedeemedCount: { default: 0, required: true, type: Number },
9979
9983
  userId: {
9980
9984
  ref: "User",
9981
9985
  required: true,
@@ -10094,7 +10098,7 @@ var SHARE_RESOURCE_LABEL2 = {
10094
10098
  school: "School"
10095
10099
  };
10096
10100
 
10097
- // node_modules/@timardex/cluemart-shared/dist/chunk-NNHCOVND.mjs
10101
+ // node_modules/@timardex/cluemart-shared/dist/chunk-WS47NSTO.mjs
10098
10102
  var PROMO_CODE_PREFIX2 = "CM-";
10099
10103
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
10100
10104
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10196,7 +10200,7 @@ var gameScreenIdentifierList2 = [
10196
10200
  }
10197
10201
  ];
10198
10202
 
10199
- // node_modules/@timardex/cluemart-shared/dist/chunk-JZWO462D.mjs
10203
+ // node_modules/@timardex/cluemart-shared/dist/chunk-G5T3Z6WT.mjs
10200
10204
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10201
10205
  var statusOptions2 = [
10202
10206
  ...Object.values(EnumInviteStatus2).map((status) => ({