@timardex/cluemart-shared 1.5.753 → 1.5.756

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 (42) hide show
  1. package/dist/{ad-DQV7gLkZ.d.mts → ad-QbxQEG6o.d.mts} +1 -1
  2. package/dist/{ad-D3RF-B6B.d.ts → ad-pLZUkF7z.d.ts} +1 -1
  3. package/dist/{chunk-WBJDMRUC.mjs → chunk-O3S5IQT3.mjs} +136 -137
  4. package/dist/chunk-O3S5IQT3.mjs.map +1 -0
  5. package/dist/{contactUs-nkrkwqAR.d.mts → contactUs-Bn14BhYR.d.mts} +1 -1
  6. package/dist/{contactUs-Cx5VP74u.d.ts → contactUs-CbgB8N5m.d.ts} +1 -1
  7. package/dist/formFields/index.d.mts +1 -1
  8. package/dist/formFields/index.d.ts +1 -1
  9. package/dist/{global-DugYyRyU.d.ts → global-CMZCDnUT.d.ts} +1 -1
  10. package/dist/{global-BqC8u5sn.d.mts → global-DwcLiMf-.d.mts} +1 -1
  11. package/dist/graphql/index.cjs +195 -195
  12. package/dist/graphql/index.cjs.map +1 -1
  13. package/dist/graphql/index.d.mts +6 -4
  14. package/dist/graphql/index.d.ts +6 -4
  15. package/dist/graphql/index.mjs +3 -1
  16. package/dist/hooks/index.cjs +146 -148
  17. package/dist/hooks/index.cjs.map +1 -1
  18. package/dist/hooks/index.d.mts +3 -3
  19. package/dist/hooks/index.d.ts +3 -3
  20. package/dist/hooks/index.mjs +2 -2
  21. package/dist/index.cjs +195 -195
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.mts +3 -1
  24. package/dist/index.d.ts +3 -1
  25. package/dist/index.mjs +135 -136
  26. package/dist/index.mjs.map +1 -1
  27. package/dist/map/index.cjs +197 -0
  28. package/dist/map/index.cjs.map +1 -0
  29. package/dist/map/index.d.mts +73 -0
  30. package/dist/map/index.d.ts +73 -0
  31. package/dist/map/index.mjs +153 -0
  32. package/dist/map/index.mjs.map +1 -0
  33. package/dist/{resourceActivities-CEixbvCy.d.ts → resourceActivities-BiIFWxSA.d.ts} +1 -1
  34. package/dist/{resourceActivities-BA_feTbb.d.mts → resourceActivities-qSbrOsu_.d.mts} +1 -1
  35. package/dist/sharing/index.d.mts +1 -1
  36. package/dist/sharing/index.d.ts +1 -1
  37. package/dist/types/index.d.mts +5 -5
  38. package/dist/types/index.d.ts +5 -5
  39. package/dist/utils/index.d.mts +1 -1
  40. package/dist/utils/index.d.ts +1 -1
  41. package/package.json +6 -1
  42. package/dist/chunk-WBJDMRUC.mjs.map +0 -1
@@ -3361,12 +3361,81 @@ var GET_POSTS_BY_TYPE = import_client7.gql`
3361
3361
  ${POST_FIELDS_FRAGMENT}
3362
3362
  `;
3363
3363
 
3364
+ // src/graphql/queries/relation.ts
3365
+ var import_client8 = require("@apollo/client");
3366
+ var RELATION_FIELDS_FRAGMENT = import_client8.gql`
3367
+ fragment RelationFields on RelationType {
3368
+ _id
3369
+ active
3370
+ chatId
3371
+ createdAt
3372
+ lastUpdateBy
3373
+ eventId
3374
+ relationDates {
3375
+ ...RelationDates
3376
+ }
3377
+ relationType
3378
+ vendorId
3379
+ updatedAt
3380
+ }
3381
+ ${RELATION_DATES_FRAGMENT}
3382
+ `;
3383
+ var GET_RELATION = import_client8.gql`
3384
+ query getRelation($_id: ID!) {
3385
+ relation(_id: $_id) {
3386
+ ...RelationFields
3387
+ }
3388
+ }
3389
+ ${RELATION_FIELDS_FRAGMENT}
3390
+ `;
3391
+ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client8.gql`
3392
+ query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
3393
+ relationByEventAndVendor(eventId: $eventId, vendorId: $vendorId) {
3394
+ ...RelationFields
3395
+ }
3396
+ }
3397
+ ${RELATION_FIELDS_FRAGMENT}
3398
+ `;
3399
+ var GET_EVENT_RELATIONS = import_client8.gql`
3400
+ query getEventRelations($eventId: ID!) {
3401
+ eventRelations(eventId: $eventId) {
3402
+ ...RelationFields
3403
+ }
3404
+ }
3405
+ ${RELATION_FIELDS_FRAGMENT}
3406
+ `;
3407
+ var GET_VENDOR_RELATIONS = import_client8.gql`
3408
+ query getVendorRelations($vendorId: ID!) {
3409
+ vendorRelations(vendorId: $vendorId) {
3410
+ ...RelationFields
3411
+ }
3412
+ }
3413
+ ${RELATION_FIELDS_FRAGMENT}
3414
+ `;
3415
+ var GET_RESOURCE_CONNECTIONS = import_client8.gql`
3416
+ query getResourceConnections(
3417
+ $resourceId: ID!
3418
+ $resourceType: ResourceTypeEnum!
3419
+ ) {
3420
+ resourceConnections(resourceId: $resourceId, resourceType: $resourceType) {
3421
+ events {
3422
+ ...EventListItemFields
3423
+ }
3424
+ vendors {
3425
+ ...VendorFields
3426
+ }
3427
+ }
3428
+ }
3429
+ ${VENDOR}
3430
+ ${EVENT_LIST_ITEM}
3431
+ `;
3432
+
3364
3433
  // src/graphql/hooks/admin/hooksMutation.ts
3365
- var import_client9 = require("@apollo/client");
3434
+ var import_client10 = require("@apollo/client");
3366
3435
 
3367
3436
  // src/graphql/mutations/admin.ts
3368
- var import_client8 = require("@apollo/client");
3369
- var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client8.gql`
3437
+ var import_client9 = require("@apollo/client");
3438
+ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client9.gql`
3370
3439
  mutation adminUpdateResourceType($input: AdminUpdateResourceInputType!) {
3371
3440
  adminUpdateResourceType(input: $input) {
3372
3441
  active
@@ -3375,12 +3444,12 @@ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client8.gql`
3375
3444
  }
3376
3445
  }
3377
3446
  `;
3378
- var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client8.gql`
3447
+ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client9.gql`
3379
3448
  mutation adminResendUserVerificationEmail($userId: ID!) {
3380
3449
  adminResendUserVerificationEmail(userId: $userId)
3381
3450
  }
3382
3451
  `;
3383
- var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client8.gql`
3452
+ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client9.gql`
3384
3453
  mutation adminPermanentlyDeleteResource(
3385
3454
  $resourceId: ID!
3386
3455
  $resourceType: ResourceTypeEnum!
@@ -3393,11 +3462,11 @@ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client8.gql`
3393
3462
  `;
3394
3463
 
3395
3464
  // src/graphql/hooks/auth.ts
3396
- var import_client11 = require("@apollo/client");
3465
+ var import_client12 = require("@apollo/client");
3397
3466
 
3398
3467
  // src/graphql/mutations/auth.ts
3399
- var import_client10 = require("@apollo/client");
3400
- var REGISTER_MUTATION = import_client10.gql`
3468
+ var import_client11 = require("@apollo/client");
3469
+ var REGISTER_MUTATION = import_client11.gql`
3401
3470
  mutation register($input: RegisterInputType!) {
3402
3471
  register(input: $input) {
3403
3472
  message
@@ -3410,7 +3479,7 @@ var REGISTER_MUTATION = import_client10.gql`
3410
3479
  }
3411
3480
  ${USER_FIELDS_FRAGMENT}
3412
3481
  `;
3413
- var LOGIN_MUTATION = import_client10.gql`
3482
+ var LOGIN_MUTATION = import_client11.gql`
3414
3483
  mutation login($input: LoginInputType!) {
3415
3484
  login(input: $input) {
3416
3485
  message
@@ -3423,14 +3492,14 @@ var LOGIN_MUTATION = import_client10.gql`
3423
3492
  }
3424
3493
  ${USER_FIELDS_FRAGMENT}
3425
3494
  `;
3426
- var LOGOUT_MUTATION = import_client10.gql`
3495
+ var LOGOUT_MUTATION = import_client11.gql`
3427
3496
  mutation logout {
3428
3497
  logout {
3429
3498
  message
3430
3499
  }
3431
3500
  }
3432
3501
  `;
3433
- var REFRESH_TOKEN_MUTATION = import_client10.gql`
3502
+ var REFRESH_TOKEN_MUTATION = import_client11.gql`
3434
3503
  mutation refreshToken($input: RefreshTokenInputType!) {
3435
3504
  refreshToken(input: $input) {
3436
3505
  refreshToken
@@ -3438,21 +3507,21 @@ var REFRESH_TOKEN_MUTATION = import_client10.gql`
3438
3507
  }
3439
3508
  }
3440
3509
  `;
3441
- var RESET_PASSWORD_MUTATION = import_client10.gql`
3510
+ var RESET_PASSWORD_MUTATION = import_client11.gql`
3442
3511
  mutation resetPassword($input: ResetPasswordInputType!) {
3443
3512
  resetPassword(input: $input) {
3444
3513
  message
3445
3514
  }
3446
3515
  }
3447
3516
  `;
3448
- var REQUEST_PASSWORD_RESET_MUTATION = import_client10.gql`
3517
+ var REQUEST_PASSWORD_RESET_MUTATION = import_client11.gql`
3449
3518
  mutation requestPasswordReset($input: RequestPasswordResetInputType!) {
3450
3519
  requestPasswordReset(input: $input) {
3451
3520
  message
3452
3521
  }
3453
3522
  }
3454
3523
  `;
3455
- var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client10.gql`
3524
+ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client11.gql`
3456
3525
  mutation validateVerificationToken(
3457
3526
  $input: ValidateVerificationTokenInputType!
3458
3527
  ) {
@@ -3463,14 +3532,14 @@ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client10.gql`
3463
3532
  `;
3464
3533
 
3465
3534
  // src/graphql/hooks/chat/hooksMutation.ts
3466
- var import_client14 = require("@apollo/client");
3535
+ var import_client15 = require("@apollo/client");
3467
3536
 
3468
3537
  // src/graphql/mutations/chat.ts
3469
- var import_client13 = require("@apollo/client");
3538
+ var import_client14 = require("@apollo/client");
3470
3539
 
3471
3540
  // src/graphql/queries/chat.ts
3472
- var import_client12 = require("@apollo/client");
3473
- var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client12.gql`
3541
+ var import_client13 = require("@apollo/client");
3542
+ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client13.gql`
3474
3543
  fragment ChatMessageFields on ChatMessageType {
3475
3544
  _id
3476
3545
  content
@@ -3493,7 +3562,7 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client12.gql`
3493
3562
  updatedAt
3494
3563
  }
3495
3564
  `;
3496
- var CHAT_PARTICIPANT = import_client12.gql`
3565
+ var CHAT_PARTICIPANT = import_client13.gql`
3497
3566
  fragment ChatParticipantFields on ChatParticipantType {
3498
3567
  active
3499
3568
  isAssociate
@@ -3503,7 +3572,7 @@ var CHAT_PARTICIPANT = import_client12.gql`
3503
3572
  userName
3504
3573
  }
3505
3574
  `;
3506
- var CHAT_FIELDS_FRAGMENT = import_client12.gql`
3575
+ var CHAT_FIELDS_FRAGMENT = import_client13.gql`
3507
3576
  fragment ChatFields on ChatType {
3508
3577
  _id
3509
3578
  active
@@ -3524,7 +3593,7 @@ var CHAT_FIELDS_FRAGMENT = import_client12.gql`
3524
3593
  ${CHAT_MESSAGE_FIELDS_FRAGMENT}
3525
3594
  ${CHAT_PARTICIPANT}
3526
3595
  `;
3527
- var CHAT = import_client12.gql`
3596
+ var CHAT = import_client13.gql`
3528
3597
  query chat($_id: ID!) {
3529
3598
  chat(_id: $_id) {
3530
3599
  ...ChatFields
@@ -3532,7 +3601,7 @@ var CHAT = import_client12.gql`
3532
3601
  }
3533
3602
  ${CHAT_FIELDS_FRAGMENT}
3534
3603
  `;
3535
- var USER_CHATS = import_client12.gql`
3604
+ var USER_CHATS = import_client13.gql`
3536
3605
  query userChats {
3537
3606
  userChats {
3538
3607
  ...ChatFields
@@ -3540,7 +3609,7 @@ var USER_CHATS = import_client12.gql`
3540
3609
  }
3541
3610
  ${CHAT_FIELDS_FRAGMENT}
3542
3611
  `;
3543
- var GET_CHATS_BY_REGION = import_client12.gql`
3612
+ var GET_CHATS_BY_REGION = import_client13.gql`
3544
3613
  query getChatsByRegion($region: String!) {
3545
3614
  chatsByRegion(region: $region) {
3546
3615
  ...ChatFields
@@ -3548,7 +3617,7 @@ var GET_CHATS_BY_REGION = import_client12.gql`
3548
3617
  }
3549
3618
  ${CHAT_FIELDS_FRAGMENT}
3550
3619
  `;
3551
- var CHAT_REPORT_FIELDS_FRAGMENT = import_client12.gql`
3620
+ var CHAT_REPORT_FIELDS_FRAGMENT = import_client13.gql`
3552
3621
  fragment ChatReportFields on ReportChatUserType {
3553
3622
  _id
3554
3623
  chatId
@@ -3563,7 +3632,7 @@ var CHAT_REPORT_FIELDS_FRAGMENT = import_client12.gql`
3563
3632
  updatedAt
3564
3633
  }
3565
3634
  `;
3566
- var GET_REPORTED_CHAT_USERS = import_client12.gql`
3635
+ var GET_REPORTED_CHAT_USERS = import_client13.gql`
3567
3636
  query getReportedChatUsers {
3568
3637
  reportedChatUsers {
3569
3638
  ...ChatReportFields
@@ -3573,7 +3642,7 @@ var GET_REPORTED_CHAT_USERS = import_client12.gql`
3573
3642
  `;
3574
3643
 
3575
3644
  // src/graphql/mutations/chat.ts
3576
- var CREATE_PRIVATE_CHAT_MUTATION = import_client13.gql`
3645
+ var CREATE_PRIVATE_CHAT_MUTATION = import_client14.gql`
3577
3646
  mutation createPrivateChat($userId: ID!) {
3578
3647
  createPrivateChat(userId: $userId) {
3579
3648
  ...ChatFields
@@ -3581,7 +3650,7 @@ var CREATE_PRIVATE_CHAT_MUTATION = import_client13.gql`
3581
3650
  }
3582
3651
  ${CHAT_FIELDS_FRAGMENT}
3583
3652
  `;
3584
- var SEND_CHAT_MESSAGE_MUTATION = import_client13.gql`
3653
+ var SEND_CHAT_MESSAGE_MUTATION = import_client14.gql`
3585
3654
  mutation sendChatMessage($_id: ID!, $input: ChatMessageInputType!) {
3586
3655
  sendChatMessage(_id: $_id, input: $input) {
3587
3656
  ...ChatFields
@@ -3589,12 +3658,12 @@ var SEND_CHAT_MESSAGE_MUTATION = import_client13.gql`
3589
3658
  }
3590
3659
  ${CHAT_FIELDS_FRAGMENT}
3591
3660
  `;
3592
- var DELETE_CHAT_MUTATION = import_client13.gql`
3661
+ var DELETE_CHAT_MUTATION = import_client14.gql`
3593
3662
  mutation deleteChat($_id: ID!) {
3594
3663
  deleteChat(_id: $_id)
3595
3664
  }
3596
3665
  `;
3597
- var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client13.gql`
3666
+ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client14.gql`
3598
3667
  mutation addParticipantToChat($chatId: ID!, $userId: ID!) {
3599
3668
  addParticipantToChat(chatId: $chatId, userId: $userId) {
3600
3669
  ...ChatFields
@@ -3602,7 +3671,7 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client13.gql`
3602
3671
  }
3603
3672
  ${CHAT_FIELDS_FRAGMENT}
3604
3673
  `;
3605
- var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client13.gql`
3674
+ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client14.gql`
3606
3675
  mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
3607
3676
  removeParticipantFromChat(chatId: $chatId, userId: $userId) {
3608
3677
  success
@@ -3610,7 +3679,7 @@ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client13.gql`
3610
3679
  }
3611
3680
  }
3612
3681
  `;
3613
- var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client13.gql`
3682
+ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client14.gql`
3614
3683
  mutation toggleChatMessageLike($chatId: ID!, $messageId: ID!) {
3615
3684
  toggleChatMessageLike(chatId: $chatId, messageId: $messageId) {
3616
3685
  ...ChatFields
@@ -3618,7 +3687,7 @@ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client13.gql`
3618
3687
  }
3619
3688
  ${CHAT_FIELDS_FRAGMENT}
3620
3689
  `;
3621
- var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client13.gql`
3690
+ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client14.gql`
3622
3691
  mutation markChatMessagesSeen($chatId: ID!, $messageIds: [ID!]!) {
3623
3692
  markChatMessagesSeen(chatId: $chatId, messageIds: $messageIds) {
3624
3693
  ...ChatFields
@@ -3626,7 +3695,7 @@ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client13.gql`
3626
3695
  }
3627
3696
  ${CHAT_FIELDS_FRAGMENT}
3628
3697
  `;
3629
- var REPORT_CHAT_USER_MUTATION = import_client13.gql`
3698
+ var REPORT_CHAT_USER_MUTATION = import_client14.gql`
3630
3699
  mutation reportChatUser($input: ReportChatUserInputType!) {
3631
3700
  reportChatUser(input: $input) {
3632
3701
  ...ChatReportFields
@@ -3636,11 +3705,11 @@ var REPORT_CHAT_USER_MUTATION = import_client13.gql`
3636
3705
  `;
3637
3706
 
3638
3707
  // src/graphql/hooks/chat/hooksQuery.ts
3639
- var import_client16 = require("@apollo/client");
3708
+ var import_client17 = require("@apollo/client");
3640
3709
 
3641
3710
  // src/graphql/subscriptions/chat.ts
3642
- var import_client15 = require("@apollo/client");
3643
- var GET_CHAT_MESSAGE = import_client15.gql`
3711
+ var import_client16 = require("@apollo/client");
3712
+ var GET_CHAT_MESSAGE = import_client16.gql`
3644
3713
  subscription {
3645
3714
  getChatMessage {
3646
3715
  ...ChatFields
@@ -3650,11 +3719,11 @@ var GET_CHAT_MESSAGE = import_client15.gql`
3650
3719
  `;
3651
3720
 
3652
3721
  // src/graphql/hooks/contactUs.ts
3653
- var import_client18 = require("@apollo/client");
3722
+ var import_client19 = require("@apollo/client");
3654
3723
 
3655
3724
  // src/graphql/mutations/contactUs.ts
3656
- var import_client17 = require("@apollo/client");
3657
- var CONTACT_US_MUTATION = import_client17.gql`
3725
+ var import_client18 = require("@apollo/client");
3726
+ var CONTACT_US_MUTATION = import_client18.gql`
3658
3727
  mutation contactUs($input: ContactUsInputType!) {
3659
3728
  contactUs(input: $input) {
3660
3729
  message
@@ -3663,11 +3732,11 @@ var CONTACT_US_MUTATION = import_client17.gql`
3663
3732
  `;
3664
3733
 
3665
3734
  // src/graphql/hooks/event/hooksMutation.ts
3666
- var import_client21 = require("@apollo/client");
3735
+ var import_client22 = require("@apollo/client");
3667
3736
 
3668
3737
  // src/graphql/mutations/event.ts
3669
- var import_client19 = require("@apollo/client");
3670
- var CREATE_EVENT_MUTATION = import_client19.gql`
3738
+ var import_client20 = require("@apollo/client");
3739
+ var CREATE_EVENT_MUTATION = import_client20.gql`
3671
3740
  mutation createEvent($input: EventInputType!) {
3672
3741
  createEvent(input: $input) {
3673
3742
  ...EventFields
@@ -3675,7 +3744,7 @@ var CREATE_EVENT_MUTATION = import_client19.gql`
3675
3744
  }
3676
3745
  ${EVENT}
3677
3746
  `;
3678
- var UPDATE_EVENT_MUTATION = import_client19.gql`
3747
+ var UPDATE_EVENT_MUTATION = import_client20.gql`
3679
3748
  mutation updateEvent($_id: ID!, $input: EventInputType!) {
3680
3749
  updateEvent(_id: $_id, input: $input) {
3681
3750
  ...EventFields
@@ -3683,12 +3752,12 @@ var UPDATE_EVENT_MUTATION = import_client19.gql`
3683
3752
  }
3684
3753
  ${EVENT}
3685
3754
  `;
3686
- var DELETE_EVENT_MUTATION = import_client19.gql`
3755
+ var DELETE_EVENT_MUTATION = import_client20.gql`
3687
3756
  mutation deleteEvent($_id: ID!) {
3688
3757
  deleteEvent(_id: $_id)
3689
3758
  }
3690
3759
  `;
3691
- var CREATE_EVENT_INFO_MUTATION = import_client19.gql`
3760
+ var CREATE_EVENT_INFO_MUTATION = import_client20.gql`
3692
3761
  mutation createEventInfo($input: EventInfoInputType!) {
3693
3762
  createEventInfo(input: $input) {
3694
3763
  ...EventInfoFields
@@ -3696,7 +3765,7 @@ var CREATE_EVENT_INFO_MUTATION = import_client19.gql`
3696
3765
  }
3697
3766
  ${EVENT_INFO}
3698
3767
  `;
3699
- var UPDATE_EVENT_INFO_MUTATION = import_client19.gql`
3768
+ var UPDATE_EVENT_INFO_MUTATION = import_client20.gql`
3700
3769
  mutation updateEventInfo($_id: ID!, $input: EventInfoInputType!) {
3701
3770
  updateEventInfo(_id: $_id, input: $input) {
3702
3771
  ...EventInfoFields
@@ -3706,8 +3775,8 @@ var UPDATE_EVENT_INFO_MUTATION = import_client19.gql`
3706
3775
  `;
3707
3776
 
3708
3777
  // src/graphql/queries/user.ts
3709
- var import_client20 = require("@apollo/client");
3710
- var GET_USERS = import_client20.gql`
3778
+ var import_client21 = require("@apollo/client");
3779
+ var GET_USERS = import_client21.gql`
3711
3780
  query getUsers {
3712
3781
  users {
3713
3782
  ...UserFields
@@ -3715,7 +3784,7 @@ var GET_USERS = import_client20.gql`
3715
3784
  }
3716
3785
  ${USER_FIELDS_FRAGMENT}
3717
3786
  `;
3718
- var GET_USER = import_client20.gql`
3787
+ var GET_USER = import_client21.gql`
3719
3788
  query getUser($_id: ID!) {
3720
3789
  user(_id: $_id) {
3721
3790
  ...UserFields
@@ -3723,7 +3792,7 @@ var GET_USER = import_client20.gql`
3723
3792
  }
3724
3793
  ${USER_FIELDS_FRAGMENT}
3725
3794
  `;
3726
- var GET_USER_EVENTS = import_client20.gql`
3795
+ var GET_USER_EVENTS = import_client21.gql`
3727
3796
  query getUserEvents {
3728
3797
  userEvents {
3729
3798
  ...EventFields
@@ -3731,7 +3800,7 @@ var GET_USER_EVENTS = import_client20.gql`
3731
3800
  }
3732
3801
  ${EVENT}
3733
3802
  `;
3734
- var GET_USER_VENDORS = import_client20.gql`
3803
+ var GET_USER_VENDORS = import_client21.gql`
3735
3804
  query getUserVendors {
3736
3805
  userVendors {
3737
3806
  ...VendorFields
@@ -3739,7 +3808,7 @@ var GET_USER_VENDORS = import_client20.gql`
3739
3808
  }
3740
3809
  ${VENDOR}
3741
3810
  `;
3742
- var GET_USER_PARTNERS = import_client20.gql`
3811
+ var GET_USER_PARTNERS = import_client21.gql`
3743
3812
  query getUserPartners {
3744
3813
  userPartners {
3745
3814
  ...PartnerFields
@@ -3747,7 +3816,7 @@ var GET_USER_PARTNERS = import_client20.gql`
3747
3816
  }
3748
3817
  ${PARTNER}
3749
3818
  `;
3750
- var GET_USER_ACTIVITIES = import_client20.gql`
3819
+ var GET_USER_ACTIVITIES = import_client21.gql`
3751
3820
  query getUserActivities {
3752
3821
  userActivities {
3753
3822
  favourites {
@@ -3782,7 +3851,7 @@ var GET_USER_ACTIVITIES = import_client20.gql`
3782
3851
  ${VENDOR}
3783
3852
  ${PARTNER}
3784
3853
  `;
3785
- var GET_USER_RESOURCES = import_client20.gql`
3854
+ var GET_USER_RESOURCES = import_client21.gql`
3786
3855
  query getUserResources($userId: ID!) {
3787
3856
  userResources(userId: $userId) {
3788
3857
  resources {
@@ -3796,17 +3865,17 @@ var GET_USER_RESOURCES = import_client20.gql`
3796
3865
  `;
3797
3866
 
3798
3867
  // src/graphql/hooks/event/hooksQuery.ts
3799
- var import_client22 = require("@apollo/client");
3868
+ var import_client23 = require("@apollo/client");
3800
3869
 
3801
3870
  // src/graphql/hooks/notifications/hooksMutation.ts
3802
- var import_client25 = require("@apollo/client");
3871
+ var import_client26 = require("@apollo/client");
3803
3872
 
3804
3873
  // src/graphql/mutations/notification.ts
3805
- var import_client24 = require("@apollo/client");
3874
+ var import_client25 = require("@apollo/client");
3806
3875
 
3807
3876
  // src/graphql/queries/notification.ts
3808
- var import_client23 = require("@apollo/client");
3809
- var NOTIFICATION_FRAGMENT = import_client23.gql`
3877
+ var import_client24 = require("@apollo/client");
3878
+ var NOTIFICATION_FRAGMENT = import_client24.gql`
3810
3879
  fragment NotificationFields on Notification {
3811
3880
  _id
3812
3881
  userId
@@ -3823,7 +3892,7 @@ var NOTIFICATION_FRAGMENT = import_client23.gql`
3823
3892
  updatedAt
3824
3893
  }
3825
3894
  `;
3826
- var GET_USER_NOTIFICATIONS = import_client23.gql`
3895
+ var GET_USER_NOTIFICATIONS = import_client24.gql`
3827
3896
  query getUserNotifications($limit: Int, $offset: Int) {
3828
3897
  userNotifications(limit: $limit, offset: $offset) {
3829
3898
  ...NotificationFields
@@ -3831,7 +3900,7 @@ var GET_USER_NOTIFICATIONS = import_client23.gql`
3831
3900
  }
3832
3901
  ${NOTIFICATION_FRAGMENT}
3833
3902
  `;
3834
- var GET_NOTIFICATION_COUNT = import_client23.gql`
3903
+ var GET_NOTIFICATION_COUNT = import_client24.gql`
3835
3904
  query getNotificationCount {
3836
3905
  notificationCount {
3837
3906
  total
@@ -3841,7 +3910,7 @@ var GET_NOTIFICATION_COUNT = import_client23.gql`
3841
3910
  `;
3842
3911
 
3843
3912
  // src/graphql/mutations/notification.ts
3844
- var CREATE_BULK_NOTIFICATIONS = import_client24.gql`
3913
+ var CREATE_BULK_NOTIFICATIONS = import_client25.gql`
3845
3914
  mutation createBulkNotifications($input: CreateBulkNotificationInput!) {
3846
3915
  createBulkNotifications(input: $input) {
3847
3916
  ...NotificationFields
@@ -3849,7 +3918,7 @@ var CREATE_BULK_NOTIFICATIONS = import_client24.gql`
3849
3918
  }
3850
3919
  ${NOTIFICATION_FRAGMENT}
3851
3920
  `;
3852
- var MARK_NOTIFICATION_READ = import_client24.gql`
3921
+ var MARK_NOTIFICATION_READ = import_client25.gql`
3853
3922
  mutation markNotificationRead($_id: ID!) {
3854
3923
  markNotificationRead(_id: $_id) {
3855
3924
  ...NotificationFields
@@ -3857,31 +3926,31 @@ var MARK_NOTIFICATION_READ = import_client24.gql`
3857
3926
  }
3858
3927
  ${NOTIFICATION_FRAGMENT}
3859
3928
  `;
3860
- var MARK_ALL_NOTIFICATIONS_READ = import_client24.gql`
3929
+ var MARK_ALL_NOTIFICATIONS_READ = import_client25.gql`
3861
3930
  mutation markAllNotificationsRead {
3862
3931
  markAllNotificationsRead
3863
3932
  }
3864
3933
  `;
3865
- var DELETE_NOTIFICATION = import_client24.gql`
3934
+ var DELETE_NOTIFICATION = import_client25.gql`
3866
3935
  mutation deleteNotification($_id: ID!) {
3867
3936
  deleteNotification(_id: $_id)
3868
3937
  }
3869
3938
  `;
3870
- var DELETE_ALL_NOTIFICATIONS = import_client24.gql`
3939
+ var DELETE_ALL_NOTIFICATIONS = import_client25.gql`
3871
3940
  mutation deleteAllNotifications {
3872
3941
  deleteAllNotifications
3873
3942
  }
3874
3943
  `;
3875
3944
 
3876
3945
  // src/graphql/hooks/notifications/hooksQuery.ts
3877
- var import_client26 = require("@apollo/client");
3946
+ var import_client27 = require("@apollo/client");
3878
3947
 
3879
3948
  // src/graphql/hooks/notifications/hooksSubscription.ts
3880
- var import_client28 = require("@apollo/client");
3949
+ var import_client29 = require("@apollo/client");
3881
3950
 
3882
3951
  // src/graphql/subscriptions/notification.ts
3883
- var import_client27 = require("@apollo/client");
3884
- var GET_NOTIFICATIONS_SUBSCRIPTION = import_client27.gql`
3952
+ var import_client28 = require("@apollo/client");
3953
+ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client28.gql`
3885
3954
  subscription {
3886
3955
  getUserNotifications {
3887
3956
  ...NotificationFields
@@ -3889,7 +3958,7 @@ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client27.gql`
3889
3958
  }
3890
3959
  ${NOTIFICATION_FRAGMENT}
3891
3960
  `;
3892
- var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client27.gql`
3961
+ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client28.gql`
3893
3962
  subscription {
3894
3963
  getNotificationCount {
3895
3964
  total
@@ -3899,11 +3968,11 @@ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client27.gql`
3899
3968
  `;
3900
3969
 
3901
3970
  // src/graphql/hooks/poster.ts
3902
- var import_client30 = require("@apollo/client");
3971
+ var import_client31 = require("@apollo/client");
3903
3972
 
3904
3973
  // src/graphql/mutations/poster.ts
3905
- var import_client29 = require("@apollo/client");
3906
- var CREATE_POSTER_MUTATION = import_client29.gql`
3974
+ var import_client30 = require("@apollo/client");
3975
+ var CREATE_POSTER_MUTATION = import_client30.gql`
3907
3976
  mutation createPoster($input: PosterInputType!) {
3908
3977
  createPoster(input: $input) {
3909
3978
  message
@@ -3916,11 +3985,11 @@ var CREATE_POSTER_MUTATION = import_client29.gql`
3916
3985
  `;
3917
3986
 
3918
3987
  // src/graphql/hooks/pushToken.ts
3919
- var import_client32 = require("@apollo/client");
3988
+ var import_client33 = require("@apollo/client");
3920
3989
 
3921
3990
  // src/graphql/mutations/pushToken.ts
3922
- var import_client31 = require("@apollo/client");
3923
- var CREATE_PUSH_TOKEN_MUTATION = import_client31.gql`
3991
+ var import_client32 = require("@apollo/client");
3992
+ var CREATE_PUSH_TOKEN_MUTATION = import_client32.gql`
3924
3993
  mutation createPushToken($input: PushTokenInput!) {
3925
3994
  createPushToken(input: $input) {
3926
3995
  success
@@ -3933,77 +4002,6 @@ var import_client35 = require("@apollo/client");
3933
4002
 
3934
4003
  // src/graphql/mutations/relation.ts
3935
4004
  var import_client34 = require("@apollo/client");
3936
-
3937
- // src/graphql/queries/relation.ts
3938
- var import_client33 = require("@apollo/client");
3939
- var RELATION_FIELDS_FRAGMENT = import_client33.gql`
3940
- fragment RelationFields on RelationType {
3941
- _id
3942
- active
3943
- chatId
3944
- createdAt
3945
- lastUpdateBy
3946
- eventId
3947
- relationDates {
3948
- ...RelationDates
3949
- }
3950
- relationType
3951
- vendorId
3952
- updatedAt
3953
- }
3954
- ${RELATION_DATES_FRAGMENT}
3955
- `;
3956
- var GET_RELATION = import_client33.gql`
3957
- query getRelation($_id: ID!) {
3958
- relation(_id: $_id) {
3959
- ...RelationFields
3960
- }
3961
- }
3962
- ${RELATION_FIELDS_FRAGMENT}
3963
- `;
3964
- var GET_RELATION_BY_EVENT_AND_VENDOR = import_client33.gql`
3965
- query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
3966
- relationByEventAndVendor(eventId: $eventId, vendorId: $vendorId) {
3967
- ...RelationFields
3968
- }
3969
- }
3970
- ${RELATION_FIELDS_FRAGMENT}
3971
- `;
3972
- var GET_EVENT_RELATIONS = import_client33.gql`
3973
- query getEventRelations($eventId: ID!) {
3974
- eventRelations(eventId: $eventId) {
3975
- ...RelationFields
3976
- }
3977
- }
3978
- ${RELATION_FIELDS_FRAGMENT}
3979
- `;
3980
- var GET_VENDOR_RELATIONS = import_client33.gql`
3981
- query getVendorRelations($vendorId: ID!) {
3982
- vendorRelations(vendorId: $vendorId) {
3983
- ...RelationFields
3984
- }
3985
- }
3986
- ${RELATION_FIELDS_FRAGMENT}
3987
- `;
3988
- var GET_RESOURCE_CONNECTIONS = import_client33.gql`
3989
- query getResourceConnections(
3990
- $resourceId: ID!
3991
- $resourceType: ResourceTypeEnum!
3992
- ) {
3993
- resourceConnections(resourceId: $resourceId, resourceType: $resourceType) {
3994
- events {
3995
- ...EventListItemFields
3996
- }
3997
- vendors {
3998
- ...VendorFields
3999
- }
4000
- }
4001
- }
4002
- ${VENDOR}
4003
- ${EVENT_LIST_ITEM}
4004
- `;
4005
-
4006
- // src/graphql/mutations/relation.ts
4007
4005
  var CREATE_RELATION_MUTATION = import_client34.gql`
4008
4006
  mutation createRelation($input: RelationInputType!) {
4009
4007
  createRelation(input: $input) {