@timardex/cluemart-shared 1.7.69 → 1.7.70
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-QdzkKrRN.d.ts → ad-Diu-U5pX.d.ts} +1 -1
- package/dist/{ad-DNMZOQVQ.d.mts → ad-qYFQNWmk.d.mts} +1 -1
- package/dist/{affiliate-Df6OaYMb.d.mts → affiliate-BFiXC5wR.d.mts} +1 -1
- package/dist/{affiliate-BpmQhaUz.d.ts → affiliate-CELcBsj1.d.ts} +1 -1
- package/dist/auth/index.cjs +12 -0
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.mts +2 -2
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.mjs +1 -1
- package/dist/{chunk-LZG5WM4M.mjs → chunk-5K35SL2Z.mjs} +3 -6
- package/dist/{chunk-LZG5WM4M.mjs.map → chunk-5K35SL2Z.mjs.map} +1 -1
- package/dist/{chunk-LMWIDQZ6.mjs → chunk-ZLSM7HEU.mjs} +24 -2
- package/dist/{chunk-LMWIDQZ6.mjs.map → chunk-ZLSM7HEU.mjs.map} +1 -1
- package/dist/graphql/index.cjs +24 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +12 -4
- package/dist/graphql/index.d.ts +12 -4
- package/dist/graphql/index.mjs +4 -2
- package/dist/hooks/index.cjs +12 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +24 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.mjs +23 -4
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/{user-Bf7g6o_5.d.ts → user-BtuhHFYm.d.ts} +6 -1
- package/dist/{user-QZjzFbE4.d.mts → user-C-CD89aZ.d.mts} +6 -1
- package/dist/utils/index.d.mts +2 -2
- package/dist/utils/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -2,10 +2,10 @@ import * as _apollo_client from '@apollo/client';
|
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
3
|
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-kmePhBMr.mjs';
|
|
4
4
|
import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-CG2xlh2k.mjs';
|
|
5
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-
|
|
5
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-qYFQNWmk.mjs';
|
|
6
6
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
7
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-
|
|
8
|
-
import { A as AffiliateType } from '../affiliate-
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-C-CD89aZ.mjs';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-BFiXC5wR.mjs';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import '../images/index.mjs';
|
|
11
11
|
|
|
@@ -953,6 +953,14 @@ declare const useGetUserResources: (userId: string) => {
|
|
|
953
953
|
}>>;
|
|
954
954
|
userResources: ResourceByUser[];
|
|
955
955
|
};
|
|
956
|
+
declare const useGetUsersByPromoCode: (promoCode: string) => {
|
|
957
|
+
error: _apollo_client.ApolloError | undefined;
|
|
958
|
+
loading: boolean;
|
|
959
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
960
|
+
usersByPromoCode: UsersByPromoCode[];
|
|
961
|
+
}>>;
|
|
962
|
+
usersByPromoCode: UsersByPromoCode[];
|
|
963
|
+
};
|
|
956
964
|
|
|
957
965
|
declare const useCreateAd: () => {
|
|
958
966
|
createAd: (options?: _apollo_client.MutationFunctionOptions<{
|
|
@@ -1541,4 +1549,4 @@ declare const useGetCoupon: (_id: string) => {
|
|
|
1541
1549
|
}>>;
|
|
1542
1550
|
};
|
|
1543
1551
|
|
|
1544
|
-
export { ACTIVATE_VENDOR_CLAIM_MUTATION, GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GetCouponsVariables, MY_PENDING_VENDOR_CLAIM, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateAffiliate, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCoupon, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteCoupon, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
|
1552
|
+
export { ACTIVATE_VENDOR_CLAIM_MUTATION, GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GetCouponsVariables, MY_PENDING_VENDOR_CLAIM, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateAffiliate, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCoupon, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteCoupon, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetUsersByPromoCode, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import * as _apollo_client from '@apollo/client';
|
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
3
|
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-B2EqmRwK.js';
|
|
4
4
|
import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-BjtC8RIp.js';
|
|
5
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-
|
|
5
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-Diu-U5pX.js';
|
|
6
6
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
|
|
7
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-
|
|
8
|
-
import { A as AffiliateType } from '../affiliate-
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-BtuhHFYm.js';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-CELcBsj1.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import '../images/index.js';
|
|
11
11
|
|
|
@@ -953,6 +953,14 @@ declare const useGetUserResources: (userId: string) => {
|
|
|
953
953
|
}>>;
|
|
954
954
|
userResources: ResourceByUser[];
|
|
955
955
|
};
|
|
956
|
+
declare const useGetUsersByPromoCode: (promoCode: string) => {
|
|
957
|
+
error: _apollo_client.ApolloError | undefined;
|
|
958
|
+
loading: boolean;
|
|
959
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
960
|
+
usersByPromoCode: UsersByPromoCode[];
|
|
961
|
+
}>>;
|
|
962
|
+
usersByPromoCode: UsersByPromoCode[];
|
|
963
|
+
};
|
|
956
964
|
|
|
957
965
|
declare const useCreateAd: () => {
|
|
958
966
|
createAd: (options?: _apollo_client.MutationFunctionOptions<{
|
|
@@ -1541,4 +1549,4 @@ declare const useGetCoupon: (_id: string) => {
|
|
|
1541
1549
|
}>>;
|
|
1542
1550
|
};
|
|
1543
1551
|
|
|
1544
|
-
export { ACTIVATE_VENDOR_CLAIM_MUTATION, GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GetCouponsVariables, MY_PENDING_VENDOR_CLAIM, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateAffiliate, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCoupon, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteCoupon, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
|
1552
|
+
export { ACTIVATE_VENDOR_CLAIM_MUTATION, GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GetCouponsVariables, MY_PENDING_VENDOR_CLAIM, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateAffiliate, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCoupon, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteCoupon, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetUsersByPromoCode, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
useUpdateUser,
|
|
149
149
|
useUpdateVendor,
|
|
150
150
|
useUpdateVendorInfo
|
|
151
|
-
} from "../chunk-
|
|
151
|
+
} from "../chunk-5K35SL2Z.mjs";
|
|
152
152
|
import {
|
|
153
153
|
GET_EVENT,
|
|
154
154
|
GET_EVENT_INFO,
|
|
@@ -163,6 +163,7 @@ import {
|
|
|
163
163
|
useGetUserResources,
|
|
164
164
|
useGetUserVendors,
|
|
165
165
|
useGetUsers,
|
|
166
|
+
useGetUsersByPromoCode,
|
|
166
167
|
useLogin,
|
|
167
168
|
useLogout,
|
|
168
169
|
useRefreshToken,
|
|
@@ -170,7 +171,7 @@ import {
|
|
|
170
171
|
useRequestPasswordReset,
|
|
171
172
|
useResetPassword,
|
|
172
173
|
useValidateVerificationToken
|
|
173
|
-
} from "../chunk-
|
|
174
|
+
} from "../chunk-ZLSM7HEU.mjs";
|
|
174
175
|
import "../chunk-X3OLM35T.mjs";
|
|
175
176
|
export {
|
|
176
177
|
ACTIVATE_VENDOR_CLAIM_MUTATION,
|
|
@@ -287,6 +288,7 @@ export {
|
|
|
287
288
|
useGetUserResources,
|
|
288
289
|
useGetUserVendors,
|
|
289
290
|
useGetUsers,
|
|
291
|
+
useGetUsersByPromoCode,
|
|
290
292
|
useGetVendor,
|
|
291
293
|
useGetVendorInfo,
|
|
292
294
|
useGetVendorRelations,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -4324,6 +4324,18 @@ var GET_USER_RESOURCES = import_client23.gql`
|
|
|
4324
4324
|
}
|
|
4325
4325
|
}
|
|
4326
4326
|
`;
|
|
4327
|
+
var GET_USERS_BY_PROMO_CODE = import_client23.gql`
|
|
4328
|
+
query getUsersByPromoCode($promoCode: String!) {
|
|
4329
|
+
usersByPromoCode(promoCode: $promoCode) {
|
|
4330
|
+
avatar {
|
|
4331
|
+
...ResourceImageFields
|
|
4332
|
+
}
|
|
4333
|
+
userId
|
|
4334
|
+
nickName
|
|
4335
|
+
}
|
|
4336
|
+
}
|
|
4337
|
+
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
4338
|
+
`;
|
|
4327
4339
|
|
|
4328
4340
|
// src/graphql/hooks/event/hooksQuery.ts
|
|
4329
4341
|
var import_client25 = require("@apollo/client");
|