@timardex/cluemart-shared 1.5.762 → 1.5.764

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.
@@ -21,11 +21,15 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var graphql_exports = {};
22
22
  __export(graphql_exports, {
23
23
  GET_EVENT: () => GET_EVENT,
24
+ GET_EVENT_BY_SLUG: () => GET_EVENT_BY_SLUG,
24
25
  GET_EVENT_INFO: () => GET_EVENT_INFO,
25
26
  GET_PARTNER: () => GET_PARTNER,
27
+ GET_PARTNER_BY_SLUG: () => GET_PARTNER_BY_SLUG,
26
28
  GET_POST: () => GET_POST,
29
+ GET_POST_BY_SLUG: () => GET_POST_BY_SLUG,
27
30
  GET_RESOURCE_CONNECTIONS: () => GET_RESOURCE_CONNECTIONS,
28
31
  GET_VENDOR: () => GET_VENDOR,
32
+ GET_VENDOR_BY_SLUG: () => GET_VENDOR_BY_SLUG,
29
33
  GET_VENDOR_INFO: () => GET_VENDOR_INFO,
30
34
  toGraphqlQueryString: () => toGraphqlQueryString,
31
35
  useAddParticipantToChat: () => useAddParticipantToChat,
@@ -1207,9 +1211,40 @@ var GET_POSTS_BY_TYPE = import_client7.gql`
1207
1211
  ${POST_FIELDS_FRAGMENT}
1208
1212
  `;
1209
1213
 
1210
- // src/graphql/queries/relation.ts
1214
+ // src/graphql/queries/shareSlug.ts
1211
1215
  var import_client8 = require("@apollo/client");
1212
- var RELATION_FIELDS_FRAGMENT = import_client8.gql`
1216
+ var GET_EVENT_BY_SLUG = import_client8.gql`
1217
+ query getEventBySlug($slug: String!) {
1218
+ eventBySlug(slug: $slug) {
1219
+ _id
1220
+ }
1221
+ }
1222
+ `;
1223
+ var GET_VENDOR_BY_SLUG = import_client8.gql`
1224
+ query getVendorBySlug($slug: String!) {
1225
+ vendorBySlug(slug: $slug) {
1226
+ _id
1227
+ }
1228
+ }
1229
+ `;
1230
+ var GET_PARTNER_BY_SLUG = import_client8.gql`
1231
+ query getPartnerBySlug($slug: String!) {
1232
+ partnerBySlug(slug: $slug) {
1233
+ _id
1234
+ }
1235
+ }
1236
+ `;
1237
+ var GET_POST_BY_SLUG = import_client8.gql`
1238
+ query getPostBySlug($slug: String!, $postType: PostTypeEnum!) {
1239
+ postBySlug(slug: $slug, postType: $postType) {
1240
+ _id
1241
+ }
1242
+ }
1243
+ `;
1244
+
1245
+ // src/graphql/queries/relation.ts
1246
+ var import_client9 = require("@apollo/client");
1247
+ var RELATION_FIELDS_FRAGMENT = import_client9.gql`
1213
1248
  fragment RelationFields on RelationType {
1214
1249
  _id
1215
1250
  active
@@ -1226,7 +1261,7 @@ var RELATION_FIELDS_FRAGMENT = import_client8.gql`
1226
1261
  }
1227
1262
  ${RELATION_DATES_FRAGMENT}
1228
1263
  `;
1229
- var GET_RELATION = import_client8.gql`
1264
+ var GET_RELATION = import_client9.gql`
1230
1265
  query getRelation($_id: ID!) {
1231
1266
  relation(_id: $_id) {
1232
1267
  ...RelationFields
@@ -1234,7 +1269,7 @@ var GET_RELATION = import_client8.gql`
1234
1269
  }
1235
1270
  ${RELATION_FIELDS_FRAGMENT}
1236
1271
  `;
1237
- var GET_RELATION_BY_EVENT_AND_VENDOR = import_client8.gql`
1272
+ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client9.gql`
1238
1273
  query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
1239
1274
  relationByEventAndVendor(eventId: $eventId, vendorId: $vendorId) {
1240
1275
  ...RelationFields
@@ -1242,7 +1277,7 @@ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client8.gql`
1242
1277
  }
1243
1278
  ${RELATION_FIELDS_FRAGMENT}
1244
1279
  `;
1245
- var GET_EVENT_RELATIONS = import_client8.gql`
1280
+ var GET_EVENT_RELATIONS = import_client9.gql`
1246
1281
  query getEventRelations($eventId: ID!) {
1247
1282
  eventRelations(eventId: $eventId) {
1248
1283
  ...RelationFields
@@ -1250,7 +1285,7 @@ var GET_EVENT_RELATIONS = import_client8.gql`
1250
1285
  }
1251
1286
  ${RELATION_FIELDS_FRAGMENT}
1252
1287
  `;
1253
- var GET_VENDOR_RELATIONS = import_client8.gql`
1288
+ var GET_VENDOR_RELATIONS = import_client9.gql`
1254
1289
  query getVendorRelations($vendorId: ID!) {
1255
1290
  vendorRelations(vendorId: $vendorId) {
1256
1291
  ...RelationFields
@@ -1258,7 +1293,7 @@ var GET_VENDOR_RELATIONS = import_client8.gql`
1258
1293
  }
1259
1294
  ${RELATION_FIELDS_FRAGMENT}
1260
1295
  `;
1261
- var GET_RESOURCE_CONNECTIONS = import_client8.gql`
1296
+ var GET_RESOURCE_CONNECTIONS = import_client9.gql`
1262
1297
  query getResourceConnections(
1263
1298
  $resourceId: ID!
1264
1299
  $resourceType: ResourceTypeEnum!
@@ -2125,11 +2160,11 @@ function toGraphqlQueryString(query) {
2125
2160
  }
2126
2161
 
2127
2162
  // src/graphql/hooks/admin/hooksMutation.ts
2128
- var import_client10 = require("@apollo/client");
2163
+ var import_client11 = require("@apollo/client");
2129
2164
 
2130
2165
  // src/graphql/mutations/admin.ts
2131
- var import_client9 = require("@apollo/client");
2132
- var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client9.gql`
2166
+ var import_client10 = require("@apollo/client");
2167
+ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client10.gql`
2133
2168
  mutation adminUpdateResourceType($input: AdminUpdateResourceInputType!) {
2134
2169
  adminUpdateResourceType(input: $input) {
2135
2170
  active
@@ -2138,12 +2173,12 @@ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client9.gql`
2138
2173
  }
2139
2174
  }
2140
2175
  `;
2141
- var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client9.gql`
2176
+ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client10.gql`
2142
2177
  mutation adminResendUserVerificationEmail($userId: ID!) {
2143
2178
  adminResendUserVerificationEmail(userId: $userId)
2144
2179
  }
2145
2180
  `;
2146
- var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client9.gql`
2181
+ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client10.gql`
2147
2182
  mutation adminPermanentlyDeleteResource(
2148
2183
  $resourceId: ID!
2149
2184
  $resourceType: ResourceTypeEnum!
@@ -2157,7 +2192,7 @@ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client9.gql`
2157
2192
 
2158
2193
  // src/graphql/hooks/admin/hooksMutation.ts
2159
2194
  var useAdminUpdateResourceType = () => {
2160
- const [adminUpdateResourceType, { loading, error }] = (0, import_client10.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
2195
+ const [adminUpdateResourceType, { loading, error }] = (0, import_client11.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
2161
2196
  awaitRefetchQueries: true,
2162
2197
  refetchQueries: (mutationResult) => {
2163
2198
  const adminUpdateResourceType2 = mutationResult?.data?.adminUpdateResourceType;
@@ -2180,7 +2215,7 @@ var useAdminUpdateResourceType = () => {
2180
2215
  };
2181
2216
  };
2182
2217
  var useAdminResendUserVerificationEmail = () => {
2183
- const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client10.useMutation)(
2218
+ const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client11.useMutation)(
2184
2219
  ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION
2185
2220
  );
2186
2221
  return {
@@ -2190,7 +2225,7 @@ var useAdminResendUserVerificationEmail = () => {
2190
2225
  };
2191
2226
  };
2192
2227
  var useAdminPermanentlyDeleteResource = () => {
2193
- const [adminPermanentlyDeleteResource, { loading, error }] = (0, import_client10.useMutation)(
2228
+ const [adminPermanentlyDeleteResource, { loading, error }] = (0, import_client11.useMutation)(
2194
2229
  ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION
2195
2230
  );
2196
2231
  return {
@@ -2201,11 +2236,11 @@ var useAdminPermanentlyDeleteResource = () => {
2201
2236
  };
2202
2237
 
2203
2238
  // src/graphql/hooks/auth.ts
2204
- var import_client12 = require("@apollo/client");
2239
+ var import_client13 = require("@apollo/client");
2205
2240
 
2206
2241
  // src/graphql/mutations/auth.ts
2207
- var import_client11 = require("@apollo/client");
2208
- var REGISTER_MUTATION = import_client11.gql`
2242
+ var import_client12 = require("@apollo/client");
2243
+ var REGISTER_MUTATION = import_client12.gql`
2209
2244
  mutation register($input: RegisterInputType!) {
2210
2245
  register(input: $input) {
2211
2246
  message
@@ -2218,7 +2253,7 @@ var REGISTER_MUTATION = import_client11.gql`
2218
2253
  }
2219
2254
  ${USER_FIELDS_FRAGMENT}
2220
2255
  `;
2221
- var LOGIN_MUTATION = import_client11.gql`
2256
+ var LOGIN_MUTATION = import_client12.gql`
2222
2257
  mutation login($input: LoginInputType!) {
2223
2258
  login(input: $input) {
2224
2259
  message
@@ -2231,14 +2266,14 @@ var LOGIN_MUTATION = import_client11.gql`
2231
2266
  }
2232
2267
  ${USER_FIELDS_FRAGMENT}
2233
2268
  `;
2234
- var LOGOUT_MUTATION = import_client11.gql`
2269
+ var LOGOUT_MUTATION = import_client12.gql`
2235
2270
  mutation logout {
2236
2271
  logout {
2237
2272
  message
2238
2273
  }
2239
2274
  }
2240
2275
  `;
2241
- var REFRESH_TOKEN_MUTATION = import_client11.gql`
2276
+ var REFRESH_TOKEN_MUTATION = import_client12.gql`
2242
2277
  mutation refreshToken($input: RefreshTokenInputType!) {
2243
2278
  refreshToken(input: $input) {
2244
2279
  refreshToken
@@ -2246,21 +2281,21 @@ var REFRESH_TOKEN_MUTATION = import_client11.gql`
2246
2281
  }
2247
2282
  }
2248
2283
  `;
2249
- var RESET_PASSWORD_MUTATION = import_client11.gql`
2284
+ var RESET_PASSWORD_MUTATION = import_client12.gql`
2250
2285
  mutation resetPassword($input: ResetPasswordInputType!) {
2251
2286
  resetPassword(input: $input) {
2252
2287
  message
2253
2288
  }
2254
2289
  }
2255
2290
  `;
2256
- var REQUEST_PASSWORD_RESET_MUTATION = import_client11.gql`
2291
+ var REQUEST_PASSWORD_RESET_MUTATION = import_client12.gql`
2257
2292
  mutation requestPasswordReset($input: RequestPasswordResetInputType!) {
2258
2293
  requestPasswordReset(input: $input) {
2259
2294
  message
2260
2295
  }
2261
2296
  }
2262
2297
  `;
2263
- var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client11.gql`
2298
+ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client12.gql`
2264
2299
  mutation validateVerificationToken(
2265
2300
  $input: ValidateVerificationTokenInputType!
2266
2301
  ) {
@@ -2272,49 +2307,49 @@ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client11.gql`
2272
2307
 
2273
2308
  // src/graphql/hooks/auth.ts
2274
2309
  var useRegister = () => {
2275
- const [register, { loading, error }] = (0, import_client12.useMutation)(REGISTER_MUTATION);
2310
+ const [register, { loading, error }] = (0, import_client13.useMutation)(REGISTER_MUTATION);
2276
2311
  return { error, loading, register };
2277
2312
  };
2278
2313
  var useLogin = () => {
2279
- const [login, { loading, error }] = (0, import_client12.useMutation)(LOGIN_MUTATION);
2314
+ const [login, { loading, error }] = (0, import_client13.useMutation)(LOGIN_MUTATION);
2280
2315
  return { error, loading, login };
2281
2316
  };
2282
2317
  var useLogout = () => {
2283
- const [logout, { loading, error }] = (0, import_client12.useMutation)(LOGOUT_MUTATION);
2318
+ const [logout, { loading, error }] = (0, import_client13.useMutation)(LOGOUT_MUTATION);
2284
2319
  return { error, loading, logout };
2285
2320
  };
2286
2321
  var useRefreshToken = () => {
2287
- const [refreshToken, { loading, error }] = (0, import_client12.useMutation)(REFRESH_TOKEN_MUTATION);
2322
+ const [refreshToken, { loading, error }] = (0, import_client13.useMutation)(REFRESH_TOKEN_MUTATION);
2288
2323
  return { error, loading, refreshToken };
2289
2324
  };
2290
2325
  var useRequestPasswordReset = () => {
2291
- const [requestPasswordReset, { loading, error }] = (0, import_client12.useMutation)(
2326
+ const [requestPasswordReset, { loading, error }] = (0, import_client13.useMutation)(
2292
2327
  REQUEST_PASSWORD_RESET_MUTATION
2293
2328
  );
2294
2329
  return { error, loading, requestPasswordReset };
2295
2330
  };
2296
2331
  var useValidateVerificationToken = () => {
2297
- const [validateVerificationToken, { loading, error }] = (0, import_client12.useMutation)(
2332
+ const [validateVerificationToken, { loading, error }] = (0, import_client13.useMutation)(
2298
2333
  VALIDATE_VERIFICATION_TOKEN_MUTATION
2299
2334
  );
2300
2335
  return { error, loading, validateVerificationToken };
2301
2336
  };
2302
2337
  var useResetPassword = () => {
2303
- const [resetPassword, { loading, error }] = (0, import_client12.useMutation)(
2338
+ const [resetPassword, { loading, error }] = (0, import_client13.useMutation)(
2304
2339
  RESET_PASSWORD_MUTATION
2305
2340
  );
2306
2341
  return { error, loading, resetPassword };
2307
2342
  };
2308
2343
 
2309
2344
  // src/graphql/hooks/chat/hooksMutation.ts
2310
- var import_client15 = require("@apollo/client");
2345
+ var import_client16 = require("@apollo/client");
2311
2346
 
2312
2347
  // src/graphql/mutations/chat.ts
2313
- var import_client14 = require("@apollo/client");
2348
+ var import_client15 = require("@apollo/client");
2314
2349
 
2315
2350
  // src/graphql/queries/chat.ts
2316
- var import_client13 = require("@apollo/client");
2317
- var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client13.gql`
2351
+ var import_client14 = require("@apollo/client");
2352
+ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client14.gql`
2318
2353
  fragment ChatMessageFields on ChatMessageType {
2319
2354
  _id
2320
2355
  content
@@ -2337,7 +2372,7 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client13.gql`
2337
2372
  updatedAt
2338
2373
  }
2339
2374
  `;
2340
- var CHAT_PARTICIPANT = import_client13.gql`
2375
+ var CHAT_PARTICIPANT = import_client14.gql`
2341
2376
  fragment ChatParticipantFields on ChatParticipantType {
2342
2377
  active
2343
2378
  isAssociate
@@ -2347,7 +2382,7 @@ var CHAT_PARTICIPANT = import_client13.gql`
2347
2382
  userName
2348
2383
  }
2349
2384
  `;
2350
- var CHAT_FIELDS_FRAGMENT = import_client13.gql`
2385
+ var CHAT_FIELDS_FRAGMENT = import_client14.gql`
2351
2386
  fragment ChatFields on ChatType {
2352
2387
  _id
2353
2388
  active
@@ -2368,7 +2403,7 @@ var CHAT_FIELDS_FRAGMENT = import_client13.gql`
2368
2403
  ${CHAT_MESSAGE_FIELDS_FRAGMENT}
2369
2404
  ${CHAT_PARTICIPANT}
2370
2405
  `;
2371
- var CHAT = import_client13.gql`
2406
+ var CHAT = import_client14.gql`
2372
2407
  query chat($_id: ID!) {
2373
2408
  chat(_id: $_id) {
2374
2409
  ...ChatFields
@@ -2376,7 +2411,7 @@ var CHAT = import_client13.gql`
2376
2411
  }
2377
2412
  ${CHAT_FIELDS_FRAGMENT}
2378
2413
  `;
2379
- var USER_CHATS = import_client13.gql`
2414
+ var USER_CHATS = import_client14.gql`
2380
2415
  query userChats {
2381
2416
  userChats {
2382
2417
  ...ChatFields
@@ -2384,7 +2419,7 @@ var USER_CHATS = import_client13.gql`
2384
2419
  }
2385
2420
  ${CHAT_FIELDS_FRAGMENT}
2386
2421
  `;
2387
- var GET_CHATS_BY_REGION = import_client13.gql`
2422
+ var GET_CHATS_BY_REGION = import_client14.gql`
2388
2423
  query getChatsByRegion($region: String!) {
2389
2424
  chatsByRegion(region: $region) {
2390
2425
  ...ChatFields
@@ -2392,7 +2427,7 @@ var GET_CHATS_BY_REGION = import_client13.gql`
2392
2427
  }
2393
2428
  ${CHAT_FIELDS_FRAGMENT}
2394
2429
  `;
2395
- var CHAT_REPORT_FIELDS_FRAGMENT = import_client13.gql`
2430
+ var CHAT_REPORT_FIELDS_FRAGMENT = import_client14.gql`
2396
2431
  fragment ChatReportFields on ReportChatUserType {
2397
2432
  _id
2398
2433
  chatId
@@ -2407,7 +2442,7 @@ var CHAT_REPORT_FIELDS_FRAGMENT = import_client13.gql`
2407
2442
  updatedAt
2408
2443
  }
2409
2444
  `;
2410
- var GET_REPORTED_CHAT_USERS = import_client13.gql`
2445
+ var GET_REPORTED_CHAT_USERS = import_client14.gql`
2411
2446
  query getReportedChatUsers {
2412
2447
  reportedChatUsers {
2413
2448
  ...ChatReportFields
@@ -2417,7 +2452,7 @@ var GET_REPORTED_CHAT_USERS = import_client13.gql`
2417
2452
  `;
2418
2453
 
2419
2454
  // src/graphql/mutations/chat.ts
2420
- var CREATE_PRIVATE_CHAT_MUTATION = import_client14.gql`
2455
+ var CREATE_PRIVATE_CHAT_MUTATION = import_client15.gql`
2421
2456
  mutation createPrivateChat($userId: ID!) {
2422
2457
  createPrivateChat(userId: $userId) {
2423
2458
  ...ChatFields
@@ -2425,7 +2460,7 @@ var CREATE_PRIVATE_CHAT_MUTATION = import_client14.gql`
2425
2460
  }
2426
2461
  ${CHAT_FIELDS_FRAGMENT}
2427
2462
  `;
2428
- var SEND_CHAT_MESSAGE_MUTATION = import_client14.gql`
2463
+ var SEND_CHAT_MESSAGE_MUTATION = import_client15.gql`
2429
2464
  mutation sendChatMessage($_id: ID!, $input: ChatMessageInputType!) {
2430
2465
  sendChatMessage(_id: $_id, input: $input) {
2431
2466
  ...ChatFields
@@ -2433,12 +2468,12 @@ var SEND_CHAT_MESSAGE_MUTATION = import_client14.gql`
2433
2468
  }
2434
2469
  ${CHAT_FIELDS_FRAGMENT}
2435
2470
  `;
2436
- var DELETE_CHAT_MUTATION = import_client14.gql`
2471
+ var DELETE_CHAT_MUTATION = import_client15.gql`
2437
2472
  mutation deleteChat($_id: ID!) {
2438
2473
  deleteChat(_id: $_id)
2439
2474
  }
2440
2475
  `;
2441
- var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client14.gql`
2476
+ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client15.gql`
2442
2477
  mutation addParticipantToChat($chatId: ID!, $userId: ID!) {
2443
2478
  addParticipantToChat(chatId: $chatId, userId: $userId) {
2444
2479
  ...ChatFields
@@ -2446,7 +2481,7 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client14.gql`
2446
2481
  }
2447
2482
  ${CHAT_FIELDS_FRAGMENT}
2448
2483
  `;
2449
- var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client14.gql`
2484
+ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client15.gql`
2450
2485
  mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
2451
2486
  removeParticipantFromChat(chatId: $chatId, userId: $userId) {
2452
2487
  success
@@ -2454,7 +2489,7 @@ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client14.gql`
2454
2489
  }
2455
2490
  }
2456
2491
  `;
2457
- var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client14.gql`
2492
+ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client15.gql`
2458
2493
  mutation toggleChatMessageLike($chatId: ID!, $messageId: ID!) {
2459
2494
  toggleChatMessageLike(chatId: $chatId, messageId: $messageId) {
2460
2495
  ...ChatFields
@@ -2462,7 +2497,7 @@ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client14.gql`
2462
2497
  }
2463
2498
  ${CHAT_FIELDS_FRAGMENT}
2464
2499
  `;
2465
- var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client14.gql`
2500
+ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client15.gql`
2466
2501
  mutation markChatMessagesSeen($chatId: ID!, $messageIds: [ID!]!) {
2467
2502
  markChatMessagesSeen(chatId: $chatId, messageIds: $messageIds) {
2468
2503
  ...ChatFields
@@ -2470,7 +2505,7 @@ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client14.gql`
2470
2505
  }
2471
2506
  ${CHAT_FIELDS_FRAGMENT}
2472
2507
  `;
2473
- var REPORT_CHAT_USER_MUTATION = import_client14.gql`
2508
+ var REPORT_CHAT_USER_MUTATION = import_client15.gql`
2474
2509
  mutation reportChatUser($input: ReportChatUserInputType!) {
2475
2510
  reportChatUser(input: $input) {
2476
2511
  ...ChatReportFields
@@ -2481,14 +2516,14 @@ var REPORT_CHAT_USER_MUTATION = import_client14.gql`
2481
2516
 
2482
2517
  // src/graphql/hooks/chat/hooksMutation.ts
2483
2518
  var useCreatePrivateChat = () => {
2484
- const [createPrivateChat, { loading, error }] = (0, import_client15.useMutation)(CREATE_PRIVATE_CHAT_MUTATION, {
2519
+ const [createPrivateChat, { loading, error }] = (0, import_client16.useMutation)(CREATE_PRIVATE_CHAT_MUTATION, {
2485
2520
  awaitRefetchQueries: true,
2486
2521
  refetchQueries: [{ query: USER_CHATS }]
2487
2522
  });
2488
2523
  return { createPrivateChat, error, loading };
2489
2524
  };
2490
2525
  var useSendChatMessage = () => {
2491
- const [sendChatMessage, { loading, error }] = (0, import_client15.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
2526
+ const [sendChatMessage, { loading, error }] = (0, import_client16.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
2492
2527
  awaitRefetchQueries: true,
2493
2528
  refetchQueries: (mutationResult) => {
2494
2529
  const chatId = mutationResult?.data?.sendChatMessage?._id;
@@ -2503,14 +2538,14 @@ var useSendChatMessage = () => {
2503
2538
  return { error, loading, sendChatMessage };
2504
2539
  };
2505
2540
  var useDeleteChat = () => {
2506
- const [deleteChat, { loading, error }] = (0, import_client15.useMutation)(DELETE_CHAT_MUTATION, {
2541
+ const [deleteChat, { loading, error }] = (0, import_client16.useMutation)(DELETE_CHAT_MUTATION, {
2507
2542
  awaitRefetchQueries: true,
2508
2543
  refetchQueries: [{ query: USER_CHATS }]
2509
2544
  });
2510
2545
  return { deleteChat, error, loading };
2511
2546
  };
2512
2547
  var useAddParticipantToChat = () => {
2513
- const [addParticipantToChat, { loading, error }] = (0, import_client15.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
2548
+ const [addParticipantToChat, { loading, error }] = (0, import_client16.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
2514
2549
  awaitRefetchQueries: true,
2515
2550
  refetchQueries: (mutationResult) => {
2516
2551
  const chatId = mutationResult?.data?.addParticipantToChat?._id;
@@ -2528,7 +2563,7 @@ var useAddParticipantToChat = () => {
2528
2563
  return { addParticipantToChat, error, loading };
2529
2564
  };
2530
2565
  var useRemoveParticipantFromChat = () => {
2531
- const [removeParticipantFromChat, { loading, error }] = (0, import_client15.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
2566
+ const [removeParticipantFromChat, { loading, error }] = (0, import_client16.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
2532
2567
  awaitRefetchQueries: true,
2533
2568
  refetchQueries: (mutationResult) => {
2534
2569
  const region = mutationResult?.data?.removeParticipantFromChat?.region;
@@ -2545,7 +2580,7 @@ var useRemoveParticipantFromChat = () => {
2545
2580
  return { error, loading, removeParticipantFromChat };
2546
2581
  };
2547
2582
  var useToggleChatMessageLike = () => {
2548
- const [toggleChatMessageLike, { loading, error }] = (0, import_client15.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
2583
+ const [toggleChatMessageLike, { loading, error }] = (0, import_client16.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
2549
2584
  awaitRefetchQueries: true,
2550
2585
  refetchQueries: (mutationResult) => {
2551
2586
  const chatId = mutationResult?.data?.toggleChatMessageLike?._id;
@@ -2560,7 +2595,7 @@ var useToggleChatMessageLike = () => {
2560
2595
  return { error, loading, toggleChatMessageLike };
2561
2596
  };
2562
2597
  var useMarkChatMessagesSeen = () => {
2563
- const [markChatMessagesSeen, { loading, error }] = (0, import_client15.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
2598
+ const [markChatMessagesSeen, { loading, error }] = (0, import_client16.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
2564
2599
  awaitRefetchQueries: true,
2565
2600
  refetchQueries: (mutationResult) => {
2566
2601
  const chatId = mutationResult?.data?.markChatMessagesSeen?._id;
@@ -2575,18 +2610,18 @@ var useMarkChatMessagesSeen = () => {
2575
2610
  return { error, loading, markChatMessagesSeen };
2576
2611
  };
2577
2612
  var useReportChatUser = () => {
2578
- const [reportChatUser, { loading, error }] = (0, import_client15.useMutation)(
2613
+ const [reportChatUser, { loading, error }] = (0, import_client16.useMutation)(
2579
2614
  REPORT_CHAT_USER_MUTATION
2580
2615
  );
2581
2616
  return { error, loading, reportChatUser };
2582
2617
  };
2583
2618
 
2584
2619
  // src/graphql/hooks/chat/hooksQuery.ts
2585
- var import_client17 = require("@apollo/client");
2620
+ var import_client18 = require("@apollo/client");
2586
2621
 
2587
2622
  // src/graphql/subscriptions/chat.ts
2588
- var import_client16 = require("@apollo/client");
2589
- var GET_CHAT_MESSAGE = import_client16.gql`
2623
+ var import_client17 = require("@apollo/client");
2624
+ var GET_CHAT_MESSAGE = import_client17.gql`
2590
2625
  subscription {
2591
2626
  getChatMessage {
2592
2627
  ...ChatFields
@@ -2597,7 +2632,7 @@ var GET_CHAT_MESSAGE = import_client16.gql`
2597
2632
 
2598
2633
  // src/graphql/hooks/chat/hooksQuery.ts
2599
2634
  var useGetChat = (_id) => {
2600
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(CHAT, {
2635
+ const { loading, error, data, refetch } = (0, import_client18.useQuery)(CHAT, {
2601
2636
  fetchPolicy: "network-only",
2602
2637
  skip: !_id || _id === "",
2603
2638
  variables: { _id }
@@ -2606,7 +2641,7 @@ var useGetChat = (_id) => {
2606
2641
  return { chat, error, loading, refetch };
2607
2642
  };
2608
2643
  var useGetUserChats = () => {
2609
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(
2644
+ const { loading, error, data, refetch } = (0, import_client18.useQuery)(
2610
2645
  USER_CHATS,
2611
2646
  {
2612
2647
  fetchPolicy: "network-only"
@@ -2616,14 +2651,14 @@ var useGetUserChats = () => {
2616
2651
  return { error, loading, refetch, userChats };
2617
2652
  };
2618
2653
  var useGetChatSubscription = () => {
2619
- const { data, loading, error } = (0, import_client17.useSubscription)(
2654
+ const { data, loading, error } = (0, import_client18.useSubscription)(
2620
2655
  GET_CHAT_MESSAGE
2621
2656
  );
2622
2657
  const chat = data?.getChat;
2623
2658
  return { chat, error, loading };
2624
2659
  };
2625
2660
  var useGetChatsByRegion = (region) => {
2626
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(GET_CHATS_BY_REGION, {
2661
+ const { loading, error, data, refetch } = (0, import_client18.useQuery)(GET_CHATS_BY_REGION, {
2627
2662
  fetchPolicy: "network-only",
2628
2663
  skip: !region || region === "",
2629
2664
  variables: { region }
@@ -2632,7 +2667,7 @@ var useGetChatsByRegion = (region) => {
2632
2667
  return { chatsByRegion, error, loading, refetch };
2633
2668
  };
2634
2669
  var useGetReportedChatUsers = () => {
2635
- const { loading, error, data, refetch } = (0, import_client17.useQuery)(GET_REPORTED_CHAT_USERS, {
2670
+ const { loading, error, data, refetch } = (0, import_client18.useQuery)(GET_REPORTED_CHAT_USERS, {
2636
2671
  fetchPolicy: "network-only"
2637
2672
  });
2638
2673
  const reportedChatUsers = data?.reportedChatUsers || [];
@@ -2640,11 +2675,11 @@ var useGetReportedChatUsers = () => {
2640
2675
  };
2641
2676
 
2642
2677
  // src/graphql/hooks/contactUs.ts
2643
- var import_client19 = require("@apollo/client");
2678
+ var import_client20 = require("@apollo/client");
2644
2679
 
2645
2680
  // src/graphql/mutations/contactUs.ts
2646
- var import_client18 = require("@apollo/client");
2647
- var CONTACT_US_MUTATION = import_client18.gql`
2681
+ var import_client19 = require("@apollo/client");
2682
+ var CONTACT_US_MUTATION = import_client19.gql`
2648
2683
  mutation contactUs($input: ContactUsInputType!) {
2649
2684
  contactUs(input: $input) {
2650
2685
  message
@@ -2654,16 +2689,16 @@ var CONTACT_US_MUTATION = import_client18.gql`
2654
2689
 
2655
2690
  // src/graphql/hooks/contactUs.ts
2656
2691
  var useContactUs = () => {
2657
- const [contactUs, { loading, error }] = (0, import_client19.useMutation)(CONTACT_US_MUTATION);
2692
+ const [contactUs, { loading, error }] = (0, import_client20.useMutation)(CONTACT_US_MUTATION);
2658
2693
  return { contactUs, error, loading };
2659
2694
  };
2660
2695
 
2661
2696
  // src/graphql/hooks/event/hooksMutation.ts
2662
- var import_client22 = require("@apollo/client");
2697
+ var import_client23 = require("@apollo/client");
2663
2698
 
2664
2699
  // src/graphql/mutations/event.ts
2665
- var import_client20 = require("@apollo/client");
2666
- var CREATE_EVENT_MUTATION = import_client20.gql`
2700
+ var import_client21 = require("@apollo/client");
2701
+ var CREATE_EVENT_MUTATION = import_client21.gql`
2667
2702
  mutation createEvent($input: EventInputType!) {
2668
2703
  createEvent(input: $input) {
2669
2704
  ...EventFields
@@ -2671,7 +2706,7 @@ var CREATE_EVENT_MUTATION = import_client20.gql`
2671
2706
  }
2672
2707
  ${EVENT}
2673
2708
  `;
2674
- var UPDATE_EVENT_MUTATION = import_client20.gql`
2709
+ var UPDATE_EVENT_MUTATION = import_client21.gql`
2675
2710
  mutation updateEvent($_id: ID!, $input: EventInputType!) {
2676
2711
  updateEvent(_id: $_id, input: $input) {
2677
2712
  ...EventFields
@@ -2679,12 +2714,12 @@ var UPDATE_EVENT_MUTATION = import_client20.gql`
2679
2714
  }
2680
2715
  ${EVENT}
2681
2716
  `;
2682
- var DELETE_EVENT_MUTATION = import_client20.gql`
2717
+ var DELETE_EVENT_MUTATION = import_client21.gql`
2683
2718
  mutation deleteEvent($_id: ID!) {
2684
2719
  deleteEvent(_id: $_id)
2685
2720
  }
2686
2721
  `;
2687
- var CREATE_EVENT_INFO_MUTATION = import_client20.gql`
2722
+ var CREATE_EVENT_INFO_MUTATION = import_client21.gql`
2688
2723
  mutation createEventInfo($input: EventInfoInputType!) {
2689
2724
  createEventInfo(input: $input) {
2690
2725
  ...EventInfoFields
@@ -2692,7 +2727,7 @@ var CREATE_EVENT_INFO_MUTATION = import_client20.gql`
2692
2727
  }
2693
2728
  ${EVENT_INFO}
2694
2729
  `;
2695
- var UPDATE_EVENT_INFO_MUTATION = import_client20.gql`
2730
+ var UPDATE_EVENT_INFO_MUTATION = import_client21.gql`
2696
2731
  mutation updateEventInfo($_id: ID!, $input: EventInfoInputType!) {
2697
2732
  updateEventInfo(_id: $_id, input: $input) {
2698
2733
  ...EventInfoFields
@@ -2702,8 +2737,8 @@ var UPDATE_EVENT_INFO_MUTATION = import_client20.gql`
2702
2737
  `;
2703
2738
 
2704
2739
  // src/graphql/queries/user.ts
2705
- var import_client21 = require("@apollo/client");
2706
- var GET_USERS = import_client21.gql`
2740
+ var import_client22 = require("@apollo/client");
2741
+ var GET_USERS = import_client22.gql`
2707
2742
  query getUsers {
2708
2743
  users {
2709
2744
  ...UserFields
@@ -2711,7 +2746,7 @@ var GET_USERS = import_client21.gql`
2711
2746
  }
2712
2747
  ${USER_FIELDS_FRAGMENT}
2713
2748
  `;
2714
- var GET_USER = import_client21.gql`
2749
+ var GET_USER = import_client22.gql`
2715
2750
  query getUser($_id: ID!) {
2716
2751
  user(_id: $_id) {
2717
2752
  ...UserFields
@@ -2719,7 +2754,7 @@ var GET_USER = import_client21.gql`
2719
2754
  }
2720
2755
  ${USER_FIELDS_FRAGMENT}
2721
2756
  `;
2722
- var GET_USER_EVENTS = import_client21.gql`
2757
+ var GET_USER_EVENTS = import_client22.gql`
2723
2758
  query getUserEvents {
2724
2759
  userEvents {
2725
2760
  ...EventFields
@@ -2727,7 +2762,7 @@ var GET_USER_EVENTS = import_client21.gql`
2727
2762
  }
2728
2763
  ${EVENT}
2729
2764
  `;
2730
- var GET_USER_VENDORS = import_client21.gql`
2765
+ var GET_USER_VENDORS = import_client22.gql`
2731
2766
  query getUserVendors {
2732
2767
  userVendors {
2733
2768
  ...VendorFields
@@ -2735,7 +2770,7 @@ var GET_USER_VENDORS = import_client21.gql`
2735
2770
  }
2736
2771
  ${VENDOR}
2737
2772
  `;
2738
- var GET_USER_PARTNERS = import_client21.gql`
2773
+ var GET_USER_PARTNERS = import_client22.gql`
2739
2774
  query getUserPartners {
2740
2775
  userPartners {
2741
2776
  ...PartnerFields
@@ -2743,7 +2778,7 @@ var GET_USER_PARTNERS = import_client21.gql`
2743
2778
  }
2744
2779
  ${PARTNER}
2745
2780
  `;
2746
- var GET_USER_ACTIVITIES = import_client21.gql`
2781
+ var GET_USER_ACTIVITIES = import_client22.gql`
2747
2782
  query getUserActivities {
2748
2783
  userActivities {
2749
2784
  favourites {
@@ -2778,7 +2813,7 @@ var GET_USER_ACTIVITIES = import_client21.gql`
2778
2813
  ${VENDOR}
2779
2814
  ${PARTNER}
2780
2815
  `;
2781
- var GET_USER_RESOURCES = import_client21.gql`
2816
+ var GET_USER_RESOURCES = import_client22.gql`
2782
2817
  query getUserResources($userId: ID!) {
2783
2818
  userResources(userId: $userId) {
2784
2819
  resources {
@@ -2793,14 +2828,14 @@ var GET_USER_RESOURCES = import_client21.gql`
2793
2828
 
2794
2829
  // src/graphql/hooks/event/hooksMutation.ts
2795
2830
  var useCreateEvent = () => {
2796
- const [createEvent, { loading, error }] = (0, import_client22.useMutation)(CREATE_EVENT_MUTATION, {
2831
+ const [createEvent, { loading, error }] = (0, import_client23.useMutation)(CREATE_EVENT_MUTATION, {
2797
2832
  awaitRefetchQueries: true,
2798
2833
  refetchQueries: [{ query: GET_USER_EVENTS }]
2799
2834
  });
2800
2835
  return { createEvent, error, loading };
2801
2836
  };
2802
2837
  var useUpdateEvent = () => {
2803
- const [updateEvent, { loading, error }] = (0, import_client22.useMutation)(UPDATE_EVENT_MUTATION, {
2838
+ const [updateEvent, { loading, error }] = (0, import_client23.useMutation)(UPDATE_EVENT_MUTATION, {
2804
2839
  awaitRefetchQueries: true,
2805
2840
  refetchQueries: (mutationResult) => {
2806
2841
  const eventId = mutationResult?.data?.updateEvent?._id;
@@ -2823,14 +2858,14 @@ var useUpdateEvent = () => {
2823
2858
  return { error, loading, updateEvent };
2824
2859
  };
2825
2860
  var useDeleteEvent = () => {
2826
- const [deleteEvent, { loading, error }] = (0, import_client22.useMutation)(DELETE_EVENT_MUTATION, {
2861
+ const [deleteEvent, { loading, error }] = (0, import_client23.useMutation)(DELETE_EVENT_MUTATION, {
2827
2862
  awaitRefetchQueries: true,
2828
2863
  refetchQueries: [{ query: GET_USER_EVENTS }]
2829
2864
  });
2830
2865
  return { deleteEvent, error, loading };
2831
2866
  };
2832
2867
  var useCreateEventInfo = () => {
2833
- const [createEventInfo, { loading, error }] = (0, import_client22.useMutation)(CREATE_EVENT_INFO_MUTATION, {
2868
+ const [createEventInfo, { loading, error }] = (0, import_client23.useMutation)(CREATE_EVENT_INFO_MUTATION, {
2834
2869
  awaitRefetchQueries: true,
2835
2870
  refetchQueries: (mutationResult) => {
2836
2871
  const eventId = mutationResult?.data?.createEventInfo?.eventId;
@@ -2854,7 +2889,7 @@ var useCreateEventInfo = () => {
2854
2889
  return { createEventInfo, error, loading };
2855
2890
  };
2856
2891
  var useUpdateEventInfo = () => {
2857
- const [updateEventInfo, { loading, error }] = (0, import_client22.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
2892
+ const [updateEventInfo, { loading, error }] = (0, import_client23.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
2858
2893
  awaitRefetchQueries: true,
2859
2894
  refetchQueries: (mutationResult) => {
2860
2895
  const eventId = mutationResult?.data?.updateEventInfo?.eventId;
@@ -2878,9 +2913,9 @@ var useUpdateEventInfo = () => {
2878
2913
  };
2879
2914
 
2880
2915
  // src/graphql/hooks/event/hooksQuery.ts
2881
- var import_client23 = require("@apollo/client");
2916
+ var import_client24 = require("@apollo/client");
2882
2917
  var useGetEvents = (dateStatus) => {
2883
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENTS, {
2918
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENTS, {
2884
2919
  fetchPolicy: "network-only",
2885
2920
  variables: { dateStatus }
2886
2921
  });
@@ -2888,7 +2923,7 @@ var useGetEvents = (dateStatus) => {
2888
2923
  return { error, events, loading, refetch };
2889
2924
  };
2890
2925
  var useGetEvent = (_id) => {
2891
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENT, {
2926
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT, {
2892
2927
  fetchPolicy: "network-only",
2893
2928
  skip: !_id,
2894
2929
  variables: { _id }
@@ -2897,7 +2932,7 @@ var useGetEvent = (_id) => {
2897
2932
  return { error, event, loading, refetch };
2898
2933
  };
2899
2934
  var useGetEventByPlaceId = (googlePlaceId) => {
2900
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENT_BY_PLACE_ID, {
2935
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT_BY_PLACE_ID, {
2901
2936
  fetchPolicy: "network-only",
2902
2937
  skip: !googlePlaceId,
2903
2938
  variables: { googlePlaceId }
@@ -2911,7 +2946,7 @@ var useGetEventsByRegion = (region, options, dateStatus) => {
2911
2946
  options,
2912
2947
  region
2913
2948
  };
2914
- const { loading, error, data, refetch, fetchMore } = (0, import_client23.useQuery)(GET_EVENTS_BY_REGION, {
2949
+ const { loading, error, data, refetch, fetchMore } = (0, import_client24.useQuery)(GET_EVENTS_BY_REGION, {
2915
2950
  fetchPolicy: "network-only",
2916
2951
  skip: !region || region === "",
2917
2952
  variables
@@ -2929,7 +2964,7 @@ var useSearchEvents = (region, searchQuery, tags, dateStatus) => {
2929
2964
  const normalizedSearch = searchQuery?.trim() ?? "";
2930
2965
  const normalizedTags = (tags ?? []).filter(Boolean);
2931
2966
  const shouldRunQuery = Boolean(region?.trim()) && (normalizedSearch.length > 3 || normalizedTags.length > 0);
2932
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(SEARCH_EVENTS, {
2967
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(SEARCH_EVENTS, {
2933
2968
  fetchPolicy: "network-only",
2934
2969
  skip: !shouldRunQuery,
2935
2970
  variables: {
@@ -2947,7 +2982,7 @@ var useSearchEvents = (region, searchQuery, tags, dateStatus) => {
2947
2982
  };
2948
2983
  };
2949
2984
  var useGetEventsNearMe = (location, dateStatus) => {
2950
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENTS_NEAR_ME, {
2985
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENTS_NEAR_ME, {
2951
2986
  fetchPolicy: "network-only",
2952
2987
  skip: !location.latitude || !location.longitude,
2953
2988
  variables: {
@@ -2962,7 +2997,7 @@ var useGetEventsNearMe = (location, dateStatus) => {
2962
2997
  return { error, eventsNearMe, loading, refetch };
2963
2998
  };
2964
2999
  var useGetEventInfo = (eventId) => {
2965
- const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENT_INFO, {
3000
+ const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT_INFO, {
2966
3001
  fetchPolicy: "network-only",
2967
3002
  skip: !eventId || eventId === "",
2968
3003
  variables: { eventId }
@@ -2972,14 +3007,14 @@ var useGetEventInfo = (eventId) => {
2972
3007
  };
2973
3008
 
2974
3009
  // src/graphql/hooks/notifications/hooksMutation.ts
2975
- var import_client26 = require("@apollo/client");
3010
+ var import_client27 = require("@apollo/client");
2976
3011
 
2977
3012
  // src/graphql/mutations/notification.ts
2978
- var import_client25 = require("@apollo/client");
3013
+ var import_client26 = require("@apollo/client");
2979
3014
 
2980
3015
  // src/graphql/queries/notification.ts
2981
- var import_client24 = require("@apollo/client");
2982
- var NOTIFICATION_FRAGMENT = import_client24.gql`
3016
+ var import_client25 = require("@apollo/client");
3017
+ var NOTIFICATION_FRAGMENT = import_client25.gql`
2983
3018
  fragment NotificationFields on Notification {
2984
3019
  _id
2985
3020
  userId
@@ -2996,7 +3031,7 @@ var NOTIFICATION_FRAGMENT = import_client24.gql`
2996
3031
  updatedAt
2997
3032
  }
2998
3033
  `;
2999
- var GET_USER_NOTIFICATIONS = import_client24.gql`
3034
+ var GET_USER_NOTIFICATIONS = import_client25.gql`
3000
3035
  query getUserNotifications($limit: Int, $offset: Int) {
3001
3036
  userNotifications(limit: $limit, offset: $offset) {
3002
3037
  ...NotificationFields
@@ -3004,7 +3039,7 @@ var GET_USER_NOTIFICATIONS = import_client24.gql`
3004
3039
  }
3005
3040
  ${NOTIFICATION_FRAGMENT}
3006
3041
  `;
3007
- var GET_NOTIFICATION_COUNT = import_client24.gql`
3042
+ var GET_NOTIFICATION_COUNT = import_client25.gql`
3008
3043
  query getNotificationCount {
3009
3044
  notificationCount {
3010
3045
  total
@@ -3014,7 +3049,7 @@ var GET_NOTIFICATION_COUNT = import_client24.gql`
3014
3049
  `;
3015
3050
 
3016
3051
  // src/graphql/mutations/notification.ts
3017
- var CREATE_BULK_NOTIFICATIONS = import_client25.gql`
3052
+ var CREATE_BULK_NOTIFICATIONS = import_client26.gql`
3018
3053
  mutation createBulkNotifications($input: CreateBulkNotificationInput!) {
3019
3054
  createBulkNotifications(input: $input) {
3020
3055
  ...NotificationFields
@@ -3022,7 +3057,7 @@ var CREATE_BULK_NOTIFICATIONS = import_client25.gql`
3022
3057
  }
3023
3058
  ${NOTIFICATION_FRAGMENT}
3024
3059
  `;
3025
- var MARK_NOTIFICATION_READ = import_client25.gql`
3060
+ var MARK_NOTIFICATION_READ = import_client26.gql`
3026
3061
  mutation markNotificationRead($_id: ID!) {
3027
3062
  markNotificationRead(_id: $_id) {
3028
3063
  ...NotificationFields
@@ -3030,17 +3065,17 @@ var MARK_NOTIFICATION_READ = import_client25.gql`
3030
3065
  }
3031
3066
  ${NOTIFICATION_FRAGMENT}
3032
3067
  `;
3033
- var MARK_ALL_NOTIFICATIONS_READ = import_client25.gql`
3068
+ var MARK_ALL_NOTIFICATIONS_READ = import_client26.gql`
3034
3069
  mutation markAllNotificationsRead {
3035
3070
  markAllNotificationsRead
3036
3071
  }
3037
3072
  `;
3038
- var DELETE_NOTIFICATION = import_client25.gql`
3073
+ var DELETE_NOTIFICATION = import_client26.gql`
3039
3074
  mutation deleteNotification($_id: ID!) {
3040
3075
  deleteNotification(_id: $_id)
3041
3076
  }
3042
3077
  `;
3043
- var DELETE_ALL_NOTIFICATIONS = import_client25.gql`
3078
+ var DELETE_ALL_NOTIFICATIONS = import_client26.gql`
3044
3079
  mutation deleteAllNotifications {
3045
3080
  deleteAllNotifications
3046
3081
  }
@@ -3048,13 +3083,13 @@ var DELETE_ALL_NOTIFICATIONS = import_client25.gql`
3048
3083
 
3049
3084
  // src/graphql/hooks/notifications/hooksMutation.ts
3050
3085
  var useCreateBulkNotifications = () => {
3051
- const [createBulkNotifications, { loading, error }] = (0, import_client26.useMutation)(
3086
+ const [createBulkNotifications, { loading, error }] = (0, import_client27.useMutation)(
3052
3087
  CREATE_BULK_NOTIFICATIONS
3053
3088
  );
3054
3089
  return { createBulkNotifications, error, loading };
3055
3090
  };
3056
3091
  var useMarkNotificationRead = () => {
3057
- const [markNotificationRead, { loading, error }] = (0, import_client26.useMutation)(
3092
+ const [markNotificationRead, { loading, error }] = (0, import_client27.useMutation)(
3058
3093
  MARK_NOTIFICATION_READ,
3059
3094
  {
3060
3095
  refetchQueries: [
@@ -3070,7 +3105,7 @@ var useMarkNotificationRead = () => {
3070
3105
  return { error, loading, markNotificationRead };
3071
3106
  };
3072
3107
  var useMarkAllNotificationsRead = () => {
3073
- const [markAllNotificationsRead, { loading, error }] = (0, import_client26.useMutation)(
3108
+ const [markAllNotificationsRead, { loading, error }] = (0, import_client27.useMutation)(
3074
3109
  MARK_ALL_NOTIFICATIONS_READ,
3075
3110
  {
3076
3111
  refetchQueries: [
@@ -3086,7 +3121,7 @@ var useMarkAllNotificationsRead = () => {
3086
3121
  return { error, loading, markAllNotificationsRead };
3087
3122
  };
3088
3123
  var useDeleteNotification = () => {
3089
- const [deleteNotification, { loading, error }] = (0, import_client26.useMutation)(
3124
+ const [deleteNotification, { loading, error }] = (0, import_client27.useMutation)(
3090
3125
  DELETE_NOTIFICATION,
3091
3126
  {
3092
3127
  refetchQueries: [
@@ -3102,7 +3137,7 @@ var useDeleteNotification = () => {
3102
3137
  return { deleteNotification, error, loading };
3103
3138
  };
3104
3139
  var useDeleteAllNotifications = () => {
3105
- const [deleteAllNotifications, { loading, error }] = (0, import_client26.useMutation)(
3140
+ const [deleteAllNotifications, { loading, error }] = (0, import_client27.useMutation)(
3106
3141
  DELETE_ALL_NOTIFICATIONS,
3107
3142
  {
3108
3143
  refetchQueries: [
@@ -3119,9 +3154,9 @@ var useDeleteAllNotifications = () => {
3119
3154
  };
3120
3155
 
3121
3156
  // src/graphql/hooks/notifications/hooksQuery.ts
3122
- var import_client27 = require("@apollo/client");
3157
+ var import_client28 = require("@apollo/client");
3123
3158
  var useGetUserNotifications = (limit, offset) => {
3124
- const { data, loading, error, refetch } = (0, import_client27.useQuery)(GET_USER_NOTIFICATIONS, {
3159
+ const { data, loading, error, refetch } = (0, import_client28.useQuery)(GET_USER_NOTIFICATIONS, {
3125
3160
  fetchPolicy: "no-cache",
3126
3161
  variables: { limit, offset }
3127
3162
  });
@@ -3133,7 +3168,7 @@ var useGetUserNotifications = (limit, offset) => {
3133
3168
  };
3134
3169
  };
3135
3170
  var useGetNotificationCount = () => {
3136
- const { data, loading, error, refetch } = (0, import_client27.useQuery)(GET_NOTIFICATION_COUNT, {
3171
+ const { data, loading, error, refetch } = (0, import_client28.useQuery)(GET_NOTIFICATION_COUNT, {
3137
3172
  fetchPolicy: "no-cache"
3138
3173
  });
3139
3174
  return {
@@ -3145,11 +3180,11 @@ var useGetNotificationCount = () => {
3145
3180
  };
3146
3181
 
3147
3182
  // src/graphql/hooks/notifications/hooksSubscription.ts
3148
- var import_client29 = require("@apollo/client");
3183
+ var import_client30 = require("@apollo/client");
3149
3184
 
3150
3185
  // src/graphql/subscriptions/notification.ts
3151
- var import_client28 = require("@apollo/client");
3152
- var GET_NOTIFICATIONS_SUBSCRIPTION = import_client28.gql`
3186
+ var import_client29 = require("@apollo/client");
3187
+ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client29.gql`
3153
3188
  subscription {
3154
3189
  getUserNotifications {
3155
3190
  ...NotificationFields
@@ -3157,7 +3192,7 @@ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client28.gql`
3157
3192
  }
3158
3193
  ${NOTIFICATION_FRAGMENT}
3159
3194
  `;
3160
- var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client28.gql`
3195
+ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client29.gql`
3161
3196
  subscription {
3162
3197
  getNotificationCount {
3163
3198
  total
@@ -3168,7 +3203,7 @@ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client28.gql`
3168
3203
 
3169
3204
  // src/graphql/hooks/notifications/hooksSubscription.ts
3170
3205
  var useGetUserNotificationsSubscription = () => {
3171
- const { data, loading, error } = (0, import_client29.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
3206
+ const { data, loading, error } = (0, import_client30.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
3172
3207
  fetchPolicy: "no-cache",
3173
3208
  shouldResubscribe: true
3174
3209
  });
@@ -3179,7 +3214,7 @@ var useGetUserNotificationsSubscription = () => {
3179
3214
  };
3180
3215
  };
3181
3216
  var useGetNotificationCountSubscription = () => {
3182
- const { data, loading, error } = (0, import_client29.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
3217
+ const { data, loading, error } = (0, import_client30.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
3183
3218
  fetchPolicy: "no-cache",
3184
3219
  shouldResubscribe: true
3185
3220
  });
@@ -3191,11 +3226,11 @@ var useGetNotificationCountSubscription = () => {
3191
3226
  };
3192
3227
 
3193
3228
  // src/graphql/hooks/poster.ts
3194
- var import_client31 = require("@apollo/client");
3229
+ var import_client32 = require("@apollo/client");
3195
3230
 
3196
3231
  // src/graphql/mutations/poster.ts
3197
- var import_client30 = require("@apollo/client");
3198
- var CREATE_POSTER_MUTATION = import_client30.gql`
3232
+ var import_client31 = require("@apollo/client");
3233
+ var CREATE_POSTER_MUTATION = import_client31.gql`
3199
3234
  mutation createPoster($input: PosterInputType!) {
3200
3235
  createPoster(input: $input) {
3201
3236
  message
@@ -3209,7 +3244,7 @@ var CREATE_POSTER_MUTATION = import_client30.gql`
3209
3244
 
3210
3245
  // src/graphql/hooks/poster.ts
3211
3246
  var useCreatePoster = () => {
3212
- const [createPoster, { loading, error }] = (0, import_client31.useMutation)(
3247
+ const [createPoster, { loading, error }] = (0, import_client32.useMutation)(
3213
3248
  CREATE_POSTER_MUTATION,
3214
3249
  {
3215
3250
  refetchQueries: [{ query: GET_USER_EVENTS }, { query: GET_USER_VENDORS }]
@@ -3219,11 +3254,11 @@ var useCreatePoster = () => {
3219
3254
  };
3220
3255
 
3221
3256
  // src/graphql/hooks/pushToken.ts
3222
- var import_client33 = require("@apollo/client");
3257
+ var import_client34 = require("@apollo/client");
3223
3258
 
3224
3259
  // src/graphql/mutations/pushToken.ts
3225
- var import_client32 = require("@apollo/client");
3226
- var CREATE_PUSH_TOKEN_MUTATION = import_client32.gql`
3260
+ var import_client33 = require("@apollo/client");
3261
+ var CREATE_PUSH_TOKEN_MUTATION = import_client33.gql`
3227
3262
  mutation createPushToken($input: PushTokenInput!) {
3228
3263
  createPushToken(input: $input) {
3229
3264
  success
@@ -3233,18 +3268,18 @@ var CREATE_PUSH_TOKEN_MUTATION = import_client32.gql`
3233
3268
 
3234
3269
  // src/graphql/hooks/pushToken.ts
3235
3270
  var useCreatePushToken = () => {
3236
- const [createPushToken, { loading, error }] = (0, import_client33.useMutation)(
3271
+ const [createPushToken, { loading, error }] = (0, import_client34.useMutation)(
3237
3272
  CREATE_PUSH_TOKEN_MUTATION
3238
3273
  );
3239
3274
  return { createPushToken, error, loading };
3240
3275
  };
3241
3276
 
3242
3277
  // src/graphql/hooks/relation/hooksMutation.ts
3243
- var import_client35 = require("@apollo/client");
3278
+ var import_client36 = require("@apollo/client");
3244
3279
 
3245
3280
  // src/graphql/mutations/relation.ts
3246
- var import_client34 = require("@apollo/client");
3247
- var CREATE_RELATION_MUTATION = import_client34.gql`
3281
+ var import_client35 = require("@apollo/client");
3282
+ var CREATE_RELATION_MUTATION = import_client35.gql`
3248
3283
  mutation createRelation($input: RelationInputType!) {
3249
3284
  createRelation(input: $input) {
3250
3285
  ...RelationFields
@@ -3252,7 +3287,7 @@ var CREATE_RELATION_MUTATION = import_client34.gql`
3252
3287
  }
3253
3288
  ${RELATION_FIELDS_FRAGMENT}
3254
3289
  `;
3255
- var UPDATE_RELATION_MUTATION = import_client34.gql`
3290
+ var UPDATE_RELATION_MUTATION = import_client35.gql`
3256
3291
  mutation updateRelation($_id: ID!, $input: RelationInputType!) {
3257
3292
  updateRelation(_id: $_id, input: $input) {
3258
3293
  ...RelationFields
@@ -3260,7 +3295,7 @@ var UPDATE_RELATION_MUTATION = import_client34.gql`
3260
3295
  }
3261
3296
  ${RELATION_FIELDS_FRAGMENT}
3262
3297
  `;
3263
- var DELETE_RELATION_MUTATION = import_client34.gql`
3298
+ var DELETE_RELATION_MUTATION = import_client35.gql`
3264
3299
  mutation deleteRelation($_id: ID!) {
3265
3300
  deleteRelation(_id: $_id) {
3266
3301
  ...RelationFields
@@ -3271,7 +3306,7 @@ var DELETE_RELATION_MUTATION = import_client34.gql`
3271
3306
 
3272
3307
  // src/graphql/hooks/relation/hooksMutation.ts
3273
3308
  var useCreateRelation = () => {
3274
- const [createRelation, { loading, error }] = (0, import_client35.useMutation)(CREATE_RELATION_MUTATION, {
3309
+ const [createRelation, { loading, error }] = (0, import_client36.useMutation)(CREATE_RELATION_MUTATION, {
3275
3310
  awaitRefetchQueries: true,
3276
3311
  refetchQueries: (mutationResult) => {
3277
3312
  const createRelation2 = mutationResult?.data?.createRelation;
@@ -3317,7 +3352,7 @@ var useCreateRelation = () => {
3317
3352
  return { createRelation, error, loading };
3318
3353
  };
3319
3354
  var useUpdateRelation = () => {
3320
- const [updateRelation, { loading, error }] = (0, import_client35.useMutation)(UPDATE_RELATION_MUTATION, {
3355
+ const [updateRelation, { loading, error }] = (0, import_client36.useMutation)(UPDATE_RELATION_MUTATION, {
3321
3356
  awaitRefetchQueries: true,
3322
3357
  refetchQueries: (mutationResult) => {
3323
3358
  const updateRelation2 = mutationResult?.data?.updateRelation;
@@ -3360,7 +3395,7 @@ var useUpdateRelation = () => {
3360
3395
  return { error, loading, updateRelation };
3361
3396
  };
3362
3397
  var useDeleteRelation = () => {
3363
- const [deleteRelation, { loading, error }] = (0, import_client35.useMutation)(DELETE_RELATION_MUTATION, {
3398
+ const [deleteRelation, { loading, error }] = (0, import_client36.useMutation)(DELETE_RELATION_MUTATION, {
3364
3399
  awaitRefetchQueries: true,
3365
3400
  refetchQueries: (mutationResult) => {
3366
3401
  const deleteRelation2 = mutationResult?.data?.deleteRelation;
@@ -3399,9 +3434,9 @@ var useDeleteRelation = () => {
3399
3434
  };
3400
3435
 
3401
3436
  // src/graphql/hooks/relation/hooksQuery.ts
3402
- var import_client36 = require("@apollo/client");
3437
+ var import_client37 = require("@apollo/client");
3403
3438
  var useGetRelation = (_id) => {
3404
- const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_RELATION, {
3439
+ const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RELATION, {
3405
3440
  fetchPolicy: "network-only",
3406
3441
  skip: !_id,
3407
3442
  variables: _id ? { _id } : void 0
@@ -3410,7 +3445,7 @@ var useGetRelation = (_id) => {
3410
3445
  return { error, loading, refetch, relation };
3411
3446
  };
3412
3447
  var useGetRelationByEventAndVendor = (eventId, vendorId) => {
3413
- const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
3448
+ const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
3414
3449
  fetchPolicy: "network-only",
3415
3450
  skip: !eventId || eventId === "" || !vendorId || vendorId === "",
3416
3451
  variables: { eventId, vendorId }
@@ -3419,7 +3454,7 @@ var useGetRelationByEventAndVendor = (eventId, vendorId) => {
3419
3454
  return { error, loading, refetch, relationByEventAndVendor };
3420
3455
  };
3421
3456
  var useGetEventRelations = (eventId) => {
3422
- const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_EVENT_RELATIONS, {
3457
+ const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_EVENT_RELATIONS, {
3423
3458
  fetchPolicy: "network-only",
3424
3459
  skip: !eventId || eventId === "",
3425
3460
  variables: { eventId }
@@ -3428,7 +3463,7 @@ var useGetEventRelations = (eventId) => {
3428
3463
  return { error, eventRelations, loading, refetch };
3429
3464
  };
3430
3465
  var useGetVendorRelations = (vendorId) => {
3431
- const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_VENDOR_RELATIONS, {
3466
+ const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_VENDOR_RELATIONS, {
3432
3467
  fetchPolicy: "network-only",
3433
3468
  skip: !vendorId || vendorId === "",
3434
3469
  variables: { vendorId }
@@ -3437,7 +3472,7 @@ var useGetVendorRelations = (vendorId) => {
3437
3472
  return { error, loading, refetch, vendorRelations };
3438
3473
  };
3439
3474
  var useGetResourceConnections = (resourceId, resourceType) => {
3440
- const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_RESOURCE_CONNECTIONS, {
3475
+ const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RESOURCE_CONNECTIONS, {
3441
3476
  fetchPolicy: "network-only",
3442
3477
  skip: !resourceId || resourceId === "" || !resourceType,
3443
3478
  variables: { resourceId, resourceType }
@@ -3447,11 +3482,11 @@ var useGetResourceConnections = (resourceId, resourceType) => {
3447
3482
  };
3448
3483
 
3449
3484
  // src/graphql/hooks/vendor/hooksMutation.ts
3450
- var import_client38 = require("@apollo/client");
3485
+ var import_client39 = require("@apollo/client");
3451
3486
 
3452
3487
  // src/graphql/mutations/vendor.ts
3453
- var import_client37 = require("@apollo/client");
3454
- var CREATE_VENDOR_MUTATION = import_client37.gql`
3488
+ var import_client38 = require("@apollo/client");
3489
+ var CREATE_VENDOR_MUTATION = import_client38.gql`
3455
3490
  mutation createVendor($input: VendorInputType!) {
3456
3491
  createVendor(input: $input) {
3457
3492
  ...VendorFields
@@ -3459,7 +3494,7 @@ var CREATE_VENDOR_MUTATION = import_client37.gql`
3459
3494
  }
3460
3495
  ${VENDOR}
3461
3496
  `;
3462
- var UPDATE_VENDOR_MUTATION = import_client37.gql`
3497
+ var UPDATE_VENDOR_MUTATION = import_client38.gql`
3463
3498
  mutation updateVendor($_id: ID!, $input: VendorInputType!) {
3464
3499
  updateVendor(_id: $_id, input: $input) {
3465
3500
  ...VendorFields
@@ -3467,12 +3502,12 @@ var UPDATE_VENDOR_MUTATION = import_client37.gql`
3467
3502
  }
3468
3503
  ${VENDOR}
3469
3504
  `;
3470
- var DELETE_VENDOR_MUTATION = import_client37.gql`
3505
+ var DELETE_VENDOR_MUTATION = import_client38.gql`
3471
3506
  mutation deleteVendor($_id: ID!) {
3472
3507
  deleteVendor(_id: $_id)
3473
3508
  }
3474
3509
  `;
3475
- var CREATE_VENDOR_INFO_MUTATION = import_client37.gql`
3510
+ var CREATE_VENDOR_INFO_MUTATION = import_client38.gql`
3476
3511
  mutation createVendorInfo($input: VendorInfoInputType!) {
3477
3512
  createVendorInfo(input: $input) {
3478
3513
  ...VendorInfoFields
@@ -3480,7 +3515,7 @@ var CREATE_VENDOR_INFO_MUTATION = import_client37.gql`
3480
3515
  }
3481
3516
  ${VENDOR_INFO}
3482
3517
  `;
3483
- var UPDATE_VENDOR_INFO_MUTATION = import_client37.gql`
3518
+ var UPDATE_VENDOR_INFO_MUTATION = import_client38.gql`
3484
3519
  mutation updateVendorInfo($_id: ID!, $input: VendorInfoInputType!) {
3485
3520
  updateVendorInfo(_id: $_id, input: $input) {
3486
3521
  ...VendorInfoFields
@@ -3488,7 +3523,7 @@ var UPDATE_VENDOR_INFO_MUTATION = import_client37.gql`
3488
3523
  }
3489
3524
  ${VENDOR_INFO}
3490
3525
  `;
3491
- var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client37.gql`
3526
+ var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
3492
3527
  mutation createUnregisteredVendor($input: UnregisteredVendorInputType!) {
3493
3528
  createUnregisteredVendor(input: $input) {
3494
3529
  ...UnregisteredVendorFields
@@ -3496,7 +3531,7 @@ var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client37.gql`
3496
3531
  }
3497
3532
  ${UNREGISTERED_VENDOR}
3498
3533
  `;
3499
- var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client37.gql`
3534
+ var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
3500
3535
  mutation updateUnregisteredVendor(
3501
3536
  $_id: ID!
3502
3537
  $input: UnregisteredVendorInputType!
@@ -3507,12 +3542,12 @@ var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client37.gql`
3507
3542
  }
3508
3543
  ${UNREGISTERED_VENDOR}
3509
3544
  `;
3510
- var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client37.gql`
3545
+ var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
3511
3546
  mutation deleteUnregisteredVendor($_id: ID!) {
3512
3547
  deleteUnregisteredVendor(_id: $_id)
3513
3548
  }
3514
3549
  `;
3515
- var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client37.gql`
3550
+ var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client38.gql`
3516
3551
  mutation unlinkUnregisteredVendorByInviterId($_id: ID!, $inviterId: ID!) {
3517
3552
  unlinkUnregisteredVendorByInviterId(_id: $_id, inviterId: $inviterId)
3518
3553
  }
@@ -3520,7 +3555,7 @@ var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client37.gql`
3520
3555
 
3521
3556
  // src/graphql/hooks/vendor/hooksMutation.ts
3522
3557
  var useCreateVendor = () => {
3523
- const [createVendor, { loading, error }] = (0, import_client38.useMutation)(
3558
+ const [createVendor, { loading, error }] = (0, import_client39.useMutation)(
3524
3559
  CREATE_VENDOR_MUTATION,
3525
3560
  {
3526
3561
  awaitRefetchQueries: true,
@@ -3530,7 +3565,7 @@ var useCreateVendor = () => {
3530
3565
  return { createVendor, error, loading };
3531
3566
  };
3532
3567
  var useUpdateVendor = () => {
3533
- const [updateVendor, { loading, error }] = (0, import_client38.useMutation)(
3568
+ const [updateVendor, { loading, error }] = (0, import_client39.useMutation)(
3534
3569
  UPDATE_VENDOR_MUTATION,
3535
3570
  {
3536
3571
  awaitRefetchQueries: true,
@@ -3540,7 +3575,7 @@ var useUpdateVendor = () => {
3540
3575
  return { error, loading, updateVendor };
3541
3576
  };
3542
3577
  var useDeleteVendor = () => {
3543
- const [deleteVendor, { loading, error }] = (0, import_client38.useMutation)(
3578
+ const [deleteVendor, { loading, error }] = (0, import_client39.useMutation)(
3544
3579
  DELETE_VENDOR_MUTATION,
3545
3580
  {
3546
3581
  awaitRefetchQueries: true,
@@ -3550,7 +3585,7 @@ var useDeleteVendor = () => {
3550
3585
  return { deleteVendor, error, loading };
3551
3586
  };
3552
3587
  var useCreateVendorInfo = () => {
3553
- const [createVendorInfo, { loading, error }] = (0, import_client38.useMutation)(CREATE_VENDOR_INFO_MUTATION, {
3588
+ const [createVendorInfo, { loading, error }] = (0, import_client39.useMutation)(CREATE_VENDOR_INFO_MUTATION, {
3554
3589
  awaitRefetchQueries: true,
3555
3590
  refetchQueries: (mutationResult) => {
3556
3591
  const vendorId = mutationResult?.data?.createVendorInfo?.vendorId;
@@ -3574,7 +3609,7 @@ var useCreateVendorInfo = () => {
3574
3609
  return { createVendorInfo, error, loading };
3575
3610
  };
3576
3611
  var useUpdateVendorInfo = () => {
3577
- const [updateVendorInfo, { loading, error }] = (0, import_client38.useMutation)(UPDATE_VENDOR_INFO_MUTATION, {
3612
+ const [updateVendorInfo, { loading, error }] = (0, import_client39.useMutation)(UPDATE_VENDOR_INFO_MUTATION, {
3578
3613
  awaitRefetchQueries: true,
3579
3614
  refetchQueries: (mutationResult) => {
3580
3615
  const vendorId = mutationResult?.data?.updateVendorInfo?.vendorId;
@@ -3591,34 +3626,34 @@ var useUpdateVendorInfo = () => {
3591
3626
  return { error, loading, updateVendorInfo };
3592
3627
  };
3593
3628
  var useCreateUnregisteredVendor = () => {
3594
- const [createUnregisteredVendor, { loading, error }] = (0, import_client38.useMutation)(
3629
+ const [createUnregisteredVendor, { loading, error }] = (0, import_client39.useMutation)(
3595
3630
  CREATE_UNREGISTERED_VENDOR_MUTATION
3596
3631
  );
3597
3632
  return { createUnregisteredVendor, error, loading };
3598
3633
  };
3599
3634
  var useUpdateUnregisteredVendor = () => {
3600
- const [updateUnregisteredVendor, { loading, error }] = (0, import_client38.useMutation)(
3635
+ const [updateUnregisteredVendor, { loading, error }] = (0, import_client39.useMutation)(
3601
3636
  UPDATE_UNREGISTERED_VENDOR_MUTATION
3602
3637
  );
3603
3638
  return { error, loading, updateUnregisteredVendor };
3604
3639
  };
3605
3640
  var useDeleteUnregisteredVendor = () => {
3606
- const [deleteUnregisteredVendor, { loading, error }] = (0, import_client38.useMutation)(
3641
+ const [deleteUnregisteredVendor, { loading, error }] = (0, import_client39.useMutation)(
3607
3642
  DELETE_UNREGISTERED_VENDOR_MUTATION
3608
3643
  );
3609
3644
  return { deleteUnregisteredVendor, error, loading };
3610
3645
  };
3611
3646
  var useUnlinkUnregisteredVendorByInviterId = () => {
3612
- const [unlinkUnregisteredVendorByInviterId, { loading, error }] = (0, import_client38.useMutation)(
3647
+ const [unlinkUnregisteredVendorByInviterId, { loading, error }] = (0, import_client39.useMutation)(
3613
3648
  UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION
3614
3649
  );
3615
3650
  return { error, loading, unlinkUnregisteredVendorByInviterId };
3616
3651
  };
3617
3652
 
3618
3653
  // src/graphql/hooks/vendor/hooksQuery.ts
3619
- var import_client39 = require("@apollo/client");
3654
+ var import_client40 = require("@apollo/client");
3620
3655
  var useGetVendors = () => {
3621
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(
3656
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(
3622
3657
  GET_VENDORS,
3623
3658
  {
3624
3659
  fetchPolicy: "network-only"
@@ -3633,7 +3668,7 @@ var useGetVendors = () => {
3633
3668
  };
3634
3669
  };
3635
3670
  var useGetVendor = (_id) => {
3636
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(
3671
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(
3637
3672
  GET_VENDOR,
3638
3673
  {
3639
3674
  fetchPolicy: "network-only",
@@ -3649,7 +3684,7 @@ var useGetVendorsByRegion = (region, options) => {
3649
3684
  options,
3650
3685
  region
3651
3686
  };
3652
- const { loading, error, data, refetch, fetchMore } = (0, import_client39.useQuery)(GET_VENDORS_BY_REGION, {
3687
+ const { loading, error, data, refetch, fetchMore } = (0, import_client40.useQuery)(GET_VENDORS_BY_REGION, {
3653
3688
  fetchPolicy: "network-only",
3654
3689
  skip: !region || region === "",
3655
3690
  variables
@@ -3664,7 +3699,7 @@ var useGetVendorsByRegion = (region, options) => {
3664
3699
  };
3665
3700
  };
3666
3701
  var useSearchVendors = (search, region) => {
3667
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(SEARCH_VENDORS, {
3702
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(SEARCH_VENDORS, {
3668
3703
  fetchPolicy: "network-only",
3669
3704
  skip: search.length < 3 || !region || region === "",
3670
3705
  variables: { region, search }
@@ -3673,7 +3708,7 @@ var useSearchVendors = (search, region) => {
3673
3708
  return { error, loading, refetch, vendorSearch };
3674
3709
  };
3675
3710
  var useGetVendorInfo = (vendorId) => {
3676
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_VENDOR_INFO, {
3711
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(GET_VENDOR_INFO, {
3677
3712
  fetchPolicy: "network-only",
3678
3713
  skip: !vendorId || vendorId === "",
3679
3714
  variables: { vendorId }
@@ -3687,7 +3722,7 @@ var useGetVendorInfo = (vendorId) => {
3687
3722
  };
3688
3723
  };
3689
3724
  var useGetUnregisteredVendors = () => {
3690
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_UNREGISTERED_VENDORS, {
3725
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(GET_UNREGISTERED_VENDORS, {
3691
3726
  fetchPolicy: "network-only"
3692
3727
  });
3693
3728
  const unregisteredVendors = data?.unregisteredVendors || [];
@@ -3699,7 +3734,7 @@ var useGetUnregisteredVendors = () => {
3699
3734
  };
3700
3735
  };
3701
3736
  var useGetUnregisteredVendorsByInviterId = (inviterId) => {
3702
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_UNREGISTERED_VENDORS_BY_INVITER_ID, {
3737
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(GET_UNREGISTERED_VENDORS_BY_INVITER_ID, {
3703
3738
  fetchPolicy: "network-only",
3704
3739
  skip: !inviterId || inviterId === "",
3705
3740
  variables: { inviterId }
@@ -3708,7 +3743,7 @@ var useGetUnregisteredVendorsByInviterId = (inviterId) => {
3708
3743
  return { error, loading, refetch, unregisteredVendorsByInviterId };
3709
3744
  };
3710
3745
  var useGetUnregisteredVendor = (_id) => {
3711
- const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_UNREGISTERED_VENDOR, {
3746
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(GET_UNREGISTERED_VENDOR, {
3712
3747
  fetchPolicy: "network-only",
3713
3748
  skip: !_id || _id === "",
3714
3749
  variables: { _id }
@@ -3718,11 +3753,11 @@ var useGetUnregisteredVendor = (_id) => {
3718
3753
  };
3719
3754
 
3720
3755
  // src/graphql/hooks/user/hooksMutation.ts
3721
- var import_client41 = require("@apollo/client");
3756
+ var import_client42 = require("@apollo/client");
3722
3757
 
3723
3758
  // src/graphql/mutations/user.ts
3724
- var import_client40 = require("@apollo/client");
3725
- var CREATE_USER_MUTATION = import_client40.gql`
3759
+ var import_client41 = require("@apollo/client");
3760
+ var CREATE_USER_MUTATION = import_client41.gql`
3726
3761
  mutation createUser($input: UserInputType!) {
3727
3762
  createUser(input: $input) {
3728
3763
  ...UserFields
@@ -3730,7 +3765,7 @@ var CREATE_USER_MUTATION = import_client40.gql`
3730
3765
  }
3731
3766
  ${USER_FIELDS_FRAGMENT}
3732
3767
  `;
3733
- var UPDATE_USER_MUTATION = import_client40.gql`
3768
+ var UPDATE_USER_MUTATION = import_client41.gql`
3734
3769
  mutation updateUser($_id: ID!, $input: UserInputType!) {
3735
3770
  updateUser(_id: $_id, input: $input) {
3736
3771
  ...UserFields
@@ -3738,12 +3773,12 @@ var UPDATE_USER_MUTATION = import_client40.gql`
3738
3773
  }
3739
3774
  ${USER_FIELDS_FRAGMENT}
3740
3775
  `;
3741
- var DELETE_USER_MUTATION = import_client40.gql`
3776
+ var DELETE_USER_MUTATION = import_client41.gql`
3742
3777
  mutation deleteUser($email: String!) {
3743
3778
  deleteUser(email: $email)
3744
3779
  }
3745
3780
  `;
3746
- var REDEEM_REWARD_MUTATION = import_client40.gql`
3781
+ var REDEEM_REWARD_MUTATION = import_client41.gql`
3747
3782
  mutation redeemReward($input: RedeemRewardInputType!) {
3748
3783
  redeemReward(input: $input) {
3749
3784
  message
@@ -3751,7 +3786,7 @@ var REDEEM_REWARD_MUTATION = import_client40.gql`
3751
3786
  }
3752
3787
  }
3753
3788
  `;
3754
- var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client40.gql`
3789
+ var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client41.gql`
3755
3790
  mutation addUserFavouriteResource(
3756
3791
  $resourceId: ID!
3757
3792
  $resourceType: ResourceTypeEnum!
@@ -3765,7 +3800,7 @@ var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client40.gql`
3765
3800
  }
3766
3801
  ${USER_FIELDS_FRAGMENT}
3767
3802
  `;
3768
- var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client40.gql`
3803
+ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client41.gql`
3769
3804
  mutation removeUserFavouriteResource(
3770
3805
  $resourceId: ID!
3771
3806
  $resourceType: ResourceTypeEnum!
@@ -3779,7 +3814,7 @@ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client40.gql`
3779
3814
  }
3780
3815
  ${USER_FIELDS_FRAGMENT}
3781
3816
  `;
3782
- var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client40.gql`
3817
+ var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client41.gql`
3783
3818
  mutation addUserInterestResource($input: UserActivityInputType!) {
3784
3819
  addUserInterestResource(input: $input) {
3785
3820
  ...UserFields
@@ -3787,7 +3822,7 @@ var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client40.gql`
3787
3822
  }
3788
3823
  ${USER_FIELDS_FRAGMENT}
3789
3824
  `;
3790
- var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client40.gql`
3825
+ var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client41.gql`
3791
3826
  mutation removeUserInterestResource($input: UserActivityInputType!) {
3792
3827
  removeUserInterestResource(input: $input) {
3793
3828
  ...UserFields
@@ -3795,7 +3830,7 @@ var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client40.gql`
3795
3830
  }
3796
3831
  ${USER_FIELDS_FRAGMENT}
3797
3832
  `;
3798
- var ADD_USER_GOING_RESOURCE_MUTATION = import_client40.gql`
3833
+ var ADD_USER_GOING_RESOURCE_MUTATION = import_client41.gql`
3799
3834
  mutation addUserGoingResource($input: UserActivityInputType!) {
3800
3835
  addUserGoingResource(input: $input) {
3801
3836
  ...UserFields
@@ -3803,7 +3838,7 @@ var ADD_USER_GOING_RESOURCE_MUTATION = import_client40.gql`
3803
3838
  }
3804
3839
  ${USER_FIELDS_FRAGMENT}
3805
3840
  `;
3806
- var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client40.gql`
3841
+ var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client41.gql`
3807
3842
  mutation removeUserGoingResource($input: UserActivityInputType!) {
3808
3843
  removeUserGoingResource(input: $input) {
3809
3844
  ...UserFields
@@ -3811,7 +3846,7 @@ var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client40.gql`
3811
3846
  }
3812
3847
  ${USER_FIELDS_FRAGMENT}
3813
3848
  `;
3814
- var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client40.gql`
3849
+ var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
3815
3850
  mutation addUserPresentResource($input: UserActivityInputType!) {
3816
3851
  addUserPresentResource(input: $input) {
3817
3852
  ...UserFields
@@ -3819,7 +3854,7 @@ var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client40.gql`
3819
3854
  }
3820
3855
  ${USER_FIELDS_FRAGMENT}
3821
3856
  `;
3822
- var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client40.gql`
3857
+ var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
3823
3858
  mutation removeUserPresentResource($input: UserActivityInputType!) {
3824
3859
  removeUserPresentResource(input: $input) {
3825
3860
  ...UserFields
@@ -3827,7 +3862,7 @@ var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client40.gql`
3827
3862
  }
3828
3863
  ${USER_FIELDS_FRAGMENT}
3829
3864
  `;
3830
- var SELECT_STANDARD_PACKAGE_MUTATION = import_client40.gql`
3865
+ var SELECT_STANDARD_PACKAGE_MUTATION = import_client41.gql`
3831
3866
  mutation selectStandardPackage($selectedLicence: LicencesEnumType!) {
3832
3867
  selectStandardPackage(selectedLicence: $selectedLicence) {
3833
3868
  licences {
@@ -3842,11 +3877,11 @@ var SELECT_STANDARD_PACKAGE_MUTATION = import_client40.gql`
3842
3877
 
3843
3878
  // src/graphql/hooks/user/hooksMutation.ts
3844
3879
  var useCreateUser = () => {
3845
- const [createUser, { loading, error }] = (0, import_client41.useMutation)(CREATE_USER_MUTATION);
3880
+ const [createUser, { loading, error }] = (0, import_client42.useMutation)(CREATE_USER_MUTATION);
3846
3881
  return { createUser, error, loading };
3847
3882
  };
3848
3883
  var useUpdateUser = () => {
3849
- const [updateUser, { loading, error }] = (0, import_client41.useMutation)(UPDATE_USER_MUTATION, {
3884
+ const [updateUser, { loading, error }] = (0, import_client42.useMutation)(UPDATE_USER_MUTATION, {
3850
3885
  awaitRefetchQueries: true,
3851
3886
  refetchQueries: (mutationResult) => {
3852
3887
  const userId = mutationResult?.data?.updateUser?._id;
@@ -3857,11 +3892,11 @@ var useUpdateUser = () => {
3857
3892
  return { error, loading, updateUser };
3858
3893
  };
3859
3894
  var useDeleteUser = () => {
3860
- const [deleteUser, { loading, error }] = (0, import_client41.useMutation)(DELETE_USER_MUTATION);
3895
+ const [deleteUser, { loading, error }] = (0, import_client42.useMutation)(DELETE_USER_MUTATION);
3861
3896
  return { deleteUser, error, loading };
3862
3897
  };
3863
3898
  var useRedeemReward = () => {
3864
- const [redeemReward, { loading, error }] = (0, import_client41.useMutation)(REDEEM_REWARD_MUTATION, {
3899
+ const [redeemReward, { loading, error }] = (0, import_client42.useMutation)(REDEEM_REWARD_MUTATION, {
3865
3900
  awaitRefetchQueries: true,
3866
3901
  refetchQueries: (mutationResult) => {
3867
3902
  const userId = mutationResult?.data?.redeemReward?.userId;
@@ -3878,7 +3913,7 @@ var useRedeemReward = () => {
3878
3913
  return { error, loading, redeemReward };
3879
3914
  };
3880
3915
  var useAddUserFavouriteResource = () => {
3881
- const [addUserFavouriteResource, { loading, error }] = (0, import_client41.useMutation)(
3916
+ const [addUserFavouriteResource, { loading, error }] = (0, import_client42.useMutation)(
3882
3917
  ADD_USER_FAVOURITE_RESOURCE_MUTATION,
3883
3918
  {
3884
3919
  awaitRefetchQueries: true,
@@ -3888,7 +3923,7 @@ var useAddUserFavouriteResource = () => {
3888
3923
  return { addUserFavouriteResource, error, loading };
3889
3924
  };
3890
3925
  var useRemoveUserFavouriteResource = () => {
3891
- const [removeUserFavouriteResource, { loading, error }] = (0, import_client41.useMutation)(
3926
+ const [removeUserFavouriteResource, { loading, error }] = (0, import_client42.useMutation)(
3892
3927
  REMOVE_USER_FAVOURITE_RESOURCE_MUTATION,
3893
3928
  {
3894
3929
  awaitRefetchQueries: true,
@@ -3898,7 +3933,7 @@ var useRemoveUserFavouriteResource = () => {
3898
3933
  return { error, loading, removeUserFavouriteResource };
3899
3934
  };
3900
3935
  var useAddUserInterestResource = () => {
3901
- const [addUserInterestResource, { loading, error }] = (0, import_client41.useMutation)(
3936
+ const [addUserInterestResource, { loading, error }] = (0, import_client42.useMutation)(
3902
3937
  ADD_USER_INTEREST_RESOURCE_MUTATION,
3903
3938
  {
3904
3939
  awaitRefetchQueries: true,
@@ -3908,7 +3943,7 @@ var useAddUserInterestResource = () => {
3908
3943
  return { addUserInterestResource, error, loading };
3909
3944
  };
3910
3945
  var useRemoveUserInterestResource = () => {
3911
- const [removeUserInterestResource, { loading, error }] = (0, import_client41.useMutation)(
3946
+ const [removeUserInterestResource, { loading, error }] = (0, import_client42.useMutation)(
3912
3947
  REMOVE_USER_INTEREST_RESOURCE_MUTATION,
3913
3948
  {
3914
3949
  awaitRefetchQueries: true,
@@ -3918,7 +3953,7 @@ var useRemoveUserInterestResource = () => {
3918
3953
  return { error, loading, removeUserInterestResource };
3919
3954
  };
3920
3955
  var useAddUserGoingResource = () => {
3921
- const [addUserGoingResource, { loading, error }] = (0, import_client41.useMutation)(
3956
+ const [addUserGoingResource, { loading, error }] = (0, import_client42.useMutation)(
3922
3957
  ADD_USER_GOING_RESOURCE_MUTATION,
3923
3958
  {
3924
3959
  awaitRefetchQueries: true,
@@ -3928,7 +3963,7 @@ var useAddUserGoingResource = () => {
3928
3963
  return { addUserGoingResource, error, loading };
3929
3964
  };
3930
3965
  var useRemoveUserGoingResource = () => {
3931
- const [removeUserGoingResource, { loading, error }] = (0, import_client41.useMutation)(
3966
+ const [removeUserGoingResource, { loading, error }] = (0, import_client42.useMutation)(
3932
3967
  REMOVE_USER_GOING_RESOURCE_MUTATION,
3933
3968
  {
3934
3969
  awaitRefetchQueries: true,
@@ -3938,7 +3973,7 @@ var useRemoveUserGoingResource = () => {
3938
3973
  return { error, loading, removeUserGoingResource };
3939
3974
  };
3940
3975
  var useAddUserPresentResource = () => {
3941
- const [addUserPresentResource, { loading, error }] = (0, import_client41.useMutation)(
3976
+ const [addUserPresentResource, { loading, error }] = (0, import_client42.useMutation)(
3942
3977
  ADD_USER_PRESENT_RESOURCE_MUTATION,
3943
3978
  {
3944
3979
  awaitRefetchQueries: true,
@@ -3948,7 +3983,7 @@ var useAddUserPresentResource = () => {
3948
3983
  return { addUserPresentResource, error, loading };
3949
3984
  };
3950
3985
  var useRemoveUserPresentResource = () => {
3951
- const [removeUserPresentResource, { loading, error }] = (0, import_client41.useMutation)(
3986
+ const [removeUserPresentResource, { loading, error }] = (0, import_client42.useMutation)(
3952
3987
  REMOVE_USER_PRESENT_RESOURCE_MUTATION,
3953
3988
  {
3954
3989
  awaitRefetchQueries: true,
@@ -3958,7 +3993,7 @@ var useRemoveUserPresentResource = () => {
3958
3993
  return { error, loading, removeUserPresentResource };
3959
3994
  };
3960
3995
  var useSelectStandardPackage = () => {
3961
- const [selectStandardPackage, { loading, error }] = (0, import_client41.useMutation)(SELECT_STANDARD_PACKAGE_MUTATION, {
3996
+ const [selectStandardPackage, { loading, error }] = (0, import_client42.useMutation)(SELECT_STANDARD_PACKAGE_MUTATION, {
3962
3997
  awaitRefetchQueries: true,
3963
3998
  refetchQueries: (mutationResult) => {
3964
3999
  const userId = mutationResult?.data?.selectStandardPackage?.userId;
@@ -3974,9 +4009,9 @@ var useSelectStandardPackage = () => {
3974
4009
  };
3975
4010
 
3976
4011
  // src/graphql/hooks/user/hooksQuery.ts
3977
- var import_client42 = require("@apollo/client");
4012
+ var import_client43 = require("@apollo/client");
3978
4013
  var useGetUsers = () => {
3979
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(
4014
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(
3980
4015
  GET_USERS,
3981
4016
  {
3982
4017
  fetchPolicy: "network-only"
@@ -3986,7 +4021,7 @@ var useGetUsers = () => {
3986
4021
  return { error, loading, refetch, users };
3987
4022
  };
3988
4023
  var useGetUser = (_id) => {
3989
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(
4024
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(
3990
4025
  GET_USER,
3991
4026
  {
3992
4027
  fetchPolicy: "network-only",
@@ -3998,28 +4033,28 @@ var useGetUser = (_id) => {
3998
4033
  return { error, loading, refetch, user };
3999
4034
  };
4000
4035
  var useGetUserEvents = () => {
4001
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(GET_USER_EVENTS, {
4036
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_EVENTS, {
4002
4037
  fetchPolicy: "network-only"
4003
4038
  });
4004
4039
  const userEvents = data?.userEvents || [];
4005
4040
  return { error, loading, refetch, userEvents };
4006
4041
  };
4007
4042
  var useGetUserVendors = () => {
4008
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(GET_USER_VENDORS, {
4043
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_VENDORS, {
4009
4044
  fetchPolicy: "network-only"
4010
4045
  });
4011
4046
  const userVendors = data?.userVendors || [];
4012
4047
  return { error, loading, refetch, userVendors };
4013
4048
  };
4014
4049
  var useGetUserPartners = () => {
4015
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(GET_USER_PARTNERS, {
4050
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_PARTNERS, {
4016
4051
  fetchPolicy: "network-only"
4017
4052
  });
4018
4053
  const userPartners = data?.userPartners || [];
4019
4054
  return { error, loading, refetch, userPartners };
4020
4055
  };
4021
4056
  var useGetUserActivities = () => {
4022
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(GET_USER_ACTIVITIES, {
4057
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_ACTIVITIES, {
4023
4058
  fetchPolicy: "network-only"
4024
4059
  });
4025
4060
  const userActivities = {
@@ -4041,7 +4076,7 @@ var useGetUserActivities = () => {
4041
4076
  return { error, loading, refetch, userActivities };
4042
4077
  };
4043
4078
  var useGetUserResources = (userId) => {
4044
- const { loading, error, data, refetch } = (0, import_client42.useQuery)(GET_USER_RESOURCES, {
4079
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_RESOURCES, {
4045
4080
  fetchPolicy: "network-only",
4046
4081
  skip: !userId || userId === "",
4047
4082
  variables: { userId }
@@ -4051,14 +4086,14 @@ var useGetUserResources = (userId) => {
4051
4086
  };
4052
4087
 
4053
4088
  // src/graphql/hooks/ad/hooksMutation.ts
4054
- var import_client45 = require("@apollo/client");
4089
+ var import_client46 = require("@apollo/client");
4055
4090
 
4056
4091
  // src/graphql/mutations/ad.ts
4057
- var import_client44 = require("@apollo/client");
4092
+ var import_client45 = require("@apollo/client");
4058
4093
 
4059
4094
  // src/graphql/queries/ad.ts
4060
- var import_client43 = require("@apollo/client");
4061
- var AD_FIELDS_FRAGMENT = import_client43.gql`
4095
+ var import_client44 = require("@apollo/client");
4096
+ var AD_FIELDS_FRAGMENT = import_client44.gql`
4062
4097
  fragment AdFields on AdType {
4063
4098
  _id
4064
4099
  active
@@ -4085,7 +4120,7 @@ var AD_FIELDS_FRAGMENT = import_client43.gql`
4085
4120
  updatedAt
4086
4121
  }
4087
4122
  `;
4088
- var GET_ADS = import_client43.gql`
4123
+ var GET_ADS = import_client44.gql`
4089
4124
  query getAds {
4090
4125
  ads {
4091
4126
  ...AdFields
@@ -4093,7 +4128,7 @@ var GET_ADS = import_client43.gql`
4093
4128
  }
4094
4129
  ${AD_FIELDS_FRAGMENT}
4095
4130
  `;
4096
- var GET_AD = import_client43.gql`
4131
+ var GET_AD = import_client44.gql`
4097
4132
  query getAd($_id: ID!) {
4098
4133
  ad(_id: $_id) {
4099
4134
  ...AdFields
@@ -4101,7 +4136,7 @@ var GET_AD = import_client43.gql`
4101
4136
  }
4102
4137
  ${AD_FIELDS_FRAGMENT}
4103
4138
  `;
4104
- var GET_ADS_BY_REGION = import_client43.gql`
4139
+ var GET_ADS_BY_REGION = import_client44.gql`
4105
4140
  query getAdsByRegion($region: String!, $status: AdStatusTypeEnum) {
4106
4141
  adsByRegion(region: $region, status: $status) {
4107
4142
  ...AdFields
@@ -4111,7 +4146,7 @@ var GET_ADS_BY_REGION = import_client43.gql`
4111
4146
  `;
4112
4147
 
4113
4148
  // src/graphql/mutations/ad.ts
4114
- var CREATE_AD_MUTATION = import_client44.gql`
4149
+ var CREATE_AD_MUTATION = import_client45.gql`
4115
4150
  mutation createAd($input: AdInputType!) {
4116
4151
  createAd(input: $input) {
4117
4152
  ...AdFields
@@ -4119,7 +4154,7 @@ var CREATE_AD_MUTATION = import_client44.gql`
4119
4154
  }
4120
4155
  ${AD_FIELDS_FRAGMENT}
4121
4156
  `;
4122
- var UPDATE_AD_MUTATION = import_client44.gql`
4157
+ var UPDATE_AD_MUTATION = import_client45.gql`
4123
4158
  mutation updateAd($_id: ID!, $input: AdInputType!) {
4124
4159
  updateAd(_id: $_id, input: $input) {
4125
4160
  ...AdFields
@@ -4127,7 +4162,7 @@ var UPDATE_AD_MUTATION = import_client44.gql`
4127
4162
  }
4128
4163
  ${AD_FIELDS_FRAGMENT}
4129
4164
  `;
4130
- var DELETE_AD_MUTATION = import_client44.gql`
4165
+ var DELETE_AD_MUTATION = import_client45.gql`
4131
4166
  mutation deleteAd($_id: ID!) {
4132
4167
  deleteAd(_id: $_id)
4133
4168
  }
@@ -4135,7 +4170,7 @@ var DELETE_AD_MUTATION = import_client44.gql`
4135
4170
 
4136
4171
  // src/graphql/hooks/ad/hooksMutation.ts
4137
4172
  var useCreateAd = () => {
4138
- const [createAd, { loading, error }] = (0, import_client45.useMutation)(CREATE_AD_MUTATION, {
4173
+ const [createAd, { loading, error }] = (0, import_client46.useMutation)(CREATE_AD_MUTATION, {
4139
4174
  awaitRefetchQueries: true,
4140
4175
  refetchQueries: [{ query: GET_ADS }]
4141
4176
  });
@@ -4146,7 +4181,7 @@ var useCreateAd = () => {
4146
4181
  };
4147
4182
  };
4148
4183
  var useUpdateAd = () => {
4149
- const [updateAd, { loading, error }] = (0, import_client45.useMutation)(UPDATE_AD_MUTATION, {
4184
+ const [updateAd, { loading, error }] = (0, import_client46.useMutation)(UPDATE_AD_MUTATION, {
4150
4185
  awaitRefetchQueries: true,
4151
4186
  refetchQueries: [{ query: GET_ADS }]
4152
4187
  });
@@ -4157,7 +4192,7 @@ var useUpdateAd = () => {
4157
4192
  };
4158
4193
  };
4159
4194
  var useDeleteAd = () => {
4160
- const [deleteAd, { loading, error }] = (0, import_client45.useMutation)(DELETE_AD_MUTATION, {
4195
+ const [deleteAd, { loading, error }] = (0, import_client46.useMutation)(DELETE_AD_MUTATION, {
4161
4196
  awaitRefetchQueries: true,
4162
4197
  refetchQueries: [{ query: GET_ADS }]
4163
4198
  });
@@ -4169,9 +4204,9 @@ var useDeleteAd = () => {
4169
4204
  };
4170
4205
 
4171
4206
  // src/graphql/hooks/ad/hooksQuery.ts
4172
- var import_client46 = require("@apollo/client");
4207
+ var import_client47 = require("@apollo/client");
4173
4208
  var useGetAds = () => {
4174
- const { data, loading, error, refetch } = (0, import_client46.useQuery)(
4209
+ const { data, loading, error, refetch } = (0, import_client47.useQuery)(
4175
4210
  GET_ADS,
4176
4211
  {
4177
4212
  fetchPolicy: "no-cache"
@@ -4185,7 +4220,7 @@ var useGetAds = () => {
4185
4220
  };
4186
4221
  };
4187
4222
  var useGetAd = (_id) => {
4188
- const { data, loading, error, refetch } = (0, import_client46.useQuery)(GET_AD, {
4223
+ const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_AD, {
4189
4224
  fetchPolicy: "no-cache",
4190
4225
  skip: !_id || _id === "",
4191
4226
  variables: { _id }
@@ -4198,7 +4233,7 @@ var useGetAd = (_id) => {
4198
4233
  };
4199
4234
  };
4200
4235
  var useGetAdsByRegion = (region, status) => {
4201
- const { data, loading, error, refetch } = (0, import_client46.useQuery)(GET_ADS_BY_REGION, {
4236
+ const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_ADS_BY_REGION, {
4202
4237
  fetchPolicy: "no-cache",
4203
4238
  skip: !region || region === "",
4204
4239
  variables: { region, status }
@@ -4212,11 +4247,11 @@ var useGetAdsByRegion = (region, status) => {
4212
4247
  };
4213
4248
 
4214
4249
  // src/graphql/hooks/resourceActivities/hooksMutation.ts
4215
- var import_client48 = require("@apollo/client");
4250
+ var import_client49 = require("@apollo/client");
4216
4251
 
4217
4252
  // src/graphql/mutations/resourceActivities.ts
4218
- var import_client47 = require("@apollo/client");
4219
- var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client47.gql`
4253
+ var import_client48 = require("@apollo/client");
4254
+ var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client48.gql`
4220
4255
  mutation createResourceActivity($input: ResourceActivityInputType!) {
4221
4256
  createResourceActivity(input: $input)
4222
4257
  }
@@ -4224,18 +4259,18 @@ var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client47.gql`
4224
4259
 
4225
4260
  // src/graphql/hooks/resourceActivities/hooksMutation.ts
4226
4261
  var useCreateResourceActivity = () => {
4227
- const [createResourceActivity, { loading, error }] = (0, import_client48.useMutation)(
4262
+ const [createResourceActivity, { loading, error }] = (0, import_client49.useMutation)(
4228
4263
  CREATE_RESOURCE_ACTIVITY_MUTATION
4229
4264
  );
4230
4265
  return { createResourceActivity, error, loading };
4231
4266
  };
4232
4267
 
4233
4268
  // src/graphql/hooks/resourceActivities/hooksQuery.ts
4234
- var import_client50 = require("@apollo/client");
4269
+ var import_client51 = require("@apollo/client");
4235
4270
 
4236
4271
  // src/graphql/queries/resourceActivities.ts
4237
- var import_client49 = require("@apollo/client");
4238
- var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client49.gql`
4272
+ var import_client50 = require("@apollo/client");
4273
+ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client50.gql`
4239
4274
  fragment ResourceActivityFields on ResourceActivityType {
4240
4275
  resourceId
4241
4276
  resourceType
@@ -4254,7 +4289,7 @@ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client49.gql`
4254
4289
  }
4255
4290
  ${LOCATION_GEO_FIELDS_FRAGMENT}
4256
4291
  `;
4257
- var GET_RESOURCE_ACTIVITY = import_client49.gql`
4292
+ var GET_RESOURCE_ACTIVITY = import_client50.gql`
4258
4293
  query getResourceActivity(
4259
4294
  $resourceType: ResourceTypeEnum!
4260
4295
  $resourceId: ID!
@@ -4268,7 +4303,7 @@ var GET_RESOURCE_ACTIVITY = import_client49.gql`
4268
4303
 
4269
4304
  // src/graphql/hooks/resourceActivities/hooksQuery.ts
4270
4305
  var useGetResourceActivity = (resourceId, resourceType) => {
4271
- const { data, loading, error, refetch } = (0, import_client50.useQuery)(GET_RESOURCE_ACTIVITY, {
4306
+ const { data, loading, error, refetch } = (0, import_client51.useQuery)(GET_RESOURCE_ACTIVITY, {
4272
4307
  fetchPolicy: "network-only",
4273
4308
  variables: { resourceId, resourceType }
4274
4309
  });
@@ -4281,11 +4316,11 @@ var useGetResourceActivity = (resourceId, resourceType) => {
4281
4316
  };
4282
4317
 
4283
4318
  // src/graphql/hooks/stripe/hooksMutation.ts
4284
- var import_client52 = require("@apollo/client");
4319
+ var import_client53 = require("@apollo/client");
4285
4320
 
4286
4321
  // src/graphql/mutations/stripe.ts
4287
- var import_client51 = require("@apollo/client");
4288
- var CREATE_CHECKOUT_SESSION_MUTATION = import_client51.gql`
4322
+ var import_client52 = require("@apollo/client");
4323
+ var CREATE_CHECKOUT_SESSION_MUTATION = import_client52.gql`
4289
4324
  mutation createCheckoutSession(
4290
4325
  $planId: LicencesEnumType!
4291
4326
  $billingPeriod: BillingPeriodEnumType
@@ -4296,12 +4331,12 @@ var CREATE_CHECKOUT_SESSION_MUTATION = import_client51.gql`
4296
4331
  }
4297
4332
  }
4298
4333
  `;
4299
- var CANCEL_SUBSCRIPTION_MUTATION = import_client51.gql`
4334
+ var CANCEL_SUBSCRIPTION_MUTATION = import_client52.gql`
4300
4335
  mutation cancelSubscription {
4301
4336
  cancelSubscription
4302
4337
  }
4303
4338
  `;
4304
- var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client51.gql`
4339
+ var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client52.gql`
4305
4340
  mutation updateSubscriptionPlan(
4306
4341
  $newPlanId: LicencesEnumType!
4307
4342
  $billingPeriod: BillingPeriodEnumType
@@ -4317,14 +4352,14 @@ var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client51.gql`
4317
4352
  }
4318
4353
  }
4319
4354
  `;
4320
- var CREATE_CUSTOMER_PORTAL = import_client51.gql`
4355
+ var CREATE_CUSTOMER_PORTAL = import_client52.gql`
4321
4356
  mutation createCustomerPortal($returnUrl: String) {
4322
4357
  createCustomerPortal(returnUrl: $returnUrl) {
4323
4358
  portalUrl
4324
4359
  }
4325
4360
  }
4326
4361
  `;
4327
- var SELECT_PACKAGE_MUTATION = import_client51.gql`
4362
+ var SELECT_PACKAGE_MUTATION = import_client52.gql`
4328
4363
  mutation selectPackage(
4329
4364
  $billingPeriod: BillingPeriodEnumType
4330
4365
  $selectedLicence: LicencesEnumType!
@@ -4348,31 +4383,31 @@ var SELECT_PACKAGE_MUTATION = import_client51.gql`
4348
4383
 
4349
4384
  // src/graphql/hooks/stripe/hooksMutation.ts
4350
4385
  var useCreateCheckoutSession = () => {
4351
- const [createCheckoutSession, { loading, error }] = (0, import_client52.useMutation)(
4386
+ const [createCheckoutSession, { loading, error }] = (0, import_client53.useMutation)(
4352
4387
  CREATE_CHECKOUT_SESSION_MUTATION
4353
4388
  );
4354
4389
  return { createCheckoutSession, error, loading };
4355
4390
  };
4356
4391
  var useCancelSubscription = () => {
4357
- const [cancelSubscription, { loading, error }] = (0, import_client52.useMutation)(
4392
+ const [cancelSubscription, { loading, error }] = (0, import_client53.useMutation)(
4358
4393
  CANCEL_SUBSCRIPTION_MUTATION
4359
4394
  );
4360
4395
  return { cancelSubscription, error, loading };
4361
4396
  };
4362
4397
  var useUpdateSubscriptionPlan = () => {
4363
- const [updateSubscriptionPlan, { loading, error }] = (0, import_client52.useMutation)(
4398
+ const [updateSubscriptionPlan, { loading, error }] = (0, import_client53.useMutation)(
4364
4399
  UPDATE_SUBSCRIPTION_PLAN_MUTATION
4365
4400
  );
4366
4401
  return { error, loading, updateSubscriptionPlan };
4367
4402
  };
4368
4403
  var useCreateCustomerPortal = () => {
4369
- const [createCustomerPortal, { loading, error }] = (0, import_client52.useMutation)(
4404
+ const [createCustomerPortal, { loading, error }] = (0, import_client53.useMutation)(
4370
4405
  CREATE_CUSTOMER_PORTAL
4371
4406
  );
4372
4407
  return { createCustomerPortal, error, loading };
4373
4408
  };
4374
4409
  var useSelectPackage = () => {
4375
- const [selectPackage, { loading, error }] = (0, import_client52.useMutation)(SELECT_PACKAGE_MUTATION, {
4410
+ const [selectPackage, { loading, error }] = (0, import_client53.useMutation)(SELECT_PACKAGE_MUTATION, {
4376
4411
  awaitRefetchQueries: true,
4377
4412
  refetchQueries: (mutationResult) => {
4378
4413
  const userId = mutationResult?.data?.selectPackage?.userId;
@@ -4388,11 +4423,11 @@ var useSelectPackage = () => {
4388
4423
  };
4389
4424
 
4390
4425
  // src/graphql/hooks/stripe/hooksQuery.ts
4391
- var import_client54 = require("@apollo/client");
4426
+ var import_client55 = require("@apollo/client");
4392
4427
 
4393
4428
  // src/graphql/queries/stripe.ts
4394
- var import_client53 = require("@apollo/client");
4395
- var GET_SUBSCRIPTION_STATUS = import_client53.gql`
4429
+ var import_client54 = require("@apollo/client");
4430
+ var GET_SUBSCRIPTION_STATUS = import_client54.gql`
4396
4431
  query getSubscriptionStatus {
4397
4432
  getSubscriptionStatus {
4398
4433
  subscriptionId
@@ -4402,7 +4437,7 @@ var GET_SUBSCRIPTION_STATUS = import_client53.gql`
4402
4437
  }
4403
4438
  }
4404
4439
  `;
4405
- var GET_SUBSCRIPTION_PLANS = import_client53.gql`
4440
+ var GET_SUBSCRIPTION_PLANS = import_client54.gql`
4406
4441
  query getSubscriptionPlans {
4407
4442
  getSubscriptionPlans {
4408
4443
  plans {
@@ -4433,7 +4468,7 @@ var GET_SUBSCRIPTION_PLANS = import_client53.gql`
4433
4468
 
4434
4469
  // src/graphql/hooks/stripe/hooksQuery.ts
4435
4470
  var useGetSubscriptionStatus = () => {
4436
- const { data, loading, error, refetch } = (0, import_client54.useQuery)(GET_SUBSCRIPTION_STATUS);
4471
+ const { data, loading, error, refetch } = (0, import_client55.useQuery)(GET_SUBSCRIPTION_STATUS);
4437
4472
  return {
4438
4473
  data: data?.getSubscriptionStatus,
4439
4474
  error,
@@ -4442,7 +4477,7 @@ var useGetSubscriptionStatus = () => {
4442
4477
  };
4443
4478
  };
4444
4479
  var useGetSubscriptionPlans = () => {
4445
- const { data, loading, error, refetch } = (0, import_client54.useQuery)(GET_SUBSCRIPTION_PLANS);
4480
+ const { data, loading, error, refetch } = (0, import_client55.useQuery)(GET_SUBSCRIPTION_PLANS);
4446
4481
  return {
4447
4482
  data: data?.getSubscriptionPlans,
4448
4483
  error,
@@ -4452,11 +4487,11 @@ var useGetSubscriptionPlans = () => {
4452
4487
  };
4453
4488
 
4454
4489
  // src/graphql/hooks/partner/hooksMutation.ts
4455
- var import_client56 = require("@apollo/client");
4490
+ var import_client57 = require("@apollo/client");
4456
4491
 
4457
4492
  // src/graphql/mutations/partner.ts
4458
- var import_client55 = require("@apollo/client");
4459
- var CREATE_PARTNER_MUTATION = import_client55.gql`
4493
+ var import_client56 = require("@apollo/client");
4494
+ var CREATE_PARTNER_MUTATION = import_client56.gql`
4460
4495
  mutation createPartner($input: PartnerInputType!) {
4461
4496
  createPartner(input: $input) {
4462
4497
  ...PartnerFields
@@ -4464,7 +4499,7 @@ var CREATE_PARTNER_MUTATION = import_client55.gql`
4464
4499
  }
4465
4500
  ${PARTNER}
4466
4501
  `;
4467
- var UPDATE_PARTNER_MUTATION = import_client55.gql`
4502
+ var UPDATE_PARTNER_MUTATION = import_client56.gql`
4468
4503
  mutation updatePartner($_id: ID!, $input: PartnerInputType!) {
4469
4504
  updatePartner(_id: $_id, input: $input) {
4470
4505
  ...PartnerFields
@@ -4472,7 +4507,7 @@ var UPDATE_PARTNER_MUTATION = import_client55.gql`
4472
4507
  }
4473
4508
  ${PARTNER}
4474
4509
  `;
4475
- var DELETE_PARTNER_MUTATION = import_client55.gql`
4510
+ var DELETE_PARTNER_MUTATION = import_client56.gql`
4476
4511
  mutation deletePartner($_id: ID!) {
4477
4512
  deletePartner(_id: $_id)
4478
4513
  }
@@ -4480,7 +4515,7 @@ var DELETE_PARTNER_MUTATION = import_client55.gql`
4480
4515
 
4481
4516
  // src/graphql/hooks/partner/hooksMutation.ts
4482
4517
  var useCreatePartner = () => {
4483
- const [createPartner, { loading, error }] = (0, import_client56.useMutation)(
4518
+ const [createPartner, { loading, error }] = (0, import_client57.useMutation)(
4484
4519
  CREATE_PARTNER_MUTATION,
4485
4520
  {
4486
4521
  awaitRefetchQueries: true,
@@ -4490,7 +4525,7 @@ var useCreatePartner = () => {
4490
4525
  return { createPartner, error, loading };
4491
4526
  };
4492
4527
  var useUpdatePartner = () => {
4493
- const [updatePartner, { loading, error }] = (0, import_client56.useMutation)(
4528
+ const [updatePartner, { loading, error }] = (0, import_client57.useMutation)(
4494
4529
  UPDATE_PARTNER_MUTATION,
4495
4530
  {
4496
4531
  awaitRefetchQueries: true,
@@ -4500,7 +4535,7 @@ var useUpdatePartner = () => {
4500
4535
  return { error, loading, updatePartner };
4501
4536
  };
4502
4537
  var useDeletePartner = () => {
4503
- const [deletePartner, { loading, error }] = (0, import_client56.useMutation)(
4538
+ const [deletePartner, { loading, error }] = (0, import_client57.useMutation)(
4504
4539
  DELETE_PARTNER_MUTATION,
4505
4540
  {
4506
4541
  awaitRefetchQueries: true,
@@ -4511,9 +4546,9 @@ var useDeletePartner = () => {
4511
4546
  };
4512
4547
 
4513
4548
  // src/graphql/hooks/partner/hooksQuery.ts
4514
- var import_client57 = require("@apollo/client");
4549
+ var import_client58 = require("@apollo/client");
4515
4550
  var useGetPartners = () => {
4516
- const { loading, error, data, refetch } = (0, import_client57.useQuery)(GET_PARTNERS, {
4551
+ const { loading, error, data, refetch } = (0, import_client58.useQuery)(GET_PARTNERS, {
4517
4552
  fetchPolicy: "network-only"
4518
4553
  });
4519
4554
  const partners = data?.partners || [];
@@ -4525,7 +4560,7 @@ var useGetPartners = () => {
4525
4560
  };
4526
4561
  };
4527
4562
  var useGetPartner = (_id) => {
4528
- const { loading, error, data, refetch } = (0, import_client57.useQuery)(
4563
+ const { loading, error, data, refetch } = (0, import_client58.useQuery)(
4529
4564
  GET_PARTNER,
4530
4565
  {
4531
4566
  fetchPolicy: "network-only",
@@ -4541,7 +4576,7 @@ var useGetPartnersByRegion = (region, options) => {
4541
4576
  options,
4542
4577
  region
4543
4578
  };
4544
- const { loading, error, data, refetch, fetchMore } = (0, import_client57.useQuery)(GET_PARTNERS_BY_REGION, {
4579
+ const { loading, error, data, refetch, fetchMore } = (0, import_client58.useQuery)(GET_PARTNERS_BY_REGION, {
4545
4580
  fetchPolicy: "network-only",
4546
4581
  skip: !region || region === "",
4547
4582
  variables
@@ -4556,7 +4591,7 @@ var useGetPartnersByRegion = (region, options) => {
4556
4591
  };
4557
4592
  };
4558
4593
  var useSearchPartners = (search, region) => {
4559
- const { loading, error, data, refetch } = (0, import_client57.useQuery)(SEARCH_PARTNERS, {
4594
+ const { loading, error, data, refetch } = (0, import_client58.useQuery)(SEARCH_PARTNERS, {
4560
4595
  fetchPolicy: "network-only",
4561
4596
  skip: search.length < 3 || !region || region === "",
4562
4597
  variables: { region, search }
@@ -4566,11 +4601,11 @@ var useSearchPartners = (search, region) => {
4566
4601
  };
4567
4602
 
4568
4603
  // src/graphql/hooks/post/hooksMutation.ts
4569
- var import_client59 = require("@apollo/client");
4604
+ var import_client60 = require("@apollo/client");
4570
4605
 
4571
4606
  // src/graphql/mutations/post.ts
4572
- var import_client58 = require("@apollo/client");
4573
- var CREATE_POST_MUTATION = import_client58.gql`
4607
+ var import_client59 = require("@apollo/client");
4608
+ var CREATE_POST_MUTATION = import_client59.gql`
4574
4609
  mutation createPost($input: PostInputType!) {
4575
4610
  createPost(input: $input) {
4576
4611
  ...PostFields
@@ -4578,7 +4613,7 @@ var CREATE_POST_MUTATION = import_client58.gql`
4578
4613
  }
4579
4614
  ${POST_FIELDS_FRAGMENT}
4580
4615
  `;
4581
- var UPDATE_POST_MUTATION = import_client58.gql`
4616
+ var UPDATE_POST_MUTATION = import_client59.gql`
4582
4617
  mutation updatePost($_id: ID!, $input: PostInputType!) {
4583
4618
  updatePost(_id: $_id, input: $input) {
4584
4619
  ...PostFields
@@ -4586,7 +4621,7 @@ var UPDATE_POST_MUTATION = import_client58.gql`
4586
4621
  }
4587
4622
  ${POST_FIELDS_FRAGMENT}
4588
4623
  `;
4589
- var DELETE_POST_MUTATION = import_client58.gql`
4624
+ var DELETE_POST_MUTATION = import_client59.gql`
4590
4625
  mutation deletePost($_id: ID!) {
4591
4626
  deletePost(_id: $_id)
4592
4627
  }
@@ -4594,21 +4629,21 @@ var DELETE_POST_MUTATION = import_client58.gql`
4594
4629
 
4595
4630
  // src/graphql/hooks/post/hooksMutation.ts
4596
4631
  var useCreatePost = () => {
4597
- const [createPost, { loading, error }] = (0, import_client59.useMutation)(CREATE_POST_MUTATION, {
4632
+ const [createPost, { loading, error }] = (0, import_client60.useMutation)(CREATE_POST_MUTATION, {
4598
4633
  awaitRefetchQueries: true,
4599
4634
  refetchQueries: [{ query: GET_POSTS }]
4600
4635
  });
4601
4636
  return { createPost, error, loading };
4602
4637
  };
4603
4638
  var useUpdatePost = () => {
4604
- const [updatePost, { loading, error }] = (0, import_client59.useMutation)(UPDATE_POST_MUTATION, {
4639
+ const [updatePost, { loading, error }] = (0, import_client60.useMutation)(UPDATE_POST_MUTATION, {
4605
4640
  awaitRefetchQueries: true,
4606
4641
  refetchQueries: [{ query: GET_POSTS }]
4607
4642
  });
4608
4643
  return { error, loading, updatePost };
4609
4644
  };
4610
4645
  var useDeletePost = () => {
4611
- const [deletePost, { loading, error }] = (0, import_client59.useMutation)(DELETE_POST_MUTATION, {
4646
+ const [deletePost, { loading, error }] = (0, import_client60.useMutation)(DELETE_POST_MUTATION, {
4612
4647
  awaitRefetchQueries: true,
4613
4648
  refetchQueries: [{ query: GET_POSTS }]
4614
4649
  });
@@ -4616,15 +4651,15 @@ var useDeletePost = () => {
4616
4651
  };
4617
4652
 
4618
4653
  // src/graphql/hooks/post/hooksQuery.ts
4619
- var import_client60 = require("@apollo/client");
4654
+ var import_client61 = require("@apollo/client");
4620
4655
  var useGetPosts = () => {
4621
- const { data, loading, error, refetch } = (0, import_client60.useQuery)(GET_POSTS, {
4656
+ const { data, loading, error, refetch } = (0, import_client61.useQuery)(GET_POSTS, {
4622
4657
  fetchPolicy: "network-only"
4623
4658
  });
4624
4659
  return { error, loading, posts: data?.posts || [], refetch };
4625
4660
  };
4626
4661
  var useGetPost = (_id) => {
4627
- const { data, loading, error, refetch } = (0, import_client60.useQuery)(GET_POST, {
4662
+ const { data, loading, error, refetch } = (0, import_client61.useQuery)(GET_POST, {
4628
4663
  fetchPolicy: "network-only",
4629
4664
  skip: !_id || _id === "",
4630
4665
  variables: { _id }
@@ -4632,7 +4667,7 @@ var useGetPost = (_id) => {
4632
4667
  return { error, loading, post: data?.post, refetch };
4633
4668
  };
4634
4669
  var useGetPostsByType = (postType) => {
4635
- const { data, loading, error, refetch } = (0, import_client60.useQuery)(GET_POSTS_BY_TYPE, {
4670
+ const { data, loading, error, refetch } = (0, import_client61.useQuery)(GET_POSTS_BY_TYPE, {
4636
4671
  fetchPolicy: "network-only",
4637
4672
  skip: !postType,
4638
4673
  variables: { postType }
@@ -4641,23 +4676,23 @@ var useGetPostsByType = (postType) => {
4641
4676
  };
4642
4677
 
4643
4678
  // src/graphql/hooks/appSettings/hooksMutation.ts
4644
- var import_client63 = require("@apollo/client");
4679
+ var import_client64 = require("@apollo/client");
4645
4680
 
4646
4681
  // src/graphql/mutations/appSettings.ts
4647
- var import_client61 = require("@apollo/client");
4648
- var UPDATE_APP_SETTINGS_MUTATION = import_client61.gql`
4682
+ var import_client62 = require("@apollo/client");
4683
+ var UPDATE_APP_SETTINGS_MUTATION = import_client62.gql`
4649
4684
  mutation updateAppSettings($input: AppSettingsInputType!) {
4650
4685
  updateAppSettings(input: $input)
4651
4686
  }
4652
4687
  `;
4653
- var CRAWL_GOOGLE_MARKETS_MUTATION = import_client61.gql`
4688
+ var CRAWL_GOOGLE_MARKETS_MUTATION = import_client62.gql`
4654
4689
  mutation crawlGoogleMarkets {
4655
4690
  crawlGoogleMarkets {
4656
4691
  message
4657
4692
  }
4658
4693
  }
4659
4694
  `;
4660
- var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client61.gql`
4695
+ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client62.gql`
4661
4696
  mutation updateGoogleImportedMarkets {
4662
4697
  updateGoogleImportedMarkets {
4663
4698
  message
@@ -4666,8 +4701,8 @@ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client61.gql`
4666
4701
  `;
4667
4702
 
4668
4703
  // src/graphql/queries/appSettings.ts
4669
- var import_client62 = require("@apollo/client");
4670
- var APP_SETTINGS_FIELDS_FRAGMENT = import_client62.gql`
4704
+ var import_client63 = require("@apollo/client");
4705
+ var APP_SETTINGS_FIELDS_FRAGMENT = import_client63.gql`
4671
4706
  fragment AppSettingsFields on AppSettingsType {
4672
4707
  _id
4673
4708
  appVersion
@@ -4677,7 +4712,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = import_client62.gql`
4677
4712
  updatedAt
4678
4713
  }
4679
4714
  `;
4680
- var GET_APP_SETTINGS = import_client62.gql`
4715
+ var GET_APP_SETTINGS = import_client63.gql`
4681
4716
  query getAppSettings {
4682
4717
  appSettings {
4683
4718
  ...AppSettingsFields
@@ -4688,7 +4723,7 @@ var GET_APP_SETTINGS = import_client62.gql`
4688
4723
 
4689
4724
  // src/graphql/hooks/appSettings/hooksMutation.ts
4690
4725
  var useUpdateAppSettings = () => {
4691
- const [updateAppSettings, { loading, error }] = (0, import_client63.useMutation)(
4726
+ const [updateAppSettings, { loading, error }] = (0, import_client64.useMutation)(
4692
4727
  UPDATE_APP_SETTINGS_MUTATION,
4693
4728
  {
4694
4729
  awaitRefetchQueries: true,
@@ -4698,18 +4733,18 @@ var useUpdateAppSettings = () => {
4698
4733
  return { error, loading, updateAppSettings };
4699
4734
  };
4700
4735
  var useCrawlGoogleMarkets = () => {
4701
- const [crawlGoogleMarkets, { loading, error }] = (0, import_client63.useMutation)(CRAWL_GOOGLE_MARKETS_MUTATION);
4736
+ const [crawlGoogleMarkets, { loading, error }] = (0, import_client64.useMutation)(CRAWL_GOOGLE_MARKETS_MUTATION);
4702
4737
  return { crawlGoogleMarkets, error, loading };
4703
4738
  };
4704
4739
  var useUpdateGoogleImportedMarkets = () => {
4705
- const [updateGoogleImportedMarkets, { loading, error }] = (0, import_client63.useMutation)(UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION);
4740
+ const [updateGoogleImportedMarkets, { loading, error }] = (0, import_client64.useMutation)(UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION);
4706
4741
  return { error, loading, updateGoogleImportedMarkets };
4707
4742
  };
4708
4743
 
4709
4744
  // src/graphql/hooks/appSettings/hooksQuery.ts
4710
- var import_client64 = require("@apollo/client");
4745
+ var import_client65 = require("@apollo/client");
4711
4746
  var useGetAppSettings = () => {
4712
- const { loading, error, data, refetch } = (0, import_client64.useQuery)(GET_APP_SETTINGS, {
4747
+ const { loading, error, data, refetch } = (0, import_client65.useQuery)(GET_APP_SETTINGS, {
4713
4748
  fetchPolicy: "network-only"
4714
4749
  });
4715
4750
  const appSettings = data?.appSettings || null;
@@ -4717,14 +4752,14 @@ var useGetAppSettings = () => {
4717
4752
  };
4718
4753
 
4719
4754
  // src/graphql/hooks/game/hooksMutation.ts
4720
- var import_client67 = require("@apollo/client");
4755
+ var import_client68 = require("@apollo/client");
4721
4756
 
4722
4757
  // src/graphql/mutations/game.ts
4723
- var import_client66 = require("@apollo/client");
4758
+ var import_client67 = require("@apollo/client");
4724
4759
 
4725
4760
  // src/graphql/queries/game/game.ts
4726
- var import_client65 = require("@apollo/client");
4727
- var GAME_HISTORY_FIELDS_FRAGMENT = import_client65.gql`
4761
+ var import_client66 = require("@apollo/client");
4762
+ var GAME_HISTORY_FIELDS_FRAGMENT = import_client66.gql`
4728
4763
  fragment GameHistoryFields on GameHistoryType {
4729
4764
  createdAt
4730
4765
  gameDate {
@@ -4739,7 +4774,7 @@ var GAME_HISTORY_FIELDS_FRAGMENT = import_client65.gql`
4739
4774
  }
4740
4775
  ${GAME_DATE_FIELDS_FRAGMENT}
4741
4776
  `;
4742
- var GAME_DATA_FIELDS_FRAGMENT = import_client65.gql`
4777
+ var GAME_DATA_FIELDS_FRAGMENT = import_client66.gql`
4743
4778
  fragment GameDataFields on GameDataType {
4744
4779
  dailyClue {
4745
4780
  ...DailyClueGameDataFields
@@ -4754,7 +4789,7 @@ var GAME_DATA_FIELDS_FRAGMENT = import_client65.gql`
4754
4789
  ${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
4755
4790
  ${PUZZLE_GAME_DATA_FIELDS_FRAGMENT}
4756
4791
  `;
4757
- var GAME_FIELDS_FRAGMENT = import_client65.gql`
4792
+ var GAME_FIELDS_FRAGMENT = import_client66.gql`
4758
4793
  fragment GameFields on GameType {
4759
4794
  _id
4760
4795
  active
@@ -4773,7 +4808,7 @@ var GAME_FIELDS_FRAGMENT = import_client65.gql`
4773
4808
  ${GAME_DATA_FIELDS_FRAGMENT}
4774
4809
  ${GAME_HISTORY_FIELDS_FRAGMENT}
4775
4810
  `;
4776
- var GAME_DOC_FIELDS_FRAGMENT = import_client65.gql`
4811
+ var GAME_DOC_FIELDS_FRAGMENT = import_client66.gql`
4777
4812
  fragment GameDocFields on GameDocType {
4778
4813
  _id
4779
4814
  active
@@ -4791,7 +4826,7 @@ var GAME_DOC_FIELDS_FRAGMENT = import_client65.gql`
4791
4826
  ${OWNER_FIELDS_FRAGMENT}
4792
4827
  ${GAME_FIELDS_FRAGMENT}
4793
4828
  `;
4794
- var GET_GAMES = import_client65.gql`
4829
+ var GET_GAMES = import_client66.gql`
4795
4830
  query getGames {
4796
4831
  games {
4797
4832
  ...GameDocFields
@@ -4799,7 +4834,7 @@ var GET_GAMES = import_client65.gql`
4799
4834
  }
4800
4835
  ${GAME_DOC_FIELDS_FRAGMENT}
4801
4836
  `;
4802
- var GET_GAME = import_client65.gql`
4837
+ var GET_GAME = import_client66.gql`
4803
4838
  query getGame($_id: ID) {
4804
4839
  game(_id: $_id) {
4805
4840
  ...GameDocFields
@@ -4807,7 +4842,7 @@ var GET_GAME = import_client65.gql`
4807
4842
  }
4808
4843
  ${GAME_DOC_FIELDS_FRAGMENT}
4809
4844
  `;
4810
- var GET_GAME_LEADERBOARD = import_client65.gql`
4845
+ var GET_GAME_LEADERBOARD = import_client66.gql`
4811
4846
  query getGameLeaderboard {
4812
4847
  gameLeaderboard {
4813
4848
  gameHistory {
@@ -4824,7 +4859,7 @@ var GET_GAME_LEADERBOARD = import_client65.gql`
4824
4859
  `;
4825
4860
 
4826
4861
  // src/graphql/mutations/game.ts
4827
- var START_GAME_MUTATION = import_client66.gql`
4862
+ var START_GAME_MUTATION = import_client67.gql`
4828
4863
  mutation startGame($input: BaseGameInputType!) {
4829
4864
  startGame(input: $input) {
4830
4865
  ...GameDocFields
@@ -4832,7 +4867,7 @@ var START_GAME_MUTATION = import_client66.gql`
4832
4867
  }
4833
4868
  ${GAME_DOC_FIELDS_FRAGMENT}
4834
4869
  `;
4835
- var LEAVE_GAME_MUTATION = import_client66.gql`
4870
+ var LEAVE_GAME_MUTATION = import_client67.gql`
4836
4871
  mutation leaveGame(
4837
4872
  $_id: ID!
4838
4873
  $gameType: GameTypeEnumType!
@@ -4841,7 +4876,7 @@ var LEAVE_GAME_MUTATION = import_client66.gql`
4841
4876
  leaveGame(_id: $_id, gameType: $gameType, gameTypeId: $gameTypeId)
4842
4877
  }
4843
4878
  `;
4844
- var UPDATE_DAILY_CLUE_MUTATION = import_client66.gql`
4879
+ var UPDATE_DAILY_CLUE_MUTATION = import_client67.gql`
4845
4880
  mutation updateDailyClueGame(
4846
4881
  $_id: ID!
4847
4882
  $foundLetter: String!
@@ -4859,7 +4894,7 @@ var UPDATE_DAILY_CLUE_MUTATION = import_client66.gql`
4859
4894
  }
4860
4895
  ${GAME_DOC_FIELDS_FRAGMENT}
4861
4896
  `;
4862
- var UPDATE_PUZZLE_GAME_MUTATION = import_client66.gql`
4897
+ var UPDATE_PUZZLE_GAME_MUTATION = import_client67.gql`
4863
4898
  mutation updatePuzzleGame(
4864
4899
  $_id: ID!
4865
4900
  $answeredQuestions: [PuzzleAnsweredQuestionInputType!]!
@@ -4880,7 +4915,7 @@ var UPDATE_PUZZLE_GAME_MUTATION = import_client66.gql`
4880
4915
 
4881
4916
  // src/graphql/hooks/game/hooksMutation.ts
4882
4917
  var useStartGame = () => {
4883
- const [startGame, { loading, error }] = (0, import_client67.useMutation)(START_GAME_MUTATION, {
4918
+ const [startGame, { loading, error }] = (0, import_client68.useMutation)(START_GAME_MUTATION, {
4884
4919
  awaitRefetchQueries: true,
4885
4920
  refetchQueries: (mutationResult) => {
4886
4921
  const gameId = mutationResult?.data?.startGame?._id;
@@ -4903,7 +4938,7 @@ var useStartGame = () => {
4903
4938
  return { error, loading, startGame };
4904
4939
  };
4905
4940
  var useLeaveGame = () => {
4906
- const [leaveGame, { loading, error }] = (0, import_client67.useMutation)(LEAVE_GAME_MUTATION, {
4941
+ const [leaveGame, { loading, error }] = (0, import_client68.useMutation)(LEAVE_GAME_MUTATION, {
4907
4942
  awaitRefetchQueries: true,
4908
4943
  refetchQueries: [
4909
4944
  {
@@ -4914,7 +4949,7 @@ var useLeaveGame = () => {
4914
4949
  return { error, leaveGame, loading };
4915
4950
  };
4916
4951
  var useUpdateDailyClueGame = () => {
4917
- const [updateDailyClueGame, { loading, error }] = (0, import_client67.useMutation)(UPDATE_DAILY_CLUE_MUTATION, {
4952
+ const [updateDailyClueGame, { loading, error }] = (0, import_client68.useMutation)(UPDATE_DAILY_CLUE_MUTATION, {
4918
4953
  awaitRefetchQueries: true,
4919
4954
  refetchQueries: (mutationResult) => {
4920
4955
  const gameId = mutationResult?.data?.updateDailyClueGame?._id;
@@ -4931,7 +4966,7 @@ var useUpdateDailyClueGame = () => {
4931
4966
  return { error, loading, updateDailyClueGame };
4932
4967
  };
4933
4968
  var useUpdatePuzzleGame = () => {
4934
- const [updatePuzzleGame, { loading, error }] = (0, import_client67.useMutation)(UPDATE_PUZZLE_GAME_MUTATION, {
4969
+ const [updatePuzzleGame, { loading, error }] = (0, import_client68.useMutation)(UPDATE_PUZZLE_GAME_MUTATION, {
4935
4970
  awaitRefetchQueries: true,
4936
4971
  refetchQueries: (mutationResult) => {
4937
4972
  const gameId = mutationResult?.data?.updatePuzzleGame?._id;
@@ -4949,16 +4984,16 @@ var useUpdatePuzzleGame = () => {
4949
4984
  };
4950
4985
 
4951
4986
  // src/graphql/hooks/game/hooksQuery.ts
4952
- var import_client68 = require("@apollo/client");
4987
+ var import_client69 = require("@apollo/client");
4953
4988
  var useGetGames = () => {
4954
- const { loading, error, data, refetch } = (0, import_client68.useQuery)(GET_GAMES, {
4989
+ const { loading, error, data, refetch } = (0, import_client69.useQuery)(GET_GAMES, {
4955
4990
  fetchPolicy: "network-only"
4956
4991
  });
4957
4992
  const games = data?.games || [];
4958
4993
  return { error, games, loading, refetch };
4959
4994
  };
4960
4995
  var useGetGame = (_id) => {
4961
- const { loading, error, data, refetch } = (0, import_client68.useQuery)(GET_GAME, {
4996
+ const { loading, error, data, refetch } = (0, import_client69.useQuery)(GET_GAME, {
4962
4997
  fetchPolicy: "network-only",
4963
4998
  skip: !_id,
4964
4999
  variables: _id ? { _id } : void 0
@@ -4967,7 +5002,7 @@ var useGetGame = (_id) => {
4967
5002
  return { error, game, loading, refetch };
4968
5003
  };
4969
5004
  var useGetGameLeaderboard = () => {
4970
- const { loading, error, data, refetch } = (0, import_client68.useQuery)(GET_GAME_LEADERBOARD, {
5005
+ const { loading, error, data, refetch } = (0, import_client69.useQuery)(GET_GAME_LEADERBOARD, {
4971
5006
  fetchPolicy: "network-only"
4972
5007
  });
4973
5008
  const gameLeaderboard = data?.gameLeaderboard || [];
@@ -4975,14 +5010,14 @@ var useGetGameLeaderboard = () => {
4975
5010
  };
4976
5011
 
4977
5012
  // src/graphql/hooks/school/hooksMutation.ts
4978
- var import_client71 = require("@apollo/client");
5013
+ var import_client72 = require("@apollo/client");
4979
5014
 
4980
5015
  // src/graphql/mutations/school.ts
4981
- var import_client70 = require("@apollo/client");
5016
+ var import_client71 = require("@apollo/client");
4982
5017
 
4983
5018
  // src/graphql/queries/school.ts
4984
- var import_client69 = require("@apollo/client");
4985
- var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client69.gql`
5019
+ var import_client70 = require("@apollo/client");
5020
+ var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client70.gql`
4986
5021
  fragment SchoolRegisteredUsersFields on SchoolRegisteredUserType {
4987
5022
  _id
4988
5023
  active
@@ -4995,14 +5030,14 @@ var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client69.gql`
4995
5030
  }
4996
5031
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
4997
5032
  `;
4998
- var SCHOOL_CAMPAIGN_FIELDS_FRAGMENT = import_client69.gql`
5033
+ var SCHOOL_CAMPAIGN_FIELDS_FRAGMENT = import_client70.gql`
4999
5034
  fragment SchoolCampaignFields on SchoolCampaignType {
5000
5035
  endDate
5001
5036
  name
5002
5037
  startDate
5003
5038
  }
5004
5039
  `;
5005
- var SCHOOL = import_client69.gql`
5040
+ var SCHOOL = import_client70.gql`
5006
5041
  fragment SchoolFields on SchoolType {
5007
5042
  _id
5008
5043
  active
@@ -5045,7 +5080,7 @@ var SCHOOL = import_client69.gql`
5045
5080
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
5046
5081
  ${SCHOOL_CAMPAIGN_FIELDS_FRAGMENT}
5047
5082
  `;
5048
- var GET_SCHOOL = import_client69.gql`
5083
+ var GET_SCHOOL = import_client70.gql`
5049
5084
  query getSchool($_id: ID!) {
5050
5085
  school(_id: $_id) {
5051
5086
  school {
@@ -5059,7 +5094,7 @@ var GET_SCHOOL = import_client69.gql`
5059
5094
  ${SCHOOL}
5060
5095
  ${SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT}
5061
5096
  `;
5062
- var GET_SCHOOLS = import_client69.gql`
5097
+ var GET_SCHOOLS = import_client70.gql`
5063
5098
  query getSchools {
5064
5099
  schools {
5065
5100
  ...SchoolFields
@@ -5069,7 +5104,7 @@ var GET_SCHOOLS = import_client69.gql`
5069
5104
  `;
5070
5105
 
5071
5106
  // src/graphql/mutations/school.ts
5072
- var CREATE_SCHOOL_MUTATION = import_client70.gql`
5107
+ var CREATE_SCHOOL_MUTATION = import_client71.gql`
5073
5108
  mutation createSchool($input: SchoolInputType!) {
5074
5109
  createSchool(input: $input) {
5075
5110
  ...SchoolFields
@@ -5077,7 +5112,7 @@ var CREATE_SCHOOL_MUTATION = import_client70.gql`
5077
5112
  }
5078
5113
  ${SCHOOL}
5079
5114
  `;
5080
- var UPDATE_SCHOOL_MUTATION = import_client70.gql`
5115
+ var UPDATE_SCHOOL_MUTATION = import_client71.gql`
5081
5116
  mutation updateSchool($_id: ID!, $input: SchoolInputType!) {
5082
5117
  updateSchool(_id: $_id, input: $input) {
5083
5118
  ...SchoolFields
@@ -5085,12 +5120,12 @@ var UPDATE_SCHOOL_MUTATION = import_client70.gql`
5085
5120
  }
5086
5121
  ${SCHOOL}
5087
5122
  `;
5088
- var DELETE_SCHOOL_MUTATION = import_client70.gql`
5123
+ var DELETE_SCHOOL_MUTATION = import_client71.gql`
5089
5124
  mutation deleteSchool($_id: ID!) {
5090
5125
  deleteSchool(_id: $_id)
5091
5126
  }
5092
5127
  `;
5093
- var REQUEST_MARKETING_MATERIAL_MUTATION = import_client70.gql`
5128
+ var REQUEST_MARKETING_MATERIAL_MUTATION = import_client71.gql`
5094
5129
  mutation requestMarketingMaterial(
5095
5130
  $input: MarketingMaterialRequestInputType!
5096
5131
  ) {
@@ -5102,7 +5137,7 @@ var REQUEST_MARKETING_MATERIAL_MUTATION = import_client70.gql`
5102
5137
 
5103
5138
  // src/graphql/hooks/school/hooksMutation.ts
5104
5139
  var useCreateSchool = () => {
5105
- const [createSchool, { loading, error }] = (0, import_client71.useMutation)(
5140
+ const [createSchool, { loading, error }] = (0, import_client72.useMutation)(
5106
5141
  CREATE_SCHOOL_MUTATION,
5107
5142
  {
5108
5143
  awaitRefetchQueries: true,
@@ -5112,7 +5147,7 @@ var useCreateSchool = () => {
5112
5147
  return { createSchool, error, loading };
5113
5148
  };
5114
5149
  var useUpdateSchool = () => {
5115
- const [updateSchool, { loading, error }] = (0, import_client71.useMutation)(
5150
+ const [updateSchool, { loading, error }] = (0, import_client72.useMutation)(
5116
5151
  UPDATE_SCHOOL_MUTATION,
5117
5152
  {
5118
5153
  awaitRefetchQueries: true,
@@ -5122,7 +5157,7 @@ var useUpdateSchool = () => {
5122
5157
  return { error, loading, updateSchool };
5123
5158
  };
5124
5159
  var useDeleteSchool = () => {
5125
- const [deleteSchool, { loading, error }] = (0, import_client71.useMutation)(
5160
+ const [deleteSchool, { loading, error }] = (0, import_client72.useMutation)(
5126
5161
  DELETE_SCHOOL_MUTATION,
5127
5162
  {
5128
5163
  awaitRefetchQueries: true,
@@ -5132,16 +5167,16 @@ var useDeleteSchool = () => {
5132
5167
  return { deleteSchool, error, loading };
5133
5168
  };
5134
5169
  var useRequestMarketingMaterial = () => {
5135
- const [requestMarketingMaterial, { loading, error }] = (0, import_client71.useMutation)(
5170
+ const [requestMarketingMaterial, { loading, error }] = (0, import_client72.useMutation)(
5136
5171
  REQUEST_MARKETING_MATERIAL_MUTATION
5137
5172
  );
5138
5173
  return { error, loading, requestMarketingMaterial };
5139
5174
  };
5140
5175
 
5141
5176
  // src/graphql/hooks/school/hooksQuery.ts
5142
- var import_client72 = require("@apollo/client");
5177
+ var import_client73 = require("@apollo/client");
5143
5178
  var useGetSchools = () => {
5144
- const { data, loading, error, refetch } = (0, import_client72.useQuery)(
5179
+ const { data, loading, error, refetch } = (0, import_client73.useQuery)(
5145
5180
  GET_SCHOOLS,
5146
5181
  {
5147
5182
  fetchPolicy: "network-only"
@@ -5155,7 +5190,7 @@ var useGetSchools = () => {
5155
5190
  };
5156
5191
  };
5157
5192
  var useGetSchool = (_id) => {
5158
- const { data, loading, error, refetch } = (0, import_client72.useQuery)(GET_SCHOOL, {
5193
+ const { data, loading, error, refetch } = (0, import_client73.useQuery)(GET_SCHOOL, {
5159
5194
  fetchPolicy: "network-only",
5160
5195
  skip: !_id,
5161
5196
  variables: { _id }
@@ -5170,11 +5205,15 @@ var useGetSchool = (_id) => {
5170
5205
  // Annotate the CommonJS export names for ESM import in node:
5171
5206
  0 && (module.exports = {
5172
5207
  GET_EVENT,
5208
+ GET_EVENT_BY_SLUG,
5173
5209
  GET_EVENT_INFO,
5174
5210
  GET_PARTNER,
5211
+ GET_PARTNER_BY_SLUG,
5175
5212
  GET_POST,
5213
+ GET_POST_BY_SLUG,
5176
5214
  GET_RESOURCE_CONNECTIONS,
5177
5215
  GET_VENDOR,
5216
+ GET_VENDOR_BY_SLUG,
5178
5217
  GET_VENDOR_INFO,
5179
5218
  toGraphqlQueryString,
5180
5219
  useAddParticipantToChat,