@timardex/cluemart-server-shared 1.0.92 → 1.0.93

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.
@@ -6872,7 +6872,6 @@ var EnumEventDateStatus = /* @__PURE__ */ ((EnumEventDateStatus22) => {
6872
6872
  EnumEventDateStatus22["STARTED"] = "Started";
6873
6873
  EnumEventDateStatus22["TODAY"] = "Today";
6874
6874
  EnumEventDateStatus22["TOMORROW"] = "Tomorrow";
6875
- EnumEventDateStatus22["THIS_WEEKEND"] = "This_Weekend";
6876
6875
  EnumEventDateStatus22["THIS_WEEK"] = "This_Week";
6877
6876
  EnumEventDateStatus22["NEXT_WEEK"] = "Next_Week";
6878
6877
  EnumEventDateStatus22["UPCOMING"] = "Upcoming";
@@ -8157,6 +8156,17 @@ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
8157
8156
  adminResendUserVerificationEmail(userId: $userId)
8158
8157
  }
8159
8158
  `;
8159
+ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = gql`
8160
+ mutation adminPermanentlyDeleteResource(
8161
+ $resourceId: ID!
8162
+ $resourceType: ResourceTypeEnum!
8163
+ ) {
8164
+ adminPermanentlyDeleteResource(
8165
+ resourceId: $resourceId
8166
+ resourceType: $resourceType
8167
+ )
8168
+ }
8169
+ `;
8160
8170
  var POSTER_USAGE_FIELDS_FRAGMENT = gql`
8161
8171
  fragment PosterUsageFields on PosterUsageType {
8162
8172
  month
@@ -8613,6 +8623,18 @@ var VENDOR = gql`
8613
8623
  categories {
8614
8624
  ...CategoryFields
8615
8625
  }
8626
+ calendar {
8627
+ active
8628
+ calendarData {
8629
+ dateTime {
8630
+ ...VendorDateTimeFields
8631
+ }
8632
+ description
8633
+ location {
8634
+ ...LocationFields
8635
+ }
8636
+ }
8637
+ }
8616
8638
  contactDetails {
8617
8639
  ...ContactDetailsFields
8618
8640
  }
@@ -8626,19 +8648,9 @@ var VENDOR = gql`
8626
8648
  images {
8627
8649
  ...ResourceImageFields
8628
8650
  }
8629
- locations {
8630
- dateTime {
8631
- ...VendorDateTimeFields
8632
- }
8633
- description
8634
- location {
8635
- ...LocationFields
8636
- }
8637
- }
8638
8651
  logo {
8639
8652
  ...ResourceImageFields
8640
8653
  }
8641
- multiLocation
8642
8654
  name
8643
8655
  owner {
8644
8656
  ...OwnerFields
@@ -9943,6 +9955,13 @@ var CRAWL_GOOGLE_MARKETS_MUTATION = gql`
9943
9955
  }
9944
9956
  }
9945
9957
  `;
9958
+ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = gql`
9959
+ mutation updateGoogleImportedMarkets {
9960
+ updateGoogleImportedMarkets {
9961
+ message
9962
+ }
9963
+ }
9964
+ `;
9946
9965
  var APP_SETTINGS_FIELDS_FRAGMENT = gql`
9947
9966
  fragment AppSettingsFields on AppSettingsType {
9948
9967
  _id
@@ -10271,7 +10290,6 @@ var vendroMenuSchema = create$3().shape({
10271
10290
  var vendorSchema = globalResourceSchema.shape({
10272
10291
  categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
10273
10292
  foodTruck: create$7().label("Food Truck").required("Please specify if the vendor is a food truck"),
10274
- multiLocation: create$7().required("Multi location is required"),
10275
10293
  products: create$2().of(vendroMenuSchema).nullable().optional(),
10276
10294
  vendorType: create$8().oneOf(Object.values(EnumVendorType)).required("Please select a Vendor type")
10277
10295
  });
@@ -10591,8 +10609,6 @@ var defaultVendorFormValues = {
10591
10609
  },
10592
10610
  categories: [],
10593
10611
  foodTruck: false,
10594
- locations: null,
10595
- multiLocation: false,
10596
10612
  products: null,
10597
10613
  vendorType: "Stallholder"
10598
10614
  /* STALLHOLDER */
@@ -11321,7 +11337,7 @@ schema4.index({ isRead: 1, userId: 1 });
11321
11337
  schema4.index({ createdAt: -1, userId: 1 });
11322
11338
  var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
11323
11339
 
11324
- // node_modules/@timardex/cluemart-shared/dist/chunk-Z6FJKHRH.mjs
11340
+ // node_modules/@timardex/cluemart-shared/dist/chunk-LDO4DRWY.mjs
11325
11341
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
11326
11342
  EnumOSPlatform22["ANDROID"] = "android";
11327
11343
  EnumOSPlatform22["IOS"] = "ios";
@@ -11574,7 +11590,7 @@ var MenuTypeSchema = new MongooseSchema13(
11574
11590
  { _id: false }
11575
11591
  // Prevents Mongoose from creating an additional _id field for subdocuments
11576
11592
  );
11577
- var LocationsSchema = new MongooseSchema13(
11593
+ var calendarSchema = new MongooseSchema13(
11578
11594
  {
11579
11595
  dateTime: {
11580
11596
  dateStatus: {
@@ -11596,6 +11612,13 @@ var LocationsSchema = new MongooseSchema13(
11596
11612
  { _id: false }
11597
11613
  // Prevents Mongoose from creating an additional _id field for subdocuments
11598
11614
  );
11615
+ var calendarWrapperSchema = new MongooseSchema13(
11616
+ {
11617
+ active: { default: false, type: Boolean },
11618
+ calendarData: { required: false, type: [calendarSchema] }
11619
+ },
11620
+ { _id: false }
11621
+ );
11599
11622
  var schema9 = new MongooseSchema13(
11600
11623
  {
11601
11624
  ...baseResourceFields,
@@ -11605,10 +11628,12 @@ var schema9 = new MongooseSchema13(
11605
11628
  private: { default: false, required: false, type: Boolean },
11606
11629
  school: { default: false, required: false, type: Boolean }
11607
11630
  },
11631
+ calendar: {
11632
+ required: false,
11633
+ type: calendarWrapperSchema
11634
+ },
11608
11635
  categories: [CategorySchema],
11609
11636
  foodTruck: { required: true, type: Boolean },
11610
- locations: [LocationsSchema],
11611
- multiLocation: { required: true, type: Boolean },
11612
11637
  products: [MenuTypeSchema],
11613
11638
  relations: {
11614
11639
  default: [],