@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.mjs CHANGED
@@ -7776,6 +7776,8 @@ var COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT = gql`
7776
7776
  fragment CouponParticipantUserFields on CouponParticipantUserType {
7777
7777
  couponCollectedCount
7778
7778
  couponRedeemedAt
7779
+ couponRedeemedCount
7780
+ couponCycleRedeemed
7779
7781
  createdAt
7780
7782
  updatedAt
7781
7783
  userId
@@ -9870,7 +9872,9 @@ var couponCodeSchema = new MongooseSchema26(
9870
9872
  var couponParticipantUserSchema = new MongooseSchema26(
9871
9873
  {
9872
9874
  couponCollectedCount: { default: 0, required: true, type: Number },
9875
+ couponCycleRedeemed: { default: false, required: true, type: Boolean },
9873
9876
  couponRedeemedAt: { default: null, required: false, type: Date },
9877
+ couponRedeemedCount: { default: 0, required: true, type: Number },
9874
9878
  userId: {
9875
9879
  ref: "User",
9876
9880
  required: true,
@@ -9989,7 +9993,7 @@ var SHARE_RESOURCE_LABEL2 = {
9989
9993
  school: "School"
9990
9994
  };
9991
9995
 
9992
- // node_modules/@timardex/cluemart-shared/dist/chunk-NNHCOVND.mjs
9996
+ // node_modules/@timardex/cluemart-shared/dist/chunk-WS47NSTO.mjs
9993
9997
  var PROMO_CODE_PREFIX2 = "CM-";
9994
9998
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
9995
9999
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10091,7 +10095,7 @@ var gameScreenIdentifierList2 = [
10091
10095
  }
10092
10096
  ];
10093
10097
 
10094
- // node_modules/@timardex/cluemart-shared/dist/chunk-JZWO462D.mjs
10098
+ // node_modules/@timardex/cluemart-shared/dist/chunk-G5T3Z6WT.mjs
10095
10099
  import dayjs4 from "dayjs";
10096
10100
  var statusOptions2 = [
10097
10101
  ...Object.values(EnumInviteStatus2).map((status) => ({