@timardex/cluemart-shared 2.1.0 → 2.1.2

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 (56) hide show
  1. package/dist/auth/index.cjs +2 -2
  2. package/dist/auth/index.cjs.map +1 -1
  3. package/dist/auth/index.mjs +2 -2
  4. package/dist/{chunk-3DYFIY72.mjs → chunk-7TZDJXYL.mjs} +1 -2
  5. package/dist/chunk-7TZDJXYL.mjs.map +1 -0
  6. package/dist/{chunk-ZUXHEXJU.mjs → chunk-B22YRNRF.mjs} +3 -3
  7. package/dist/{chunk-PNKTKJ47.mjs → chunk-BTZIWVSF.mjs} +2 -2
  8. package/dist/{chunk-YPT2VOTM.mjs → chunk-HFN6KXX2.mjs} +10 -36
  9. package/dist/chunk-HFN6KXX2.mjs.map +1 -0
  10. package/dist/{chunk-KUC252SN.mjs → chunk-MX3L6DSE.mjs} +8 -30
  11. package/dist/chunk-MX3L6DSE.mjs.map +1 -0
  12. package/dist/{chunk-ZSSVU6GY.mjs → chunk-OSSBKFNH.mjs} +3 -3
  13. package/dist/chunk-OSSBKFNH.mjs.map +1 -0
  14. package/dist/{chunk-UH6POK3Y.mjs → chunk-T7A7ZG55.mjs} +54 -18
  15. package/dist/chunk-T7A7ZG55.mjs.map +1 -0
  16. package/dist/enums/index.cjs +0 -1
  17. package/dist/enums/index.cjs.map +1 -1
  18. package/dist/enums/index.d.mts +1 -2
  19. package/dist/enums/index.d.ts +1 -2
  20. package/dist/enums/index.mjs +1 -1
  21. package/dist/formFields/index.cjs +34 -42
  22. package/dist/formFields/index.cjs.map +1 -1
  23. package/dist/formFields/index.mjs +4 -4
  24. package/dist/graphql/index.cjs +8 -31
  25. package/dist/graphql/index.cjs.map +1 -1
  26. package/dist/graphql/index.d.mts +4 -10
  27. package/dist/graphql/index.d.ts +4 -10
  28. package/dist/graphql/index.mjs +3 -5
  29. package/dist/hooks/index.cjs +36 -38
  30. package/dist/hooks/index.cjs.map +1 -1
  31. package/dist/hooks/index.mjs +7 -7
  32. package/dist/index.cjs +66 -72
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.d.mts +25 -13
  35. package/dist/index.d.ts +25 -13
  36. package/dist/index.mjs +63 -71
  37. package/dist/index.mjs.map +1 -1
  38. package/dist/region/index.cjs.map +1 -1
  39. package/dist/region/index.mjs +1 -1
  40. package/dist/sharing/index.cjs +28 -28
  41. package/dist/sharing/index.cjs.map +1 -1
  42. package/dist/sharing/index.mjs +3 -3
  43. package/dist/types/index.mjs +1 -1
  44. package/dist/utils/index.cjs +58 -54
  45. package/dist/utils/index.cjs.map +1 -1
  46. package/dist/utils/index.d.mts +22 -3
  47. package/dist/utils/index.d.ts +22 -3
  48. package/dist/utils/index.mjs +14 -8
  49. package/package.json +1 -1
  50. package/dist/chunk-3DYFIY72.mjs.map +0 -1
  51. package/dist/chunk-KUC252SN.mjs.map +0 -1
  52. package/dist/chunk-UH6POK3Y.mjs.map +0 -1
  53. package/dist/chunk-YPT2VOTM.mjs.map +0 -1
  54. package/dist/chunk-ZSSVU6GY.mjs.map +0 -1
  55. /package/dist/{chunk-ZUXHEXJU.mjs.map → chunk-B22YRNRF.mjs.map} +0 -0
  56. /package/dist/{chunk-PNKTKJ47.mjs.map → chunk-BTZIWVSF.mjs.map} +0 -0
@@ -238,14 +238,6 @@ declare const useGetPrivateChats: () => {
238
238
  privateChats: ChatType[];
239
239
  }>>;
240
240
  };
241
- declare const useGetRelationChats: () => {
242
- error: _apollo_client.ApolloError | undefined;
243
- loading: boolean;
244
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
245
- relationChats: ChatType[];
246
- }>>;
247
- relationChats: ChatType[];
248
- };
249
241
  declare const useGetChatSubscription: () => {
250
242
  chat: ChatType | undefined;
251
243
  error: _apollo_client.ApolloError | undefined;
@@ -340,7 +332,9 @@ declare const useGetEvent: (_id: string) => {
340
332
  event: EventType | null;
341
333
  }>>;
342
334
  };
343
- declare const useGetOwnedEvent: (_id: string) => {
335
+ declare const useGetOwnedEvent: (_id: string, options?: {
336
+ futureOnly?: boolean;
337
+ }) => {
344
338
  error: _apollo_client.ApolloError | undefined;
345
339
  event: EventType | null;
346
340
  loading: boolean;
@@ -1588,4 +1582,4 @@ interface UsePaginatedListResult<TItem> {
1588
1582
  */
1589
1583
  declare function usePaginatedList<TData, TItem>({ document, getItems, variables, skip, pageSize, getId, }: UsePaginatedListArgs<TData, TItem>): UsePaginatedListResult<TItem>;
1590
1584
 
1591
- export { ACTIVATE_VENDOR_CLAIM_MUTATION, AD_BOOKING_FIELDS_FRAGMENT, APPROVE_AD_BOOKING_MUTATION, CLAIM_RESERVED_AD_DAY_MUTATION, CREATE_AD_CHECKOUT_MUTATION, GET_AD_BOOKING, GET_AD_DAILY_PRICES, GET_AD_DAY_AVAILABILITY, GET_AD_SETTINGS, GET_EVENT, GET_EVENTS, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_MY_AD_BOOKINGS, GET_OWNED_EVENT, GET_PARTNER, GET_PARTNERS, GET_PARTNER_BY_SLUG, GET_PENDING_AD_BOOKINGS, 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, RECORD_AD_IMPRESSION_MUTATION, UPDATE_AD_DAILY_PRICE_MUTATION, UPDATE_AD_SETTINGS_MUTATION, type UsePaginatedListArgs, type UsePaginatedListResult, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateUserVendorLicense, 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 };
1585
+ export { ACTIVATE_VENDOR_CLAIM_MUTATION, AD_BOOKING_FIELDS_FRAGMENT, APPROVE_AD_BOOKING_MUTATION, CLAIM_RESERVED_AD_DAY_MUTATION, CREATE_AD_CHECKOUT_MUTATION, GET_AD_BOOKING, GET_AD_DAILY_PRICES, GET_AD_DAY_AVAILABILITY, GET_AD_SETTINGS, GET_EVENT, GET_EVENTS, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_MY_AD_BOOKINGS, GET_OWNED_EVENT, GET_PARTNER, GET_PARTNERS, GET_PARTNER_BY_SLUG, GET_PENDING_AD_BOOKINGS, 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, RECORD_AD_IMPRESSION_MUTATION, UPDATE_AD_DAILY_PRICE_MUTATION, UPDATE_AD_SETTINGS_MUTATION, type UsePaginatedListArgs, type UsePaginatedListResult, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateUserVendorLicense, 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, 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 };
@@ -238,14 +238,6 @@ declare const useGetPrivateChats: () => {
238
238
  privateChats: ChatType[];
239
239
  }>>;
240
240
  };
241
- declare const useGetRelationChats: () => {
242
- error: _apollo_client.ApolloError | undefined;
243
- loading: boolean;
244
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
245
- relationChats: ChatType[];
246
- }>>;
247
- relationChats: ChatType[];
248
- };
249
241
  declare const useGetChatSubscription: () => {
250
242
  chat: ChatType | undefined;
251
243
  error: _apollo_client.ApolloError | undefined;
@@ -340,7 +332,9 @@ declare const useGetEvent: (_id: string) => {
340
332
  event: EventType | null;
341
333
  }>>;
342
334
  };
343
- declare const useGetOwnedEvent: (_id: string) => {
335
+ declare const useGetOwnedEvent: (_id: string, options?: {
336
+ futureOnly?: boolean;
337
+ }) => {
344
338
  error: _apollo_client.ApolloError | undefined;
345
339
  event: EventType | null;
346
340
  loading: boolean;
@@ -1588,4 +1582,4 @@ interface UsePaginatedListResult<TItem> {
1588
1582
  */
1589
1583
  declare function usePaginatedList<TData, TItem>({ document, getItems, variables, skip, pageSize, getId, }: UsePaginatedListArgs<TData, TItem>): UsePaginatedListResult<TItem>;
1590
1584
 
1591
- export { ACTIVATE_VENDOR_CLAIM_MUTATION, AD_BOOKING_FIELDS_FRAGMENT, APPROVE_AD_BOOKING_MUTATION, CLAIM_RESERVED_AD_DAY_MUTATION, CREATE_AD_CHECKOUT_MUTATION, GET_AD_BOOKING, GET_AD_DAILY_PRICES, GET_AD_DAY_AVAILABILITY, GET_AD_SETTINGS, GET_EVENT, GET_EVENTS, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_MY_AD_BOOKINGS, GET_OWNED_EVENT, GET_PARTNER, GET_PARTNERS, GET_PARTNER_BY_SLUG, GET_PENDING_AD_BOOKINGS, 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, RECORD_AD_IMPRESSION_MUTATION, UPDATE_AD_DAILY_PRICE_MUTATION, UPDATE_AD_SETTINGS_MUTATION, type UsePaginatedListArgs, type UsePaginatedListResult, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateUserVendorLicense, 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 };
1585
+ export { ACTIVATE_VENDOR_CLAIM_MUTATION, AD_BOOKING_FIELDS_FRAGMENT, APPROVE_AD_BOOKING_MUTATION, CLAIM_RESERVED_AD_DAY_MUTATION, CREATE_AD_CHECKOUT_MUTATION, GET_AD_BOOKING, GET_AD_DAILY_PRICES, GET_AD_DAY_AVAILABILITY, GET_AD_SETTINGS, GET_EVENT, GET_EVENTS, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_MY_AD_BOOKINGS, GET_OWNED_EVENT, GET_PARTNER, GET_PARTNERS, GET_PARTNER_BY_SLUG, GET_PENDING_AD_BOOKINGS, 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, RECORD_AD_IMPRESSION_MUTATION, UPDATE_AD_DAILY_PRICE_MUTATION, UPDATE_AD_SETTINGS_MUTATION, type UsePaginatedListArgs, type UsePaginatedListResult, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateUserVendorLicense, 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, 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 };
@@ -101,7 +101,6 @@ import {
101
101
  useGetPrivateChats,
102
102
  useGetRelation,
103
103
  useGetRelationByEventAndVendor,
104
- useGetRelationChats,
105
104
  useGetReportedChatUsers,
106
105
  useGetResourceActivity,
107
106
  useGetResourceConnections,
@@ -163,7 +162,7 @@ import {
163
162
  useUpdateUser,
164
163
  useUpdateVendor,
165
164
  useUpdateVendorInfo
166
- } from "../chunk-KUC252SN.mjs";
165
+ } from "../chunk-MX3L6DSE.mjs";
167
166
  import {
168
167
  GET_EVENT,
169
168
  GET_EVENTS,
@@ -190,9 +189,9 @@ import {
190
189
  useRequestPasswordReset,
191
190
  useResetPassword,
192
191
  useValidateVerificationToken
193
- } from "../chunk-ZSSVU6GY.mjs";
192
+ } from "../chunk-OSSBKFNH.mjs";
194
193
  import "../chunk-7DQBUZXY.mjs";
195
- import "../chunk-3DYFIY72.mjs";
194
+ import "../chunk-7TZDJXYL.mjs";
196
195
  export {
197
196
  ACTIVATE_VENDOR_CLAIM_MUTATION,
198
197
  AD_BOOKING_FIELDS_FRAGMENT,
@@ -307,7 +306,6 @@ export {
307
306
  useGetPrivateChats,
308
307
  useGetRelation,
309
308
  useGetRelationByEventAndVendor,
310
- useGetRelationChats,
311
309
  useGetReportedChatUsers,
312
310
  useGetResourceActivity,
313
311
  useGetResourceConnections,
@@ -387,11 +387,29 @@ var import_isSameOrAfter = __toESM(require("dayjs/plugin/isSameOrAfter.js"));
387
387
  var import_timezone = __toESM(require("dayjs/plugin/timezone.js"));
388
388
  var import_utc = __toESM(require("dayjs/plugin/utc.js"));
389
389
 
390
- // src/utils/mapArrayToOptions.ts
391
- var mapArrayToOptions = (items) => items.map((item) => ({
392
- label: item,
393
- value: item
394
- }));
390
+ // src/utils/eventDateStatus.ts
391
+ var EVENT_DATE_STATUS_PERIOD_MAP = {
392
+ ["Today" /* TODAY */]: [
393
+ "Started" /* STARTED */,
394
+ "Starting_Soon" /* STARTING_SOON */,
395
+ "Today" /* TODAY */
396
+ ],
397
+ ["This_Week" /* THIS_WEEK */]: [
398
+ "Started" /* STARTED */,
399
+ "Starting_Soon" /* STARTING_SOON */,
400
+ "This_Week" /* THIS_WEEK */,
401
+ "Today" /* TODAY */,
402
+ "Tomorrow" /* TOMORROW */
403
+ ]
404
+ };
405
+ var FUTURE_EVENT_DATE_STATUSES = [
406
+ "Starting_Soon" /* STARTING_SOON */,
407
+ "Today" /* TODAY */,
408
+ "Tomorrow" /* TOMORROW */,
409
+ "This_Week" /* THIS_WEEK */,
410
+ "Next_Week" /* NEXT_WEEK */,
411
+ "Upcoming" /* UPCOMING */
412
+ ];
395
413
 
396
414
  // src/utils/date.ts
397
415
  var dateFormat = "DD-MM-YYYY";
@@ -400,13 +418,17 @@ import_dayjs.default.extend(import_customParseFormat.default);
400
418
  import_dayjs.default.extend(import_utc.default);
401
419
  import_dayjs.default.extend(import_timezone.default);
402
420
  import_dayjs.default.extend(import_isSameOrAfter.default);
403
- var futureTimePeriods = mapArrayToOptions(
404
- Object.values(EnumEventDateStatus)
405
- ).filter(
406
- (period) => period.value !== "Starting_Soon" /* STARTING_SOON */ && period.value !== "Canceled" /* CANCELED */ && period.value !== "Rescheduled" /* RE_SCHEDULED */ && period.value !== "Started" /* STARTED */ && period.value !== "Ended" /* ENDED */ && period.value !== "Invalid" /* INVALID */
407
- ).map((period) => ({
408
- label: period.value.replaceAll("_", " "),
409
- value: period.value
421
+ var futureTimePeriods = FUTURE_EVENT_DATE_STATUSES.filter(
422
+ (status) => status !== "Starting_Soon" /* STARTING_SOON */
423
+ ).map((status) => ({
424
+ label: status.replaceAll("_", " "),
425
+ value: status
426
+ }));
427
+
428
+ // src/utils/mapArrayToOptions.ts
429
+ var mapArrayToOptions = (items) => items.map((item) => ({
430
+ label: item,
431
+ value: item
410
432
  }));
411
433
 
412
434
  // src/sharing/relationShareTypes.ts
@@ -600,22 +622,6 @@ var CM_AFFILIATE_PROMO_CODE = `${PROMO_CODE_PREFIX}AFFILIATE`;
600
622
  // src/utils/school.ts
601
623
  var SCHOOL_MIN_STUDENT_COUNT = 300;
602
624
 
603
- // src/utils/eventDateStatus.ts
604
- var EVENT_DATE_STATUS_PERIOD_MAP = {
605
- ["Today" /* TODAY */]: [
606
- "Started" /* STARTED */,
607
- "Starting_Soon" /* STARTING_SOON */,
608
- "Today" /* TODAY */
609
- ],
610
- ["This_Week" /* THIS_WEEK */]: [
611
- "Started" /* STARTED */,
612
- "Starting_Soon" /* STARTING_SOON */,
613
- "This_Week" /* THIS_WEEK */,
614
- "Today" /* TODAY */,
615
- "Tomorrow" /* TOMORROW */
616
- ]
617
- };
618
-
619
625
  // src/calendar/eventCalendar.ts
620
626
  var import_dayjs2 = __toESM(require("dayjs"));
621
627
  var KNOWN_EVENT_SCHEDULE_STATUSES = /* @__PURE__ */ new Set([
@@ -3074,8 +3080,8 @@ var GET_EVENT = import_client2.gql`
3074
3080
  ${EVENT}
3075
3081
  `;
3076
3082
  var GET_OWNED_EVENT = import_client2.gql`
3077
- query getOwnedEvent($_id: ID!) {
3078
- ownedEvent(_id: $_id) {
3083
+ query getOwnedEvent($_id: ID!, $futureOnly: Boolean = false) {
3084
+ ownedEvent(_id: $_id, futureOnly: $futureOnly) {
3079
3085
  ...EventFields
3080
3086
  }
3081
3087
  }
@@ -4268,14 +4274,6 @@ var PRIVATE_CHATS = import_client16.gql`
4268
4274
  }
4269
4275
  ${CHAT_FIELDS_FRAGMENT}
4270
4276
  `;
4271
- var RELATION_CHATS = import_client16.gql`
4272
- query relationChats {
4273
- relationChats {
4274
- ...ChatFields
4275
- }
4276
- }
4277
- ${CHAT_FIELDS_FRAGMENT}
4278
- `;
4279
4277
  var GET_CHATS_BY_REGION = import_client16.gql`
4280
4278
  query getChatsByRegion($region: String!) {
4281
4279
  chatsByRegion(region: $region) {