@timardex/cluemart-shared 1.7.2 → 1.7.22

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 (50) hide show
  1. package/dist/{ad-BUYzE6zx.d.ts → ad-CymCnonn.d.ts} +2 -2
  2. package/dist/{ad-BhLoEul3.d.mts → ad-gG7dtuiz.d.mts} +2 -2
  3. package/dist/{affiliate-C51nzKsw.d.ts → affiliate-DG3_DD2H.d.ts} +2 -2
  4. package/dist/{affiliate-BbtjeUP4.d.mts → affiliate-Jl2pcZir.d.mts} +2 -2
  5. package/dist/auth/index.cjs +11 -0
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +3 -3
  8. package/dist/auth/index.d.ts +3 -3
  9. package/dist/auth/index.mjs +1 -1
  10. package/dist/{chunk-447EYKHL.mjs → chunk-2QB6MIL2.mjs} +211 -185
  11. package/dist/chunk-2QB6MIL2.mjs.map +1 -0
  12. package/dist/{chunk-32MKHJTX.mjs → chunk-Y3YFLYN4.mjs} +13 -1
  13. package/dist/{chunk-32MKHJTX.mjs.map → chunk-Y3YFLYN4.mjs.map} +1 -1
  14. package/dist/{contactUs--NoohZBu.d.ts → contactUs-BeNfBBa7.d.ts} +1 -1
  15. package/dist/{contactUs-CBWzefUS.d.mts → contactUs-cNkd9ABw.d.mts} +1 -1
  16. package/dist/formFields/index.d.mts +1 -1
  17. package/dist/formFields/index.d.ts +1 -1
  18. package/dist/{global-DePDtOFt.d.mts → global-BpLC_fXT.d.mts} +11 -2
  19. package/dist/{global-CUYYxpy2.d.ts → global-SikTKast.d.ts} +11 -2
  20. package/dist/graphql/index.cjs +316 -275
  21. package/dist/graphql/index.cjs.map +1 -1
  22. package/dist/graphql/index.d.mts +26 -6
  23. package/dist/graphql/index.d.ts +26 -6
  24. package/dist/graphql/index.mjs +10 -2
  25. package/dist/hooks/index.cjs +238 -219
  26. package/dist/hooks/index.cjs.map +1 -1
  27. package/dist/hooks/index.d.mts +5 -5
  28. package/dist/hooks/index.d.ts +5 -5
  29. package/dist/hooks/index.mjs +4 -4
  30. package/dist/hooks/index.mjs.map +1 -1
  31. package/dist/index.cjs +316 -275
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.d.mts +31 -2
  34. package/dist/index.d.ts +31 -2
  35. package/dist/index.mjs +242 -205
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/map/index.d.mts +1 -1
  38. package/dist/map/index.d.ts +1 -1
  39. package/dist/{resourceActivities-CwbJFGIp.d.mts → resourceActivities-ByK4C9fM.d.mts} +1 -1
  40. package/dist/{resourceActivities-CMUcn2P7.d.ts → resourceActivities-DNQWKaWE.d.ts} +1 -1
  41. package/dist/sharing/index.d.mts +1 -1
  42. package/dist/sharing/index.d.ts +1 -1
  43. package/dist/types/index.d.mts +7 -7
  44. package/dist/types/index.d.ts +7 -7
  45. package/dist/{user-D47MLFyH.d.ts → user-BliyCOpV.d.ts} +1 -1
  46. package/dist/{user-DE8edl3u.d.mts → user-C7S6HmEd.d.mts} +1 -1
  47. package/dist/utils/index.d.mts +3 -3
  48. package/dist/utils/index.d.ts +3 -3
  49. package/package.json +1 -1
  50. package/dist/chunk-447EYKHL.mjs.map +0 -1
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/graphql/index.ts
21
21
  var graphql_exports = {};
22
22
  __export(graphql_exports, {
23
+ ACTIVATE_VENDOR_CLAIM_MUTATION: () => ACTIVATE_VENDOR_CLAIM_MUTATION,
23
24
  GET_EVENT: () => GET_EVENT,
24
25
  GET_EVENT_BY_SLUG: () => GET_EVENT_BY_SLUG,
25
26
  GET_EVENT_INFO: () => GET_EVENT_INFO,
@@ -31,7 +32,9 @@ __export(graphql_exports, {
31
32
  GET_VENDOR: () => GET_VENDOR,
32
33
  GET_VENDOR_BY_SLUG: () => GET_VENDOR_BY_SLUG,
33
34
  GET_VENDOR_INFO: () => GET_VENDOR_INFO,
35
+ MY_PENDING_VENDOR_CLAIM: () => MY_PENDING_VENDOR_CLAIM,
34
36
  toGraphqlQueryString: () => toGraphqlQueryString,
37
+ useActivateVendorClaim: () => useActivateVendorClaim,
35
38
  useAddParticipantToChat: () => useAddParticipantToChat,
36
39
  useAddUserFavouriteResource: () => useAddUserFavouriteResource,
37
40
  useAddUserGoingResource: () => useAddUserGoingResource,
@@ -137,6 +140,7 @@ __export(graphql_exports, {
137
140
  useMarkAllNotificationsRead: () => useMarkAllNotificationsRead,
138
141
  useMarkChatMessagesSeen: () => useMarkChatMessagesSeen,
139
142
  useMarkNotificationRead: () => useMarkNotificationRead,
143
+ useMyPendingVendorClaim: () => useMyPendingVendorClaim,
140
144
  useRedeemAffiliateReward: () => useRedeemAffiliateReward,
141
145
  useRedeemReward: () => useRedeemReward,
142
146
  useRefreshToken: () => useRefreshToken,
@@ -868,6 +872,8 @@ var UNREGISTERED_VENDOR = import_client3.gql`
868
872
  active
869
873
  categoryIds
870
874
  claimed
875
+ claimedAt
876
+ claimedByUserId
871
877
  createdAt
872
878
  deletedAt
873
879
  email
@@ -947,10 +953,123 @@ var GET_UNREGISTERED_VENDOR = import_client3.gql`
947
953
  }
948
954
  ${UNREGISTERED_VENDOR}
949
955
  `;
956
+ var MY_PENDING_VENDOR_CLAIM = import_client3.gql`
957
+ query myPendingVendorClaim {
958
+ myPendingVendorClaim {
959
+ _id
960
+ name
961
+ region
962
+ }
963
+ }
964
+ `;
950
965
 
951
- // src/graphql/queries/partner.ts
966
+ // src/graphql/mutations/vendor.ts
952
967
  var import_client4 = require("@apollo/client");
953
- var PARTNER = import_client4.gql`
968
+ var CREATE_VENDOR_MUTATION = import_client4.gql`
969
+ mutation createVendor($input: VendorInputType!) {
970
+ createVendor(input: $input) {
971
+ data {
972
+ ...VendorFields
973
+ }
974
+ message
975
+ }
976
+ }
977
+ ${VENDOR}
978
+ `;
979
+ var UPDATE_VENDOR_MUTATION = import_client4.gql`
980
+ mutation updateVendor($_id: ID!, $input: VendorInputType!) {
981
+ updateVendor(_id: $_id, input: $input) {
982
+ data {
983
+ ...VendorFields
984
+ }
985
+ message
986
+ }
987
+ }
988
+ ${VENDOR}
989
+ `;
990
+ var DELETE_VENDOR_MUTATION = import_client4.gql`
991
+ mutation deleteVendor($_id: ID!) {
992
+ deleteVendor(_id: $_id) {
993
+ data
994
+ message
995
+ }
996
+ }
997
+ `;
998
+ var CREATE_VENDOR_INFO_MUTATION = import_client4.gql`
999
+ mutation createVendorInfo($input: VendorInfoInputType!) {
1000
+ createVendorInfo(input: $input) {
1001
+ data {
1002
+ ...VendorInfoFields
1003
+ }
1004
+ message
1005
+ }
1006
+ }
1007
+ ${VENDOR_INFO}
1008
+ `;
1009
+ var UPDATE_VENDOR_INFO_MUTATION = import_client4.gql`
1010
+ mutation updateVendorInfo($_id: ID!, $input: VendorInfoInputType!) {
1011
+ updateVendorInfo(_id: $_id, input: $input) {
1012
+ data {
1013
+ ...VendorInfoFields
1014
+ }
1015
+ message
1016
+ }
1017
+ }
1018
+ ${VENDOR_INFO}
1019
+ `;
1020
+ var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client4.gql`
1021
+ mutation createUnregisteredVendor($input: UnregisteredVendorInputType!) {
1022
+ createUnregisteredVendor(input: $input) {
1023
+ data {
1024
+ ...UnregisteredVendorFields
1025
+ }
1026
+ message
1027
+ }
1028
+ }
1029
+ ${UNREGISTERED_VENDOR}
1030
+ `;
1031
+ var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client4.gql`
1032
+ mutation updateUnregisteredVendor(
1033
+ $_id: ID!
1034
+ $input: UnregisteredVendorInputType!
1035
+ ) {
1036
+ updateUnregisteredVendor(_id: $_id, input: $input) {
1037
+ data {
1038
+ ...UnregisteredVendorFields
1039
+ }
1040
+ message
1041
+ }
1042
+ }
1043
+ ${UNREGISTERED_VENDOR}
1044
+ `;
1045
+ var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client4.gql`
1046
+ mutation deleteUnregisteredVendor($_id: ID!) {
1047
+ deleteUnregisteredVendor(_id: $_id) {
1048
+ data
1049
+ message
1050
+ }
1051
+ }
1052
+ `;
1053
+ var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client4.gql`
1054
+ mutation unlinkUnregisteredVendorByInviterId($_id: ID!, $inviterId: ID!) {
1055
+ unlinkUnregisteredVendorByInviterId(_id: $_id, inviterId: $inviterId) {
1056
+ data
1057
+ message
1058
+ }
1059
+ }
1060
+ `;
1061
+ var ACTIVATE_VENDOR_CLAIM_MUTATION = import_client4.gql`
1062
+ mutation activateVendorClaim($token: String!) {
1063
+ activateVendorClaim(token: $token) {
1064
+ valid
1065
+ vendorName
1066
+ }
1067
+ }
1068
+ `;
1069
+
1070
+ // src/graphql/queries/partner.ts
1071
+ var import_client5 = require("@apollo/client");
1072
+ var PARTNER = import_client5.gql`
954
1073
  fragment PartnerFields on PartnerType {
955
1074
  _id
956
1075
  active
@@ -1011,7 +1130,7 @@ var PARTNER = import_client4.gql`
1011
1130
  ${RELATED_POST_FIELDS_FRAGMENT}
1012
1131
  ${SOCIAL_SHARE_RESOURCE_FIELDS_FRAGMENT}
1013
1132
  `;
1014
- var GET_PARTNERS = import_client4.gql`
1133
+ var GET_PARTNERS = import_client5.gql`
1015
1134
  query getPartners {
1016
1135
  partners {
1017
1136
  ...PartnerFields
@@ -1019,7 +1138,7 @@ var GET_PARTNERS = import_client4.gql`
1019
1138
  }
1020
1139
  ${PARTNER}
1021
1140
  `;
1022
- var GET_PARTNER = import_client4.gql`
1141
+ var GET_PARTNER = import_client5.gql`
1023
1142
  query getPartner($_id: ID!) {
1024
1143
  partner(_id: $_id) {
1025
1144
  ...PartnerFields
@@ -1027,7 +1146,7 @@ var GET_PARTNER = import_client4.gql`
1027
1146
  }
1028
1147
  ${PARTNER}
1029
1148
  `;
1030
- var GET_PARTNERS_BY_REGION = import_client4.gql`
1149
+ var GET_PARTNERS_BY_REGION = import_client5.gql`
1031
1150
  query getPartnersByRegion(
1032
1151
  $region: String!
1033
1152
  $options: ResourcesByRegionOptions
@@ -1038,7 +1157,7 @@ var GET_PARTNERS_BY_REGION = import_client4.gql`
1038
1157
  }
1039
1158
  ${PARTNER}
1040
1159
  `;
1041
- var SEARCH_PARTNERS = import_client4.gql`
1160
+ var SEARCH_PARTNERS = import_client5.gql`
1042
1161
  query searchPartners($search: String!, $region: String!) {
1043
1162
  partnersSearch(search: $search, region: $region) {
1044
1163
  ...PartnerFields
@@ -1048,17 +1167,17 @@ var SEARCH_PARTNERS = import_client4.gql`
1048
1167
  `;
1049
1168
 
1050
1169
  // src/graphql/queries/post.ts
1051
- var import_client7 = require("@apollo/client");
1170
+ var import_client8 = require("@apollo/client");
1052
1171
 
1053
1172
  // src/graphql/queries/game/dailyClue.ts
1054
- var import_client5 = require("@apollo/client");
1055
- var GAME_DATE_FIELDS_FRAGMENT = import_client5.gql`
1173
+ var import_client6 = require("@apollo/client");
1174
+ var GAME_DATE_FIELDS_FRAGMENT = import_client6.gql`
1056
1175
  fragment GameDateFields on GameDateType {
1057
1176
  startDate
1058
1177
  endDate
1059
1178
  }
1060
1179
  `;
1061
- var DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT = import_client5.gql`
1180
+ var DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT = import_client6.gql`
1062
1181
  fragment DailyClueBaseGameFields on DailyClueBaseGameType {
1063
1182
  gameDate {
1064
1183
  ...GameDateFields
@@ -1067,7 +1186,7 @@ var DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT = import_client5.gql`
1067
1186
  }
1068
1187
  ${GAME_DATE_FIELDS_FRAGMENT}
1069
1188
  `;
1070
- var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client5.gql`
1189
+ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client6.gql`
1071
1190
  fragment DailyClueGameDataFields on DailyClueGameDataType {
1072
1191
  gameFields {
1073
1192
  ...DailyClueBaseGameFields
@@ -1087,15 +1206,15 @@ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client5.gql`
1087
1206
  `;
1088
1207
 
1089
1208
  // src/graphql/queries/game/puzzleGame.ts
1090
- var import_client6 = require("@apollo/client");
1091
- var PUZZLE_ANSWER_FIELDS_FRAGMENT = import_client6.gql`
1209
+ var import_client7 = require("@apollo/client");
1210
+ var PUZZLE_ANSWER_FIELDS_FRAGMENT = import_client7.gql`
1092
1211
  fragment PuzzleAnswerFields on PuzzleAnswerType {
1093
1212
  answer
1094
1213
  answerId
1095
1214
  correct
1096
1215
  }
1097
1216
  `;
1098
- var PUZZLE_QUESTION_FIELDS_FRAGMENT = import_client6.gql`
1217
+ var PUZZLE_QUESTION_FIELDS_FRAGMENT = import_client7.gql`
1099
1218
  fragment PuzzleQuestionFields on PuzzleQuestionType {
1100
1219
  answers {
1101
1220
  ...PuzzleAnswerFields
@@ -1105,13 +1224,13 @@ var PUZZLE_QUESTION_FIELDS_FRAGMENT = import_client6.gql`
1105
1224
  }
1106
1225
  ${PUZZLE_ANSWER_FIELDS_FRAGMENT}
1107
1226
  `;
1108
- var PUZZLE_ANSWERED_QUESTION_FIELDS_FRAGMENT = import_client6.gql`
1227
+ var PUZZLE_ANSWERED_QUESTION_FIELDS_FRAGMENT = import_client7.gql`
1109
1228
  fragment PuzzleAnsweredQuestionFields on PuzzleAnsweredQuestionType {
1110
1229
  questionId
1111
1230
  selectedAnswerId
1112
1231
  }
1113
1232
  `;
1114
- var PUZZLE_BASE_GAME_FIELDS_FRAGMENT = import_client6.gql`
1233
+ var PUZZLE_BASE_GAME_FIELDS_FRAGMENT = import_client7.gql`
1115
1234
  fragment PuzzleBaseGameFields on PuzzleBaseGameType {
1116
1235
  questions {
1117
1236
  ...PuzzleQuestionFields
@@ -1119,7 +1238,7 @@ var PUZZLE_BASE_GAME_FIELDS_FRAGMENT = import_client6.gql`
1119
1238
  }
1120
1239
  ${PUZZLE_QUESTION_FIELDS_FRAGMENT}
1121
1240
  `;
1122
- var PUZZLE_GAME_DATA_FIELDS_FRAGMENT = import_client6.gql`
1241
+ var PUZZLE_GAME_DATA_FIELDS_FRAGMENT = import_client7.gql`
1123
1242
  fragment PuzzleGameDataFields on PuzzleGameDataType {
1124
1243
  gameFields {
1125
1244
  ...PuzzleBaseGameFields
@@ -1135,7 +1254,7 @@ var PUZZLE_GAME_DATA_FIELDS_FRAGMENT = import_client6.gql`
1135
1254
  `;
1136
1255
 
1137
1256
  // src/graphql/queries/post.ts
1138
- var BASE_GAME_FIELDS_FRAGMENT = import_client7.gql`
1257
+ var BASE_GAME_FIELDS_FRAGMENT = import_client8.gql`
1139
1258
  fragment BaseGameFields on BaseGameType {
1140
1259
  gameTypeId
1141
1260
  gameTitle
@@ -1153,7 +1272,7 @@ var BASE_GAME_FIELDS_FRAGMENT = import_client7.gql`
1153
1272
  ${DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT}
1154
1273
  ${PUZZLE_BASE_GAME_FIELDS_FRAGMENT}
1155
1274
  `;
1156
- var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client7.gql`
1275
+ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client8.gql`
1157
1276
  fragment PostContentDataFields on PostContentData {
1158
1277
  game {
1159
1278
  ...BaseGameFields
@@ -1179,7 +1298,7 @@ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client7.gql`
1179
1298
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
1180
1299
  ${BASE_GAME_FIELDS_FRAGMENT}
1181
1300
  `;
1182
- var POST_CONTENT_FIELDS_FRAGMENT = import_client7.gql`
1301
+ var POST_CONTENT_FIELDS_FRAGMENT = import_client8.gql`
1183
1302
  fragment PostContentFields on PostContentType {
1184
1303
  contentData {
1185
1304
  ...PostContentDataFields
@@ -1189,7 +1308,7 @@ var POST_CONTENT_FIELDS_FRAGMENT = import_client7.gql`
1189
1308
  }
1190
1309
  ${POST_CONTENT_DATA_FIELDS_FRAGMENT}
1191
1310
  `;
1192
- var POST_RESOURCE_FIELDS_FRAGMENT = import_client7.gql`
1311
+ var POST_RESOURCE_FIELDS_FRAGMENT = import_client8.gql`
1193
1312
  fragment PostResourceFields on PostResourceType {
1194
1313
  resourceId
1195
1314
  resourceSlug
@@ -1197,7 +1316,7 @@ var POST_RESOURCE_FIELDS_FRAGMENT = import_client7.gql`
1197
1316
  resourceType
1198
1317
  }
1199
1318
  `;
1200
- var POST_FIELDS_FRAGMENT = import_client7.gql`
1319
+ var POST_FIELDS_FRAGMENT = import_client8.gql`
1201
1320
  fragment PostFields on PostType {
1202
1321
  _id
1203
1322
  active
@@ -1228,7 +1347,7 @@ var POST_FIELDS_FRAGMENT = import_client7.gql`
1228
1347
  ${POST_RESOURCE_FIELDS_FRAGMENT}
1229
1348
  ${SOCIAL_SHARE_RESOURCE_FIELDS_FRAGMENT}
1230
1349
  `;
1231
- var GET_POSTS = import_client7.gql`
1350
+ var GET_POSTS = import_client8.gql`
1232
1351
  query getPosts {
1233
1352
  posts {
1234
1353
  ...PostFields
@@ -1236,7 +1355,7 @@ var GET_POSTS = import_client7.gql`
1236
1355
  }
1237
1356
  ${POST_FIELDS_FRAGMENT}
1238
1357
  `;
1239
- var GET_POST = import_client7.gql`
1358
+ var GET_POST = import_client8.gql`
1240
1359
  query getPost($_id: ID!) {
1241
1360
  post(_id: $_id) {
1242
1361
  ...PostFields
@@ -1244,7 +1363,7 @@ var GET_POST = import_client7.gql`
1244
1363
  }
1245
1364
  ${POST_FIELDS_FRAGMENT}
1246
1365
  `;
1247
- var GET_POSTS_BY_TYPE = import_client7.gql`
1366
+ var GET_POSTS_BY_TYPE = import_client8.gql`
1248
1367
  query getPostsByType($postType: PostTypeEnum!) {
1249
1368
  postsByType(postType: $postType) {
1250
1369
  ...PostFields
@@ -1254,29 +1373,29 @@ var GET_POSTS_BY_TYPE = import_client7.gql`
1254
1373
  `;
1255
1374
 
1256
1375
  // src/graphql/queries/shareSlug.ts
1257
- var import_client8 = require("@apollo/client");
1258
- var GET_EVENT_BY_SLUG = import_client8.gql`
1376
+ var import_client9 = require("@apollo/client");
1377
+ var GET_EVENT_BY_SLUG = import_client9.gql`
1259
1378
  query getEventBySlug($slug: String!) {
1260
1379
  eventBySlug(slug: $slug) {
1261
1380
  _id
1262
1381
  }
1263
1382
  }
1264
1383
  `;
1265
- var GET_VENDOR_BY_SLUG = import_client8.gql`
1384
+ var GET_VENDOR_BY_SLUG = import_client9.gql`
1266
1385
  query getVendorBySlug($slug: String!) {
1267
1386
  vendorBySlug(slug: $slug) {
1268
1387
  _id
1269
1388
  }
1270
1389
  }
1271
1390
  `;
1272
- var GET_PARTNER_BY_SLUG = import_client8.gql`
1391
+ var GET_PARTNER_BY_SLUG = import_client9.gql`
1273
1392
  query getPartnerBySlug($slug: String!) {
1274
1393
  partnerBySlug(slug: $slug) {
1275
1394
  _id
1276
1395
  }
1277
1396
  }
1278
1397
  `;
1279
- var GET_POST_BY_SLUG = import_client8.gql`
1398
+ var GET_POST_BY_SLUG = import_client9.gql`
1280
1399
  query getPostBySlug($slug: String!, $postType: PostTypeEnum!) {
1281
1400
  postBySlug(slug: $slug, postType: $postType) {
1282
1401
  _id
@@ -1285,8 +1404,8 @@ var GET_POST_BY_SLUG = import_client8.gql`
1285
1404
  `;
1286
1405
 
1287
1406
  // src/graphql/queries/relation.ts
1288
- var import_client9 = require("@apollo/client");
1289
- var RELATION_FIELDS_FRAGMENT = import_client9.gql`
1407
+ var import_client10 = require("@apollo/client");
1408
+ var RELATION_FIELDS_FRAGMENT = import_client10.gql`
1290
1409
  fragment RelationFields on RelationType {
1291
1410
  _id
1292
1411
  active
@@ -1303,7 +1422,7 @@ var RELATION_FIELDS_FRAGMENT = import_client9.gql`
1303
1422
  }
1304
1423
  ${RELATION_DATES_FRAGMENT}
1305
1424
  `;
1306
- var GET_RELATION = import_client9.gql`
1425
+ var GET_RELATION = import_client10.gql`
1307
1426
  query getRelation($_id: ID!) {
1308
1427
  relation(_id: $_id) {
1309
1428
  ...RelationFields
@@ -1311,7 +1430,7 @@ var GET_RELATION = import_client9.gql`
1311
1430
  }
1312
1431
  ${RELATION_FIELDS_FRAGMENT}
1313
1432
  `;
1314
- var GET_RELATION_BY_EVENT_AND_VENDOR = import_client9.gql`
1433
+ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client10.gql`
1315
1434
  query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
1316
1435
  relationByEventAndVendor(eventId: $eventId, vendorId: $vendorId) {
1317
1436
  ...RelationFields
@@ -1319,7 +1438,7 @@ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client9.gql`
1319
1438
  }
1320
1439
  ${RELATION_FIELDS_FRAGMENT}
1321
1440
  `;
1322
- var GET_EVENT_RELATIONS = import_client9.gql`
1441
+ var GET_EVENT_RELATIONS = import_client10.gql`
1323
1442
  query getEventRelations($eventId: ID!) {
1324
1443
  eventRelations(eventId: $eventId) {
1325
1444
  ...RelationFields
@@ -1327,7 +1446,7 @@ var GET_EVENT_RELATIONS = import_client9.gql`
1327
1446
  }
1328
1447
  ${RELATION_FIELDS_FRAGMENT}
1329
1448
  `;
1330
- var GET_VENDOR_RELATIONS = import_client9.gql`
1449
+ var GET_VENDOR_RELATIONS = import_client10.gql`
1331
1450
  query getVendorRelations($vendorId: ID!) {
1332
1451
  vendorRelations(vendorId: $vendorId) {
1333
1452
  ...RelationFields
@@ -1335,7 +1454,7 @@ var GET_VENDOR_RELATIONS = import_client9.gql`
1335
1454
  }
1336
1455
  ${RELATION_FIELDS_FRAGMENT}
1337
1456
  `;
1338
- var GET_RESOURCE_CONNECTIONS = import_client9.gql`
1457
+ var GET_RESOURCE_CONNECTIONS = import_client10.gql`
1339
1458
  query getResourceConnections(
1340
1459
  $resourceId: ID!
1341
1460
  $resourceType: ResourceTypeEnum!
@@ -1360,11 +1479,11 @@ function toGraphqlQueryString(query) {
1360
1479
  }
1361
1480
 
1362
1481
  // src/graphql/hooks/admin/hooksMutation.ts
1363
- var import_client11 = require("@apollo/client");
1482
+ var import_client12 = require("@apollo/client");
1364
1483
 
1365
1484
  // src/graphql/mutations/admin.ts
1366
- var import_client10 = require("@apollo/client");
1367
- var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client10.gql`
1485
+ var import_client11 = require("@apollo/client");
1486
+ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client11.gql`
1368
1487
  mutation adminUpdateResourceType($input: AdminUpdateResourceInputType!) {
1369
1488
  adminUpdateResourceType(input: $input) {
1370
1489
  data {
@@ -1376,7 +1495,7 @@ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client10.gql`
1376
1495
  }
1377
1496
  }
1378
1497
  `;
1379
- var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client10.gql`
1498
+ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client11.gql`
1380
1499
  mutation adminResendUserVerificationEmail($userId: ID!) {
1381
1500
  adminResendUserVerificationEmail(userId: $userId) {
1382
1501
  data
@@ -1384,7 +1503,7 @@ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client10.gql`
1384
1503
  }
1385
1504
  }
1386
1505
  `;
1387
- var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client10.gql`
1506
+ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client11.gql`
1388
1507
  mutation adminPermanentlyDeleteResource(
1389
1508
  $resourceId: ID!
1390
1509
  $resourceType: ResourceTypeEnum!
@@ -1401,7 +1520,7 @@ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client10.gql`
1401
1520
 
1402
1521
  // src/graphql/hooks/admin/hooksMutation.ts
1403
1522
  var useAdminUpdateResourceType = () => {
1404
- const [adminUpdateResourceType, { loading, error }] = (0, import_client11.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
1523
+ const [adminUpdateResourceType, { loading, error }] = (0, import_client12.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
1405
1524
  awaitRefetchQueries: true,
1406
1525
  refetchQueries: (mutationResult) => {
1407
1526
  const adminUpdateResourceType2 = mutationResult?.data?.adminUpdateResourceType?.data;
@@ -1424,7 +1543,7 @@ var useAdminUpdateResourceType = () => {
1424
1543
  };
1425
1544
  };
1426
1545
  var useAdminResendUserVerificationEmail = () => {
1427
- const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client11.useMutation)(ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION);
1546
+ const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client12.useMutation)(ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION);
1428
1547
  return {
1429
1548
  adminResendUserVerificationEmail,
1430
1549
  error,
@@ -1432,7 +1551,7 @@ var useAdminResendUserVerificationEmail = () => {
1432
1551
  };
1433
1552
  };
1434
1553
  var useAdminPermanentlyDeleteResource = () => {
1435
- const [adminPermanentlyDeleteResource, { loading, error }] = (0, import_client11.useMutation)(ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION);
1554
+ const [adminPermanentlyDeleteResource, { loading, error }] = (0, import_client12.useMutation)(ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION);
1436
1555
  return {
1437
1556
  adminPermanentlyDeleteResource,
1438
1557
  error,
@@ -1441,11 +1560,11 @@ var useAdminPermanentlyDeleteResource = () => {
1441
1560
  };
1442
1561
 
1443
1562
  // src/graphql/hooks/auth.ts
1444
- var import_client13 = require("@apollo/client");
1563
+ var import_client14 = require("@apollo/client");
1445
1564
 
1446
1565
  // src/graphql/mutations/auth.ts
1447
- var import_client12 = require("@apollo/client");
1448
- var REGISTER_MUTATION = import_client12.gql`
1566
+ var import_client13 = require("@apollo/client");
1567
+ var REGISTER_MUTATION = import_client13.gql`
1449
1568
  mutation register($input: RegisterInputType!) {
1450
1569
  register(input: $input) {
1451
1570
  data {
@@ -1460,7 +1579,7 @@ var REGISTER_MUTATION = import_client12.gql`
1460
1579
  }
1461
1580
  ${USER_FIELDS_FRAGMENT}
1462
1581
  `;
1463
- var LOGIN_MUTATION = import_client12.gql`
1582
+ var LOGIN_MUTATION = import_client13.gql`
1464
1583
  mutation login($input: LoginInputType!) {
1465
1584
  login(input: $input) {
1466
1585
  data {
@@ -1475,7 +1594,7 @@ var LOGIN_MUTATION = import_client12.gql`
1475
1594
  }
1476
1595
  ${USER_FIELDS_FRAGMENT}
1477
1596
  `;
1478
- var LOGOUT_MUTATION = import_client12.gql`
1597
+ var LOGOUT_MUTATION = import_client13.gql`
1479
1598
  mutation logout {
1480
1599
  logout {
1481
1600
  data
@@ -1483,7 +1602,7 @@ var LOGOUT_MUTATION = import_client12.gql`
1483
1602
  }
1484
1603
  }
1485
1604
  `;
1486
- var REFRESH_TOKEN_MUTATION = import_client12.gql`
1605
+ var REFRESH_TOKEN_MUTATION = import_client13.gql`
1487
1606
  mutation refreshToken($input: RefreshTokenInputType!) {
1488
1607
  refreshToken(input: $input) {
1489
1608
  data {
@@ -1494,7 +1613,7 @@ var REFRESH_TOKEN_MUTATION = import_client12.gql`
1494
1613
  }
1495
1614
  }
1496
1615
  `;
1497
- var RESET_PASSWORD_MUTATION = import_client12.gql`
1616
+ var RESET_PASSWORD_MUTATION = import_client13.gql`
1498
1617
  mutation resetPassword($input: ResetPasswordInputType!) {
1499
1618
  resetPassword(input: $input) {
1500
1619
  data
@@ -1502,7 +1621,7 @@ var RESET_PASSWORD_MUTATION = import_client12.gql`
1502
1621
  }
1503
1622
  }
1504
1623
  `;
1505
- var REQUEST_PASSWORD_RESET_MUTATION = import_client12.gql`
1624
+ var REQUEST_PASSWORD_RESET_MUTATION = import_client13.gql`
1506
1625
  mutation requestPasswordReset($input: RequestPasswordResetInputType!) {
1507
1626
  requestPasswordReset(input: $input) {
1508
1627
  data
@@ -1510,7 +1629,7 @@ var REQUEST_PASSWORD_RESET_MUTATION = import_client12.gql`
1510
1629
  }
1511
1630
  }
1512
1631
  `;
1513
- var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client12.gql`
1632
+ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client13.gql`
1514
1633
  mutation validateVerificationToken(
1515
1634
  $input: ValidateVerificationTokenInputType!
1516
1635
  ) {
@@ -1523,43 +1642,43 @@ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client12.gql`
1523
1642
 
1524
1643
  // src/graphql/hooks/auth.ts
1525
1644
  var useRegister = () => {
1526
- const [register, { loading, error }] = (0, import_client13.useMutation)(REGISTER_MUTATION);
1645
+ const [register, { loading, error }] = (0, import_client14.useMutation)(REGISTER_MUTATION);
1527
1646
  return { error, loading, register };
1528
1647
  };
1529
1648
  var useLogin = () => {
1530
- const [login, { loading, error }] = (0, import_client13.useMutation)(LOGIN_MUTATION);
1649
+ const [login, { loading, error }] = (0, import_client14.useMutation)(LOGIN_MUTATION);
1531
1650
  return { error, loading, login };
1532
1651
  };
1533
1652
  var useLogout = () => {
1534
- const [logout, { loading, error }] = (0, import_client13.useMutation)(LOGOUT_MUTATION);
1653
+ const [logout, { loading, error }] = (0, import_client14.useMutation)(LOGOUT_MUTATION);
1535
1654
  return { error, loading, logout };
1536
1655
  };
1537
1656
  var useRefreshToken = () => {
1538
- const [refreshToken, { loading, error }] = (0, import_client13.useMutation)(REFRESH_TOKEN_MUTATION);
1657
+ const [refreshToken, { loading, error }] = (0, import_client14.useMutation)(REFRESH_TOKEN_MUTATION);
1539
1658
  return { error, loading, refreshToken };
1540
1659
  };
1541
1660
  var useRequestPasswordReset = () => {
1542
- const [requestPasswordReset, { loading, error }] = (0, import_client13.useMutation)(REQUEST_PASSWORD_RESET_MUTATION);
1661
+ const [requestPasswordReset, { loading, error }] = (0, import_client14.useMutation)(REQUEST_PASSWORD_RESET_MUTATION);
1543
1662
  return { error, loading, requestPasswordReset };
1544
1663
  };
1545
1664
  var useValidateVerificationToken = () => {
1546
- const [validateVerificationToken, { loading, error }] = (0, import_client13.useMutation)(VALIDATE_VERIFICATION_TOKEN_MUTATION);
1665
+ const [validateVerificationToken, { loading, error }] = (0, import_client14.useMutation)(VALIDATE_VERIFICATION_TOKEN_MUTATION);
1547
1666
  return { error, loading, validateVerificationToken };
1548
1667
  };
1549
1668
  var useResetPassword = () => {
1550
- const [resetPassword, { loading, error }] = (0, import_client13.useMutation)(RESET_PASSWORD_MUTATION);
1669
+ const [resetPassword, { loading, error }] = (0, import_client14.useMutation)(RESET_PASSWORD_MUTATION);
1551
1670
  return { error, loading, resetPassword };
1552
1671
  };
1553
1672
 
1554
1673
  // src/graphql/hooks/chat/hooksMutation.ts
1555
- var import_client16 = require("@apollo/client");
1674
+ var import_client17 = require("@apollo/client");
1556
1675
 
1557
1676
  // src/graphql/mutations/chat.ts
1558
- var import_client15 = require("@apollo/client");
1677
+ var import_client16 = require("@apollo/client");
1559
1678
 
1560
1679
  // src/graphql/queries/chat.ts
1561
- var import_client14 = require("@apollo/client");
1562
- var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client14.gql`
1680
+ var import_client15 = require("@apollo/client");
1681
+ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client15.gql`
1563
1682
  fragment ChatMessageFields on ChatMessageType {
1564
1683
  _id
1565
1684
  content
@@ -1582,7 +1701,7 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client14.gql`
1582
1701
  updatedAt
1583
1702
  }
1584
1703
  `;
1585
- var CHAT_PARTICIPANT = import_client14.gql`
1704
+ var CHAT_PARTICIPANT = import_client15.gql`
1586
1705
  fragment ChatParticipantFields on ChatParticipantType {
1587
1706
  active
1588
1707
  userAvatar
@@ -1591,7 +1710,7 @@ var CHAT_PARTICIPANT = import_client14.gql`
1591
1710
  userName
1592
1711
  }
1593
1712
  `;
1594
- var CHAT_FIELDS_FRAGMENT = import_client14.gql`
1713
+ var CHAT_FIELDS_FRAGMENT = import_client15.gql`
1595
1714
  fragment ChatFields on ChatType {
1596
1715
  _id
1597
1716
  active
@@ -1612,7 +1731,7 @@ var CHAT_FIELDS_FRAGMENT = import_client14.gql`
1612
1731
  ${CHAT_MESSAGE_FIELDS_FRAGMENT}
1613
1732
  ${CHAT_PARTICIPANT}
1614
1733
  `;
1615
- var CHAT = import_client14.gql`
1734
+ var CHAT = import_client15.gql`
1616
1735
  query chat($_id: ID!) {
1617
1736
  chat(_id: $_id) {
1618
1737
  ...ChatFields
@@ -1620,7 +1739,7 @@ var CHAT = import_client14.gql`
1620
1739
  }
1621
1740
  ${CHAT_FIELDS_FRAGMENT}
1622
1741
  `;
1623
- var PRIVATE_CHATS = import_client14.gql`
1742
+ var PRIVATE_CHATS = import_client15.gql`
1624
1743
  query privateChats {
1625
1744
  privateChats {
1626
1745
  ...ChatFields
@@ -1628,7 +1747,7 @@ var PRIVATE_CHATS = import_client14.gql`
1628
1747
  }
1629
1748
  ${CHAT_FIELDS_FRAGMENT}
1630
1749
  `;
1631
- var RELATION_CHATS = import_client14.gql`
1750
+ var RELATION_CHATS = import_client15.gql`
1632
1751
  query relationChats {
1633
1752
  relationChats {
1634
1753
  ...ChatFields
@@ -1636,7 +1755,7 @@ var RELATION_CHATS = import_client14.gql`
1636
1755
  }
1637
1756
  ${CHAT_FIELDS_FRAGMENT}
1638
1757
  `;
1639
- var GET_CHATS_BY_REGION = import_client14.gql`
1758
+ var GET_CHATS_BY_REGION = import_client15.gql`
1640
1759
  query getChatsByRegion($region: String!) {
1641
1760
  chatsByRegion(region: $region) {
1642
1761
  ...ChatFields
@@ -1644,7 +1763,7 @@ var GET_CHATS_BY_REGION = import_client14.gql`
1644
1763
  }
1645
1764
  ${CHAT_FIELDS_FRAGMENT}
1646
1765
  `;
1647
- var CHAT_REPORT_FIELDS_FRAGMENT = import_client14.gql`
1766
+ var CHAT_REPORT_FIELDS_FRAGMENT = import_client15.gql`
1648
1767
  fragment ChatReportFields on ReportChatUserType {
1649
1768
  _id
1650
1769
  chatId
@@ -1659,7 +1778,7 @@ var CHAT_REPORT_FIELDS_FRAGMENT = import_client14.gql`
1659
1778
  updatedAt
1660
1779
  }
1661
1780
  `;
1662
- var GET_REPORTED_CHAT_USERS = import_client14.gql`
1781
+ var GET_REPORTED_CHAT_USERS = import_client15.gql`
1663
1782
  query getReportedChatUsers {
1664
1783
  reportedChatUsers {
1665
1784
  ...ChatReportFields
@@ -1669,7 +1788,7 @@ var GET_REPORTED_CHAT_USERS = import_client14.gql`
1669
1788
  `;
1670
1789
 
1671
1790
  // src/graphql/mutations/chat.ts
1672
- var CREATE_PRIVATE_CHAT_MUTATION = import_client15.gql`
1791
+ var CREATE_PRIVATE_CHAT_MUTATION = import_client16.gql`
1673
1792
  mutation createPrivateChat($userId: ID!) {
1674
1793
  createPrivateChat(userId: $userId) {
1675
1794
  data {
@@ -1680,7 +1799,7 @@ var CREATE_PRIVATE_CHAT_MUTATION = import_client15.gql`
1680
1799
  }
1681
1800
  ${CHAT_FIELDS_FRAGMENT}
1682
1801
  `;
1683
- var SEND_CHAT_MESSAGE_MUTATION = import_client15.gql`
1802
+ var SEND_CHAT_MESSAGE_MUTATION = import_client16.gql`
1684
1803
  mutation sendChatMessage($_id: ID!, $input: ChatMessageInputType!) {
1685
1804
  sendChatMessage(_id: $_id, input: $input) {
1686
1805
  data {
@@ -1691,7 +1810,7 @@ var SEND_CHAT_MESSAGE_MUTATION = import_client15.gql`
1691
1810
  }
1692
1811
  ${CHAT_FIELDS_FRAGMENT}
1693
1812
  `;
1694
- var DELETE_CHAT_MUTATION = import_client15.gql`
1813
+ var DELETE_CHAT_MUTATION = import_client16.gql`
1695
1814
  mutation deleteChat($_id: ID!) {
1696
1815
  deleteChat(_id: $_id) {
1697
1816
  data
@@ -1699,7 +1818,7 @@ var DELETE_CHAT_MUTATION = import_client15.gql`
1699
1818
  }
1700
1819
  }
1701
1820
  `;
1702
- var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client15.gql`
1821
+ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client16.gql`
1703
1822
  mutation addParticipantToChat($chatId: ID!, $userId: ID!) {
1704
1823
  addParticipantToChat(chatId: $chatId, userId: $userId) {
1705
1824
  data {
@@ -1710,7 +1829,7 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client15.gql`
1710
1829
  }
1711
1830
  ${CHAT_FIELDS_FRAGMENT}
1712
1831
  `;
1713
- var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client15.gql`
1832
+ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client16.gql`
1714
1833
  mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
1715
1834
  removeParticipantFromChat(chatId: $chatId, userId: $userId) {
1716
1835
  data {
@@ -1721,7 +1840,7 @@ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client15.gql`
1721
1840
  }
1722
1841
  }
1723
1842
  `;
1724
- var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client15.gql`
1843
+ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client16.gql`
1725
1844
  mutation toggleChatMessageLike($chatId: ID!, $messageId: ID!) {
1726
1845
  toggleChatMessageLike(chatId: $chatId, messageId: $messageId) {
1727
1846
  data {
@@ -1732,7 +1851,7 @@ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client15.gql`
1732
1851
  }
1733
1852
  ${CHAT_FIELDS_FRAGMENT}
1734
1853
  `;
1735
- var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client15.gql`
1854
+ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client16.gql`
1736
1855
  mutation markChatMessagesSeen($chatId: ID!, $messageIds: [ID!]!) {
1737
1856
  markChatMessagesSeen(chatId: $chatId, messageIds: $messageIds) {
1738
1857
  data {
@@ -1743,7 +1862,7 @@ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client15.gql`
1743
1862
  }
1744
1863
  ${CHAT_FIELDS_FRAGMENT}
1745
1864
  `;
1746
- var REPORT_CHAT_USER_MUTATION = import_client15.gql`
1865
+ var REPORT_CHAT_USER_MUTATION = import_client16.gql`
1747
1866
  mutation reportChatUser($input: ReportChatUserInputType!) {
1748
1867
  reportChatUser(input: $input) {
1749
1868
  data {
@@ -1757,14 +1876,14 @@ var REPORT_CHAT_USER_MUTATION = import_client15.gql`
1757
1876
 
1758
1877
  // src/graphql/hooks/chat/hooksMutation.ts
1759
1878
  var useCreatePrivateChat = () => {
1760
- const [createPrivateChat, { loading, error }] = (0, import_client16.useMutation)(CREATE_PRIVATE_CHAT_MUTATION, {
1879
+ const [createPrivateChat, { loading, error }] = (0, import_client17.useMutation)(CREATE_PRIVATE_CHAT_MUTATION, {
1761
1880
  awaitRefetchQueries: true,
1762
1881
  refetchQueries: [{ query: PRIVATE_CHATS }]
1763
1882
  });
1764
1883
  return { createPrivateChat, error, loading };
1765
1884
  };
1766
1885
  var useSendChatMessage = () => {
1767
- const [sendChatMessage, { loading, error }] = (0, import_client16.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
1886
+ const [sendChatMessage, { loading, error }] = (0, import_client17.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
1768
1887
  awaitRefetchQueries: true,
1769
1888
  refetchQueries: (mutationResult) => {
1770
1889
  const chatId = mutationResult?.data?.sendChatMessage?.data?._id;
@@ -1779,14 +1898,14 @@ var useSendChatMessage = () => {
1779
1898
  return { error, loading, sendChatMessage };
1780
1899
  };
1781
1900
  var useDeleteChat = () => {
1782
- const [deleteChat, { loading, error }] = (0, import_client16.useMutation)(DELETE_CHAT_MUTATION, {
1901
+ const [deleteChat, { loading, error }] = (0, import_client17.useMutation)(DELETE_CHAT_MUTATION, {
1783
1902
  awaitRefetchQueries: true,
1784
1903
  refetchQueries: [{ query: PRIVATE_CHATS }, { query: RELATION_CHATS }]
1785
1904
  });
1786
1905
  return { deleteChat, error, loading };
1787
1906
  };
1788
1907
  var useAddParticipantToChat = () => {
1789
- const [addParticipantToChat, { loading, error }] = (0, import_client16.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
1908
+ const [addParticipantToChat, { loading, error }] = (0, import_client17.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
1790
1909
  awaitRefetchQueries: true,
1791
1910
  refetchQueries: (mutationResult) => {
1792
1911
  const chatId = mutationResult?.data?.addParticipantToChat?.data?._id;
@@ -1807,7 +1926,7 @@ var useAddParticipantToChat = () => {
1807
1926
  return { addParticipantToChat, error, loading };
1808
1927
  };
1809
1928
  var useRemoveParticipantFromChat = () => {
1810
- const [removeParticipantFromChat, { loading, error }] = (0, import_client16.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
1929
+ const [removeParticipantFromChat, { loading, error }] = (0, import_client17.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
1811
1930
  awaitRefetchQueries: true,
1812
1931
  refetchQueries: (mutationResult) => {
1813
1932
  const region = mutationResult?.data?.removeParticipantFromChat?.data?.region;
@@ -1827,7 +1946,7 @@ var useRemoveParticipantFromChat = () => {
1827
1946
  return { error, loading, removeParticipantFromChat };
1828
1947
  };
1829
1948
  var useToggleChatMessageLike = () => {
1830
- const [toggleChatMessageLike, { loading, error }] = (0, import_client16.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
1949
+ const [toggleChatMessageLike, { loading, error }] = (0, import_client17.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
1831
1950
  awaitRefetchQueries: true,
1832
1951
  refetchQueries: (mutationResult) => {
1833
1952
  const chatId = mutationResult?.data?.toggleChatMessageLike?.data?._id;
@@ -1842,7 +1961,7 @@ var useToggleChatMessageLike = () => {
1842
1961
  return { error, loading, toggleChatMessageLike };
1843
1962
  };
1844
1963
  var useMarkChatMessagesSeen = () => {
1845
- const [markChatMessagesSeen, { loading, error }] = (0, import_client16.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
1964
+ const [markChatMessagesSeen, { loading, error }] = (0, import_client17.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
1846
1965
  awaitRefetchQueries: true,
1847
1966
  refetchQueries: (mutationResult) => {
1848
1967
  const chatId = mutationResult?.data?.markChatMessagesSeen?.data?._id;
@@ -1857,16 +1976,16 @@ var useMarkChatMessagesSeen = () => {
1857
1976
  return { error, loading, markChatMessagesSeen };
1858
1977
  };
1859
1978
  var useReportChatUser = () => {
1860
- const [reportChatUser, { loading, error }] = (0, import_client16.useMutation)(REPORT_CHAT_USER_MUTATION);
1979
+ const [reportChatUser, { loading, error }] = (0, import_client17.useMutation)(REPORT_CHAT_USER_MUTATION);
1861
1980
  return { error, loading, reportChatUser };
1862
1981
  };
1863
1982
 
1864
1983
  // src/graphql/hooks/chat/hooksQuery.ts
1865
- var import_client18 = require("@apollo/client");
1984
+ var import_client19 = require("@apollo/client");
1866
1985
 
1867
1986
  // src/graphql/subscriptions/chat.ts
1868
- var import_client17 = require("@apollo/client");
1869
- var GET_CHAT_MESSAGE = import_client17.gql`
1987
+ var import_client18 = require("@apollo/client");
1988
+ var GET_CHAT_MESSAGE = import_client18.gql`
1870
1989
  subscription {
1871
1990
  getChatMessage {
1872
1991
  ...ChatFields
@@ -1877,7 +1996,7 @@ var GET_CHAT_MESSAGE = import_client17.gql`
1877
1996
 
1878
1997
  // src/graphql/hooks/chat/hooksQuery.ts
1879
1998
  var useGetChat = (_id) => {
1880
- const { loading, error, data, refetch } = (0, import_client18.useQuery)(CHAT, {
1999
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(CHAT, {
1881
2000
  fetchPolicy: "network-only",
1882
2001
  skip: !_id || _id === "",
1883
2002
  variables: { _id }
@@ -1886,28 +2005,28 @@ var useGetChat = (_id) => {
1886
2005
  return { chat, error, loading, refetch };
1887
2006
  };
1888
2007
  var useGetPrivateChats = () => {
1889
- const { loading, error, data, refetch } = (0, import_client18.useQuery)(PRIVATE_CHATS, {
2008
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(PRIVATE_CHATS, {
1890
2009
  fetchPolicy: "network-only"
1891
2010
  });
1892
2011
  const privateChats = data?.privateChats || [];
1893
2012
  return { error, loading, privateChats, refetch };
1894
2013
  };
1895
2014
  var useGetRelationChats = () => {
1896
- const { loading, error, data, refetch } = (0, import_client18.useQuery)(RELATION_CHATS, {
2015
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(RELATION_CHATS, {
1897
2016
  fetchPolicy: "network-only"
1898
2017
  });
1899
2018
  const relationChats = data?.relationChats || [];
1900
2019
  return { error, loading, refetch, relationChats };
1901
2020
  };
1902
2021
  var useGetChatSubscription = () => {
1903
- const { data, loading, error } = (0, import_client18.useSubscription)(
2022
+ const { data, loading, error } = (0, import_client19.useSubscription)(
1904
2023
  GET_CHAT_MESSAGE
1905
2024
  );
1906
2025
  const chat = data?.getChat;
1907
2026
  return { chat, error, loading };
1908
2027
  };
1909
2028
  var useGetChatsByRegion = (region) => {
1910
- const { loading, error, data, refetch } = (0, import_client18.useQuery)(GET_CHATS_BY_REGION, {
2029
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_CHATS_BY_REGION, {
1911
2030
  fetchPolicy: "network-only",
1912
2031
  variables: { region }
1913
2032
  });
@@ -1915,7 +2034,7 @@ var useGetChatsByRegion = (region) => {
1915
2034
  return { chatsByRegion, error, loading, refetch };
1916
2035
  };
1917
2036
  var useGetReportedChatUsers = () => {
1918
- const { loading, error, data, refetch } = (0, import_client18.useQuery)(GET_REPORTED_CHAT_USERS, {
2037
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_REPORTED_CHAT_USERS, {
1919
2038
  fetchPolicy: "network-only"
1920
2039
  });
1921
2040
  const reportedChatUsers = data?.reportedChatUsers || [];
@@ -1923,11 +2042,11 @@ var useGetReportedChatUsers = () => {
1923
2042
  };
1924
2043
 
1925
2044
  // src/graphql/hooks/contactUs.ts
1926
- var import_client20 = require("@apollo/client");
2045
+ var import_client21 = require("@apollo/client");
1927
2046
 
1928
2047
  // src/graphql/mutations/contactUs.ts
1929
- var import_client19 = require("@apollo/client");
1930
- var CONTACT_US_MUTATION = import_client19.gql`
2048
+ var import_client20 = require("@apollo/client");
2049
+ var CONTACT_US_MUTATION = import_client20.gql`
1931
2050
  mutation contactUs($input: ContactUsInputType!) {
1932
2051
  contactUs(input: $input) {
1933
2052
  data
@@ -1938,16 +2057,16 @@ var CONTACT_US_MUTATION = import_client19.gql`
1938
2057
 
1939
2058
  // src/graphql/hooks/contactUs.ts
1940
2059
  var useContactUs = () => {
1941
- const [contactUs, { loading, error }] = (0, import_client20.useMutation)(CONTACT_US_MUTATION);
2060
+ const [contactUs, { loading, error }] = (0, import_client21.useMutation)(CONTACT_US_MUTATION);
1942
2061
  return { contactUs, error, loading };
1943
2062
  };
1944
2063
 
1945
2064
  // src/graphql/hooks/event/hooksMutation.ts
1946
- var import_client23 = require("@apollo/client");
2065
+ var import_client24 = require("@apollo/client");
1947
2066
 
1948
2067
  // src/graphql/mutations/event.ts
1949
- var import_client21 = require("@apollo/client");
1950
- var CREATE_EVENT_MUTATION = import_client21.gql`
2068
+ var import_client22 = require("@apollo/client");
2069
+ var CREATE_EVENT_MUTATION = import_client22.gql`
1951
2070
  mutation createEvent($input: EventInputType!) {
1952
2071
  createEvent(input: $input) {
1953
2072
  data {
@@ -1958,7 +2077,7 @@ var CREATE_EVENT_MUTATION = import_client21.gql`
1958
2077
  }
1959
2078
  ${EVENT}
1960
2079
  `;
1961
- var UPDATE_EVENT_MUTATION = import_client21.gql`
2080
+ var UPDATE_EVENT_MUTATION = import_client22.gql`
1962
2081
  mutation updateEvent($_id: ID!, $input: EventInputType!) {
1963
2082
  updateEvent(_id: $_id, input: $input) {
1964
2083
  data {
@@ -1969,7 +2088,7 @@ var UPDATE_EVENT_MUTATION = import_client21.gql`
1969
2088
  }
1970
2089
  ${EVENT}
1971
2090
  `;
1972
- var DELETE_EVENT_MUTATION = import_client21.gql`
2091
+ var DELETE_EVENT_MUTATION = import_client22.gql`
1973
2092
  mutation deleteEvent($_id: ID!) {
1974
2093
  deleteEvent(_id: $_id) {
1975
2094
  data
@@ -1977,7 +2096,7 @@ var DELETE_EVENT_MUTATION = import_client21.gql`
1977
2096
  }
1978
2097
  }
1979
2098
  `;
1980
- var CREATE_EVENT_INFO_MUTATION = import_client21.gql`
2099
+ var CREATE_EVENT_INFO_MUTATION = import_client22.gql`
1981
2100
  mutation createEventInfo($input: EventInfoInputType!) {
1982
2101
  createEventInfo(input: $input) {
1983
2102
  data {
@@ -1988,7 +2107,7 @@ var CREATE_EVENT_INFO_MUTATION = import_client21.gql`
1988
2107
  }
1989
2108
  ${EVENT_INFO}
1990
2109
  `;
1991
- var UPDATE_EVENT_INFO_MUTATION = import_client21.gql`
2110
+ var UPDATE_EVENT_INFO_MUTATION = import_client22.gql`
1992
2111
  mutation updateEventInfo($_id: ID!, $input: EventInfoInputType!) {
1993
2112
  updateEventInfo(_id: $_id, input: $input) {
1994
2113
  data {
@@ -2001,8 +2120,8 @@ var UPDATE_EVENT_INFO_MUTATION = import_client21.gql`
2001
2120
  `;
2002
2121
 
2003
2122
  // src/graphql/queries/user.ts
2004
- var import_client22 = require("@apollo/client");
2005
- var GET_USERS = import_client22.gql`
2123
+ var import_client23 = require("@apollo/client");
2124
+ var GET_USERS = import_client23.gql`
2006
2125
  query getUsers {
2007
2126
  users {
2008
2127
  ...UserFields
@@ -2010,7 +2129,7 @@ var GET_USERS = import_client22.gql`
2010
2129
  }
2011
2130
  ${USER_FIELDS_FRAGMENT}
2012
2131
  `;
2013
- var GET_USER = import_client22.gql`
2132
+ var GET_USER = import_client23.gql`
2014
2133
  query getUser($_id: ID!) {
2015
2134
  user(_id: $_id) {
2016
2135
  ...UserFields
@@ -2018,7 +2137,7 @@ var GET_USER = import_client22.gql`
2018
2137
  }
2019
2138
  ${USER_FIELDS_FRAGMENT}
2020
2139
  `;
2021
- var GET_USER_EVENTS = import_client22.gql`
2140
+ var GET_USER_EVENTS = import_client23.gql`
2022
2141
  query getUserEvents {
2023
2142
  userEvents {
2024
2143
  ...EventFields
@@ -2026,7 +2145,7 @@ var GET_USER_EVENTS = import_client22.gql`
2026
2145
  }
2027
2146
  ${EVENT}
2028
2147
  `;
2029
- var GET_USER_VENDORS = import_client22.gql`
2148
+ var GET_USER_VENDORS = import_client23.gql`
2030
2149
  query getUserVendors {
2031
2150
  userVendors {
2032
2151
  ...VendorFields
@@ -2034,7 +2153,7 @@ var GET_USER_VENDORS = import_client22.gql`
2034
2153
  }
2035
2154
  ${VENDOR}
2036
2155
  `;
2037
- var GET_USER_PARTNERS = import_client22.gql`
2156
+ var GET_USER_PARTNERS = import_client23.gql`
2038
2157
  query getUserPartners {
2039
2158
  userPartners {
2040
2159
  ...PartnerFields
@@ -2042,7 +2161,7 @@ var GET_USER_PARTNERS = import_client22.gql`
2042
2161
  }
2043
2162
  ${PARTNER}
2044
2163
  `;
2045
- var GET_USER_ACTIVITIES = import_client22.gql`
2164
+ var GET_USER_ACTIVITIES = import_client23.gql`
2046
2165
  query getUserActivities {
2047
2166
  userActivities {
2048
2167
  favourites {
@@ -2077,7 +2196,7 @@ var GET_USER_ACTIVITIES = import_client22.gql`
2077
2196
  ${VENDOR}
2078
2197
  ${PARTNER}
2079
2198
  `;
2080
- var GET_USER_RESOURCES = import_client22.gql`
2199
+ var GET_USER_RESOURCES = import_client23.gql`
2081
2200
  query getUserResources($userId: ID!) {
2082
2201
  userResources(userId: $userId) {
2083
2202
  resources {
@@ -2092,14 +2211,14 @@ var GET_USER_RESOURCES = import_client22.gql`
2092
2211
 
2093
2212
  // src/graphql/hooks/event/hooksMutation.ts
2094
2213
  var useCreateEvent = () => {
2095
- const [createEvent, { loading, error }] = (0, import_client23.useMutation)(CREATE_EVENT_MUTATION, {
2214
+ const [createEvent, { loading, error }] = (0, import_client24.useMutation)(CREATE_EVENT_MUTATION, {
2096
2215
  awaitRefetchQueries: true,
2097
2216
  refetchQueries: [{ query: GET_USER_EVENTS }]
2098
2217
  });
2099
2218
  return { createEvent, error, loading };
2100
2219
  };
2101
2220
  var useUpdateEvent = () => {
2102
- const [updateEvent, { loading, error }] = (0, import_client23.useMutation)(UPDATE_EVENT_MUTATION, {
2221
+ const [updateEvent, { loading, error }] = (0, import_client24.useMutation)(UPDATE_EVENT_MUTATION, {
2103
2222
  awaitRefetchQueries: true,
2104
2223
  refetchQueries: (mutationResult) => {
2105
2224
  const eventId = mutationResult?.data?.updateEvent?.data?._id;
@@ -2122,14 +2241,14 @@ var useUpdateEvent = () => {
2122
2241
  return { error, loading, updateEvent };
2123
2242
  };
2124
2243
  var useDeleteEvent = () => {
2125
- const [deleteEvent, { loading, error }] = (0, import_client23.useMutation)(DELETE_EVENT_MUTATION, {
2244
+ const [deleteEvent, { loading, error }] = (0, import_client24.useMutation)(DELETE_EVENT_MUTATION, {
2126
2245
  awaitRefetchQueries: true,
2127
2246
  refetchQueries: [{ query: GET_USER_EVENTS }]
2128
2247
  });
2129
2248
  return { deleteEvent, error, loading };
2130
2249
  };
2131
2250
  var useCreateEventInfo = () => {
2132
- const [createEventInfo, { loading, error }] = (0, import_client23.useMutation)(CREATE_EVENT_INFO_MUTATION, {
2251
+ const [createEventInfo, { loading, error }] = (0, import_client24.useMutation)(CREATE_EVENT_INFO_MUTATION, {
2133
2252
  awaitRefetchQueries: true,
2134
2253
  refetchQueries: (mutationResult) => {
2135
2254
  const eventId = mutationResult?.data?.createEventInfo?.data?.eventId;
@@ -2153,7 +2272,7 @@ var useCreateEventInfo = () => {
2153
2272
  return { createEventInfo, error, loading };
2154
2273
  };
2155
2274
  var useUpdateEventInfo = () => {
2156
- const [updateEventInfo, { loading, error }] = (0, import_client23.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
2275
+ const [updateEventInfo, { loading, error }] = (0, import_client24.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
2157
2276
  awaitRefetchQueries: true,
2158
2277
  refetchQueries: (mutationResult) => {
2159
2278
  const eventId = mutationResult?.data?.updateEventInfo?.data?.eventId;
@@ -2177,9 +2296,9 @@ var useUpdateEventInfo = () => {
2177
2296
  };
2178
2297
 
2179
2298
  // src/graphql/hooks/event/hooksQuery.ts
2180
- var import_client24 = require("@apollo/client");
2299
+ var import_client25 = require("@apollo/client");
2181
2300
  var useGetEvents = (dateStatus) => {
2182
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENTS, {
2301
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_EVENTS, {
2183
2302
  fetchPolicy: "network-only",
2184
2303
  variables: { dateStatus }
2185
2304
  });
@@ -2187,7 +2306,7 @@ var useGetEvents = (dateStatus) => {
2187
2306
  return { error, events, loading, refetch };
2188
2307
  };
2189
2308
  var useGetEvent = (_id) => {
2190
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT, {
2309
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_EVENT, {
2191
2310
  fetchPolicy: "network-only",
2192
2311
  skip: !_id,
2193
2312
  variables: { _id }
@@ -2196,7 +2315,7 @@ var useGetEvent = (_id) => {
2196
2315
  return { error, event, loading, refetch };
2197
2316
  };
2198
2317
  var useGetEventByPlaceId = (googlePlaceId) => {
2199
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT_BY_PLACE_ID, {
2318
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_EVENT_BY_PLACE_ID, {
2200
2319
  fetchPolicy: "network-only",
2201
2320
  skip: !googlePlaceId,
2202
2321
  variables: { googlePlaceId }
@@ -2210,7 +2329,7 @@ var useGetEventsByRegion = (region, options, dateStatus) => {
2210
2329
  options,
2211
2330
  region
2212
2331
  };
2213
- const { loading, error, data, refetch, fetchMore } = (0, import_client24.useQuery)(GET_EVENTS_BY_REGION, {
2332
+ const { loading, error, data, refetch, fetchMore } = (0, import_client25.useQuery)(GET_EVENTS_BY_REGION, {
2214
2333
  fetchPolicy: "network-only",
2215
2334
  skip: !region || region === "",
2216
2335
  variables
@@ -2228,7 +2347,7 @@ var useSearchEvents = (region, searchQuery, tags, dateStatus) => {
2228
2347
  const normalizedSearch = searchQuery?.trim() ?? "";
2229
2348
  const normalizedTags = (tags ?? []).filter(Boolean);
2230
2349
  const shouldRunQuery = normalizedSearch.length > 3 || normalizedTags.length > 0;
2231
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(SEARCH_EVENTS, {
2350
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(SEARCH_EVENTS, {
2232
2351
  fetchPolicy: "network-only",
2233
2352
  skip: !shouldRunQuery,
2234
2353
  variables: {
@@ -2246,7 +2365,7 @@ var useSearchEvents = (region, searchQuery, tags, dateStatus) => {
2246
2365
  };
2247
2366
  };
2248
2367
  var useGetEventsNearMe = (location, dateStatus) => {
2249
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENTS_NEAR_ME, {
2368
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_EVENTS_NEAR_ME, {
2250
2369
  fetchPolicy: "network-only",
2251
2370
  skip: !location.latitude || !location.longitude,
2252
2371
  variables: {
@@ -2261,7 +2380,7 @@ var useGetEventsNearMe = (location, dateStatus) => {
2261
2380
  return { error, eventsNearMe, loading, refetch };
2262
2381
  };
2263
2382
  var useGetEventInfo = (eventId) => {
2264
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT_INFO, {
2383
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_EVENT_INFO, {
2265
2384
  fetchPolicy: "network-only",
2266
2385
  skip: !eventId || eventId === "",
2267
2386
  variables: { eventId }
@@ -2271,14 +2390,14 @@ var useGetEventInfo = (eventId) => {
2271
2390
  };
2272
2391
 
2273
2392
  // src/graphql/hooks/notifications/hooksMutation.ts
2274
- var import_client27 = require("@apollo/client");
2393
+ var import_client28 = require("@apollo/client");
2275
2394
 
2276
2395
  // src/graphql/mutations/notification.ts
2277
- var import_client26 = require("@apollo/client");
2396
+ var import_client27 = require("@apollo/client");
2278
2397
 
2279
2398
  // src/graphql/queries/notification.ts
2280
- var import_client25 = require("@apollo/client");
2281
- var NOTIFICATION_FRAGMENT = import_client25.gql`
2399
+ var import_client26 = require("@apollo/client");
2400
+ var NOTIFICATION_FRAGMENT = import_client26.gql`
2282
2401
  fragment NotificationFields on Notification {
2283
2402
  _id
2284
2403
  userId
@@ -2295,7 +2414,7 @@ var NOTIFICATION_FRAGMENT = import_client25.gql`
2295
2414
  updatedAt
2296
2415
  }
2297
2416
  `;
2298
- var GET_USER_NOTIFICATIONS = import_client25.gql`
2417
+ var GET_USER_NOTIFICATIONS = import_client26.gql`
2299
2418
  query getUserNotifications($limit: Int, $offset: Int) {
2300
2419
  userNotifications(limit: $limit, offset: $offset) {
2301
2420
  ...NotificationFields
@@ -2303,7 +2422,7 @@ var GET_USER_NOTIFICATIONS = import_client25.gql`
2303
2422
  }
2304
2423
  ${NOTIFICATION_FRAGMENT}
2305
2424
  `;
2306
- var GET_NOTIFICATION_COUNT = import_client25.gql`
2425
+ var GET_NOTIFICATION_COUNT = import_client26.gql`
2307
2426
  query getNotificationCount {
2308
2427
  notificationCount {
2309
2428
  total
@@ -2313,7 +2432,7 @@ var GET_NOTIFICATION_COUNT = import_client25.gql`
2313
2432
  `;
2314
2433
 
2315
2434
  // src/graphql/mutations/notification.ts
2316
- var CREATE_BULK_NOTIFICATIONS = import_client26.gql`
2435
+ var CREATE_BULK_NOTIFICATIONS = import_client27.gql`
2317
2436
  mutation createBulkNotifications($input: CreateBulkNotificationInput!) {
2318
2437
  createBulkNotifications(input: $input) {
2319
2438
  data
@@ -2321,7 +2440,7 @@ var CREATE_BULK_NOTIFICATIONS = import_client26.gql`
2321
2440
  }
2322
2441
  }
2323
2442
  `;
2324
- var MARK_NOTIFICATION_READ = import_client26.gql`
2443
+ var MARK_NOTIFICATION_READ = import_client27.gql`
2325
2444
  mutation markNotificationRead($_id: ID!) {
2326
2445
  markNotificationRead(_id: $_id) {
2327
2446
  data {
@@ -2332,7 +2451,7 @@ var MARK_NOTIFICATION_READ = import_client26.gql`
2332
2451
  }
2333
2452
  ${NOTIFICATION_FRAGMENT}
2334
2453
  `;
2335
- var MARK_ALL_NOTIFICATIONS_READ = import_client26.gql`
2454
+ var MARK_ALL_NOTIFICATIONS_READ = import_client27.gql`
2336
2455
  mutation markAllNotificationsRead {
2337
2456
  markAllNotificationsRead {
2338
2457
  data
@@ -2340,7 +2459,7 @@ var MARK_ALL_NOTIFICATIONS_READ = import_client26.gql`
2340
2459
  }
2341
2460
  }
2342
2461
  `;
2343
- var DELETE_NOTIFICATION = import_client26.gql`
2462
+ var DELETE_NOTIFICATION = import_client27.gql`
2344
2463
  mutation deleteNotification($_id: ID!) {
2345
2464
  deleteNotification(_id: $_id) {
2346
2465
  data
@@ -2348,7 +2467,7 @@ var DELETE_NOTIFICATION = import_client26.gql`
2348
2467
  }
2349
2468
  }
2350
2469
  `;
2351
- var DELETE_ALL_NOTIFICATIONS = import_client26.gql`
2470
+ var DELETE_ALL_NOTIFICATIONS = import_client27.gql`
2352
2471
  mutation deleteAllNotifications {
2353
2472
  deleteAllNotifications {
2354
2473
  data
@@ -2359,11 +2478,11 @@ var DELETE_ALL_NOTIFICATIONS = import_client26.gql`
2359
2478
 
2360
2479
  // src/graphql/hooks/notifications/hooksMutation.ts
2361
2480
  var useCreateBulkNotifications = () => {
2362
- const [createBulkNotifications, { loading, error }] = (0, import_client27.useMutation)(CREATE_BULK_NOTIFICATIONS);
2481
+ const [createBulkNotifications, { loading, error }] = (0, import_client28.useMutation)(CREATE_BULK_NOTIFICATIONS);
2363
2482
  return { createBulkNotifications, error, loading };
2364
2483
  };
2365
2484
  var useMarkNotificationRead = () => {
2366
- const [markNotificationRead, { loading, error }] = (0, import_client27.useMutation)(MARK_NOTIFICATION_READ, {
2485
+ const [markNotificationRead, { loading, error }] = (0, import_client28.useMutation)(MARK_NOTIFICATION_READ, {
2367
2486
  refetchQueries: [
2368
2487
  {
2369
2488
  query: GET_USER_NOTIFICATIONS
@@ -2376,7 +2495,7 @@ var useMarkNotificationRead = () => {
2376
2495
  return { error, loading, markNotificationRead };
2377
2496
  };
2378
2497
  var useMarkAllNotificationsRead = () => {
2379
- const [markAllNotificationsRead, { loading, error }] = (0, import_client27.useMutation)(MARK_ALL_NOTIFICATIONS_READ, {
2498
+ const [markAllNotificationsRead, { loading, error }] = (0, import_client28.useMutation)(MARK_ALL_NOTIFICATIONS_READ, {
2380
2499
  refetchQueries: [
2381
2500
  {
2382
2501
  query: GET_USER_NOTIFICATIONS
@@ -2389,7 +2508,7 @@ var useMarkAllNotificationsRead = () => {
2389
2508
  return { error, loading, markAllNotificationsRead };
2390
2509
  };
2391
2510
  var useDeleteNotification = () => {
2392
- const [deleteNotification, { loading, error }] = (0, import_client27.useMutation)(DELETE_NOTIFICATION, {
2511
+ const [deleteNotification, { loading, error }] = (0, import_client28.useMutation)(DELETE_NOTIFICATION, {
2393
2512
  refetchQueries: [
2394
2513
  {
2395
2514
  query: GET_USER_NOTIFICATIONS
@@ -2402,7 +2521,7 @@ var useDeleteNotification = () => {
2402
2521
  return { deleteNotification, error, loading };
2403
2522
  };
2404
2523
  var useDeleteAllNotifications = () => {
2405
- const [deleteAllNotifications, { loading, error }] = (0, import_client27.useMutation)(DELETE_ALL_NOTIFICATIONS, {
2524
+ const [deleteAllNotifications, { loading, error }] = (0, import_client28.useMutation)(DELETE_ALL_NOTIFICATIONS, {
2406
2525
  refetchQueries: [
2407
2526
  {
2408
2527
  query: GET_USER_NOTIFICATIONS
@@ -2416,9 +2535,9 @@ var useDeleteAllNotifications = () => {
2416
2535
  };
2417
2536
 
2418
2537
  // src/graphql/hooks/notifications/hooksQuery.ts
2419
- var import_client28 = require("@apollo/client");
2538
+ var import_client29 = require("@apollo/client");
2420
2539
  var useGetUserNotifications = (limit, offset) => {
2421
- const { data, loading, error, refetch } = (0, import_client28.useQuery)(GET_USER_NOTIFICATIONS, {
2540
+ const { data, loading, error, refetch } = (0, import_client29.useQuery)(GET_USER_NOTIFICATIONS, {
2422
2541
  fetchPolicy: "no-cache",
2423
2542
  variables: { limit, offset }
2424
2543
  });
@@ -2430,7 +2549,7 @@ var useGetUserNotifications = (limit, offset) => {
2430
2549
  };
2431
2550
  };
2432
2551
  var useGetNotificationCount = () => {
2433
- const { data, loading, error, refetch } = (0, import_client28.useQuery)(GET_NOTIFICATION_COUNT, {
2552
+ const { data, loading, error, refetch } = (0, import_client29.useQuery)(GET_NOTIFICATION_COUNT, {
2434
2553
  fetchPolicy: "no-cache"
2435
2554
  });
2436
2555
  return {
@@ -2442,11 +2561,11 @@ var useGetNotificationCount = () => {
2442
2561
  };
2443
2562
 
2444
2563
  // src/graphql/hooks/notifications/hooksSubscription.ts
2445
- var import_client30 = require("@apollo/client");
2564
+ var import_client31 = require("@apollo/client");
2446
2565
 
2447
2566
  // src/graphql/subscriptions/notification.ts
2448
- var import_client29 = require("@apollo/client");
2449
- var GET_NOTIFICATIONS_SUBSCRIPTION = import_client29.gql`
2567
+ var import_client30 = require("@apollo/client");
2568
+ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client30.gql`
2450
2569
  subscription {
2451
2570
  getUserNotifications {
2452
2571
  ...NotificationFields
@@ -2454,7 +2573,7 @@ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client29.gql`
2454
2573
  }
2455
2574
  ${NOTIFICATION_FRAGMENT}
2456
2575
  `;
2457
- var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client29.gql`
2576
+ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client30.gql`
2458
2577
  subscription {
2459
2578
  getNotificationCount {
2460
2579
  total
@@ -2465,7 +2584,7 @@ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client29.gql`
2465
2584
 
2466
2585
  // src/graphql/hooks/notifications/hooksSubscription.ts
2467
2586
  var useGetUserNotificationsSubscription = () => {
2468
- const { data, loading, error } = (0, import_client30.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
2587
+ const { data, loading, error } = (0, import_client31.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
2469
2588
  fetchPolicy: "no-cache",
2470
2589
  shouldResubscribe: true
2471
2590
  });
@@ -2476,7 +2595,7 @@ var useGetUserNotificationsSubscription = () => {
2476
2595
  };
2477
2596
  };
2478
2597
  var useGetNotificationCountSubscription = () => {
2479
- const { data, loading, error } = (0, import_client30.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
2598
+ const { data, loading, error } = (0, import_client31.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
2480
2599
  fetchPolicy: "no-cache",
2481
2600
  shouldResubscribe: true
2482
2601
  });
@@ -2488,11 +2607,11 @@ var useGetNotificationCountSubscription = () => {
2488
2607
  };
2489
2608
 
2490
2609
  // src/graphql/hooks/poster.ts
2491
- var import_client32 = require("@apollo/client");
2610
+ var import_client33 = require("@apollo/client");
2492
2611
 
2493
2612
  // src/graphql/mutations/poster.ts
2494
- var import_client31 = require("@apollo/client");
2495
- var CREATE_POSTER_MUTATION = import_client31.gql`
2613
+ var import_client32 = require("@apollo/client");
2614
+ var CREATE_POSTER_MUTATION = import_client32.gql`
2496
2615
  mutation createPoster($input: PosterInputType!) {
2497
2616
  createPoster(input: $input) {
2498
2617
  data {
@@ -2508,18 +2627,18 @@ var CREATE_POSTER_MUTATION = import_client31.gql`
2508
2627
 
2509
2628
  // src/graphql/hooks/poster.ts
2510
2629
  var useCreatePoster = () => {
2511
- const [createPoster, { loading, error }] = (0, import_client32.useMutation)(CREATE_POSTER_MUTATION, {
2630
+ const [createPoster, { loading, error }] = (0, import_client33.useMutation)(CREATE_POSTER_MUTATION, {
2512
2631
  refetchQueries: [{ query: GET_USER_EVENTS }, { query: GET_USER_VENDORS }]
2513
2632
  });
2514
2633
  return { createPoster, error, loading };
2515
2634
  };
2516
2635
 
2517
2636
  // src/graphql/hooks/pushToken.ts
2518
- var import_client34 = require("@apollo/client");
2637
+ var import_client35 = require("@apollo/client");
2519
2638
 
2520
2639
  // src/graphql/mutations/pushToken.ts
2521
- var import_client33 = require("@apollo/client");
2522
- var CREATE_PUSH_TOKEN_MUTATION = import_client33.gql`
2640
+ var import_client34 = require("@apollo/client");
2641
+ var CREATE_PUSH_TOKEN_MUTATION = import_client34.gql`
2523
2642
  mutation createPushToken($input: PushTokenInput!) {
2524
2643
  createPushToken(input: $input) {
2525
2644
  data {
@@ -2532,16 +2651,16 @@ var CREATE_PUSH_TOKEN_MUTATION = import_client33.gql`
2532
2651
 
2533
2652
  // src/graphql/hooks/pushToken.ts
2534
2653
  var useCreatePushToken = () => {
2535
- const [createPushToken, { loading, error }] = (0, import_client34.useMutation)(CREATE_PUSH_TOKEN_MUTATION);
2654
+ const [createPushToken, { loading, error }] = (0, import_client35.useMutation)(CREATE_PUSH_TOKEN_MUTATION);
2536
2655
  return { createPushToken, error, loading };
2537
2656
  };
2538
2657
 
2539
2658
  // src/graphql/hooks/relation/hooksMutation.ts
2540
- var import_client36 = require("@apollo/client");
2659
+ var import_client37 = require("@apollo/client");
2541
2660
 
2542
2661
  // src/graphql/mutations/relation.ts
2543
- var import_client35 = require("@apollo/client");
2544
- var CREATE_RELATION_MUTATION = import_client35.gql`
2662
+ var import_client36 = require("@apollo/client");
2663
+ var CREATE_RELATION_MUTATION = import_client36.gql`
2545
2664
  mutation createRelation($input: RelationInputType!) {
2546
2665
  createRelation(input: $input) {
2547
2666
  data {
@@ -2552,7 +2671,7 @@ var CREATE_RELATION_MUTATION = import_client35.gql`
2552
2671
  }
2553
2672
  ${RELATION_FIELDS_FRAGMENT}
2554
2673
  `;
2555
- var UPDATE_RELATION_MUTATION = import_client35.gql`
2674
+ var UPDATE_RELATION_MUTATION = import_client36.gql`
2556
2675
  mutation updateRelation($_id: ID!, $input: RelationInputType!) {
2557
2676
  updateRelation(_id: $_id, input: $input) {
2558
2677
  data {
@@ -2563,7 +2682,7 @@ var UPDATE_RELATION_MUTATION = import_client35.gql`
2563
2682
  }
2564
2683
  ${RELATION_FIELDS_FRAGMENT}
2565
2684
  `;
2566
- var DELETE_RELATION_MUTATION = import_client35.gql`
2685
+ var DELETE_RELATION_MUTATION = import_client36.gql`
2567
2686
  mutation deleteRelation($_id: ID!) {
2568
2687
  deleteRelation(_id: $_id) {
2569
2688
  data {
@@ -2577,7 +2696,7 @@ var DELETE_RELATION_MUTATION = import_client35.gql`
2577
2696
 
2578
2697
  // src/graphql/hooks/relation/hooksMutation.ts
2579
2698
  var useCreateRelation = () => {
2580
- const [createRelation, { loading, error }] = (0, import_client36.useMutation)(CREATE_RELATION_MUTATION, {
2699
+ const [createRelation, { loading, error }] = (0, import_client37.useMutation)(CREATE_RELATION_MUTATION, {
2581
2700
  awaitRefetchQueries: true,
2582
2701
  refetchQueries: (mutationResult) => {
2583
2702
  const createRelation2 = mutationResult?.data?.createRelation?.data;
@@ -2623,7 +2742,7 @@ var useCreateRelation = () => {
2623
2742
  return { createRelation, error, loading };
2624
2743
  };
2625
2744
  var useUpdateRelation = () => {
2626
- const [updateRelation, { loading, error }] = (0, import_client36.useMutation)(UPDATE_RELATION_MUTATION, {
2745
+ const [updateRelation, { loading, error }] = (0, import_client37.useMutation)(UPDATE_RELATION_MUTATION, {
2627
2746
  awaitRefetchQueries: true,
2628
2747
  refetchQueries: (mutationResult) => {
2629
2748
  const updateRelation2 = mutationResult?.data?.updateRelation?.data;
@@ -2666,7 +2785,7 @@ var useUpdateRelation = () => {
2666
2785
  return { error, loading, updateRelation };
2667
2786
  };
2668
2787
  var useDeleteRelation = () => {
2669
- const [deleteRelation, { loading, error }] = (0, import_client36.useMutation)(DELETE_RELATION_MUTATION, {
2788
+ const [deleteRelation, { loading, error }] = (0, import_client37.useMutation)(DELETE_RELATION_MUTATION, {
2670
2789
  awaitRefetchQueries: true,
2671
2790
  refetchQueries: (mutationResult) => {
2672
2791
  const deleteRelation2 = mutationResult?.data?.deleteRelation?.data;
@@ -2705,9 +2824,9 @@ var useDeleteRelation = () => {
2705
2824
  };
2706
2825
 
2707
2826
  // src/graphql/hooks/relation/hooksQuery.ts
2708
- var import_client37 = require("@apollo/client");
2827
+ var import_client38 = require("@apollo/client");
2709
2828
  var useGetRelation = (_id) => {
2710
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RELATION, {
2829
+ const { loading, error, data, refetch } = (0, import_client38.useQuery)(GET_RELATION, {
2711
2830
  fetchPolicy: "network-only",
2712
2831
  skip: !_id,
2713
2832
  variables: _id ? { _id } : void 0
@@ -2716,7 +2835,7 @@ var useGetRelation = (_id) => {
2716
2835
  return { error, loading, refetch, relation };
2717
2836
  };
2718
2837
  var useGetRelationByEventAndVendor = (eventId, vendorId) => {
2719
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
2838
+ const { loading, error, data, refetch } = (0, import_client38.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
2720
2839
  fetchPolicy: "network-only",
2721
2840
  skip: !eventId || eventId === "" || !vendorId || vendorId === "",
2722
2841
  variables: { eventId, vendorId }
@@ -2725,7 +2844,7 @@ var useGetRelationByEventAndVendor = (eventId, vendorId) => {
2725
2844
  return { error, loading, refetch, relationByEventAndVendor };
2726
2845
  };
2727
2846
  var useGetEventRelations = (eventId) => {
2728
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_EVENT_RELATIONS, {
2847
+ const { loading, error, data, refetch } = (0, import_client38.useQuery)(GET_EVENT_RELATIONS, {
2729
2848
  fetchPolicy: "network-only",
2730
2849
  skip: !eventId || eventId === "",
2731
2850
  variables: { eventId }
@@ -2734,7 +2853,7 @@ var useGetEventRelations = (eventId) => {
2734
2853
  return { error, eventRelations, loading, refetch };
2735
2854
  };
2736
2855
  var useGetVendorRelations = (vendorId) => {
2737
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_VENDOR_RELATIONS, {
2856
+ const { loading, error, data, refetch } = (0, import_client38.useQuery)(GET_VENDOR_RELATIONS, {
2738
2857
  fetchPolicy: "network-only",
2739
2858
  skip: !vendorId || vendorId === "",
2740
2859
  variables: { vendorId }
@@ -2743,7 +2862,7 @@ var useGetVendorRelations = (vendorId) => {
2743
2862
  return { error, loading, refetch, vendorRelations };
2744
2863
  };
2745
2864
  var useGetResourceConnections = (resourceId, resourceType) => {
2746
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RESOURCE_CONNECTIONS, {
2865
+ const { loading, error, data, refetch } = (0, import_client38.useQuery)(GET_RESOURCE_CONNECTIONS, {
2747
2866
  fetchPolicy: "network-only",
2748
2867
  skip: !resourceId || resourceId === "" || !resourceType,
2749
2868
  variables: { resourceId, resourceType }
@@ -2754,104 +2873,6 @@ var useGetResourceConnections = (resourceId, resourceType) => {
2754
2873
 
2755
2874
  // src/graphql/hooks/vendor/hooksMutation.ts
2756
2875
  var import_client39 = require("@apollo/client");
2757
-
2758
- // src/graphql/mutations/vendor.ts
2759
- var import_client38 = require("@apollo/client");
2760
- var CREATE_VENDOR_MUTATION = import_client38.gql`
2761
- mutation createVendor($input: VendorInputType!) {
2762
- createVendor(input: $input) {
2763
- data {
2764
- ...VendorFields
2765
- }
2766
- message
2767
- }
2768
- }
2769
- ${VENDOR}
2770
- `;
2771
- var UPDATE_VENDOR_MUTATION = import_client38.gql`
2772
- mutation updateVendor($_id: ID!, $input: VendorInputType!) {
2773
- updateVendor(_id: $_id, input: $input) {
2774
- data {
2775
- ...VendorFields
2776
- }
2777
- message
2778
- }
2779
- }
2780
- ${VENDOR}
2781
- `;
2782
- var DELETE_VENDOR_MUTATION = import_client38.gql`
2783
- mutation deleteVendor($_id: ID!) {
2784
- deleteVendor(_id: $_id) {
2785
- data
2786
- message
2787
- }
2788
- }
2789
- `;
2790
- var CREATE_VENDOR_INFO_MUTATION = import_client38.gql`
2791
- mutation createVendorInfo($input: VendorInfoInputType!) {
2792
- createVendorInfo(input: $input) {
2793
- data {
2794
- ...VendorInfoFields
2795
- }
2796
- message
2797
- }
2798
- }
2799
- ${VENDOR_INFO}
2800
- `;
2801
- var UPDATE_VENDOR_INFO_MUTATION = import_client38.gql`
2802
- mutation updateVendorInfo($_id: ID!, $input: VendorInfoInputType!) {
2803
- updateVendorInfo(_id: $_id, input: $input) {
2804
- data {
2805
- ...VendorInfoFields
2806
- }
2807
- message
2808
- }
2809
- }
2810
- ${VENDOR_INFO}
2811
- `;
2812
- var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
2813
- mutation createUnregisteredVendor($input: UnregisteredVendorInputType!) {
2814
- createUnregisteredVendor(input: $input) {
2815
- data {
2816
- ...UnregisteredVendorFields
2817
- }
2818
- message
2819
- }
2820
- }
2821
- ${UNREGISTERED_VENDOR}
2822
- `;
2823
- var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
2824
- mutation updateUnregisteredVendor(
2825
- $_id: ID!
2826
- $input: UnregisteredVendorInputType!
2827
- ) {
2828
- updateUnregisteredVendor(_id: $_id, input: $input) {
2829
- data {
2830
- ...UnregisteredVendorFields
2831
- }
2832
- message
2833
- }
2834
- }
2835
- ${UNREGISTERED_VENDOR}
2836
- `;
2837
- var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
2838
- mutation deleteUnregisteredVendor($_id: ID!) {
2839
- deleteUnregisteredVendor(_id: $_id) {
2840
- data
2841
- message
2842
- }
2843
- }
2844
- `;
2845
- var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client38.gql`
2846
- mutation unlinkUnregisteredVendorByInviterId($_id: ID!, $inviterId: ID!) {
2847
- unlinkUnregisteredVendorByInviterId(_id: $_id, inviterId: $inviterId) {
2848
- data
2849
- message
2850
- }
2851
- }
2852
- `;
2853
-
2854
- // src/graphql/hooks/vendor/hooksMutation.ts
2855
2876
  var useCreateVendor = () => {
2856
2877
  const [createVendor, { loading, error }] = (0, import_client39.useMutation)(CREATE_VENDOR_MUTATION, {
2857
2878
  awaitRefetchQueries: true,
@@ -2930,6 +2951,10 @@ var useUnlinkUnregisteredVendorByInviterId = () => {
2930
2951
  const [unlinkUnregisteredVendorByInviterId, { loading, error }] = (0, import_client39.useMutation)(UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION);
2931
2952
  return { error, loading, unlinkUnregisteredVendorByInviterId };
2932
2953
  };
2954
+ var useActivateVendorClaim = () => {
2955
+ const [activateVendorClaim, { loading, error }] = (0, import_client39.useMutation)(ACTIVATE_VENDOR_CLAIM_MUTATION);
2956
+ return { activateVendorClaim, error, loading };
2957
+ };
2933
2958
 
2934
2959
  // src/graphql/hooks/vendor/hooksQuery.ts
2935
2960
  var import_client40 = require("@apollo/client");
@@ -3031,6 +3056,18 @@ var useGetUnregisteredVendor = (_id) => {
3031
3056
  const unregisteredVendor = data?.unregisteredVendor;
3032
3057
  return { error, loading, refetch, unregisteredVendor };
3033
3058
  };
3059
+ var useMyPendingVendorClaim = (skip = false) => {
3060
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(MY_PENDING_VENDOR_CLAIM, {
3061
+ fetchPolicy: "network-only",
3062
+ skip
3063
+ });
3064
+ return {
3065
+ error,
3066
+ loading,
3067
+ myPendingVendorClaim: data?.myPendingVendorClaim ?? null,
3068
+ refetch
3069
+ };
3070
+ };
3034
3071
 
3035
3072
  // src/graphql/hooks/user/hooksMutation.ts
3036
3073
  var import_client42 = require("@apollo/client");
@@ -4808,6 +4845,7 @@ var useAssignAffiliateBonusReward = () => {
4808
4845
  };
4809
4846
  // Annotate the CommonJS export names for ESM import in node:
4810
4847
  0 && (module.exports = {
4848
+ ACTIVATE_VENDOR_CLAIM_MUTATION,
4811
4849
  GET_EVENT,
4812
4850
  GET_EVENT_BY_SLUG,
4813
4851
  GET_EVENT_INFO,
@@ -4819,7 +4857,9 @@ var useAssignAffiliateBonusReward = () => {
4819
4857
  GET_VENDOR,
4820
4858
  GET_VENDOR_BY_SLUG,
4821
4859
  GET_VENDOR_INFO,
4860
+ MY_PENDING_VENDOR_CLAIM,
4822
4861
  toGraphqlQueryString,
4862
+ useActivateVendorClaim,
4823
4863
  useAddParticipantToChat,
4824
4864
  useAddUserFavouriteResource,
4825
4865
  useAddUserGoingResource,
@@ -4925,6 +4965,7 @@ var useAssignAffiliateBonusReward = () => {
4925
4965
  useMarkAllNotificationsRead,
4926
4966
  useMarkChatMessagesSeen,
4927
4967
  useMarkNotificationRead,
4968
+ useMyPendingVendorClaim,
4928
4969
  useRedeemAffiliateReward,
4929
4970
  useRedeemReward,
4930
4971
  useRefreshToken,