@timardex/cluemart-server-shared 1.0.306 → 1.0.309

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.
@@ -5027,6 +5027,16 @@ var REDEEMED_REWARD_FIELDS_FRAGMENT = gql`
5027
5027
  redeemedAt
5028
5028
  }
5029
5029
  `;
5030
+ var STRIPE_FIELDS_FRAGMENT = gql`
5031
+ fragment StripeSubscriptionFields on StripeSubscriptionType {
5032
+ customerId
5033
+ subscriptionId
5034
+ status
5035
+ currentPlan
5036
+ startDate
5037
+ endDate
5038
+ }
5039
+ `;
5030
5040
  var USER_FIELDS_FRAGMENT = gql`
5031
5041
  fragment UserFields on UserType {
5032
5042
  _id
@@ -5060,6 +5070,9 @@ var USER_FIELDS_FRAGMENT = gql`
5060
5070
  ...RedeemedRewardFields
5061
5071
  }
5062
5072
  school
5073
+ stripe {
5074
+ ...StripeSubscriptionFields
5075
+ }
5063
5076
  termsAgreement {
5064
5077
  ...TermsAgreementFields
5065
5078
  }
@@ -5075,6 +5088,7 @@ var USER_FIELDS_FRAGMENT = gql`
5075
5088
  ${LICENCE_FIELDS_FRAGMENT}
5076
5089
  ${LOCATION_FIELDS_FRAGMENT}
5077
5090
  ${REDEEMED_REWARD_FIELDS_FRAGMENT}
5091
+ ${STRIPE_FIELDS_FRAGMENT}
5078
5092
  `;
5079
5093
  var STALL_TYPE_FIELDS_FRAGMENT = gql`
5080
5094
  fragment StallTypeFields on StallTypeType {
@@ -7315,7 +7329,6 @@ var AFFILIATE_DETAILS_FIELDS_FRAGMENT = gql`
7315
7329
  location {
7316
7330
  ...LocationFields
7317
7331
  }
7318
- region
7319
7332
  socialMedia {
7320
7333
  ...SocialMediaFields
7321
7334
  }
@@ -9200,7 +9213,6 @@ var affiliateDetailsSchema = new MongooseSchema25(
9200
9213
  required: true,
9201
9214
  type: String
9202
9215
  },
9203
- region: { required: true, type: String },
9204
9216
  socialMedia: { required: false, type: [SocialMediaTypeSchema] },
9205
9217
  termsAgreement: { required: true, type: termsAgreementSchema }
9206
9218
  },
@@ -9310,4 +9322,4 @@ export {
9310
9322
  SchoolModel,
9311
9323
  AffiliateModel
9312
9324
  };
9313
- //# sourceMappingURL=chunk-SY7T26IW.mjs.map
9325
+ //# sourceMappingURL=chunk-S3OCZCET.mjs.map