@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.
@@ -40,7 +40,7 @@ import {
40
40
  socialShareResourceSchema,
41
41
  termsAgreementSchema,
42
42
  userLicenseSchema
43
- } from "../chunk-FU5WYLJ6.mjs";
43
+ } from "../chunk-VW2V67YM.mjs";
44
44
  export {
45
45
  APP_SETTINGS_ID,
46
46
  AdModel,
@@ -3353,6 +3353,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
3353
3353
  EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_PARTNER"] = "added_as_associate_partner";
3354
3354
  EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_VENDOR"] = "added_as_associate_vendor";
3355
3355
  EnumNotificationResourceType22["APPROVED_AFFILIATE"] = "approved_affiliate";
3356
+ EnumNotificationResourceType22["AFFILIATE_REWARD_RECEIVED"] = "affiliate_reward_received";
3356
3357
  EnumNotificationResourceType22["APPROVED_EVENT"] = "approved_event";
3357
3358
  EnumNotificationResourceType22["APPROVED_PARTNER"] = "approved_partner";
3358
3359
  EnumNotificationResourceType22["APPROVED_SCHOOL"] = "approved_school";
@@ -7689,7 +7690,7 @@ async function saveNotificationsInDb(payload) {
7689
7690
  // src/service/sendPushNotifications.ts
7690
7691
  var import_expo_server_sdk = require("expo-server-sdk");
7691
7692
 
7692
- // node_modules/@timardex/cluemart-shared/dist/chunk-6N32BPAG.mjs
7693
+ // node_modules/@timardex/cluemart-shared/dist/chunk-LETM2YHF.mjs
7693
7694
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
7694
7695
  EnumOSPlatform22["ANDROID"] = "android";
7695
7696
  EnumOSPlatform22["IOS"] = "ios";
@@ -9312,7 +9313,7 @@ var campaignsSchema = new MongooseSchema24(
9312
9313
  var schema16 = new MongooseSchema24(
9313
9314
  {
9314
9315
  // New schools are active by default
9315
- active: { default: true, required: true, type: Boolean },
9316
+ active: { default: false, required: true, type: Boolean },
9316
9317
  campaigns: { required: false, type: [campaignsSchema] },
9317
9318
  contactDetails: { required: false, type: ContactDetailsSchema },
9318
9319
  deletedAt: { default: null, required: false, type: Date },
@@ -9386,7 +9387,7 @@ var affiliateResourceSchema = new MongooseSchema25(
9386
9387
  );
9387
9388
  var schema17 = new MongooseSchema25(
9388
9389
  {
9389
- active: { default: true, required: true, type: Boolean },
9390
+ active: { default: false, required: true, type: Boolean },
9390
9391
  affiliateCode: { required: true, type: String },
9391
9392
  affiliateResources: {
9392
9393
  default: [],