@timardex/cluemart-shared 2.3.20 → 2.4.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.
- package/dist/{ad-8hhGHx6J.d.mts → ad-BSyVGv8q.d.mts} +16 -23
- package/dist/{ad-6lcjOj3X.d.ts → ad-DRI2CIzV.d.ts} +16 -23
- package/dist/{chunk-ZZXSAQM6.mjs → chunk-2RHUGVV3.mjs} +114 -122
- package/dist/chunk-2RHUGVV3.mjs.map +1 -0
- package/dist/{chunk-HKTBJOB7.mjs → chunk-J72IMZ6E.mjs} +13 -1
- package/dist/chunk-J72IMZ6E.mjs.map +1 -0
- package/dist/{chunk-PBW5K54C.mjs → chunk-LEAXY4DI.mjs} +2 -2
- package/dist/{chunk-KMS64DE2.mjs → chunk-LHKJJ7SO.mjs} +2 -2
- package/dist/{chunk-5AAYX364.mjs → chunk-WWAHS5R2.mjs} +1 -10
- package/dist/chunk-WWAHS5R2.mjs.map +1 -0
- package/dist/{chunk-DV3K3JDE.mjs → chunk-ZECVZFK3.mjs} +7 -6
- package/dist/chunk-ZECVZFK3.mjs.map +1 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +4 -4
- package/dist/graphql/index.cjs +122 -129
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +21 -4
- package/dist/graphql/index.d.ts +21 -4
- package/dist/graphql/index.mjs +7 -5
- package/dist/hooks/index.cjs +25 -51
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +6 -6
- package/dist/index.cjs +141 -142
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +50 -25
- package/dist/index.d.ts +50 -25
- package/dist/index.mjs +122 -127
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +2 -2
- package/dist/types/index.cjs +0 -10
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -3
- package/dist/utils/index.cjs +19 -3
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +16 -1
- package/dist/utils/index.d.ts +16 -1
- package/dist/utils/index.mjs +11 -3
- package/package.json +1 -1
- package/dist/chunk-5AAYX364.mjs.map +0 -1
- package/dist/chunk-DV3K3JDE.mjs.map +0 -1
- package/dist/chunk-HKTBJOB7.mjs.map +0 -1
- package/dist/chunk-ZZXSAQM6.mjs.map +0 -1
- /package/dist/{chunk-PBW5K54C.mjs.map → chunk-LEAXY4DI.mjs.map} +0 -0
- /package/dist/{chunk-KMS64DE2.mjs.map → chunk-LHKJJ7SO.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { DocumentNode } from 'graphql';
|
|
|
4
4
|
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-BytCHUvO.mjs';
|
|
5
5
|
import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as RelationHistoryType, h as ResourceConnectionsType, V as VendorClaimTokenValidation, i as UnregisteredVendorType, j as VendorType, k as VendorInfoType, l as MyPendingVendorClaim, m as UserLicenceType, n as PostType, G as GameDocType, o as GameLeaderboard, p as CouponType, q as CouponTypeList } from '../global-EGbrTMk6.mjs';
|
|
6
6
|
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-Znc91Cw5.mjs';
|
|
7
|
-
import { A as AuthMutationResponse, R as RefreshImpersonationMutationResponse, a as RefreshTokenMutationResponse, S as StartImpersonationMutationResponse, P as PartnerType, b as AdType, E as EnumAdPlatform, c as EnumAdShowOn, d as AppSettingsType, e as SchoolType, f as SchoolReturnType } from '../ad-
|
|
7
|
+
import { A as AuthMutationResponse, R as RefreshImpersonationMutationResponse, a as RefreshTokenMutationResponse, S as StartImpersonationMutationResponse, P as PartnerType, b as AdType, E as EnumAdPlatform, c as EnumAdShowOn, d as AppSettingsType, e as SchoolType, f as SchoolReturnType } from '../ad-BSyVGv8q.mjs';
|
|
8
8
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
9
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
|
|
10
10
|
import { A as AffiliateType } from '../affiliate-DJhVZJ2h.mjs';
|
|
@@ -1040,6 +1040,24 @@ declare const useDeleteAd: () => {
|
|
|
1040
1040
|
error: _apollo_client.ApolloError | undefined;
|
|
1041
1041
|
loading: boolean;
|
|
1042
1042
|
};
|
|
1043
|
+
declare const useRecordAdImpression: () => {
|
|
1044
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1045
|
+
loading: boolean;
|
|
1046
|
+
recordAdImpression: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1047
|
+
recordAdImpression: MutationResponse<boolean>;
|
|
1048
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1049
|
+
recordAdImpression: MutationResponse<boolean>;
|
|
1050
|
+
}>>;
|
|
1051
|
+
};
|
|
1052
|
+
declare const useRecordAdClick: () => {
|
|
1053
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1054
|
+
loading: boolean;
|
|
1055
|
+
recordAdClick: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1056
|
+
recordAdClick: MutationResponse<boolean>;
|
|
1057
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1058
|
+
recordAdClick: MutationResponse<boolean>;
|
|
1059
|
+
}>>;
|
|
1060
|
+
};
|
|
1043
1061
|
|
|
1044
1062
|
declare const useGetAds: () => {
|
|
1045
1063
|
ads: AdType[];
|
|
@@ -1067,7 +1085,6 @@ declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, show
|
|
|
1067
1085
|
};
|
|
1068
1086
|
|
|
1069
1087
|
declare const AD_BOOKING_FIELDS_FRAGMENT: _apollo_client.DocumentNode;
|
|
1070
|
-
declare const GET_AD_DAY_AVAILABILITY: _apollo_client.DocumentNode;
|
|
1071
1088
|
declare const GET_MY_AD_BOOKINGS: _apollo_client.DocumentNode;
|
|
1072
1089
|
declare const GET_AD_BOOKING: _apollo_client.DocumentNode;
|
|
1073
1090
|
declare const GET_PENDING_AD_BOOKINGS: _apollo_client.DocumentNode;
|
|
@@ -1075,11 +1092,11 @@ declare const GET_AD_DAILY_PRICES: _apollo_client.DocumentNode;
|
|
|
1075
1092
|
declare const GET_AD_SETTINGS: _apollo_client.DocumentNode;
|
|
1076
1093
|
|
|
1077
1094
|
declare const CREATE_AD_CHECKOUT_MUTATION: _apollo_client.DocumentNode;
|
|
1078
|
-
declare const CLAIM_RESERVED_AD_DAY_MUTATION: _apollo_client.DocumentNode;
|
|
1079
1095
|
declare const APPROVE_AD_BOOKING_MUTATION: _apollo_client.DocumentNode;
|
|
1080
1096
|
declare const UPDATE_AD_DAILY_PRICE_MUTATION: _apollo_client.DocumentNode;
|
|
1081
1097
|
declare const UPDATE_AD_SETTINGS_MUTATION: _apollo_client.DocumentNode;
|
|
1082
1098
|
declare const RECORD_AD_IMPRESSION_MUTATION: _apollo_client.DocumentNode;
|
|
1099
|
+
declare const RECORD_AD_CLICK_MUTATION: _apollo_client.DocumentNode;
|
|
1083
1100
|
|
|
1084
1101
|
declare const useCreateResourceActivity: () => {
|
|
1085
1102
|
createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<{
|
|
@@ -1633,4 +1650,4 @@ interface UsePaginatedListResult<TItem> {
|
|
|
1633
1650
|
*/
|
|
1634
1651
|
declare function usePaginatedList<TData, TItem>({ document, getItems, variables, skip, pageSize, getId, }: UsePaginatedListArgs<TData, TItem>): UsePaginatedListResult<TItem>;
|
|
1635
1652
|
|
|
1636
|
-
export { ACTIVATE_VENDOR_CLAIM_MUTATION, AD_BOOKING_FIELDS_FRAGMENT, APPROVE_AD_BOOKING_MUTATION,
|
|
1653
|
+
export { ACTIVATE_VENDOR_CLAIM_MUTATION, AD_BOOKING_FIELDS_FRAGMENT, APPROVE_AD_BOOKING_MUTATION, CREATE_AD_CHECKOUT_MUTATION, GET_AD_BOOKING, GET_AD_DAILY_PRICES, 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_CLICK_MUTATION, 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, useRecordAdClick, useRecordAdImpression, 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 };
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { DocumentNode } from 'graphql';
|
|
|
4
4
|
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DlUEbCkT.js';
|
|
5
5
|
import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as RelationHistoryType, h as ResourceConnectionsType, V as VendorClaimTokenValidation, i as UnregisteredVendorType, j as VendorType, k as VendorInfoType, l as MyPendingVendorClaim, m as UserLicenceType, n as PostType, G as GameDocType, o as GameLeaderboard, p as CouponType, q as CouponTypeList } from '../global-LtQJ2t6c.js';
|
|
6
6
|
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-GnrqZmZP.js';
|
|
7
|
-
import { A as AuthMutationResponse, R as RefreshImpersonationMutationResponse, a as RefreshTokenMutationResponse, S as StartImpersonationMutationResponse, P as PartnerType, b as AdType, E as EnumAdPlatform, c as EnumAdShowOn, d as AppSettingsType, e as SchoolType, f as SchoolReturnType } from '../ad-
|
|
7
|
+
import { A as AuthMutationResponse, R as RefreshImpersonationMutationResponse, a as RefreshTokenMutationResponse, S as StartImpersonationMutationResponse, P as PartnerType, b as AdType, E as EnumAdPlatform, c as EnumAdShowOn, d as AppSettingsType, e as SchoolType, f as SchoolReturnType } from '../ad-DRI2CIzV.js';
|
|
8
8
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
|
|
9
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
|
|
10
10
|
import { A as AffiliateType } from '../affiliate-DuDoOxK_.js';
|
|
@@ -1040,6 +1040,24 @@ declare const useDeleteAd: () => {
|
|
|
1040
1040
|
error: _apollo_client.ApolloError | undefined;
|
|
1041
1041
|
loading: boolean;
|
|
1042
1042
|
};
|
|
1043
|
+
declare const useRecordAdImpression: () => {
|
|
1044
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1045
|
+
loading: boolean;
|
|
1046
|
+
recordAdImpression: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1047
|
+
recordAdImpression: MutationResponse<boolean>;
|
|
1048
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1049
|
+
recordAdImpression: MutationResponse<boolean>;
|
|
1050
|
+
}>>;
|
|
1051
|
+
};
|
|
1052
|
+
declare const useRecordAdClick: () => {
|
|
1053
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1054
|
+
loading: boolean;
|
|
1055
|
+
recordAdClick: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1056
|
+
recordAdClick: MutationResponse<boolean>;
|
|
1057
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1058
|
+
recordAdClick: MutationResponse<boolean>;
|
|
1059
|
+
}>>;
|
|
1060
|
+
};
|
|
1043
1061
|
|
|
1044
1062
|
declare const useGetAds: () => {
|
|
1045
1063
|
ads: AdType[];
|
|
@@ -1067,7 +1085,6 @@ declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, show
|
|
|
1067
1085
|
};
|
|
1068
1086
|
|
|
1069
1087
|
declare const AD_BOOKING_FIELDS_FRAGMENT: _apollo_client.DocumentNode;
|
|
1070
|
-
declare const GET_AD_DAY_AVAILABILITY: _apollo_client.DocumentNode;
|
|
1071
1088
|
declare const GET_MY_AD_BOOKINGS: _apollo_client.DocumentNode;
|
|
1072
1089
|
declare const GET_AD_BOOKING: _apollo_client.DocumentNode;
|
|
1073
1090
|
declare const GET_PENDING_AD_BOOKINGS: _apollo_client.DocumentNode;
|
|
@@ -1075,11 +1092,11 @@ declare const GET_AD_DAILY_PRICES: _apollo_client.DocumentNode;
|
|
|
1075
1092
|
declare const GET_AD_SETTINGS: _apollo_client.DocumentNode;
|
|
1076
1093
|
|
|
1077
1094
|
declare const CREATE_AD_CHECKOUT_MUTATION: _apollo_client.DocumentNode;
|
|
1078
|
-
declare const CLAIM_RESERVED_AD_DAY_MUTATION: _apollo_client.DocumentNode;
|
|
1079
1095
|
declare const APPROVE_AD_BOOKING_MUTATION: _apollo_client.DocumentNode;
|
|
1080
1096
|
declare const UPDATE_AD_DAILY_PRICE_MUTATION: _apollo_client.DocumentNode;
|
|
1081
1097
|
declare const UPDATE_AD_SETTINGS_MUTATION: _apollo_client.DocumentNode;
|
|
1082
1098
|
declare const RECORD_AD_IMPRESSION_MUTATION: _apollo_client.DocumentNode;
|
|
1099
|
+
declare const RECORD_AD_CLICK_MUTATION: _apollo_client.DocumentNode;
|
|
1083
1100
|
|
|
1084
1101
|
declare const useCreateResourceActivity: () => {
|
|
1085
1102
|
createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<{
|
|
@@ -1633,4 +1650,4 @@ interface UsePaginatedListResult<TItem> {
|
|
|
1633
1650
|
*/
|
|
1634
1651
|
declare function usePaginatedList<TData, TItem>({ document, getItems, variables, skip, pageSize, getId, }: UsePaginatedListArgs<TData, TItem>): UsePaginatedListResult<TItem>;
|
|
1635
1652
|
|
|
1636
|
-
export { ACTIVATE_VENDOR_CLAIM_MUTATION, AD_BOOKING_FIELDS_FRAGMENT, APPROVE_AD_BOOKING_MUTATION,
|
|
1653
|
+
export { ACTIVATE_VENDOR_CLAIM_MUTATION, AD_BOOKING_FIELDS_FRAGMENT, APPROVE_AD_BOOKING_MUTATION, CREATE_AD_CHECKOUT_MUTATION, GET_AD_BOOKING, GET_AD_DAILY_PRICES, 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_CLICK_MUTATION, 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, useRecordAdClick, useRecordAdImpression, 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 };
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -2,11 +2,9 @@ import {
|
|
|
2
2
|
ACTIVATE_VENDOR_CLAIM_MUTATION,
|
|
3
3
|
AD_BOOKING_FIELDS_FRAGMENT,
|
|
4
4
|
APPROVE_AD_BOOKING_MUTATION,
|
|
5
|
-
CLAIM_RESERVED_AD_DAY_MUTATION,
|
|
6
5
|
CREATE_AD_CHECKOUT_MUTATION,
|
|
7
6
|
GET_AD_BOOKING,
|
|
8
7
|
GET_AD_DAILY_PRICES,
|
|
9
|
-
GET_AD_DAY_AVAILABILITY,
|
|
10
8
|
GET_AD_SETTINGS,
|
|
11
9
|
GET_EVENT_BY_SLUG,
|
|
12
10
|
GET_MY_AD_BOOKINGS,
|
|
@@ -18,6 +16,7 @@ import {
|
|
|
18
16
|
GET_POST_BY_SLUG,
|
|
19
17
|
GET_RESOURCE_CONNECTIONS,
|
|
20
18
|
GET_VENDOR_BY_SLUG,
|
|
19
|
+
RECORD_AD_CLICK_MUTATION,
|
|
21
20
|
RECORD_AD_IMPRESSION_MUTATION,
|
|
22
21
|
UPDATE_AD_DAILY_PRICE_MUTATION,
|
|
23
22
|
UPDATE_AD_SETTINGS_MUTATION,
|
|
@@ -125,6 +124,8 @@ import {
|
|
|
125
124
|
useMarkNotificationRead,
|
|
126
125
|
useMyPendingVendorClaim,
|
|
127
126
|
usePaginatedList,
|
|
127
|
+
useRecordAdClick,
|
|
128
|
+
useRecordAdImpression,
|
|
128
129
|
useRedeemAffiliateReward,
|
|
129
130
|
useRedeemReward,
|
|
130
131
|
useRemoveParticipantFromChat,
|
|
@@ -164,7 +165,7 @@ import {
|
|
|
164
165
|
useUpdateUser,
|
|
165
166
|
useUpdateVendor,
|
|
166
167
|
useUpdateVendorInfo
|
|
167
|
-
} from "../chunk-
|
|
168
|
+
} from "../chunk-2RHUGVV3.mjs";
|
|
168
169
|
import {
|
|
169
170
|
GET_EVENT,
|
|
170
171
|
GET_EVENTS,
|
|
@@ -201,11 +202,9 @@ export {
|
|
|
201
202
|
ACTIVATE_VENDOR_CLAIM_MUTATION,
|
|
202
203
|
AD_BOOKING_FIELDS_FRAGMENT,
|
|
203
204
|
APPROVE_AD_BOOKING_MUTATION,
|
|
204
|
-
CLAIM_RESERVED_AD_DAY_MUTATION,
|
|
205
205
|
CREATE_AD_CHECKOUT_MUTATION,
|
|
206
206
|
GET_AD_BOOKING,
|
|
207
207
|
GET_AD_DAILY_PRICES,
|
|
208
|
-
GET_AD_DAY_AVAILABILITY,
|
|
209
208
|
GET_AD_SETTINGS,
|
|
210
209
|
GET_EVENT,
|
|
211
210
|
GET_EVENTS,
|
|
@@ -228,6 +227,7 @@ export {
|
|
|
228
227
|
GET_VENDOR_BY_SLUG,
|
|
229
228
|
GET_VENDOR_INFO,
|
|
230
229
|
MY_PENDING_VENDOR_CLAIM,
|
|
230
|
+
RECORD_AD_CLICK_MUTATION,
|
|
231
231
|
RECORD_AD_IMPRESSION_MUTATION,
|
|
232
232
|
UPDATE_AD_DAILY_PRICE_MUTATION,
|
|
233
233
|
UPDATE_AD_SETTINGS_MUTATION,
|
|
@@ -345,6 +345,8 @@ export {
|
|
|
345
345
|
useMarkNotificationRead,
|
|
346
346
|
useMyPendingVendorClaim,
|
|
347
347
|
usePaginatedList,
|
|
348
|
+
useRecordAdClick,
|
|
349
|
+
useRecordAdImpression,
|
|
348
350
|
useRedeemAffiliateReward,
|
|
349
351
|
useRedeemReward,
|
|
350
352
|
useRefreshImpersonation,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -512,7 +512,6 @@ var PROMO_CODE_PREFIX = "CM-";
|
|
|
512
512
|
var EnumAdShowOn = /* @__PURE__ */ ((EnumAdShowOn2) => {
|
|
513
513
|
EnumAdShowOn2["EVENTS_PAGE"] = "Events_page";
|
|
514
514
|
EnumAdShowOn2["FRONT_PAGE"] = "Front_page";
|
|
515
|
-
EnumAdShowOn2["MARKET_SEARCH"] = "Market_search";
|
|
516
515
|
EnumAdShowOn2["PARTNERS_PAGE"] = "Partners_page";
|
|
517
516
|
EnumAdShowOn2["VENDORS_PAGE"] = "Vendors_page";
|
|
518
517
|
return EnumAdShowOn2;
|
|
@@ -4998,7 +4997,7 @@ var SELECT_STANDARD_PACKAGE_MUTATION = import_client41.gql`
|
|
|
4998
4997
|
var import_client43 = require("@apollo/client");
|
|
4999
4998
|
|
|
5000
4999
|
// src/graphql/hooks/ad/hooksMutation.ts
|
|
5001
|
-
var
|
|
5000
|
+
var import_client48 = require("@apollo/client");
|
|
5002
5001
|
|
|
5003
5002
|
// src/graphql/mutations/ad.ts
|
|
5004
5003
|
var import_client45 = require("@apollo/client");
|
|
@@ -5009,10 +5008,8 @@ var AD_FIELDS_FRAGMENT = import_client44.gql`
|
|
|
5009
5008
|
fragment AdFields on AdType {
|
|
5010
5009
|
_id
|
|
5011
5010
|
active
|
|
5012
|
-
clicks
|
|
5013
5011
|
createdAt
|
|
5014
5012
|
end
|
|
5015
|
-
impressions
|
|
5016
5013
|
resource {
|
|
5017
5014
|
adDescription
|
|
5018
5015
|
adImage
|
|
@@ -5093,12 +5090,12 @@ var DELETE_AD_MUTATION = import_client45.gql`
|
|
|
5093
5090
|
}
|
|
5094
5091
|
`;
|
|
5095
5092
|
|
|
5096
|
-
// src/graphql/
|
|
5093
|
+
// src/graphql/mutations/adBooking.ts
|
|
5097
5094
|
var import_client47 = require("@apollo/client");
|
|
5098
5095
|
|
|
5099
5096
|
// src/graphql/queries/adBooking.ts
|
|
5100
|
-
var
|
|
5101
|
-
var AD_BOOKING_FIELDS_FRAGMENT =
|
|
5097
|
+
var import_client46 = require("@apollo/client");
|
|
5098
|
+
var AD_BOOKING_FIELDS_FRAGMENT = import_client46.gql`
|
|
5102
5099
|
fragment AdBookingFields on AdBookingGraphQLType {
|
|
5103
5100
|
_id
|
|
5104
5101
|
adId
|
|
@@ -5124,21 +5121,7 @@ var AD_BOOKING_FIELDS_FRAGMENT = import_client48.gql`
|
|
|
5124
5121
|
unitAmount
|
|
5125
5122
|
}
|
|
5126
5123
|
`;
|
|
5127
|
-
var
|
|
5128
|
-
query getAdDayAvailability(
|
|
5129
|
-
$region: String!
|
|
5130
|
-
$dayKey: String!
|
|
5131
|
-
$placement: AdShowOnEnum!
|
|
5132
|
-
) {
|
|
5133
|
-
adDayAvailability(region: $region, dayKey: $dayKey, placement: $placement) {
|
|
5134
|
-
currency
|
|
5135
|
-
paidAvailable
|
|
5136
|
-
reservedAvailable
|
|
5137
|
-
unitAmount
|
|
5138
|
-
}
|
|
5139
|
-
}
|
|
5140
|
-
`;
|
|
5141
|
-
var GET_MY_AD_BOOKINGS = import_client48.gql`
|
|
5124
|
+
var GET_MY_AD_BOOKINGS = import_client46.gql`
|
|
5142
5125
|
query getMyAdBookings {
|
|
5143
5126
|
myAdBookings {
|
|
5144
5127
|
...AdBookingFields
|
|
@@ -5146,7 +5129,7 @@ var GET_MY_AD_BOOKINGS = import_client48.gql`
|
|
|
5146
5129
|
}
|
|
5147
5130
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5148
5131
|
`;
|
|
5149
|
-
var GET_AD_BOOKING =
|
|
5132
|
+
var GET_AD_BOOKING = import_client46.gql`
|
|
5150
5133
|
query getAdBooking($id: ID!) {
|
|
5151
5134
|
adBooking(id: $id) {
|
|
5152
5135
|
...AdBookingFields
|
|
@@ -5154,7 +5137,7 @@ var GET_AD_BOOKING = import_client48.gql`
|
|
|
5154
5137
|
}
|
|
5155
5138
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5156
5139
|
`;
|
|
5157
|
-
var GET_PENDING_AD_BOOKINGS =
|
|
5140
|
+
var GET_PENDING_AD_BOOKINGS = import_client46.gql`
|
|
5158
5141
|
query getPendingAdBookings {
|
|
5159
5142
|
pendingAdBookings {
|
|
5160
5143
|
...AdBookingFields
|
|
@@ -5162,7 +5145,7 @@ var GET_PENDING_AD_BOOKINGS = import_client48.gql`
|
|
|
5162
5145
|
}
|
|
5163
5146
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5164
5147
|
`;
|
|
5165
|
-
var GET_AD_DAILY_PRICES =
|
|
5148
|
+
var GET_AD_DAILY_PRICES = import_client46.gql`
|
|
5166
5149
|
query getAdDailyPrices {
|
|
5167
5150
|
adDailyPrices {
|
|
5168
5151
|
active
|
|
@@ -5173,21 +5156,16 @@ var GET_AD_DAILY_PRICES = import_client48.gql`
|
|
|
5173
5156
|
}
|
|
5174
5157
|
}
|
|
5175
5158
|
`;
|
|
5176
|
-
var GET_AD_SETTINGS =
|
|
5159
|
+
var GET_AD_SETTINGS = import_client46.gql`
|
|
5177
5160
|
query getAdSettings {
|
|
5178
5161
|
adSettings {
|
|
5179
5162
|
approvalRequired
|
|
5180
|
-
minAppearancesPerHour
|
|
5181
|
-
paidSlotsPerPlacement
|
|
5182
|
-
reservedSlotsPerPlacement
|
|
5183
|
-
rotationSeconds
|
|
5184
5163
|
}
|
|
5185
5164
|
}
|
|
5186
5165
|
`;
|
|
5187
5166
|
|
|
5188
5167
|
// src/graphql/mutations/adBooking.ts
|
|
5189
|
-
var
|
|
5190
|
-
var CREATE_AD_CHECKOUT_MUTATION = import_client49.gql`
|
|
5168
|
+
var CREATE_AD_CHECKOUT_MUTATION = import_client47.gql`
|
|
5191
5169
|
mutation createAdCheckout($input: CreateAdCheckoutInputGraphQLType!) {
|
|
5192
5170
|
createAdCheckout(input: $input) {
|
|
5193
5171
|
data {
|
|
@@ -5199,18 +5177,7 @@ var CREATE_AD_CHECKOUT_MUTATION = import_client49.gql`
|
|
|
5199
5177
|
}
|
|
5200
5178
|
}
|
|
5201
5179
|
`;
|
|
5202
|
-
var
|
|
5203
|
-
mutation claimReservedAdDay($input: ClaimReservedAdDayInputType!) {
|
|
5204
|
-
claimReservedAdDay(input: $input) {
|
|
5205
|
-
data {
|
|
5206
|
-
...AdBookingFields
|
|
5207
|
-
}
|
|
5208
|
-
message
|
|
5209
|
-
}
|
|
5210
|
-
}
|
|
5211
|
-
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5212
|
-
`;
|
|
5213
|
-
var APPROVE_AD_BOOKING_MUTATION = import_client49.gql`
|
|
5180
|
+
var APPROVE_AD_BOOKING_MUTATION = import_client47.gql`
|
|
5214
5181
|
mutation approveAdBooking($bookingId: ID!, $approved: Boolean!) {
|
|
5215
5182
|
approveAdBooking(bookingId: $bookingId, approved: $approved) {
|
|
5216
5183
|
data {
|
|
@@ -5221,7 +5188,7 @@ var APPROVE_AD_BOOKING_MUTATION = import_client49.gql`
|
|
|
5221
5188
|
}
|
|
5222
5189
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5223
5190
|
`;
|
|
5224
|
-
var UPDATE_AD_DAILY_PRICE_MUTATION =
|
|
5191
|
+
var UPDATE_AD_DAILY_PRICE_MUTATION = import_client47.gql`
|
|
5225
5192
|
mutation updateAdDailyPrice($input: UpdateAdDailyPriceInputGraphQLType!) {
|
|
5226
5193
|
updateAdDailyPrice(input: $input) {
|
|
5227
5194
|
data {
|
|
@@ -5235,21 +5202,17 @@ var UPDATE_AD_DAILY_PRICE_MUTATION = import_client49.gql`
|
|
|
5235
5202
|
}
|
|
5236
5203
|
}
|
|
5237
5204
|
`;
|
|
5238
|
-
var UPDATE_AD_SETTINGS_MUTATION =
|
|
5205
|
+
var UPDATE_AD_SETTINGS_MUTATION = import_client47.gql`
|
|
5239
5206
|
mutation updateAdSettings($input: UpdateAdSettingsInputGraphQLType!) {
|
|
5240
5207
|
updateAdSettings(input: $input) {
|
|
5241
5208
|
data {
|
|
5242
5209
|
approvalRequired
|
|
5243
|
-
minAppearancesPerHour
|
|
5244
|
-
paidSlotsPerPlacement
|
|
5245
|
-
reservedSlotsPerPlacement
|
|
5246
|
-
rotationSeconds
|
|
5247
5210
|
}
|
|
5248
5211
|
message
|
|
5249
5212
|
}
|
|
5250
5213
|
}
|
|
5251
5214
|
`;
|
|
5252
|
-
var RECORD_AD_IMPRESSION_MUTATION =
|
|
5215
|
+
var RECORD_AD_IMPRESSION_MUTATION = import_client47.gql`
|
|
5253
5216
|
mutation recordAdImpression($input: RecordAdImpressionInputGraphQLType!) {
|
|
5254
5217
|
recordAdImpression(input: $input) {
|
|
5255
5218
|
data
|
|
@@ -5257,6 +5220,17 @@ var RECORD_AD_IMPRESSION_MUTATION = import_client49.gql`
|
|
|
5257
5220
|
}
|
|
5258
5221
|
}
|
|
5259
5222
|
`;
|
|
5223
|
+
var RECORD_AD_CLICK_MUTATION = import_client47.gql`
|
|
5224
|
+
mutation recordAdClick($input: RecordAdClickInputGraphQLType!) {
|
|
5225
|
+
recordAdClick(input: $input) {
|
|
5226
|
+
data
|
|
5227
|
+
message
|
|
5228
|
+
}
|
|
5229
|
+
}
|
|
5230
|
+
`;
|
|
5231
|
+
|
|
5232
|
+
// src/graphql/hooks/ad/hooksQuery.ts
|
|
5233
|
+
var import_client49 = require("@apollo/client");
|
|
5260
5234
|
|
|
5261
5235
|
// src/graphql/hooks/resourceActivities/hooksMutation.ts
|
|
5262
5236
|
var import_client51 = require("@apollo/client");
|