@timardex/cluemart-shared 1.3.68 → 1.3.69

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.
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
- import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType, G as GoogleImportedMarket } from '../googleImportedMarket-6kBUp2yE.mjs';
4
- import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType, U as UnregisteredVendorType, f as UserActivityEventType, g as UserLicenceType } from '../global-DjZooB3t.mjs';
5
- import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-DHDZfAmJ.mjs';
3
+ import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-CJRTZROh.mjs';
4
+ import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType, U as UnregisteredVendorType, f as UserActivityEventType, g as UserLicenceType } from '../global-BT6II8Dq.mjs';
5
+ import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-D1JWtkFg.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -867,16 +867,6 @@ declare const useUpdateAppSettings: () => {
867
867
  loading: boolean;
868
868
  updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
869
869
  };
870
-
871
- declare const useGetAppSettings: () => {
872
- appSettings: AppSettingsType | null;
873
- error: _apollo_client.ApolloError | undefined;
874
- loading: boolean;
875
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
876
- appSettings: AppSettingsType;
877
- }>>;
878
- };
879
-
880
870
  declare const useCrawlGoogleMarkets: () => {
881
871
  crawlGoogleMarkets: (options?: _apollo_client.MutationFunctionOptions<{
882
872
  crawlGoogleMarkets: {
@@ -891,37 +881,13 @@ declare const useCrawlGoogleMarkets: () => {
891
881
  loading: boolean;
892
882
  };
893
883
 
894
- declare const useGetGoogleImportedMarkets: () => {
895
- error: _apollo_client.ApolloError | undefined;
896
- googleImportedMarkets: GoogleImportedMarket[];
897
- loading: boolean;
898
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
899
- googleImportedMarkets: GoogleImportedMarket[];
900
- }>>;
901
- };
902
- declare const useGetGoogleImportedMarketsByRegion: (region: string) => {
903
- error: _apollo_client.ApolloError | undefined;
904
- googleImportedMarketsByRegion: GoogleImportedMarket[];
905
- loading: boolean;
906
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
907
- googleImportedMarketsByRegion: GoogleImportedMarket[];
908
- }>>;
909
- };
910
- declare const useSearchGoogleImportedMarkets: (search: string, region: string) => {
911
- error: _apollo_client.ApolloError | undefined;
912
- googleImportedMarketsSearch: GoogleImportedMarket[];
913
- loading: boolean;
914
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
915
- googleImportedMarketsSearch: GoogleImportedMarket[];
916
- }>>;
917
- };
918
- declare const useGetGoogleImportedMarketsNearMe: (latitude: number, longitude: number, radius?: number) => {
884
+ declare const useGetAppSettings: () => {
885
+ appSettings: AppSettingsType | null;
919
886
  error: _apollo_client.ApolloError | undefined;
920
- googleImportedMarketsNearMe: GoogleImportedMarket[];
921
887
  loading: boolean;
922
888
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
923
- googleImportedMarketsNearMe: GoogleImportedMarket[];
889
+ appSettings: AppSettingsType;
924
890
  }>>;
925
891
  };
926
892
 
927
- export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendTesterVerificationEmail, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateTester, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteTester, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGoogleImportedMarkets, useGetGoogleImportedMarketsByRegion, useGetGoogleImportedMarketsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLogin, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchGoogleImportedMarkets, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
893
+ export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendTesterVerificationEmail, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateTester, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteTester, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLogin, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.js';
3
- import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType, G as GoogleImportedMarket } from '../googleImportedMarket-Ckdoji3C.js';
4
- import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType, U as UnregisteredVendorType, f as UserActivityEventType, g as UserLicenceType } from '../global-BKEcBQxZ.js';
5
- import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-Bwr2i2Qq.js';
3
+ import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-CVwxvGeC.js';
4
+ import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType, U as UnregisteredVendorType, f as UserActivityEventType, g as UserLicenceType } from '../global-Di91-yYC.js';
5
+ import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-AmkOYBMx.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -867,16 +867,6 @@ declare const useUpdateAppSettings: () => {
867
867
  loading: boolean;
868
868
  updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
869
869
  };
870
-
871
- declare const useGetAppSettings: () => {
872
- appSettings: AppSettingsType | null;
873
- error: _apollo_client.ApolloError | undefined;
874
- loading: boolean;
875
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
876
- appSettings: AppSettingsType;
877
- }>>;
878
- };
879
-
880
870
  declare const useCrawlGoogleMarkets: () => {
881
871
  crawlGoogleMarkets: (options?: _apollo_client.MutationFunctionOptions<{
882
872
  crawlGoogleMarkets: {
@@ -891,37 +881,13 @@ declare const useCrawlGoogleMarkets: () => {
891
881
  loading: boolean;
892
882
  };
893
883
 
894
- declare const useGetGoogleImportedMarkets: () => {
895
- error: _apollo_client.ApolloError | undefined;
896
- googleImportedMarkets: GoogleImportedMarket[];
897
- loading: boolean;
898
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
899
- googleImportedMarkets: GoogleImportedMarket[];
900
- }>>;
901
- };
902
- declare const useGetGoogleImportedMarketsByRegion: (region: string) => {
903
- error: _apollo_client.ApolloError | undefined;
904
- googleImportedMarketsByRegion: GoogleImportedMarket[];
905
- loading: boolean;
906
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
907
- googleImportedMarketsByRegion: GoogleImportedMarket[];
908
- }>>;
909
- };
910
- declare const useSearchGoogleImportedMarkets: (search: string, region: string) => {
911
- error: _apollo_client.ApolloError | undefined;
912
- googleImportedMarketsSearch: GoogleImportedMarket[];
913
- loading: boolean;
914
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
915
- googleImportedMarketsSearch: GoogleImportedMarket[];
916
- }>>;
917
- };
918
- declare const useGetGoogleImportedMarketsNearMe: (latitude: number, longitude: number, radius?: number) => {
884
+ declare const useGetAppSettings: () => {
885
+ appSettings: AppSettingsType | null;
919
886
  error: _apollo_client.ApolloError | undefined;
920
- googleImportedMarketsNearMe: GoogleImportedMarket[];
921
887
  loading: boolean;
922
888
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
923
- googleImportedMarketsNearMe: GoogleImportedMarket[];
889
+ appSettings: AppSettingsType;
924
890
  }>>;
925
891
  };
926
892
 
927
- export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendTesterVerificationEmail, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateTester, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteTester, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGoogleImportedMarkets, useGetGoogleImportedMarketsByRegion, useGetGoogleImportedMarketsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLogin, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchGoogleImportedMarkets, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
893
+ export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendTesterVerificationEmail, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateTester, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteTester, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLogin, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -344,13 +344,49 @@ var EVENT = gql3`
344
344
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
345
345
  ${RELATION_DATES_FRAGMENT}
346
346
  `;
347
+ var EVENT_LIST_ITEM = gql3`
348
+ fragment EventListItemFields on EventListItemType {
349
+ _id
350
+ active
351
+ claimed
352
+ cover {
353
+ ...ResourceImageFields
354
+ }
355
+ createdAt
356
+ dateTime {
357
+ ...EventDateTimeFields
358
+ }
359
+ deletedAt
360
+ description
361
+ eventType
362
+ googlePlaceId
363
+ images {
364
+ ...ResourceImageFields
365
+ }
366
+ location {
367
+ ...LocationFields
368
+ }
369
+ logo {
370
+ ...ResourceImageFields
371
+ }
372
+ name
373
+ rainOrShine
374
+ rating
375
+ region
376
+ reviewCount
377
+ updatedAt
378
+ }
379
+ ${EVENT_DATETIME_FIELDS_FRAGMENT}
380
+ ${LOCATION_FIELDS_FRAGMENT}
381
+ ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
382
+ `;
347
383
  var GET_EVENTS = gql3`
348
384
  query getEvents {
349
385
  events {
350
386
  ...EventFields
351
387
  }
352
388
  }
353
- ${EVENT}
389
+ ${EVENT_LIST_ITEM}
354
390
  `;
355
391
  var GET_EVENT = gql3`
356
392
  query getEvent($_id: ID!) {
@@ -366,7 +402,7 @@ var GET_EVENTS_BY_REGION = gql3`
366
402
  ...EventFields
367
403
  }
368
404
  }
369
- ${EVENT}
405
+ ${EVENT_LIST_ITEM}
370
406
  `;
371
407
  var SEARCH_EVENTS = gql3`
372
408
  query searchEvents($search: String!, $region: String) {
@@ -374,7 +410,7 @@ var SEARCH_EVENTS = gql3`
374
410
  ...EventFields
375
411
  }
376
412
  }
377
- ${EVENT}
413
+ ${EVENT_LIST_ITEM}
378
414
  `;
379
415
  var GET_EVENTS_NEAR_ME = gql3`
380
416
  query getEventsNearMe($latitude: Float!, $longitude: Float!, $radius: Int) {
@@ -382,7 +418,7 @@ var GET_EVENTS_NEAR_ME = gql3`
382
418
  ...EventFields
383
419
  }
384
420
  }
385
- ${EVENT}
421
+ ${EVENT_LIST_ITEM}
386
422
  `;
387
423
  var GET_EVENT_INFO = gql3`
388
424
  query getEventInfo($eventId: ID!) {
@@ -1350,7 +1386,7 @@ var GET_USER_ACTIVITIES = gql13`
1350
1386
  }
1351
1387
  }
1352
1388
  }
1353
- ${EVENT}
1389
+ ${EVENT_LIST_ITEM}
1354
1390
  ${VENDOR}
1355
1391
  ${USER_ACTIVITY_EVENT_FRAGMENT}
1356
1392
  `;
@@ -1831,7 +1867,7 @@ var GET_RESOURCE_CONNECTIONS = gql19`
1831
1867
  }
1832
1868
  }
1833
1869
  ${VENDOR}
1834
- ${EVENT}
1870
+ ${EVENT_LIST_ITEM}
1835
1871
  `;
1836
1872
 
1837
1873
  // src/graphql/mutations/relation.ts
@@ -3259,6 +3295,13 @@ var UPDATE_APP_SETTINGS_MUTATION = gql33`
3259
3295
  updateAppSettings(input: $input)
3260
3296
  }
3261
3297
  `;
3298
+ var CRAWL_GOOGLE_MARKETS_MUTATION = gql33`
3299
+ mutation crawlGoogleMarkets {
3300
+ crawlGoogleMarkets {
3301
+ message
3302
+ }
3303
+ }
3304
+ `;
3262
3305
 
3263
3306
  // src/graphql/queries/appSettings.ts
3264
3307
  import { gql as gql34 } from "@apollo/client";
@@ -3291,6 +3334,10 @@ var useUpdateAppSettings = () => {
3291
3334
  );
3292
3335
  return { error, loading, updateAppSettings };
3293
3336
  };
3337
+ var useCrawlGoogleMarkets = () => {
3338
+ const [crawlGoogleMarkets, { loading, error }] = useMutation18(CRAWL_GOOGLE_MARKETS_MUTATION);
3339
+ return { crawlGoogleMarkets, error, loading };
3340
+ };
3294
3341
 
3295
3342
  // src/graphql/hooks/appSettings/hooksQuery.ts
3296
3343
  import { useQuery as useQuery13 } from "@apollo/client";
@@ -3301,156 +3348,6 @@ var useGetAppSettings = () => {
3301
3348
  const appSettings = data?.appSettings || null;
3302
3349
  return { appSettings, error, loading, refetch };
3303
3350
  };
3304
-
3305
- // src/graphql/hooks/googleImportedMarkets/hooksMutation.ts
3306
- import { useMutation as useMutation19 } from "@apollo/client";
3307
-
3308
- // src/graphql/mutations/googleImportedMarkets.ts
3309
- import { gql as gql35 } from "@apollo/client";
3310
- var CRAWL_GOOGLE_MARKETS_MUTATION = gql35`
3311
- mutation crawlGoogleMarkets {
3312
- crawlGoogleMarkets {
3313
- message
3314
- }
3315
- }
3316
- `;
3317
-
3318
- // src/graphql/hooks/googleImportedMarkets/hooksMutation.ts
3319
- var useCrawlGoogleMarkets = () => {
3320
- const [crawlGoogleMarkets, { loading, error }] = useMutation19(CRAWL_GOOGLE_MARKETS_MUTATION);
3321
- return { crawlGoogleMarkets, error, loading };
3322
- };
3323
-
3324
- // src/graphql/hooks/googleImportedMarkets/hooksQuery.ts
3325
- import { useQuery as useQuery14 } from "@apollo/client";
3326
-
3327
- // src/graphql/queries/googleImportedMarkets.ts
3328
- import { gql as gql36 } from "@apollo/client";
3329
- var GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT = gql36`
3330
- fragment GoogleImportedMarketsFields on GoogleImportedMarketType {
3331
- _id
3332
- accessibilityOptions
3333
- address
3334
- addressComponents {
3335
- longName
3336
- shortName
3337
- types
3338
- }
3339
- allowsDogs
3340
- businessStatus
3341
- claimed
3342
- createdAt
3343
- dateTime {
3344
- ...EventDateTimeFields
3345
- }
3346
- goodForChildren
3347
- goodForGroups
3348
- googleMapsUrl
3349
- googlePlaceId
3350
- image
3351
- importedAt
3352
- liveMusic
3353
- location {
3354
- lat
3355
- lng
3356
- }
3357
- name
3358
- openingHours
3359
- parkingOptions
3360
- paymentOptions
3361
- phone
3362
- photos
3363
- rating
3364
- region
3365
- restroom
3366
- reviewCount
3367
- slug
3368
- updatedAt
3369
- website
3370
- }
3371
- ${EVENT_DATETIME_FIELDS_FRAGMENT}
3372
- `;
3373
- var GET_GOOGLE_IMPORTED_MARKETS = gql36`
3374
- query getGoogleImportedMarkets {
3375
- googleImportedMarkets {
3376
- ...GoogleImportedMarketsFields
3377
- }
3378
- }
3379
- ${GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT}
3380
- `;
3381
- var GET_GOOGLE_IMPORTED_MARKETS_BY_REGION = gql36`
3382
- query getGoogleImportedMarketsByRegion($region: String!) {
3383
- googleImportedMarketsByRegion(region: $region) {
3384
- ...GoogleImportedMarketsFields
3385
- }
3386
- }
3387
- ${GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT}
3388
- `;
3389
- var SEARCH_GOOGLE_IMPORTED_MARKETS = gql36`
3390
- query searchGoogleImportedMarkets($search: String!, $region: String) {
3391
- googleImportedMarketsSearch(search: $search, region: $region) {
3392
- ...GoogleImportedMarketsFields
3393
- }
3394
- }
3395
- ${GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT}
3396
- `;
3397
- var GET_GOOGLE_IMPORTED_MARKETS_NEAR_ME = gql36`
3398
- query getGoogleImportedMarketsNearMe(
3399
- $latitude: Float!
3400
- $longitude: Float!
3401
- $radius: Int
3402
- ) {
3403
- googleImportedMarketsNearMe(
3404
- lat: $latitude
3405
- lng: $longitude
3406
- radius: $radius
3407
- ) {
3408
- ...GoogleImportedMarketsFields
3409
- }
3410
- }
3411
- ${GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT}
3412
- `;
3413
-
3414
- // src/graphql/hooks/googleImportedMarkets/hooksQuery.ts
3415
- var useGetGoogleImportedMarkets = () => {
3416
- const { loading, error, data, refetch } = useQuery14(GET_GOOGLE_IMPORTED_MARKETS, {
3417
- fetchPolicy: "network-only"
3418
- });
3419
- const googleImportedMarkets = data?.googleImportedMarkets || [];
3420
- return { error, googleImportedMarkets, loading, refetch };
3421
- };
3422
- var useGetGoogleImportedMarketsByRegion = (region) => {
3423
- const { loading, error, data, refetch } = useQuery14(GET_GOOGLE_IMPORTED_MARKETS_BY_REGION, {
3424
- fetchPolicy: "network-only",
3425
- skip: !region,
3426
- variables: { region }
3427
- });
3428
- const googleImportedMarketsByRegion = data?.googleImportedMarketsByRegion || [];
3429
- return { error, googleImportedMarketsByRegion, loading, refetch };
3430
- };
3431
- var useSearchGoogleImportedMarkets = (search, region) => {
3432
- const { loading, error, data, refetch } = useQuery14(SEARCH_GOOGLE_IMPORTED_MARKETS, {
3433
- fetchPolicy: "network-only",
3434
- skip: search.length < 3,
3435
- variables: { region, search }
3436
- });
3437
- const googleImportedMarketsSearch = data?.googleImportedMarketsSearch || [];
3438
- return { error, googleImportedMarketsSearch, loading, refetch };
3439
- };
3440
- var useGetGoogleImportedMarketsNearMe = (latitude, longitude, radius) => {
3441
- const { loading, error, data, refetch } = useQuery14(GET_GOOGLE_IMPORTED_MARKETS_NEAR_ME, {
3442
- fetchPolicy: "network-only",
3443
- skip: !latitude || !longitude,
3444
- variables: {
3445
- latitude,
3446
- longitude,
3447
- radius: radius || 1e4
3448
- // Default to 10km if no radius is provided
3449
- }
3450
- });
3451
- const googleImportedMarketsNearMe = data?.googleImportedMarketsNearMe || [];
3452
- return { error, googleImportedMarketsNearMe, loading, refetch };
3453
- };
3454
3351
  export {
3455
3352
  useAddParticipantToChat,
3456
3353
  useAddUserFavouriteResource,
@@ -3505,9 +3402,6 @@ export {
3505
3402
  useGetEvents,
3506
3403
  useGetEventsByRegion,
3507
3404
  useGetEventsNearMe,
3508
- useGetGoogleImportedMarkets,
3509
- useGetGoogleImportedMarketsByRegion,
3510
- useGetGoogleImportedMarketsNearMe,
3511
3405
  useGetNotificationCount,
3512
3406
  useGetNotificationCountSubscription,
3513
3407
  useGetPartner,
@@ -3552,7 +3446,6 @@ export {
3552
3446
  useRequestPasswordReset,
3553
3447
  useResetPassword,
3554
3448
  useSearchEvents,
3555
- useSearchGoogleImportedMarkets,
3556
3449
  useSearchPartners,
3557
3450
  useSearchVendors,
3558
3451
  useSelectPackage,