@timardex/cluemart-shared 1.7.90 → 2.0.0

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.
Files changed (67) hide show
  1. package/dist/{ad-BX_Da-0Q.d.ts → ad-C7jlZyUd.d.ts} +2 -2
  2. package/dist/{ad-MA6buSLw.d.mts → ad-tNoTBv3n.d.mts} +2 -2
  3. package/dist/{affiliate-Cb8BLoQc.d.mts → affiliate-BL1ZN-4t.d.mts} +2 -2
  4. package/dist/{affiliate-DXpSgV4o.d.ts → affiliate-DStyY84o.d.ts} +2 -2
  5. package/dist/auth/index.cjs +18 -8
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +3 -3
  8. package/dist/auth/index.d.ts +3 -3
  9. package/dist/auth/index.mjs +1 -1
  10. package/dist/{billingCatalog-Bca0IZG_.d.mts → billingCatalog-DDAU9BWV.d.mts} +1 -1
  11. package/dist/{billingCatalog-Rh9yvue3.d.ts → billingCatalog-oWAfZX95.d.ts} +1 -1
  12. package/dist/chunk-7DQBUZXY.mjs +41 -0
  13. package/dist/chunk-7DQBUZXY.mjs.map +1 -0
  14. package/dist/{chunk-TD52IH52.mjs → chunk-JJQL6LZE.mjs} +1 -1
  15. package/dist/chunk-JJQL6LZE.mjs.map +1 -0
  16. package/dist/{chunk-D3U4LBOQ.mjs → chunk-L3SNS6OJ.mjs} +2 -2
  17. package/dist/{chunk-GA6E5NK3.mjs → chunk-OUWKLNHZ.mjs} +21 -23
  18. package/dist/chunk-OUWKLNHZ.mjs.map +1 -0
  19. package/dist/{chunk-6VTX7IPF.mjs → chunk-XPUYQ7GB.mjs} +150 -86
  20. package/dist/chunk-XPUYQ7GB.mjs.map +1 -0
  21. package/dist/{contactUs-TEAbhwp9.d.mts → contactUs-BYm-iDIH.d.mts} +1 -1
  22. package/dist/{contactUs-Dm-0Qua3.d.ts → contactUs-_BHRXUrv.d.ts} +1 -1
  23. package/dist/formFields/index.cjs.map +1 -1
  24. package/dist/formFields/index.d.mts +1 -1
  25. package/dist/formFields/index.d.ts +1 -1
  26. package/dist/formFields/index.mjs +3 -2
  27. package/dist/{global-CDYmiqmd.d.mts → global-C7-KDYqg.d.mts} +6 -3
  28. package/dist/{global-DTXnm4Ok.d.ts → global-D_et_d2Y.d.ts} +6 -3
  29. package/dist/graphql/index.cjs +389 -290
  30. package/dist/graphql/index.cjs.map +1 -1
  31. package/dist/graphql/index.d.mts +59 -70
  32. package/dist/graphql/index.d.ts +59 -70
  33. package/dist/graphql/index.mjs +17 -14
  34. package/dist/hooks/index.cjs +233 -199
  35. package/dist/hooks/index.cjs.map +1 -1
  36. package/dist/hooks/index.d.mts +5 -5
  37. package/dist/hooks/index.d.ts +5 -5
  38. package/dist/hooks/index.mjs +5 -4
  39. package/dist/hooks/index.mjs.map +1 -1
  40. package/dist/index.cjs +398 -290
  41. package/dist/index.cjs.map +1 -1
  42. package/dist/index.d.mts +93 -71
  43. package/dist/index.d.ts +93 -71
  44. package/dist/index.mjs +357 -254
  45. package/dist/index.mjs.map +1 -1
  46. package/dist/map/index.d.mts +1 -1
  47. package/dist/map/index.d.ts +1 -1
  48. package/dist/{resourceActivities-e3GkUqTN.d.mts → resourceActivities-BvejCLh9.d.mts} +2 -2
  49. package/dist/{resourceActivities-CAr2chXT.d.ts → resourceActivities-Smsl03Je.d.ts} +2 -2
  50. package/dist/sharing/index.d.mts +1 -1
  51. package/dist/sharing/index.d.ts +1 -1
  52. package/dist/types/index.cjs.map +1 -1
  53. package/dist/types/index.d.mts +8 -8
  54. package/dist/types/index.d.ts +8 -8
  55. package/dist/types/index.mjs +1 -1
  56. package/dist/{user-D6Mt35k0.d.ts → user-BA7TT2yB.d.mts} +20 -6
  57. package/dist/{user-BTzwLwJl.d.mts → user-nHjaLZoG.d.ts} +20 -6
  58. package/dist/utils/index.cjs +42 -0
  59. package/dist/utils/index.cjs.map +1 -1
  60. package/dist/utils/index.d.mts +21 -5
  61. package/dist/utils/index.d.ts +21 -5
  62. package/dist/utils/index.mjs +12 -2
  63. package/package.json +4 -1
  64. package/dist/chunk-6VTX7IPF.mjs.map +0 -1
  65. package/dist/chunk-GA6E5NK3.mjs.map +0 -1
  66. package/dist/chunk-TD52IH52.mjs.map +0 -1
  67. /package/dist/{chunk-D3U4LBOQ.mjs.map → chunk-L3SNS6OJ.mjs.map} +0 -0
@@ -1,28 +1,36 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
+ import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
2
3
  import { DocumentNode } from 'graphql';
3
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-e3GkUqTN.mjs';
4
- import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-CDYmiqmd.mjs';
5
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-MA6buSLw.mjs';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-BvejCLh9.mjs';
5
+ import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-C7-KDYqg.mjs';
6
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-tNoTBv3n.mjs';
6
7
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
7
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-BTzwLwJl.mjs';
8
- import { B as BillingCatalogEntryType } from '../billingCatalog-Bca0IZG_.mjs';
9
- import { A as AffiliateType } from '../affiliate-Cb8BLoQc.mjs';
8
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-BA7TT2yB.mjs';
9
+ import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
10
+ import { A as AffiliateType } from '../affiliate-BL1ZN-4t.mjs';
10
11
  import 'react-hook-form';
11
12
  import '../images/index.mjs';
12
13
 
14
+ declare const GET_EVENTS: _apollo_client.DocumentNode;
13
15
  declare const GET_EVENT: _apollo_client.DocumentNode;
14
16
  declare const GET_OWNED_EVENT: _apollo_client.DocumentNode;
15
17
  declare const GET_EVENT_INFO: _apollo_client.DocumentNode;
16
18
 
19
+ declare const GET_VENDORS: _apollo_client.DocumentNode;
17
20
  declare const GET_VENDOR: _apollo_client.DocumentNode;
18
21
  declare const GET_VENDOR_INFO: _apollo_client.DocumentNode;
19
22
  declare const MY_PENDING_VENDOR_CLAIM: _apollo_client.DocumentNode;
20
23
 
21
24
  declare const ACTIVATE_VENDOR_CLAIM_MUTATION: _apollo_client.DocumentNode;
22
25
 
26
+ declare const GET_PARTNERS: _apollo_client.DocumentNode;
23
27
  declare const GET_PARTNER: _apollo_client.DocumentNode;
24
28
 
29
+ declare const GET_POSTS: _apollo_client.DocumentNode;
25
30
  declare const GET_POST: _apollo_client.DocumentNode;
31
+ declare const GET_POSTS_BY_TYPE: _apollo_client.DocumentNode;
32
+
33
+ declare const GET_USERS: _apollo_client.DocumentNode;
26
34
 
27
35
  declare const GET_EVENT_BY_SLUG: _apollo_client.DocumentNode;
28
36
  declare const GET_VENDOR_BY_SLUG: _apollo_client.DocumentNode;
@@ -315,14 +323,6 @@ declare const useUpdateEventInfo: () => {
315
323
  }>>;
316
324
  };
317
325
 
318
- declare const useGetEvents: (dateStatus?: EnumEventDateStatus) => {
319
- error: _apollo_client.ApolloError | undefined;
320
- events: EventListItemType[];
321
- loading: boolean;
322
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
323
- events: EventListItemType[];
324
- }>>;
325
- };
326
326
  declare const useGetEvent: (_id: string) => {
327
327
  error: _apollo_client.ApolloError | undefined;
328
328
  event: EventType | null;
@@ -367,7 +367,7 @@ declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesBy
367
367
  eventsByRegion: EventListItemType[];
368
368
  }>>;
369
369
  };
370
- declare const useSearchEvents: (region: string, searchQuery?: string, tags?: string[], dateStatus?: EnumEventDateStatus) => {
370
+ declare const useSearchEvents: (search: string, region: string, tags?: string[], dateStatus?: EnumEventDateStatus) => {
371
371
  error: _apollo_client.ApolloError | undefined;
372
372
  eventsSearch: EventListItemType[];
373
373
  loading: boolean;
@@ -666,14 +666,6 @@ declare const useActivateVendorClaim: () => {
666
666
  loading: boolean;
667
667
  };
668
668
 
669
- declare const useGetVendors: () => {
670
- error: _apollo_client.ApolloError | undefined;
671
- loading: boolean;
672
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
673
- vendors: VendorType[];
674
- }>>;
675
- vendors: VendorType[];
676
- };
677
669
  declare const useGetVendor: (_id: string) => {
678
670
  error: _apollo_client.ApolloError | undefined;
679
671
  loading: boolean;
@@ -875,14 +867,6 @@ declare const useSelectStandardPackage: () => {
875
867
  }>>;
876
868
  };
877
869
 
878
- declare const useGetUsers: () => {
879
- error: _apollo_client.ApolloError | undefined;
880
- loading: boolean;
881
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
882
- users: SafeUserType[];
883
- }>>;
884
- users: SafeUserType[];
885
- };
886
870
  declare const useGetUser: (_id: string) => {
887
871
  error: _apollo_client.ApolloError | undefined;
888
872
  loading: boolean;
@@ -1064,9 +1048,9 @@ declare const useCreateCheckoutSession: () => {
1064
1048
  };
1065
1049
  declare const useCancelSubscription: () => {
1066
1050
  cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<{
1067
- cancelSubscription: MutationResponse<string>;
1051
+ cancelSubscription: MutationResponse<SubscriptionStatusData>;
1068
1052
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1069
- cancelSubscription: MutationResponse<string>;
1053
+ cancelSubscription: MutationResponse<SubscriptionStatusData>;
1070
1054
  }>>;
1071
1055
  error: _apollo_client.ApolloError | undefined;
1072
1056
  loading: boolean;
@@ -1075,19 +1059,9 @@ declare const useUpdateSubscriptionPlan: () => {
1075
1059
  error: _apollo_client.ApolloError | undefined;
1076
1060
  loading: boolean;
1077
1061
  updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<{
1078
- updateSubscriptionPlan: MutationResponse<{
1079
- subscriptionId: string;
1080
- status: string;
1081
- priceId: string;
1082
- currentPlan: string;
1083
- }>;
1062
+ updateSubscriptionPlan: MutationResponse<SubscriptionStatusData>;
1084
1063
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1085
- updateSubscriptionPlan: MutationResponse<{
1086
- subscriptionId: string;
1087
- status: string;
1088
- priceId: string;
1089
- currentPlan: string;
1090
- }>;
1064
+ updateSubscriptionPlan: MutationResponse<SubscriptionStatusData>;
1091
1065
  }>>;
1092
1066
  };
1093
1067
  declare const useCreateCustomerPortal: () => {
@@ -1149,14 +1123,6 @@ declare const useDeletePartner: () => {
1149
1123
  loading: boolean;
1150
1124
  };
1151
1125
 
1152
- declare const useGetPartners: () => {
1153
- error: _apollo_client.ApolloError | undefined;
1154
- loading: boolean;
1155
- partners: PartnerType[];
1156
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1157
- partners: PartnerType[];
1158
- }>>;
1159
- };
1160
1126
  declare const useGetPartner: (_id: string) => {
1161
1127
  error: _apollo_client.ApolloError | undefined;
1162
1128
  loading: boolean;
@@ -1222,14 +1188,6 @@ declare const useDeletePost: () => {
1222
1188
  loading: boolean;
1223
1189
  };
1224
1190
 
1225
- declare const useGetPosts: () => {
1226
- error: _apollo_client.ApolloError | undefined;
1227
- loading: boolean;
1228
- posts: PostType[];
1229
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1230
- posts: PostType[];
1231
- }>>;
1232
- };
1233
1191
  declare const useGetPost: (_id: string) => {
1234
1192
  error: _apollo_client.ApolloError | undefined;
1235
1193
  loading: boolean;
@@ -1238,14 +1196,6 @@ declare const useGetPost: (_id: string) => {
1238
1196
  post: PostType;
1239
1197
  }>>;
1240
1198
  };
1241
- declare const useGetPostsByType: (postType: EnumPostType) => {
1242
- error: _apollo_client.ApolloError | undefined;
1243
- loading: boolean;
1244
- postsByType: PostType[];
1245
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1246
- postsByType: PostType[];
1247
- }>>;
1248
- };
1249
1199
 
1250
1200
  declare const useUpdateAppSettings: () => {
1251
1201
  error: _apollo_client.ApolloError | undefined;
@@ -1573,4 +1523,43 @@ declare const useGetCoupon: (_id: string) => {
1573
1523
  }>>;
1574
1524
  };
1575
1525
 
1576
- export { ACTIVATE_VENDOR_CLAIM_MUTATION, GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_OWNED_EVENT, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GetCouponsVariables, MY_PENDING_VENDOR_CLAIM, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateAffiliate, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCoupon, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteCoupon, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetBillingCatalog, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetOwnedEvent, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetUsersByPromoCode, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectStandardPackage, useSendChatMessage, useStartGame, useSyncBillingCatalogPrice, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateBillingCatalogPrice, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
1526
+ interface UsePaginatedListArgs<TData, TItem> {
1527
+ /** GraphQL query document (must accept `options: PaginationOptions`). */
1528
+ document: DocumentNode$1;
1529
+ /** Extract the page's items from the query result. */
1530
+ getItems: (data: TData | undefined) => TItem[];
1531
+ /** Extra (non-pagination) query variables, e.g. `{ postType }`. */
1532
+ variables?: Record<string, unknown>;
1533
+ /** Skip the query entirely (e.g. when a required variable is empty). */
1534
+ skip?: boolean;
1535
+ pageSize?: number;
1536
+ /** Override the identity key (defaults to `_id`). */
1537
+ getId?: (item: TItem) => string;
1538
+ }
1539
+ interface UsePaginatedListResult<TItem> {
1540
+ /** Accumulated, de-duplicated items across all loaded pages. */
1541
+ items: TItem[];
1542
+ /** True while a full page has been loaded and another page may exist. */
1543
+ hasMore: boolean;
1544
+ /** True during the very first page load. */
1545
+ loading: boolean;
1546
+ /** True while a subsequent page is loading (not the first). */
1547
+ loadingMore: boolean;
1548
+ error: ApolloError | undefined;
1549
+ /** Loads the next page (or retries the current page when errored). */
1550
+ loadMore: () => void;
1551
+ /** Resets pagination and re-fetches page 0. */
1552
+ refresh: () => Promise<unknown>;
1553
+ }
1554
+ /**
1555
+ * Offset-based "Load more" pagination, generalizing the affiliate users pattern.
1556
+ *
1557
+ * The hook owns the offset and accumulation; the caller supplies a GraphQL
1558
+ * document plus an accessor for extracting items from that resource's response
1559
+ * shape (each field has a different data key and item type). `hasMore` is
1560
+ * derived from a one-row probe (`pageSize + 1` fetch) and is frozen while a page
1561
+ * is in flight, so it reaches `false` without flickering away mid-load.
1562
+ */
1563
+ declare function usePaginatedList<TData, TItem>({ document, getItems, variables, skip, pageSize, getId, }: UsePaginatedListArgs<TData, TItem>): UsePaginatedListResult<TItem>;
1564
+
1565
+ export { ACTIVATE_VENDOR_CLAIM_MUTATION, GET_EVENT, GET_EVENTS, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_OWNED_EVENT, GET_PARTNER, GET_PARTNERS, GET_PARTNER_BY_SLUG, GET_POST, GET_POSTS, GET_POSTS_BY_TYPE, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_USERS, GET_VENDOR, GET_VENDORS, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GetCouponsVariables, MY_PENDING_VENDOR_CLAIM, type UsePaginatedListArgs, type UsePaginatedListResult, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateAffiliate, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCoupon, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteCoupon, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetBillingCatalog, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetOwnedEvent, useGetPartner, useGetPartnersByRegion, useGetPost, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsersByPromoCode, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, usePaginatedList, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectStandardPackage, useSendChatMessage, useStartGame, useSyncBillingCatalogPrice, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateBillingCatalogPrice, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -1,28 +1,36 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
+ import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
2
3
  import { DocumentNode } from 'graphql';
3
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-CAr2chXT.js';
4
- import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-DTXnm4Ok.js';
5
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-BX_Da-0Q.js';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-Smsl03Je.js';
5
+ import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-D_et_d2Y.js';
6
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-C7jlZyUd.js';
6
7
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
7
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-D6Mt35k0.js';
8
- import { B as BillingCatalogEntryType } from '../billingCatalog-Rh9yvue3.js';
9
- import { A as AffiliateType } from '../affiliate-DXpSgV4o.js';
8
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-nHjaLZoG.js';
9
+ import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
10
+ import { A as AffiliateType } from '../affiliate-DStyY84o.js';
10
11
  import 'react-hook-form';
11
12
  import '../images/index.js';
12
13
 
14
+ declare const GET_EVENTS: _apollo_client.DocumentNode;
13
15
  declare const GET_EVENT: _apollo_client.DocumentNode;
14
16
  declare const GET_OWNED_EVENT: _apollo_client.DocumentNode;
15
17
  declare const GET_EVENT_INFO: _apollo_client.DocumentNode;
16
18
 
19
+ declare const GET_VENDORS: _apollo_client.DocumentNode;
17
20
  declare const GET_VENDOR: _apollo_client.DocumentNode;
18
21
  declare const GET_VENDOR_INFO: _apollo_client.DocumentNode;
19
22
  declare const MY_PENDING_VENDOR_CLAIM: _apollo_client.DocumentNode;
20
23
 
21
24
  declare const ACTIVATE_VENDOR_CLAIM_MUTATION: _apollo_client.DocumentNode;
22
25
 
26
+ declare const GET_PARTNERS: _apollo_client.DocumentNode;
23
27
  declare const GET_PARTNER: _apollo_client.DocumentNode;
24
28
 
29
+ declare const GET_POSTS: _apollo_client.DocumentNode;
25
30
  declare const GET_POST: _apollo_client.DocumentNode;
31
+ declare const GET_POSTS_BY_TYPE: _apollo_client.DocumentNode;
32
+
33
+ declare const GET_USERS: _apollo_client.DocumentNode;
26
34
 
27
35
  declare const GET_EVENT_BY_SLUG: _apollo_client.DocumentNode;
28
36
  declare const GET_VENDOR_BY_SLUG: _apollo_client.DocumentNode;
@@ -315,14 +323,6 @@ declare const useUpdateEventInfo: () => {
315
323
  }>>;
316
324
  };
317
325
 
318
- declare const useGetEvents: (dateStatus?: EnumEventDateStatus) => {
319
- error: _apollo_client.ApolloError | undefined;
320
- events: EventListItemType[];
321
- loading: boolean;
322
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
323
- events: EventListItemType[];
324
- }>>;
325
- };
326
326
  declare const useGetEvent: (_id: string) => {
327
327
  error: _apollo_client.ApolloError | undefined;
328
328
  event: EventType | null;
@@ -367,7 +367,7 @@ declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesBy
367
367
  eventsByRegion: EventListItemType[];
368
368
  }>>;
369
369
  };
370
- declare const useSearchEvents: (region: string, searchQuery?: string, tags?: string[], dateStatus?: EnumEventDateStatus) => {
370
+ declare const useSearchEvents: (search: string, region: string, tags?: string[], dateStatus?: EnumEventDateStatus) => {
371
371
  error: _apollo_client.ApolloError | undefined;
372
372
  eventsSearch: EventListItemType[];
373
373
  loading: boolean;
@@ -666,14 +666,6 @@ declare const useActivateVendorClaim: () => {
666
666
  loading: boolean;
667
667
  };
668
668
 
669
- declare const useGetVendors: () => {
670
- error: _apollo_client.ApolloError | undefined;
671
- loading: boolean;
672
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
673
- vendors: VendorType[];
674
- }>>;
675
- vendors: VendorType[];
676
- };
677
669
  declare const useGetVendor: (_id: string) => {
678
670
  error: _apollo_client.ApolloError | undefined;
679
671
  loading: boolean;
@@ -875,14 +867,6 @@ declare const useSelectStandardPackage: () => {
875
867
  }>>;
876
868
  };
877
869
 
878
- declare const useGetUsers: () => {
879
- error: _apollo_client.ApolloError | undefined;
880
- loading: boolean;
881
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
882
- users: SafeUserType[];
883
- }>>;
884
- users: SafeUserType[];
885
- };
886
870
  declare const useGetUser: (_id: string) => {
887
871
  error: _apollo_client.ApolloError | undefined;
888
872
  loading: boolean;
@@ -1064,9 +1048,9 @@ declare const useCreateCheckoutSession: () => {
1064
1048
  };
1065
1049
  declare const useCancelSubscription: () => {
1066
1050
  cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<{
1067
- cancelSubscription: MutationResponse<string>;
1051
+ cancelSubscription: MutationResponse<SubscriptionStatusData>;
1068
1052
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1069
- cancelSubscription: MutationResponse<string>;
1053
+ cancelSubscription: MutationResponse<SubscriptionStatusData>;
1070
1054
  }>>;
1071
1055
  error: _apollo_client.ApolloError | undefined;
1072
1056
  loading: boolean;
@@ -1075,19 +1059,9 @@ declare const useUpdateSubscriptionPlan: () => {
1075
1059
  error: _apollo_client.ApolloError | undefined;
1076
1060
  loading: boolean;
1077
1061
  updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<{
1078
- updateSubscriptionPlan: MutationResponse<{
1079
- subscriptionId: string;
1080
- status: string;
1081
- priceId: string;
1082
- currentPlan: string;
1083
- }>;
1062
+ updateSubscriptionPlan: MutationResponse<SubscriptionStatusData>;
1084
1063
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1085
- updateSubscriptionPlan: MutationResponse<{
1086
- subscriptionId: string;
1087
- status: string;
1088
- priceId: string;
1089
- currentPlan: string;
1090
- }>;
1064
+ updateSubscriptionPlan: MutationResponse<SubscriptionStatusData>;
1091
1065
  }>>;
1092
1066
  };
1093
1067
  declare const useCreateCustomerPortal: () => {
@@ -1149,14 +1123,6 @@ declare const useDeletePartner: () => {
1149
1123
  loading: boolean;
1150
1124
  };
1151
1125
 
1152
- declare const useGetPartners: () => {
1153
- error: _apollo_client.ApolloError | undefined;
1154
- loading: boolean;
1155
- partners: PartnerType[];
1156
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1157
- partners: PartnerType[];
1158
- }>>;
1159
- };
1160
1126
  declare const useGetPartner: (_id: string) => {
1161
1127
  error: _apollo_client.ApolloError | undefined;
1162
1128
  loading: boolean;
@@ -1222,14 +1188,6 @@ declare const useDeletePost: () => {
1222
1188
  loading: boolean;
1223
1189
  };
1224
1190
 
1225
- declare const useGetPosts: () => {
1226
- error: _apollo_client.ApolloError | undefined;
1227
- loading: boolean;
1228
- posts: PostType[];
1229
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1230
- posts: PostType[];
1231
- }>>;
1232
- };
1233
1191
  declare const useGetPost: (_id: string) => {
1234
1192
  error: _apollo_client.ApolloError | undefined;
1235
1193
  loading: boolean;
@@ -1238,14 +1196,6 @@ declare const useGetPost: (_id: string) => {
1238
1196
  post: PostType;
1239
1197
  }>>;
1240
1198
  };
1241
- declare const useGetPostsByType: (postType: EnumPostType) => {
1242
- error: _apollo_client.ApolloError | undefined;
1243
- loading: boolean;
1244
- postsByType: PostType[];
1245
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1246
- postsByType: PostType[];
1247
- }>>;
1248
- };
1249
1199
 
1250
1200
  declare const useUpdateAppSettings: () => {
1251
1201
  error: _apollo_client.ApolloError | undefined;
@@ -1573,4 +1523,43 @@ declare const useGetCoupon: (_id: string) => {
1573
1523
  }>>;
1574
1524
  };
1575
1525
 
1576
- export { ACTIVATE_VENDOR_CLAIM_MUTATION, GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_OWNED_EVENT, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GetCouponsVariables, MY_PENDING_VENDOR_CLAIM, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateAffiliate, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCoupon, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteCoupon, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetBillingCatalog, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetOwnedEvent, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetUsersByPromoCode, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectStandardPackage, useSendChatMessage, useStartGame, useSyncBillingCatalogPrice, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateBillingCatalogPrice, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
1526
+ interface UsePaginatedListArgs<TData, TItem> {
1527
+ /** GraphQL query document (must accept `options: PaginationOptions`). */
1528
+ document: DocumentNode$1;
1529
+ /** Extract the page's items from the query result. */
1530
+ getItems: (data: TData | undefined) => TItem[];
1531
+ /** Extra (non-pagination) query variables, e.g. `{ postType }`. */
1532
+ variables?: Record<string, unknown>;
1533
+ /** Skip the query entirely (e.g. when a required variable is empty). */
1534
+ skip?: boolean;
1535
+ pageSize?: number;
1536
+ /** Override the identity key (defaults to `_id`). */
1537
+ getId?: (item: TItem) => string;
1538
+ }
1539
+ interface UsePaginatedListResult<TItem> {
1540
+ /** Accumulated, de-duplicated items across all loaded pages. */
1541
+ items: TItem[];
1542
+ /** True while a full page has been loaded and another page may exist. */
1543
+ hasMore: boolean;
1544
+ /** True during the very first page load. */
1545
+ loading: boolean;
1546
+ /** True while a subsequent page is loading (not the first). */
1547
+ loadingMore: boolean;
1548
+ error: ApolloError | undefined;
1549
+ /** Loads the next page (or retries the current page when errored). */
1550
+ loadMore: () => void;
1551
+ /** Resets pagination and re-fetches page 0. */
1552
+ refresh: () => Promise<unknown>;
1553
+ }
1554
+ /**
1555
+ * Offset-based "Load more" pagination, generalizing the affiliate users pattern.
1556
+ *
1557
+ * The hook owns the offset and accumulation; the caller supplies a GraphQL
1558
+ * document plus an accessor for extracting items from that resource's response
1559
+ * shape (each field has a different data key and item type). `hasMore` is
1560
+ * derived from a one-row probe (`pageSize + 1` fetch) and is frozen while a page
1561
+ * is in flight, so it reaches `false` without flickering away mid-load.
1562
+ */
1563
+ declare function usePaginatedList<TData, TItem>({ document, getItems, variables, skip, pageSize, getId, }: UsePaginatedListArgs<TData, TItem>): UsePaginatedListResult<TItem>;
1564
+
1565
+ export { ACTIVATE_VENDOR_CLAIM_MUTATION, GET_EVENT, GET_EVENTS, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_OWNED_EVENT, GET_PARTNER, GET_PARTNERS, GET_PARTNER_BY_SLUG, GET_POST, GET_POSTS, GET_POSTS_BY_TYPE, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_USERS, GET_VENDOR, GET_VENDORS, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GetCouponsVariables, MY_PENDING_VENDOR_CLAIM, type UsePaginatedListArgs, type UsePaginatedListResult, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateAffiliate, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCoupon, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteCoupon, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetBillingCatalog, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetOwnedEvent, useGetPartner, useGetPartnersByRegion, useGetPost, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsersByPromoCode, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, usePaginatedList, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectStandardPackage, useSendChatMessage, useStartGame, useSyncBillingCatalogPrice, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateBillingCatalogPrice, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -3,6 +3,8 @@ import {
3
3
  GET_EVENT_BY_SLUG,
4
4
  GET_PARTNER_BY_SLUG,
5
5
  GET_POST,
6
+ GET_POSTS,
7
+ GET_POSTS_BY_TYPE,
6
8
  GET_POST_BY_SLUG,
7
9
  GET_RESOURCE_CONNECTIONS,
8
10
  GET_VENDOR_BY_SLUG,
@@ -71,7 +73,6 @@ import {
71
73
  useGetEventByPlaceId,
72
74
  useGetEventInfo,
73
75
  useGetEventRelations,
74
- useGetEvents,
75
76
  useGetEventsByRegion,
76
77
  useGetEventsNearMe,
77
78
  useGetGame,
@@ -81,11 +82,8 @@ import {
81
82
  useGetNotificationCountSubscription,
82
83
  useGetOwnedEvent,
83
84
  useGetPartner,
84
- useGetPartners,
85
85
  useGetPartnersByRegion,
86
86
  useGetPost,
87
- useGetPosts,
88
- useGetPostsByType,
89
87
  useGetPrivateChats,
90
88
  useGetRelation,
91
89
  useGetRelationByEventAndVendor,
@@ -105,13 +103,13 @@ import {
105
103
  useGetVendor,
106
104
  useGetVendorInfo,
107
105
  useGetVendorRelations,
108
- useGetVendors,
109
106
  useGetVendorsByRegion,
110
107
  useLeaveGame,
111
108
  useMarkAllNotificationsRead,
112
109
  useMarkChatMessagesSeen,
113
110
  useMarkNotificationRead,
114
111
  useMyPendingVendorClaim,
112
+ usePaginatedList,
115
113
  useRedeemAffiliateReward,
116
114
  useRedeemReward,
117
115
  useRemoveParticipantFromChat,
@@ -151,13 +149,17 @@ import {
151
149
  useUpdateUser,
152
150
  useUpdateVendor,
153
151
  useUpdateVendorInfo
154
- } from "../chunk-6VTX7IPF.mjs";
152
+ } from "../chunk-XPUYQ7GB.mjs";
155
153
  import {
156
154
  GET_EVENT,
155
+ GET_EVENTS,
157
156
  GET_EVENT_INFO,
158
157
  GET_OWNED_EVENT,
159
158
  GET_PARTNER,
159
+ GET_PARTNERS,
160
+ GET_USERS,
160
161
  GET_VENDOR,
162
+ GET_VENDORS,
161
163
  GET_VENDOR_INFO,
162
164
  MY_PENDING_VENDOR_CLAIM,
163
165
  useGetUser,
@@ -166,7 +168,6 @@ import {
166
168
  useGetUserPartners,
167
169
  useGetUserResources,
168
170
  useGetUserVendors,
169
- useGetUsers,
170
171
  useGetUsersByPromoCode,
171
172
  useLogin,
172
173
  useLogout,
@@ -175,20 +176,27 @@ import {
175
176
  useRequestPasswordReset,
176
177
  useResetPassword,
177
178
  useValidateVerificationToken
178
- } from "../chunk-GA6E5NK3.mjs";
179
+ } from "../chunk-OUWKLNHZ.mjs";
180
+ import "../chunk-7DQBUZXY.mjs";
179
181
  import "../chunk-P4NLBWEJ.mjs";
180
182
  export {
181
183
  ACTIVATE_VENDOR_CLAIM_MUTATION,
182
184
  GET_EVENT,
185
+ GET_EVENTS,
183
186
  GET_EVENT_BY_SLUG,
184
187
  GET_EVENT_INFO,
185
188
  GET_OWNED_EVENT,
186
189
  GET_PARTNER,
190
+ GET_PARTNERS,
187
191
  GET_PARTNER_BY_SLUG,
188
192
  GET_POST,
193
+ GET_POSTS,
194
+ GET_POSTS_BY_TYPE,
189
195
  GET_POST_BY_SLUG,
190
196
  GET_RESOURCE_CONNECTIONS,
197
+ GET_USERS,
191
198
  GET_VENDOR,
199
+ GET_VENDORS,
192
200
  GET_VENDOR_BY_SLUG,
193
201
  GET_VENDOR_INFO,
194
202
  MY_PENDING_VENDOR_CLAIM,
@@ -257,7 +265,6 @@ export {
257
265
  useGetEventByPlaceId,
258
266
  useGetEventInfo,
259
267
  useGetEventRelations,
260
- useGetEvents,
261
268
  useGetEventsByRegion,
262
269
  useGetEventsNearMe,
263
270
  useGetGame,
@@ -267,11 +274,8 @@ export {
267
274
  useGetNotificationCountSubscription,
268
275
  useGetOwnedEvent,
269
276
  useGetPartner,
270
- useGetPartners,
271
277
  useGetPartnersByRegion,
272
278
  useGetPost,
273
- useGetPosts,
274
- useGetPostsByType,
275
279
  useGetPrivateChats,
276
280
  useGetRelation,
277
281
  useGetRelationByEventAndVendor,
@@ -294,12 +298,10 @@ export {
294
298
  useGetUserPartners,
295
299
  useGetUserResources,
296
300
  useGetUserVendors,
297
- useGetUsers,
298
301
  useGetUsersByPromoCode,
299
302
  useGetVendor,
300
303
  useGetVendorInfo,
301
304
  useGetVendorRelations,
302
- useGetVendors,
303
305
  useGetVendorsByRegion,
304
306
  useLeaveGame,
305
307
  useLogin,
@@ -308,6 +310,7 @@ export {
308
310
  useMarkChatMessagesSeen,
309
311
  useMarkNotificationRead,
310
312
  useMyPendingVendorClaim,
313
+ usePaginatedList,
311
314
  useRedeemAffiliateReward,
312
315
  useRedeemReward,
313
316
  useRefreshToken,