@timardex/cluemart-server-shared 1.1.23 → 1.1.25

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.
@@ -3393,17 +3393,17 @@ var gameScreenIdentifierList = [
3393
3393
  {
3394
3394
  clue: "Where your actions turn into a timeline.",
3395
3395
  id: "activities",
3396
- match: "/profile/activities"
3396
+ match: "/profile/account/favourites"
3397
3397
  },
3398
3398
  {
3399
3399
  clue: "Where conversations happen without speaking.",
3400
3400
  id: "chat",
3401
- match: "/profile/chat"
3401
+ match: "/chat"
3402
3402
  },
3403
3403
  {
3404
3404
  clue: "The place to redefine who you are.",
3405
3405
  id: "edit-profile",
3406
- match: "/profile/edit-profile"
3406
+ match: "/profile/account"
3407
3407
  },
3408
3408
  {
3409
3409
  clue: "A single moment worth showing up for.",
@@ -3581,8 +3581,8 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
3581
3581
  return EnumActivity2;
3582
3582
  })(EnumActivity || {});
3583
3583
  var EnumPostType = /* @__PURE__ */ ((EnumPostType2) => {
3584
- EnumPostType2["MARKET_FACES"] = "market_faces";
3585
3584
  EnumPostType2["CLUE_BITES"] = "clue_bites";
3585
+ EnumPostType2["MARKET_FACES"] = "market_faces";
3586
3586
  EnumPostType2["PLAY_AND_WIN"] = "play_and_win";
3587
3587
  return EnumPostType2;
3588
3588
  })(EnumPostType || {});
@@ -4763,6 +4763,13 @@ var registerFields = [
4763
4763
  placeholder: "Last Name",
4764
4764
  required: true
4765
4765
  },
4766
+ {
4767
+ helperText: "Enter Nickname",
4768
+ keyboardType: "default",
4769
+ name: "nickName",
4770
+ placeholder: "Nickname",
4771
+ required: false
4772
+ },
4766
4773
  {
4767
4774
  ...emailField,
4768
4775
  required: true
@@ -4822,6 +4829,13 @@ var profileFields = [
4822
4829
  name: "lastName",
4823
4830
  placeholder: "Last Name"
4824
4831
  },
4832
+ {
4833
+ helperText: "Enter Nickname",
4834
+ keyboardType: "default",
4835
+ name: "nickName",
4836
+ placeholder: "Nickname",
4837
+ required: false
4838
+ },
4825
4839
  {
4826
4840
  helperText: "Enter your new password",
4827
4841
  keyboardType: "default",
@@ -5066,6 +5080,7 @@ var USER_FIELDS_FRAGMENT = gql`
5066
5080
  game
5067
5081
  isTester
5068
5082
  lastName
5083
+ nickName
5069
5084
  licences {
5070
5085
  ...LicenceFields
5071
5086
  }
@@ -7665,6 +7680,17 @@ var GET_AFFILIATES = gql`
7665
7680
  }
7666
7681
  ${AFFILIATE_FIELDS_FRAGMENT}
7667
7682
  `;
7683
+ var CREATE_AFFILIATE_MUTATION = gql`
7684
+ mutation createAffiliate($input: AffiliateDetailsInputType!) {
7685
+ createAffiliate(input: $input) {
7686
+ data {
7687
+ ...AffiliateFields
7688
+ }
7689
+ message
7690
+ }
7691
+ }
7692
+ ${AFFILIATE_FIELDS_FRAGMENT}
7693
+ `;
7668
7694
  var UPDATE_AFFILIATE_DETAILS_MUTATION = gql`
7669
7695
  mutation updateAffiliateDetails(
7670
7696
  $input: AffiliateDetailsInputType!
@@ -8761,6 +8787,18 @@ var EnumRegions2 = /* @__PURE__ */ ((EnumRegions22) => {
8761
8787
  EnumRegions22["Wellington"] = "Wellington";
8762
8788
  return EnumRegions22;
8763
8789
  })(EnumRegions2 || {});
8790
+ var EnumUserLicence2 = /* @__PURE__ */ ((EnumUserLicence22) => {
8791
+ EnumUserLicence22["PRO_EVENT"] = "pro_event";
8792
+ EnumUserLicence22["PRO_PLUS_EVENT"] = "pro_plus_event";
8793
+ EnumUserLicence22["PRO_PLUS_VENDOR"] = "pro_plus_vendor";
8794
+ EnumUserLicence22["PRO_VENDOR"] = "pro_vendor";
8795
+ EnumUserLicence22["STANDARD_EVENT"] = "standard_event";
8796
+ EnumUserLicence22["STANDARD_VENDOR"] = "standard_vendor";
8797
+ EnumUserLicence22["STANDARD_PARTNER"] = "standard_partner";
8798
+ EnumUserLicence22["STANDARD_AFFILIATE"] = "standard_affiliate";
8799
+ EnumUserLicence22["STANDARD_SCHOOL"] = "standard_school";
8800
+ return EnumUserLicence22;
8801
+ })(EnumUserLicence2 || {});
8764
8802
  var EnumEventDateStatus2 = /* @__PURE__ */ ((EnumEventDateStatus22) => {
8765
8803
  EnumEventDateStatus22["STARTING_SOON"] = "Starting_Soon";
8766
8804
  EnumEventDateStatus22["STARTED"] = "Started";
@@ -8775,6 +8813,15 @@ var EnumEventDateStatus2 = /* @__PURE__ */ ((EnumEventDateStatus22) => {
8775
8813
  EnumEventDateStatus22["INVALID"] = "Invalid";
8776
8814
  return EnumEventDateStatus22;
8777
8815
  })(EnumEventDateStatus2 || {});
8816
+ var EnumSubscriptionStatus2 = /* @__PURE__ */ ((EnumSubscriptionStatus22) => {
8817
+ EnumSubscriptionStatus22["ACTIVE"] = "active";
8818
+ EnumSubscriptionStatus22["INACTIVE"] = "inactive";
8819
+ EnumSubscriptionStatus22["CANCELLED"] = "cancelled";
8820
+ EnumSubscriptionStatus22["NO_SUBSCRIPTION"] = "no_subscription";
8821
+ EnumSubscriptionStatus22["PAST_DUE"] = "past_due";
8822
+ EnumSubscriptionStatus22["TRIALING"] = "trialing";
8823
+ return EnumSubscriptionStatus22;
8824
+ })(EnumSubscriptionStatus2 || {});
8778
8825
 
8779
8826
  // src/mongoose/PushToken.ts
8780
8827
  import mongoose9 from "mongoose";
@@ -8966,6 +9013,7 @@ var schema7 = new MongooseSchema11(
8966
9013
  required: false,
8967
9014
  type: locationsSchema
8968
9015
  },
9016
+ nickName: { required: false, type: String },
8969
9017
  overallPoints: { default: 0, required: false, type: Number },
8970
9018
  partner: {
8971
9019
  ref: "Partner",
@@ -9876,7 +9924,6 @@ export {
9876
9924
  EnumNotificationType,
9877
9925
  EnumUserLicence,
9878
9926
  EnumEventDateStatus,
9879
- EnumSubscriptionStatus,
9880
9927
  dateFormat,
9881
9928
  timeFormat,
9882
9929
  EnumAdStatus,
@@ -9909,7 +9956,9 @@ export {
9909
9956
  EnumInviteStatus2,
9910
9957
  EnumPaymentMethod2 as EnumPaymentMethod,
9911
9958
  EnumRegions2 as EnumRegions,
9959
+ EnumUserLicence2,
9912
9960
  EnumEventDateStatus2,
9961
+ EnumSubscriptionStatus2 as EnumSubscriptionStatus,
9913
9962
  PushTokenModel,
9914
9963
  ResourceActivityModel,
9915
9964
  UserModel,
@@ -9929,4 +9978,4 @@ export {
9929
9978
  SchoolModel,
9930
9979
  AffiliateModel
9931
9980
  };
9932
- //# sourceMappingURL=chunk-6LIZONJ6.mjs.map
9981
+ //# sourceMappingURL=chunk-YXUMN7EM.mjs.map