@timardex/cluemart-shared 1.7.2 → 1.7.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/{ad-BUYzE6zx.d.ts → ad-CymCnonn.d.ts} +2 -2
  2. package/dist/{ad-BhLoEul3.d.mts → ad-gG7dtuiz.d.mts} +2 -2
  3. package/dist/{affiliate-C51nzKsw.d.ts → affiliate-DG3_DD2H.d.ts} +2 -2
  4. package/dist/{affiliate-BbtjeUP4.d.mts → affiliate-Jl2pcZir.d.mts} +2 -2
  5. package/dist/auth/index.cjs +11 -0
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +3 -3
  8. package/dist/auth/index.d.ts +3 -3
  9. package/dist/auth/index.mjs +1 -1
  10. package/dist/{chunk-447EYKHL.mjs → chunk-2QB6MIL2.mjs} +211 -185
  11. package/dist/chunk-2QB6MIL2.mjs.map +1 -0
  12. package/dist/{chunk-32MKHJTX.mjs → chunk-Y3YFLYN4.mjs} +13 -1
  13. package/dist/{chunk-32MKHJTX.mjs.map → chunk-Y3YFLYN4.mjs.map} +1 -1
  14. package/dist/{contactUs--NoohZBu.d.ts → contactUs-BeNfBBa7.d.ts} +1 -1
  15. package/dist/{contactUs-CBWzefUS.d.mts → contactUs-cNkd9ABw.d.mts} +1 -1
  16. package/dist/formFields/index.d.mts +1 -1
  17. package/dist/formFields/index.d.ts +1 -1
  18. package/dist/{global-DePDtOFt.d.mts → global-BpLC_fXT.d.mts} +11 -2
  19. package/dist/{global-CUYYxpy2.d.ts → global-SikTKast.d.ts} +11 -2
  20. package/dist/graphql/index.cjs +316 -275
  21. package/dist/graphql/index.cjs.map +1 -1
  22. package/dist/graphql/index.d.mts +26 -6
  23. package/dist/graphql/index.d.ts +26 -6
  24. package/dist/graphql/index.mjs +10 -2
  25. package/dist/hooks/index.cjs +238 -219
  26. package/dist/hooks/index.cjs.map +1 -1
  27. package/dist/hooks/index.d.mts +5 -5
  28. package/dist/hooks/index.d.ts +5 -5
  29. package/dist/hooks/index.mjs +4 -4
  30. package/dist/hooks/index.mjs.map +1 -1
  31. package/dist/index.cjs +316 -275
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.d.mts +31 -2
  34. package/dist/index.d.ts +31 -2
  35. package/dist/index.mjs +242 -205
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/map/index.d.mts +1 -1
  38. package/dist/map/index.d.ts +1 -1
  39. package/dist/{resourceActivities-CwbJFGIp.d.mts → resourceActivities-ByK4C9fM.d.mts} +1 -1
  40. package/dist/{resourceActivities-CMUcn2P7.d.ts → resourceActivities-DNQWKaWE.d.ts} +1 -1
  41. package/dist/sharing/index.d.mts +1 -1
  42. package/dist/sharing/index.d.ts +1 -1
  43. package/dist/types/index.d.mts +7 -7
  44. package/dist/types/index.d.ts +7 -7
  45. package/dist/{user-D47MLFyH.d.ts → user-BliyCOpV.d.ts} +1 -1
  46. package/dist/{user-DE8edl3u.d.mts → user-C7S6HmEd.d.mts} +1 -1
  47. package/dist/utils/index.d.mts +3 -3
  48. package/dist/utils/index.d.ts +3 -3
  49. package/package.json +1 -1
  50. package/dist/chunk-447EYKHL.mjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -30,6 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
+ ACTIVATE_VENDOR_CLAIM_MUTATION: () => ACTIVATE_VENDOR_CLAIM_MUTATION,
33
34
  ADMIN_APP_ROLES: () => ADMIN_APP_ROLES,
34
35
  ADMIN_DASHBOARD_CONTEXTS: () => ADMIN_DASHBOARD_CONTEXTS,
35
36
  AFFILIATE_PARTICIPANT_TYPE_LABELS: () => AFFILIATE_PARTICIPANT_TYPE_LABELS,
@@ -92,6 +93,7 @@ __export(index_exports, {
92
93
  IOS_URL: () => IOS_URL,
93
94
  ImageTypeEnum: () => ImageTypeEnum,
94
95
  KNOWN_EVENT_SCHEDULE_STATUSES: () => KNOWN_EVENT_SCHEDULE_STATUSES,
96
+ MY_PENDING_VENDOR_CLAIM: () => MY_PENDING_VENDOR_CLAIM,
95
97
  NETWORK_USER_FACING_ERROR: () => NETWORK_USER_FACING_ERROR,
96
98
  OG_DESCRIPTION_LINE_BREAK: () => OG_DESCRIPTION_LINE_BREAK,
97
99
  PERMISSIONS: () => PERMISSIONS,
@@ -314,6 +316,7 @@ __export(index_exports, {
314
316
  toShareSocialImageCacheVersion: () => toShareSocialImageCacheVersion,
315
317
  toUserFacingErrorMessage: () => toUserFacingErrorMessage,
316
318
  truncateText: () => truncateText,
319
+ useActivateVendorClaim: () => useActivateVendorClaim,
317
320
  useAddParticipantToChat: () => useAddParticipantToChat,
318
321
  useAddUserFavouriteResource: () => useAddUserFavouriteResource,
319
322
  useAddUserGoingResource: () => useAddUserGoingResource,
@@ -419,6 +422,7 @@ __export(index_exports, {
419
422
  useMarkAllNotificationsRead: () => useMarkAllNotificationsRead,
420
423
  useMarkChatMessagesSeen: () => useMarkChatMessagesSeen,
421
424
  useMarkNotificationRead: () => useMarkNotificationRead,
425
+ useMyPendingVendorClaim: () => useMyPendingVendorClaim,
422
426
  useRedeemAffiliateReward: () => useRedeemAffiliateReward,
423
427
  useRedeemReward: () => useRedeemReward,
424
428
  useRefreshToken: () => useRefreshToken,
@@ -4421,6 +4425,8 @@ var UNREGISTERED_VENDOR = import_client3.gql`
4421
4425
  active
4422
4426
  categoryIds
4423
4427
  claimed
4428
+ claimedAt
4429
+ claimedByUserId
4424
4430
  createdAt
4425
4431
  deletedAt
4426
4432
  email
@@ -4500,10 +4506,123 @@ var GET_UNREGISTERED_VENDOR = import_client3.gql`
4500
4506
  }
4501
4507
  ${UNREGISTERED_VENDOR}
4502
4508
  `;
4509
+ var MY_PENDING_VENDOR_CLAIM = import_client3.gql`
4510
+ query myPendingVendorClaim {
4511
+ myPendingVendorClaim {
4512
+ _id
4513
+ name
4514
+ region
4515
+ }
4516
+ }
4517
+ `;
4503
4518
 
4504
- // src/graphql/queries/partner.ts
4519
+ // src/graphql/mutations/vendor.ts
4505
4520
  var import_client4 = require("@apollo/client");
4506
- var PARTNER = import_client4.gql`
4521
+ var CREATE_VENDOR_MUTATION = import_client4.gql`
4522
+ mutation createVendor($input: VendorInputType!) {
4523
+ createVendor(input: $input) {
4524
+ data {
4525
+ ...VendorFields
4526
+ }
4527
+ message
4528
+ }
4529
+ }
4530
+ ${VENDOR}
4531
+ `;
4532
+ var UPDATE_VENDOR_MUTATION = import_client4.gql`
4533
+ mutation updateVendor($_id: ID!, $input: VendorInputType!) {
4534
+ updateVendor(_id: $_id, input: $input) {
4535
+ data {
4536
+ ...VendorFields
4537
+ }
4538
+ message
4539
+ }
4540
+ }
4541
+ ${VENDOR}
4542
+ `;
4543
+ var DELETE_VENDOR_MUTATION = import_client4.gql`
4544
+ mutation deleteVendor($_id: ID!) {
4545
+ deleteVendor(_id: $_id) {
4546
+ data
4547
+ message
4548
+ }
4549
+ }
4550
+ `;
4551
+ var CREATE_VENDOR_INFO_MUTATION = import_client4.gql`
4552
+ mutation createVendorInfo($input: VendorInfoInputType!) {
4553
+ createVendorInfo(input: $input) {
4554
+ data {
4555
+ ...VendorInfoFields
4556
+ }
4557
+ message
4558
+ }
4559
+ }
4560
+ ${VENDOR_INFO}
4561
+ `;
4562
+ var UPDATE_VENDOR_INFO_MUTATION = import_client4.gql`
4563
+ mutation updateVendorInfo($_id: ID!, $input: VendorInfoInputType!) {
4564
+ updateVendorInfo(_id: $_id, input: $input) {
4565
+ data {
4566
+ ...VendorInfoFields
4567
+ }
4568
+ message
4569
+ }
4570
+ }
4571
+ ${VENDOR_INFO}
4572
+ `;
4573
+ var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client4.gql`
4574
+ mutation createUnregisteredVendor($input: UnregisteredVendorInputType!) {
4575
+ createUnregisteredVendor(input: $input) {
4576
+ data {
4577
+ ...UnregisteredVendorFields
4578
+ }
4579
+ message
4580
+ }
4581
+ }
4582
+ ${UNREGISTERED_VENDOR}
4583
+ `;
4584
+ var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client4.gql`
4585
+ mutation updateUnregisteredVendor(
4586
+ $_id: ID!
4587
+ $input: UnregisteredVendorInputType!
4588
+ ) {
4589
+ updateUnregisteredVendor(_id: $_id, input: $input) {
4590
+ data {
4591
+ ...UnregisteredVendorFields
4592
+ }
4593
+ message
4594
+ }
4595
+ }
4596
+ ${UNREGISTERED_VENDOR}
4597
+ `;
4598
+ var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client4.gql`
4599
+ mutation deleteUnregisteredVendor($_id: ID!) {
4600
+ deleteUnregisteredVendor(_id: $_id) {
4601
+ data
4602
+ message
4603
+ }
4604
+ }
4605
+ `;
4606
+ var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client4.gql`
4607
+ mutation unlinkUnregisteredVendorByInviterId($_id: ID!, $inviterId: ID!) {
4608
+ unlinkUnregisteredVendorByInviterId(_id: $_id, inviterId: $inviterId) {
4609
+ data
4610
+ message
4611
+ }
4612
+ }
4613
+ `;
4614
+ var ACTIVATE_VENDOR_CLAIM_MUTATION = import_client4.gql`
4615
+ mutation activateVendorClaim($token: String!) {
4616
+ activateVendorClaim(token: $token) {
4617
+ valid
4618
+ vendorName
4619
+ }
4620
+ }
4621
+ `;
4622
+
4623
+ // src/graphql/queries/partner.ts
4624
+ var import_client5 = require("@apollo/client");
4625
+ var PARTNER = import_client5.gql`
4507
4626
  fragment PartnerFields on PartnerType {
4508
4627
  _id
4509
4628
  active
@@ -4564,7 +4683,7 @@ var PARTNER = import_client4.gql`
4564
4683
  ${RELATED_POST_FIELDS_FRAGMENT}
4565
4684
  ${SOCIAL_SHARE_RESOURCE_FIELDS_FRAGMENT}
4566
4685
  `;
4567
- var GET_PARTNERS = import_client4.gql`
4686
+ var GET_PARTNERS = import_client5.gql`
4568
4687
  query getPartners {
4569
4688
  partners {
4570
4689
  ...PartnerFields
@@ -4572,7 +4691,7 @@ var GET_PARTNERS = import_client4.gql`
4572
4691
  }
4573
4692
  ${PARTNER}
4574
4693
  `;
4575
- var GET_PARTNER = import_client4.gql`
4694
+ var GET_PARTNER = import_client5.gql`
4576
4695
  query getPartner($_id: ID!) {
4577
4696
  partner(_id: $_id) {
4578
4697
  ...PartnerFields
@@ -4580,7 +4699,7 @@ var GET_PARTNER = import_client4.gql`
4580
4699
  }
4581
4700
  ${PARTNER}
4582
4701
  `;
4583
- var GET_PARTNERS_BY_REGION = import_client4.gql`
4702
+ var GET_PARTNERS_BY_REGION = import_client5.gql`
4584
4703
  query getPartnersByRegion(
4585
4704
  $region: String!
4586
4705
  $options: ResourcesByRegionOptions
@@ -4591,7 +4710,7 @@ var GET_PARTNERS_BY_REGION = import_client4.gql`
4591
4710
  }
4592
4711
  ${PARTNER}
4593
4712
  `;
4594
- var SEARCH_PARTNERS = import_client4.gql`
4713
+ var SEARCH_PARTNERS = import_client5.gql`
4595
4714
  query searchPartners($search: String!, $region: String!) {
4596
4715
  partnersSearch(search: $search, region: $region) {
4597
4716
  ...PartnerFields
@@ -4601,17 +4720,17 @@ var SEARCH_PARTNERS = import_client4.gql`
4601
4720
  `;
4602
4721
 
4603
4722
  // src/graphql/queries/post.ts
4604
- var import_client7 = require("@apollo/client");
4723
+ var import_client8 = require("@apollo/client");
4605
4724
 
4606
4725
  // src/graphql/queries/game/dailyClue.ts
4607
- var import_client5 = require("@apollo/client");
4608
- var GAME_DATE_FIELDS_FRAGMENT = import_client5.gql`
4726
+ var import_client6 = require("@apollo/client");
4727
+ var GAME_DATE_FIELDS_FRAGMENT = import_client6.gql`
4609
4728
  fragment GameDateFields on GameDateType {
4610
4729
  startDate
4611
4730
  endDate
4612
4731
  }
4613
4732
  `;
4614
- var DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT = import_client5.gql`
4733
+ var DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT = import_client6.gql`
4615
4734
  fragment DailyClueBaseGameFields on DailyClueBaseGameType {
4616
4735
  gameDate {
4617
4736
  ...GameDateFields
@@ -4620,7 +4739,7 @@ var DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT = import_client5.gql`
4620
4739
  }
4621
4740
  ${GAME_DATE_FIELDS_FRAGMENT}
4622
4741
  `;
4623
- var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client5.gql`
4742
+ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client6.gql`
4624
4743
  fragment DailyClueGameDataFields on DailyClueGameDataType {
4625
4744
  gameFields {
4626
4745
  ...DailyClueBaseGameFields
@@ -4640,15 +4759,15 @@ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = import_client5.gql`
4640
4759
  `;
4641
4760
 
4642
4761
  // src/graphql/queries/game/puzzleGame.ts
4643
- var import_client6 = require("@apollo/client");
4644
- var PUZZLE_ANSWER_FIELDS_FRAGMENT = import_client6.gql`
4762
+ var import_client7 = require("@apollo/client");
4763
+ var PUZZLE_ANSWER_FIELDS_FRAGMENT = import_client7.gql`
4645
4764
  fragment PuzzleAnswerFields on PuzzleAnswerType {
4646
4765
  answer
4647
4766
  answerId
4648
4767
  correct
4649
4768
  }
4650
4769
  `;
4651
- var PUZZLE_QUESTION_FIELDS_FRAGMENT = import_client6.gql`
4770
+ var PUZZLE_QUESTION_FIELDS_FRAGMENT = import_client7.gql`
4652
4771
  fragment PuzzleQuestionFields on PuzzleQuestionType {
4653
4772
  answers {
4654
4773
  ...PuzzleAnswerFields
@@ -4658,13 +4777,13 @@ var PUZZLE_QUESTION_FIELDS_FRAGMENT = import_client6.gql`
4658
4777
  }
4659
4778
  ${PUZZLE_ANSWER_FIELDS_FRAGMENT}
4660
4779
  `;
4661
- var PUZZLE_ANSWERED_QUESTION_FIELDS_FRAGMENT = import_client6.gql`
4780
+ var PUZZLE_ANSWERED_QUESTION_FIELDS_FRAGMENT = import_client7.gql`
4662
4781
  fragment PuzzleAnsweredQuestionFields on PuzzleAnsweredQuestionType {
4663
4782
  questionId
4664
4783
  selectedAnswerId
4665
4784
  }
4666
4785
  `;
4667
- var PUZZLE_BASE_GAME_FIELDS_FRAGMENT = import_client6.gql`
4786
+ var PUZZLE_BASE_GAME_FIELDS_FRAGMENT = import_client7.gql`
4668
4787
  fragment PuzzleBaseGameFields on PuzzleBaseGameType {
4669
4788
  questions {
4670
4789
  ...PuzzleQuestionFields
@@ -4672,7 +4791,7 @@ var PUZZLE_BASE_GAME_FIELDS_FRAGMENT = import_client6.gql`
4672
4791
  }
4673
4792
  ${PUZZLE_QUESTION_FIELDS_FRAGMENT}
4674
4793
  `;
4675
- var PUZZLE_GAME_DATA_FIELDS_FRAGMENT = import_client6.gql`
4794
+ var PUZZLE_GAME_DATA_FIELDS_FRAGMENT = import_client7.gql`
4676
4795
  fragment PuzzleGameDataFields on PuzzleGameDataType {
4677
4796
  gameFields {
4678
4797
  ...PuzzleBaseGameFields
@@ -4688,7 +4807,7 @@ var PUZZLE_GAME_DATA_FIELDS_FRAGMENT = import_client6.gql`
4688
4807
  `;
4689
4808
 
4690
4809
  // src/graphql/queries/post.ts
4691
- var BASE_GAME_FIELDS_FRAGMENT = import_client7.gql`
4810
+ var BASE_GAME_FIELDS_FRAGMENT = import_client8.gql`
4692
4811
  fragment BaseGameFields on BaseGameType {
4693
4812
  gameTypeId
4694
4813
  gameTitle
@@ -4706,7 +4825,7 @@ var BASE_GAME_FIELDS_FRAGMENT = import_client7.gql`
4706
4825
  ${DAILY_CLUE_BASE_GAME_FIELDS_FRAGMENT}
4707
4826
  ${PUZZLE_BASE_GAME_FIELDS_FRAGMENT}
4708
4827
  `;
4709
- var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client7.gql`
4828
+ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client8.gql`
4710
4829
  fragment PostContentDataFields on PostContentData {
4711
4830
  game {
4712
4831
  ...BaseGameFields
@@ -4732,7 +4851,7 @@ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client7.gql`
4732
4851
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
4733
4852
  ${BASE_GAME_FIELDS_FRAGMENT}
4734
4853
  `;
4735
- var POST_CONTENT_FIELDS_FRAGMENT = import_client7.gql`
4854
+ var POST_CONTENT_FIELDS_FRAGMENT = import_client8.gql`
4736
4855
  fragment PostContentFields on PostContentType {
4737
4856
  contentData {
4738
4857
  ...PostContentDataFields
@@ -4742,7 +4861,7 @@ var POST_CONTENT_FIELDS_FRAGMENT = import_client7.gql`
4742
4861
  }
4743
4862
  ${POST_CONTENT_DATA_FIELDS_FRAGMENT}
4744
4863
  `;
4745
- var POST_RESOURCE_FIELDS_FRAGMENT = import_client7.gql`
4864
+ var POST_RESOURCE_FIELDS_FRAGMENT = import_client8.gql`
4746
4865
  fragment PostResourceFields on PostResourceType {
4747
4866
  resourceId
4748
4867
  resourceSlug
@@ -4750,7 +4869,7 @@ var POST_RESOURCE_FIELDS_FRAGMENT = import_client7.gql`
4750
4869
  resourceType
4751
4870
  }
4752
4871
  `;
4753
- var POST_FIELDS_FRAGMENT = import_client7.gql`
4872
+ var POST_FIELDS_FRAGMENT = import_client8.gql`
4754
4873
  fragment PostFields on PostType {
4755
4874
  _id
4756
4875
  active
@@ -4781,7 +4900,7 @@ var POST_FIELDS_FRAGMENT = import_client7.gql`
4781
4900
  ${POST_RESOURCE_FIELDS_FRAGMENT}
4782
4901
  ${SOCIAL_SHARE_RESOURCE_FIELDS_FRAGMENT}
4783
4902
  `;
4784
- var GET_POSTS = import_client7.gql`
4903
+ var GET_POSTS = import_client8.gql`
4785
4904
  query getPosts {
4786
4905
  posts {
4787
4906
  ...PostFields
@@ -4789,7 +4908,7 @@ var GET_POSTS = import_client7.gql`
4789
4908
  }
4790
4909
  ${POST_FIELDS_FRAGMENT}
4791
4910
  `;
4792
- var GET_POST = import_client7.gql`
4911
+ var GET_POST = import_client8.gql`
4793
4912
  query getPost($_id: ID!) {
4794
4913
  post(_id: $_id) {
4795
4914
  ...PostFields
@@ -4797,7 +4916,7 @@ var GET_POST = import_client7.gql`
4797
4916
  }
4798
4917
  ${POST_FIELDS_FRAGMENT}
4799
4918
  `;
4800
- var GET_POSTS_BY_TYPE = import_client7.gql`
4919
+ var GET_POSTS_BY_TYPE = import_client8.gql`
4801
4920
  query getPostsByType($postType: PostTypeEnum!) {
4802
4921
  postsByType(postType: $postType) {
4803
4922
  ...PostFields
@@ -4807,29 +4926,29 @@ var GET_POSTS_BY_TYPE = import_client7.gql`
4807
4926
  `;
4808
4927
 
4809
4928
  // src/graphql/queries/shareSlug.ts
4810
- var import_client8 = require("@apollo/client");
4811
- var GET_EVENT_BY_SLUG = import_client8.gql`
4929
+ var import_client9 = require("@apollo/client");
4930
+ var GET_EVENT_BY_SLUG = import_client9.gql`
4812
4931
  query getEventBySlug($slug: String!) {
4813
4932
  eventBySlug(slug: $slug) {
4814
4933
  _id
4815
4934
  }
4816
4935
  }
4817
4936
  `;
4818
- var GET_VENDOR_BY_SLUG = import_client8.gql`
4937
+ var GET_VENDOR_BY_SLUG = import_client9.gql`
4819
4938
  query getVendorBySlug($slug: String!) {
4820
4939
  vendorBySlug(slug: $slug) {
4821
4940
  _id
4822
4941
  }
4823
4942
  }
4824
4943
  `;
4825
- var GET_PARTNER_BY_SLUG = import_client8.gql`
4944
+ var GET_PARTNER_BY_SLUG = import_client9.gql`
4826
4945
  query getPartnerBySlug($slug: String!) {
4827
4946
  partnerBySlug(slug: $slug) {
4828
4947
  _id
4829
4948
  }
4830
4949
  }
4831
4950
  `;
4832
- var GET_POST_BY_SLUG = import_client8.gql`
4951
+ var GET_POST_BY_SLUG = import_client9.gql`
4833
4952
  query getPostBySlug($slug: String!, $postType: PostTypeEnum!) {
4834
4953
  postBySlug(slug: $slug, postType: $postType) {
4835
4954
  _id
@@ -4838,8 +4957,8 @@ var GET_POST_BY_SLUG = import_client8.gql`
4838
4957
  `;
4839
4958
 
4840
4959
  // src/graphql/queries/relation.ts
4841
- var import_client9 = require("@apollo/client");
4842
- var RELATION_FIELDS_FRAGMENT = import_client9.gql`
4960
+ var import_client10 = require("@apollo/client");
4961
+ var RELATION_FIELDS_FRAGMENT = import_client10.gql`
4843
4962
  fragment RelationFields on RelationType {
4844
4963
  _id
4845
4964
  active
@@ -4856,7 +4975,7 @@ var RELATION_FIELDS_FRAGMENT = import_client9.gql`
4856
4975
  }
4857
4976
  ${RELATION_DATES_FRAGMENT}
4858
4977
  `;
4859
- var GET_RELATION = import_client9.gql`
4978
+ var GET_RELATION = import_client10.gql`
4860
4979
  query getRelation($_id: ID!) {
4861
4980
  relation(_id: $_id) {
4862
4981
  ...RelationFields
@@ -4864,7 +4983,7 @@ var GET_RELATION = import_client9.gql`
4864
4983
  }
4865
4984
  ${RELATION_FIELDS_FRAGMENT}
4866
4985
  `;
4867
- var GET_RELATION_BY_EVENT_AND_VENDOR = import_client9.gql`
4986
+ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client10.gql`
4868
4987
  query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
4869
4988
  relationByEventAndVendor(eventId: $eventId, vendorId: $vendorId) {
4870
4989
  ...RelationFields
@@ -4872,7 +4991,7 @@ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client9.gql`
4872
4991
  }
4873
4992
  ${RELATION_FIELDS_FRAGMENT}
4874
4993
  `;
4875
- var GET_EVENT_RELATIONS = import_client9.gql`
4994
+ var GET_EVENT_RELATIONS = import_client10.gql`
4876
4995
  query getEventRelations($eventId: ID!) {
4877
4996
  eventRelations(eventId: $eventId) {
4878
4997
  ...RelationFields
@@ -4880,7 +4999,7 @@ var GET_EVENT_RELATIONS = import_client9.gql`
4880
4999
  }
4881
5000
  ${RELATION_FIELDS_FRAGMENT}
4882
5001
  `;
4883
- var GET_VENDOR_RELATIONS = import_client9.gql`
5002
+ var GET_VENDOR_RELATIONS = import_client10.gql`
4884
5003
  query getVendorRelations($vendorId: ID!) {
4885
5004
  vendorRelations(vendorId: $vendorId) {
4886
5005
  ...RelationFields
@@ -4888,7 +5007,7 @@ var GET_VENDOR_RELATIONS = import_client9.gql`
4888
5007
  }
4889
5008
  ${RELATION_FIELDS_FRAGMENT}
4890
5009
  `;
4891
- var GET_RESOURCE_CONNECTIONS = import_client9.gql`
5010
+ var GET_RESOURCE_CONNECTIONS = import_client10.gql`
4892
5011
  query getResourceConnections(
4893
5012
  $resourceId: ID!
4894
5013
  $resourceType: ResourceTypeEnum!
@@ -4913,11 +5032,11 @@ function toGraphqlQueryString(query) {
4913
5032
  }
4914
5033
 
4915
5034
  // src/graphql/hooks/admin/hooksMutation.ts
4916
- var import_client11 = require("@apollo/client");
5035
+ var import_client12 = require("@apollo/client");
4917
5036
 
4918
5037
  // src/graphql/mutations/admin.ts
4919
- var import_client10 = require("@apollo/client");
4920
- var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client10.gql`
5038
+ var import_client11 = require("@apollo/client");
5039
+ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client11.gql`
4921
5040
  mutation adminUpdateResourceType($input: AdminUpdateResourceInputType!) {
4922
5041
  adminUpdateResourceType(input: $input) {
4923
5042
  data {
@@ -4929,7 +5048,7 @@ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client10.gql`
4929
5048
  }
4930
5049
  }
4931
5050
  `;
4932
- var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client10.gql`
5051
+ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client11.gql`
4933
5052
  mutation adminResendUserVerificationEmail($userId: ID!) {
4934
5053
  adminResendUserVerificationEmail(userId: $userId) {
4935
5054
  data
@@ -4937,7 +5056,7 @@ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client10.gql`
4937
5056
  }
4938
5057
  }
4939
5058
  `;
4940
- var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client10.gql`
5059
+ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client11.gql`
4941
5060
  mutation adminPermanentlyDeleteResource(
4942
5061
  $resourceId: ID!
4943
5062
  $resourceType: ResourceTypeEnum!
@@ -4954,7 +5073,7 @@ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client10.gql`
4954
5073
 
4955
5074
  // src/graphql/hooks/admin/hooksMutation.ts
4956
5075
  var useAdminUpdateResourceType = () => {
4957
- const [adminUpdateResourceType, { loading, error }] = (0, import_client11.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
5076
+ const [adminUpdateResourceType, { loading, error }] = (0, import_client12.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
4958
5077
  awaitRefetchQueries: true,
4959
5078
  refetchQueries: (mutationResult) => {
4960
5079
  const adminUpdateResourceType2 = mutationResult?.data?.adminUpdateResourceType?.data;
@@ -4977,7 +5096,7 @@ var useAdminUpdateResourceType = () => {
4977
5096
  };
4978
5097
  };
4979
5098
  var useAdminResendUserVerificationEmail = () => {
4980
- const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client11.useMutation)(ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION);
5099
+ const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client12.useMutation)(ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION);
4981
5100
  return {
4982
5101
  adminResendUserVerificationEmail,
4983
5102
  error,
@@ -4985,7 +5104,7 @@ var useAdminResendUserVerificationEmail = () => {
4985
5104
  };
4986
5105
  };
4987
5106
  var useAdminPermanentlyDeleteResource = () => {
4988
- const [adminPermanentlyDeleteResource, { loading, error }] = (0, import_client11.useMutation)(ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION);
5107
+ const [adminPermanentlyDeleteResource, { loading, error }] = (0, import_client12.useMutation)(ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION);
4989
5108
  return {
4990
5109
  adminPermanentlyDeleteResource,
4991
5110
  error,
@@ -4994,11 +5113,11 @@ var useAdminPermanentlyDeleteResource = () => {
4994
5113
  };
4995
5114
 
4996
5115
  // src/graphql/hooks/auth.ts
4997
- var import_client13 = require("@apollo/client");
5116
+ var import_client14 = require("@apollo/client");
4998
5117
 
4999
5118
  // src/graphql/mutations/auth.ts
5000
- var import_client12 = require("@apollo/client");
5001
- var REGISTER_MUTATION = import_client12.gql`
5119
+ var import_client13 = require("@apollo/client");
5120
+ var REGISTER_MUTATION = import_client13.gql`
5002
5121
  mutation register($input: RegisterInputType!) {
5003
5122
  register(input: $input) {
5004
5123
  data {
@@ -5013,7 +5132,7 @@ var REGISTER_MUTATION = import_client12.gql`
5013
5132
  }
5014
5133
  ${USER_FIELDS_FRAGMENT}
5015
5134
  `;
5016
- var LOGIN_MUTATION = import_client12.gql`
5135
+ var LOGIN_MUTATION = import_client13.gql`
5017
5136
  mutation login($input: LoginInputType!) {
5018
5137
  login(input: $input) {
5019
5138
  data {
@@ -5028,7 +5147,7 @@ var LOGIN_MUTATION = import_client12.gql`
5028
5147
  }
5029
5148
  ${USER_FIELDS_FRAGMENT}
5030
5149
  `;
5031
- var LOGOUT_MUTATION = import_client12.gql`
5150
+ var LOGOUT_MUTATION = import_client13.gql`
5032
5151
  mutation logout {
5033
5152
  logout {
5034
5153
  data
@@ -5036,7 +5155,7 @@ var LOGOUT_MUTATION = import_client12.gql`
5036
5155
  }
5037
5156
  }
5038
5157
  `;
5039
- var REFRESH_TOKEN_MUTATION = import_client12.gql`
5158
+ var REFRESH_TOKEN_MUTATION = import_client13.gql`
5040
5159
  mutation refreshToken($input: RefreshTokenInputType!) {
5041
5160
  refreshToken(input: $input) {
5042
5161
  data {
@@ -5047,7 +5166,7 @@ var REFRESH_TOKEN_MUTATION = import_client12.gql`
5047
5166
  }
5048
5167
  }
5049
5168
  `;
5050
- var RESET_PASSWORD_MUTATION = import_client12.gql`
5169
+ var RESET_PASSWORD_MUTATION = import_client13.gql`
5051
5170
  mutation resetPassword($input: ResetPasswordInputType!) {
5052
5171
  resetPassword(input: $input) {
5053
5172
  data
@@ -5055,7 +5174,7 @@ var RESET_PASSWORD_MUTATION = import_client12.gql`
5055
5174
  }
5056
5175
  }
5057
5176
  `;
5058
- var REQUEST_PASSWORD_RESET_MUTATION = import_client12.gql`
5177
+ var REQUEST_PASSWORD_RESET_MUTATION = import_client13.gql`
5059
5178
  mutation requestPasswordReset($input: RequestPasswordResetInputType!) {
5060
5179
  requestPasswordReset(input: $input) {
5061
5180
  data
@@ -5063,7 +5182,7 @@ var REQUEST_PASSWORD_RESET_MUTATION = import_client12.gql`
5063
5182
  }
5064
5183
  }
5065
5184
  `;
5066
- var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client12.gql`
5185
+ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client13.gql`
5067
5186
  mutation validateVerificationToken(
5068
5187
  $input: ValidateVerificationTokenInputType!
5069
5188
  ) {
@@ -5076,43 +5195,43 @@ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client12.gql`
5076
5195
 
5077
5196
  // src/graphql/hooks/auth.ts
5078
5197
  var useRegister = () => {
5079
- const [register, { loading, error }] = (0, import_client13.useMutation)(REGISTER_MUTATION);
5198
+ const [register, { loading, error }] = (0, import_client14.useMutation)(REGISTER_MUTATION);
5080
5199
  return { error, loading, register };
5081
5200
  };
5082
5201
  var useLogin = () => {
5083
- const [login, { loading, error }] = (0, import_client13.useMutation)(LOGIN_MUTATION);
5202
+ const [login, { loading, error }] = (0, import_client14.useMutation)(LOGIN_MUTATION);
5084
5203
  return { error, loading, login };
5085
5204
  };
5086
5205
  var useLogout = () => {
5087
- const [logout, { loading, error }] = (0, import_client13.useMutation)(LOGOUT_MUTATION);
5206
+ const [logout, { loading, error }] = (0, import_client14.useMutation)(LOGOUT_MUTATION);
5088
5207
  return { error, loading, logout };
5089
5208
  };
5090
5209
  var useRefreshToken = () => {
5091
- const [refreshToken, { loading, error }] = (0, import_client13.useMutation)(REFRESH_TOKEN_MUTATION);
5210
+ const [refreshToken, { loading, error }] = (0, import_client14.useMutation)(REFRESH_TOKEN_MUTATION);
5092
5211
  return { error, loading, refreshToken };
5093
5212
  };
5094
5213
  var useRequestPasswordReset = () => {
5095
- const [requestPasswordReset, { loading, error }] = (0, import_client13.useMutation)(REQUEST_PASSWORD_RESET_MUTATION);
5214
+ const [requestPasswordReset, { loading, error }] = (0, import_client14.useMutation)(REQUEST_PASSWORD_RESET_MUTATION);
5096
5215
  return { error, loading, requestPasswordReset };
5097
5216
  };
5098
5217
  var useValidateVerificationToken = () => {
5099
- const [validateVerificationToken, { loading, error }] = (0, import_client13.useMutation)(VALIDATE_VERIFICATION_TOKEN_MUTATION);
5218
+ const [validateVerificationToken, { loading, error }] = (0, import_client14.useMutation)(VALIDATE_VERIFICATION_TOKEN_MUTATION);
5100
5219
  return { error, loading, validateVerificationToken };
5101
5220
  };
5102
5221
  var useResetPassword = () => {
5103
- const [resetPassword, { loading, error }] = (0, import_client13.useMutation)(RESET_PASSWORD_MUTATION);
5222
+ const [resetPassword, { loading, error }] = (0, import_client14.useMutation)(RESET_PASSWORD_MUTATION);
5104
5223
  return { error, loading, resetPassword };
5105
5224
  };
5106
5225
 
5107
5226
  // src/graphql/hooks/chat/hooksMutation.ts
5108
- var import_client16 = require("@apollo/client");
5227
+ var import_client17 = require("@apollo/client");
5109
5228
 
5110
5229
  // src/graphql/mutations/chat.ts
5111
- var import_client15 = require("@apollo/client");
5230
+ var import_client16 = require("@apollo/client");
5112
5231
 
5113
5232
  // src/graphql/queries/chat.ts
5114
- var import_client14 = require("@apollo/client");
5115
- var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client14.gql`
5233
+ var import_client15 = require("@apollo/client");
5234
+ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client15.gql`
5116
5235
  fragment ChatMessageFields on ChatMessageType {
5117
5236
  _id
5118
5237
  content
@@ -5135,7 +5254,7 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client14.gql`
5135
5254
  updatedAt
5136
5255
  }
5137
5256
  `;
5138
- var CHAT_PARTICIPANT = import_client14.gql`
5257
+ var CHAT_PARTICIPANT = import_client15.gql`
5139
5258
  fragment ChatParticipantFields on ChatParticipantType {
5140
5259
  active
5141
5260
  userAvatar
@@ -5144,7 +5263,7 @@ var CHAT_PARTICIPANT = import_client14.gql`
5144
5263
  userName
5145
5264
  }
5146
5265
  `;
5147
- var CHAT_FIELDS_FRAGMENT = import_client14.gql`
5266
+ var CHAT_FIELDS_FRAGMENT = import_client15.gql`
5148
5267
  fragment ChatFields on ChatType {
5149
5268
  _id
5150
5269
  active
@@ -5165,7 +5284,7 @@ var CHAT_FIELDS_FRAGMENT = import_client14.gql`
5165
5284
  ${CHAT_MESSAGE_FIELDS_FRAGMENT}
5166
5285
  ${CHAT_PARTICIPANT}
5167
5286
  `;
5168
- var CHAT = import_client14.gql`
5287
+ var CHAT = import_client15.gql`
5169
5288
  query chat($_id: ID!) {
5170
5289
  chat(_id: $_id) {
5171
5290
  ...ChatFields
@@ -5173,7 +5292,7 @@ var CHAT = import_client14.gql`
5173
5292
  }
5174
5293
  ${CHAT_FIELDS_FRAGMENT}
5175
5294
  `;
5176
- var PRIVATE_CHATS = import_client14.gql`
5295
+ var PRIVATE_CHATS = import_client15.gql`
5177
5296
  query privateChats {
5178
5297
  privateChats {
5179
5298
  ...ChatFields
@@ -5181,7 +5300,7 @@ var PRIVATE_CHATS = import_client14.gql`
5181
5300
  }
5182
5301
  ${CHAT_FIELDS_FRAGMENT}
5183
5302
  `;
5184
- var RELATION_CHATS = import_client14.gql`
5303
+ var RELATION_CHATS = import_client15.gql`
5185
5304
  query relationChats {
5186
5305
  relationChats {
5187
5306
  ...ChatFields
@@ -5189,7 +5308,7 @@ var RELATION_CHATS = import_client14.gql`
5189
5308
  }
5190
5309
  ${CHAT_FIELDS_FRAGMENT}
5191
5310
  `;
5192
- var GET_CHATS_BY_REGION = import_client14.gql`
5311
+ var GET_CHATS_BY_REGION = import_client15.gql`
5193
5312
  query getChatsByRegion($region: String!) {
5194
5313
  chatsByRegion(region: $region) {
5195
5314
  ...ChatFields
@@ -5197,7 +5316,7 @@ var GET_CHATS_BY_REGION = import_client14.gql`
5197
5316
  }
5198
5317
  ${CHAT_FIELDS_FRAGMENT}
5199
5318
  `;
5200
- var CHAT_REPORT_FIELDS_FRAGMENT = import_client14.gql`
5319
+ var CHAT_REPORT_FIELDS_FRAGMENT = import_client15.gql`
5201
5320
  fragment ChatReportFields on ReportChatUserType {
5202
5321
  _id
5203
5322
  chatId
@@ -5212,7 +5331,7 @@ var CHAT_REPORT_FIELDS_FRAGMENT = import_client14.gql`
5212
5331
  updatedAt
5213
5332
  }
5214
5333
  `;
5215
- var GET_REPORTED_CHAT_USERS = import_client14.gql`
5334
+ var GET_REPORTED_CHAT_USERS = import_client15.gql`
5216
5335
  query getReportedChatUsers {
5217
5336
  reportedChatUsers {
5218
5337
  ...ChatReportFields
@@ -5222,7 +5341,7 @@ var GET_REPORTED_CHAT_USERS = import_client14.gql`
5222
5341
  `;
5223
5342
 
5224
5343
  // src/graphql/mutations/chat.ts
5225
- var CREATE_PRIVATE_CHAT_MUTATION = import_client15.gql`
5344
+ var CREATE_PRIVATE_CHAT_MUTATION = import_client16.gql`
5226
5345
  mutation createPrivateChat($userId: ID!) {
5227
5346
  createPrivateChat(userId: $userId) {
5228
5347
  data {
@@ -5233,7 +5352,7 @@ var CREATE_PRIVATE_CHAT_MUTATION = import_client15.gql`
5233
5352
  }
5234
5353
  ${CHAT_FIELDS_FRAGMENT}
5235
5354
  `;
5236
- var SEND_CHAT_MESSAGE_MUTATION = import_client15.gql`
5355
+ var SEND_CHAT_MESSAGE_MUTATION = import_client16.gql`
5237
5356
  mutation sendChatMessage($_id: ID!, $input: ChatMessageInputType!) {
5238
5357
  sendChatMessage(_id: $_id, input: $input) {
5239
5358
  data {
@@ -5244,7 +5363,7 @@ var SEND_CHAT_MESSAGE_MUTATION = import_client15.gql`
5244
5363
  }
5245
5364
  ${CHAT_FIELDS_FRAGMENT}
5246
5365
  `;
5247
- var DELETE_CHAT_MUTATION = import_client15.gql`
5366
+ var DELETE_CHAT_MUTATION = import_client16.gql`
5248
5367
  mutation deleteChat($_id: ID!) {
5249
5368
  deleteChat(_id: $_id) {
5250
5369
  data
@@ -5252,7 +5371,7 @@ var DELETE_CHAT_MUTATION = import_client15.gql`
5252
5371
  }
5253
5372
  }
5254
5373
  `;
5255
- var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client15.gql`
5374
+ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client16.gql`
5256
5375
  mutation addParticipantToChat($chatId: ID!, $userId: ID!) {
5257
5376
  addParticipantToChat(chatId: $chatId, userId: $userId) {
5258
5377
  data {
@@ -5263,7 +5382,7 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client15.gql`
5263
5382
  }
5264
5383
  ${CHAT_FIELDS_FRAGMENT}
5265
5384
  `;
5266
- var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client15.gql`
5385
+ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client16.gql`
5267
5386
  mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
5268
5387
  removeParticipantFromChat(chatId: $chatId, userId: $userId) {
5269
5388
  data {
@@ -5274,7 +5393,7 @@ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client15.gql`
5274
5393
  }
5275
5394
  }
5276
5395
  `;
5277
- var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client15.gql`
5396
+ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client16.gql`
5278
5397
  mutation toggleChatMessageLike($chatId: ID!, $messageId: ID!) {
5279
5398
  toggleChatMessageLike(chatId: $chatId, messageId: $messageId) {
5280
5399
  data {
@@ -5285,7 +5404,7 @@ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client15.gql`
5285
5404
  }
5286
5405
  ${CHAT_FIELDS_FRAGMENT}
5287
5406
  `;
5288
- var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client15.gql`
5407
+ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client16.gql`
5289
5408
  mutation markChatMessagesSeen($chatId: ID!, $messageIds: [ID!]!) {
5290
5409
  markChatMessagesSeen(chatId: $chatId, messageIds: $messageIds) {
5291
5410
  data {
@@ -5296,7 +5415,7 @@ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client15.gql`
5296
5415
  }
5297
5416
  ${CHAT_FIELDS_FRAGMENT}
5298
5417
  `;
5299
- var REPORT_CHAT_USER_MUTATION = import_client15.gql`
5418
+ var REPORT_CHAT_USER_MUTATION = import_client16.gql`
5300
5419
  mutation reportChatUser($input: ReportChatUserInputType!) {
5301
5420
  reportChatUser(input: $input) {
5302
5421
  data {
@@ -5310,14 +5429,14 @@ var REPORT_CHAT_USER_MUTATION = import_client15.gql`
5310
5429
 
5311
5430
  // src/graphql/hooks/chat/hooksMutation.ts
5312
5431
  var useCreatePrivateChat = () => {
5313
- const [createPrivateChat, { loading, error }] = (0, import_client16.useMutation)(CREATE_PRIVATE_CHAT_MUTATION, {
5432
+ const [createPrivateChat, { loading, error }] = (0, import_client17.useMutation)(CREATE_PRIVATE_CHAT_MUTATION, {
5314
5433
  awaitRefetchQueries: true,
5315
5434
  refetchQueries: [{ query: PRIVATE_CHATS }]
5316
5435
  });
5317
5436
  return { createPrivateChat, error, loading };
5318
5437
  };
5319
5438
  var useSendChatMessage = () => {
5320
- const [sendChatMessage, { loading, error }] = (0, import_client16.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
5439
+ const [sendChatMessage, { loading, error }] = (0, import_client17.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
5321
5440
  awaitRefetchQueries: true,
5322
5441
  refetchQueries: (mutationResult) => {
5323
5442
  const chatId = mutationResult?.data?.sendChatMessage?.data?._id;
@@ -5332,14 +5451,14 @@ var useSendChatMessage = () => {
5332
5451
  return { error, loading, sendChatMessage };
5333
5452
  };
5334
5453
  var useDeleteChat = () => {
5335
- const [deleteChat, { loading, error }] = (0, import_client16.useMutation)(DELETE_CHAT_MUTATION, {
5454
+ const [deleteChat, { loading, error }] = (0, import_client17.useMutation)(DELETE_CHAT_MUTATION, {
5336
5455
  awaitRefetchQueries: true,
5337
5456
  refetchQueries: [{ query: PRIVATE_CHATS }, { query: RELATION_CHATS }]
5338
5457
  });
5339
5458
  return { deleteChat, error, loading };
5340
5459
  };
5341
5460
  var useAddParticipantToChat = () => {
5342
- const [addParticipantToChat, { loading, error }] = (0, import_client16.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
5461
+ const [addParticipantToChat, { loading, error }] = (0, import_client17.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
5343
5462
  awaitRefetchQueries: true,
5344
5463
  refetchQueries: (mutationResult) => {
5345
5464
  const chatId = mutationResult?.data?.addParticipantToChat?.data?._id;
@@ -5360,7 +5479,7 @@ var useAddParticipantToChat = () => {
5360
5479
  return { addParticipantToChat, error, loading };
5361
5480
  };
5362
5481
  var useRemoveParticipantFromChat = () => {
5363
- const [removeParticipantFromChat, { loading, error }] = (0, import_client16.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
5482
+ const [removeParticipantFromChat, { loading, error }] = (0, import_client17.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
5364
5483
  awaitRefetchQueries: true,
5365
5484
  refetchQueries: (mutationResult) => {
5366
5485
  const region = mutationResult?.data?.removeParticipantFromChat?.data?.region;
@@ -5380,7 +5499,7 @@ var useRemoveParticipantFromChat = () => {
5380
5499
  return { error, loading, removeParticipantFromChat };
5381
5500
  };
5382
5501
  var useToggleChatMessageLike = () => {
5383
- const [toggleChatMessageLike, { loading, error }] = (0, import_client16.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
5502
+ const [toggleChatMessageLike, { loading, error }] = (0, import_client17.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
5384
5503
  awaitRefetchQueries: true,
5385
5504
  refetchQueries: (mutationResult) => {
5386
5505
  const chatId = mutationResult?.data?.toggleChatMessageLike?.data?._id;
@@ -5395,7 +5514,7 @@ var useToggleChatMessageLike = () => {
5395
5514
  return { error, loading, toggleChatMessageLike };
5396
5515
  };
5397
5516
  var useMarkChatMessagesSeen = () => {
5398
- const [markChatMessagesSeen, { loading, error }] = (0, import_client16.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
5517
+ const [markChatMessagesSeen, { loading, error }] = (0, import_client17.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
5399
5518
  awaitRefetchQueries: true,
5400
5519
  refetchQueries: (mutationResult) => {
5401
5520
  const chatId = mutationResult?.data?.markChatMessagesSeen?.data?._id;
@@ -5410,16 +5529,16 @@ var useMarkChatMessagesSeen = () => {
5410
5529
  return { error, loading, markChatMessagesSeen };
5411
5530
  };
5412
5531
  var useReportChatUser = () => {
5413
- const [reportChatUser, { loading, error }] = (0, import_client16.useMutation)(REPORT_CHAT_USER_MUTATION);
5532
+ const [reportChatUser, { loading, error }] = (0, import_client17.useMutation)(REPORT_CHAT_USER_MUTATION);
5414
5533
  return { error, loading, reportChatUser };
5415
5534
  };
5416
5535
 
5417
5536
  // src/graphql/hooks/chat/hooksQuery.ts
5418
- var import_client18 = require("@apollo/client");
5537
+ var import_client19 = require("@apollo/client");
5419
5538
 
5420
5539
  // src/graphql/subscriptions/chat.ts
5421
- var import_client17 = require("@apollo/client");
5422
- var GET_CHAT_MESSAGE = import_client17.gql`
5540
+ var import_client18 = require("@apollo/client");
5541
+ var GET_CHAT_MESSAGE = import_client18.gql`
5423
5542
  subscription {
5424
5543
  getChatMessage {
5425
5544
  ...ChatFields
@@ -5430,7 +5549,7 @@ var GET_CHAT_MESSAGE = import_client17.gql`
5430
5549
 
5431
5550
  // src/graphql/hooks/chat/hooksQuery.ts
5432
5551
  var useGetChat = (_id) => {
5433
- const { loading, error, data, refetch } = (0, import_client18.useQuery)(CHAT, {
5552
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(CHAT, {
5434
5553
  fetchPolicy: "network-only",
5435
5554
  skip: !_id || _id === "",
5436
5555
  variables: { _id }
@@ -5439,28 +5558,28 @@ var useGetChat = (_id) => {
5439
5558
  return { chat, error, loading, refetch };
5440
5559
  };
5441
5560
  var useGetPrivateChats = () => {
5442
- const { loading, error, data, refetch } = (0, import_client18.useQuery)(PRIVATE_CHATS, {
5561
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(PRIVATE_CHATS, {
5443
5562
  fetchPolicy: "network-only"
5444
5563
  });
5445
5564
  const privateChats = data?.privateChats || [];
5446
5565
  return { error, loading, privateChats, refetch };
5447
5566
  };
5448
5567
  var useGetRelationChats = () => {
5449
- const { loading, error, data, refetch } = (0, import_client18.useQuery)(RELATION_CHATS, {
5568
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(RELATION_CHATS, {
5450
5569
  fetchPolicy: "network-only"
5451
5570
  });
5452
5571
  const relationChats = data?.relationChats || [];
5453
5572
  return { error, loading, refetch, relationChats };
5454
5573
  };
5455
5574
  var useGetChatSubscription = () => {
5456
- const { data, loading, error } = (0, import_client18.useSubscription)(
5575
+ const { data, loading, error } = (0, import_client19.useSubscription)(
5457
5576
  GET_CHAT_MESSAGE
5458
5577
  );
5459
5578
  const chat = data?.getChat;
5460
5579
  return { chat, error, loading };
5461
5580
  };
5462
5581
  var useGetChatsByRegion = (region) => {
5463
- const { loading, error, data, refetch } = (0, import_client18.useQuery)(GET_CHATS_BY_REGION, {
5582
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_CHATS_BY_REGION, {
5464
5583
  fetchPolicy: "network-only",
5465
5584
  variables: { region }
5466
5585
  });
@@ -5468,7 +5587,7 @@ var useGetChatsByRegion = (region) => {
5468
5587
  return { chatsByRegion, error, loading, refetch };
5469
5588
  };
5470
5589
  var useGetReportedChatUsers = () => {
5471
- const { loading, error, data, refetch } = (0, import_client18.useQuery)(GET_REPORTED_CHAT_USERS, {
5590
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_REPORTED_CHAT_USERS, {
5472
5591
  fetchPolicy: "network-only"
5473
5592
  });
5474
5593
  const reportedChatUsers = data?.reportedChatUsers || [];
@@ -5476,11 +5595,11 @@ var useGetReportedChatUsers = () => {
5476
5595
  };
5477
5596
 
5478
5597
  // src/graphql/hooks/contactUs.ts
5479
- var import_client20 = require("@apollo/client");
5598
+ var import_client21 = require("@apollo/client");
5480
5599
 
5481
5600
  // src/graphql/mutations/contactUs.ts
5482
- var import_client19 = require("@apollo/client");
5483
- var CONTACT_US_MUTATION = import_client19.gql`
5601
+ var import_client20 = require("@apollo/client");
5602
+ var CONTACT_US_MUTATION = import_client20.gql`
5484
5603
  mutation contactUs($input: ContactUsInputType!) {
5485
5604
  contactUs(input: $input) {
5486
5605
  data
@@ -5491,16 +5610,16 @@ var CONTACT_US_MUTATION = import_client19.gql`
5491
5610
 
5492
5611
  // src/graphql/hooks/contactUs.ts
5493
5612
  var useContactUs = () => {
5494
- const [contactUs, { loading, error }] = (0, import_client20.useMutation)(CONTACT_US_MUTATION);
5613
+ const [contactUs, { loading, error }] = (0, import_client21.useMutation)(CONTACT_US_MUTATION);
5495
5614
  return { contactUs, error, loading };
5496
5615
  };
5497
5616
 
5498
5617
  // src/graphql/hooks/event/hooksMutation.ts
5499
- var import_client23 = require("@apollo/client");
5618
+ var import_client24 = require("@apollo/client");
5500
5619
 
5501
5620
  // src/graphql/mutations/event.ts
5502
- var import_client21 = require("@apollo/client");
5503
- var CREATE_EVENT_MUTATION = import_client21.gql`
5621
+ var import_client22 = require("@apollo/client");
5622
+ var CREATE_EVENT_MUTATION = import_client22.gql`
5504
5623
  mutation createEvent($input: EventInputType!) {
5505
5624
  createEvent(input: $input) {
5506
5625
  data {
@@ -5511,7 +5630,7 @@ var CREATE_EVENT_MUTATION = import_client21.gql`
5511
5630
  }
5512
5631
  ${EVENT}
5513
5632
  `;
5514
- var UPDATE_EVENT_MUTATION = import_client21.gql`
5633
+ var UPDATE_EVENT_MUTATION = import_client22.gql`
5515
5634
  mutation updateEvent($_id: ID!, $input: EventInputType!) {
5516
5635
  updateEvent(_id: $_id, input: $input) {
5517
5636
  data {
@@ -5522,7 +5641,7 @@ var UPDATE_EVENT_MUTATION = import_client21.gql`
5522
5641
  }
5523
5642
  ${EVENT}
5524
5643
  `;
5525
- var DELETE_EVENT_MUTATION = import_client21.gql`
5644
+ var DELETE_EVENT_MUTATION = import_client22.gql`
5526
5645
  mutation deleteEvent($_id: ID!) {
5527
5646
  deleteEvent(_id: $_id) {
5528
5647
  data
@@ -5530,7 +5649,7 @@ var DELETE_EVENT_MUTATION = import_client21.gql`
5530
5649
  }
5531
5650
  }
5532
5651
  `;
5533
- var CREATE_EVENT_INFO_MUTATION = import_client21.gql`
5652
+ var CREATE_EVENT_INFO_MUTATION = import_client22.gql`
5534
5653
  mutation createEventInfo($input: EventInfoInputType!) {
5535
5654
  createEventInfo(input: $input) {
5536
5655
  data {
@@ -5541,7 +5660,7 @@ var CREATE_EVENT_INFO_MUTATION = import_client21.gql`
5541
5660
  }
5542
5661
  ${EVENT_INFO}
5543
5662
  `;
5544
- var UPDATE_EVENT_INFO_MUTATION = import_client21.gql`
5663
+ var UPDATE_EVENT_INFO_MUTATION = import_client22.gql`
5545
5664
  mutation updateEventInfo($_id: ID!, $input: EventInfoInputType!) {
5546
5665
  updateEventInfo(_id: $_id, input: $input) {
5547
5666
  data {
@@ -5554,8 +5673,8 @@ var UPDATE_EVENT_INFO_MUTATION = import_client21.gql`
5554
5673
  `;
5555
5674
 
5556
5675
  // src/graphql/queries/user.ts
5557
- var import_client22 = require("@apollo/client");
5558
- var GET_USERS = import_client22.gql`
5676
+ var import_client23 = require("@apollo/client");
5677
+ var GET_USERS = import_client23.gql`
5559
5678
  query getUsers {
5560
5679
  users {
5561
5680
  ...UserFields
@@ -5563,7 +5682,7 @@ var GET_USERS = import_client22.gql`
5563
5682
  }
5564
5683
  ${USER_FIELDS_FRAGMENT}
5565
5684
  `;
5566
- var GET_USER = import_client22.gql`
5685
+ var GET_USER = import_client23.gql`
5567
5686
  query getUser($_id: ID!) {
5568
5687
  user(_id: $_id) {
5569
5688
  ...UserFields
@@ -5571,7 +5690,7 @@ var GET_USER = import_client22.gql`
5571
5690
  }
5572
5691
  ${USER_FIELDS_FRAGMENT}
5573
5692
  `;
5574
- var GET_USER_EVENTS = import_client22.gql`
5693
+ var GET_USER_EVENTS = import_client23.gql`
5575
5694
  query getUserEvents {
5576
5695
  userEvents {
5577
5696
  ...EventFields
@@ -5579,7 +5698,7 @@ var GET_USER_EVENTS = import_client22.gql`
5579
5698
  }
5580
5699
  ${EVENT}
5581
5700
  `;
5582
- var GET_USER_VENDORS = import_client22.gql`
5701
+ var GET_USER_VENDORS = import_client23.gql`
5583
5702
  query getUserVendors {
5584
5703
  userVendors {
5585
5704
  ...VendorFields
@@ -5587,7 +5706,7 @@ var GET_USER_VENDORS = import_client22.gql`
5587
5706
  }
5588
5707
  ${VENDOR}
5589
5708
  `;
5590
- var GET_USER_PARTNERS = import_client22.gql`
5709
+ var GET_USER_PARTNERS = import_client23.gql`
5591
5710
  query getUserPartners {
5592
5711
  userPartners {
5593
5712
  ...PartnerFields
@@ -5595,7 +5714,7 @@ var GET_USER_PARTNERS = import_client22.gql`
5595
5714
  }
5596
5715
  ${PARTNER}
5597
5716
  `;
5598
- var GET_USER_ACTIVITIES = import_client22.gql`
5717
+ var GET_USER_ACTIVITIES = import_client23.gql`
5599
5718
  query getUserActivities {
5600
5719
  userActivities {
5601
5720
  favourites {
@@ -5630,7 +5749,7 @@ var GET_USER_ACTIVITIES = import_client22.gql`
5630
5749
  ${VENDOR}
5631
5750
  ${PARTNER}
5632
5751
  `;
5633
- var GET_USER_RESOURCES = import_client22.gql`
5752
+ var GET_USER_RESOURCES = import_client23.gql`
5634
5753
  query getUserResources($userId: ID!) {
5635
5754
  userResources(userId: $userId) {
5636
5755
  resources {
@@ -5645,14 +5764,14 @@ var GET_USER_RESOURCES = import_client22.gql`
5645
5764
 
5646
5765
  // src/graphql/hooks/event/hooksMutation.ts
5647
5766
  var useCreateEvent = () => {
5648
- const [createEvent, { loading, error }] = (0, import_client23.useMutation)(CREATE_EVENT_MUTATION, {
5767
+ const [createEvent, { loading, error }] = (0, import_client24.useMutation)(CREATE_EVENT_MUTATION, {
5649
5768
  awaitRefetchQueries: true,
5650
5769
  refetchQueries: [{ query: GET_USER_EVENTS }]
5651
5770
  });
5652
5771
  return { createEvent, error, loading };
5653
5772
  };
5654
5773
  var useUpdateEvent = () => {
5655
- const [updateEvent, { loading, error }] = (0, import_client23.useMutation)(UPDATE_EVENT_MUTATION, {
5774
+ const [updateEvent, { loading, error }] = (0, import_client24.useMutation)(UPDATE_EVENT_MUTATION, {
5656
5775
  awaitRefetchQueries: true,
5657
5776
  refetchQueries: (mutationResult) => {
5658
5777
  const eventId = mutationResult?.data?.updateEvent?.data?._id;
@@ -5675,14 +5794,14 @@ var useUpdateEvent = () => {
5675
5794
  return { error, loading, updateEvent };
5676
5795
  };
5677
5796
  var useDeleteEvent = () => {
5678
- const [deleteEvent, { loading, error }] = (0, import_client23.useMutation)(DELETE_EVENT_MUTATION, {
5797
+ const [deleteEvent, { loading, error }] = (0, import_client24.useMutation)(DELETE_EVENT_MUTATION, {
5679
5798
  awaitRefetchQueries: true,
5680
5799
  refetchQueries: [{ query: GET_USER_EVENTS }]
5681
5800
  });
5682
5801
  return { deleteEvent, error, loading };
5683
5802
  };
5684
5803
  var useCreateEventInfo = () => {
5685
- const [createEventInfo, { loading, error }] = (0, import_client23.useMutation)(CREATE_EVENT_INFO_MUTATION, {
5804
+ const [createEventInfo, { loading, error }] = (0, import_client24.useMutation)(CREATE_EVENT_INFO_MUTATION, {
5686
5805
  awaitRefetchQueries: true,
5687
5806
  refetchQueries: (mutationResult) => {
5688
5807
  const eventId = mutationResult?.data?.createEventInfo?.data?.eventId;
@@ -5706,7 +5825,7 @@ var useCreateEventInfo = () => {
5706
5825
  return { createEventInfo, error, loading };
5707
5826
  };
5708
5827
  var useUpdateEventInfo = () => {
5709
- const [updateEventInfo, { loading, error }] = (0, import_client23.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
5828
+ const [updateEventInfo, { loading, error }] = (0, import_client24.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
5710
5829
  awaitRefetchQueries: true,
5711
5830
  refetchQueries: (mutationResult) => {
5712
5831
  const eventId = mutationResult?.data?.updateEventInfo?.data?.eventId;
@@ -5730,9 +5849,9 @@ var useUpdateEventInfo = () => {
5730
5849
  };
5731
5850
 
5732
5851
  // src/graphql/hooks/event/hooksQuery.ts
5733
- var import_client24 = require("@apollo/client");
5852
+ var import_client25 = require("@apollo/client");
5734
5853
  var useGetEvents = (dateStatus) => {
5735
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENTS, {
5854
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_EVENTS, {
5736
5855
  fetchPolicy: "network-only",
5737
5856
  variables: { dateStatus }
5738
5857
  });
@@ -5740,7 +5859,7 @@ var useGetEvents = (dateStatus) => {
5740
5859
  return { error, events, loading, refetch };
5741
5860
  };
5742
5861
  var useGetEvent = (_id) => {
5743
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT, {
5862
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_EVENT, {
5744
5863
  fetchPolicy: "network-only",
5745
5864
  skip: !_id,
5746
5865
  variables: { _id }
@@ -5749,7 +5868,7 @@ var useGetEvent = (_id) => {
5749
5868
  return { error, event, loading, refetch };
5750
5869
  };
5751
5870
  var useGetEventByPlaceId = (googlePlaceId) => {
5752
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT_BY_PLACE_ID, {
5871
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_EVENT_BY_PLACE_ID, {
5753
5872
  fetchPolicy: "network-only",
5754
5873
  skip: !googlePlaceId,
5755
5874
  variables: { googlePlaceId }
@@ -5763,7 +5882,7 @@ var useGetEventsByRegion = (region, options, dateStatus) => {
5763
5882
  options,
5764
5883
  region
5765
5884
  };
5766
- const { loading, error, data, refetch, fetchMore } = (0, import_client24.useQuery)(GET_EVENTS_BY_REGION, {
5885
+ const { loading, error, data, refetch, fetchMore } = (0, import_client25.useQuery)(GET_EVENTS_BY_REGION, {
5767
5886
  fetchPolicy: "network-only",
5768
5887
  skip: !region || region === "",
5769
5888
  variables
@@ -5781,7 +5900,7 @@ var useSearchEvents = (region, searchQuery, tags, dateStatus) => {
5781
5900
  const normalizedSearch = searchQuery?.trim() ?? "";
5782
5901
  const normalizedTags = (tags ?? []).filter(Boolean);
5783
5902
  const shouldRunQuery = normalizedSearch.length > 3 || normalizedTags.length > 0;
5784
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(SEARCH_EVENTS, {
5903
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(SEARCH_EVENTS, {
5785
5904
  fetchPolicy: "network-only",
5786
5905
  skip: !shouldRunQuery,
5787
5906
  variables: {
@@ -5799,7 +5918,7 @@ var useSearchEvents = (region, searchQuery, tags, dateStatus) => {
5799
5918
  };
5800
5919
  };
5801
5920
  var useGetEventsNearMe = (location, dateStatus) => {
5802
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENTS_NEAR_ME, {
5921
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_EVENTS_NEAR_ME, {
5803
5922
  fetchPolicy: "network-only",
5804
5923
  skip: !location.latitude || !location.longitude,
5805
5924
  variables: {
@@ -5814,7 +5933,7 @@ var useGetEventsNearMe = (location, dateStatus) => {
5814
5933
  return { error, eventsNearMe, loading, refetch };
5815
5934
  };
5816
5935
  var useGetEventInfo = (eventId) => {
5817
- const { loading, error, data, refetch } = (0, import_client24.useQuery)(GET_EVENT_INFO, {
5936
+ const { loading, error, data, refetch } = (0, import_client25.useQuery)(GET_EVENT_INFO, {
5818
5937
  fetchPolicy: "network-only",
5819
5938
  skip: !eventId || eventId === "",
5820
5939
  variables: { eventId }
@@ -5824,14 +5943,14 @@ var useGetEventInfo = (eventId) => {
5824
5943
  };
5825
5944
 
5826
5945
  // src/graphql/hooks/notifications/hooksMutation.ts
5827
- var import_client27 = require("@apollo/client");
5946
+ var import_client28 = require("@apollo/client");
5828
5947
 
5829
5948
  // src/graphql/mutations/notification.ts
5830
- var import_client26 = require("@apollo/client");
5949
+ var import_client27 = require("@apollo/client");
5831
5950
 
5832
5951
  // src/graphql/queries/notification.ts
5833
- var import_client25 = require("@apollo/client");
5834
- var NOTIFICATION_FRAGMENT = import_client25.gql`
5952
+ var import_client26 = require("@apollo/client");
5953
+ var NOTIFICATION_FRAGMENT = import_client26.gql`
5835
5954
  fragment NotificationFields on Notification {
5836
5955
  _id
5837
5956
  userId
@@ -5848,7 +5967,7 @@ var NOTIFICATION_FRAGMENT = import_client25.gql`
5848
5967
  updatedAt
5849
5968
  }
5850
5969
  `;
5851
- var GET_USER_NOTIFICATIONS = import_client25.gql`
5970
+ var GET_USER_NOTIFICATIONS = import_client26.gql`
5852
5971
  query getUserNotifications($limit: Int, $offset: Int) {
5853
5972
  userNotifications(limit: $limit, offset: $offset) {
5854
5973
  ...NotificationFields
@@ -5856,7 +5975,7 @@ var GET_USER_NOTIFICATIONS = import_client25.gql`
5856
5975
  }
5857
5976
  ${NOTIFICATION_FRAGMENT}
5858
5977
  `;
5859
- var GET_NOTIFICATION_COUNT = import_client25.gql`
5978
+ var GET_NOTIFICATION_COUNT = import_client26.gql`
5860
5979
  query getNotificationCount {
5861
5980
  notificationCount {
5862
5981
  total
@@ -5866,7 +5985,7 @@ var GET_NOTIFICATION_COUNT = import_client25.gql`
5866
5985
  `;
5867
5986
 
5868
5987
  // src/graphql/mutations/notification.ts
5869
- var CREATE_BULK_NOTIFICATIONS = import_client26.gql`
5988
+ var CREATE_BULK_NOTIFICATIONS = import_client27.gql`
5870
5989
  mutation createBulkNotifications($input: CreateBulkNotificationInput!) {
5871
5990
  createBulkNotifications(input: $input) {
5872
5991
  data
@@ -5874,7 +5993,7 @@ var CREATE_BULK_NOTIFICATIONS = import_client26.gql`
5874
5993
  }
5875
5994
  }
5876
5995
  `;
5877
- var MARK_NOTIFICATION_READ = import_client26.gql`
5996
+ var MARK_NOTIFICATION_READ = import_client27.gql`
5878
5997
  mutation markNotificationRead($_id: ID!) {
5879
5998
  markNotificationRead(_id: $_id) {
5880
5999
  data {
@@ -5885,7 +6004,7 @@ var MARK_NOTIFICATION_READ = import_client26.gql`
5885
6004
  }
5886
6005
  ${NOTIFICATION_FRAGMENT}
5887
6006
  `;
5888
- var MARK_ALL_NOTIFICATIONS_READ = import_client26.gql`
6007
+ var MARK_ALL_NOTIFICATIONS_READ = import_client27.gql`
5889
6008
  mutation markAllNotificationsRead {
5890
6009
  markAllNotificationsRead {
5891
6010
  data
@@ -5893,7 +6012,7 @@ var MARK_ALL_NOTIFICATIONS_READ = import_client26.gql`
5893
6012
  }
5894
6013
  }
5895
6014
  `;
5896
- var DELETE_NOTIFICATION = import_client26.gql`
6015
+ var DELETE_NOTIFICATION = import_client27.gql`
5897
6016
  mutation deleteNotification($_id: ID!) {
5898
6017
  deleteNotification(_id: $_id) {
5899
6018
  data
@@ -5901,7 +6020,7 @@ var DELETE_NOTIFICATION = import_client26.gql`
5901
6020
  }
5902
6021
  }
5903
6022
  `;
5904
- var DELETE_ALL_NOTIFICATIONS = import_client26.gql`
6023
+ var DELETE_ALL_NOTIFICATIONS = import_client27.gql`
5905
6024
  mutation deleteAllNotifications {
5906
6025
  deleteAllNotifications {
5907
6026
  data
@@ -5912,11 +6031,11 @@ var DELETE_ALL_NOTIFICATIONS = import_client26.gql`
5912
6031
 
5913
6032
  // src/graphql/hooks/notifications/hooksMutation.ts
5914
6033
  var useCreateBulkNotifications = () => {
5915
- const [createBulkNotifications, { loading, error }] = (0, import_client27.useMutation)(CREATE_BULK_NOTIFICATIONS);
6034
+ const [createBulkNotifications, { loading, error }] = (0, import_client28.useMutation)(CREATE_BULK_NOTIFICATIONS);
5916
6035
  return { createBulkNotifications, error, loading };
5917
6036
  };
5918
6037
  var useMarkNotificationRead = () => {
5919
- const [markNotificationRead, { loading, error }] = (0, import_client27.useMutation)(MARK_NOTIFICATION_READ, {
6038
+ const [markNotificationRead, { loading, error }] = (0, import_client28.useMutation)(MARK_NOTIFICATION_READ, {
5920
6039
  refetchQueries: [
5921
6040
  {
5922
6041
  query: GET_USER_NOTIFICATIONS
@@ -5929,7 +6048,7 @@ var useMarkNotificationRead = () => {
5929
6048
  return { error, loading, markNotificationRead };
5930
6049
  };
5931
6050
  var useMarkAllNotificationsRead = () => {
5932
- const [markAllNotificationsRead, { loading, error }] = (0, import_client27.useMutation)(MARK_ALL_NOTIFICATIONS_READ, {
6051
+ const [markAllNotificationsRead, { loading, error }] = (0, import_client28.useMutation)(MARK_ALL_NOTIFICATIONS_READ, {
5933
6052
  refetchQueries: [
5934
6053
  {
5935
6054
  query: GET_USER_NOTIFICATIONS
@@ -5942,7 +6061,7 @@ var useMarkAllNotificationsRead = () => {
5942
6061
  return { error, loading, markAllNotificationsRead };
5943
6062
  };
5944
6063
  var useDeleteNotification = () => {
5945
- const [deleteNotification, { loading, error }] = (0, import_client27.useMutation)(DELETE_NOTIFICATION, {
6064
+ const [deleteNotification, { loading, error }] = (0, import_client28.useMutation)(DELETE_NOTIFICATION, {
5946
6065
  refetchQueries: [
5947
6066
  {
5948
6067
  query: GET_USER_NOTIFICATIONS
@@ -5955,7 +6074,7 @@ var useDeleteNotification = () => {
5955
6074
  return { deleteNotification, error, loading };
5956
6075
  };
5957
6076
  var useDeleteAllNotifications = () => {
5958
- const [deleteAllNotifications, { loading, error }] = (0, import_client27.useMutation)(DELETE_ALL_NOTIFICATIONS, {
6077
+ const [deleteAllNotifications, { loading, error }] = (0, import_client28.useMutation)(DELETE_ALL_NOTIFICATIONS, {
5959
6078
  refetchQueries: [
5960
6079
  {
5961
6080
  query: GET_USER_NOTIFICATIONS
@@ -5969,9 +6088,9 @@ var useDeleteAllNotifications = () => {
5969
6088
  };
5970
6089
 
5971
6090
  // src/graphql/hooks/notifications/hooksQuery.ts
5972
- var import_client28 = require("@apollo/client");
6091
+ var import_client29 = require("@apollo/client");
5973
6092
  var useGetUserNotifications = (limit, offset) => {
5974
- const { data, loading, error, refetch } = (0, import_client28.useQuery)(GET_USER_NOTIFICATIONS, {
6093
+ const { data, loading, error, refetch } = (0, import_client29.useQuery)(GET_USER_NOTIFICATIONS, {
5975
6094
  fetchPolicy: "no-cache",
5976
6095
  variables: { limit, offset }
5977
6096
  });
@@ -5983,7 +6102,7 @@ var useGetUserNotifications = (limit, offset) => {
5983
6102
  };
5984
6103
  };
5985
6104
  var useGetNotificationCount = () => {
5986
- const { data, loading, error, refetch } = (0, import_client28.useQuery)(GET_NOTIFICATION_COUNT, {
6105
+ const { data, loading, error, refetch } = (0, import_client29.useQuery)(GET_NOTIFICATION_COUNT, {
5987
6106
  fetchPolicy: "no-cache"
5988
6107
  });
5989
6108
  return {
@@ -5995,11 +6114,11 @@ var useGetNotificationCount = () => {
5995
6114
  };
5996
6115
 
5997
6116
  // src/graphql/hooks/notifications/hooksSubscription.ts
5998
- var import_client30 = require("@apollo/client");
6117
+ var import_client31 = require("@apollo/client");
5999
6118
 
6000
6119
  // src/graphql/subscriptions/notification.ts
6001
- var import_client29 = require("@apollo/client");
6002
- var GET_NOTIFICATIONS_SUBSCRIPTION = import_client29.gql`
6120
+ var import_client30 = require("@apollo/client");
6121
+ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client30.gql`
6003
6122
  subscription {
6004
6123
  getUserNotifications {
6005
6124
  ...NotificationFields
@@ -6007,7 +6126,7 @@ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client29.gql`
6007
6126
  }
6008
6127
  ${NOTIFICATION_FRAGMENT}
6009
6128
  `;
6010
- var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client29.gql`
6129
+ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client30.gql`
6011
6130
  subscription {
6012
6131
  getNotificationCount {
6013
6132
  total
@@ -6018,7 +6137,7 @@ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client29.gql`
6018
6137
 
6019
6138
  // src/graphql/hooks/notifications/hooksSubscription.ts
6020
6139
  var useGetUserNotificationsSubscription = () => {
6021
- const { data, loading, error } = (0, import_client30.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
6140
+ const { data, loading, error } = (0, import_client31.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
6022
6141
  fetchPolicy: "no-cache",
6023
6142
  shouldResubscribe: true
6024
6143
  });
@@ -6029,7 +6148,7 @@ var useGetUserNotificationsSubscription = () => {
6029
6148
  };
6030
6149
  };
6031
6150
  var useGetNotificationCountSubscription = () => {
6032
- const { data, loading, error } = (0, import_client30.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
6151
+ const { data, loading, error } = (0, import_client31.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
6033
6152
  fetchPolicy: "no-cache",
6034
6153
  shouldResubscribe: true
6035
6154
  });
@@ -6041,11 +6160,11 @@ var useGetNotificationCountSubscription = () => {
6041
6160
  };
6042
6161
 
6043
6162
  // src/graphql/hooks/poster.ts
6044
- var import_client32 = require("@apollo/client");
6163
+ var import_client33 = require("@apollo/client");
6045
6164
 
6046
6165
  // src/graphql/mutations/poster.ts
6047
- var import_client31 = require("@apollo/client");
6048
- var CREATE_POSTER_MUTATION = import_client31.gql`
6166
+ var import_client32 = require("@apollo/client");
6167
+ var CREATE_POSTER_MUTATION = import_client32.gql`
6049
6168
  mutation createPoster($input: PosterInputType!) {
6050
6169
  createPoster(input: $input) {
6051
6170
  data {
@@ -6061,18 +6180,18 @@ var CREATE_POSTER_MUTATION = import_client31.gql`
6061
6180
 
6062
6181
  // src/graphql/hooks/poster.ts
6063
6182
  var useCreatePoster = () => {
6064
- const [createPoster, { loading, error }] = (0, import_client32.useMutation)(CREATE_POSTER_MUTATION, {
6183
+ const [createPoster, { loading, error }] = (0, import_client33.useMutation)(CREATE_POSTER_MUTATION, {
6065
6184
  refetchQueries: [{ query: GET_USER_EVENTS }, { query: GET_USER_VENDORS }]
6066
6185
  });
6067
6186
  return { createPoster, error, loading };
6068
6187
  };
6069
6188
 
6070
6189
  // src/graphql/hooks/pushToken.ts
6071
- var import_client34 = require("@apollo/client");
6190
+ var import_client35 = require("@apollo/client");
6072
6191
 
6073
6192
  // src/graphql/mutations/pushToken.ts
6074
- var import_client33 = require("@apollo/client");
6075
- var CREATE_PUSH_TOKEN_MUTATION = import_client33.gql`
6193
+ var import_client34 = require("@apollo/client");
6194
+ var CREATE_PUSH_TOKEN_MUTATION = import_client34.gql`
6076
6195
  mutation createPushToken($input: PushTokenInput!) {
6077
6196
  createPushToken(input: $input) {
6078
6197
  data {
@@ -6085,16 +6204,16 @@ var CREATE_PUSH_TOKEN_MUTATION = import_client33.gql`
6085
6204
 
6086
6205
  // src/graphql/hooks/pushToken.ts
6087
6206
  var useCreatePushToken = () => {
6088
- const [createPushToken, { loading, error }] = (0, import_client34.useMutation)(CREATE_PUSH_TOKEN_MUTATION);
6207
+ const [createPushToken, { loading, error }] = (0, import_client35.useMutation)(CREATE_PUSH_TOKEN_MUTATION);
6089
6208
  return { createPushToken, error, loading };
6090
6209
  };
6091
6210
 
6092
6211
  // src/graphql/hooks/relation/hooksMutation.ts
6093
- var import_client36 = require("@apollo/client");
6212
+ var import_client37 = require("@apollo/client");
6094
6213
 
6095
6214
  // src/graphql/mutations/relation.ts
6096
- var import_client35 = require("@apollo/client");
6097
- var CREATE_RELATION_MUTATION = import_client35.gql`
6215
+ var import_client36 = require("@apollo/client");
6216
+ var CREATE_RELATION_MUTATION = import_client36.gql`
6098
6217
  mutation createRelation($input: RelationInputType!) {
6099
6218
  createRelation(input: $input) {
6100
6219
  data {
@@ -6105,7 +6224,7 @@ var CREATE_RELATION_MUTATION = import_client35.gql`
6105
6224
  }
6106
6225
  ${RELATION_FIELDS_FRAGMENT}
6107
6226
  `;
6108
- var UPDATE_RELATION_MUTATION = import_client35.gql`
6227
+ var UPDATE_RELATION_MUTATION = import_client36.gql`
6109
6228
  mutation updateRelation($_id: ID!, $input: RelationInputType!) {
6110
6229
  updateRelation(_id: $_id, input: $input) {
6111
6230
  data {
@@ -6116,7 +6235,7 @@ var UPDATE_RELATION_MUTATION = import_client35.gql`
6116
6235
  }
6117
6236
  ${RELATION_FIELDS_FRAGMENT}
6118
6237
  `;
6119
- var DELETE_RELATION_MUTATION = import_client35.gql`
6238
+ var DELETE_RELATION_MUTATION = import_client36.gql`
6120
6239
  mutation deleteRelation($_id: ID!) {
6121
6240
  deleteRelation(_id: $_id) {
6122
6241
  data {
@@ -6130,7 +6249,7 @@ var DELETE_RELATION_MUTATION = import_client35.gql`
6130
6249
 
6131
6250
  // src/graphql/hooks/relation/hooksMutation.ts
6132
6251
  var useCreateRelation = () => {
6133
- const [createRelation, { loading, error }] = (0, import_client36.useMutation)(CREATE_RELATION_MUTATION, {
6252
+ const [createRelation, { loading, error }] = (0, import_client37.useMutation)(CREATE_RELATION_MUTATION, {
6134
6253
  awaitRefetchQueries: true,
6135
6254
  refetchQueries: (mutationResult) => {
6136
6255
  const createRelation2 = mutationResult?.data?.createRelation?.data;
@@ -6176,7 +6295,7 @@ var useCreateRelation = () => {
6176
6295
  return { createRelation, error, loading };
6177
6296
  };
6178
6297
  var useUpdateRelation = () => {
6179
- const [updateRelation, { loading, error }] = (0, import_client36.useMutation)(UPDATE_RELATION_MUTATION, {
6298
+ const [updateRelation, { loading, error }] = (0, import_client37.useMutation)(UPDATE_RELATION_MUTATION, {
6180
6299
  awaitRefetchQueries: true,
6181
6300
  refetchQueries: (mutationResult) => {
6182
6301
  const updateRelation2 = mutationResult?.data?.updateRelation?.data;
@@ -6219,7 +6338,7 @@ var useUpdateRelation = () => {
6219
6338
  return { error, loading, updateRelation };
6220
6339
  };
6221
6340
  var useDeleteRelation = () => {
6222
- const [deleteRelation, { loading, error }] = (0, import_client36.useMutation)(DELETE_RELATION_MUTATION, {
6341
+ const [deleteRelation, { loading, error }] = (0, import_client37.useMutation)(DELETE_RELATION_MUTATION, {
6223
6342
  awaitRefetchQueries: true,
6224
6343
  refetchQueries: (mutationResult) => {
6225
6344
  const deleteRelation2 = mutationResult?.data?.deleteRelation?.data;
@@ -6258,9 +6377,9 @@ var useDeleteRelation = () => {
6258
6377
  };
6259
6378
 
6260
6379
  // src/graphql/hooks/relation/hooksQuery.ts
6261
- var import_client37 = require("@apollo/client");
6380
+ var import_client38 = require("@apollo/client");
6262
6381
  var useGetRelation = (_id) => {
6263
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RELATION, {
6382
+ const { loading, error, data, refetch } = (0, import_client38.useQuery)(GET_RELATION, {
6264
6383
  fetchPolicy: "network-only",
6265
6384
  skip: !_id,
6266
6385
  variables: _id ? { _id } : void 0
@@ -6269,7 +6388,7 @@ var useGetRelation = (_id) => {
6269
6388
  return { error, loading, refetch, relation };
6270
6389
  };
6271
6390
  var useGetRelationByEventAndVendor = (eventId, vendorId) => {
6272
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
6391
+ const { loading, error, data, refetch } = (0, import_client38.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
6273
6392
  fetchPolicy: "network-only",
6274
6393
  skip: !eventId || eventId === "" || !vendorId || vendorId === "",
6275
6394
  variables: { eventId, vendorId }
@@ -6278,7 +6397,7 @@ var useGetRelationByEventAndVendor = (eventId, vendorId) => {
6278
6397
  return { error, loading, refetch, relationByEventAndVendor };
6279
6398
  };
6280
6399
  var useGetEventRelations = (eventId) => {
6281
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_EVENT_RELATIONS, {
6400
+ const { loading, error, data, refetch } = (0, import_client38.useQuery)(GET_EVENT_RELATIONS, {
6282
6401
  fetchPolicy: "network-only",
6283
6402
  skip: !eventId || eventId === "",
6284
6403
  variables: { eventId }
@@ -6287,7 +6406,7 @@ var useGetEventRelations = (eventId) => {
6287
6406
  return { error, eventRelations, loading, refetch };
6288
6407
  };
6289
6408
  var useGetVendorRelations = (vendorId) => {
6290
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_VENDOR_RELATIONS, {
6409
+ const { loading, error, data, refetch } = (0, import_client38.useQuery)(GET_VENDOR_RELATIONS, {
6291
6410
  fetchPolicy: "network-only",
6292
6411
  skip: !vendorId || vendorId === "",
6293
6412
  variables: { vendorId }
@@ -6296,7 +6415,7 @@ var useGetVendorRelations = (vendorId) => {
6296
6415
  return { error, loading, refetch, vendorRelations };
6297
6416
  };
6298
6417
  var useGetResourceConnections = (resourceId, resourceType) => {
6299
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_RESOURCE_CONNECTIONS, {
6418
+ const { loading, error, data, refetch } = (0, import_client38.useQuery)(GET_RESOURCE_CONNECTIONS, {
6300
6419
  fetchPolicy: "network-only",
6301
6420
  skip: !resourceId || resourceId === "" || !resourceType,
6302
6421
  variables: { resourceId, resourceType }
@@ -6307,104 +6426,6 @@ var useGetResourceConnections = (resourceId, resourceType) => {
6307
6426
 
6308
6427
  // src/graphql/hooks/vendor/hooksMutation.ts
6309
6428
  var import_client39 = require("@apollo/client");
6310
-
6311
- // src/graphql/mutations/vendor.ts
6312
- var import_client38 = require("@apollo/client");
6313
- var CREATE_VENDOR_MUTATION = import_client38.gql`
6314
- mutation createVendor($input: VendorInputType!) {
6315
- createVendor(input: $input) {
6316
- data {
6317
- ...VendorFields
6318
- }
6319
- message
6320
- }
6321
- }
6322
- ${VENDOR}
6323
- `;
6324
- var UPDATE_VENDOR_MUTATION = import_client38.gql`
6325
- mutation updateVendor($_id: ID!, $input: VendorInputType!) {
6326
- updateVendor(_id: $_id, input: $input) {
6327
- data {
6328
- ...VendorFields
6329
- }
6330
- message
6331
- }
6332
- }
6333
- ${VENDOR}
6334
- `;
6335
- var DELETE_VENDOR_MUTATION = import_client38.gql`
6336
- mutation deleteVendor($_id: ID!) {
6337
- deleteVendor(_id: $_id) {
6338
- data
6339
- message
6340
- }
6341
- }
6342
- `;
6343
- var CREATE_VENDOR_INFO_MUTATION = import_client38.gql`
6344
- mutation createVendorInfo($input: VendorInfoInputType!) {
6345
- createVendorInfo(input: $input) {
6346
- data {
6347
- ...VendorInfoFields
6348
- }
6349
- message
6350
- }
6351
- }
6352
- ${VENDOR_INFO}
6353
- `;
6354
- var UPDATE_VENDOR_INFO_MUTATION = import_client38.gql`
6355
- mutation updateVendorInfo($_id: ID!, $input: VendorInfoInputType!) {
6356
- updateVendorInfo(_id: $_id, input: $input) {
6357
- data {
6358
- ...VendorInfoFields
6359
- }
6360
- message
6361
- }
6362
- }
6363
- ${VENDOR_INFO}
6364
- `;
6365
- var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
6366
- mutation createUnregisteredVendor($input: UnregisteredVendorInputType!) {
6367
- createUnregisteredVendor(input: $input) {
6368
- data {
6369
- ...UnregisteredVendorFields
6370
- }
6371
- message
6372
- }
6373
- }
6374
- ${UNREGISTERED_VENDOR}
6375
- `;
6376
- var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
6377
- mutation updateUnregisteredVendor(
6378
- $_id: ID!
6379
- $input: UnregisteredVendorInputType!
6380
- ) {
6381
- updateUnregisteredVendor(_id: $_id, input: $input) {
6382
- data {
6383
- ...UnregisteredVendorFields
6384
- }
6385
- message
6386
- }
6387
- }
6388
- ${UNREGISTERED_VENDOR}
6389
- `;
6390
- var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client38.gql`
6391
- mutation deleteUnregisteredVendor($_id: ID!) {
6392
- deleteUnregisteredVendor(_id: $_id) {
6393
- data
6394
- message
6395
- }
6396
- }
6397
- `;
6398
- var UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION = import_client38.gql`
6399
- mutation unlinkUnregisteredVendorByInviterId($_id: ID!, $inviterId: ID!) {
6400
- unlinkUnregisteredVendorByInviterId(_id: $_id, inviterId: $inviterId) {
6401
- data
6402
- message
6403
- }
6404
- }
6405
- `;
6406
-
6407
- // src/graphql/hooks/vendor/hooksMutation.ts
6408
6429
  var useCreateVendor = () => {
6409
6430
  const [createVendor, { loading, error }] = (0, import_client39.useMutation)(CREATE_VENDOR_MUTATION, {
6410
6431
  awaitRefetchQueries: true,
@@ -6483,6 +6504,10 @@ var useUnlinkUnregisteredVendorByInviterId = () => {
6483
6504
  const [unlinkUnregisteredVendorByInviterId, { loading, error }] = (0, import_client39.useMutation)(UNLINK_UNREGISTERED_VENDOR_BY_INVITER_ID_MUTATION);
6484
6505
  return { error, loading, unlinkUnregisteredVendorByInviterId };
6485
6506
  };
6507
+ var useActivateVendorClaim = () => {
6508
+ const [activateVendorClaim, { loading, error }] = (0, import_client39.useMutation)(ACTIVATE_VENDOR_CLAIM_MUTATION);
6509
+ return { activateVendorClaim, error, loading };
6510
+ };
6486
6511
 
6487
6512
  // src/graphql/hooks/vendor/hooksQuery.ts
6488
6513
  var import_client40 = require("@apollo/client");
@@ -6584,6 +6609,18 @@ var useGetUnregisteredVendor = (_id) => {
6584
6609
  const unregisteredVendor = data?.unregisteredVendor;
6585
6610
  return { error, loading, refetch, unregisteredVendor };
6586
6611
  };
6612
+ var useMyPendingVendorClaim = (skip = false) => {
6613
+ const { loading, error, data, refetch } = (0, import_client40.useQuery)(MY_PENDING_VENDOR_CLAIM, {
6614
+ fetchPolicy: "network-only",
6615
+ skip
6616
+ });
6617
+ return {
6618
+ error,
6619
+ loading,
6620
+ myPendingVendorClaim: data?.myPendingVendorClaim ?? null,
6621
+ refetch
6622
+ };
6623
+ };
6587
6624
 
6588
6625
  // src/graphql/hooks/user/hooksMutation.ts
6589
6626
  var import_client42 = require("@apollo/client");
@@ -8915,6 +8952,7 @@ function canAccessAdminPath(roles, pathname) {
8915
8952
  }
8916
8953
  // Annotate the CommonJS export names for ESM import in node:
8917
8954
  0 && (module.exports = {
8955
+ ACTIVATE_VENDOR_CLAIM_MUTATION,
8918
8956
  ADMIN_APP_ROLES,
8919
8957
  ADMIN_DASHBOARD_CONTEXTS,
8920
8958
  AFFILIATE_PARTICIPANT_TYPE_LABELS,
@@ -8977,6 +9015,7 @@ function canAccessAdminPath(roles, pathname) {
8977
9015
  IOS_URL,
8978
9016
  ImageTypeEnum,
8979
9017
  KNOWN_EVENT_SCHEDULE_STATUSES,
9018
+ MY_PENDING_VENDOR_CLAIM,
8980
9019
  NETWORK_USER_FACING_ERROR,
8981
9020
  OG_DESCRIPTION_LINE_BREAK,
8982
9021
  PERMISSIONS,
@@ -9199,6 +9238,7 @@ function canAccessAdminPath(roles, pathname) {
9199
9238
  toShareSocialImageCacheVersion,
9200
9239
  toUserFacingErrorMessage,
9201
9240
  truncateText,
9241
+ useActivateVendorClaim,
9202
9242
  useAddParticipantToChat,
9203
9243
  useAddUserFavouriteResource,
9204
9244
  useAddUserGoingResource,
@@ -9304,6 +9344,7 @@ function canAccessAdminPath(roles, pathname) {
9304
9344
  useMarkAllNotificationsRead,
9305
9345
  useMarkChatMessagesSeen,
9306
9346
  useMarkNotificationRead,
9347
+ useMyPendingVendorClaim,
9307
9348
  useRedeemAffiliateReward,
9308
9349
  useRedeemReward,
9309
9350
  useRefreshToken,