@timardex/cluemart-server-shared 1.1.24 → 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.
@@ -42,7 +42,7 @@ import {
42
42
  termsAgreementSchema,
43
43
  userLicenseSchema,
44
44
  vendorProductTypeSchema
45
- } from "../chunk-YILYRHDN.mjs";
45
+ } from "../chunk-YXUMN7EM.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
  }
@@ -7725,6 +7740,17 @@ var GET_AFFILIATES = gql`
7725
7740
  }
7726
7741
  ${AFFILIATE_FIELDS_FRAGMENT}
7727
7742
  `;
7743
+ var CREATE_AFFILIATE_MUTATION = gql`
7744
+ mutation createAffiliate($input: AffiliateDetailsInputType!) {
7745
+ createAffiliate(input: $input) {
7746
+ data {
7747
+ ...AffiliateFields
7748
+ }
7749
+ message
7750
+ }
7751
+ }
7752
+ ${AFFILIATE_FIELDS_FRAGMENT}
7753
+ `;
7728
7754
  var UPDATE_AFFILIATE_DETAILS_MUTATION = gql`
7729
7755
  mutation updateAffiliateDetails(
7730
7756
  $input: AffiliateDetailsInputType!
@@ -9047,6 +9073,7 @@ var schema7 = new MongooseSchema11(
9047
9073
  required: false,
9048
9074
  type: locationsSchema
9049
9075
  },
9076
+ nickName: { required: false, type: String },
9050
9077
  overallPoints: { default: 0, required: false, type: Number },
9051
9078
  partner: {
9052
9079
  ref: "Partner",
@@ -10020,7 +10047,7 @@ var SHARE_RESOURCE_LABEL2 = {
10020
10047
  school: "School"
10021
10048
  };
10022
10049
 
10023
- // node_modules/@timardex/cluemart-shared/dist/chunk-5D2JVHC2.mjs
10050
+ // node_modules/@timardex/cluemart-shared/dist/chunk-GZZMH35Y.mjs
10024
10051
  var PROMO_CODE_PREFIX2 = "CM-";
10025
10052
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
10026
10053
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10122,7 +10149,7 @@ var gameScreenIdentifierList2 = [
10122
10149
  }
10123
10150
  ];
10124
10151
 
10125
- // node_modules/@timardex/cluemart-shared/dist/chunk-P4JLZCWZ.mjs
10152
+ // node_modules/@timardex/cluemart-shared/dist/chunk-TRWMYXB7.mjs
10126
10153
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10127
10154
  var statusOptions2 = [
10128
10155
  ...Object.values(EnumInviteStatus2).map((status) => ({