@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.
@@ -42,7 +42,7 @@ import {
42
42
  termsAgreementSchema,
43
43
  userLicenseSchema,
44
44
  vendorProductTypeSchema
45
- } from "../chunk-TDAUQKK7.mjs";
45
+ } from "../chunk-XOFBUTNJ.mjs";
46
46
  export {
47
47
  APP_SETTINGS_ID,
48
48
  AdModel,
@@ -7895,8 +7895,16 @@ var CREATE_COUPON_MUTATION = gql`
7895
7895
  ${COUPON}
7896
7896
  `;
7897
7897
  var UPDATE_COUPON_MUTATION = gql`
7898
- mutation updateCoupon($_id: ID!, $input: CouponInputType!) {
7899
- updateCoupon(_id: $_id, input: $input) {
7898
+ mutation updateCoupon(
7899
+ $couponDocumentId: ID!
7900
+ $couponId: ID!
7901
+ $input: CouponInputType!
7902
+ ) {
7903
+ updateCoupon(
7904
+ couponDocumentId: $couponDocumentId
7905
+ couponId: $couponId
7906
+ input: $input
7907
+ ) {
7900
7908
  data {
7901
7909
  ...CouponFields
7902
7910
  }
@@ -7906,8 +7914,8 @@ var UPDATE_COUPON_MUTATION = gql`
7906
7914
  ${COUPON}
7907
7915
  `;
7908
7916
  var DELETE_COUPON_MUTATION = gql`
7909
- mutation deleteCoupon($_id: ID!) {
7910
- deleteCoupon(_id: $_id) {
7917
+ mutation deleteCoupon($couponDocumentId: ID!, $couponId: ID!) {
7918
+ deleteCoupon(couponDocumentId: $couponDocumentId, couponId: $couponId) {
7911
7919
  data
7912
7920
  message
7913
7921
  }
@@ -9173,7 +9181,7 @@ var vendorProductTypeSchema = new MongooseSchema14(
9173
9181
  );
9174
9182
  var productWrapperSchema = new MongooseSchema14(
9175
9183
  {
9176
- active: { default: false, required: true, type: Boolean },
9184
+ active: { default: false, required: false, type: Boolean },
9177
9185
  productsList: { required: false, type: [vendorProductTypeSchema] }
9178
9186
  },
9179
9187
  { _id: false }
@@ -9923,7 +9931,7 @@ var SHARE_RESOURCE_LABEL2 = {
9923
9931
  school: "School"
9924
9932
  };
9925
9933
 
9926
- // node_modules/@timardex/cluemart-shared/dist/chunk-UV5GH6NI.mjs
9934
+ // node_modules/@timardex/cluemart-shared/dist/chunk-OH7ZORGB.mjs
9927
9935
  var PROMO_CODE_PREFIX2 = "CM-";
9928
9936
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
9929
9937
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10025,7 +10033,7 @@ var gameScreenIdentifierList2 = [
10025
10033
  }
10026
10034
  ];
10027
10035
 
10028
- // node_modules/@timardex/cluemart-shared/dist/chunk-3UYXNSNB.mjs
10036
+ // node_modules/@timardex/cluemart-shared/dist/chunk-IH3BEKPK.mjs
10029
10037
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10030
10038
  var statusOptions2 = [
10031
10039
  ...Object.values(EnumInviteStatus2).map((status) => ({