@timardex/cluemart-server-shared 1.0.270 → 1.0.272

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.
@@ -3357,8 +3357,10 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
3357
3357
  EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_EVENT"] = "added_as_associate_event";
3358
3358
  EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_PARTNER"] = "added_as_associate_partner";
3359
3359
  EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_VENDOR"] = "added_as_associate_vendor";
3360
+ EnumNotificationResourceType22["APPROVED_AFFILIATE"] = "approved_affiliate";
3360
3361
  EnumNotificationResourceType22["APPROVED_EVENT"] = "approved_event";
3361
3362
  EnumNotificationResourceType22["APPROVED_PARTNER"] = "approved_partner";
3363
+ EnumNotificationResourceType22["APPROVED_SCHOOL"] = "approved_school";
3362
3364
  EnumNotificationResourceType22["APPROVED_VENDOR"] = "approved_vendor";
3363
3365
  EnumNotificationResourceType22["CREATED_EVENT"] = "created_event";
3364
3366
  EnumNotificationResourceType22["CREATED_PARTNER"] = "created_partner";
@@ -3622,7 +3624,6 @@ var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
3622
3624
  var EnumAffiliateRewardType = /* @__PURE__ */ ((EnumAffiliateRewardType2) => {
3623
3625
  EnumAffiliateRewardType2["NEW_EVENT_REGISTRATION"] = "NEW_EVENT_REGISTRATION";
3624
3626
  EnumAffiliateRewardType2["NEW_VENDOR_REGISTRATION"] = "NEW_VENDOR_REGISTRATION";
3625
- EnumAffiliateRewardType2["NEW_PARTNER_REGISTRATION"] = "NEW_PARTNER_REGISTRATION";
3626
3627
  return EnumAffiliateRewardType2;
3627
3628
  })(EnumAffiliateRewardType || {});
3628
3629
  var mapArrayToOptions = (items) => items.map((item) => ({
@@ -7448,6 +7449,7 @@ var AFFILIATE_RESOURCE_FIELDS_FRAGMENT = gql`
7448
7449
  fragment AffiliateResourceFields on AffiliateResourceType {
7449
7450
  resourceActive
7450
7451
  resourceId
7452
+ resourceName
7451
7453
  resourceType
7452
7454
  rewards {
7453
7455
  ...AffiliateRewardFields
@@ -7598,7 +7600,8 @@ var RESOURCE_SHARE_TYPES = [
7598
7600
  "market",
7599
7601
  "stallholder",
7600
7602
  "partner",
7601
- "affiliate"
7603
+ "affiliate",
7604
+ "school"
7602
7605
  ];
7603
7606
  var POST_SHARE_RESOURCE_TYPES = [
7604
7607
  "market_faces",
@@ -7614,7 +7617,8 @@ var SHARE_RESOURCE_LABEL = {
7614
7617
  market: "Market",
7615
7618
  partner: "Partner",
7616
7619
  stallholder: "Stallholder",
7617
- affiliate: "Affiliate"
7620
+ affiliate: "Affiliate",
7621
+ school: "School"
7618
7622
  };
7619
7623
  var PUBLIC_SHARE_PATH_TYPES = [
7620
7624
  ...RESOURCE_SHARE_TYPES,
@@ -8353,7 +8357,7 @@ schema4.index({ isRead: 1, userId: 1 });
8353
8357
  schema4.index({ createdAt: -1, userId: 1 });
8354
8358
  var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
8355
8359
 
8356
- // node_modules/@timardex/cluemart-shared/dist/chunk-I2V5GDNE.mjs
8360
+ // node_modules/@timardex/cluemart-shared/dist/chunk-6N32BPAG.mjs
8357
8361
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
8358
8362
  EnumOSPlatform22["ANDROID"] = "android";
8359
8363
  EnumOSPlatform22["IOS"] = "ios";
@@ -9229,6 +9233,7 @@ var affiliateResourceSchema = new MongooseSchema25(
9229
9233
  required: true,
9230
9234
  type: import_mongoose25.default.Schema.Types.ObjectId
9231
9235
  },
9236
+ resourceName: { required: true, type: String },
9232
9237
  resourceType: {
9233
9238
  enum: Object.values(EnumResourceType),
9234
9239
  required: true,