@timardex/cluemart-server-shared 1.0.60 → 1.0.61

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.
@@ -9985,6 +9985,45 @@ var APP_SETTINGS_FIELDS_FRAGMENT = gql`
9985
9985
  updatedAt
9986
9986
  }
9987
9987
  `;
9988
+ var GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT = gql`
9989
+ fragment GoogleImportedMarketsFields on GoogleImportedMarketType {
9990
+ _id
9991
+ name
9992
+ slug
9993
+ image
9994
+ address
9995
+ location {
9996
+ lat
9997
+ lng
9998
+ }
9999
+ googlePlaceId
10000
+ website
10001
+ phone
10002
+ openingHours
10003
+ rating
10004
+ reviewCount
10005
+ photos
10006
+ googleMapsUrl
10007
+ businessStatus
10008
+ addressComponents {
10009
+ longName
10010
+ shortName
10011
+ types
10012
+ }
10013
+ accessibilityOptions
10014
+ allowsDogs
10015
+ goodForChildren
10016
+ goodForGroups
10017
+ liveMusic
10018
+ parkingOptions
10019
+ paymentOptions
10020
+ restroom
10021
+ importedAt
10022
+ claimed
10023
+ createdAt
10024
+ updatedAt
10025
+ }
10026
+ `;
9988
10027
  var GET_APP_SETTINGS = gql`
9989
10028
  query getAppSettings {
9990
10029
  appSettings {
@@ -9993,6 +10032,14 @@ var GET_APP_SETTINGS = gql`
9993
10032
  }
9994
10033
  ${APP_SETTINGS_FIELDS_FRAGMENT}
9995
10034
  `;
10035
+ var GET_GOOGLE_IMPORTED_MARKETS = gql`
10036
+ query getGoogleImportedMarkets {
10037
+ googleImportedMarkets {
10038
+ ...GoogleImportedMarketsFields
10039
+ }
10040
+ }
10041
+ ${GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT}
10042
+ `;
9996
10043
  var nzBankAccountRegex = /^\d{2}-\d{4}-\d{7}-\d{2}$/;
9997
10044
  var nzbnRegex = /^94\d{11}$/;
9998
10045
  var normalizedUrlTransform = () => create$6().trim().transform(
@@ -11155,11 +11202,24 @@ var locationSchema2 = new MongooseSchema6(
11155
11202
  { _id: false }
11156
11203
  // Prevents Mongoose from creating an additional _id field for subdocuments
11157
11204
  );
11205
+ var addressComponentSchema = new MongooseSchema6(
11206
+ {
11207
+ longName: { required: false, type: String },
11208
+ shortName: { required: false, type: String },
11209
+ types: { required: false, type: [String] }
11210
+ },
11211
+ { _id: false }
11212
+ );
11158
11213
  var schema3 = new MongooseSchema6(
11159
11214
  {
11215
+ accessibilityOptions: { required: false, type: Object },
11160
11216
  address: { required: true, type: String },
11217
+ addressComponents: { required: false, type: [addressComponentSchema] },
11218
+ allowsDogs: { required: false, type: Boolean },
11161
11219
  businessStatus: { required: false, type: String },
11162
11220
  claimed: { default: false, required: true, type: Boolean },
11221
+ goodForChildren: { required: false, type: Boolean },
11222
+ goodForGroups: { required: false, type: Boolean },
11163
11223
  googleMapsUrl: { required: false, type: String },
11164
11224
  googlePlaceId: {
11165
11225
  required: true,
@@ -11170,6 +11230,7 @@ var schema3 = new MongooseSchema6(
11170
11230
  image: { required: false, type: String },
11171
11231
  // photo_reference only
11172
11232
  importedAt: { default: () => /* @__PURE__ */ new Date(), required: true, type: Date },
11233
+ liveMusic: { required: false, type: Boolean },
11173
11234
  location: {
11174
11235
  required: false,
11175
11236
  // optional because lat/lng may expire after 30 days
@@ -11177,10 +11238,13 @@ var schema3 = new MongooseSchema6(
11177
11238
  },
11178
11239
  name: { required: true, type: String },
11179
11240
  openingHours: { required: false, type: [String] },
11241
+ parkingOptions: { required: false, type: Object },
11242
+ paymentOptions: { required: false, type: Object },
11180
11243
  phone: { required: false, type: String },
11181
11244
  photos: { required: false, type: [String] },
11182
11245
  // array of photo_reference
11183
11246
  rating: { required: false, type: Number },
11247
+ restroom: { required: false, type: Boolean },
11184
11248
  reviewCount: { required: false, type: Number },
11185
11249
  slug: { required: true, type: String },
11186
11250
  website: { required: false, type: String }
@@ -11973,4 +12037,4 @@ react/cjs/react.development.js:
11973
12037
  * LICENSE file in the root directory of this source tree.
11974
12038
  *)
11975
12039
  */
11976
- //# sourceMappingURL=chunk-EOKS26AC.mjs.map
12040
+ //# sourceMappingURL=chunk-2RXHGZ3A.mjs.map