@timardex/cluemart-server-shared 1.1.20 → 1.1.21

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
@@ -7844,6 +7844,9 @@ var COUPON_CODE_FIELDS_FRAGMENT = gql`
7844
7844
  qrCode {
7845
7845
  ...ResourceImageFields
7846
7846
  }
7847
+ shareableQrCode {
7848
+ ...ResourceImageFields
7849
+ }
7847
7850
  }
7848
7851
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
7849
7852
  `;
@@ -7970,14 +7973,6 @@ var GET_COUPON = gql`
7970
7973
  }
7971
7974
  ${COUPON}
7972
7975
  `;
7973
- var GET_RESOURCE_COUPONS = gql`
7974
- query getResourceCoupons($resourceId: ID!, $resourceType: ResourceTypeEnum!) {
7975
- resourceCoupons(resourceId: $resourceId, resourceType: $resourceType) {
7976
- ...CouponFields
7977
- }
7978
- }
7979
- ${COUPON}
7980
- `;
7981
7976
  var CREATE_COUPON_MUTATION = gql`
7982
7977
  mutation createCoupon($input: CouponInputType!) {
7983
7978
  createCoupon(input: $input) {
@@ -9207,7 +9202,8 @@ var couponRewardSchema = new MongooseSchema13(
9207
9202
  var couponCodeSchema = new MongooseSchema13(
9208
9203
  {
9209
9204
  code: { required: true, type: String },
9210
- qrCode: { required: true, type: ResourceImageTypeSchema }
9205
+ qrCode: { required: true, type: ResourceImageTypeSchema },
9206
+ shareableQrCode: { required: true, type: ResourceImageTypeSchema }
9211
9207
  },
9212
9208
  { _id: false }
9213
9209
  );
@@ -10026,7 +10022,7 @@ var SHARE_RESOURCE_LABEL2 = {
10026
10022
  school: "School"
10027
10023
  };
10028
10024
 
10029
- // node_modules/@timardex/cluemart-shared/dist/chunk-3HRC67D3.mjs
10025
+ // node_modules/@timardex/cluemart-shared/dist/chunk-Q3X2EHHF.mjs
10030
10026
  var PROMO_CODE_PREFIX2 = "CM-";
10031
10027
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
10032
10028
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10128,7 +10124,7 @@ var gameScreenIdentifierList2 = [
10128
10124
  }
10129
10125
  ];
10130
10126
 
10131
- // node_modules/@timardex/cluemart-shared/dist/chunk-E7KKXQDI.mjs
10127
+ // node_modules/@timardex/cluemart-shared/dist/chunk-UGWEWOUM.mjs
10132
10128
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10133
10129
  var statusOptions2 = [
10134
10130
  ...Object.values(EnumInviteStatus2).map((status) => ({