@timardex/cluemart-server-shared 1.1.24 → 1.1.26

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/index.cjs CHANGED
@@ -4869,6 +4869,13 @@ var registerFields = [
4869
4869
  placeholder: "Last Name",
4870
4870
  required: true
4871
4871
  },
4872
+ {
4873
+ helperText: "Enter Nickname",
4874
+ keyboardType: "default",
4875
+ name: "nickName",
4876
+ placeholder: "Nickname",
4877
+ required: false
4878
+ },
4872
4879
  {
4873
4880
  ...emailField,
4874
4881
  required: true
@@ -4928,6 +4935,13 @@ var profileFields = [
4928
4935
  name: "lastName",
4929
4936
  placeholder: "Last Name"
4930
4937
  },
4938
+ {
4939
+ helperText: "Enter Nickname",
4940
+ keyboardType: "default",
4941
+ name: "nickName",
4942
+ placeholder: "Nickname",
4943
+ required: false
4944
+ },
4931
4945
  {
4932
4946
  helperText: "Enter your new password",
4933
4947
  keyboardType: "default",
@@ -5172,6 +5186,7 @@ var USER_FIELDS_FRAGMENT = gql`
5172
5186
  game
5173
5187
  isTester
5174
5188
  lastName
5189
+ nickName
5175
5190
  licences {
5176
5191
  ...LicenceFields
5177
5192
  }
@@ -7463,13 +7478,11 @@ var GET_GAME_LEADERBOARD = gql`
7463
7478
  gameHistory {
7464
7479
  ...GameHistoryFields
7465
7480
  }
7481
+ nickName
7466
7482
  overallPoints
7467
- owner {
7468
- ...OwnerFields
7469
- }
7483
+ userId
7470
7484
  }
7471
7485
  }
7472
- ${OWNER_FIELDS_FRAGMENT}
7473
7486
  ${GAME_HISTORY_FIELDS_FRAGMENT}
7474
7487
  `;
7475
7488
  var START_GAME_MUTATION = gql`
@@ -7771,6 +7784,17 @@ var GET_AFFILIATES = gql`
7771
7784
  }
7772
7785
  ${AFFILIATE_FIELDS_FRAGMENT}
7773
7786
  `;
7787
+ var CREATE_AFFILIATE_MUTATION = gql`
7788
+ mutation createAffiliate($input: AffiliateDetailsInputType!) {
7789
+ createAffiliate(input: $input) {
7790
+ data {
7791
+ ...AffiliateFields
7792
+ }
7793
+ message
7794
+ }
7795
+ }
7796
+ ${AFFILIATE_FIELDS_FRAGMENT}
7797
+ `;
7774
7798
  var UPDATE_AFFILIATE_DETAILS_MUTATION = gql`
7775
7799
  mutation updateAffiliateDetails(
7776
7800
  $input: AffiliateDetailsInputType!
@@ -9093,6 +9117,7 @@ var schema7 = new MongooseSchema11(
9093
9117
  required: false,
9094
9118
  type: locationsSchema
9095
9119
  },
9120
+ nickName: { required: false, type: String },
9096
9121
  overallPoints: { default: 0, required: false, type: Number },
9097
9122
  partner: {
9098
9123
  ref: "Partner",
@@ -9263,7 +9288,7 @@ var couponParticipantUserSchema = new MongooseSchema13(
9263
9288
  var couponDataSchema = new MongooseSchema13(
9264
9289
  {
9265
9290
  active: { default: true, required: true, type: Boolean },
9266
- couponCode: { required: true, type: couponCodeSchema },
9291
+ couponCode: { required: false, type: couponCodeSchema },
9267
9292
  couponDescription: { required: true, type: String },
9268
9293
  couponOption: { required: true, type: couponOptionSchema },
9269
9294
  couponVendorProducts: {
@@ -10066,7 +10091,7 @@ var SHARE_RESOURCE_LABEL2 = {
10066
10091
  school: "School"
10067
10092
  };
10068
10093
 
10069
- // node_modules/@timardex/cluemart-shared/dist/chunk-5D2JVHC2.mjs
10094
+ // node_modules/@timardex/cluemart-shared/dist/chunk-GR2JH7DC.mjs
10070
10095
  var PROMO_CODE_PREFIX2 = "CM-";
10071
10096
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
10072
10097
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10168,7 +10193,7 @@ var gameScreenIdentifierList2 = [
10168
10193
  }
10169
10194
  ];
10170
10195
 
10171
- // node_modules/@timardex/cluemart-shared/dist/chunk-P4JLZCWZ.mjs
10196
+ // node_modules/@timardex/cluemart-shared/dist/chunk-5YXMWX5D.mjs
10172
10197
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10173
10198
  var statusOptions2 = [
10174
10199
  ...Object.values(EnumInviteStatus2).map((status) => ({