@timardex/cluemart-server-shared 1.0.302 → 1.0.303

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.
@@ -7395,6 +7395,38 @@ var REDEEM_AFFILIATE_REWARD_MUTATION = gql`
7395
7395
  }
7396
7396
  ${AFFILIATE_FIELDS_FRAGMENT}
7397
7397
  `;
7398
+ var ASSIGN_AFFILIATE_RESOURCE_REWARD_MUTATION = gql`
7399
+ mutation assignAffiliateResourceReward(
7400
+ $affiliateId: ID!
7401
+ $resourceId: ID!
7402
+ $resourceType: ResourceTypeEnum!
7403
+ $rewardType: AffiliateRewardEnumType!
7404
+ ) {
7405
+ assignAffiliateResourceReward(
7406
+ affiliateId: $affiliateId
7407
+ resourceId: $resourceId
7408
+ resourceType: $resourceType
7409
+ rewardType: $rewardType
7410
+ ) {
7411
+ ...AffiliateFields
7412
+ }
7413
+ }
7414
+ ${AFFILIATE_FIELDS_FRAGMENT}
7415
+ `;
7416
+ var ASSIGN_AFFILIATE_BONUS_REWARD_MUTATION = gql`
7417
+ mutation assignAffiliateBonusReward(
7418
+ $affiliateId: ID!
7419
+ $rewardType: AffiliateRewardEnumType!
7420
+ ) {
7421
+ assignAffiliateBonusReward(
7422
+ affiliateId: $affiliateId
7423
+ rewardType: $rewardType
7424
+ ) {
7425
+ ...AffiliateFields
7426
+ }
7427
+ }
7428
+ ${AFFILIATE_FIELDS_FRAGMENT}
7429
+ `;
7398
7430
  var PKG = "@timardex/cluemart-shared";
7399
7431
  var IMAGE_EXTENSION = ".webp";
7400
7432
  var posterIds = [
@@ -8197,12 +8229,60 @@ schema4.index({ createdAt: -1, userId: 1 });
8197
8229
  var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
8198
8230
 
8199
8231
  // node_modules/@timardex/cluemart-shared/dist/chunk-X3OLM35T.mjs
8232
+ var EnumInviteStatus2 = /* @__PURE__ */ ((EnumInviteStatus22) => {
8233
+ EnumInviteStatus22["ACCEPTED"] = "Accepted";
8234
+ EnumInviteStatus22["COMPLETED"] = "Completed";
8235
+ EnumInviteStatus22["EXPIRED"] = "Expired";
8236
+ EnumInviteStatus22["NO_STATUS"] = "No_Status";
8237
+ EnumInviteStatus22["PENDING"] = "Pending";
8238
+ EnumInviteStatus22["REJECTED"] = "Rejected";
8239
+ EnumInviteStatus22["UNAVAILABLE"] = "Unavailable";
8240
+ return EnumInviteStatus22;
8241
+ })(EnumInviteStatus2 || {});
8242
+ var EnumPaymentMethod2 = /* @__PURE__ */ ((EnumPaymentMethod22) => {
8243
+ EnumPaymentMethod22["CASH"] = "cash";
8244
+ EnumPaymentMethod22["EFTPOS"] = "eftpos";
8245
+ EnumPaymentMethod22["BANK_TRANSFER"] = "bank_transfer";
8246
+ EnumPaymentMethod22["PAYPAL"] = "paypal";
8247
+ EnumPaymentMethod22["STRIPE"] = "stripe";
8248
+ return EnumPaymentMethod22;
8249
+ })(EnumPaymentMethod2 || {});
8200
8250
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
8201
8251
  EnumOSPlatform22["ANDROID"] = "android";
8202
8252
  EnumOSPlatform22["IOS"] = "ios";
8203
8253
  EnumOSPlatform22["WEB"] = "web";
8204
8254
  return EnumOSPlatform22;
8205
8255
  })(EnumOSPlatform2 || {});
8256
+ var EnumRegions2 = /* @__PURE__ */ ((EnumRegions22) => {
8257
+ EnumRegions22["All"] = "All Regions";
8258
+ EnumRegions22["Auckland"] = "Auckland";
8259
+ EnumRegions22["BayOfPlentyGisborne"] = "Bay of Plenty & Gisborne";
8260
+ EnumRegions22["CanterburyWestCoast"] = "Canterbury & West Coast";
8261
+ EnumRegions22["HawkesBay"] = "Hawke's Bay";
8262
+ EnumRegions22["ManawatuWanganui"] = "Manawatu-Wanganui";
8263
+ EnumRegions22["MarlboroughNelsonTasman"] = "Marlborough & Nelson & Tasman";
8264
+ EnumRegions22["Northland"] = "Northland";
8265
+ EnumRegions22["Otago"] = "Otago";
8266
+ EnumRegions22["Southland"] = "Southland";
8267
+ EnumRegions22["Taranaki"] = "Taranaki";
8268
+ EnumRegions22["Waikato"] = "Waikato";
8269
+ EnumRegions22["Wellington"] = "Wellington";
8270
+ return EnumRegions22;
8271
+ })(EnumRegions2 || {});
8272
+ var EnumEventDateStatus2 = /* @__PURE__ */ ((EnumEventDateStatus22) => {
8273
+ EnumEventDateStatus22["STARTING_SOON"] = "Starting_Soon";
8274
+ EnumEventDateStatus22["STARTED"] = "Started";
8275
+ EnumEventDateStatus22["TODAY"] = "Today";
8276
+ EnumEventDateStatus22["TOMORROW"] = "Tomorrow";
8277
+ EnumEventDateStatus22["THIS_WEEK"] = "This_Week";
8278
+ EnumEventDateStatus22["NEXT_WEEK"] = "Next_Week";
8279
+ EnumEventDateStatus22["UPCOMING"] = "Upcoming";
8280
+ EnumEventDateStatus22["ENDED"] = "Ended";
8281
+ EnumEventDateStatus22["RE_SCHEDULED"] = "Rescheduled";
8282
+ EnumEventDateStatus22["CANCELED"] = "Canceled";
8283
+ EnumEventDateStatus22["INVALID"] = "Invalid";
8284
+ return EnumEventDateStatus22;
8285
+ })(EnumEventDateStatus2 || {});
8206
8286
 
8207
8287
  // src/mongoose/PushToken.ts
8208
8288
  import mongoose9 from "mongoose";
@@ -9200,6 +9280,10 @@ export {
9200
9280
  baseResourceFields,
9201
9281
  GoogleImportedMarketModel,
9202
9282
  NotificationModel,
9283
+ EnumInviteStatus2,
9284
+ EnumPaymentMethod2 as EnumPaymentMethod,
9285
+ EnumRegions2 as EnumRegions,
9286
+ EnumEventDateStatus2,
9203
9287
  PushTokenModel,
9204
9288
  ResourceActivityModel,
9205
9289
  UserModel,
@@ -9216,4 +9300,4 @@ export {
9216
9300
  SchoolModel,
9217
9301
  AffiliateModel
9218
9302
  };
9219
- //# sourceMappingURL=chunk-LOZFYYVW.mjs.map
9303
+ //# sourceMappingURL=chunk-GQWLGM2W.mjs.map