@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.
package/dist/index.mjs CHANGED
@@ -3239,6 +3239,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor22) => {
3239
3239
  return EnumFoodFlavor22;
3240
3240
  })(EnumFoodFlavor || {});
3241
3241
  var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
3242
+ EnumResourceType22["AFFILIATE"] = "affiliate";
3242
3243
  EnumResourceType22["EVENT"] = "event";
3243
3244
  EnumResourceType22["VENDOR"] = "vendor";
3244
3245
  EnumResourceType22["PARTNER"] = "partner";
@@ -3341,6 +3342,7 @@ var EnumUserLicence = /* @__PURE__ */ ((EnumUserLicence22) => {
3341
3342
  EnumUserLicence22["STANDARD_EVENT"] = "standard_event";
3342
3343
  EnumUserLicence22["STANDARD_VENDOR"] = "standard_vendor";
3343
3344
  EnumUserLicence22["STANDARD_PARTNER"] = "standard_partner";
3345
+ EnumUserLicence22["STANDARD_AFFILIATE"] = "standard_affiliate";
3344
3346
  return EnumUserLicence22;
3345
3347
  })(EnumUserLicence || {});
3346
3348
  var EnumUserRole = /* @__PURE__ */ ((EnumUserRole22) => {
@@ -8273,7 +8275,7 @@ schema4.index({ isRead: 1, userId: 1 });
8273
8275
  schema4.index({ createdAt: -1, userId: 1 });
8274
8276
  var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
8275
8277
 
8276
- // node_modules/@timardex/cluemart-shared/dist/chunk-KZTOISPA.mjs
8278
+ // node_modules/@timardex/cluemart-shared/dist/chunk-2RPU74Z4.mjs
8277
8279
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
8278
8280
  EnumOSPlatform22["ANDROID"] = "android";
8279
8281
  EnumOSPlatform22["IOS"] = "ios";
@@ -9183,7 +9185,7 @@ var schema17 = new MongooseSchema25(
9183
9185
  schema17.index(
9184
9186
  { affiliateCode: 1 },
9185
9187
  {
9186
- partialFilterExpression: { deletedAt: null },
9188
+ partialFilterExpression: { active: true, deletedAt: null },
9187
9189
  unique: true
9188
9190
  }
9189
9191
  );