@timardex/cluemart-shared 1.5.714 → 1.5.716

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.
Files changed (48) hide show
  1. package/dist/{chunk-JMOGW4IX.mjs → chunk-6B75Q67V.mjs} +9 -2
  2. package/dist/{chunk-JMOGW4IX.mjs.map → chunk-6B75Q67V.mjs.map} +1 -1
  3. package/dist/{chunk-NS3JTI3E.mjs → chunk-BR64CPND.mjs} +7 -2
  4. package/dist/chunk-BR64CPND.mjs.map +1 -0
  5. package/dist/{chunk-GHTGWSA3.mjs → chunk-CIBJ5PEO.mjs} +25 -1
  6. package/dist/chunk-CIBJ5PEO.mjs.map +1 -0
  7. package/dist/{chunk-BRJDMHB7.mjs → chunk-E6KYS7EK.mjs} +2 -2
  8. package/dist/{chunk-QJI4BF4B.mjs → chunk-YNEHXYL7.mjs} +3 -3
  9. package/dist/enums/index.cjs +8 -0
  10. package/dist/enums/index.cjs.map +1 -1
  11. package/dist/enums/index.d.mts +6 -1
  12. package/dist/enums/index.d.ts +6 -1
  13. package/dist/enums/index.mjs +3 -1
  14. package/dist/formFields/index.cjs +5 -0
  15. package/dist/formFields/index.cjs.map +1 -1
  16. package/dist/formFields/index.mjs +3 -3
  17. package/dist/graphql/index.cjs +25 -0
  18. package/dist/graphql/index.cjs.map +1 -1
  19. package/dist/graphql/index.d.mts +11 -2
  20. package/dist/graphql/index.d.ts +11 -2
  21. package/dist/graphql/index.mjs +4 -2
  22. package/dist/hooks/index.cjs +11 -0
  23. package/dist/hooks/index.cjs.map +1 -1
  24. package/dist/hooks/index.d.mts +1 -1
  25. package/dist/hooks/index.d.ts +1 -1
  26. package/dist/hooks/index.mjs +5 -5
  27. package/dist/index.cjs +38 -0
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.mts +23 -1
  30. package/dist/index.d.ts +23 -1
  31. package/dist/index.mjs +36 -0
  32. package/dist/index.mjs.map +1 -1
  33. package/dist/{post-BEnFqDy7.d.mts → post-CVEDjmq5.d.mts} +10 -2
  34. package/dist/{post-qUQ2rGL4.d.ts → post-DwMiBhxk.d.ts} +10 -2
  35. package/dist/sharing/index.cjs +5 -0
  36. package/dist/sharing/index.cjs.map +1 -1
  37. package/dist/sharing/index.mjs +3 -3
  38. package/dist/types/index.d.mts +1 -1
  39. package/dist/types/index.d.ts +1 -1
  40. package/dist/types/index.mjs +1 -1
  41. package/dist/utils/index.cjs +5 -0
  42. package/dist/utils/index.cjs.map +1 -1
  43. package/dist/utils/index.mjs +2 -2
  44. package/package.json +1 -1
  45. package/dist/chunk-GHTGWSA3.mjs.map +0 -1
  46. package/dist/chunk-NS3JTI3E.mjs.map +0 -1
  47. /package/dist/{chunk-BRJDMHB7.mjs.map → chunk-E6KYS7EK.mjs.map} +0 -0
  48. /package/dist/{chunk-QJI4BF4B.mjs.map → chunk-YNEHXYL7.mjs.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, P as PartnerType, a as ResourceByUser, b as AdType, E as EnumAdStatus, c as SubscriptionPlansResponse, d as SubscriptionStatusData, e as PostType, f as EnumPostType, g as AppSettingsType, G as GameDocType, h as GameLeaderboard, i as SchoolReturnType, j as SchoolType } from '../post-BEnFqDy7.mjs';
3
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as PostType, g as EnumPostType, h as AppSettingsType, G as GameDocType, i as GameLeaderboard, j as SchoolReturnType, k as SchoolType } from '../post-CVEDjmq5.mjs';
4
4
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CZqXBve8.mjs';
5
5
  import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType } from '../global-BEUzBSyY.mjs';
6
6
  import '../images/index.mjs';
@@ -636,6 +636,15 @@ declare const useDeleteUser: () => {
636
636
  error: _apollo_client.ApolloError | undefined;
637
637
  loading: boolean;
638
638
  };
639
+ declare const useRedeemReward: () => {
640
+ error: _apollo_client.ApolloError | undefined;
641
+ loading: boolean;
642
+ redeemReward: (options?: _apollo_client.MutationFunctionOptions<{
643
+ redeemReward: RedeemRewardResponse;
644
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
645
+ redeemReward: RedeemRewardResponse;
646
+ }>>;
647
+ };
639
648
  declare const useAddUserFavouriteResource: () => {
640
649
  addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
641
650
  error: _apollo_client.ApolloError | undefined;
@@ -1135,4 +1144,4 @@ declare const useGetSchool: (_id: string) => {
1135
1144
  school: SchoolReturnType | null;
1136
1145
  };
1137
1146
 
1138
- export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
1147
+ export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -1,6 +1,6 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.js';
3
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, P as PartnerType, a as ResourceByUser, b as AdType, E as EnumAdStatus, c as SubscriptionPlansResponse, d as SubscriptionStatusData, e as PostType, f as EnumPostType, g as AppSettingsType, G as GameDocType, h as GameLeaderboard, i as SchoolReturnType, j as SchoolType } from '../post-qUQ2rGL4.js';
3
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as PostType, g as EnumPostType, h as AppSettingsType, G as GameDocType, i as GameLeaderboard, j as SchoolReturnType, k as SchoolType } from '../post-DwMiBhxk.js';
4
4
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CjJdhVR7.js';
5
5
  import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType } from '../global-585slmSH.js';
6
6
  import '../images/index.js';
@@ -636,6 +636,15 @@ declare const useDeleteUser: () => {
636
636
  error: _apollo_client.ApolloError | undefined;
637
637
  loading: boolean;
638
638
  };
639
+ declare const useRedeemReward: () => {
640
+ error: _apollo_client.ApolloError | undefined;
641
+ loading: boolean;
642
+ redeemReward: (options?: _apollo_client.MutationFunctionOptions<{
643
+ redeemReward: RedeemRewardResponse;
644
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
645
+ redeemReward: RedeemRewardResponse;
646
+ }>>;
647
+ };
639
648
  declare const useAddUserFavouriteResource: () => {
640
649
  addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
641
650
  error: _apollo_client.ApolloError | undefined;
@@ -1135,4 +1144,4 @@ declare const useGetSchool: (_id: string) => {
1135
1144
  school: SchoolReturnType | null;
1136
1145
  };
1137
1146
 
1138
- export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
1147
+ export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -98,6 +98,7 @@ import {
98
98
  useMarkAllNotificationsRead,
99
99
  useMarkChatMessagesSeen,
100
100
  useMarkNotificationRead,
101
+ useRedeemReward,
101
102
  useRefreshToken,
102
103
  useRegister,
103
104
  useRemoveParticipantFromChat,
@@ -135,8 +136,8 @@ import {
135
136
  useUpdateVendor,
136
137
  useUpdateVendorInfo,
137
138
  useValidateVerificationToken
138
- } from "../chunk-GHTGWSA3.mjs";
139
- import "../chunk-JMOGW4IX.mjs";
139
+ } from "../chunk-CIBJ5PEO.mjs";
140
+ import "../chunk-6B75Q67V.mjs";
140
141
  export {
141
142
  useAddParticipantToChat,
142
143
  useAddUserFavouriteResource,
@@ -237,6 +238,7 @@ export {
237
238
  useMarkAllNotificationsRead,
238
239
  useMarkChatMessagesSeen,
239
240
  useMarkNotificationRead,
241
+ useRedeemReward,
240
242
  useRefreshToken,
241
243
  useRegister,
242
244
  useRemoveParticipantFromChat,
@@ -444,6 +444,11 @@ var cluemartSocialMedia = [
444
444
  }
445
445
  ];
446
446
  var CLUEMART_MAIN_DOMAIN_URL = "https://cluemart.co.nz";
447
+ var rewardNiceNames = {
448
+ ["mystery_joy_box" /* MYSTERY_JOY_BOX */]: "Mystery Joy Box",
449
+ ["mystery_squeeze_box" /* MYSTERY_SQUEEZE_BOX */]: "Mystery Squeeze Box",
450
+ ["mystery_deluxe_box" /* MYSTERY_DELUXE_BOX */]: "Mystery Deluxe Box"
451
+ };
447
452
 
448
453
  // src/utils/school.ts
449
454
  var SCHOOL_MIN_STUDENT_COUNT = 300;
@@ -3817,6 +3822,11 @@ var DELETE_USER_MUTATION = import_client37.gql`
3817
3822
  deleteUser(email: $email)
3818
3823
  }
3819
3824
  `;
3825
+ var REDEEM_REWARD_MUTATION = import_client37.gql`
3826
+ mutation redeemReward($input: RedeemRewardInputType!) {
3827
+ redeemReward(input: $input)
3828
+ }
3829
+ `;
3820
3830
  var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client37.gql`
3821
3831
  mutation addUserFavouriteResource(
3822
3832
  $resourceId: ID!
@@ -4631,6 +4641,7 @@ var import_client69 = require("@apollo/client");
4631
4641
  var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client69.gql`
4632
4642
  fragment SchoolRegisteredUsersFields on SchoolRegisteredUserType {
4633
4643
  _id
4644
+ active
4634
4645
  avatar {
4635
4646
  ...ResourceImageFields
4636
4647
  }