@timardex/cluemart-shared 1.7.1 → 1.7.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/{ad-BUYzE6zx.d.ts → ad-03NrHP3C.d.ts} +2 -2
  2. package/dist/{ad-BhLoEul3.d.mts → ad-CplXHfPk.d.mts} +2 -2
  3. package/dist/{affiliate-C51nzKsw.d.ts → affiliate-BLSH2QdJ.d.ts} +2 -2
  4. package/dist/{affiliate-BbtjeUP4.d.mts → affiliate-hXxPpl_S.d.mts} +2 -2
  5. package/dist/auth/index.cjs +11 -0
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +3 -3
  8. package/dist/auth/index.d.ts +3 -3
  9. package/dist/auth/index.mjs +1 -1
  10. package/dist/{chunk-R6PCFOYO.mjs → chunk-2QB6MIL2.mjs} +247 -202
  11. package/dist/chunk-2QB6MIL2.mjs.map +1 -0
  12. package/dist/{chunk-32MKHJTX.mjs → chunk-Y3YFLYN4.mjs} +13 -1
  13. package/dist/{chunk-32MKHJTX.mjs.map → chunk-Y3YFLYN4.mjs.map} +1 -1
  14. package/dist/{contactUs-CBWzefUS.d.mts → contactUs-C13TqaIf.d.mts} +1 -1
  15. package/dist/{contactUs--NoohZBu.d.ts → contactUs-Cr4itlk6.d.ts} +1 -1
  16. package/dist/formFields/index.d.mts +1 -1
  17. package/dist/formFields/index.d.ts +1 -1
  18. package/dist/{global-DePDtOFt.d.mts → global-8HQMiqbS.d.mts} +10 -1
  19. package/dist/{global-CUYYxpy2.d.ts → global-DGrr26NH.d.ts} +10 -1
  20. package/dist/graphql/index.cjs +352 -291
  21. package/dist/graphql/index.cjs.map +1 -1
  22. package/dist/graphql/index.d.mts +37 -9
  23. package/dist/graphql/index.d.ts +37 -9
  24. package/dist/graphql/index.mjs +14 -4
  25. package/dist/hooks/index.cjs +245 -218
  26. package/dist/hooks/index.cjs.map +1 -1
  27. package/dist/hooks/index.d.mts +5 -5
  28. package/dist/hooks/index.d.ts +5 -5
  29. package/dist/hooks/index.mjs +2 -2
  30. package/dist/index.cjs +352 -291
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.d.mts +41 -4
  33. package/dist/index.d.ts +41 -4
  34. package/dist/index.mjs +278 -222
  35. package/dist/index.mjs.map +1 -1
  36. package/dist/map/index.d.mts +1 -1
  37. package/dist/map/index.d.ts +1 -1
  38. package/dist/{resourceActivities-CMUcn2P7.d.ts → resourceActivities-BkC-3bF2.d.ts} +1 -1
  39. package/dist/{resourceActivities-CwbJFGIp.d.mts → resourceActivities-CowKiCCb.d.mts} +1 -1
  40. package/dist/sharing/index.d.mts +1 -1
  41. package/dist/sharing/index.d.ts +1 -1
  42. package/dist/types/index.d.mts +7 -7
  43. package/dist/types/index.d.ts +7 -7
  44. package/dist/{user-D47MLFyH.d.ts → user-CpWRig6p.d.ts} +1 -1
  45. package/dist/{user-DE8edl3u.d.mts → user-DiJffpnd.d.mts} +1 -1
  46. package/dist/utils/index.d.mts +3 -3
  47. package/dist/utils/index.d.ts +3 -3
  48. package/package.json +1 -1
  49. package/dist/chunk-R6PCFOYO.mjs.map +0 -1
@@ -3156,6 +3156,8 @@ var UNREGISTERED_VENDOR = import_client3.gql`
3156
3156
  active
3157
3157
  categoryIds
3158
3158
  claimed
3159
+ claimedAt
3160
+ claimedByUserId
3159
3161
  createdAt
3160
3162
  deletedAt
3161
3163
  email
@@ -3235,10 +3237,123 @@ var GET_UNREGISTERED_VENDOR = import_client3.gql`
3235
3237
  }
3236
3238
  ${UNREGISTERED_VENDOR}
3237
3239
  `;
3240
+ var MY_PENDING_VENDOR_CLAIM = import_client3.gql`
3241
+ query myPendingVendorClaim {
3242
+ myPendingVendorClaim {
3243
+ _id
3244
+ name
3245
+ region
3246
+ }
3247
+ }
3248
+ `;
3238
3249
 
3239
- // src/graphql/queries/partner.ts
3250
+ // src/graphql/mutations/vendor.ts
3240
3251
  var import_client4 = require("@apollo/client");
3241
- var PARTNER = import_client4.gql`
3252
+ var CREATE_VENDOR_MUTATION = import_client4.gql`
3253
+ mutation createVendor($input: VendorInputType!) {
3254
+ createVendor(input: $input) {
3255
+ data {
3256
+ ...VendorFields
3257
+ }
3258
+ message
3259
+ }
3260
+ }
3261
+ ${VENDOR}
3262
+ `;
3263
+ var UPDATE_VENDOR_MUTATION = import_client4.gql`
3264
+ mutation updateVendor($_id: ID!, $input: VendorInputType!) {
3265
+ updateVendor(_id: $_id, input: $input) {
3266
+ data {
3267
+ ...VendorFields
3268
+ }
3269
+ message
3270
+ }
3271
+ }
3272
+ ${VENDOR}
3273
+ `;
3274
+ var DELETE_VENDOR_MUTATION = import_client4.gql`
3275
+ mutation deleteVendor($_id: ID!) {
3276
+ deleteVendor(_id: $_id) {
3277
+ data
3278
+ message
3279
+ }
3280
+ }
3281
+ `;
3282
+ var CREATE_VENDOR_INFO_MUTATION = import_client4.gql`
3283
+ mutation createVendorInfo($input: VendorInfoInputType!) {
3284
+ createVendorInfo(input: $input) {
3285
+ data {
3286
+ ...VendorInfoFields
3287
+ }
3288
+ message
3289
+ }
3290
+ }
3291
+ ${VENDOR_INFO}
3292
+ `;
3293
+ var UPDATE_VENDOR_INFO_MUTATION = import_client4.gql`
3294
+ mutation updateVendorInfo($_id: ID!, $input: VendorInfoInputType!) {
3295
+ updateVendorInfo(_id: $_id, input: $input) {
3296
+ data {
3297
+ ...VendorInfoFields
3298
+ }
3299
+ message
3300
+ }
3301
+ }
3302
+ ${VENDOR_INFO}
3303
+ `;
3304
+ var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client4.gql`
3305
+ mutation createUnregisteredVendor($input: UnregisteredVendorInputType!) {
3306
+ createUnregisteredVendor(input: $input) {
3307
+ data {
3308
+ ...UnregisteredVendorFields
3309
+ }
3310
+ message
3311
+ }
3312
+ }
3313
+ ${UNREGISTERED_VENDOR}
3314
+ `;
3315
+ var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client4.gql`
3316
+ mutation updateUnregisteredVendor(
3317
+ $_id: ID!
3318
+ $input: UnregisteredVendorInputType!
3319
+ ) {
3320
+ updateUnregisteredVendor(_id: $_id, input: $input) {
3321
+ data {
3322
+ ...UnregisteredVendorFields
3323
+ }
3324
+ message
3325
+ }
3326
+ }
3327
+ ${UNREGISTERED_VENDOR}
3328
+ `;
3329
+ var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client4.gql`
3330
+ mutation deleteUnregisteredVendor($_id: ID!) {
3331
+ deleteUnregisteredVendor(_id: $_id) {
3332
+ data
3333
+ message
3334
+ }
3335
+ }
3336
+ `;
3337
+ var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client4.gql`
3338
+ mutation unlinkUnregisteredVendorByInviterId($_id: ID!, $inviterId: ID!) {
3339
+ unlinkUnregisteredVendorByInviterId(_id: $_id, inviterId: $inviterId) {
3340
+ data
3341
+ message
3342
+ }
3343
+ }
3344
+ `;
3345
+ var ACTIVATE_VENDOR_CLAIM_MUTATION = import_client4.gql`
3346
+ mutation activateVendorClaim($token: String!) {
3347
+ activateVendorClaim(token: $token) {
3348
+ valid
3349
+ vendorName
3350
+ }
3351
+ }
3352
+ `;
3353
+
3354
+ // src/graphql/queries/partner.ts
3355
+ var import_client5 = require("@apollo/client");
3356
+ var PARTNER = import_client5.gql`
3242
3357
  fragment PartnerFields on PartnerType {
3243
3358
  _id
3244
3359
  active
@@ -3299,7 +3414,7 @@ var PARTNER = import_client4.gql`
3299
3414
  ${RELATED_POST_FIELDS_FRAGMENT}
3300
3415
  ${SOCIAL_SHARE_RESOURCE_FIELDS_FRAGMENT}
3301
3416
  `;
3302
- var GET_PARTNERS = import_client4.gql`
3417
+ var GET_PARTNERS = import_client5.gql`
3303
3418
  query getPartners {
3304
3419
  partners {
3305
3420
  ...PartnerFields
@@ -3307,7 +3422,7 @@ var GET_PARTNERS = import_client4.gql`
3307
3422
  }
3308
3423
  ${PARTNER}
3309
3424
  `;
3310
- var GET_PARTNER = import_client4.gql`
3425
+ var GET_PARTNER = import_client5.gql`
3311
3426
  query getPartner($_id: ID!) {
3312
3427
  partner(_id: $_id) {
3313
3428
  ...PartnerFields
@@ -3315,7 +3430,7 @@ var GET_PARTNER = import_client4.gql`
3315
3430
  }
3316
3431
  ${PARTNER}
3317
3432
  `;
3318
- var GET_PARTNERS_BY_REGION = import_client4.gql`
3433
+ var GET_PARTNERS_BY_REGION = import_client5.gql`
3319
3434
  query getPartnersByRegion(
3320
3435
  $region: String!
3321
3436
  $options: ResourcesByRegionOptions
@@ -3326,7 +3441,7 @@ var GET_PARTNERS_BY_REGION = import_client4.gql`
3326
3441
  }
3327
3442
  ${PARTNER}
3328
3443
  `;
3329
- var SEARCH_PARTNERS = import_client4.gql`
3444
+ var SEARCH_PARTNERS = import_client5.gql`
3330
3445
  query searchPartners($search: String!, $region: String!) {
3331
3446
  partnersSearch(search: $search, region: $region) {
3332
3447
  ...PartnerFields
@@ -3336,17 +3451,17 @@ var SEARCH_PARTNERS = import_client4.gql`
3336
3451
  `;
3337
3452
 
3338
3453
  // src/graphql/queries/post.ts
3339
- var import_client7 = require("@apollo/client");
3454
+ var import_client8 = require("@apollo/client");
3340
3455
 
3341
3456
  // src/graphql/queries/game/dailyClue.ts
3342
- var import_client5 = require("@apollo/client");
3343
- var GAME_DATE_FIELDS_FRAGMENT = import_client5.gql`
3457
+ var import_client6 = require("@apollo/client");
3458
+ var GAME_DATE_FIELDS_FRAGMENT = import_client6.gql`
3344
3459
  fragment GameDateFields on GameDateType {
3345
3460
  startDate
3346
3461
  endDate
3347
3462
  }
3348
3463
  `;
3349
- var DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT = import_client5.gql`
3464
+ var DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT = import_client6.gql`
3350
3465
  fragment DailyClueBaseGameFields on DailyClueBaseGameType {
3351
3466
  gameDate {
3352
3467
  ...GameDateFields
@@ -3355,7 +3470,7 @@ var DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT = import_client5.gql`
3355
3470
  }
3356
3471
  ${GAME_DATE_FIELDS_FRAGMENT}
3357
3472
  `;
3358
- var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client5.gql`
3473
+ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client6.gql`
3359
3474
  fragment DailyClueGameDataFields on DailyClueGameDataType {
3360
3475
  gameFields {
3361
3476
  ...DailyClueBaseGameFields
@@ -3375,15 +3490,15 @@ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client5.gql`
3375
3490
  `;
3376
3491
 
3377
3492
  // src/graphql/queries/game/puzzleGame.ts
3378
- var import_client6 = require("@apollo/client");
3379
- var PUZZLE_ANSWER_FIELDS_FRAGMENT = import_client6.gql`
3493
+ var import_client7 = require("@apollo/client");
3494
+ var PUZZLE_ANSWER_FIELDS_FRAGMENT = import_client7.gql`
3380
3495
  fragment PuzzleAnswerFields on PuzzleAnswerType {
3381
3496
  answer
3382
3497
  answerId
3383
3498
  correct
3384
3499
  }
3385
3500
  `;
3386
- var PUZZLE_QUESTION_FIELDS_FRAGMENT = import_client6.gql`
3501
+ var PUZZLE_QUESTION_FIELDS_FRAGMENT = import_client7.gql`
3387
3502
  fragment PuzzleQuestionFields on PuzzleQuestionType {
3388
3503
  answers {
3389
3504
  ...PuzzleAnswerFields
@@ -3393,13 +3508,13 @@ var PUZZLE_QUESTION_FIELDS_FRAGMENT = import_client6.gql`
3393
3508
  }
3394
3509
  ${PUZZLE_ANSWER_FIELDS_FRAGMENT}
3395
3510
  `;
3396
- var PUZZLE_ANSWERED_QUESTION_FIELDS_FRAGMENT = import_client6.gql`
3511
+ var PUZZLE_ANSWERED_QUESTION_FIELDS_FRAGMENT = import_client7.gql`
3397
3512
  fragment PuzzleAnsweredQuestionFields on PuzzleAnsweredQuestionType {
3398
3513
  questionId
3399
3514
  selectedAnswerId
3400
3515
  }
3401
3516
  `;
3402
- var PUZZLE_BASE_GAME_FIELDS_FRAGMENT = import_client6.gql`
3517
+ var PUZZLE_BASE_GAME_FIELDS_FRAGMENT = import_client7.gql`
3403
3518
  fragment PuzzleBaseGameFields on PuzzleBaseGameType {
3404
3519
  questions {
3405
3520
  ...PuzzleQuestionFields
@@ -3407,7 +3522,7 @@ var PUZZLE_BASE_GAME_FIELDS_FRAGMENT = import_client6.gql`
3407
3522
  }
3408
3523
  ${PUZZLE_QUESTION_FIELDS_FRAGMENT}
3409
3524
  `;
3410
- var PUZZLE_GAME_DATA_FIELDS_FRAGMENT = import_client6.gql`
3525
+ var PUZZLE_GAME_DATA_FIELDS_FRAGMENT = import_client7.gql`
3411
3526
  fragment PuzzleGameDataFields on PuzzleGameDataType {
3412
3527
  gameFields {
3413
3528
  ...PuzzleBaseGameFields
@@ -3423,7 +3538,7 @@ var PUZZLE_GAME_DATA_FIELDS_FRAGMENT = import_client6.gql`
3423
3538
  `;
3424
3539
 
3425
3540
  // src/graphql/queries/post.ts
3426
- var BASE_GAME_FIELDS_FRAGMENT = import_client7.gql`
3541
+ var BASE_GAME_FIELDS_FRAGMENT = import_client8.gql`
3427
3542
  fragment BaseGameFields on BaseGameType {
3428
3543
  gameTypeId
3429
3544
  gameTitle
@@ -3441,7 +3556,7 @@ var BASE_GAME_FIELDS_FRAGMENT = import_client7.gql`
3441
3556
  ${DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT}
3442
3557
  ${PUZZLE_BASE_GAME_FIELDS_FRAGMENT}
3443
3558
  `;
3444
- var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client7.gql`
3559
+ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client8.gql`
3445
3560
  fragment PostContentDataFields on PostContentData {
3446
3561
  game {
3447
3562
  ...BaseGameFields
@@ -3467,7 +3582,7 @@ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client7.gql`
3467
3582
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
3468
3583
  ${BASE_GAME_FIELDS_FRAGMENT}
3469
3584
  `;
3470
- var POST_CONTENT_FIELDS_FRAGMENT = import_client7.gql`
3585
+ var POST_CONTENT_FIELDS_FRAGMENT = import_client8.gql`
3471
3586
  fragment PostContentFields on PostContentType {
3472
3587
  contentData {
3473
3588
  ...PostContentDataFields
@@ -3477,7 +3592,7 @@ var POST_CONTENT_FIELDS_FRAGMENT = import_client7.gql`
3477
3592
  }
3478
3593
  ${POST_CONTENT_DATA_FIELDS_FRAGMENT}
3479
3594
  `;
3480
- var POST_RESOURCE_FIELDS_FRAGMENT = import_client7.gql`
3595
+ var POST_RESOURCE_FIELDS_FRAGMENT = import_client8.gql`
3481
3596
  fragment PostResourceFields on PostResourceType {
3482
3597
  resourceId
3483
3598
  resourceSlug
@@ -3485,7 +3600,7 @@ var POST_RESOURCE_FIELDS_FRAGMENT = import_client7.gql`
3485
3600
  resourceType
3486
3601
  }
3487
3602
  `;
3488
- var POST_FIELDS_FRAGMENT = import_client7.gql`
3603
+ var POST_FIELDS_FRAGMENT = import_client8.gql`
3489
3604
  fragment PostFields on PostType {
3490
3605
  _id
3491
3606
  active
@@ -3516,7 +3631,7 @@ var POST_FIELDS_FRAGMENT = import_client7.gql`
3516
3631
  ${POST_RESOURCE_FIELDS_FRAGMENT}
3517
3632
  ${SOCIAL_SHARE_RESOURCE_FIELDS_FRAGMENT}
3518
3633
  `;
3519
- var GET_POSTS = import_client7.gql`
3634
+ var GET_POSTS = import_client8.gql`
3520
3635
  query getPosts {
3521
3636
  posts {
3522
3637
  ...PostFields
@@ -3524,7 +3639,7 @@ var GET_POSTS = import_client7.gql`
3524
3639
  }
3525
3640
  ${POST_FIELDS_FRAGMENT}
3526
3641
  `;
3527
- var GET_POST = import_client7.gql`
3642
+ var GET_POST = import_client8.gql`
3528
3643
  query getPost($_id: ID!) {
3529
3644
  post(_id: $_id) {
3530
3645
  ...PostFields
@@ -3532,7 +3647,7 @@ var GET_POST = import_client7.gql`
3532
3647
  }
3533
3648
  ${POST_FIELDS_FRAGMENT}
3534
3649
  `;
3535
- var GET_POSTS_BY_TYPE = import_client7.gql`
3650
+ var GET_POSTS_BY_TYPE = import_client8.gql`
3536
3651
  query getPostsByType($postType: PostTypeEnum!) {
3537
3652
  postsByType(postType: $postType) {
3538
3653
  ...PostFields
@@ -3542,29 +3657,29 @@ var GET_POSTS_BY_TYPE = import_client7.gql`
3542
3657
  `;
3543
3658
 
3544
3659
  // src/graphql/queries/shareSlug.ts
3545
- var import_client8 = require("@apollo/client");
3546
- var GET_EVENT_BY_SLUG = import_client8.gql`
3660
+ var import_client9 = require("@apollo/client");
3661
+ var GET_EVENT_BY_SLUG = import_client9.gql`
3547
3662
  query getEventBySlug($slug: String!) {
3548
3663
  eventBySlug(slug: $slug) {
3549
3664
  _id
3550
3665
  }
3551
3666
  }
3552
3667
  `;
3553
- var GET_VENDOR_BY_SLUG = import_client8.gql`
3668
+ var GET_VENDOR_BY_SLUG = import_client9.gql`
3554
3669
  query getVendorBySlug($slug: String!) {
3555
3670
  vendorBySlug(slug: $slug) {
3556
3671
  _id
3557
3672
  }
3558
3673
  }
3559
3674
  `;
3560
- var GET_PARTNER_BY_SLUG = import_client8.gql`
3675
+ var GET_PARTNER_BY_SLUG = import_client9.gql`
3561
3676
  query getPartnerBySlug($slug: String!) {
3562
3677
  partnerBySlug(slug: $slug) {
3563
3678
  _id
3564
3679
  }
3565
3680
  }
3566
3681
  `;
3567
- var GET_POST_BY_SLUG = import_client8.gql`
3682
+ var GET_POST_BY_SLUG = import_client9.gql`
3568
3683
  query getPostBySlug($slug: String!, $postType: PostTypeEnum!) {
3569
3684
  postBySlug(slug: $slug, postType: $postType) {
3570
3685
  _id
@@ -3573,8 +3688,8 @@ var GET_POST_BY_SLUG = import_client8.gql`
3573
3688
  `;
3574
3689
 
3575
3690
  // src/graphql/queries/relation.ts
3576
- var import_client9 = require("@apollo/client");
3577
- var RELATION_FIELDS_FRAGMENT = import_client9.gql`
3691
+ var import_client10 = require("@apollo/client");
3692
+ var RELATION_FIELDS_FRAGMENT = import_client10.gql`
3578
3693
  fragment RelationFields on RelationType {
3579
3694
  _id
3580
3695
  active
@@ -3591,7 +3706,7 @@ var RELATION_FIELDS_FRAGMENT = import_client9.gql`
3591
3706
  }
3592
3707
  ${RELATION_DATES_FRAGMENT}
3593
3708
  `;
3594
- var GET_RELATION = import_client9.gql`
3709
+ var GET_RELATION = import_client10.gql`
3595
3710
  query getRelation($_id: ID!) {
3596
3711
  relation(_id: $_id) {
3597
3712
  ...RelationFields
@@ -3599,7 +3714,7 @@ var GET_RELATION = import_client9.gql`
3599
3714
  }
3600
3715
  ${RELATION_FIELDS_FRAGMENT}
3601
3716
  `;
3602
- var GET_RELATION_BY_EVENT_AND_VENDOR = import_client9.gql`
3717
+ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client10.gql`
3603
3718
  query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
3604
3719
  relationByEventAndVendor(eventId: $eventId, vendorId: $vendorId) {
3605
3720
  ...RelationFields
@@ -3607,7 +3722,7 @@ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client9.gql`
3607
3722
  }
3608
3723
  ${RELATION_FIELDS_FRAGMENT}
3609
3724
  `;
3610
- var GET_EVENT_RELATIONS = import_client9.gql`
3725
+ var GET_EVENT_RELATIONS = import_client10.gql`
3611
3726
  query getEventRelations($eventId: ID!) {
3612
3727
  eventRelations(eventId: $eventId) {
3613
3728
  ...RelationFields
@@ -3615,7 +3730,7 @@ var GET_EVENT_RELATIONS = import_client9.gql`
3615
3730
  }
3616
3731
  ${RELATION_FIELDS_FRAGMENT}
3617
3732
  `;
3618
- var GET_VENDOR_RELATIONS = import_client9.gql`
3733
+ var GET_VENDOR_RELATIONS = import_client10.gql`
3619
3734
  query getVendorRelations($vendorId: ID!) {
3620
3735
  vendorRelations(vendorId: $vendorId) {
3621
3736
  ...RelationFields
@@ -3623,7 +3738,7 @@ var GET_VENDOR_RELATIONS = import_client9.gql`
3623
3738
  }
3624
3739
  ${RELATION_FIELDS_FRAGMENT}
3625
3740
  `;
3626
- var GET_RESOURCE_CONNECTIONS = import_client9.gql`
3741
+ var GET_RESOURCE_CONNECTIONS = import_client10.gql`
3627
3742
  query getResourceConnections(
3628
3743
  $resourceId: ID!
3629
3744
  $resourceType: ResourceTypeEnum!
@@ -3645,11 +3760,11 @@ var GET_RESOURCE_CONNECTIONS = import_client9.gql`
3645
3760
  var import_graphql = require("graphql");
3646
3761
 
3647
3762
  // src/graphql/hooks/admin/hooksMutation.ts
3648
- var import_client11 = require("@apollo/client");
3763
+ var import_client12 = require("@apollo/client");
3649
3764
 
3650
3765
  // src/graphql/mutations/admin.ts
3651
- var import_client10 = require("@apollo/client");
3652
- var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client10.gql`
3766
+ var import_client11 = require("@apollo/client");
3767
+ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client11.gql`
3653
3768
  mutation adminUpdateResourceType($input: AdminUpdateResourceInputType!) {
3654
3769
  adminUpdateResourceType(input: $input) {
3655
3770
  data {
@@ -3661,7 +3776,7 @@ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client10.gql`
3661
3776
  }
3662
3777
  }
3663
3778
  `;
3664
- var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client10.gql`
3779
+ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client11.gql`
3665
3780
  mutation adminResendUserVerificationEmail($userId: ID!) {
3666
3781
  adminResendUserVerificationEmail(userId: $userId) {
3667
3782
  data
@@ -3669,7 +3784,7 @@ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client10.gql`
3669
3784
  }
3670
3785
  }
3671
3786
  `;
3672
- var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client10.gql`
3787
+ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client11.gql`
3673
3788
  mutation adminPermanentlyDeleteResource(
3674
3789
  $resourceId: ID!
3675
3790
  $resourceType: ResourceTypeEnum!
@@ -3685,11 +3800,11 @@ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client10.gql`
3685
3800
  `;
3686
3801
 
3687
3802
  // src/graphql/hooks/auth.ts
3688
- var import_client13 = require("@apollo/client");
3803
+ var import_client14 = require("@apollo/client");
3689
3804
 
3690
3805
  // src/graphql/mutations/auth.ts
3691
- var import_client12 = require("@apollo/client");
3692
- var REGISTER_MUTATION = import_client12.gql`
3806
+ var import_client13 = require("@apollo/client");
3807
+ var REGISTER_MUTATION = import_client13.gql`
3693
3808
  mutation register($input: RegisterInputType!) {
3694
3809
  register(input: $input) {
3695
3810
  data {
@@ -3704,7 +3819,7 @@ var REGISTER_MUTATION = import_client12.gql`
3704
3819
  }
3705
3820
  ${USER_FIELDS_FRAGMENT}
3706
3821
  `;
3707
- var LOGIN_MUTATION = import_client12.gql`
3822
+ var LOGIN_MUTATION = import_client13.gql`
3708
3823
  mutation login($input: LoginInputType!) {
3709
3824
  login(input: $input) {
3710
3825
  data {
@@ -3719,7 +3834,7 @@ var LOGIN_MUTATION = import_client12.gql`
3719
3834
  }
3720
3835
  ${USER_FIELDS_FRAGMENT}
3721
3836
  `;
3722
- var LOGOUT_MUTATION = import_client12.gql`
3837
+ var LOGOUT_MUTATION = import_client13.gql`
3723
3838
  mutation logout {
3724
3839
  logout {
3725
3840
  data
@@ -3727,7 +3842,7 @@ var LOGOUT_MUTATION = import_client12.gql`
3727
3842
  }
3728
3843
  }
3729
3844
  `;
3730
- var REFRESH_TOKEN_MUTATION = import_client12.gql`
3845
+ var REFRESH_TOKEN_MUTATION = import_client13.gql`
3731
3846
  mutation refreshToken($input: RefreshTokenInputType!) {
3732
3847
  refreshToken(input: $input) {
3733
3848
  data {
@@ -3738,7 +3853,7 @@ var REFRESH_TOKEN_MUTATION = import_client12.gql`
3738
3853
  }
3739
3854
  }
3740
3855
  `;
3741
- var RESET_PASSWORD_MUTATION = import_client12.gql`
3856
+ var RESET_PASSWORD_MUTATION = import_client13.gql`
3742
3857
  mutation resetPassword($input: ResetPasswordInputType!) {
3743
3858
  resetPassword(input: $input) {
3744
3859
  data
@@ -3746,7 +3861,7 @@ var RESET_PASSWORD_MUTATION = import_client12.gql`
3746
3861
  }
3747
3862
  }
3748
3863
  `;
3749
- var REQUEST_PASSWORD_RESET_MUTATION = import_client12.gql`
3864
+ var REQUEST_PASSWORD_RESET_MUTATION = import_client13.gql`
3750
3865
  mutation requestPasswordReset($input: RequestPasswordResetInputType!) {
3751
3866
  requestPasswordReset(input: $input) {
3752
3867
  data
@@ -3754,7 +3869,7 @@ var REQUEST_PASSWORD_RESET_MUTATION = import_client12.gql`
3754
3869
  }
3755
3870
  }
3756
3871
  `;
3757
- var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client12.gql`
3872
+ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client13.gql`
3758
3873
  mutation validateVerificationToken(
3759
3874
  $input: ValidateVerificationTokenInputType!
3760
3875
  ) {
@@ -3766,14 +3881,14 @@ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client12.gql`
3766
3881
  `;
3767
3882
 
3768
3883
  // src/graphql/hooks/chat/hooksMutation.ts
3769
- var import_client16 = require("@apollo/client");
3884
+ var import_client17 = require("@apollo/client");
3770
3885
 
3771
3886
  // src/graphql/mutations/chat.ts
3772
- var import_client15 = require("@apollo/client");
3887
+ var import_client16 = require("@apollo/client");
3773
3888
 
3774
3889
  // src/graphql/queries/chat.ts
3775
- var import_client14 = require("@apollo/client");
3776
- var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client14.gql`
3890
+ var import_client15 = require("@apollo/client");
3891
+ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client15.gql`
3777
3892
  fragment ChatMessageFields on ChatMessageType {
3778
3893
  _id
3779
3894
  content
@@ -3796,7 +3911,7 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client14.gql`
3796
3911
  updatedAt
3797
3912
  }
3798
3913
  `;
3799
- var CHAT_PARTICIPANT = import_client14.gql`
3914
+ var CHAT_PARTICIPANT = import_client15.gql`
3800
3915
  fragment ChatParticipantFields on ChatParticipantType {
3801
3916
  active
3802
3917
  userAvatar
@@ -3805,7 +3920,7 @@ var CHAT_PARTICIPANT = import_client14.gql`
3805
3920
  userName
3806
3921
  }
3807
3922
  `;
3808
- var CHAT_FIELDS_FRAGMENT = import_client14.gql`
3923
+ var CHAT_FIELDS_FRAGMENT = import_client15.gql`
3809
3924
  fragment ChatFields on ChatType {
3810
3925
  _id
3811
3926
  active
@@ -3826,7 +3941,7 @@ var CHAT_FIELDS_FRAGMENT = import_client14.gql`
3826
3941
  ${CHAT_MESSAGE_FIELDS_FRAGMENT}
3827
3942
  ${CHAT_PARTICIPANT}
3828
3943
  `;
3829
- var CHAT = import_client14.gql`
3944
+ var CHAT = import_client15.gql`
3830
3945
  query chat($_id: ID!) {
3831
3946
  chat(_id: $_id) {
3832
3947
  ...ChatFields
@@ -3834,15 +3949,23 @@ var CHAT = import_client14.gql`
3834
3949
  }
3835
3950
  ${CHAT_FIELDS_FRAGMENT}
3836
3951
  `;
3837
- var USER_CHATS = import_client14.gql`
3838
- query userChats {
3839
- userChats {
3952
+ var PRIVATE_CHATS = import_client15.gql`
3953
+ query privateChats {
3954
+ privateChats {
3955
+ ...ChatFields
3956
+ }
3957
+ }
3958
+ ${CHAT_FIELDS_FRAGMENT}
3959
+ `;
3960
+ var RELATION_CHATS = import_client15.gql`
3961
+ query relationChats {
3962
+ relationChats {
3840
3963
  ...ChatFields
3841
3964
  }
3842
3965
  }
3843
3966
  ${CHAT_FIELDS_FRAGMENT}
3844
3967
  `;
3845
- var GET_CHATS_BY_REGION = import_client14.gql`
3968
+ var GET_CHATS_BY_REGION = import_client15.gql`
3846
3969
  query getChatsByRegion($region: String!) {
3847
3970
  chatsByRegion(region: $region) {
3848
3971
  ...ChatFields
@@ -3850,7 +3973,7 @@ var GET_CHATS_BY_REGION = import_client14.gql`
3850
3973
  }
3851
3974
  ${CHAT_FIELDS_FRAGMENT}
3852
3975
  `;
3853
- var CHAT_REPORT_FIELDS_FRAGMENT = import_client14.gql`
3976
+ var CHAT_REPORT_FIELDS_FRAGMENT = import_client15.gql`
3854
3977
  fragment ChatReportFields on ReportChatUserType {
3855
3978
  _id
3856
3979
  chatId
@@ -3865,7 +3988,7 @@ var CHAT_REPORT_FIELDS_FRAGMENT = import_client14.gql`
3865
3988
  updatedAt
3866
3989
  }
3867
3990
  `;
3868
- var GET_REPORTED_CHAT_USERS = import_client14.gql`
3991
+ var GET_REPORTED_CHAT_USERS = import_client15.gql`
3869
3992
  query getReportedChatUsers {
3870
3993
  reportedChatUsers {
3871
3994
  ...ChatReportFields
@@ -3875,7 +3998,7 @@ var GET_REPORTED_CHAT_USERS = import_client14.gql`
3875
3998
  `;
3876
3999
 
3877
4000
  // src/graphql/mutations/chat.ts
3878
- var CREATE_PRIVATE_CHAT_MUTATION = import_client15.gql`
4001
+ var CREATE_PRIVATE_CHAT_MUTATION = import_client16.gql`
3879
4002
  mutation createPrivateChat($userId: ID!) {
3880
4003
  createPrivateChat(userId: $userId) {
3881
4004
  data {
@@ -3886,7 +4009,7 @@ var CREATE_PRIVATE_CHAT_MUTATION = import_client15.gql`
3886
4009
  }
3887
4010
  ${CHAT_FIELDS_FRAGMENT}
3888
4011
  `;
3889
- var SEND_CHAT_MESSAGE_MUTATION = import_client15.gql`
4012
+ var SEND_CHAT_MESSAGE_MUTATION = import_client16.gql`
3890
4013
  mutation sendChatMessage($_id: ID!, $input: ChatMessageInputType!) {
3891
4014
  sendChatMessage(_id: $_id, input: $input) {
3892
4015
  data {
@@ -3897,7 +4020,7 @@ var SEND_CHAT_MESSAGE_MUTATION = import_client15.gql`
3897
4020
  }
3898
4021
  ${CHAT_FIELDS_FRAGMENT}
3899
4022
  `;
3900
- var DELETE_CHAT_MUTATION = import_client15.gql`
4023
+ var DELETE_CHAT_MUTATION = import_client16.gql`
3901
4024
  mutation deleteChat($_id: ID!) {
3902
4025
  deleteChat(_id: $_id) {
3903
4026
  data
@@ -3905,7 +4028,7 @@ var DELETE_CHAT_MUTATION = import_client15.gql`
3905
4028
  }
3906
4029
  }
3907
4030
  `;
3908
- var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client15.gql`
4031
+ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client16.gql`
3909
4032
  mutation addParticipantToChat($chatId: ID!, $userId: ID!) {
3910
4033
  addParticipantToChat(chatId: $chatId, userId: $userId) {
3911
4034
  data {
@@ -3916,7 +4039,7 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client15.gql`
3916
4039
  }
3917
4040
  ${CHAT_FIELDS_FRAGMENT}
3918
4041
  `;
3919
- var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client15.gql`
4042
+ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client16.gql`
3920
4043
  mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
3921
4044
  removeParticipantFromChat(chatId: $chatId, userId: $userId) {
3922
4045
  data {
@@ -3927,7 +4050,7 @@ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client15.gql`
3927
4050
  }
3928
4051
  }
3929
4052
  `;
3930
- var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client15.gql`
4053
+ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client16.gql`
3931
4054
  mutation toggleChatMessageLike($chatId: ID!, $messageId: ID!) {
3932
4055
  toggleChatMessageLike(chatId: $chatId, messageId: $messageId) {
3933
4056
  data {
@@ -3938,7 +4061,7 @@ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client15.gql`
3938
4061
  }
3939
4062
  ${CHAT_FIELDS_FRAGMENT}
3940
4063
  `;
3941
- var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client15.gql`
4064
+ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client16.gql`
3942
4065
  mutation markChatMessagesSeen($chatId: ID!, $messageIds: [ID!]!) {
3943
4066
  markChatMessagesSeen(chatId: $chatId, messageIds: $messageIds) {
3944
4067
  data {
@@ -3949,7 +4072,7 @@ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client15.gql`
3949
4072
  }
3950
4073
  ${CHAT_FIELDS_FRAGMENT}
3951
4074
  `;
3952
- var REPORT_CHAT_USER_MUTATION = import_client15.gql`
4075
+ var REPORT_CHAT_USER_MUTATION = import_client16.gql`
3953
4076
  mutation reportChatUser($input: ReportChatUserInputType!) {
3954
4077
  reportChatUser(input: $input) {
3955
4078
  data {
@@ -3962,11 +4085,11 @@ var REPORT_CHAT_USER_MUTATION = import_client15.gql`
3962
4085
  `;
3963
4086
 
3964
4087
  // src/graphql/hooks/chat/hooksQuery.ts
3965
- var import_client18 = require("@apollo/client");
4088
+ var import_client19 = require("@apollo/client");
3966
4089
 
3967
4090
  // src/graphql/subscriptions/chat.ts
3968
- var import_client17 = require("@apollo/client");
3969
- var GET_CHAT_MESSAGE = import_client17.gql`
4091
+ var import_client18 = require("@apollo/client");
4092
+ var GET_CHAT_MESSAGE = import_client18.gql`
3970
4093
  subscription {
3971
4094
  getChatMessage {
3972
4095
  ...ChatFields
@@ -3976,11 +4099,11 @@ var GET_CHAT_MESSAGE = import_client17.gql`
3976
4099
  `;
3977
4100
 
3978
4101
  // src/graphql/hooks/contactUs.ts
3979
- var import_client20 = require("@apollo/client");
4102
+ var import_client21 = require("@apollo/client");
3980
4103
 
3981
4104
  // src/graphql/mutations/contactUs.ts
3982
- var import_client19 = require("@apollo/client");
3983
- var CONTACT_US_MUTATION = import_client19.gql`
4105
+ var import_client20 = require("@apollo/client");
4106
+ var CONTACT_US_MUTATION = import_client20.gql`
3984
4107
  mutation contactUs($input: ContactUsInputType!) {
3985
4108
  contactUs(input: $input) {
3986
4109
  data
@@ -3990,11 +4113,11 @@ var CONTACT_US_MUTATION = import_client19.gql`
3990
4113
  `;
3991
4114
 
3992
4115
  // src/graphql/hooks/event/hooksMutation.ts
3993
- var import_client23 = require("@apollo/client");
4116
+ var import_client24 = require("@apollo/client");
3994
4117
 
3995
4118
  // src/graphql/mutations/event.ts
3996
- var import_client21 = require("@apollo/client");
3997
- var CREATE_EVENT_MUTATION = import_client21.gql`
4119
+ var import_client22 = require("@apollo/client");
4120
+ var CREATE_EVENT_MUTATION = import_client22.gql`
3998
4121
  mutation createEvent($input: EventInputType!) {
3999
4122
  createEvent(input: $input) {
4000
4123
  data {
@@ -4005,7 +4128,7 @@ var CREATE_EVENT_MUTATION = import_client21.gql`
4005
4128
  }
4006
4129
  ${EVENT}
4007
4130
  `;
4008
- var UPDATE_EVENT_MUTATION = import_client21.gql`
4131
+ var UPDATE_EVENT_MUTATION = import_client22.gql`
4009
4132
  mutation updateEvent($_id: ID!, $input: EventInputType!) {
4010
4133
  updateEvent(_id: $_id, input: $input) {
4011
4134
  data {
@@ -4016,7 +4139,7 @@ var UPDATE_EVENT_MUTATION = import_client21.gql`
4016
4139
  }
4017
4140
  ${EVENT}
4018
4141
  `;
4019
- var DELETE_EVENT_MUTATION = import_client21.gql`
4142
+ var DELETE_EVENT_MUTATION = import_client22.gql`
4020
4143
  mutation deleteEvent($_id: ID!) {
4021
4144
  deleteEvent(_id: $_id) {
4022
4145
  data
@@ -4024,7 +4147,7 @@ var DELETE_EVENT_MUTATION = import_client21.gql`
4024
4147
  }
4025
4148
  }
4026
4149
  `;
4027
- var CREATE_EVENT_INFO_MUTATION = import_client21.gql`
4150
+ var CREATE_EVENT_INFO_MUTATION = import_client22.gql`
4028
4151
  mutation createEventInfo($input: EventInfoInputType!) {
4029
4152
  createEventInfo(input: $input) {
4030
4153
  data {
@@ -4035,7 +4158,7 @@ var CREATE_EVENT_INFO_MUTATION = import_client21.gql`
4035
4158
  }
4036
4159
  ${EVENT_INFO}
4037
4160
  `;
4038
- var UPDATE_EVENT_INFO_MUTATION = import_client21.gql`
4161
+ var UPDATE_EVENT_INFO_MUTATION = import_client22.gql`
4039
4162
  mutation updateEventInfo($_id: ID!, $input: EventInfoInputType!) {
4040
4163
  updateEventInfo(_id: $_id, input: $input) {
4041
4164
  data {
@@ -4048,8 +4171,8 @@ var UPDATE_EVENT_INFO_MUTATION = import_client21.gql`
4048
4171
  `;
4049
4172
 
4050
4173
  // src/graphql/queries/user.ts
4051
- var import_client22 = require("@apollo/client");
4052
- var GET_USERS = import_client22.gql`
4174
+ var import_client23 = require("@apollo/client");
4175
+ var GET_USERS = import_client23.gql`
4053
4176
  query getUsers {
4054
4177
  users {
4055
4178
  ...UserFields
@@ -4057,7 +4180,7 @@ var GET_USERS = import_client22.gql`
4057
4180
  }
4058
4181
  ${USER_FIELDS_FRAGMENT}
4059
4182
  `;
4060
- var GET_USER = import_client22.gql`
4183
+ var GET_USER = import_client23.gql`
4061
4184
  query getUser($_id: ID!) {
4062
4185
  user(_id: $_id) {
4063
4186
  ...UserFields
@@ -4065,7 +4188,7 @@ var GET_USER = import_client22.gql`
4065
4188
  }
4066
4189
  ${USER_FIELDS_FRAGMENT}
4067
4190
  `;
4068
- var GET_USER_EVENTS = import_client22.gql`
4191
+ var GET_USER_EVENTS = import_client23.gql`
4069
4192
  query getUserEvents {
4070
4193
  userEvents {
4071
4194
  ...EventFields
@@ -4073,7 +4196,7 @@ var GET_USER_EVENTS = import_client22.gql`
4073
4196
  }
4074
4197
  ${EVENT}
4075
4198
  `;
4076
- var GET_USER_VENDORS = import_client22.gql`
4199
+ var GET_USER_VENDORS = import_client23.gql`
4077
4200
  query getUserVendors {
4078
4201
  userVendors {
4079
4202
  ...VendorFields
@@ -4081,7 +4204,7 @@ var GET_USER_VENDORS = import_client22.gql`
4081
4204
  }
4082
4205
  ${VENDOR}
4083
4206
  `;
4084
- var GET_USER_PARTNERS = import_client22.gql`
4207
+ var GET_USER_PARTNERS = import_client23.gql`
4085
4208
  query getUserPartners {
4086
4209
  userPartners {
4087
4210
  ...PartnerFields
@@ -4089,7 +4212,7 @@ var GET_USER_PARTNERS = import_client22.gql`
4089
4212
  }
4090
4213
  ${PARTNER}
4091
4214
  `;
4092
- var GET_USER_ACTIVITIES = import_client22.gql`
4215
+ var GET_USER_ACTIVITIES = import_client23.gql`
4093
4216
  query getUserActivities {
4094
4217
  userActivities {
4095
4218
  favourites {
@@ -4124,7 +4247,7 @@ var GET_USER_ACTIVITIES = import_client22.gql`
4124
4247
  ${VENDOR}
4125
4248
  ${PARTNER}
4126
4249
  `;
4127
- var GET_USER_RESOURCES = import_client22.gql`
4250
+ var GET_USER_RESOURCES = import_client23.gql`
4128
4251
  query getUserResources($userId: ID!) {
4129
4252
  userResources(userId: $userId) {
4130
4253
  resources {
@@ -4138,17 +4261,17 @@ var GET_USER_RESOURCES = import_client22.gql`
4138
4261
  `;
4139
4262
 
4140
4263
  // src/graphql/hooks/event/hooksQuery.ts
4141
- var import_client24 = require("@apollo/client");
4264
+ var import_client25 = require("@apollo/client");
4142
4265
 
4143
4266
  // src/graphql/hooks/notifications/hooksMutation.ts
4144
- var import_client27 = require("@apollo/client");
4267
+ var import_client28 = require("@apollo/client");
4145
4268
 
4146
4269
  // src/graphql/mutations/notification.ts
4147
- var import_client26 = require("@apollo/client");
4270
+ var import_client27 = require("@apollo/client");
4148
4271
 
4149
4272
  // src/graphql/queries/notification.ts
4150
- var import_client25 = require("@apollo/client");
4151
- var NOTIFICATION_FRAGMENT = import_client25.gql`
4273
+ var import_client26 = require("@apollo/client");
4274
+ var NOTIFICATION_FRAGMENT = import_client26.gql`
4152
4275
  fragment NotificationFields on Notification {
4153
4276
  _id
4154
4277
  userId
@@ -4165,7 +4288,7 @@ var NOTIFICATION_FRAGMENT = import_client25.gql`
4165
4288
  updatedAt
4166
4289
  }
4167
4290
  `;
4168
- var GET_USER_NOTIFICATIONS = import_client25.gql`
4291
+ var GET_USER_NOTIFICATIONS = import_client26.gql`
4169
4292
  query getUserNotifications($limit: Int, $offset: Int) {
4170
4293
  userNotifications(limit: $limit, offset: $offset) {
4171
4294
  ...NotificationFields
@@ -4173,7 +4296,7 @@ var GET_USER_NOTIFICATIONS = import_client25.gql`
4173
4296
  }
4174
4297
  ${NOTIFICATION_FRAGMENT}
4175
4298
  `;
4176
- var GET_NOTIFICATION_COUNT = import_client25.gql`
4299
+ var GET_NOTIFICATION_COUNT = import_client26.gql`
4177
4300
  query getNotificationCount {
4178
4301
  notificationCount {
4179
4302
  total
@@ -4183,7 +4306,7 @@ var GET_NOTIFICATION_COUNT = import_client25.gql`
4183
4306
  `;
4184
4307
 
4185
4308
  // src/graphql/mutations/notification.ts
4186
- var CREATE_BULK_NOTIFICATIONS = import_client26.gql`
4309
+ var CREATE_BULK_NOTIFICATIONS = import_client27.gql`
4187
4310
  mutation createBulkNotifications($input: CreateBulkNotificationInput!) {
4188
4311
  createBulkNotifications(input: $input) {
4189
4312
  data
@@ -4191,7 +4314,7 @@ var CREATE_BULK_NOTIFICATIONS = import_client26.gql`
4191
4314
  }
4192
4315
  }
4193
4316
  `;
4194
- var MARK_NOTIFICATION_READ = import_client26.gql`
4317
+ var MARK_NOTIFICATION_READ = import_client27.gql`
4195
4318
  mutation markNotificationRead($_id: ID!) {
4196
4319
  markNotificationRead(_id: $_id) {
4197
4320
  data {
@@ -4202,7 +4325,7 @@ var MARK_NOTIFICATION_READ = import_client26.gql`
4202
4325
  }
4203
4326
  ${NOTIFICATION_FRAGMENT}
4204
4327
  `;
4205
- var MARK_ALL_NOTIFICATIONS_READ = import_client26.gql`
4328
+ var MARK_ALL_NOTIFICATIONS_READ = import_client27.gql`
4206
4329
  mutation markAllNotificationsRead {
4207
4330
  markAllNotificationsRead {
4208
4331
  data
@@ -4210,7 +4333,7 @@ var MARK_ALL_NOTIFICATIONS_READ = import_client26.gql`
4210
4333
  }
4211
4334
  }
4212
4335
  `;
4213
- var DELETE_NOTIFICATION = import_client26.gql`
4336
+ var DELETE_NOTIFICATION = import_client27.gql`
4214
4337
  mutation deleteNotification($_id: ID!) {
4215
4338
  deleteNotification(_id: $_id) {
4216
4339
  data
@@ -4218,7 +4341,7 @@ var DELETE_NOTIFICATION = import_client26.gql`
4218
4341
  }
4219
4342
  }
4220
4343
  `;
4221
- var DELETE_ALL_NOTIFICATIONS = import_client26.gql`
4344
+ var DELETE_ALL_NOTIFICATIONS = import_client27.gql`
4222
4345
  mutation deleteAllNotifications {
4223
4346
  deleteAllNotifications {
4224
4347
  data
@@ -4228,14 +4351,14 @@ var DELETE_ALL_NOTIFICATIONS = import_client26.gql`
4228
4351
  `;
4229
4352
 
4230
4353
  // src/graphql/hooks/notifications/hooksQuery.ts
4231
- var import_client28 = require("@apollo/client");
4354
+ var import_client29 = require("@apollo/client");
4232
4355
 
4233
4356
  // src/graphql/hooks/notifications/hooksSubscription.ts
4234
- var import_client30 = require("@apollo/client");
4357
+ var import_client31 = require("@apollo/client");
4235
4358
 
4236
4359
  // src/graphql/subscriptions/notification.ts
4237
- var import_client29 = require("@apollo/client");
4238
- var GET_NOTIFICATIONS_SUBSCRIPTION = import_client29.gql`
4360
+ var import_client30 = require("@apollo/client");
4361
+ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client30.gql`
4239
4362
  subscription {
4240
4363
  getUserNotifications {
4241
4364
  ...NotificationFields
@@ -4243,7 +4366,7 @@ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client29.gql`
4243
4366
  }
4244
4367
  ${NOTIFICATION_FRAGMENT}
4245
4368
  `;
4246
- var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client29.gql`
4369
+ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client30.gql`
4247
4370
  subscription {
4248
4371
  getNotificationCount {
4249
4372
  total
@@ -4253,11 +4376,11 @@ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client29.gql`
4253
4376
  `;
4254
4377
 
4255
4378
  // src/graphql/hooks/poster.ts
4256
- var import_client32 = require("@apollo/client");
4379
+ var import_client33 = require("@apollo/client");
4257
4380
 
4258
4381
  // src/graphql/mutations/poster.ts
4259
- var import_client31 = require("@apollo/client");
4260
- var CREATE_POSTER_MUTATION = import_client31.gql`
4382
+ var import_client32 = require("@apollo/client");
4383
+ var CREATE_POSTER_MUTATION = import_client32.gql`
4261
4384
  mutation createPoster($input: PosterInputType!) {
4262
4385
  createPoster(input: $input) {
4263
4386
  data {
@@ -4272,11 +4395,11 @@ var CREATE_POSTER_MUTATION = import_client31.gql`
4272
4395
  `;
4273
4396
 
4274
4397
  // src/graphql/hooks/pushToken.ts
4275
- var import_client34 = require("@apollo/client");
4398
+ var import_client35 = require("@apollo/client");
4276
4399
 
4277
4400
  // src/graphql/mutations/pushToken.ts
4278
- var import_client33 = require("@apollo/client");
4279
- var CREATE_PUSH_TOKEN_MUTATION = import_client33.gql`
4401
+ var import_client34 = require("@apollo/client");
4402
+ var CREATE_PUSH_TOKEN_MUTATION = import_client34.gql`
4280
4403
  mutation createPushToken($input: PushTokenInput!) {
4281
4404
  createPushToken(input: $input) {
4282
4405
  data {
@@ -4288,11 +4411,11 @@ var CREATE_PUSH_TOKEN_MUTATION = import_client33.gql`
4288
4411
  `;
4289
4412
 
4290
4413
  // src/graphql/hooks/relation/hooksMutation.ts
4291
- var import_client36 = require("@apollo/client");
4414
+ var import_client37 = require("@apollo/client");
4292
4415
 
4293
4416
  // src/graphql/mutations/relation.ts
4294
- var import_client35 = require("@apollo/client");
4295
- var CREATE_RELATION_MUTATION = import_client35.gql`
4417
+ var import_client36 = require("@apollo/client");
4418
+ var CREATE_RELATION_MUTATION = import_client36.gql`
4296
4419
  mutation createRelation($input: RelationInputType!) {
4297
4420
  createRelation(input: $input) {
4298
4421
  data {
@@ -4303,7 +4426,7 @@ var CREATE_RELATION_MUTATION = import_client35.gql`
4303
4426
  }
4304
4427
  ${RELATION_FIELDS_FRAGMENT}
4305
4428
  `;
4306
- var UPDATE_RELATION_MUTATION = import_client35.gql`
4429
+ var UPDATE_RELATION_MUTATION = import_client36.gql`
4307
4430
  mutation updateRelation($_id: ID!, $input: RelationInputType!) {
4308
4431
  updateRelation(_id: $_id, input: $input) {
4309
4432
  data {
@@ -4314,7 +4437,7 @@ var UPDATE_RELATION_MUTATION = import_client35.gql`
4314
4437
  }
4315
4438
  ${RELATION_FIELDS_FRAGMENT}
4316
4439
  `;
4317
- var DELETE_RELATION_MUTATION = import_client35.gql`
4440
+ var DELETE_RELATION_MUTATION = import_client36.gql`
4318
4441
  mutation deleteRelation($_id: ID!) {
4319
4442
  deleteRelation(_id: $_id) {
4320
4443
  data {
@@ -4327,107 +4450,11 @@ var DELETE_RELATION_MUTATION = import_client35.gql`
4327
4450
  `;
4328
4451
 
4329
4452
  // src/graphql/hooks/relation/hooksQuery.ts
4330
- var import_client37 = require("@apollo/client");
4453
+ var import_client38 = require("@apollo/client");
4331
4454
 
4332
4455
  // src/graphql/hooks/vendor/hooksMutation.ts
4333
4456
  var import_client39 = require("@apollo/client");
4334
4457
 
4335
- // src/graphql/mutations/vendor.ts
4336
- var import_client38 = require("@apollo/client");
4337
- var CREATE_VENDOR_MUTATION = import_client38.gql`
4338
- mutation createVendor($input: VendorInputType!) {
4339
- createVendor(input: $input) {
4340
- data {
4341
- ...VendorFields
4342
- }
4343
- message
4344
- }
4345
- }
4346
- ${VENDOR}
4347
- `;
4348
- var UPDATE_VENDOR_MUTATION = import_client38.gql`
4349
- mutation updateVendor($_id: ID!, $input: VendorInputType!) {
4350
- updateVendor(_id: $_id, input: $input) {
4351
- data {
4352
- ...VendorFields
4353
- }
4354
- message
4355
- }
4356
- }
4357
- ${VENDOR}
4358
- `;
4359
- var DELETE_VENDOR_MUTATION = import_client38.gql`
4360
- mutation deleteVendor($_id: ID!) {
4361
- deleteVendor(_id: $_id) {
4362
- data
4363
- message
4364
- }
4365
- }
4366
- `;
4367
- var CREATE_VENDOR_INFO_MUTATION = import_client38.gql`
4368
- mutation createVendorInfo($input: VendorInfoInputType!) {
4369
- createVendorInfo(input: $input) {
4370
- data {
4371
- ...VendorInfoFields
4372
- }
4373
- message
4374
- }
4375
- }
4376
- ${VENDOR_INFO}
4377
- `;
4378
- var UPDATE_VENDOR_INFO_MUTATION = import_client38.gql`
4379
- mutation updateVendorInfo($_id: ID!, $input: VendorInfoInputType!) {
4380
- updateVendorInfo(_id: $_id, input: $input) {
4381
- data {
4382
- ...VendorInfoFields
4383
- }
4384
- message
4385
- }
4386
- }
4387
- ${VENDOR_INFO}
4388
- `;
4389
- var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
4390
- mutation createUnregisteredVendor($input: UnregisteredVendorInputType!) {
4391
- createUnregisteredVendor(input: $input) {
4392
- data {
4393
- ...UnregisteredVendorFields
4394
- }
4395
- message
4396
- }
4397
- }
4398
- ${UNREGISTERED_VENDOR}
4399
- `;
4400
- var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
4401
- mutation updateUnregisteredVendor(
4402
- $_id: ID!
4403
- $input: UnregisteredVendorInputType!
4404
- ) {
4405
- updateUnregisteredVendor(_id: $_id, input: $input) {
4406
- data {
4407
- ...UnregisteredVendorFields
4408
- }
4409
- message
4410
- }
4411
- }
4412
- ${UNREGISTERED_VENDOR}
4413
- `;
4414
- var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
4415
- mutation deleteUnregisteredVendor($_id: ID!) {
4416
- deleteUnregisteredVendor(_id: $_id) {
4417
- data
4418
- message
4419
- }
4420
- }
4421
- `;
4422
- var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client38.gql`
4423
- mutation unlinkUnregisteredVendorByInviterId($_id: ID!, $inviterId: ID!) {
4424
- unlinkUnregisteredVendorByInviterId(_id: $_id, inviterId: $inviterId) {
4425
- data
4426
- message
4427
- }
4428
- }
4429
- `;
4430
-
4431
4458
  // src/graphql/hooks/vendor/hooksQuery.ts
4432
4459
  var import_client40 = require("@apollo/client");
4433
4460