@timardex/cluemart-shared 1.5.813 → 1.5.822

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 (88) hide show
  1. package/dist/{ad-0muFV6oH.d.ts → ad-BFGA6SrQ.d.ts} +4 -123
  2. package/dist/{ad-Dlk9SFLw.d.mts → ad-BRC6KNgv.d.mts} +4 -123
  3. package/dist/apollo/index.cjs +1362 -0
  4. package/dist/apollo/index.cjs.map +1 -0
  5. package/dist/apollo/index.d.mts +337 -0
  6. package/dist/apollo/index.d.ts +337 -0
  7. package/dist/apollo/index.mjs +1273 -0
  8. package/dist/apollo/index.mjs.map +1 -0
  9. package/dist/auth/index.cjs +1425 -0
  10. package/dist/auth/index.cjs.map +1 -0
  11. package/dist/auth/index.d.mts +119 -0
  12. package/dist/auth/index.d.ts +119 -0
  13. package/dist/auth/index.mjs +317 -0
  14. package/dist/auth/index.mjs.map +1 -0
  15. package/dist/{chunk-LETM2YHF.mjs → chunk-D33VEY7Q.mjs} +3 -1
  16. package/dist/chunk-D33VEY7Q.mjs.map +1 -0
  17. package/dist/chunk-DQ7ZHIXW.mjs +26 -0
  18. package/dist/chunk-DQ7ZHIXW.mjs.map +1 -0
  19. package/dist/{chunk-LKMJ75YV.mjs → chunk-EUOLQ7SS.mjs} +2 -2
  20. package/dist/{chunk-GJO7X2Y4.mjs → chunk-IREUJYMR.mjs} +3 -3
  21. package/dist/{chunk-POXARN2X.mjs → chunk-KMLUQVNM.mjs} +1 -24
  22. package/dist/chunk-KMLUQVNM.mjs.map +1 -0
  23. package/dist/chunk-MIDSLTUJ.mjs +1214 -0
  24. package/dist/chunk-MIDSLTUJ.mjs.map +1 -0
  25. package/dist/{chunk-DLPDX4EH.mjs → chunk-N7KENXCS.mjs} +10 -49
  26. package/dist/chunk-N7KENXCS.mjs.map +1 -0
  27. package/dist/chunk-RAYUJODN.mjs +45 -0
  28. package/dist/chunk-RAYUJODN.mjs.map +1 -0
  29. package/dist/{chunk-4TP57ZL7.mjs → chunk-UHDYJBIX.mjs} +2 -2
  30. package/dist/{chunk-4ICKZHQA.mjs → chunk-WZPKYUSX.mjs} +361 -2328
  31. package/dist/chunk-WZPKYUSX.mjs.map +1 -0
  32. package/dist/{contactUs-CiXFYse5.d.ts → contactUs-Bwxzw-cB.d.ts} +1 -1
  33. package/dist/{contactUs-HPydW6BR.d.mts → contactUs-b5SfvqmJ.d.mts} +1 -1
  34. package/dist/enums/index.cjs +2 -0
  35. package/dist/enums/index.cjs.map +1 -1
  36. package/dist/enums/index.d.mts +3 -1
  37. package/dist/enums/index.d.ts +3 -1
  38. package/dist/enums/index.mjs +1 -1
  39. package/dist/formFields/index.cjs.map +1 -1
  40. package/dist/formFields/index.d.mts +1 -1
  41. package/dist/formFields/index.d.ts +1 -1
  42. package/dist/formFields/index.mjs +7 -5
  43. package/dist/{global-Dq6A7pNV.d.mts → global-959zf6qy.d.mts} +1 -1
  44. package/dist/{global-B2jacmZB.d.ts → global-wVC9VaCx.d.ts} +1 -1
  45. package/dist/graphql/index.cjs +2 -844
  46. package/dist/graphql/index.cjs.map +1 -1
  47. package/dist/graphql/index.d.mts +4 -3
  48. package/dist/graphql/index.d.ts +4 -3
  49. package/dist/graphql/index.mjs +23 -21
  50. package/dist/hooks/index.cjs +5 -0
  51. package/dist/hooks/index.cjs.map +1 -1
  52. package/dist/hooks/index.d.mts +4 -3
  53. package/dist/hooks/index.d.ts +4 -3
  54. package/dist/hooks/index.mjs +15 -12
  55. package/dist/hooks/index.mjs.map +1 -1
  56. package/dist/index.cjs +4 -844
  57. package/dist/index.cjs.map +1 -1
  58. package/dist/index.d.mts +3 -1
  59. package/dist/index.d.ts +3 -1
  60. package/dist/index.mjs +3 -843
  61. package/dist/index.mjs.map +1 -1
  62. package/dist/map/index.d.mts +1 -1
  63. package/dist/map/index.d.ts +1 -1
  64. package/dist/{resourceActivities-DUR5JaaB.d.ts → resourceActivities-ChZcl5wJ.d.ts} +1 -1
  65. package/dist/{resourceActivities-BCZ6HU7U.d.mts → resourceActivities-ZPT9JlfH.d.mts} +1 -1
  66. package/dist/sharing/index.cjs.map +1 -1
  67. package/dist/sharing/index.d.mts +1 -1
  68. package/dist/sharing/index.d.ts +1 -1
  69. package/dist/sharing/index.mjs +3 -3
  70. package/dist/subscription-BU8GvH2K.d.ts +12 -0
  71. package/dist/subscription-bmAdrnfi.d.mts +12 -0
  72. package/dist/types/index.d.mts +9 -16
  73. package/dist/types/index.d.ts +9 -16
  74. package/dist/types/index.mjs +7 -5
  75. package/dist/user-CCN2IPDV.d.ts +124 -0
  76. package/dist/user-CadKvubI.d.mts +124 -0
  77. package/dist/utils/index.cjs.map +1 -1
  78. package/dist/utils/index.d.mts +1 -1
  79. package/dist/utils/index.d.ts +1 -1
  80. package/dist/utils/index.mjs +8 -5
  81. package/package.json +25 -9
  82. package/dist/chunk-4ICKZHQA.mjs.map +0 -1
  83. package/dist/chunk-DLPDX4EH.mjs.map +0 -1
  84. package/dist/chunk-LETM2YHF.mjs.map +0 -1
  85. package/dist/chunk-POXARN2X.mjs.map +0 -1
  86. /package/dist/{chunk-LKMJ75YV.mjs.map → chunk-EUOLQ7SS.mjs.map} +0 -0
  87. /package/dist/{chunk-GJO7X2Y4.mjs.map → chunk-IREUJYMR.mjs.map} +0 -0
  88. /package/dist/{chunk-4TP57ZL7.mjs.map → chunk-UHDYJBIX.mjs.map} +0 -0
@@ -1,9 +1,10 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.mjs';
4
- 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 AppSettingsType, g as SchoolReturnType, h as SchoolType, i as AffiliateType } from '../ad-Dlk9SFLw.mjs';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BCZ6HU7U.mjs';
6
- 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, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-Dq6A7pNV.mjs';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType, d as AffiliateType } from '../ad-BRC6KNgv.mjs';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-ZPT9JlfH.mjs';
6
+ 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, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-959zf6qy.mjs';
7
+ import { S as SafeUserType, R as RedeemRewardResponse, a as ResourceByUser, b as SubscriptionPlansResponse, c as SubscriptionStatusData } from '../user-CadKvubI.mjs';
7
8
  import '../images/index.mjs';
8
9
  import 'react-hook-form';
9
10
 
@@ -1,9 +1,10 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.js';
4
- 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 AppSettingsType, g as SchoolReturnType, h as SchoolType, i as AffiliateType } from '../ad-0muFV6oH.js';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DUR5JaaB.js';
6
- 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, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-B2jacmZB.js';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType, d as AffiliateType } from '../ad-BFGA6SrQ.js';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-ChZcl5wJ.js';
6
+ 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, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-wVC9VaCx.js';
7
+ import { S as SafeUserType, R as RedeemRewardResponse, a as ResourceByUser, b as SubscriptionPlansResponse, c as SubscriptionStatusData } from '../user-CCN2IPDV.js';
7
8
  import '../images/index.js';
8
9
  import 'react-hook-form';
9
10
 
@@ -1,15 +1,10 @@
1
1
  import {
2
- GET_EVENT,
3
2
  GET_EVENT_BY_SLUG,
4
- GET_EVENT_INFO,
5
- GET_PARTNER,
6
3
  GET_PARTNER_BY_SLUG,
7
4
  GET_POST,
8
5
  GET_POST_BY_SLUG,
9
6
  GET_RESOURCE_CONNECTIONS,
10
- GET_VENDOR,
11
7
  GET_VENDOR_BY_SLUG,
12
- GET_VENDOR_INFO,
13
8
  toGraphqlQueryString,
14
9
  useAddParticipantToChat,
15
10
  useAddUserFavouriteResource,
@@ -92,31 +87,20 @@ import {
92
87
  useGetUnregisteredVendor,
93
88
  useGetUnregisteredVendors,
94
89
  useGetUnregisteredVendorsByInviterId,
95
- useGetUser,
96
- useGetUserActivities,
97
90
  useGetUserChats,
98
- useGetUserEvents,
99
91
  useGetUserNotifications,
100
92
  useGetUserNotificationsSubscription,
101
- useGetUserPartners,
102
- useGetUserResources,
103
- useGetUserVendors,
104
- useGetUsers,
105
93
  useGetVendor,
106
94
  useGetVendorInfo,
107
95
  useGetVendorRelations,
108
96
  useGetVendors,
109
97
  useGetVendorsByRegion,
110
98
  useLeaveGame,
111
- useLogin,
112
- useLogout,
113
99
  useMarkAllNotificationsRead,
114
100
  useMarkChatMessagesSeen,
115
101
  useMarkNotificationRead,
116
102
  useRedeemAffiliateReward,
117
103
  useRedeemReward,
118
- useRefreshToken,
119
- useRegister,
120
104
  useRemoveParticipantFromChat,
121
105
  useRemoveUserFavouriteResource,
122
106
  useRemoveUserGoingResource,
@@ -124,8 +108,6 @@ import {
124
108
  useRemoveUserPresentResource,
125
109
  useReportChatUser,
126
110
  useRequestMarketingMaterial,
127
- useRequestPasswordReset,
128
- useResetPassword,
129
111
  useSearchEvents,
130
112
  useSearchPartners,
131
113
  useSearchVendors,
@@ -151,10 +133,30 @@ import {
151
133
  useUpdateUnregisteredVendor,
152
134
  useUpdateUser,
153
135
  useUpdateVendor,
154
- useUpdateVendorInfo,
136
+ useUpdateVendorInfo
137
+ } from "../chunk-WZPKYUSX.mjs";
138
+ import {
139
+ GET_EVENT,
140
+ GET_EVENT_INFO,
141
+ GET_PARTNER,
142
+ GET_VENDOR,
143
+ GET_VENDOR_INFO,
144
+ useGetUser,
145
+ useGetUserActivities,
146
+ useGetUserEvents,
147
+ useGetUserPartners,
148
+ useGetUserResources,
149
+ useGetUserVendors,
150
+ useGetUsers,
151
+ useLogin,
152
+ useLogout,
153
+ useRefreshToken,
154
+ useRegister,
155
+ useRequestPasswordReset,
156
+ useResetPassword,
155
157
  useValidateVerificationToken
156
- } from "../chunk-4ICKZHQA.mjs";
157
- import "../chunk-LETM2YHF.mjs";
158
+ } from "../chunk-MIDSLTUJ.mjs";
159
+ import "../chunk-D33VEY7Q.mjs";
158
160
  export {
159
161
  GET_EVENT,
160
162
  GET_EVENT_BY_SLUG,
@@ -257,11 +257,13 @@ var EnumUserLicence = /* @__PURE__ */ ((EnumUserLicence2) => {
257
257
  })(EnumUserLicence || {});
258
258
  var EnumUserRole = /* @__PURE__ */ ((EnumUserRole2) => {
259
259
  EnumUserRole2["ADMIN"] = "admin";
260
+ EnumUserRole2["SUPER_ADMIN"] = "super_admin";
260
261
  EnumUserRole2["CUSTOMER"] = "customer";
261
262
  EnumUserRole2["MARKETING"] = "marketing";
262
263
  EnumUserRole2["MODERATOR"] = "moderator";
263
264
  EnumUserRole2["SUPPORT"] = "support";
264
265
  EnumUserRole2["AFFILIATE"] = "affiliate";
266
+ EnumUserRole2["SCHOOL"] = "school";
265
267
  return EnumUserRole2;
266
268
  })(EnumUserRole || {});
267
269
  var EnumSocialMedia = /* @__PURE__ */ ((EnumSocialMedia2) => {
@@ -3661,6 +3663,9 @@ var GET_RESOURCE_CONNECTIONS = import_client9.gql`
3661
3663
  ${EVENT_LIST_ITEM}
3662
3664
  `;
3663
3665
 
3666
+ // src/graphql/toGraphqlQueryString.ts
3667
+ var import_graphql = require("graphql");
3668
+
3664
3669
  // src/graphql/hooks/admin/hooksMutation.ts
3665
3670
  var import_client11 = require("@apollo/client");
3666
3671