@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.
@@ -42,7 +42,7 @@ import {
42
42
  termsAgreementSchema,
43
43
  userLicenseSchema,
44
44
  vendorProductTypeSchema
45
- } from "../chunk-WDKTIULG.mjs";
45
+ } from "../chunk-3JRVRK2N.mjs";
46
46
  export {
47
47
  APP_SETTINGS_ID,
48
48
  AdModel,
@@ -7798,6 +7798,9 @@ var COUPON_CODE_FIELDS_FRAGMENT = gql`
7798
7798
  qrCode {
7799
7799
  ...ResourceImageFields
7800
7800
  }
7801
+ shareableQrCode {
7802
+ ...ResourceImageFields
7803
+ }
7801
7804
  }
7802
7805
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
7803
7806
  `;
@@ -7924,14 +7927,6 @@ var GET_COUPON = gql`
7924
7927
  }
7925
7928
  ${COUPON}
7926
7929
  `;
7927
- var GET_RESOURCE_COUPONS = gql`
7928
- query getResourceCoupons($resourceId: ID!, $resourceType: ResourceTypeEnum!) {
7929
- resourceCoupons(resourceId: $resourceId, resourceType: $resourceType) {
7930
- ...CouponFields
7931
- }
7932
- }
7933
- ${COUPON}
7934
- `;
7935
7930
  var CREATE_COUPON_MUTATION = gql`
7936
7931
  mutation createCoupon($input: CouponInputType!) {
7937
7932
  createCoupon(input: $input) {
@@ -9161,7 +9156,8 @@ var couponRewardSchema = new MongooseSchema13(
9161
9156
  var couponCodeSchema = new MongooseSchema13(
9162
9157
  {
9163
9158
  code: { required: true, type: String },
9164
- qrCode: { required: true, type: ResourceImageTypeSchema }
9159
+ qrCode: { required: true, type: ResourceImageTypeSchema },
9160
+ shareableQrCode: { required: true, type: ResourceImageTypeSchema }
9165
9161
  },
9166
9162
  { _id: false }
9167
9163
  );
@@ -9980,7 +9976,7 @@ var SHARE_RESOURCE_LABEL2 = {
9980
9976
  school: "School"
9981
9977
  };
9982
9978
 
9983
- // node_modules/@timardex/cluemart-shared/dist/chunk-3HRC67D3.mjs
9979
+ // node_modules/@timardex/cluemart-shared/dist/chunk-Q3X2EHHF.mjs
9984
9980
  var PROMO_CODE_PREFIX2 = "CM-";
9985
9981
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
9986
9982
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10082,7 +10078,7 @@ var gameScreenIdentifierList2 = [
10082
10078
  }
10083
10079
  ];
10084
10080
 
10085
- // node_modules/@timardex/cluemart-shared/dist/chunk-E7KKXQDI.mjs
10081
+ // node_modules/@timardex/cluemart-shared/dist/chunk-UGWEWOUM.mjs
10086
10082
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10087
10083
  var statusOptions2 = [
10088
10084
  ...Object.values(EnumInviteStatus2).map((status) => ({