@timardex/cluemart-shared 1.5.519 → 1.5.520

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 (38) hide show
  1. package/dist/{chunk-6FBQIZD5.mjs → chunk-6ZSNB2Y7.mjs} +19 -1
  2. package/dist/{chunk-6FBQIZD5.mjs.map → chunk-6ZSNB2Y7.mjs.map} +1 -1
  3. package/dist/{chunk-U3RFZUPB.mjs → chunk-LZ2KFVBV.mjs} +2 -2
  4. package/dist/{chunk-TZBKOYFM.mjs → chunk-RWA5G6NG.mjs} +1 -1
  5. package/dist/{chunk-TZBKOYFM.mjs.map → chunk-RWA5G6NG.mjs.map} +1 -1
  6. package/dist/{chunk-Z6YIR3MO.mjs → chunk-XEIQR6NA.mjs} +2 -2
  7. package/dist/formFields/index.mjs +3 -3
  8. package/dist/{game-BunlgBR3.d.mts → game-CC5mxG64.d.mts} +2 -0
  9. package/dist/{game-BkJDVMMI.d.ts → game-DhiKOr9_.d.ts} +2 -0
  10. package/dist/graphql/index.cjs +19 -0
  11. package/dist/graphql/index.cjs.map +1 -1
  12. package/dist/graphql/index.d.mts +8 -3
  13. package/dist/graphql/index.d.ts +8 -3
  14. package/dist/graphql/index.mjs +3 -1
  15. package/dist/hooks/index.cjs +11 -0
  16. package/dist/hooks/index.cjs.map +1 -1
  17. package/dist/hooks/index.d.mts +2 -2
  18. package/dist/hooks/index.d.ts +2 -2
  19. package/dist/hooks/index.mjs +4 -4
  20. package/dist/index.cjs +19 -0
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.mts +12 -1
  23. package/dist/index.d.ts +12 -1
  24. package/dist/index.mjs +18 -0
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/{post-B8c9JmOJ.d.ts → post-6SB9oo7r.d.ts} +6 -2
  27. package/dist/{post-DAYG3h_p.d.mts → post-B8Gk54ul.d.mts} +6 -2
  28. package/dist/types/index.cjs.map +1 -1
  29. package/dist/types/index.d.mts +2 -2
  30. package/dist/types/index.d.ts +2 -2
  31. package/dist/types/index.mjs +1 -1
  32. package/dist/utils/index.cjs.map +1 -1
  33. package/dist/utils/index.d.mts +1 -1
  34. package/dist/utils/index.d.ts +1 -1
  35. package/dist/utils/index.mjs +2 -2
  36. package/package.json +1 -1
  37. /package/dist/{chunk-U3RFZUPB.mjs.map → chunk-LZ2KFVBV.mjs.map} +0 -0
  38. /package/dist/{chunk-Z6YIR3MO.mjs.map → chunk-XEIQR6NA.mjs.map} +0 -0
@@ -2,8 +2,8 @@ import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
3
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CqrscA5x.mjs';
4
4
  import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-MMBYi34A.mjs';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolType } from '../post-DAYG3h_p.mjs';
6
- import { G as GameDocType, a as GameLeaderboard } from '../game-BunlgBR3.mjs';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolType } from '../post-B8Gk54ul.mjs';
6
+ import { G as GameDocType, a as GameLeaderboard } from '../game-CC5mxG64.mjs';
7
7
  import 'react-hook-form';
8
8
 
9
9
  declare const useAdminUpdateResourceType: () => {
@@ -1050,6 +1050,11 @@ declare const useDeleteSchool: () => {
1050
1050
  error: _apollo_client.ApolloError | undefined;
1051
1051
  loading: boolean;
1052
1052
  };
1053
+ declare const useRequestMarketingMaterial: () => {
1054
+ error: _apollo_client.ApolloError | undefined;
1055
+ loading: boolean;
1056
+ requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1057
+ };
1053
1058
 
1054
1059
  declare const useGetSchools: () => {
1055
1060
  error: _apollo_client.ApolloError | undefined;
@@ -1068,4 +1073,4 @@ declare const useGetSchool: (_id: string) => {
1068
1073
  school: SchoolType | null;
1069
1074
  };
1070
1075
 
1071
- export { type UseGetEventsByRegionOptions, 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, 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, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
1076
+ export { type UseGetEventsByRegionOptions, 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, 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, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -2,8 +2,8 @@ import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.js';
3
3
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-2FaGRW-i.js';
4
4
  import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-B0WdAD-8.js';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolType } from '../post-B8c9JmOJ.js';
6
- import { G as GameDocType, a as GameLeaderboard } from '../game-BkJDVMMI.js';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolType } from '../post-6SB9oo7r.js';
6
+ import { G as GameDocType, a as GameLeaderboard } from '../game-DhiKOr9_.js';
7
7
  import 'react-hook-form';
8
8
 
9
9
  declare const useAdminUpdateResourceType: () => {
@@ -1050,6 +1050,11 @@ declare const useDeleteSchool: () => {
1050
1050
  error: _apollo_client.ApolloError | undefined;
1051
1051
  loading: boolean;
1052
1052
  };
1053
+ declare const useRequestMarketingMaterial: () => {
1054
+ error: _apollo_client.ApolloError | undefined;
1055
+ loading: boolean;
1056
+ requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1057
+ };
1053
1058
 
1054
1059
  declare const useGetSchools: () => {
1055
1060
  error: _apollo_client.ApolloError | undefined;
@@ -1068,4 +1073,4 @@ declare const useGetSchool: (_id: string) => {
1068
1073
  school: SchoolType | null;
1069
1074
  };
1070
1075
 
1071
- export { type UseGetEventsByRegionOptions, 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, 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, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
1076
+ export { type UseGetEventsByRegionOptions, 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, 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, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -105,6 +105,7 @@ import {
105
105
  useRemoveUserInterestResource,
106
106
  useRemoveUserPresentResource,
107
107
  useReportChatUser,
108
+ useRequestMarketingMaterial,
108
109
  useRequestPasswordReset,
109
110
  useResetPassword,
110
111
  useSearchEvents,
@@ -131,7 +132,7 @@ import {
131
132
  useUpdateVendor,
132
133
  useUpdateVendorInfo,
133
134
  useValidateVerificationToken
134
- } from "../chunk-6FBQIZD5.mjs";
135
+ } from "../chunk-6ZSNB2Y7.mjs";
135
136
  import "../chunk-534WN2SR.mjs";
136
137
  export {
137
138
  useAddParticipantToChat,
@@ -240,6 +241,7 @@ export {
240
241
  useRemoveUserInterestResource,
241
242
  useRemoveUserPresentResource,
242
243
  useReportChatUser,
244
+ useRequestMarketingMaterial,
243
245
  useRequestPasswordReset,
244
246
  useResetPassword,
245
247
  useSearchEvents,
@@ -4090,6 +4090,7 @@ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
4090
4090
  `;
4091
4091
  var GAME_HISTORY_FIELDS_FRAGMENT = import_client55.gql`
4092
4092
  fragment GameHistoryFields on GameHistoryType {
4093
+ createdAt
4093
4094
  gameDate {
4094
4095
  ...GameDateFields
4095
4096
  }
@@ -4109,6 +4110,7 @@ var GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
4109
4110
  `;
4110
4111
  var GAME_FIELDS_FRAGMENT = import_client55.gql`
4111
4112
  fragment GameFields on GameType {
4113
+ _id
4112
4114
  active
4113
4115
  createdAt
4114
4116
  gameData {
@@ -4450,6 +4452,15 @@ var DELETE_SCHOOL_MUTATION = import_client68.gql`
4450
4452
  deleteSchool(_id: $_id)
4451
4453
  }
4452
4454
  `;
4455
+ var REQUEST_MARKETING_MATERIAL_MUTATION = import_client68.gql`
4456
+ mutation requestMarketingMaterial(
4457
+ $input: MarketingMaterialRequestInputType!
4458
+ ) {
4459
+ requestMarketingMaterial(input: $input) {
4460
+ message
4461
+ }
4462
+ }
4463
+ `;
4453
4464
 
4454
4465
  // src/graphql/hooks/school/hooksQuery.ts
4455
4466
  var import_client70 = require("@apollo/client");