@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.
@@ -3358,6 +3358,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
3358
3358
  EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_PARTNER"] = "added_as_associate_partner";
3359
3359
  EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_VENDOR"] = "added_as_associate_vendor";
3360
3360
  EnumNotificationResourceType22["APPROVED_AFFILIATE"] = "approved_affiliate";
3361
+ EnumNotificationResourceType22["AFFILIATE_REWARD_RECEIVED"] = "affiliate_reward_received";
3361
3362
  EnumNotificationResourceType22["APPROVED_EVENT"] = "approved_event";
3362
3363
  EnumNotificationResourceType22["APPROVED_PARTNER"] = "approved_partner";
3363
3364
  EnumNotificationResourceType22["APPROVED_SCHOOL"] = "approved_school";
@@ -8357,7 +8358,7 @@ schema4.index({ isRead: 1, userId: 1 });
8357
8358
  schema4.index({ createdAt: -1, userId: 1 });
8358
8359
  var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
8359
8360
 
8360
- // node_modules/@timardex/cluemart-shared/dist/chunk-6N32BPAG.mjs
8361
+ // node_modules/@timardex/cluemart-shared/dist/chunk-LETM2YHF.mjs
8361
8362
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
8362
8363
  EnumOSPlatform22["ANDROID"] = "android";
8363
8364
  EnumOSPlatform22["IOS"] = "ios";
@@ -9180,7 +9181,7 @@ var campaignsSchema = new MongooseSchema24(
9180
9181
  var schema16 = new MongooseSchema24(
9181
9182
  {
9182
9183
  // New schools are active by default
9183
- active: { default: true, required: true, type: Boolean },
9184
+ active: { default: false, required: true, type: Boolean },
9184
9185
  campaigns: { required: false, type: [campaignsSchema] },
9185
9186
  contactDetails: { required: false, type: ContactDetailsSchema },
9186
9187
  deletedAt: { default: null, required: false, type: Date },
@@ -9254,7 +9255,7 @@ var affiliateResourceSchema = new MongooseSchema25(
9254
9255
  );
9255
9256
  var schema17 = new MongooseSchema25(
9256
9257
  {
9257
- active: { default: true, required: true, type: Boolean },
9258
+ active: { default: false, required: true, type: Boolean },
9258
9259
  affiliateCode: { required: true, type: String },
9259
9260
  affiliateResources: {
9260
9261
  default: [],