@timardex/cluemart-shared 2.3.20 → 2.5.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/auth/index.mjs +1 -1
- package/dist/{chunk-ZZXSAQM6.mjs → chunk-2RHUGVV3.mjs} +114 -122
- package/dist/chunk-2RHUGVV3.mjs.map +1 -0
- package/dist/{chunk-HKTBJOB7.mjs → chunk-4CQLKIQ6.mjs} +13 -1
- package/dist/chunk-4CQLKIQ6.mjs.map +1 -0
- package/dist/{chunk-XGGFB7HY.mjs → chunk-A52C6JDT.mjs} +2 -2
- package/dist/chunk-A52C6JDT.mjs.map +1 -0
- package/dist/{chunk-KMS64DE2.mjs → chunk-CQ26N3W6.mjs} +2 -2
- package/dist/{chunk-DV3K3JDE.mjs → chunk-DEK7NF3O.mjs} +9 -7
- package/dist/chunk-DEK7NF3O.mjs.map +1 -0
- package/dist/{chunk-PBW5K54C.mjs → chunk-L4NHGGT7.mjs} +3 -3
- package/dist/{chunk-5AAYX364.mjs → chunk-WWAHS5R2.mjs} +1 -10
- package/dist/chunk-WWAHS5R2.mjs.map +1 -0
- package/dist/enums/index.cjs +1 -1
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +2 -2
- package/dist/enums/index.d.ts +2 -2
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +2 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +5 -5
- 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 +8 -6
- package/dist/hooks/index.cjs +27 -52
- 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 +7 -7
- package/dist/index.cjs +143 -143
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +58 -32
- package/dist/index.d.ts +58 -32
- package/dist/index.mjs +124 -128
- package/dist/index.mjs.map +1 -1
- package/dist/region/index.cjs.map +1 -1
- package/dist/region/index.mjs +1 -1
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +3 -3
- 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 +2 -4
- package/dist/utils/index.cjs +21 -4
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +22 -6
- package/dist/utils/index.d.ts +22 -6
- package/dist/utils/index.mjs +12 -4
- 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-XGGFB7HY.mjs.map +0 -1
- package/dist/chunk-ZZXSAQM6.mjs.map +0 -1
- /package/dist/{chunk-KMS64DE2.mjs.map → chunk-CQ26N3W6.mjs.map} +0 -0
- /package/dist/{chunk-PBW5K54C.mjs.map → chunk-L4NHGGT7.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,
|
|
@@ -196,16 +197,14 @@ import {
|
|
|
196
197
|
useValidateVerificationToken
|
|
197
198
|
} from "../chunk-TKSBCN3N.mjs";
|
|
198
199
|
import "../chunk-7DQBUZXY.mjs";
|
|
199
|
-
import "../chunk-
|
|
200
|
+
import "../chunk-A52C6JDT.mjs";
|
|
200
201
|
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
|
@@ -175,12 +175,12 @@ var yup = __toESM(require("yup"));
|
|
|
175
175
|
// src/enums/index.ts
|
|
176
176
|
var EnumInviteStatus = /* @__PURE__ */ ((EnumInviteStatus2) => {
|
|
177
177
|
EnumInviteStatus2["ACCEPTED"] = "Accepted";
|
|
178
|
+
EnumInviteStatus2["CANCELED"] = "Canceled";
|
|
178
179
|
EnumInviteStatus2["COMPLETED"] = "Completed";
|
|
179
180
|
EnumInviteStatus2["EXPIRED"] = "Expired";
|
|
180
181
|
EnumInviteStatus2["NO_STATUS"] = "No_Status";
|
|
181
182
|
EnumInviteStatus2["PENDING"] = "Pending";
|
|
182
183
|
EnumInviteStatus2["REJECTED"] = "Rejected";
|
|
183
|
-
EnumInviteStatus2["UNAVAILABLE"] = "Unavailable";
|
|
184
184
|
return EnumInviteStatus2;
|
|
185
185
|
})(EnumInviteStatus || {});
|
|
186
186
|
var EnumPaymentMethod = /* @__PURE__ */ ((EnumPaymentMethod2) => {
|
|
@@ -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;
|
|
@@ -1810,6 +1809,7 @@ var INITIAL_BILLING_CATALOG = [
|
|
|
1810
1809
|
// src/utils/relations/preservedRelationDateStatuses.ts
|
|
1811
1810
|
var PRESERVED_RELATION_DATE_STATUSES = /* @__PURE__ */ new Set([
|
|
1812
1811
|
"Accepted" /* ACCEPTED */,
|
|
1812
|
+
"Canceled" /* CANCELED */,
|
|
1813
1813
|
"Completed" /* COMPLETED */,
|
|
1814
1814
|
"Rejected" /* REJECTED */
|
|
1815
1815
|
]);
|
|
@@ -4998,7 +4998,7 @@ var SELECT_STANDARD_PACKAGE_MUTATION = import_client41.gql`
|
|
|
4998
4998
|
var import_client43 = require("@apollo/client");
|
|
4999
4999
|
|
|
5000
5000
|
// src/graphql/hooks/ad/hooksMutation.ts
|
|
5001
|
-
var
|
|
5001
|
+
var import_client48 = require("@apollo/client");
|
|
5002
5002
|
|
|
5003
5003
|
// src/graphql/mutations/ad.ts
|
|
5004
5004
|
var import_client45 = require("@apollo/client");
|
|
@@ -5009,10 +5009,8 @@ var AD_FIELDS_FRAGMENT = import_client44.gql`
|
|
|
5009
5009
|
fragment AdFields on AdType {
|
|
5010
5010
|
_id
|
|
5011
5011
|
active
|
|
5012
|
-
clicks
|
|
5013
5012
|
createdAt
|
|
5014
5013
|
end
|
|
5015
|
-
impressions
|
|
5016
5014
|
resource {
|
|
5017
5015
|
adDescription
|
|
5018
5016
|
adImage
|
|
@@ -5093,12 +5091,12 @@ var DELETE_AD_MUTATION = import_client45.gql`
|
|
|
5093
5091
|
}
|
|
5094
5092
|
`;
|
|
5095
5093
|
|
|
5096
|
-
// src/graphql/
|
|
5094
|
+
// src/graphql/mutations/adBooking.ts
|
|
5097
5095
|
var import_client47 = require("@apollo/client");
|
|
5098
5096
|
|
|
5099
5097
|
// src/graphql/queries/adBooking.ts
|
|
5100
|
-
var
|
|
5101
|
-
var AD_BOOKING_FIELDS_FRAGMENT =
|
|
5098
|
+
var import_client46 = require("@apollo/client");
|
|
5099
|
+
var AD_BOOKING_FIELDS_FRAGMENT = import_client46.gql`
|
|
5102
5100
|
fragment AdBookingFields on AdBookingGraphQLType {
|
|
5103
5101
|
_id
|
|
5104
5102
|
adId
|
|
@@ -5124,21 +5122,7 @@ var AD_BOOKING_FIELDS_FRAGMENT = import_client48.gql`
|
|
|
5124
5122
|
unitAmount
|
|
5125
5123
|
}
|
|
5126
5124
|
`;
|
|
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`
|
|
5125
|
+
var GET_MY_AD_BOOKINGS = import_client46.gql`
|
|
5142
5126
|
query getMyAdBookings {
|
|
5143
5127
|
myAdBookings {
|
|
5144
5128
|
...AdBookingFields
|
|
@@ -5146,7 +5130,7 @@ var GET_MY_AD_BOOKINGS = import_client48.gql`
|
|
|
5146
5130
|
}
|
|
5147
5131
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5148
5132
|
`;
|
|
5149
|
-
var GET_AD_BOOKING =
|
|
5133
|
+
var GET_AD_BOOKING = import_client46.gql`
|
|
5150
5134
|
query getAdBooking($id: ID!) {
|
|
5151
5135
|
adBooking(id: $id) {
|
|
5152
5136
|
...AdBookingFields
|
|
@@ -5154,7 +5138,7 @@ var GET_AD_BOOKING = import_client48.gql`
|
|
|
5154
5138
|
}
|
|
5155
5139
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5156
5140
|
`;
|
|
5157
|
-
var GET_PENDING_AD_BOOKINGS =
|
|
5141
|
+
var GET_PENDING_AD_BOOKINGS = import_client46.gql`
|
|
5158
5142
|
query getPendingAdBookings {
|
|
5159
5143
|
pendingAdBookings {
|
|
5160
5144
|
...AdBookingFields
|
|
@@ -5162,7 +5146,7 @@ var GET_PENDING_AD_BOOKINGS = import_client48.gql`
|
|
|
5162
5146
|
}
|
|
5163
5147
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5164
5148
|
`;
|
|
5165
|
-
var GET_AD_DAILY_PRICES =
|
|
5149
|
+
var GET_AD_DAILY_PRICES = import_client46.gql`
|
|
5166
5150
|
query getAdDailyPrices {
|
|
5167
5151
|
adDailyPrices {
|
|
5168
5152
|
active
|
|
@@ -5173,21 +5157,16 @@ var GET_AD_DAILY_PRICES = import_client48.gql`
|
|
|
5173
5157
|
}
|
|
5174
5158
|
}
|
|
5175
5159
|
`;
|
|
5176
|
-
var GET_AD_SETTINGS =
|
|
5160
|
+
var GET_AD_SETTINGS = import_client46.gql`
|
|
5177
5161
|
query getAdSettings {
|
|
5178
5162
|
adSettings {
|
|
5179
5163
|
approvalRequired
|
|
5180
|
-
minAppearancesPerHour
|
|
5181
|
-
paidSlotsPerPlacement
|
|
5182
|
-
reservedSlotsPerPlacement
|
|
5183
|
-
rotationSeconds
|
|
5184
5164
|
}
|
|
5185
5165
|
}
|
|
5186
5166
|
`;
|
|
5187
5167
|
|
|
5188
5168
|
// src/graphql/mutations/adBooking.ts
|
|
5189
|
-
var
|
|
5190
|
-
var CREATE_AD_CHECKOUT_MUTATION = import_client49.gql`
|
|
5169
|
+
var CREATE_AD_CHECKOUT_MUTATION = import_client47.gql`
|
|
5191
5170
|
mutation createAdCheckout($input: CreateAdCheckoutInputGraphQLType!) {
|
|
5192
5171
|
createAdCheckout(input: $input) {
|
|
5193
5172
|
data {
|
|
@@ -5199,18 +5178,7 @@ var CREATE_AD_CHECKOUT_MUTATION = import_client49.gql`
|
|
|
5199
5178
|
}
|
|
5200
5179
|
}
|
|
5201
5180
|
`;
|
|
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`
|
|
5181
|
+
var APPROVE_AD_BOOKING_MUTATION = import_client47.gql`
|
|
5214
5182
|
mutation approveAdBooking($bookingId: ID!, $approved: Boolean!) {
|
|
5215
5183
|
approveAdBooking(bookingId: $bookingId, approved: $approved) {
|
|
5216
5184
|
data {
|
|
@@ -5221,7 +5189,7 @@ var APPROVE_AD_BOOKING_MUTATION = import_client49.gql`
|
|
|
5221
5189
|
}
|
|
5222
5190
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5223
5191
|
`;
|
|
5224
|
-
var UPDATE_AD_DAILY_PRICE_MUTATION =
|
|
5192
|
+
var UPDATE_AD_DAILY_PRICE_MUTATION = import_client47.gql`
|
|
5225
5193
|
mutation updateAdDailyPrice($input: UpdateAdDailyPriceInputGraphQLType!) {
|
|
5226
5194
|
updateAdDailyPrice(input: $input) {
|
|
5227
5195
|
data {
|
|
@@ -5235,21 +5203,17 @@ var UPDATE_AD_DAILY_PRICE_MUTATION = import_client49.gql`
|
|
|
5235
5203
|
}
|
|
5236
5204
|
}
|
|
5237
5205
|
`;
|
|
5238
|
-
var UPDATE_AD_SETTINGS_MUTATION =
|
|
5206
|
+
var UPDATE_AD_SETTINGS_MUTATION = import_client47.gql`
|
|
5239
5207
|
mutation updateAdSettings($input: UpdateAdSettingsInputGraphQLType!) {
|
|
5240
5208
|
updateAdSettings(input: $input) {
|
|
5241
5209
|
data {
|
|
5242
5210
|
approvalRequired
|
|
5243
|
-
minAppearancesPerHour
|
|
5244
|
-
paidSlotsPerPlacement
|
|
5245
|
-
reservedSlotsPerPlacement
|
|
5246
|
-
rotationSeconds
|
|
5247
5211
|
}
|
|
5248
5212
|
message
|
|
5249
5213
|
}
|
|
5250
5214
|
}
|
|
5251
5215
|
`;
|
|
5252
|
-
var RECORD_AD_IMPRESSION_MUTATION =
|
|
5216
|
+
var RECORD_AD_IMPRESSION_MUTATION = import_client47.gql`
|
|
5253
5217
|
mutation recordAdImpression($input: RecordAdImpressionInputGraphQLType!) {
|
|
5254
5218
|
recordAdImpression(input: $input) {
|
|
5255
5219
|
data
|
|
@@ -5257,6 +5221,17 @@ var RECORD_AD_IMPRESSION_MUTATION = import_client49.gql`
|
|
|
5257
5221
|
}
|
|
5258
5222
|
}
|
|
5259
5223
|
`;
|
|
5224
|
+
var RECORD_AD_CLICK_MUTATION = import_client47.gql`
|
|
5225
|
+
mutation recordAdClick($input: RecordAdClickInputGraphQLType!) {
|
|
5226
|
+
recordAdClick(input: $input) {
|
|
5227
|
+
data
|
|
5228
|
+
message
|
|
5229
|
+
}
|
|
5230
|
+
}
|
|
5231
|
+
`;
|
|
5232
|
+
|
|
5233
|
+
// src/graphql/hooks/ad/hooksQuery.ts
|
|
5234
|
+
var import_client49 = require("@apollo/client");
|
|
5260
5235
|
|
|
5261
5236
|
// src/graphql/hooks/resourceActivities/hooksMutation.ts
|
|
5262
5237
|
var import_client51 = require("@apollo/client");
|