@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.
@@ -41,7 +41,7 @@ import {
41
41
  termsAgreementSchema,
42
42
  userLicenseSchema,
43
43
  vendorProductTypeSchema
44
- } from "../chunk-SKEMDS6Z.mjs";
44
+ } from "../chunk-HO5LGPTL.mjs";
45
45
  export {
46
46
  APP_SETTINGS_ID,
47
47
  AdModel,
@@ -7836,6 +7836,8 @@ var COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT = gql`
7836
7836
  fragment CouponParticipantUserFields on CouponParticipantUserType {
7837
7837
  couponCollectedCount
7838
7838
  couponRedeemedAt
7839
+ couponRedeemedCount
7840
+ couponCycleRedeemed
7839
7841
  createdAt
7840
7842
  updatedAt
7841
7843
  userId
@@ -9930,7 +9932,9 @@ var couponCodeSchema = new MongooseSchema26(
9930
9932
  var couponParticipantUserSchema = new MongooseSchema26(
9931
9933
  {
9932
9934
  couponCollectedCount: { default: 0, required: true, type: Number },
9935
+ couponCycleRedeemed: { default: false, required: true, type: Boolean },
9933
9936
  couponRedeemedAt: { default: null, required: false, type: Date },
9937
+ couponRedeemedCount: { default: 0, required: true, type: Number },
9934
9938
  userId: {
9935
9939
  ref: "User",
9936
9940
  required: true,
@@ -10049,7 +10053,7 @@ var SHARE_RESOURCE_LABEL2 = {
10049
10053
  school: "School"
10050
10054
  };
10051
10055
 
10052
- // node_modules/@timardex/cluemart-shared/dist/chunk-NNHCOVND.mjs
10056
+ // node_modules/@timardex/cluemart-shared/dist/chunk-WS47NSTO.mjs
10053
10057
  var PROMO_CODE_PREFIX2 = "CM-";
10054
10058
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
10055
10059
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10151,7 +10155,7 @@ var gameScreenIdentifierList2 = [
10151
10155
  }
10152
10156
  ];
10153
10157
 
10154
- // node_modules/@timardex/cluemart-shared/dist/chunk-JZWO462D.mjs
10158
+ // node_modules/@timardex/cluemart-shared/dist/chunk-G5T3Z6WT.mjs
10155
10159
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10156
10160
  var statusOptions2 = [
10157
10161
  ...Object.values(EnumInviteStatus2).map((status) => ({