@timardex/cluemart-server-shared 1.0.273 → 1.0.274

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
@@ -3372,6 +3372,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
3372
3372
  EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_PARTNER"] = "added_as_associate_partner";
3373
3373
  EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_VENDOR"] = "added_as_associate_vendor";
3374
3374
  EnumNotificationResourceType22["APPROVED_AFFILIATE"] = "approved_affiliate";
3375
+ EnumNotificationResourceType22["AFFILIATE_REWARD_RECEIVED"] = "affiliate_reward_received";
3375
3376
  EnumNotificationResourceType22["APPROVED_EVENT"] = "approved_event";
3376
3377
  EnumNotificationResourceType22["APPROVED_PARTNER"] = "approved_partner";
3377
3378
  EnumNotificationResourceType22["APPROVED_SCHOOL"] = "approved_school";
@@ -8373,7 +8374,7 @@ schema4.index({ isRead: 1, userId: 1 });
8373
8374
  schema4.index({ createdAt: -1, userId: 1 });
8374
8375
  var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
8375
8376
 
8376
- // node_modules/@timardex/cluemart-shared/dist/chunk-6N32BPAG.mjs
8377
+ // node_modules/@timardex/cluemart-shared/dist/chunk-LETM2YHF.mjs
8377
8378
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
8378
8379
  EnumOSPlatform22["ANDROID"] = "android";
8379
8380
  EnumOSPlatform22["IOS"] = "ios";
@@ -9196,7 +9197,7 @@ var campaignsSchema = new MongooseSchema24(
9196
9197
  var schema16 = new MongooseSchema24(
9197
9198
  {
9198
9199
  // New schools are active by default
9199
- active: { default: true, required: true, type: Boolean },
9200
+ active: { default: false, required: true, type: Boolean },
9200
9201
  campaigns: { required: false, type: [campaignsSchema] },
9201
9202
  contactDetails: { required: false, type: ContactDetailsSchema },
9202
9203
  deletedAt: { default: null, required: false, type: Date },
@@ -9270,7 +9271,7 @@ var affiliateResourceSchema = new MongooseSchema25(
9270
9271
  );
9271
9272
  var schema17 = new MongooseSchema25(
9272
9273
  {
9273
- active: { default: true, required: true, type: Boolean },
9274
+ active: { default: false, required: true, type: Boolean },
9274
9275
  affiliateCode: { required: true, type: String },
9275
9276
  affiliateResources: {
9276
9277
  default: [],