@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/{chunk-FU5WYLJ6.mjs → chunk-VW2V67YM.mjs} +5 -4
- package/dist/chunk-VW2V67YM.mjs.map +1 -0
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +4 -3
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +4 -3
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-FU5WYLJ6.mjs.map +0 -1
|
@@ -3282,6 +3282,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
3282
3282
|
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_PARTNER"] = "added_as_associate_partner";
|
|
3283
3283
|
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_VENDOR"] = "added_as_associate_vendor";
|
|
3284
3284
|
EnumNotificationResourceType22["APPROVED_AFFILIATE"] = "approved_affiliate";
|
|
3285
|
+
EnumNotificationResourceType22["AFFILIATE_REWARD_RECEIVED"] = "affiliate_reward_received";
|
|
3285
3286
|
EnumNotificationResourceType22["APPROVED_EVENT"] = "approved_event";
|
|
3286
3287
|
EnumNotificationResourceType22["APPROVED_PARTNER"] = "approved_partner";
|
|
3287
3288
|
EnumNotificationResourceType22["APPROVED_SCHOOL"] = "approved_school";
|
|
@@ -8283,7 +8284,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
8283
8284
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
8284
8285
|
var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
|
|
8285
8286
|
|
|
8286
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
8287
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-LETM2YHF.mjs
|
|
8287
8288
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
8288
8289
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
8289
8290
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -9106,7 +9107,7 @@ var campaignsSchema = new MongooseSchema24(
|
|
|
9106
9107
|
var schema16 = new MongooseSchema24(
|
|
9107
9108
|
{
|
|
9108
9109
|
// New schools are active by default
|
|
9109
|
-
active: { default:
|
|
9110
|
+
active: { default: false, required: true, type: Boolean },
|
|
9110
9111
|
campaigns: { required: false, type: [campaignsSchema] },
|
|
9111
9112
|
contactDetails: { required: false, type: ContactDetailsSchema },
|
|
9112
9113
|
deletedAt: { default: null, required: false, type: Date },
|
|
@@ -9180,7 +9181,7 @@ var affiliateResourceSchema = new MongooseSchema25(
|
|
|
9180
9181
|
);
|
|
9181
9182
|
var schema17 = new MongooseSchema25(
|
|
9182
9183
|
{
|
|
9183
|
-
active: { default:
|
|
9184
|
+
active: { default: false, required: true, type: Boolean },
|
|
9184
9185
|
affiliateCode: { required: true, type: String },
|
|
9185
9186
|
affiliateResources: {
|
|
9186
9187
|
default: [],
|
|
@@ -9256,4 +9257,4 @@ export {
|
|
|
9256
9257
|
SchoolModel,
|
|
9257
9258
|
AffiliateModel
|
|
9258
9259
|
};
|
|
9259
|
-
//# sourceMappingURL=chunk-
|
|
9260
|
+
//# sourceMappingURL=chunk-VW2V67YM.mjs.map
|