@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.mjs CHANGED
@@ -7741,6 +7741,9 @@ var COUPON_CODE_FIELDS_FRAGMENT = gql`
7741
7741
  qrCode {
7742
7742
  ...ResourceImageFields
7743
7743
  }
7744
+ shareableQrCode {
7745
+ ...ResourceImageFields
7746
+ }
7744
7747
  }
7745
7748
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
7746
7749
  `;
@@ -7867,14 +7870,6 @@ var GET_COUPON = gql`
7867
7870
  }
7868
7871
  ${COUPON}
7869
7872
  `;
7870
- var GET_RESOURCE_COUPONS = gql`
7871
- query getResourceCoupons($resourceId: ID!, $resourceType: ResourceTypeEnum!) {
7872
- resourceCoupons(resourceId: $resourceId, resourceType: $resourceType) {
7873
- ...CouponFields
7874
- }
7875
- }
7876
- ${COUPON}
7877
- `;
7878
7873
  var CREATE_COUPON_MUTATION = gql`
7879
7874
  mutation createCoupon($input: CouponInputType!) {
7880
7875
  createCoupon(input: $input) {
@@ -9104,7 +9099,8 @@ var couponRewardSchema = new MongooseSchema13(
9104
9099
  var couponCodeSchema = new MongooseSchema13(
9105
9100
  {
9106
9101
  code: { required: true, type: String },
9107
- qrCode: { required: true, type: ResourceImageTypeSchema }
9102
+ qrCode: { required: true, type: ResourceImageTypeSchema },
9103
+ shareableQrCode: { required: true, type: ResourceImageTypeSchema }
9108
9104
  },
9109
9105
  { _id: false }
9110
9106
  );
@@ -9923,7 +9919,7 @@ var SHARE_RESOURCE_LABEL2 = {
9923
9919
  school: "School"
9924
9920
  };
9925
9921
 
9926
- // node_modules/@timardex/cluemart-shared/dist/chunk-3HRC67D3.mjs
9922
+ // node_modules/@timardex/cluemart-shared/dist/chunk-Q3X2EHHF.mjs
9927
9923
  var PROMO_CODE_PREFIX2 = "CM-";
9928
9924
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
9929
9925
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10025,7 +10021,7 @@ var gameScreenIdentifierList2 = [
10025
10021
  }
10026
10022
  ];
10027
10023
 
10028
- // node_modules/@timardex/cluemart-shared/dist/chunk-E7KKXQDI.mjs
10024
+ // node_modules/@timardex/cluemart-shared/dist/chunk-UGWEWOUM.mjs
10029
10025
  import dayjs4 from "dayjs";
10030
10026
  var statusOptions2 = [
10031
10027
  ...Object.values(EnumInviteStatus2).map((status) => ({