@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.
package/dist/index.cjs CHANGED
@@ -3700,6 +3700,7 @@ var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
3700
3700
  })(EnumGameType || {});
3701
3701
  var EnumAffiliateRewardType = /* @__PURE__ */ ((EnumAffiliateRewardType2) => {
3702
3702
  EnumAffiliateRewardType2["ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS"] = "ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS";
3703
+ EnumAffiliateRewardType2["ACTIVE_VENDOR_BONUS_REWARD"] = "ACTIVE_VENDOR_BONUS_REWARD";
3703
3704
  EnumAffiliateRewardType2["ACTIVE_VENDOR_PRO_SUBSCRIPTION"] = "ACTIVE_VENDOR_PRO_SUBSCRIPTION";
3704
3705
  EnumAffiliateRewardType2["ACTIVE_VENDOR_STANDARD_SUBSCRIPTION"] = "ACTIVE_VENDOR_STANDARD_SUBSCRIPTION";
3705
3706
  EnumAffiliateRewardType2["NEW_EVENT_REGISTRATION"] = "NEW_EVENT_REGISTRATION";
@@ -7548,6 +7549,9 @@ var AFFILIATE_FIELDS_FRAGMENT = gql`
7548
7549
  fragment AffiliateFields on AffiliateType {
7549
7550
  _id
7550
7551
  active
7552
+ affiliateBonusRewards {
7553
+ ...AffiliateRewardFields
7554
+ }
7551
7555
  affiliateCode
7552
7556
  affiliateDetails {
7553
7557
  ...AffiliateDetailsFields
@@ -9346,6 +9350,11 @@ var affiliateDetailsSchema = new MongooseSchema25(
9346
9350
  var schema17 = new MongooseSchema25(
9347
9351
  {
9348
9352
  active: { default: false, required: true, type: Boolean },
9353
+ affiliateBonusRewards: {
9354
+ default: [],
9355
+ required: false,
9356
+ type: [affiliateRewardSchema]
9357
+ },
9349
9358
  affiliateCode: { required: true, type: String },
9350
9359
  affiliateDetails: { required: false, type: affiliateDetailsSchema },
9351
9360
  affiliateResources: {