@timardex/cluemart-server-shared 1.0.265 → 1.0.267

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.
@@ -3315,6 +3315,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor22) => {
3315
3315
  return EnumFoodFlavor22;
3316
3316
  })(EnumFoodFlavor || {});
3317
3317
  var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
3318
+ EnumResourceType22["AFFILIATE"] = "affiliate";
3318
3319
  EnumResourceType22["EVENT"] = "event";
3319
3320
  EnumResourceType22["VENDOR"] = "vendor";
3320
3321
  EnumResourceType22["PARTNER"] = "partner";
@@ -3417,6 +3418,7 @@ var EnumUserLicence = /* @__PURE__ */ ((EnumUserLicence22) => {
3417
3418
  EnumUserLicence22["STANDARD_EVENT"] = "standard_event";
3418
3419
  EnumUserLicence22["STANDARD_VENDOR"] = "standard_vendor";
3419
3420
  EnumUserLicence22["STANDARD_PARTNER"] = "standard_partner";
3421
+ EnumUserLicence22["STANDARD_AFFILIATE"] = "standard_affiliate";
3420
3422
  return EnumUserLicence22;
3421
3423
  })(EnumUserLicence || {});
3422
3424
  var EnumUserRole = /* @__PURE__ */ ((EnumUserRole22) => {
@@ -8347,7 +8349,7 @@ schema4.index({ isRead: 1, userId: 1 });
8347
8349
  schema4.index({ createdAt: -1, userId: 1 });
8348
8350
  var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
8349
8351
 
8350
- // node_modules/@timardex/cluemart-shared/dist/chunk-KZTOISPA.mjs
8352
+ // node_modules/@timardex/cluemart-shared/dist/chunk-2RPU74Z4.mjs
8351
8353
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
8352
8354
  EnumOSPlatform22["ANDROID"] = "android";
8353
8355
  EnumOSPlatform22["IOS"] = "ios";
@@ -9257,7 +9259,7 @@ var schema17 = new MongooseSchema25(
9257
9259
  schema17.index(
9258
9260
  { affiliateCode: 1 },
9259
9261
  {
9260
- partialFilterExpression: { deletedAt: null },
9262
+ partialFilterExpression: { active: true, deletedAt: null },
9261
9263
  unique: true
9262
9264
  }
9263
9265
  );