@timardex/cluemart-server-shared 1.1.18 → 1.1.19

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
@@ -7941,8 +7941,16 @@ var CREATE_COUPON_MUTATION = gql`
7941
7941
  ${COUPON}
7942
7942
  `;
7943
7943
  var UPDATE_COUPON_MUTATION = gql`
7944
- mutation updateCoupon($_id: ID!, $input: CouponInputType!) {
7945
- updateCoupon(_id: $_id, input: $input) {
7944
+ mutation updateCoupon(
7945
+ $couponDocumentId: ID!
7946
+ $couponId: ID!
7947
+ $input: CouponInputType!
7948
+ ) {
7949
+ updateCoupon(
7950
+ couponDocumentId: $couponDocumentId
7951
+ couponId: $couponId
7952
+ input: $input
7953
+ ) {
7946
7954
  data {
7947
7955
  ...CouponFields
7948
7956
  }
@@ -7952,8 +7960,8 @@ var UPDATE_COUPON_MUTATION = gql`
7952
7960
  ${COUPON}
7953
7961
  `;
7954
7962
  var DELETE_COUPON_MUTATION = gql`
7955
- mutation deleteCoupon($_id: ID!) {
7956
- deleteCoupon(_id: $_id) {
7963
+ mutation deleteCoupon($couponDocumentId: ID!, $couponId: ID!) {
7964
+ deleteCoupon(couponDocumentId: $couponDocumentId, couponId: $couponId) {
7957
7965
  data
7958
7966
  message
7959
7967
  }
@@ -9219,7 +9227,7 @@ var vendorProductTypeSchema = new MongooseSchema14(
9219
9227
  );
9220
9228
  var productWrapperSchema = new MongooseSchema14(
9221
9229
  {
9222
- active: { default: false, required: true, type: Boolean },
9230
+ active: { default: false, required: false, type: Boolean },
9223
9231
  productsList: { required: false, type: [vendorProductTypeSchema] }
9224
9232
  },
9225
9233
  { _id: false }
@@ -9969,7 +9977,7 @@ var SHARE_RESOURCE_LABEL2 = {
9969
9977
  school: "School"
9970
9978
  };
9971
9979
 
9972
- // node_modules/@timardex/cluemart-shared/dist/chunk-UV5GH6NI.mjs
9980
+ // node_modules/@timardex/cluemart-shared/dist/chunk-OH7ZORGB.mjs
9973
9981
  var PROMO_CODE_PREFIX2 = "CM-";
9974
9982
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
9975
9983
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10071,7 +10079,7 @@ var gameScreenIdentifierList2 = [
10071
10079
  }
10072
10080
  ];
10073
10081
 
10074
- // node_modules/@timardex/cluemart-shared/dist/chunk-3UYXNSNB.mjs
10082
+ // node_modules/@timardex/cluemart-shared/dist/chunk-IH3BEKPK.mjs
10075
10083
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10076
10084
  var statusOptions2 = [
10077
10085
  ...Object.values(EnumInviteStatus2).map((status) => ({