@timardex/cluemart-shared 2.3.0 → 2.3.10

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.
@@ -556,9 +556,7 @@ declare const useDeleteRelation: () => {
556
556
  loading: boolean;
557
557
  };
558
558
 
559
- declare const useGetRelation: (_id?: string, options?: {
560
- futureOnly?: boolean;
561
- }) => {
559
+ declare const useGetRelation: (_id?: string) => {
562
560
  error: _apollo_client.ApolloError | undefined;
563
561
  loading: boolean;
564
562
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
@@ -566,6 +564,30 @@ declare const useGetRelation: (_id?: string, options?: {
566
564
  }>>;
567
565
  relation: RelationType | undefined;
568
566
  };
567
+ /**
568
+ * Past relation dates only — the counterpart of {@link useGetRelation}, which
569
+ * returns upcoming dates. Meant for reporting/statistics screens.
570
+ */
571
+ declare const useGetRelationHistory: (_id?: string) => {
572
+ error: _apollo_client.ApolloError | undefined;
573
+ loading: boolean;
574
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
575
+ relationHistory: RelationType;
576
+ }>>;
577
+ relationHistory: RelationType | undefined;
578
+ };
579
+ /**
580
+ * Every relation linked to an event or vendor with past relation dates only.
581
+ * Plural counterpart of {@link useGetRelationHistory}, for reporting screens.
582
+ */
583
+ declare const useGetRelationHistories: (resourceId?: string, resourceType?: EnumResourceType.EVENT | EnumResourceType.VENDOR) => {
584
+ error: _apollo_client.ApolloError | undefined;
585
+ loading: boolean;
586
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
587
+ relationHistories: RelationType[];
588
+ }>>;
589
+ relationHistories: RelationType[];
590
+ };
569
591
  declare const useGetRelationByEventAndVendor: (eventId: string, vendorId: string) => {
570
592
  error: _apollo_client.ApolloError | undefined;
571
593
  loading: boolean;
@@ -1611,4 +1633,4 @@ interface UsePaginatedListResult<TItem> {
1611
1633
  */
1612
1634
  declare function usePaginatedList<TData, TItem>({ document, getItems, variables, skip, pageSize, getId, }: UsePaginatedListArgs<TData, TItem>): UsePaginatedListResult<TItem>;
1613
1635
 
1614
- 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, useEndImpersonation, 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, useRefreshImpersonation, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectStandardPackage, useSendChatMessage, useStartGame, useStartImpersonation, useSyncBillingCatalogPrice, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateBillingCatalogPrice, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
1636
+ 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, useEndImpersonation, 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, useGetRelationHistories, useGetRelationHistory, 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, useRefreshImpersonation, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectStandardPackage, useSendChatMessage, useStartGame, useStartImpersonation, useSyncBillingCatalogPrice, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateBillingCatalogPrice, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -556,9 +556,7 @@ declare const useDeleteRelation: () => {
556
556
  loading: boolean;
557
557
  };
558
558
 
559
- declare const useGetRelation: (_id?: string, options?: {
560
- futureOnly?: boolean;
561
- }) => {
559
+ declare const useGetRelation: (_id?: string) => {
562
560
  error: _apollo_client.ApolloError | undefined;
563
561
  loading: boolean;
564
562
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
@@ -566,6 +564,30 @@ declare const useGetRelation: (_id?: string, options?: {
566
564
  }>>;
567
565
  relation: RelationType | undefined;
568
566
  };
567
+ /**
568
+ * Past relation dates only — the counterpart of {@link useGetRelation}, which
569
+ * returns upcoming dates. Meant for reporting/statistics screens.
570
+ */
571
+ declare const useGetRelationHistory: (_id?: string) => {
572
+ error: _apollo_client.ApolloError | undefined;
573
+ loading: boolean;
574
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
575
+ relationHistory: RelationType;
576
+ }>>;
577
+ relationHistory: RelationType | undefined;
578
+ };
579
+ /**
580
+ * Every relation linked to an event or vendor with past relation dates only.
581
+ * Plural counterpart of {@link useGetRelationHistory}, for reporting screens.
582
+ */
583
+ declare const useGetRelationHistories: (resourceId?: string, resourceType?: EnumResourceType.EVENT | EnumResourceType.VENDOR) => {
584
+ error: _apollo_client.ApolloError | undefined;
585
+ loading: boolean;
586
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
587
+ relationHistories: RelationType[];
588
+ }>>;
589
+ relationHistories: RelationType[];
590
+ };
569
591
  declare const useGetRelationByEventAndVendor: (eventId: string, vendorId: string) => {
570
592
  error: _apollo_client.ApolloError | undefined;
571
593
  loading: boolean;
@@ -1611,4 +1633,4 @@ interface UsePaginatedListResult<TItem> {
1611
1633
  */
1612
1634
  declare function usePaginatedList<TData, TItem>({ document, getItems, variables, skip, pageSize, getId, }: UsePaginatedListArgs<TData, TItem>): UsePaginatedListResult<TItem>;
1613
1635
 
1614
- 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, useEndImpersonation, 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, useRefreshImpersonation, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectStandardPackage, useSendChatMessage, useStartGame, useStartImpersonation, useSyncBillingCatalogPrice, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateBillingCatalogPrice, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
1636
+ 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, useEndImpersonation, 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, useGetRelationHistories, useGetRelationHistory, 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, useRefreshImpersonation, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectStandardPackage, useSendChatMessage, useStartGame, useStartImpersonation, useSyncBillingCatalogPrice, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateBillingCatalogPrice, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -101,6 +101,8 @@ import {
101
101
  useGetPrivateChats,
102
102
  useGetRelation,
103
103
  useGetRelationByEventAndVendor,
104
+ useGetRelationHistories,
105
+ useGetRelationHistory,
104
106
  useGetReportedChatUsers,
105
107
  useGetResourceActivity,
106
108
  useGetResourceConnections,
@@ -162,7 +164,7 @@ import {
162
164
  useUpdateUser,
163
165
  useUpdateVendor,
164
166
  useUpdateVendorInfo
165
- } from "../chunk-YTRRTC2S.mjs";
167
+ } from "../chunk-UWMZ6VLV.mjs";
166
168
  import {
167
169
  GET_EVENT,
168
170
  GET_EVENTS,
@@ -310,6 +312,8 @@ export {
310
312
  useGetPrivateChats,
311
313
  useGetRelation,
312
314
  useGetRelationByEventAndVendor,
315
+ useGetRelationHistories,
316
+ useGetRelationHistory,
313
317
  useGetReportedChatUsers,
314
318
  useGetResourceActivity,
315
319
  useGetResourceConnections,
@@ -4094,8 +4094,27 @@ var RELATION_FIELDS_FRAGMENT = import_client11.gql`
4094
4094
  ${RELATION_DATES_FRAGMENT}
4095
4095
  `;
4096
4096
  var GET_RELATION = import_client11.gql`
4097
- query getRelation($_id: ID!, $futureOnly: Boolean = false) {
4098
- relation(_id: $_id, futureOnly: $futureOnly) {
4097
+ query getRelation($_id: ID!) {
4098
+ relation(_id: $_id) {
4099
+ ...RelationFields
4100
+ }
4101
+ }
4102
+ ${RELATION_FIELDS_FRAGMENT}
4103
+ `;
4104
+ var GET_RELATION_HISTORY = import_client11.gql`
4105
+ query getRelationHistory($_id: ID!) {
4106
+ relationHistory(_id: $_id) {
4107
+ ...RelationFields
4108
+ }
4109
+ }
4110
+ ${RELATION_FIELDS_FRAGMENT}
4111
+ `;
4112
+ var GET_RELATION_HISTORIES = import_client11.gql`
4113
+ query getRelationHistories(
4114
+ $resourceId: ID!
4115
+ $resourceType: ResourceTypeEnum!
4116
+ ) {
4117
+ relationHistories(resourceId: $resourceId, resourceType: $resourceType) {
4099
4118
  ...RelationFields
4100
4119
  }
4101
4120
  }