@timardex/cluemart-server-shared 1.0.271 → 1.0.273
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-LV2G5CMJ.mjs → chunk-FU5WYLJ6.mjs} +11 -3
- package/dist/chunk-FU5WYLJ6.mjs.map +1 -0
- package/dist/index.cjs +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +10 -2
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +10 -2
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +10 -2
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-LV2G5CMJ.mjs.map +0 -1
|
@@ -3281,8 +3281,10 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
3281
3281
|
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_EVENT"] = "added_as_associate_event";
|
|
3282
3282
|
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_PARTNER"] = "added_as_associate_partner";
|
|
3283
3283
|
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_VENDOR"] = "added_as_associate_vendor";
|
|
3284
|
+
EnumNotificationResourceType22["APPROVED_AFFILIATE"] = "approved_affiliate";
|
|
3284
3285
|
EnumNotificationResourceType22["APPROVED_EVENT"] = "approved_event";
|
|
3285
3286
|
EnumNotificationResourceType22["APPROVED_PARTNER"] = "approved_partner";
|
|
3287
|
+
EnumNotificationResourceType22["APPROVED_SCHOOL"] = "approved_school";
|
|
3286
3288
|
EnumNotificationResourceType22["APPROVED_VENDOR"] = "approved_vendor";
|
|
3287
3289
|
EnumNotificationResourceType22["CREATED_EVENT"] = "created_event";
|
|
3288
3290
|
EnumNotificationResourceType22["CREATED_PARTNER"] = "created_partner";
|
|
@@ -3546,7 +3548,6 @@ var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|
|
|
3546
3548
|
var EnumAffiliateRewardType = /* @__PURE__ */ ((EnumAffiliateRewardType2) => {
|
|
3547
3549
|
EnumAffiliateRewardType2["NEW_EVENT_REGISTRATION"] = "NEW_EVENT_REGISTRATION";
|
|
3548
3550
|
EnumAffiliateRewardType2["NEW_VENDOR_REGISTRATION"] = "NEW_VENDOR_REGISTRATION";
|
|
3549
|
-
EnumAffiliateRewardType2["NEW_PARTNER_REGISTRATION"] = "NEW_PARTNER_REGISTRATION";
|
|
3550
3551
|
return EnumAffiliateRewardType2;
|
|
3551
3552
|
})(EnumAffiliateRewardType || {});
|
|
3552
3553
|
var mapArrayToOptions = (items) => items.map((item) => ({
|
|
@@ -7374,6 +7375,7 @@ var AFFILIATE_RESOURCE_FIELDS_FRAGMENT = gql`
|
|
|
7374
7375
|
fragment AffiliateResourceFields on AffiliateResourceType {
|
|
7375
7376
|
resourceActive
|
|
7376
7377
|
resourceId
|
|
7378
|
+
resourceName
|
|
7377
7379
|
resourceType
|
|
7378
7380
|
rewards {
|
|
7379
7381
|
...AffiliateRewardFields
|
|
@@ -8281,7 +8283,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
8281
8283
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
8282
8284
|
var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
|
|
8283
8285
|
|
|
8284
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
8286
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-6N32BPAG.mjs
|
|
8285
8287
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
8286
8288
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
8287
8289
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -8452,6 +8454,11 @@ var schema7 = new MongooseSchema11(
|
|
|
8452
8454
|
},
|
|
8453
8455
|
deletedAt: { default: null, required: false, type: Date },
|
|
8454
8456
|
email: { required: true, type: String },
|
|
8457
|
+
emailSentFor: {
|
|
8458
|
+
enum: Object.values(EnumNotificationResourceType),
|
|
8459
|
+
required: false,
|
|
8460
|
+
type: [String]
|
|
8461
|
+
},
|
|
8455
8462
|
events: {
|
|
8456
8463
|
ref: "Event",
|
|
8457
8464
|
required: false,
|
|
@@ -9157,6 +9164,7 @@ var affiliateResourceSchema = new MongooseSchema25(
|
|
|
9157
9164
|
required: true,
|
|
9158
9165
|
type: mongoose25.Schema.Types.ObjectId
|
|
9159
9166
|
},
|
|
9167
|
+
resourceName: { required: true, type: String },
|
|
9160
9168
|
resourceType: {
|
|
9161
9169
|
enum: Object.values(EnumResourceType),
|
|
9162
9170
|
required: true,
|
|
@@ -9248,4 +9256,4 @@ export {
|
|
|
9248
9256
|
SchoolModel,
|
|
9249
9257
|
AffiliateModel
|
|
9250
9258
|
};
|
|
9251
|
-
//# sourceMappingURL=chunk-
|
|
9259
|
+
//# sourceMappingURL=chunk-FU5WYLJ6.mjs.map
|