@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.
@@ -42,7 +42,7 @@ import {
42
42
  termsAgreementSchema,
43
43
  userLicenseSchema,
44
44
  vendorProductTypeSchema
45
- } from "../chunk-YILYRHDN.mjs";
45
+ } from "../chunk-IACWQ3VJ.mjs";
46
46
  export {
47
47
  APP_SETTINGS_ID,
48
48
  AdModel,
@@ -4823,6 +4823,13 @@ var registerFields = [
4823
4823
  placeholder: "Last Name",
4824
4824
  required: true
4825
4825
  },
4826
+ {
4827
+ helperText: "Enter Nickname",
4828
+ keyboardType: "default",
4829
+ name: "nickName",
4830
+ placeholder: "Nickname",
4831
+ required: false
4832
+ },
4826
4833
  {
4827
4834
  ...emailField,
4828
4835
  required: true
@@ -4882,6 +4889,13 @@ var profileFields = [
4882
4889
  name: "lastName",
4883
4890
  placeholder: "Last Name"
4884
4891
  },
4892
+ {
4893
+ helperText: "Enter Nickname",
4894
+ keyboardType: "default",
4895
+ name: "nickName",
4896
+ placeholder: "Nickname",
4897
+ required: false
4898
+ },
4885
4899
  {
4886
4900
  helperText: "Enter your new password",
4887
4901
  keyboardType: "default",
@@ -5126,6 +5140,7 @@ var USER_FIELDS_FRAGMENT = gql`
5126
5140
  game
5127
5141
  isTester
5128
5142
  lastName
5143
+ nickName
5129
5144
  licences {
5130
5145
  ...LicenceFields
5131
5146
  }
@@ -7417,13 +7432,11 @@ var GET_GAME_LEADERBOARD = gql`
7417
7432
  gameHistory {
7418
7433
  ...GameHistoryFields
7419
7434
  }
7435
+ nickName
7420
7436
  overallPoints
7421
- owner {
7422
- ...OwnerFields
7423
- }
7437
+ userId
7424
7438
  }
7425
7439
  }
7426
- ${OWNER_FIELDS_FRAGMENT}
7427
7440
  ${GAME_HISTORY_FIELDS_FRAGMENT}
7428
7441
  `;
7429
7442
  var START_GAME_MUTATION = gql`
@@ -7725,6 +7738,17 @@ var GET_AFFILIATES = gql`
7725
7738
  }
7726
7739
  ${AFFILIATE_FIELDS_FRAGMENT}
7727
7740
  `;
7741
+ var CREATE_AFFILIATE_MUTATION = gql`
7742
+ mutation createAffiliate($input: AffiliateDetailsInputType!) {
7743
+ createAffiliate(input: $input) {
7744
+ data {
7745
+ ...AffiliateFields
7746
+ }
7747
+ message
7748
+ }
7749
+ }
7750
+ ${AFFILIATE_FIELDS_FRAGMENT}
7751
+ `;
7728
7752
  var UPDATE_AFFILIATE_DETAILS_MUTATION = gql`
7729
7753
  mutation updateAffiliateDetails(
7730
7754
  $input: AffiliateDetailsInputType!
@@ -9047,6 +9071,7 @@ var schema7 = new MongooseSchema11(
9047
9071
  required: false,
9048
9072
  type: locationsSchema
9049
9073
  },
9074
+ nickName: { required: false, type: String },
9050
9075
  overallPoints: { default: 0, required: false, type: Number },
9051
9076
  partner: {
9052
9077
  ref: "Partner",
@@ -9217,7 +9242,7 @@ var couponParticipantUserSchema = new MongooseSchema13(
9217
9242
  var couponDataSchema = new MongooseSchema13(
9218
9243
  {
9219
9244
  active: { default: true, required: true, type: Boolean },
9220
- couponCode: { required: true, type: couponCodeSchema },
9245
+ couponCode: { required: false, type: couponCodeSchema },
9221
9246
  couponDescription: { required: true, type: String },
9222
9247
  couponOption: { required: true, type: couponOptionSchema },
9223
9248
  couponVendorProducts: {
@@ -10020,7 +10045,7 @@ var SHARE_RESOURCE_LABEL2 = {
10020
10045
  school: "School"
10021
10046
  };
10022
10047
 
10023
- // node_modules/@timardex/cluemart-shared/dist/chunk-5D2JVHC2.mjs
10048
+ // node_modules/@timardex/cluemart-shared/dist/chunk-GR2JH7DC.mjs
10024
10049
  var PROMO_CODE_PREFIX2 = "CM-";
10025
10050
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
10026
10051
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10122,7 +10147,7 @@ var gameScreenIdentifierList2 = [
10122
10147
  }
10123
10148
  ];
10124
10149
 
10125
- // node_modules/@timardex/cluemart-shared/dist/chunk-P4JLZCWZ.mjs
10150
+ // node_modules/@timardex/cluemart-shared/dist/chunk-5YXMWX5D.mjs
10126
10151
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10127
10152
  var statusOptions2 = [
10128
10153
  ...Object.values(EnumInviteStatus2).map((status) => ({