@timardex/cluemart-server-shared 1.0.280 → 1.0.281

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.
@@ -3684,6 +3684,7 @@ var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
3684
3684
  })(EnumGameType || {});
3685
3685
  var EnumAffiliateRewardType = /* @__PURE__ */ ((EnumAffiliateRewardType2) => {
3686
3686
  EnumAffiliateRewardType2["ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS"] = "ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS";
3687
+ EnumAffiliateRewardType2["ACTIVE_VENDOR_BONUS_REWARD"] = "ACTIVE_VENDOR_BONUS_REWARD";
3687
3688
  EnumAffiliateRewardType2["ACTIVE_VENDOR_PRO_SUBSCRIPTION"] = "ACTIVE_VENDOR_PRO_SUBSCRIPTION";
3688
3689
  EnumAffiliateRewardType2["ACTIVE_VENDOR_STANDARD_SUBSCRIPTION"] = "ACTIVE_VENDOR_STANDARD_SUBSCRIPTION";
3689
3690
  EnumAffiliateRewardType2["NEW_EVENT_REGISTRATION"] = "NEW_EVENT_REGISTRATION";
@@ -7532,6 +7533,9 @@ var AFFILIATE_FIELDS_FRAGMENT = gql`
7532
7533
  fragment AffiliateFields on AffiliateType {
7533
7534
  _id
7534
7535
  active
7536
+ affiliateBonusRewards {
7537
+ ...AffiliateRewardFields
7538
+ }
7535
7539
  affiliateCode
7536
7540
  affiliateDetails {
7537
7541
  ...AffiliateDetailsFields
@@ -9330,6 +9334,11 @@ var affiliateDetailsSchema = new MongooseSchema25(
9330
9334
  var schema17 = new MongooseSchema25(
9331
9335
  {
9332
9336
  active: { default: false, required: true, type: Boolean },
9337
+ affiliateBonusRewards: {
9338
+ default: [],
9339
+ required: false,
9340
+ type: [affiliateRewardSchema]
9341
+ },
9333
9342
  affiliateCode: { required: true, type: String },
9334
9343
  affiliateDetails: { required: false, type: affiliateDetailsSchema },
9335
9344
  affiliateResources: {