@timardex/cluemart-shared 2.3.10 → 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-Drhn_Azy.d.mts → ad-BSyVGv8q.d.mts} +18 -25
- package/dist/{ad-CdehhMyb.d.ts → ad-DRI2CIzV.d.ts} +18 -25
- package/dist/{affiliate-Cd78p2Fz.d.mts → affiliate-DJhVZJ2h.d.mts} +2 -2
- package/dist/{affiliate-CdIL0r2o.d.ts → affiliate-DuDoOxK_.d.ts} +2 -2
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/{chunk-UWMZ6VLV.mjs → chunk-2RHUGVV3.mjs} +137 -126
- 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/{contactUs-ITiB1XV4.d.ts → contactUs-6b5g9DV-.d.ts} +1 -1
- package/dist/{contactUs-BJPQ5nKc.d.mts → contactUs-BDJutwcx.d.mts} +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +4 -4
- package/dist/{global-XUBcgjNc.d.mts → global-EGbrTMk6.d.mts} +5 -1
- package/dist/{global-DlC7W4p7.d.ts → global-LtQJ2t6c.d.ts} +5 -1
- package/dist/graphql/index.cjs +145 -133
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +29 -12
- package/dist/graphql/index.d.ts +29 -12
- package/dist/graphql/index.mjs +7 -5
- package/dist/hooks/index.cjs +48 -55
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +5 -5
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.mjs +6 -6
- package/dist/index.cjs +164 -146
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +58 -29
- package/dist/index.d.ts +58 -29
- package/dist/index.mjs +145 -131
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.d.mts +1 -1
- package/dist/map/index.d.ts +1 -1
- package/dist/region/index.d.mts +1 -1
- package/dist/region/index.d.ts +1 -1
- package/dist/{resourceActivities-Ci12UkJU.d.mts → resourceActivities-BytCHUvO.d.mts} +1 -1
- package/dist/{resourceActivities-C8eIfpKl.d.ts → resourceActivities-DlUEbCkT.d.ts} +1 -1
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +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 +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.mjs +1 -3
- package/dist/{user-BSFExFvl.d.ts → user-GnrqZmZP.d.ts} +1 -1
- package/dist/{user-D31zAVuz.d.mts → user-Znc91Cw5.d.mts} +1 -1
- package/dist/utils/index.cjs +19 -3
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +19 -4
- package/dist/utils/index.d.ts +19 -4
- 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-UWMZ6VLV.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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
|
|
3
3
|
import { DocumentNode } from 'graphql';
|
|
4
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
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 ResourceConnectionsType, V as VendorClaimTokenValidation,
|
|
6
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-
|
|
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-
|
|
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
|
+
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
|
+
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-BSyVGv8q.mjs';
|
|
8
8
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
9
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
|
|
10
|
-
import { A as AffiliateType } from '../affiliate-
|
|
10
|
+
import { A as AffiliateType } from '../affiliate-DJhVZJ2h.mjs';
|
|
11
11
|
import 'react-hook-form';
|
|
12
12
|
import '../images/index.mjs';
|
|
13
13
|
|
|
@@ -572,9 +572,9 @@ declare const useGetRelationHistory: (_id?: string) => {
|
|
|
572
572
|
error: _apollo_client.ApolloError | undefined;
|
|
573
573
|
loading: boolean;
|
|
574
574
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
575
|
-
relationHistory:
|
|
575
|
+
relationHistory: RelationHistoryType;
|
|
576
576
|
}>>;
|
|
577
|
-
relationHistory:
|
|
577
|
+
relationHistory: RelationHistoryType | undefined;
|
|
578
578
|
};
|
|
579
579
|
/**
|
|
580
580
|
* Every relation linked to an event or vendor with past relation dates only.
|
|
@@ -584,9 +584,9 @@ declare const useGetRelationHistories: (resourceId?: string, resourceType?: Enum
|
|
|
584
584
|
error: _apollo_client.ApolloError | undefined;
|
|
585
585
|
loading: boolean;
|
|
586
586
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
587
|
-
relationHistories:
|
|
587
|
+
relationHistories: RelationHistoryType[];
|
|
588
588
|
}>>;
|
|
589
|
-
relationHistories:
|
|
589
|
+
relationHistories: RelationHistoryType[];
|
|
590
590
|
};
|
|
591
591
|
declare const useGetRelationByEventAndVendor: (eventId: string, vendorId: string) => {
|
|
592
592
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
|
|
3
3
|
import { DocumentNode } from 'graphql';
|
|
4
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
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 ResourceConnectionsType, V as VendorClaimTokenValidation,
|
|
6
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-
|
|
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-
|
|
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
|
+
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
|
+
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-DRI2CIzV.js';
|
|
8
8
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
|
|
9
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
|
|
10
|
-
import { A as AffiliateType } from '../affiliate-
|
|
10
|
+
import { A as AffiliateType } from '../affiliate-DuDoOxK_.js';
|
|
11
11
|
import 'react-hook-form';
|
|
12
12
|
import '../images/index.js';
|
|
13
13
|
|
|
@@ -572,9 +572,9 @@ declare const useGetRelationHistory: (_id?: string) => {
|
|
|
572
572
|
error: _apollo_client.ApolloError | undefined;
|
|
573
573
|
loading: boolean;
|
|
574
574
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
575
|
-
relationHistory:
|
|
575
|
+
relationHistory: RelationHistoryType;
|
|
576
576
|
}>>;
|
|
577
|
-
relationHistory:
|
|
577
|
+
relationHistory: RelationHistoryType | undefined;
|
|
578
578
|
};
|
|
579
579
|
/**
|
|
580
580
|
* Every relation linked to an event or vendor with past relation dates only.
|
|
@@ -584,9 +584,9 @@ declare const useGetRelationHistories: (resourceId?: string, resourceType?: Enum
|
|
|
584
584
|
error: _apollo_client.ApolloError | undefined;
|
|
585
585
|
loading: boolean;
|
|
586
586
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
587
|
-
relationHistories:
|
|
587
|
+
relationHistories: RelationHistoryType[];
|
|
588
588
|
}>>;
|
|
589
|
-
relationHistories:
|
|
589
|
+
relationHistories: RelationHistoryType[];
|
|
590
590
|
};
|
|
591
591
|
declare const useGetRelationByEventAndVendor: (eventId: string, vendorId: string) => {
|
|
592
592
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -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;
|
|
@@ -4093,6 +4092,25 @@ var RELATION_FIELDS_FRAGMENT = import_client11.gql`
|
|
|
4093
4092
|
}
|
|
4094
4093
|
${RELATION_DATES_FRAGMENT}
|
|
4095
4094
|
`;
|
|
4095
|
+
var RELATION_HISTORY_FIELDS_FRAGMENT = import_client11.gql`
|
|
4096
|
+
fragment RelationHistoryFields on RelationHistoryType {
|
|
4097
|
+
_id
|
|
4098
|
+
active
|
|
4099
|
+
chatId
|
|
4100
|
+
createdAt
|
|
4101
|
+
eventId
|
|
4102
|
+
eventName
|
|
4103
|
+
lastUpdateBy
|
|
4104
|
+
relationDates {
|
|
4105
|
+
...RelationDates
|
|
4106
|
+
}
|
|
4107
|
+
relationType
|
|
4108
|
+
updatedAt
|
|
4109
|
+
vendorId
|
|
4110
|
+
vendorName
|
|
4111
|
+
}
|
|
4112
|
+
${RELATION_DATES_FRAGMENT}
|
|
4113
|
+
`;
|
|
4096
4114
|
var GET_RELATION = import_client11.gql`
|
|
4097
4115
|
query getRelation($_id: ID!) {
|
|
4098
4116
|
relation(_id: $_id) {
|
|
@@ -4104,10 +4122,10 @@ var GET_RELATION = import_client11.gql`
|
|
|
4104
4122
|
var GET_RELATION_HISTORY = import_client11.gql`
|
|
4105
4123
|
query getRelationHistory($_id: ID!) {
|
|
4106
4124
|
relationHistory(_id: $_id) {
|
|
4107
|
-
...
|
|
4125
|
+
...RelationHistoryFields
|
|
4108
4126
|
}
|
|
4109
4127
|
}
|
|
4110
|
-
${
|
|
4128
|
+
${RELATION_HISTORY_FIELDS_FRAGMENT}
|
|
4111
4129
|
`;
|
|
4112
4130
|
var GET_RELATION_HISTORIES = import_client11.gql`
|
|
4113
4131
|
query getRelationHistories(
|
|
@@ -4115,10 +4133,10 @@ var GET_RELATION_HISTORIES = import_client11.gql`
|
|
|
4115
4133
|
$resourceType: ResourceTypeEnum!
|
|
4116
4134
|
) {
|
|
4117
4135
|
relationHistories(resourceId: $resourceId, resourceType: $resourceType) {
|
|
4118
|
-
...
|
|
4136
|
+
...RelationHistoryFields
|
|
4119
4137
|
}
|
|
4120
4138
|
}
|
|
4121
|
-
${
|
|
4139
|
+
${RELATION_HISTORY_FIELDS_FRAGMENT}
|
|
4122
4140
|
`;
|
|
4123
4141
|
var GET_RELATION_BY_EVENT_AND_VENDOR = import_client11.gql`
|
|
4124
4142
|
query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
|
|
@@ -4979,7 +4997,7 @@ var SELECT_STANDARD_PACKAGE_MUTATION = import_client41.gql`
|
|
|
4979
4997
|
var import_client43 = require("@apollo/client");
|
|
4980
4998
|
|
|
4981
4999
|
// src/graphql/hooks/ad/hooksMutation.ts
|
|
4982
|
-
var
|
|
5000
|
+
var import_client48 = require("@apollo/client");
|
|
4983
5001
|
|
|
4984
5002
|
// src/graphql/mutations/ad.ts
|
|
4985
5003
|
var import_client45 = require("@apollo/client");
|
|
@@ -4990,10 +5008,8 @@ var AD_FIELDS_FRAGMENT = import_client44.gql`
|
|
|
4990
5008
|
fragment AdFields on AdType {
|
|
4991
5009
|
_id
|
|
4992
5010
|
active
|
|
4993
|
-
clicks
|
|
4994
5011
|
createdAt
|
|
4995
5012
|
end
|
|
4996
|
-
impressions
|
|
4997
5013
|
resource {
|
|
4998
5014
|
adDescription
|
|
4999
5015
|
adImage
|
|
@@ -5074,12 +5090,12 @@ var DELETE_AD_MUTATION = import_client45.gql`
|
|
|
5074
5090
|
}
|
|
5075
5091
|
`;
|
|
5076
5092
|
|
|
5077
|
-
// src/graphql/
|
|
5093
|
+
// src/graphql/mutations/adBooking.ts
|
|
5078
5094
|
var import_client47 = require("@apollo/client");
|
|
5079
5095
|
|
|
5080
5096
|
// src/graphql/queries/adBooking.ts
|
|
5081
|
-
var
|
|
5082
|
-
var AD_BOOKING_FIELDS_FRAGMENT =
|
|
5097
|
+
var import_client46 = require("@apollo/client");
|
|
5098
|
+
var AD_BOOKING_FIELDS_FRAGMENT = import_client46.gql`
|
|
5083
5099
|
fragment AdBookingFields on AdBookingGraphQLType {
|
|
5084
5100
|
_id
|
|
5085
5101
|
adId
|
|
@@ -5105,21 +5121,7 @@ var AD_BOOKING_FIELDS_FRAGMENT = import_client48.gql`
|
|
|
5105
5121
|
unitAmount
|
|
5106
5122
|
}
|
|
5107
5123
|
`;
|
|
5108
|
-
var
|
|
5109
|
-
query getAdDayAvailability(
|
|
5110
|
-
$region: String!
|
|
5111
|
-
$dayKey: String!
|
|
5112
|
-
$placement: AdShowOnEnum!
|
|
5113
|
-
) {
|
|
5114
|
-
adDayAvailability(region: $region, dayKey: $dayKey, placement: $placement) {
|
|
5115
|
-
currency
|
|
5116
|
-
paidAvailable
|
|
5117
|
-
reservedAvailable
|
|
5118
|
-
unitAmount
|
|
5119
|
-
}
|
|
5120
|
-
}
|
|
5121
|
-
`;
|
|
5122
|
-
var GET_MY_AD_BOOKINGS = import_client48.gql`
|
|
5124
|
+
var GET_MY_AD_BOOKINGS = import_client46.gql`
|
|
5123
5125
|
query getMyAdBookings {
|
|
5124
5126
|
myAdBookings {
|
|
5125
5127
|
...AdBookingFields
|
|
@@ -5127,7 +5129,7 @@ var GET_MY_AD_BOOKINGS = import_client48.gql`
|
|
|
5127
5129
|
}
|
|
5128
5130
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5129
5131
|
`;
|
|
5130
|
-
var GET_AD_BOOKING =
|
|
5132
|
+
var GET_AD_BOOKING = import_client46.gql`
|
|
5131
5133
|
query getAdBooking($id: ID!) {
|
|
5132
5134
|
adBooking(id: $id) {
|
|
5133
5135
|
...AdBookingFields
|
|
@@ -5135,7 +5137,7 @@ var GET_AD_BOOKING = import_client48.gql`
|
|
|
5135
5137
|
}
|
|
5136
5138
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5137
5139
|
`;
|
|
5138
|
-
var GET_PENDING_AD_BOOKINGS =
|
|
5140
|
+
var GET_PENDING_AD_BOOKINGS = import_client46.gql`
|
|
5139
5141
|
query getPendingAdBookings {
|
|
5140
5142
|
pendingAdBookings {
|
|
5141
5143
|
...AdBookingFields
|
|
@@ -5143,7 +5145,7 @@ var GET_PENDING_AD_BOOKINGS = import_client48.gql`
|
|
|
5143
5145
|
}
|
|
5144
5146
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5145
5147
|
`;
|
|
5146
|
-
var GET_AD_DAILY_PRICES =
|
|
5148
|
+
var GET_AD_DAILY_PRICES = import_client46.gql`
|
|
5147
5149
|
query getAdDailyPrices {
|
|
5148
5150
|
adDailyPrices {
|
|
5149
5151
|
active
|
|
@@ -5154,21 +5156,16 @@ var GET_AD_DAILY_PRICES = import_client48.gql`
|
|
|
5154
5156
|
}
|
|
5155
5157
|
}
|
|
5156
5158
|
`;
|
|
5157
|
-
var GET_AD_SETTINGS =
|
|
5159
|
+
var GET_AD_SETTINGS = import_client46.gql`
|
|
5158
5160
|
query getAdSettings {
|
|
5159
5161
|
adSettings {
|
|
5160
5162
|
approvalRequired
|
|
5161
|
-
minAppearancesPerHour
|
|
5162
|
-
paidSlotsPerPlacement
|
|
5163
|
-
reservedSlotsPerPlacement
|
|
5164
|
-
rotationSeconds
|
|
5165
5163
|
}
|
|
5166
5164
|
}
|
|
5167
5165
|
`;
|
|
5168
5166
|
|
|
5169
5167
|
// src/graphql/mutations/adBooking.ts
|
|
5170
|
-
var
|
|
5171
|
-
var CREATE_AD_CHECKOUT_MUTATION = import_client49.gql`
|
|
5168
|
+
var CREATE_AD_CHECKOUT_MUTATION = import_client47.gql`
|
|
5172
5169
|
mutation createAdCheckout($input: CreateAdCheckoutInputGraphQLType!) {
|
|
5173
5170
|
createAdCheckout(input: $input) {
|
|
5174
5171
|
data {
|
|
@@ -5180,18 +5177,7 @@ var CREATE_AD_CHECKOUT_MUTATION = import_client49.gql`
|
|
|
5180
5177
|
}
|
|
5181
5178
|
}
|
|
5182
5179
|
`;
|
|
5183
|
-
var
|
|
5184
|
-
mutation claimReservedAdDay($input: ClaimReservedAdDayInputType!) {
|
|
5185
|
-
claimReservedAdDay(input: $input) {
|
|
5186
|
-
data {
|
|
5187
|
-
...AdBookingFields
|
|
5188
|
-
}
|
|
5189
|
-
message
|
|
5190
|
-
}
|
|
5191
|
-
}
|
|
5192
|
-
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5193
|
-
`;
|
|
5194
|
-
var APPROVE_AD_BOOKING_MUTATION = import_client49.gql`
|
|
5180
|
+
var APPROVE_AD_BOOKING_MUTATION = import_client47.gql`
|
|
5195
5181
|
mutation approveAdBooking($bookingId: ID!, $approved: Boolean!) {
|
|
5196
5182
|
approveAdBooking(bookingId: $bookingId, approved: $approved) {
|
|
5197
5183
|
data {
|
|
@@ -5202,7 +5188,7 @@ var APPROVE_AD_BOOKING_MUTATION = import_client49.gql`
|
|
|
5202
5188
|
}
|
|
5203
5189
|
${AD_BOOKING_FIELDS_FRAGMENT}
|
|
5204
5190
|
`;
|
|
5205
|
-
var UPDATE_AD_DAILY_PRICE_MUTATION =
|
|
5191
|
+
var UPDATE_AD_DAILY_PRICE_MUTATION = import_client47.gql`
|
|
5206
5192
|
mutation updateAdDailyPrice($input: UpdateAdDailyPriceInputGraphQLType!) {
|
|
5207
5193
|
updateAdDailyPrice(input: $input) {
|
|
5208
5194
|
data {
|
|
@@ -5216,21 +5202,17 @@ var UPDATE_AD_DAILY_PRICE_MUTATION = import_client49.gql`
|
|
|
5216
5202
|
}
|
|
5217
5203
|
}
|
|
5218
5204
|
`;
|
|
5219
|
-
var UPDATE_AD_SETTINGS_MUTATION =
|
|
5205
|
+
var UPDATE_AD_SETTINGS_MUTATION = import_client47.gql`
|
|
5220
5206
|
mutation updateAdSettings($input: UpdateAdSettingsInputGraphQLType!) {
|
|
5221
5207
|
updateAdSettings(input: $input) {
|
|
5222
5208
|
data {
|
|
5223
5209
|
approvalRequired
|
|
5224
|
-
minAppearancesPerHour
|
|
5225
|
-
paidSlotsPerPlacement
|
|
5226
|
-
reservedSlotsPerPlacement
|
|
5227
|
-
rotationSeconds
|
|
5228
5210
|
}
|
|
5229
5211
|
message
|
|
5230
5212
|
}
|
|
5231
5213
|
}
|
|
5232
5214
|
`;
|
|
5233
|
-
var RECORD_AD_IMPRESSION_MUTATION =
|
|
5215
|
+
var RECORD_AD_IMPRESSION_MUTATION = import_client47.gql`
|
|
5234
5216
|
mutation recordAdImpression($input: RecordAdImpressionInputGraphQLType!) {
|
|
5235
5217
|
recordAdImpression(input: $input) {
|
|
5236
5218
|
data
|
|
@@ -5238,6 +5220,17 @@ var RECORD_AD_IMPRESSION_MUTATION = import_client49.gql`
|
|
|
5238
5220
|
}
|
|
5239
5221
|
}
|
|
5240
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");
|
|
5241
5234
|
|
|
5242
5235
|
// src/graphql/hooks/resourceActivities/hooksMutation.ts
|
|
5243
5236
|
var import_client51 = require("@apollo/client");
|