@timardex/cluemart-shared 1.7.68 → 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-C8D-sSzF.d.ts → ad-Diu-U5pX.d.ts} +2 -2
- package/dist/{ad-DBlMup1m.d.mts → ad-qYFQNWmk.d.mts} +2 -2
- package/dist/{affiliate-DpjRNToN.d.mts → affiliate-BFiXC5wR.d.mts} +2 -2
- package/dist/{affiliate-B4dKY4oC.d.ts → affiliate-CELcBsj1.d.ts} +2 -2
- package/dist/auth/index.cjs +12 -0
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- 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-WS47NSTO.mjs → chunk-GWBDLKQC.mjs} +28 -18
- package/dist/{chunk-WS47NSTO.mjs.map → chunk-GWBDLKQC.mjs.map} +1 -1
- package/dist/{chunk-G5T3Z6WT.mjs → chunk-OYRT6IXI.mjs} +2 -2
- package/dist/{chunk-LMWIDQZ6.mjs → chunk-ZLSM7HEU.mjs} +24 -2
- package/dist/{chunk-LMWIDQZ6.mjs.map → chunk-ZLSM7HEU.mjs.map} +1 -1
- package/dist/{contactUs-Bm9Nx5L6.d.ts → contactUs-Btb-up0h.d.ts} +1 -1
- package/dist/{contactUs-w465ljSW.d.mts → contactUs-CUDo3Q-a.d.mts} +1 -1
- package/dist/formFields/index.cjs +27 -17
- 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 +2 -2
- package/dist/{global-B6l7Xvrj.d.ts → global-BjtC8RIp.d.ts} +23 -15
- package/dist/{global-Da36L_p3.d.mts → global-CG2xlh2k.d.mts} +23 -15
- package/dist/graphql/index.cjs +24 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +14 -6
- package/dist/graphql/index.d.ts +14 -6
- package/dist/graphql/index.mjs +4 -2
- package/dist/hooks/index.cjs +39 -17
- 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 +4 -4
- package/dist/index.cjs +51 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +37 -16
- package/dist/index.d.ts +37 -16
- package/dist/index.mjs +50 -21
- 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/{resourceActivities-B3G__Pqn.d.ts → resourceActivities-B2EqmRwK.d.ts} +1 -1
- package/dist/{resourceActivities-BqxMTeyA.d.mts → resourceActivities-kmePhBMr.d.mts} +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.cjs +27 -17
- 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 -1
- package/dist/{user-S2zwTsVK.d.ts → user-BtuhHFYm.d.ts} +7 -2
- package/dist/{user-B8jYxHQ8.d.mts → user-C-CD89aZ.d.mts} +7 -2
- package/dist/utils/index.cjs +27 -17
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-G5T3Z6WT.mjs.map → chunk-OYRT6IXI.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
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-
|
|
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-
|
|
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
|
+
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-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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
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-
|
|
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-
|
|
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
|
+
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-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
|
@@ -272,20 +272,15 @@ var EnumEventDateStatus = /* @__PURE__ */ ((EnumEventDateStatus2) => {
|
|
|
272
272
|
var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
|
|
273
273
|
var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
|
|
274
274
|
var gameScreenIdentifierList = [
|
|
275
|
-
{
|
|
276
|
-
clue: "Where your actions turn into a timeline.",
|
|
277
|
-
id: "activities",
|
|
278
|
-
match: "/profile/account/favourites"
|
|
279
|
-
},
|
|
280
275
|
{
|
|
281
276
|
clue: "Where conversations happen without speaking.",
|
|
282
277
|
id: "chat",
|
|
283
278
|
match: "/chat"
|
|
284
279
|
},
|
|
285
280
|
{
|
|
286
|
-
clue: "
|
|
287
|
-
id: "
|
|
288
|
-
match: "/
|
|
281
|
+
clue: "Where you can find your loyalties.",
|
|
282
|
+
id: "coupons",
|
|
283
|
+
match: "/coupons"
|
|
289
284
|
},
|
|
290
285
|
{
|
|
291
286
|
clue: "A single moment worth showing up for.",
|
|
@@ -320,18 +315,13 @@ var gameScreenIdentifierList = [
|
|
|
320
315
|
{
|
|
321
316
|
clue: "Your starting point for everything.",
|
|
322
317
|
id: "home",
|
|
323
|
-
match: "/"
|
|
318
|
+
match: "/home"
|
|
324
319
|
},
|
|
325
320
|
{
|
|
326
321
|
clue: "Where the app whispers what you shouldn\u2019t miss.",
|
|
327
322
|
id: "notifications",
|
|
328
323
|
match: "/notifications"
|
|
329
324
|
},
|
|
330
|
-
{
|
|
331
|
-
clue: "Where you fine-tune your experience.",
|
|
332
|
-
id: "options",
|
|
333
|
-
match: "/options"
|
|
334
|
-
},
|
|
335
325
|
{
|
|
336
326
|
clue: "An organisation or creator supporting the community.",
|
|
337
327
|
id: "single-partner",
|
|
@@ -343,15 +333,30 @@ var gameScreenIdentifierList = [
|
|
|
343
333
|
match: "/partners"
|
|
344
334
|
},
|
|
345
335
|
{
|
|
346
|
-
clue: "
|
|
347
|
-
id: "
|
|
348
|
-
match:
|
|
336
|
+
clue: "Where your actions turn into a timeline.",
|
|
337
|
+
id: "activities",
|
|
338
|
+
match: "/profile/account/favourites"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
clue: "The place to redefine who you are.",
|
|
342
|
+
id: "edit-profile",
|
|
343
|
+
match: "/profile/account"
|
|
349
344
|
},
|
|
350
345
|
{
|
|
351
346
|
clue: "Your identity, on display.",
|
|
352
347
|
id: "profile",
|
|
353
348
|
match: "/profile"
|
|
354
349
|
},
|
|
350
|
+
{
|
|
351
|
+
clue: "Where you can redeem your rewards.",
|
|
352
|
+
id: "rewards",
|
|
353
|
+
match: "/profile/account/rewards"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
clue: "A single published post in full view.",
|
|
357
|
+
id: "single-visitor-post",
|
|
358
|
+
match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
359
|
+
},
|
|
355
360
|
{
|
|
356
361
|
clue: "One stallholder offering something valuable.",
|
|
357
362
|
id: "single-vendor",
|
|
@@ -366,6 +371,11 @@ var gameScreenIdentifierList = [
|
|
|
366
371
|
clue: "Where you browse articles and posts from around the platform.",
|
|
367
372
|
id: "visitors",
|
|
368
373
|
match: "/visitors"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
clue: "Where you fine-tune your experience.",
|
|
377
|
+
id: "options",
|
|
378
|
+
match: "/options"
|
|
369
379
|
}
|
|
370
380
|
];
|
|
371
381
|
|
|
@@ -4314,6 +4324,18 @@ var GET_USER_RESOURCES = import_client23.gql`
|
|
|
4314
4324
|
}
|
|
4315
4325
|
}
|
|
4316
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
|
+
`;
|
|
4317
4339
|
|
|
4318
4340
|
// src/graphql/hooks/event/hooksQuery.ts
|
|
4319
4341
|
var import_client25 = require("@apollo/client");
|