@timardex/cluemart-shared 1.4.40 → 1.4.42

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 (46) hide show
  1. package/dist/{auth-C4rFM8ym.d.mts → auth-CMAZK-Pw.d.mts} +1 -2
  2. package/dist/{auth-Z7ZalBiX.d.ts → auth-CYgZKLvY.d.ts} +1 -2
  3. package/dist/{chunk-V54HUJIO.mjs → chunk-CGXCKZ4G.mjs} +22 -35
  4. package/dist/chunk-CGXCKZ4G.mjs.map +1 -0
  5. package/dist/{chunk-B5HXAEH4.mjs → chunk-END7A5PN.mjs} +1 -28
  6. package/dist/chunk-END7A5PN.mjs.map +1 -0
  7. package/dist/{chunk-UCRSD3WR.mjs → chunk-NZTJYWGA.mjs} +221 -456
  8. package/dist/chunk-NZTJYWGA.mjs.map +1 -0
  9. package/dist/{chunk-Z4W6CSYI.mjs → chunk-XUYZ2LYW.mjs} +1 -1
  10. package/dist/chunk-XUYZ2LYW.mjs.map +1 -0
  11. package/dist/formFields/index.cjs +20 -34
  12. package/dist/formFields/index.cjs.map +1 -1
  13. package/dist/formFields/index.d.mts +1 -3
  14. package/dist/formFields/index.d.ts +1 -3
  15. package/dist/formFields/index.mjs +2 -4
  16. package/dist/graphql/index.cjs +304 -546
  17. package/dist/graphql/index.cjs.map +1 -1
  18. package/dist/graphql/index.d.mts +2 -57
  19. package/dist/graphql/index.d.ts +2 -57
  20. package/dist/graphql/index.mjs +1 -15
  21. package/dist/hooks/index.cjs +283 -665
  22. package/dist/hooks/index.cjs.map +1 -1
  23. package/dist/hooks/index.d.mts +3 -5
  24. package/dist/hooks/index.d.ts +3 -5
  25. package/dist/hooks/index.mjs +101 -282
  26. package/dist/hooks/index.mjs.map +1 -1
  27. package/dist/index.cjs +420 -886
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.mts +2 -149
  30. package/dist/index.d.ts +2 -149
  31. package/dist/index.mjs +336 -790
  32. package/dist/index.mjs.map +1 -1
  33. package/dist/{post-B0L3Oaoy.d.mts → post-CY04DycR.d.mts} +3 -90
  34. package/dist/{post-D4h3XD7G.d.ts → post-DIezKPg1.d.ts} +3 -90
  35. package/dist/types/index.cjs +2 -32
  36. package/dist/types/index.cjs.map +1 -1
  37. package/dist/types/index.d.mts +2 -2
  38. package/dist/types/index.d.ts +2 -2
  39. package/dist/types/index.mjs +3 -9
  40. package/dist/utils/index.cjs.map +1 -1
  41. package/dist/utils/index.mjs +1 -1
  42. package/package.json +1 -1
  43. package/dist/chunk-B5HXAEH4.mjs.map +0 -1
  44. package/dist/chunk-UCRSD3WR.mjs.map +0 -1
  45. package/dist/chunk-V54HUJIO.mjs.map +0 -1
  46. package/dist/chunk-Z4W6CSYI.mjs.map +0 -1
@@ -25,10 +25,8 @@ __export(graphql_exports, {
25
25
  useAddUserGoingResource: () => useAddUserGoingResource,
26
26
  useAddUserInterestResource: () => useAddUserInterestResource,
27
27
  useAddUserPresentResource: () => useAddUserPresentResource,
28
- useAdminResendTesterVerificationEmail: () => useAdminResendTesterVerificationEmail,
29
28
  useAdminResendUserVerificationEmail: () => useAdminResendUserVerificationEmail,
30
29
  useAdminUpdateResourceType: () => useAdminUpdateResourceType,
31
- useAdminUpdateTester: () => useAdminUpdateTester,
32
30
  useCancelSubscription: () => useCancelSubscription,
33
31
  useContactUs: () => useContactUs,
34
32
  useCrawlGoogleMarkets: () => useCrawlGoogleMarkets,
@@ -44,7 +42,6 @@ __export(graphql_exports, {
44
42
  useCreatePushToken: () => useCreatePushToken,
45
43
  useCreateRelation: () => useCreateRelation,
46
44
  useCreateResourceActivity: () => useCreateResourceActivity,
47
- useCreateTester: () => useCreateTester,
48
45
  useCreateUnregisteredVendor: () => useCreateUnregisteredVendor,
49
46
  useCreateUser: () => useCreateUser,
50
47
  useCreateVendor: () => useCreateVendor,
@@ -57,7 +54,6 @@ __export(graphql_exports, {
57
54
  useDeletePartner: () => useDeletePartner,
58
55
  useDeletePost: () => useDeletePost,
59
56
  useDeleteRelation: () => useDeleteRelation,
60
- useDeleteTester: () => useDeleteTester,
61
57
  useDeleteUnregisteredVendor: () => useDeleteUnregisteredVendor,
62
58
  useDeleteUser: () => useDeleteUser,
63
59
  useDeleteVendor: () => useDeleteVendor,
@@ -90,8 +86,6 @@ __export(graphql_exports, {
90
86
  useGetResourceConnections: () => useGetResourceConnections,
91
87
  useGetSubscriptionPlans: () => useGetSubscriptionPlans,
92
88
  useGetSubscriptionStatus: () => useGetSubscriptionStatus,
93
- useGetTester: () => useGetTester,
94
- useGetTesters: () => useGetTesters,
95
89
  useGetUnregisteredVendor: () => useGetUnregisteredVendor,
96
90
  useGetUnregisteredVendors: () => useGetUnregisteredVendors,
97
91
  useGetUser: () => useGetUser,
@@ -138,7 +132,6 @@ __export(graphql_exports, {
138
132
  useUpdatePost: () => useUpdatePost,
139
133
  useUpdateRelation: () => useUpdateRelation,
140
134
  useUpdateSubscriptionPlan: () => useUpdateSubscriptionPlan,
141
- useUpdateTester: () => useUpdateTester,
142
135
  useUpdateUnregisteredVendor: () => useUpdateUnregisteredVendor,
143
136
  useUpdateUser: () => useUpdateUser,
144
137
  useUpdateVendor: () => useUpdateVendor,
@@ -148,7 +141,7 @@ __export(graphql_exports, {
148
141
  module.exports = __toCommonJS(graphql_exports);
149
142
 
150
143
  // src/graphql/hooks/admin/hooksMutation.ts
151
- var import_client6 = require("@apollo/client");
144
+ var import_client5 = require("@apollo/client");
152
145
 
153
146
  // src/graphql/mutations/admin.ts
154
147
  var import_client = require("@apollo/client");
@@ -161,19 +154,6 @@ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client.gql`
161
154
  }
162
155
  }
163
156
  `;
164
- var ADMIN_UPDATE_TESTER_MUTATION = import_client.gql`
165
- mutation adminUpdateTester($input: AdminUpdateTesterInputType!) {
166
- adminUpdateTester(input: $input) {
167
- _id
168
- approved
169
- }
170
- }
171
- `;
172
- var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = import_client.gql`
173
- mutation adminResendTesterVerificationEmail($testerId: ID!) {
174
- adminResendTesterVerificationEmail(testerId: $testerId)
175
- }
176
- `;
177
157
  var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client.gql`
178
158
  mutation adminResendUserVerificationEmail($userId: ID!) {
179
159
  adminResendUserVerificationEmail(userId: $userId)
@@ -610,107 +590,9 @@ var GET_EVENT_INFO = import_client3.gql`
610
590
  ${EVENT_INFO}
611
591
  `;
612
592
 
613
- // src/graphql/queries/tester.ts
614
- var import_client4 = require("@apollo/client");
615
- var TESTER_VENDOR_FIELDS_FRAGMENT = import_client4.gql`
616
- fragment TesterVendorFields on TesterVendorType {
617
- categories {
618
- ...CategoryFields
619
- }
620
- productsOrServices
621
- marketsAttended {
622
- name
623
- city
624
- }
625
- sellingFrequency
626
- yearlySellingApprox
627
- questionary {
628
- uploadStallProfileFirstWeek
629
- applyToAtLeastOneMarket
630
- tryVisitorFeatures
631
- completeFeedbackQuestionnaire
632
- sendPhotoForSocialMedia
633
- appearInVideoIntroduction
634
- socialMediaFeatureReason
635
- excitementAboutApp
636
- usefulnessExpectations
637
- testingPeriodConcerns
638
- }
639
- }
640
- ${CATEGORY_FIELDS_FRAGMENT}
641
- `;
642
- var TESTER_EVENT_FIELDS_FRAGMENT = import_client4.gql`
643
- fragment TesterEventFields on TesterEventType {
644
- organizedMarketCount
645
- markets {
646
- name
647
- cityOrVenue
648
- frequency
649
- averageStallCount
650
- }
651
- questionary {
652
- allowMarketingAppearance
653
- completeFinalQuestionnaire
654
- dailyCoordinationNeeds
655
- interestedInCharityInitiative
656
- inviteStallholders
657
- manageApplicationsAndCommunication
658
- organizerExpectations
659
- completeMarketProfileFirstWeek
660
- spaceForClueMart
661
- uploadStallList
662
- }
663
- }
664
- `;
665
- var TESTER_FIELDS_FRAGMENT = import_client4.gql`
666
- fragment TesterFields on TesterType {
667
- _id
668
- active
669
- approved
670
- businessName
671
- consents {
672
- betaTestConsent
673
- privacyConsent
674
- }
675
- createdAt
676
- email
677
- firstName
678
- lastName
679
- mobilePhone
680
- osType
681
- region
682
- resourceType
683
- updatedAt
684
- vendor {
685
- ...TesterVendorFields
686
- }
687
- event {
688
- ...TesterEventFields
689
- }
690
- }
691
- ${TESTER_VENDOR_FIELDS_FRAGMENT}
692
- ${TESTER_EVENT_FIELDS_FRAGMENT}
693
- `;
694
- var GET_TESTERS = import_client4.gql`
695
- query getTesters {
696
- testers {
697
- ...TesterFields
698
- }
699
- }
700
- ${TESTER_FIELDS_FRAGMENT}
701
- `;
702
- var GET_TESTER = import_client4.gql`
703
- query getTester($_id: ID!) {
704
- tester(_id: $_id) {
705
- ...TesterFields
706
- }
707
- }
708
- ${TESTER_FIELDS_FRAGMENT}
709
- `;
710
-
711
593
  // src/graphql/queries/vendor.ts
712
- var import_client5 = require("@apollo/client");
713
- var VENDOR_DATETIME_FIELDS_FRAGMENT = import_client5.gql`
594
+ var import_client4 = require("@apollo/client");
595
+ var VENDOR_DATETIME_FIELDS_FRAGMENT = import_client4.gql`
714
596
  fragment VendorDateTimeFields on VendorDateTimeType {
715
597
  dateStatus
716
598
  endDate
@@ -719,7 +601,7 @@ var VENDOR_DATETIME_FIELDS_FRAGMENT = import_client5.gql`
719
601
  startTime
720
602
  }
721
603
  `;
722
- var VENDOR_MENU_FIELDS_FRAGMENT = import_client5.gql`
604
+ var VENDOR_MENU_FIELDS_FRAGMENT = import_client4.gql`
723
605
  fragment VendorMenuFields on VendorMenuType {
724
606
  description
725
607
  name
@@ -727,7 +609,7 @@ var VENDOR_MENU_FIELDS_FRAGMENT = import_client5.gql`
727
609
  productGroups
728
610
  }
729
611
  `;
730
- var VENDOR = import_client5.gql`
612
+ var VENDOR = import_client4.gql`
731
613
  fragment VendorFields on VendorType {
732
614
  _id
733
615
  active
@@ -812,13 +694,13 @@ var VENDOR = import_client5.gql`
812
694
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
813
695
  ${RELATION_DATES_FRAGMENT}
814
696
  `;
815
- var VENDOR_ATTRIBUTES_FRAGMENT = import_client5.gql`
697
+ var VENDOR_ATTRIBUTES_FRAGMENT = import_client4.gql`
816
698
  fragment VendorAttributesFields on VendorAttributesType {
817
699
  details
818
700
  isRequired
819
701
  }
820
702
  `;
821
- var VENDOR_INFO = import_client5.gql`
703
+ var VENDOR_INFO = import_client4.gql`
822
704
  fragment VendorInfoFields on VendorInfoType {
823
705
  _id
824
706
  compliance {
@@ -859,7 +741,7 @@ var VENDOR_INFO = import_client5.gql`
859
741
  ${VENDOR_ATTRIBUTES_FRAGMENT}
860
742
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
861
743
  `;
862
- var UNREGISTERED_VENDOR_INVITATION_FRAGMENT = import_client5.gql`
744
+ var UNREGISTERED_VENDOR_INVITATION_FRAGMENT = import_client4.gql`
863
745
  fragment UnregisteredVendorInvitationFields on UnregisteredVendorInvitationType {
864
746
  dateTime {
865
747
  ...EventDateTimeFields
@@ -872,7 +754,7 @@ var UNREGISTERED_VENDOR_INVITATION_FRAGMENT = import_client5.gql`
872
754
  ${EVENT_DATETIME_FIELDS_FRAGMENT}
873
755
  ${LOCATION_FIELDS_FRAGMENT}
874
756
  `;
875
- var UNREGISTERED_VENDOR = import_client5.gql`
757
+ var UNREGISTERED_VENDOR = import_client4.gql`
876
758
  fragment UnregisteredVendorFields on UnregisteredVendorType {
877
759
  _id
878
760
  categories {
@@ -891,7 +773,7 @@ var UNREGISTERED_VENDOR = import_client5.gql`
891
773
  ${CATEGORY_FIELDS_FRAGMENT}
892
774
  ${UNREGISTERED_VENDOR_INVITATION_FRAGMENT}
893
775
  `;
894
- var GET_VENDORS = import_client5.gql`
776
+ var GET_VENDORS = import_client4.gql`
895
777
  query getVendors {
896
778
  vendors {
897
779
  ...VendorFields
@@ -899,7 +781,7 @@ var GET_VENDORS = import_client5.gql`
899
781
  }
900
782
  ${VENDOR}
901
783
  `;
902
- var GET_VENDOR = import_client5.gql`
784
+ var GET_VENDOR = import_client4.gql`
903
785
  query getVendor($_id: ID!) {
904
786
  vendor(_id: $_id) {
905
787
  ...VendorFields
@@ -907,7 +789,7 @@ var GET_VENDOR = import_client5.gql`
907
789
  }
908
790
  ${VENDOR}
909
791
  `;
910
- var GET_VENDORS_BY_REGION = import_client5.gql`
792
+ var GET_VENDORS_BY_REGION = import_client4.gql`
911
793
  query getVendorsByRegion($region: String!) {
912
794
  vendorsByRegion(region: $region) {
913
795
  ...VendorFields
@@ -915,7 +797,7 @@ var GET_VENDORS_BY_REGION = import_client5.gql`
915
797
  }
916
798
  ${VENDOR}
917
799
  `;
918
- var SEARCH_VENDORS = import_client5.gql`
800
+ var SEARCH_VENDORS = import_client4.gql`
919
801
  query searchVendors($search: String!, $region: String) {
920
802
  vendorSearch(search: $search, region: $region) {
921
803
  ...VendorFields
@@ -923,7 +805,7 @@ var SEARCH_VENDORS = import_client5.gql`
923
805
  }
924
806
  ${VENDOR}
925
807
  `;
926
- var GET_VENDOR_INFO = import_client5.gql`
808
+ var GET_VENDOR_INFO = import_client4.gql`
927
809
  query getVendorInfo($vendorId: ID!) {
928
810
  vendorInfo(vendorId: $vendorId) {
929
811
  ...VendorInfoFields
@@ -931,7 +813,7 @@ var GET_VENDOR_INFO = import_client5.gql`
931
813
  }
932
814
  ${VENDOR_INFO}
933
815
  `;
934
- var GET_UNREGISTERED_VENDORS = import_client5.gql`
816
+ var GET_UNREGISTERED_VENDORS = import_client4.gql`
935
817
  query getUnregisteredVendors {
936
818
  unregisteredVendors {
937
819
  ...UnregisteredVendorFields
@@ -939,7 +821,7 @@ var GET_UNREGISTERED_VENDORS = import_client5.gql`
939
821
  }
940
822
  ${UNREGISTERED_VENDOR}
941
823
  `;
942
- var GET_UNREGISTERED_VENDOR = import_client5.gql`
824
+ var GET_UNREGISTERED_VENDOR = import_client4.gql`
943
825
  query getUnregisteredVendor($_id: ID!) {
944
826
  unregisteredVendor(_id: $_id) {
945
827
  ...UnregisteredVendorFields
@@ -950,7 +832,7 @@ var GET_UNREGISTERED_VENDOR = import_client5.gql`
950
832
 
951
833
  // src/graphql/hooks/admin/hooksMutation.ts
952
834
  var useAdminUpdateResourceType = () => {
953
- const [adminUpdateResourceType, { loading, error }] = (0, import_client6.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
835
+ const [adminUpdateResourceType, { loading, error }] = (0, import_client5.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
954
836
  awaitRefetchQueries: true,
955
837
  refetchQueries: (mutationResult) => {
956
838
  const adminUpdateResourceType2 = mutationResult?.data?.adminUpdateResourceType;
@@ -972,38 +854,8 @@ var useAdminUpdateResourceType = () => {
972
854
  loading
973
855
  };
974
856
  };
975
- var useAdminUpdateTester = () => {
976
- const [adminUpdateTester, { loading, error }] = (0, import_client6.useMutation)(ADMIN_UPDATE_TESTER_MUTATION, {
977
- awaitRefetchQueries: true,
978
- refetchQueries: (mutationResult) => {
979
- const adminUpdateTester2 = mutationResult?.data?.adminUpdateTester;
980
- const testerId = adminUpdateTester2?._id;
981
- return [
982
- {
983
- query: GET_TESTER,
984
- variables: { _id: testerId }
985
- }
986
- ];
987
- }
988
- });
989
- return {
990
- adminUpdateTester,
991
- error,
992
- loading
993
- };
994
- };
995
- var useAdminResendTesterVerificationEmail = () => {
996
- const [adminResendTesterVerificationEmail, { loading, error }] = (0, import_client6.useMutation)(
997
- ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION
998
- );
999
- return {
1000
- adminResendTesterVerificationEmail,
1001
- error,
1002
- loading
1003
- };
1004
- };
1005
857
  var useAdminResendUserVerificationEmail = () => {
1006
- const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client6.useMutation)(
858
+ const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client5.useMutation)(
1007
859
  ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION
1008
860
  );
1009
861
  return {
@@ -1014,11 +866,11 @@ var useAdminResendUserVerificationEmail = () => {
1014
866
  };
1015
867
 
1016
868
  // src/graphql/hooks/auth.ts
1017
- var import_client8 = require("@apollo/client");
869
+ var import_client7 = require("@apollo/client");
1018
870
 
1019
871
  // src/graphql/mutations/auth.ts
1020
- var import_client7 = require("@apollo/client");
1021
- var REGISTER_MUTATION = import_client7.gql`
872
+ var import_client6 = require("@apollo/client");
873
+ var REGISTER_MUTATION = import_client6.gql`
1022
874
  mutation register($input: RegisterInputType!) {
1023
875
  register(input: $input) {
1024
876
  message
@@ -1031,7 +883,7 @@ var REGISTER_MUTATION = import_client7.gql`
1031
883
  }
1032
884
  ${USER_FIELDS_FRAGMENT}
1033
885
  `;
1034
- var LOGIN_MUTATION = import_client7.gql`
886
+ var LOGIN_MUTATION = import_client6.gql`
1035
887
  mutation login($input: LoginInputType!) {
1036
888
  login(input: $input) {
1037
889
  message
@@ -1044,14 +896,14 @@ var LOGIN_MUTATION = import_client7.gql`
1044
896
  }
1045
897
  ${USER_FIELDS_FRAGMENT}
1046
898
  `;
1047
- var LOGOUT_MUTATION = import_client7.gql`
899
+ var LOGOUT_MUTATION = import_client6.gql`
1048
900
  mutation logout {
1049
901
  logout {
1050
902
  message
1051
903
  }
1052
904
  }
1053
905
  `;
1054
- var REFRESH_TOKEN_MUTATION = import_client7.gql`
906
+ var REFRESH_TOKEN_MUTATION = import_client6.gql`
1055
907
  mutation refreshToken($input: RefreshTokenInputType!) {
1056
908
  refreshToken(input: $input) {
1057
909
  refreshToken
@@ -1059,21 +911,21 @@ var REFRESH_TOKEN_MUTATION = import_client7.gql`
1059
911
  }
1060
912
  }
1061
913
  `;
1062
- var RESET_PASSWORD_MUTATION = import_client7.gql`
914
+ var RESET_PASSWORD_MUTATION = import_client6.gql`
1063
915
  mutation resetPassword($input: ResetPasswordInputType!) {
1064
916
  resetPassword(input: $input) {
1065
917
  message
1066
918
  }
1067
919
  }
1068
920
  `;
1069
- var REQUEST_PASSWORD_RESET_MUTATION = import_client7.gql`
921
+ var REQUEST_PASSWORD_RESET_MUTATION = import_client6.gql`
1070
922
  mutation requestPasswordReset($input: RequestPasswordResetInputType!) {
1071
923
  requestPasswordReset(input: $input) {
1072
924
  message
1073
925
  }
1074
926
  }
1075
927
  `;
1076
- var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client7.gql`
928
+ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client6.gql`
1077
929
  mutation validateVerificationToken(
1078
930
  $input: ValidateVerificationTokenInputType!
1079
931
  ) {
@@ -1085,51 +937,51 @@ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client7.gql`
1085
937
 
1086
938
  // src/graphql/hooks/auth.ts
1087
939
  var useRegister = () => {
1088
- const [register, { loading, error }] = (0, import_client8.useMutation)(REGISTER_MUTATION);
940
+ const [register, { loading, error }] = (0, import_client7.useMutation)(REGISTER_MUTATION);
1089
941
  return { error, loading, register };
1090
942
  };
1091
943
  var useLogin = () => {
1092
- const [login, { loading, error }] = (0, import_client8.useMutation)(LOGIN_MUTATION);
944
+ const [login, { loading, error }] = (0, import_client7.useMutation)(LOGIN_MUTATION);
1093
945
  return { error, loading, login };
1094
946
  };
1095
947
  var useLogout = () => {
1096
- const [logout, { loading, error }] = (0, import_client8.useMutation)(LOGOUT_MUTATION);
948
+ const [logout, { loading, error }] = (0, import_client7.useMutation)(LOGOUT_MUTATION);
1097
949
  return { error, loading, logout };
1098
950
  };
1099
951
  var useRefreshToken = () => {
1100
- const [refreshToken, { loading, error }] = (0, import_client8.useMutation)(
952
+ const [refreshToken, { loading, error }] = (0, import_client7.useMutation)(
1101
953
  REFRESH_TOKEN_MUTATION
1102
954
  );
1103
955
  return { error, loading, refreshToken };
1104
956
  };
1105
957
  var useRequestPasswordReset = () => {
1106
- const [requestPasswordReset, { loading, error }] = (0, import_client8.useMutation)(
958
+ const [requestPasswordReset, { loading, error }] = (0, import_client7.useMutation)(
1107
959
  REQUEST_PASSWORD_RESET_MUTATION
1108
960
  );
1109
961
  return { error, loading, requestPasswordReset };
1110
962
  };
1111
963
  var useValidateVerificationToken = () => {
1112
- const [validateVerificationToken, { loading, error }] = (0, import_client8.useMutation)(
964
+ const [validateVerificationToken, { loading, error }] = (0, import_client7.useMutation)(
1113
965
  VALIDATE_VERIFICATION_TOKEN_MUTATION
1114
966
  );
1115
967
  return { error, loading, validateVerificationToken };
1116
968
  };
1117
969
  var useResetPassword = () => {
1118
- const [resetPassword, { loading, error }] = (0, import_client8.useMutation)(
970
+ const [resetPassword, { loading, error }] = (0, import_client7.useMutation)(
1119
971
  RESET_PASSWORD_MUTATION
1120
972
  );
1121
973
  return { error, loading, resetPassword };
1122
974
  };
1123
975
 
1124
976
  // src/graphql/hooks/chat/hooksMutation.ts
1125
- var import_client11 = require("@apollo/client");
977
+ var import_client10 = require("@apollo/client");
1126
978
 
1127
979
  // src/graphql/mutations/chat.ts
1128
- var import_client10 = require("@apollo/client");
980
+ var import_client9 = require("@apollo/client");
1129
981
 
1130
982
  // src/graphql/queries/chat.ts
1131
- var import_client9 = require("@apollo/client");
1132
- var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client9.gql`
983
+ var import_client8 = require("@apollo/client");
984
+ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client8.gql`
1133
985
  fragment ChatMessageFields on ChatMessageType {
1134
986
  _id
1135
987
  content
@@ -1152,7 +1004,7 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client9.gql`
1152
1004
  updatedAt
1153
1005
  }
1154
1006
  `;
1155
- var CHAT_PARTICIPANT = import_client9.gql`
1007
+ var CHAT_PARTICIPANT = import_client8.gql`
1156
1008
  fragment ChatParticipantFields on ChatParticipantType {
1157
1009
  active
1158
1010
  userAvatar
@@ -1161,7 +1013,7 @@ var CHAT_PARTICIPANT = import_client9.gql`
1161
1013
  userName
1162
1014
  }
1163
1015
  `;
1164
- var CHAT_FIELDS_FRAGMENT = import_client9.gql`
1016
+ var CHAT_FIELDS_FRAGMENT = import_client8.gql`
1165
1017
  fragment ChatFields on ChatType {
1166
1018
  _id
1167
1019
  active
@@ -1182,7 +1034,7 @@ var CHAT_FIELDS_FRAGMENT = import_client9.gql`
1182
1034
  ${CHAT_MESSAGE_FIELDS_FRAGMENT}
1183
1035
  ${CHAT_PARTICIPANT}
1184
1036
  `;
1185
- var CHAT = import_client9.gql`
1037
+ var CHAT = import_client8.gql`
1186
1038
  query chat($_id: ID!) {
1187
1039
  chat(_id: $_id) {
1188
1040
  ...ChatFields
@@ -1190,7 +1042,7 @@ var CHAT = import_client9.gql`
1190
1042
  }
1191
1043
  ${CHAT_FIELDS_FRAGMENT}
1192
1044
  `;
1193
- var USER_CHATS = import_client9.gql`
1045
+ var USER_CHATS = import_client8.gql`
1194
1046
  query userChats {
1195
1047
  userChats {
1196
1048
  ...ChatFields
@@ -1198,7 +1050,7 @@ var USER_CHATS = import_client9.gql`
1198
1050
  }
1199
1051
  ${CHAT_FIELDS_FRAGMENT}
1200
1052
  `;
1201
- var GET_CHATS_BY_REGION = import_client9.gql`
1053
+ var GET_CHATS_BY_REGION = import_client8.gql`
1202
1054
  query getChatsByRegion($region: String!) {
1203
1055
  chatsByRegion(region: $region) {
1204
1056
  ...ChatFields
@@ -1206,7 +1058,7 @@ var GET_CHATS_BY_REGION = import_client9.gql`
1206
1058
  }
1207
1059
  ${CHAT_FIELDS_FRAGMENT}
1208
1060
  `;
1209
- var CHAT_REPORT_FIELDS_FRAGMENT = import_client9.gql`
1061
+ var CHAT_REPORT_FIELDS_FRAGMENT = import_client8.gql`
1210
1062
  fragment ChatReportFields on ReportChatUserType {
1211
1063
  _id
1212
1064
  chatId
@@ -1221,7 +1073,7 @@ var CHAT_REPORT_FIELDS_FRAGMENT = import_client9.gql`
1221
1073
  updatedAt
1222
1074
  }
1223
1075
  `;
1224
- var GET_REPORTED_CHAT_USERS = import_client9.gql`
1076
+ var GET_REPORTED_CHAT_USERS = import_client8.gql`
1225
1077
  query getReportedChatUsers {
1226
1078
  reportedChatUsers {
1227
1079
  ...ChatReportFields
@@ -1231,7 +1083,7 @@ var GET_REPORTED_CHAT_USERS = import_client9.gql`
1231
1083
  `;
1232
1084
 
1233
1085
  // src/graphql/mutations/chat.ts
1234
- var SEND_CHAT_MESSAGE_MUTATION = import_client10.gql`
1086
+ var SEND_CHAT_MESSAGE_MUTATION = import_client9.gql`
1235
1087
  mutation sendChatMessage($_id: ID!, $input: ChatMessageInputType!) {
1236
1088
  sendChatMessage(_id: $_id, input: $input) {
1237
1089
  ...ChatFields
@@ -1239,12 +1091,12 @@ var SEND_CHAT_MESSAGE_MUTATION = import_client10.gql`
1239
1091
  }
1240
1092
  ${CHAT_FIELDS_FRAGMENT}
1241
1093
  `;
1242
- var DELETE_CHAT_MUTATION = import_client10.gql`
1094
+ var DELETE_CHAT_MUTATION = import_client9.gql`
1243
1095
  mutation deleteChat($_id: ID!) {
1244
1096
  deleteChat(_id: $_id)
1245
1097
  }
1246
1098
  `;
1247
- var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client10.gql`
1099
+ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client9.gql`
1248
1100
  mutation addParticipantToChat($chatId: ID!, $userId: ID!) {
1249
1101
  addParticipantToChat(chatId: $chatId, userId: $userId) {
1250
1102
  ...ChatFields
@@ -1252,7 +1104,7 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client10.gql`
1252
1104
  }
1253
1105
  ${CHAT_FIELDS_FRAGMENT}
1254
1106
  `;
1255
- var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client10.gql`
1107
+ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client9.gql`
1256
1108
  mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
1257
1109
  removeParticipantFromChat(chatId: $chatId, userId: $userId) {
1258
1110
  success
@@ -1260,7 +1112,7 @@ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client10.gql`
1260
1112
  }
1261
1113
  }
1262
1114
  `;
1263
- var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client10.gql`
1115
+ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client9.gql`
1264
1116
  mutation toggleChatMessageLike($chatId: ID!, $messageId: ID!) {
1265
1117
  toggleChatMessageLike(chatId: $chatId, messageId: $messageId) {
1266
1118
  ...ChatFields
@@ -1268,7 +1120,7 @@ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client10.gql`
1268
1120
  }
1269
1121
  ${CHAT_FIELDS_FRAGMENT}
1270
1122
  `;
1271
- var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client10.gql`
1123
+ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client9.gql`
1272
1124
  mutation markChatMessagesSeen($chatId: ID!, $messageIds: [ID!]!) {
1273
1125
  markChatMessagesSeen(chatId: $chatId, messageIds: $messageIds) {
1274
1126
  ...ChatFields
@@ -1276,7 +1128,7 @@ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client10.gql`
1276
1128
  }
1277
1129
  ${CHAT_FIELDS_FRAGMENT}
1278
1130
  `;
1279
- var REPORT_CHAT_USER_MUTATION = import_client10.gql`
1131
+ var REPORT_CHAT_USER_MUTATION = import_client9.gql`
1280
1132
  mutation reportChatUser($input: ReportChatUserInputType!) {
1281
1133
  reportChatUser(input: $input) {
1282
1134
  ...ChatReportFields
@@ -1287,7 +1139,7 @@ var REPORT_CHAT_USER_MUTATION = import_client10.gql`
1287
1139
 
1288
1140
  // src/graphql/hooks/chat/hooksMutation.ts
1289
1141
  var useSendChatMessage = () => {
1290
- const [sendChatMessage, { loading, error }] = (0, import_client11.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
1142
+ const [sendChatMessage, { loading, error }] = (0, import_client10.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
1291
1143
  awaitRefetchQueries: true,
1292
1144
  refetchQueries: (mutationResult) => {
1293
1145
  const chatId = mutationResult?.data?.sendChatMessage?._id;
@@ -1302,14 +1154,14 @@ var useSendChatMessage = () => {
1302
1154
  return { error, loading, sendChatMessage };
1303
1155
  };
1304
1156
  var useDeleteChat = () => {
1305
- const [deleteChat, { loading, error }] = (0, import_client11.useMutation)(DELETE_CHAT_MUTATION, {
1157
+ const [deleteChat, { loading, error }] = (0, import_client10.useMutation)(DELETE_CHAT_MUTATION, {
1306
1158
  awaitRefetchQueries: true,
1307
1159
  refetchQueries: [{ query: USER_CHATS }]
1308
1160
  });
1309
1161
  return { deleteChat, error, loading };
1310
1162
  };
1311
1163
  var useAddParticipantToChat = () => {
1312
- const [addParticipantToChat, { loading, error }] = (0, import_client11.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
1164
+ const [addParticipantToChat, { loading, error }] = (0, import_client10.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
1313
1165
  awaitRefetchQueries: true,
1314
1166
  refetchQueries: (mutationResult) => {
1315
1167
  const chatId = mutationResult?.data?.addParticipantToChat?._id;
@@ -1327,7 +1179,7 @@ var useAddParticipantToChat = () => {
1327
1179
  return { addParticipantToChat, error, loading };
1328
1180
  };
1329
1181
  var useRemoveParticipantFromChat = () => {
1330
- const [removeParticipantFromChat, { loading, error }] = (0, import_client11.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
1182
+ const [removeParticipantFromChat, { loading, error }] = (0, import_client10.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
1331
1183
  awaitRefetchQueries: true,
1332
1184
  refetchQueries: (mutationResult) => {
1333
1185
  const region = mutationResult?.data?.removeParticipantFromChat?.region;
@@ -1340,7 +1192,7 @@ var useRemoveParticipantFromChat = () => {
1340
1192
  return { error, loading, removeParticipantFromChat };
1341
1193
  };
1342
1194
  var useToggleChatMessageLike = () => {
1343
- const [toggleChatMessageLike, { loading, error }] = (0, import_client11.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
1195
+ const [toggleChatMessageLike, { loading, error }] = (0, import_client10.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
1344
1196
  awaitRefetchQueries: true,
1345
1197
  refetchQueries: (mutationResult) => {
1346
1198
  const chatId = mutationResult?.data?.toggleChatMessageLike?._id;
@@ -1355,7 +1207,7 @@ var useToggleChatMessageLike = () => {
1355
1207
  return { error, loading, toggleChatMessageLike };
1356
1208
  };
1357
1209
  var useMarkChatMessagesSeen = () => {
1358
- const [markChatMessagesSeen, { loading, error }] = (0, import_client11.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
1210
+ const [markChatMessagesSeen, { loading, error }] = (0, import_client10.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
1359
1211
  awaitRefetchQueries: true,
1360
1212
  refetchQueries: (mutationResult) => {
1361
1213
  const chatId = mutationResult?.data?.markChatMessagesSeen?._id;
@@ -1370,18 +1222,18 @@ var useMarkChatMessagesSeen = () => {
1370
1222
  return { error, loading, markChatMessagesSeen };
1371
1223
  };
1372
1224
  var useReportChatUser = () => {
1373
- const [reportChatUser, { loading, error }] = (0, import_client11.useMutation)(
1225
+ const [reportChatUser, { loading, error }] = (0, import_client10.useMutation)(
1374
1226
  REPORT_CHAT_USER_MUTATION
1375
1227
  );
1376
1228
  return { error, loading, reportChatUser };
1377
1229
  };
1378
1230
 
1379
1231
  // src/graphql/hooks/chat/hooksQuery.ts
1380
- var import_client13 = require("@apollo/client");
1232
+ var import_client12 = require("@apollo/client");
1381
1233
 
1382
1234
  // src/graphql/subscriptions/chat.ts
1383
- var import_client12 = require("@apollo/client");
1384
- var GET_CHAT_MESSAGE = import_client12.gql`
1235
+ var import_client11 = require("@apollo/client");
1236
+ var GET_CHAT_MESSAGE = import_client11.gql`
1385
1237
  subscription {
1386
1238
  getChatMessage {
1387
1239
  ...ChatFields
@@ -1392,7 +1244,7 @@ var GET_CHAT_MESSAGE = import_client12.gql`
1392
1244
 
1393
1245
  // src/graphql/hooks/chat/hooksQuery.ts
1394
1246
  var useGetChat = (_id) => {
1395
- const { loading, error, data, refetch } = (0, import_client13.useQuery)(CHAT, {
1247
+ const { loading, error, data, refetch } = (0, import_client12.useQuery)(CHAT, {
1396
1248
  fetchPolicy: "network-only",
1397
1249
  skip: !_id,
1398
1250
  variables: { _id }
@@ -1401,7 +1253,7 @@ var useGetChat = (_id) => {
1401
1253
  return { chat, error, loading, refetch };
1402
1254
  };
1403
1255
  var useGetUserChats = () => {
1404
- const { loading, error, data, refetch } = (0, import_client13.useQuery)(
1256
+ const { loading, error, data, refetch } = (0, import_client12.useQuery)(
1405
1257
  USER_CHATS,
1406
1258
  {
1407
1259
  fetchPolicy: "network-only"
@@ -1411,14 +1263,14 @@ var useGetUserChats = () => {
1411
1263
  return { error, loading, refetch, userChats };
1412
1264
  };
1413
1265
  var useGetChatSubscription = () => {
1414
- const { data, loading, error } = (0, import_client13.useSubscription)(
1266
+ const { data, loading, error } = (0, import_client12.useSubscription)(
1415
1267
  GET_CHAT_MESSAGE
1416
1268
  );
1417
1269
  const chat = data?.getChat;
1418
1270
  return { chat, error, loading };
1419
1271
  };
1420
1272
  var useGetChatsByRegion = (region) => {
1421
- const { loading, error, data, refetch } = (0, import_client13.useQuery)(GET_CHATS_BY_REGION, {
1273
+ const { loading, error, data, refetch } = (0, import_client12.useQuery)(GET_CHATS_BY_REGION, {
1422
1274
  fetchPolicy: "network-only",
1423
1275
  skip: !region,
1424
1276
  variables: { region }
@@ -1427,7 +1279,7 @@ var useGetChatsByRegion = (region) => {
1427
1279
  return { chatsByRegion, error, loading, refetch };
1428
1280
  };
1429
1281
  var useGetReportedChatUsers = () => {
1430
- const { loading, error, data, refetch } = (0, import_client13.useQuery)(GET_REPORTED_CHAT_USERS, {
1282
+ const { loading, error, data, refetch } = (0, import_client12.useQuery)(GET_REPORTED_CHAT_USERS, {
1431
1283
  fetchPolicy: "network-only"
1432
1284
  });
1433
1285
  const reportedChatUsers = data?.reportedChatUsers || [];
@@ -1435,11 +1287,11 @@ var useGetReportedChatUsers = () => {
1435
1287
  };
1436
1288
 
1437
1289
  // src/graphql/hooks/contactUs.ts
1438
- var import_client15 = require("@apollo/client");
1290
+ var import_client14 = require("@apollo/client");
1439
1291
 
1440
1292
  // src/graphql/mutations/contactUs.ts
1441
- var import_client14 = require("@apollo/client");
1442
- var CONTACT_US_MUTATION = import_client14.gql`
1293
+ var import_client13 = require("@apollo/client");
1294
+ var CONTACT_US_MUTATION = import_client13.gql`
1443
1295
  mutation contactUs($input: ContactUsInputType!) {
1444
1296
  contactUs(input: $input) {
1445
1297
  message
@@ -1449,16 +1301,16 @@ var CONTACT_US_MUTATION = import_client14.gql`
1449
1301
 
1450
1302
  // src/graphql/hooks/contactUs.ts
1451
1303
  var useContactUs = () => {
1452
- const [contactUs, { loading, error }] = (0, import_client15.useMutation)(CONTACT_US_MUTATION);
1304
+ const [contactUs, { loading, error }] = (0, import_client14.useMutation)(CONTACT_US_MUTATION);
1453
1305
  return { contactUs, error, loading };
1454
1306
  };
1455
1307
 
1456
1308
  // src/graphql/hooks/event/hooksMutation.ts
1457
- var import_client19 = require("@apollo/client");
1309
+ var import_client18 = require("@apollo/client");
1458
1310
 
1459
1311
  // src/graphql/mutations/event.ts
1460
- var import_client16 = require("@apollo/client");
1461
- var CREATE_EVENT_MUTATION = import_client16.gql`
1312
+ var import_client15 = require("@apollo/client");
1313
+ var CREATE_EVENT_MUTATION = import_client15.gql`
1462
1314
  mutation createEvent($input: EventInputType!) {
1463
1315
  createEvent(input: $input) {
1464
1316
  ...EventFields
@@ -1466,7 +1318,7 @@ var CREATE_EVENT_MUTATION = import_client16.gql`
1466
1318
  }
1467
1319
  ${EVENT}
1468
1320
  `;
1469
- var UPDATE_EVENT_MUTATION = import_client16.gql`
1321
+ var UPDATE_EVENT_MUTATION = import_client15.gql`
1470
1322
  mutation updateEvent($_id: ID!, $input: EventInputType!) {
1471
1323
  updateEvent(_id: $_id, input: $input) {
1472
1324
  ...EventFields
@@ -1474,12 +1326,12 @@ var UPDATE_EVENT_MUTATION = import_client16.gql`
1474
1326
  }
1475
1327
  ${EVENT}
1476
1328
  `;
1477
- var DELETE_EVENT_MUTATION = import_client16.gql`
1329
+ var DELETE_EVENT_MUTATION = import_client15.gql`
1478
1330
  mutation deleteEvent($_id: ID!) {
1479
1331
  deleteEvent(_id: $_id)
1480
1332
  }
1481
1333
  `;
1482
- var CREATE_EVENT_INFO_MUTATION = import_client16.gql`
1334
+ var CREATE_EVENT_INFO_MUTATION = import_client15.gql`
1483
1335
  mutation createEventInfo($input: EventInfoInputType!) {
1484
1336
  createEventInfo(input: $input) {
1485
1337
  ...EventInfoFields
@@ -1487,7 +1339,7 @@ var CREATE_EVENT_INFO_MUTATION = import_client16.gql`
1487
1339
  }
1488
1340
  ${EVENT_INFO}
1489
1341
  `;
1490
- var UPDATE_EVENT_INFO_MUTATION = import_client16.gql`
1342
+ var UPDATE_EVENT_INFO_MUTATION = import_client15.gql`
1491
1343
  mutation updateEventInfo($_id: ID!, $input: EventInfoInputType!) {
1492
1344
  updateEventInfo(_id: $_id, input: $input) {
1493
1345
  ...EventInfoFields
@@ -1497,11 +1349,11 @@ var UPDATE_EVENT_INFO_MUTATION = import_client16.gql`
1497
1349
  `;
1498
1350
 
1499
1351
  // src/graphql/queries/user.ts
1500
- var import_client18 = require("@apollo/client");
1352
+ var import_client17 = require("@apollo/client");
1501
1353
 
1502
1354
  // src/graphql/queries/partner.ts
1503
- var import_client17 = require("@apollo/client");
1504
- var PARTNER = import_client17.gql`
1355
+ var import_client16 = require("@apollo/client");
1356
+ var PARTNER = import_client16.gql`
1505
1357
  fragment PartnerFields on PartnerType {
1506
1358
  _id
1507
1359
  active
@@ -1556,7 +1408,7 @@ var PARTNER = import_client17.gql`
1556
1408
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
1557
1409
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
1558
1410
  `;
1559
- var GET_PARTNERS = import_client17.gql`
1411
+ var GET_PARTNERS = import_client16.gql`
1560
1412
  query getPartners {
1561
1413
  partners {
1562
1414
  ...PartnerFields
@@ -1564,7 +1416,7 @@ var GET_PARTNERS = import_client17.gql`
1564
1416
  }
1565
1417
  ${PARTNER}
1566
1418
  `;
1567
- var GET_PARTNER = import_client17.gql`
1419
+ var GET_PARTNER = import_client16.gql`
1568
1420
  query getPartner($_id: ID!) {
1569
1421
  partner(_id: $_id) {
1570
1422
  ...PartnerFields
@@ -1572,7 +1424,7 @@ var GET_PARTNER = import_client17.gql`
1572
1424
  }
1573
1425
  ${PARTNER}
1574
1426
  `;
1575
- var GET_PARTNERS_BY_REGION = import_client17.gql`
1427
+ var GET_PARTNERS_BY_REGION = import_client16.gql`
1576
1428
  query getPartnersByRegion($region: String!) {
1577
1429
  partnersByRegion(region: $region) {
1578
1430
  ...PartnerFields
@@ -1580,7 +1432,7 @@ var GET_PARTNERS_BY_REGION = import_client17.gql`
1580
1432
  }
1581
1433
  ${PARTNER}
1582
1434
  `;
1583
- var SEARCH_PARTNERS = import_client17.gql`
1435
+ var SEARCH_PARTNERS = import_client16.gql`
1584
1436
  query searchPartners($search: String!, $region: String) {
1585
1437
  partnersSearch(search: $search, region: $region) {
1586
1438
  ...PartnerFields
@@ -1590,7 +1442,7 @@ var SEARCH_PARTNERS = import_client17.gql`
1590
1442
  `;
1591
1443
 
1592
1444
  // src/graphql/queries/user.ts
1593
- var GET_USERS = import_client18.gql`
1445
+ var GET_USERS = import_client17.gql`
1594
1446
  query getUsers {
1595
1447
  users {
1596
1448
  ...UserFields
@@ -1598,7 +1450,7 @@ var GET_USERS = import_client18.gql`
1598
1450
  }
1599
1451
  ${USER_FIELDS_FRAGMENT}
1600
1452
  `;
1601
- var GET_USER = import_client18.gql`
1453
+ var GET_USER = import_client17.gql`
1602
1454
  query getUser($_id: ID!) {
1603
1455
  user(_id: $_id) {
1604
1456
  ...UserFields
@@ -1606,7 +1458,7 @@ var GET_USER = import_client18.gql`
1606
1458
  }
1607
1459
  ${USER_FIELDS_FRAGMENT}
1608
1460
  `;
1609
- var GET_USER_EVENTS = import_client18.gql`
1461
+ var GET_USER_EVENTS = import_client17.gql`
1610
1462
  query getUserEvents {
1611
1463
  userEvents {
1612
1464
  ...EventFields
@@ -1614,7 +1466,7 @@ var GET_USER_EVENTS = import_client18.gql`
1614
1466
  }
1615
1467
  ${EVENT}
1616
1468
  `;
1617
- var GET_USER_VENDORS = import_client18.gql`
1469
+ var GET_USER_VENDORS = import_client17.gql`
1618
1470
  query getUserVendors {
1619
1471
  userVendors {
1620
1472
  ...VendorFields
@@ -1622,7 +1474,7 @@ var GET_USER_VENDORS = import_client18.gql`
1622
1474
  }
1623
1475
  ${VENDOR}
1624
1476
  `;
1625
- var GET_USER_PARTNERS = import_client18.gql`
1477
+ var GET_USER_PARTNERS = import_client17.gql`
1626
1478
  query getUserPartners {
1627
1479
  userPartners {
1628
1480
  ...PartnerFields
@@ -1630,7 +1482,7 @@ var GET_USER_PARTNERS = import_client18.gql`
1630
1482
  }
1631
1483
  ${PARTNER}
1632
1484
  `;
1633
- var GET_USER_ACTIVITIES = import_client18.gql`
1485
+ var GET_USER_ACTIVITIES = import_client17.gql`
1634
1486
  query getUserActivities {
1635
1487
  userActivities {
1636
1488
  favourites {
@@ -1664,28 +1516,28 @@ var GET_USER_ACTIVITIES = import_client18.gql`
1664
1516
 
1665
1517
  // src/graphql/hooks/event/hooksMutation.ts
1666
1518
  var useCreateEvent = () => {
1667
- const [createEvent, { loading, error }] = (0, import_client19.useMutation)(CREATE_EVENT_MUTATION, {
1519
+ const [createEvent, { loading, error }] = (0, import_client18.useMutation)(CREATE_EVENT_MUTATION, {
1668
1520
  awaitRefetchQueries: true,
1669
1521
  refetchQueries: [{ query: GET_USER_EVENTS }]
1670
1522
  });
1671
1523
  return { createEvent, error, loading };
1672
1524
  };
1673
1525
  var useUpdateEvent = () => {
1674
- const [updateEvent, { loading, error }] = (0, import_client19.useMutation)(UPDATE_EVENT_MUTATION, {
1526
+ const [updateEvent, { loading, error }] = (0, import_client18.useMutation)(UPDATE_EVENT_MUTATION, {
1675
1527
  awaitRefetchQueries: true,
1676
1528
  refetchQueries: [{ query: GET_USER_EVENTS }]
1677
1529
  });
1678
1530
  return { error, loading, updateEvent };
1679
1531
  };
1680
1532
  var useDeleteEvent = () => {
1681
- const [deleteEvent, { loading, error }] = (0, import_client19.useMutation)(DELETE_EVENT_MUTATION, {
1533
+ const [deleteEvent, { loading, error }] = (0, import_client18.useMutation)(DELETE_EVENT_MUTATION, {
1682
1534
  awaitRefetchQueries: true,
1683
1535
  refetchQueries: [{ query: GET_USER_EVENTS }]
1684
1536
  });
1685
1537
  return { deleteEvent, error, loading };
1686
1538
  };
1687
1539
  var useCreateEventInfo = () => {
1688
- const [createEventInfo, { loading, error }] = (0, import_client19.useMutation)(CREATE_EVENT_INFO_MUTATION, {
1540
+ const [createEventInfo, { loading, error }] = (0, import_client18.useMutation)(CREATE_EVENT_INFO_MUTATION, {
1689
1541
  awaitRefetchQueries: true,
1690
1542
  refetchQueries: (mutationResult) => {
1691
1543
  const eventId = mutationResult?.data?.createEventInfo?.eventId;
@@ -1709,7 +1561,7 @@ var useCreateEventInfo = () => {
1709
1561
  return { createEventInfo, error, loading };
1710
1562
  };
1711
1563
  var useUpdateEventInfo = () => {
1712
- const [updateEventInfo, { loading, error }] = (0, import_client19.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
1564
+ const [updateEventInfo, { loading, error }] = (0, import_client18.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
1713
1565
  awaitRefetchQueries: true,
1714
1566
  refetchQueries: (mutationResult) => {
1715
1567
  const eventId = mutationResult?.data?.updateEventInfo?.eventId;
@@ -1732,16 +1584,16 @@ var useUpdateEventInfo = () => {
1732
1584
  };
1733
1585
 
1734
1586
  // src/graphql/hooks/event/hooksQuery.ts
1735
- var import_client20 = require("@apollo/client");
1587
+ var import_client19 = require("@apollo/client");
1736
1588
  var useGetEvents = () => {
1737
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(GET_EVENTS, {
1589
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_EVENTS, {
1738
1590
  fetchPolicy: "network-only"
1739
1591
  });
1740
1592
  const events = data?.events || [];
1741
1593
  return { error, events, loading, refetch };
1742
1594
  };
1743
1595
  var useGetEvent = (_id) => {
1744
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(GET_EVENT, {
1596
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_EVENT, {
1745
1597
  fetchPolicy: "network-only",
1746
1598
  skip: !_id,
1747
1599
  variables: { _id }
@@ -1750,7 +1602,7 @@ var useGetEvent = (_id) => {
1750
1602
  return { error, event, loading, refetch };
1751
1603
  };
1752
1604
  var useGetEventByPlaceId = (googlePlaceId) => {
1753
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(GET_EVENT_BY_PLACE_ID, {
1605
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_EVENT_BY_PLACE_ID, {
1754
1606
  fetchPolicy: "network-only",
1755
1607
  skip: !googlePlaceId,
1756
1608
  variables: { googlePlaceId }
@@ -1759,7 +1611,7 @@ var useGetEventByPlaceId = (googlePlaceId) => {
1759
1611
  return { error, eventByPlaceId, loading, refetch };
1760
1612
  };
1761
1613
  var useGetEventsByRegion = (region, onlyClaimed) => {
1762
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(GET_EVENTS_BY_REGION, {
1614
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_EVENTS_BY_REGION, {
1763
1615
  fetchPolicy: "no-cache",
1764
1616
  skip: !region,
1765
1617
  variables: { onlyClaimed, region }
@@ -1768,7 +1620,7 @@ var useGetEventsByRegion = (region, onlyClaimed) => {
1768
1620
  return { error, eventsByRegion, loading, refetch };
1769
1621
  };
1770
1622
  var useSearchEvents = (search, region) => {
1771
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(SEARCH_EVENTS, {
1623
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(SEARCH_EVENTS, {
1772
1624
  fetchPolicy: "network-only",
1773
1625
  skip: search.length < 3,
1774
1626
  variables: { region, search }
@@ -1777,7 +1629,7 @@ var useSearchEvents = (search, region) => {
1777
1629
  return { error, eventsSearch, loading, refetch };
1778
1630
  };
1779
1631
  var useGetEventsNearMe = (location) => {
1780
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(GET_EVENTS_NEAR_ME, {
1632
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_EVENTS_NEAR_ME, {
1781
1633
  fetchPolicy: "network-only",
1782
1634
  skip: !location.latitude || !location.longitude,
1783
1635
  variables: {
@@ -1791,7 +1643,7 @@ var useGetEventsNearMe = (location) => {
1791
1643
  return { error, eventsNearMe, loading, refetch };
1792
1644
  };
1793
1645
  var useGetEventInfo = (eventId) => {
1794
- const { loading, error, data, refetch } = (0, import_client20.useQuery)(GET_EVENT_INFO, {
1646
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_EVENT_INFO, {
1795
1647
  fetchPolicy: "network-only",
1796
1648
  skip: !eventId,
1797
1649
  variables: { eventId }
@@ -1801,14 +1653,14 @@ var useGetEventInfo = (eventId) => {
1801
1653
  };
1802
1654
 
1803
1655
  // src/graphql/hooks/notifications/hooksMutation.ts
1804
- var import_client23 = require("@apollo/client");
1656
+ var import_client22 = require("@apollo/client");
1805
1657
 
1806
1658
  // src/graphql/mutations/notification.ts
1807
- var import_client22 = require("@apollo/client");
1659
+ var import_client21 = require("@apollo/client");
1808
1660
 
1809
1661
  // src/graphql/queries/notification.ts
1810
- var import_client21 = require("@apollo/client");
1811
- var NOTIFICATION_FRAGMENT = import_client21.gql`
1662
+ var import_client20 = require("@apollo/client");
1663
+ var NOTIFICATION_FRAGMENT = import_client20.gql`
1812
1664
  fragment NotificationFields on Notification {
1813
1665
  _id
1814
1666
  userId
@@ -1825,7 +1677,7 @@ var NOTIFICATION_FRAGMENT = import_client21.gql`
1825
1677
  updatedAt
1826
1678
  }
1827
1679
  `;
1828
- var GET_USER_NOTIFICATIONS = import_client21.gql`
1680
+ var GET_USER_NOTIFICATIONS = import_client20.gql`
1829
1681
  query getUserNotifications($limit: Int, $offset: Int) {
1830
1682
  userNotifications(limit: $limit, offset: $offset) {
1831
1683
  ...NotificationFields
@@ -1833,7 +1685,7 @@ var GET_USER_NOTIFICATIONS = import_client21.gql`
1833
1685
  }
1834
1686
  ${NOTIFICATION_FRAGMENT}
1835
1687
  `;
1836
- var GET_NOTIFICATION_COUNT = import_client21.gql`
1688
+ var GET_NOTIFICATION_COUNT = import_client20.gql`
1837
1689
  query getNotificationCount {
1838
1690
  notificationCount {
1839
1691
  total
@@ -1843,7 +1695,7 @@ var GET_NOTIFICATION_COUNT = import_client21.gql`
1843
1695
  `;
1844
1696
 
1845
1697
  // src/graphql/mutations/notification.ts
1846
- var CREATE_BULK_NOTIFICATIONS = import_client22.gql`
1698
+ var CREATE_BULK_NOTIFICATIONS = import_client21.gql`
1847
1699
  mutation createBulkNotifications($input: CreateBulkNotificationInput!) {
1848
1700
  createBulkNotifications(input: $input) {
1849
1701
  ...NotificationFields
@@ -1851,7 +1703,7 @@ var CREATE_BULK_NOTIFICATIONS = import_client22.gql`
1851
1703
  }
1852
1704
  ${NOTIFICATION_FRAGMENT}
1853
1705
  `;
1854
- var MARK_NOTIFICATION_READ = import_client22.gql`
1706
+ var MARK_NOTIFICATION_READ = import_client21.gql`
1855
1707
  mutation markNotificationRead($_id: ID!) {
1856
1708
  markNotificationRead(_id: $_id) {
1857
1709
  ...NotificationFields
@@ -1859,17 +1711,17 @@ var MARK_NOTIFICATION_READ = import_client22.gql`
1859
1711
  }
1860
1712
  ${NOTIFICATION_FRAGMENT}
1861
1713
  `;
1862
- var MARK_ALL_NOTIFICATIONS_READ = import_client22.gql`
1714
+ var MARK_ALL_NOTIFICATIONS_READ = import_client21.gql`
1863
1715
  mutation markAllNotificationsRead {
1864
1716
  markAllNotificationsRead
1865
1717
  }
1866
1718
  `;
1867
- var DELETE_NOTIFICATION = import_client22.gql`
1719
+ var DELETE_NOTIFICATION = import_client21.gql`
1868
1720
  mutation deleteNotification($_id: ID!) {
1869
1721
  deleteNotification(_id: $_id)
1870
1722
  }
1871
1723
  `;
1872
- var DELETE_ALL_NOTIFICATIONS = import_client22.gql`
1724
+ var DELETE_ALL_NOTIFICATIONS = import_client21.gql`
1873
1725
  mutation deleteAllNotifications {
1874
1726
  deleteAllNotifications
1875
1727
  }
@@ -1877,13 +1729,13 @@ var DELETE_ALL_NOTIFICATIONS = import_client22.gql`
1877
1729
 
1878
1730
  // src/graphql/hooks/notifications/hooksMutation.ts
1879
1731
  var useCreateBulkNotifications = () => {
1880
- const [createBulkNotifications, { loading, error }] = (0, import_client23.useMutation)(
1732
+ const [createBulkNotifications, { loading, error }] = (0, import_client22.useMutation)(
1881
1733
  CREATE_BULK_NOTIFICATIONS
1882
1734
  );
1883
1735
  return { createBulkNotifications, error, loading };
1884
1736
  };
1885
1737
  var useMarkNotificationRead = () => {
1886
- const [markNotificationRead, { loading, error }] = (0, import_client23.useMutation)(
1738
+ const [markNotificationRead, { loading, error }] = (0, import_client22.useMutation)(
1887
1739
  MARK_NOTIFICATION_READ,
1888
1740
  {
1889
1741
  refetchQueries: [
@@ -1899,7 +1751,7 @@ var useMarkNotificationRead = () => {
1899
1751
  return { error, loading, markNotificationRead };
1900
1752
  };
1901
1753
  var useMarkAllNotificationsRead = () => {
1902
- const [markAllNotificationsRead, { loading, error }] = (0, import_client23.useMutation)(
1754
+ const [markAllNotificationsRead, { loading, error }] = (0, import_client22.useMutation)(
1903
1755
  MARK_ALL_NOTIFICATIONS_READ,
1904
1756
  {
1905
1757
  refetchQueries: [
@@ -1915,7 +1767,7 @@ var useMarkAllNotificationsRead = () => {
1915
1767
  return { error, loading, markAllNotificationsRead };
1916
1768
  };
1917
1769
  var useDeleteNotification = () => {
1918
- const [deleteNotification, { loading, error }] = (0, import_client23.useMutation)(
1770
+ const [deleteNotification, { loading, error }] = (0, import_client22.useMutation)(
1919
1771
  DELETE_NOTIFICATION,
1920
1772
  {
1921
1773
  refetchQueries: [
@@ -1931,7 +1783,7 @@ var useDeleteNotification = () => {
1931
1783
  return { deleteNotification, error, loading };
1932
1784
  };
1933
1785
  var useDeleteAllNotifications = () => {
1934
- const [deleteAllNotifications, { loading, error }] = (0, import_client23.useMutation)(
1786
+ const [deleteAllNotifications, { loading, error }] = (0, import_client22.useMutation)(
1935
1787
  DELETE_ALL_NOTIFICATIONS,
1936
1788
  {
1937
1789
  refetchQueries: [
@@ -1948,9 +1800,9 @@ var useDeleteAllNotifications = () => {
1948
1800
  };
1949
1801
 
1950
1802
  // src/graphql/hooks/notifications/hooksQuery.ts
1951
- var import_client24 = require("@apollo/client");
1803
+ var import_client23 = require("@apollo/client");
1952
1804
  var useGetUserNotifications = (limit, offset) => {
1953
- const { data, loading, error, refetch } = (0, import_client24.useQuery)(GET_USER_NOTIFICATIONS, {
1805
+ const { data, loading, error, refetch } = (0, import_client23.useQuery)(GET_USER_NOTIFICATIONS, {
1954
1806
  fetchPolicy: "no-cache",
1955
1807
  variables: { limit, offset }
1956
1808
  });
@@ -1962,7 +1814,7 @@ var useGetUserNotifications = (limit, offset) => {
1962
1814
  };
1963
1815
  };
1964
1816
  var useGetNotificationCount = () => {
1965
- const { data, loading, error, refetch } = (0, import_client24.useQuery)(GET_NOTIFICATION_COUNT, {
1817
+ const { data, loading, error, refetch } = (0, import_client23.useQuery)(GET_NOTIFICATION_COUNT, {
1966
1818
  fetchPolicy: "no-cache"
1967
1819
  });
1968
1820
  return {
@@ -1974,11 +1826,11 @@ var useGetNotificationCount = () => {
1974
1826
  };
1975
1827
 
1976
1828
  // src/graphql/hooks/notifications/hooksSubscription.ts
1977
- var import_client26 = require("@apollo/client");
1829
+ var import_client25 = require("@apollo/client");
1978
1830
 
1979
1831
  // src/graphql/subscriptions/notification.ts
1980
- var import_client25 = require("@apollo/client");
1981
- var GET_NOTIFICATIONS_SUBSCRIPTION = import_client25.gql`
1832
+ var import_client24 = require("@apollo/client");
1833
+ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client24.gql`
1982
1834
  subscription {
1983
1835
  getUserNotifications {
1984
1836
  ...NotificationFields
@@ -1986,7 +1838,7 @@ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client25.gql`
1986
1838
  }
1987
1839
  ${NOTIFICATION_FRAGMENT}
1988
1840
  `;
1989
- var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client25.gql`
1841
+ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client24.gql`
1990
1842
  subscription {
1991
1843
  getNotificationCount {
1992
1844
  total
@@ -1997,7 +1849,7 @@ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client25.gql`
1997
1849
 
1998
1850
  // src/graphql/hooks/notifications/hooksSubscription.ts
1999
1851
  var useGetUserNotificationsSubscription = () => {
2000
- const { data, loading, error } = (0, import_client26.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
1852
+ const { data, loading, error } = (0, import_client25.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
2001
1853
  fetchPolicy: "no-cache",
2002
1854
  shouldResubscribe: true
2003
1855
  });
@@ -2008,7 +1860,7 @@ var useGetUserNotificationsSubscription = () => {
2008
1860
  };
2009
1861
  };
2010
1862
  var useGetNotificationCountSubscription = () => {
2011
- const { data, loading, error } = (0, import_client26.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
1863
+ const { data, loading, error } = (0, import_client25.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
2012
1864
  fetchPolicy: "no-cache",
2013
1865
  shouldResubscribe: true
2014
1866
  });
@@ -2020,11 +1872,11 @@ var useGetNotificationCountSubscription = () => {
2020
1872
  };
2021
1873
 
2022
1874
  // src/graphql/hooks/poster.ts
2023
- var import_client28 = require("@apollo/client");
1875
+ var import_client27 = require("@apollo/client");
2024
1876
 
2025
1877
  // src/graphql/mutations/poster.ts
2026
- var import_client27 = require("@apollo/client");
2027
- var CREATE_POSTER_MUTATION = import_client27.gql`
1878
+ var import_client26 = require("@apollo/client");
1879
+ var CREATE_POSTER_MUTATION = import_client26.gql`
2028
1880
  mutation createPoster($input: PosterInputType!) {
2029
1881
  createPoster(input: $input) {
2030
1882
  message
@@ -2038,7 +1890,7 @@ var CREATE_POSTER_MUTATION = import_client27.gql`
2038
1890
 
2039
1891
  // src/graphql/hooks/poster.ts
2040
1892
  var useCreatePoster = () => {
2041
- const [createPoster, { loading, error }] = (0, import_client28.useMutation)(
1893
+ const [createPoster, { loading, error }] = (0, import_client27.useMutation)(
2042
1894
  CREATE_POSTER_MUTATION,
2043
1895
  {
2044
1896
  refetchQueries: [{ query: GET_USER_EVENTS }, { query: GET_USER_VENDORS }]
@@ -2048,11 +1900,11 @@ var useCreatePoster = () => {
2048
1900
  };
2049
1901
 
2050
1902
  // src/graphql/hooks/pushToken.ts
2051
- var import_client30 = require("@apollo/client");
1903
+ var import_client29 = require("@apollo/client");
2052
1904
 
2053
1905
  // src/graphql/mutations/pushToken.ts
2054
- var import_client29 = require("@apollo/client");
2055
- var CREATE_PUSH_TOKEN_MUTATION = import_client29.gql`
1906
+ var import_client28 = require("@apollo/client");
1907
+ var CREATE_PUSH_TOKEN_MUTATION = import_client28.gql`
2056
1908
  mutation createPushToken($input: PushTokenInput!) {
2057
1909
  createPushToken(input: $input) {
2058
1910
  success
@@ -2062,21 +1914,21 @@ var CREATE_PUSH_TOKEN_MUTATION = import_client29.gql`
2062
1914
 
2063
1915
  // src/graphql/hooks/pushToken.ts
2064
1916
  var useCreatePushToken = () => {
2065
- const [createPushToken, { loading, error }] = (0, import_client30.useMutation)(
1917
+ const [createPushToken, { loading, error }] = (0, import_client29.useMutation)(
2066
1918
  CREATE_PUSH_TOKEN_MUTATION
2067
1919
  );
2068
1920
  return { createPushToken, error, loading };
2069
1921
  };
2070
1922
 
2071
1923
  // src/graphql/hooks/relation/hooksMutation.ts
2072
- var import_client33 = require("@apollo/client");
1924
+ var import_client32 = require("@apollo/client");
2073
1925
 
2074
1926
  // src/graphql/mutations/relation.ts
2075
- var import_client32 = require("@apollo/client");
1927
+ var import_client31 = require("@apollo/client");
2076
1928
 
2077
1929
  // src/graphql/queries/relation.ts
2078
- var import_client31 = require("@apollo/client");
2079
- var RELATION_FIELDS_FRAGMENT = import_client31.gql`
1930
+ var import_client30 = require("@apollo/client");
1931
+ var RELATION_FIELDS_FRAGMENT = import_client30.gql`
2080
1932
  fragment RelationFields on RelationType {
2081
1933
  _id
2082
1934
  active
@@ -2094,7 +1946,7 @@ var RELATION_FIELDS_FRAGMENT = import_client31.gql`
2094
1946
  }
2095
1947
  ${RELATION_DATES_FRAGMENT}
2096
1948
  `;
2097
- var GET_RELATION = import_client31.gql`
1949
+ var GET_RELATION = import_client30.gql`
2098
1950
  query getRelation($_id: ID!) {
2099
1951
  relation(_id: $_id) {
2100
1952
  ...RelationFields
@@ -2102,7 +1954,7 @@ var GET_RELATION = import_client31.gql`
2102
1954
  }
2103
1955
  ${RELATION_FIELDS_FRAGMENT}
2104
1956
  `;
2105
- var GET_RELATION_BY_EVENT_AND_VENDOR = import_client31.gql`
1957
+ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client30.gql`
2106
1958
  query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
2107
1959
  relationByEventAndVendor(eventId: $eventId, vendorId: $vendorId) {
2108
1960
  ...RelationFields
@@ -2110,7 +1962,7 @@ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client31.gql`
2110
1962
  }
2111
1963
  ${RELATION_FIELDS_FRAGMENT}
2112
1964
  `;
2113
- var GET_EVENT_RELATIONS = import_client31.gql`
1965
+ var GET_EVENT_RELATIONS = import_client30.gql`
2114
1966
  query getEventRelations($eventId: ID!) {
2115
1967
  eventRelations(eventId: $eventId) {
2116
1968
  ...RelationFields
@@ -2118,7 +1970,7 @@ var GET_EVENT_RELATIONS = import_client31.gql`
2118
1970
  }
2119
1971
  ${RELATION_FIELDS_FRAGMENT}
2120
1972
  `;
2121
- var GET_VENDOR_RELATIONS = import_client31.gql`
1973
+ var GET_VENDOR_RELATIONS = import_client30.gql`
2122
1974
  query getVendorRelations($vendorId: ID!) {
2123
1975
  vendorRelations(vendorId: $vendorId) {
2124
1976
  ...RelationFields
@@ -2126,7 +1978,7 @@ var GET_VENDOR_RELATIONS = import_client31.gql`
2126
1978
  }
2127
1979
  ${RELATION_FIELDS_FRAGMENT}
2128
1980
  `;
2129
- var GET_RESOURCE_CONNECTIONS = import_client31.gql`
1981
+ var GET_RESOURCE_CONNECTIONS = import_client30.gql`
2130
1982
  query getResourceConnections(
2131
1983
  $resourceId: ID!
2132
1984
  $resourceType: ResourceTypeEnum!
@@ -2145,7 +1997,7 @@ var GET_RESOURCE_CONNECTIONS = import_client31.gql`
2145
1997
  `;
2146
1998
 
2147
1999
  // src/graphql/mutations/relation.ts
2148
- var CREATE_RELATION_MUTATION = import_client32.gql`
2000
+ var CREATE_RELATION_MUTATION = import_client31.gql`
2149
2001
  mutation createRelation($input: RelationInputType!) {
2150
2002
  createRelation(input: $input) {
2151
2003
  ...RelationFields
@@ -2153,7 +2005,7 @@ var CREATE_RELATION_MUTATION = import_client32.gql`
2153
2005
  }
2154
2006
  ${RELATION_FIELDS_FRAGMENT}
2155
2007
  `;
2156
- var UPDATE_RELATION_MUTATION = import_client32.gql`
2008
+ var UPDATE_RELATION_MUTATION = import_client31.gql`
2157
2009
  mutation updateRelation($_id: ID!, $input: RelationInputType!) {
2158
2010
  updateRelation(_id: $_id, input: $input) {
2159
2011
  ...RelationFields
@@ -2161,7 +2013,7 @@ var UPDATE_RELATION_MUTATION = import_client32.gql`
2161
2013
  }
2162
2014
  ${RELATION_FIELDS_FRAGMENT}
2163
2015
  `;
2164
- var DELETE_RELATION_MUTATION = import_client32.gql`
2016
+ var DELETE_RELATION_MUTATION = import_client31.gql`
2165
2017
  mutation deleteRelation($_id: ID!) {
2166
2018
  deleteRelation(_id: $_id) {
2167
2019
  ...RelationFields
@@ -2172,7 +2024,7 @@ var DELETE_RELATION_MUTATION = import_client32.gql`
2172
2024
 
2173
2025
  // src/graphql/hooks/relation/hooksMutation.ts
2174
2026
  var useCreateRelation = () => {
2175
- const [createRelation, { loading, error }] = (0, import_client33.useMutation)(CREATE_RELATION_MUTATION, {
2027
+ const [createRelation, { loading, error }] = (0, import_client32.useMutation)(CREATE_RELATION_MUTATION, {
2176
2028
  awaitRefetchQueries: true,
2177
2029
  refetchQueries: (mutationResult) => {
2178
2030
  const createRelation2 = mutationResult?.data?.createRelation;
@@ -2218,7 +2070,7 @@ var useCreateRelation = () => {
2218
2070
  return { createRelation, error, loading };
2219
2071
  };
2220
2072
  var useUpdateRelation = () => {
2221
- const [updateRelation, { loading, error }] = (0, import_client33.useMutation)(UPDATE_RELATION_MUTATION, {
2073
+ const [updateRelation, { loading, error }] = (0, import_client32.useMutation)(UPDATE_RELATION_MUTATION, {
2222
2074
  awaitRefetchQueries: true,
2223
2075
  refetchQueries: (mutationResult) => {
2224
2076
  const updateRelation2 = mutationResult?.data?.updateRelation;
@@ -2261,7 +2113,7 @@ var useUpdateRelation = () => {
2261
2113
  return { error, loading, updateRelation };
2262
2114
  };
2263
2115
  var useDeleteRelation = () => {
2264
- const [deleteRelation, { loading, error }] = (0, import_client33.useMutation)(DELETE_RELATION_MUTATION, {
2116
+ const [deleteRelation, { loading, error }] = (0, import_client32.useMutation)(DELETE_RELATION_MUTATION, {
2265
2117
  awaitRefetchQueries: true,
2266
2118
  refetchQueries: (mutationResult) => {
2267
2119
  const deleteRelation2 = mutationResult?.data?.deleteRelation;
@@ -2300,9 +2152,9 @@ var useDeleteRelation = () => {
2300
2152
  };
2301
2153
 
2302
2154
  // src/graphql/hooks/relation/hooksQuery.ts
2303
- var import_client34 = require("@apollo/client");
2155
+ var import_client33 = require("@apollo/client");
2304
2156
  var useGetRelation = (_id) => {
2305
- const { loading, error, data, refetch } = (0, import_client34.useQuery)(GET_RELATION, {
2157
+ const { loading, error, data, refetch } = (0, import_client33.useQuery)(GET_RELATION, {
2306
2158
  fetchPolicy: "network-only",
2307
2159
  skip: !_id,
2308
2160
  variables: { _id }
@@ -2311,7 +2163,7 @@ var useGetRelation = (_id) => {
2311
2163
  return { error, loading, refetch, relation };
2312
2164
  };
2313
2165
  var useGetRelationByEventAndVendor = (eventId, vendorId) => {
2314
- const { loading, error, data, refetch } = (0, import_client34.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
2166
+ const { loading, error, data, refetch } = (0, import_client33.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
2315
2167
  fetchPolicy: "network-only",
2316
2168
  skip: !eventId || !vendorId,
2317
2169
  variables: { eventId, vendorId }
@@ -2320,7 +2172,7 @@ var useGetRelationByEventAndVendor = (eventId, vendorId) => {
2320
2172
  return { error, loading, refetch, relationByEventAndVendor };
2321
2173
  };
2322
2174
  var useGetEventRelations = (eventId) => {
2323
- const { loading, error, data, refetch } = (0, import_client34.useQuery)(GET_EVENT_RELATIONS, {
2175
+ const { loading, error, data, refetch } = (0, import_client33.useQuery)(GET_EVENT_RELATIONS, {
2324
2176
  fetchPolicy: "network-only",
2325
2177
  skip: !eventId,
2326
2178
  variables: { eventId }
@@ -2329,7 +2181,7 @@ var useGetEventRelations = (eventId) => {
2329
2181
  return { error, eventRelations, loading, refetch };
2330
2182
  };
2331
2183
  var useGetVendorRelations = (vendorId) => {
2332
- const { loading, error, data, refetch } = (0, import_client34.useQuery)(GET_VENDOR_RELATIONS, {
2184
+ const { loading, error, data, refetch } = (0, import_client33.useQuery)(GET_VENDOR_RELATIONS, {
2333
2185
  fetchPolicy: "network-only",
2334
2186
  skip: !vendorId,
2335
2187
  variables: { vendorId }
@@ -2338,7 +2190,7 @@ var useGetVendorRelations = (vendorId) => {
2338
2190
  return { error, loading, refetch, vendorRelations };
2339
2191
  };
2340
2192
  var useGetResourceConnections = (resourceId, resourceType) => {
2341
- const { loading, error, data, refetch } = (0, import_client34.useQuery)(GET_RESOURCE_CONNECTIONS, {
2193
+ const { loading, error, data, refetch } = (0, import_client33.useQuery)(GET_RESOURCE_CONNECTIONS, {
2342
2194
  fetchPolicy: "network-only",
2343
2195
  variables: { resourceId, resourceType }
2344
2196
  });
@@ -2347,11 +2199,11 @@ var useGetResourceConnections = (resourceId, resourceType) => {
2347
2199
  };
2348
2200
 
2349
2201
  // src/graphql/hooks/vendor/hooksMutation.ts
2350
- var import_client36 = require("@apollo/client");
2202
+ var import_client35 = require("@apollo/client");
2351
2203
 
2352
2204
  // src/graphql/mutations/vendor.ts
2353
- var import_client35 = require("@apollo/client");
2354
- var CREATE_VENDOR_MUTATION = import_client35.gql`
2205
+ var import_client34 = require("@apollo/client");
2206
+ var CREATE_VENDOR_MUTATION = import_client34.gql`
2355
2207
  mutation createVendor($input: VendorInputType!) {
2356
2208
  createVendor(input: $input) {
2357
2209
  ...VendorFields
@@ -2359,7 +2211,7 @@ var CREATE_VENDOR_MUTATION = import_client35.gql`
2359
2211
  }
2360
2212
  ${VENDOR}
2361
2213
  `;
2362
- var UPDATE_VENDOR_MUTATION = import_client35.gql`
2214
+ var UPDATE_VENDOR_MUTATION = import_client34.gql`
2363
2215
  mutation updateVendor($_id: ID!, $input: VendorInputType!) {
2364
2216
  updateVendor(_id: $_id, input: $input) {
2365
2217
  ...VendorFields
@@ -2367,12 +2219,12 @@ var UPDATE_VENDOR_MUTATION = import_client35.gql`
2367
2219
  }
2368
2220
  ${VENDOR}
2369
2221
  `;
2370
- var DELETE_VENDOR_MUTATION = import_client35.gql`
2222
+ var DELETE_VENDOR_MUTATION = import_client34.gql`
2371
2223
  mutation deleteVendor($_id: ID!) {
2372
2224
  deleteVendor(_id: $_id)
2373
2225
  }
2374
2226
  `;
2375
- var CREATE_VENDOR_INFO_MUTATION = import_client35.gql`
2227
+ var CREATE_VENDOR_INFO_MUTATION = import_client34.gql`
2376
2228
  mutation createVendorInfo($input: VendorInfoInputType!) {
2377
2229
  createVendorInfo(input: $input) {
2378
2230
  ...VendorInfoFields
@@ -2380,7 +2232,7 @@ var CREATE_VENDOR_INFO_MUTATION = import_client35.gql`
2380
2232
  }
2381
2233
  ${VENDOR_INFO}
2382
2234
  `;
2383
- var UPDATE_VENDOR_INFO_MUTATION = import_client35.gql`
2235
+ var UPDATE_VENDOR_INFO_MUTATION = import_client34.gql`
2384
2236
  mutation updateVendorInfo($_id: ID!, $input: VendorInfoInputType!) {
2385
2237
  updateVendorInfo(_id: $_id, input: $input) {
2386
2238
  ...VendorInfoFields
@@ -2388,7 +2240,7 @@ var UPDATE_VENDOR_INFO_MUTATION = import_client35.gql`
2388
2240
  }
2389
2241
  ${VENDOR_INFO}
2390
2242
  `;
2391
- var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client35.gql`
2243
+ var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client34.gql`
2392
2244
  mutation createUnregisteredVendor($input: UnregisteredVendorInputType!) {
2393
2245
  createUnregisteredVendor(input: $input) {
2394
2246
  ...UnregisteredVendorFields
@@ -2396,7 +2248,7 @@ var CREATE_UNREGISTERED_VENDOR_MUTATION = import_client35.gql`
2396
2248
  }
2397
2249
  ${UNREGISTERED_VENDOR}
2398
2250
  `;
2399
- var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client35.gql`
2251
+ var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client34.gql`
2400
2252
  mutation updateUnregisteredVendor(
2401
2253
  $_id: ID!
2402
2254
  $input: UnregisteredVendorInputType!
@@ -2407,7 +2259,7 @@ var UPDATE_UNREGISTERED_VENDOR_MUTATION = import_client35.gql`
2407
2259
  }
2408
2260
  ${UNREGISTERED_VENDOR}
2409
2261
  `;
2410
- var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client35.gql`
2262
+ var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client34.gql`
2411
2263
  mutation deleteUnregisteredVendor($_id: ID!) {
2412
2264
  deleteUnregisteredVendor(_id: $_id)
2413
2265
  }
@@ -2415,7 +2267,7 @@ var DELETE_UNREGISTERED_VENDOR_MUTATION = import_client35.gql`
2415
2267
 
2416
2268
  // src/graphql/hooks/vendor/hooksMutation.ts
2417
2269
  var useCreateVendor = () => {
2418
- const [createVendor, { loading, error }] = (0, import_client36.useMutation)(
2270
+ const [createVendor, { loading, error }] = (0, import_client35.useMutation)(
2419
2271
  CREATE_VENDOR_MUTATION,
2420
2272
  {
2421
2273
  awaitRefetchQueries: true,
@@ -2425,7 +2277,7 @@ var useCreateVendor = () => {
2425
2277
  return { createVendor, error, loading };
2426
2278
  };
2427
2279
  var useUpdateVendor = () => {
2428
- const [updateVendor, { loading, error }] = (0, import_client36.useMutation)(
2280
+ const [updateVendor, { loading, error }] = (0, import_client35.useMutation)(
2429
2281
  UPDATE_VENDOR_MUTATION,
2430
2282
  {
2431
2283
  awaitRefetchQueries: true,
@@ -2435,7 +2287,7 @@ var useUpdateVendor = () => {
2435
2287
  return { error, loading, updateVendor };
2436
2288
  };
2437
2289
  var useDeleteVendor = () => {
2438
- const [deleteVendor, { loading, error }] = (0, import_client36.useMutation)(
2290
+ const [deleteVendor, { loading, error }] = (0, import_client35.useMutation)(
2439
2291
  DELETE_VENDOR_MUTATION,
2440
2292
  {
2441
2293
  awaitRefetchQueries: true,
@@ -2445,7 +2297,7 @@ var useDeleteVendor = () => {
2445
2297
  return { deleteVendor, error, loading };
2446
2298
  };
2447
2299
  var useCreateVendorInfo = () => {
2448
- const [createVendorInfo, { loading, error }] = (0, import_client36.useMutation)(CREATE_VENDOR_INFO_MUTATION, {
2300
+ const [createVendorInfo, { loading, error }] = (0, import_client35.useMutation)(CREATE_VENDOR_INFO_MUTATION, {
2449
2301
  awaitRefetchQueries: true,
2450
2302
  refetchQueries: (mutationResult) => {
2451
2303
  const vendorId = mutationResult?.data?.createVendorInfo?.vendorId;
@@ -2469,7 +2321,7 @@ var useCreateVendorInfo = () => {
2469
2321
  return { createVendorInfo, error, loading };
2470
2322
  };
2471
2323
  var useUpdateVendorInfo = () => {
2472
- const [updateVendorInfo, { loading, error }] = (0, import_client36.useMutation)(UPDATE_VENDOR_INFO_MUTATION, {
2324
+ const [updateVendorInfo, { loading, error }] = (0, import_client35.useMutation)(UPDATE_VENDOR_INFO_MUTATION, {
2473
2325
  awaitRefetchQueries: true,
2474
2326
  refetchQueries: (mutationResult) => {
2475
2327
  const vendorId = mutationResult?.data?.updateVendorInfo?.vendorId;
@@ -2486,28 +2338,28 @@ var useUpdateVendorInfo = () => {
2486
2338
  return { error, loading, updateVendorInfo };
2487
2339
  };
2488
2340
  var useCreateUnregisteredVendor = () => {
2489
- const [createUnregisteredVendor, { loading, error }] = (0, import_client36.useMutation)(
2341
+ const [createUnregisteredVendor, { loading, error }] = (0, import_client35.useMutation)(
2490
2342
  CREATE_UNREGISTERED_VENDOR_MUTATION
2491
2343
  );
2492
2344
  return { createUnregisteredVendor, error, loading };
2493
2345
  };
2494
2346
  var useUpdateUnregisteredVendor = () => {
2495
- const [updateUnregisteredVendor, { loading, error }] = (0, import_client36.useMutation)(
2347
+ const [updateUnregisteredVendor, { loading, error }] = (0, import_client35.useMutation)(
2496
2348
  UPDATE_UNREGISTERED_VENDOR_MUTATION
2497
2349
  );
2498
2350
  return { error, loading, updateUnregisteredVendor };
2499
2351
  };
2500
2352
  var useDeleteUnregisteredVendor = () => {
2501
- const [deleteUnregisteredVendor, { loading, error }] = (0, import_client36.useMutation)(
2353
+ const [deleteUnregisteredVendor, { loading, error }] = (0, import_client35.useMutation)(
2502
2354
  DELETE_UNREGISTERED_VENDOR_MUTATION
2503
2355
  );
2504
2356
  return { deleteUnregisteredVendor, error, loading };
2505
2357
  };
2506
2358
 
2507
2359
  // src/graphql/hooks/vendor/hooksQuery.ts
2508
- var import_client37 = require("@apollo/client");
2360
+ var import_client36 = require("@apollo/client");
2509
2361
  var useGetVendors = () => {
2510
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(
2362
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(
2511
2363
  GET_VENDORS,
2512
2364
  {
2513
2365
  fetchPolicy: "network-only"
@@ -2522,7 +2374,7 @@ var useGetVendors = () => {
2522
2374
  };
2523
2375
  };
2524
2376
  var useGetVendor = (_id) => {
2525
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(
2377
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(
2526
2378
  GET_VENDOR,
2527
2379
  {
2528
2380
  fetchPolicy: "network-only",
@@ -2534,7 +2386,7 @@ var useGetVendor = (_id) => {
2534
2386
  return { error, loading, refetch, vendor };
2535
2387
  };
2536
2388
  var useGetVendorsByRegion = (region) => {
2537
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_VENDORS_BY_REGION, {
2389
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_VENDORS_BY_REGION, {
2538
2390
  fetchPolicy: "no-cache",
2539
2391
  skip: !region,
2540
2392
  variables: { region }
@@ -2543,7 +2395,7 @@ var useGetVendorsByRegion = (region) => {
2543
2395
  return { error, loading, refetch, vendorsByRegion };
2544
2396
  };
2545
2397
  var useSearchVendors = (search, region) => {
2546
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(SEARCH_VENDORS, {
2398
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(SEARCH_VENDORS, {
2547
2399
  fetchPolicy: "network-only",
2548
2400
  skip: search.length < 3,
2549
2401
  variables: { region, search }
@@ -2552,7 +2404,7 @@ var useSearchVendors = (search, region) => {
2552
2404
  return { error, loading, refetch, vendorSearch };
2553
2405
  };
2554
2406
  var useGetVendorInfo = (vendorId) => {
2555
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_VENDOR_INFO, {
2407
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_VENDOR_INFO, {
2556
2408
  fetchPolicy: "network-only",
2557
2409
  skip: !vendorId,
2558
2410
  variables: { vendorId }
@@ -2566,7 +2418,7 @@ var useGetVendorInfo = (vendorId) => {
2566
2418
  };
2567
2419
  };
2568
2420
  var useGetUnregisteredVendors = () => {
2569
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_UNREGISTERED_VENDORS, {
2421
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_UNREGISTERED_VENDORS, {
2570
2422
  fetchPolicy: "network-only"
2571
2423
  });
2572
2424
  const unregisteredVendors = data?.unregisteredVendors || [];
@@ -2578,7 +2430,7 @@ var useGetUnregisteredVendors = () => {
2578
2430
  };
2579
2431
  };
2580
2432
  var useGetUnregisteredVendor = (_id) => {
2581
- const { loading, error, data, refetch } = (0, import_client37.useQuery)(GET_UNREGISTERED_VENDOR, {
2433
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_UNREGISTERED_VENDOR, {
2582
2434
  fetchPolicy: "network-only",
2583
2435
  skip: !_id,
2584
2436
  variables: { _id }
@@ -2587,99 +2439,12 @@ var useGetUnregisteredVendor = (_id) => {
2587
2439
  return { error, loading, refetch, unregisteredVendor };
2588
2440
  };
2589
2441
 
2590
- // src/graphql/hooks/tester/hooksMutation.ts
2591
- var import_client39 = require("@apollo/client");
2592
-
2593
- // src/graphql/mutations/tester.ts
2594
- var import_client38 = require("@apollo/client");
2595
- var CREATE_TESTER_MUTATION = import_client38.gql`
2596
- mutation createTester($input: TesterInputType!) {
2597
- createTester(input: $input) {
2598
- ...TesterFields
2599
- }
2600
- }
2601
- ${TESTER_FIELDS_FRAGMENT}
2602
- `;
2603
- var UPDATE_TESTER_MUTATION = import_client38.gql`
2604
- mutation updateTester($_id: ID!, $input: TesterInputType!) {
2605
- updateTester(_id: $_id, input: $input) {
2606
- ...TesterFields
2607
- }
2608
- }
2609
- ${TESTER_FIELDS_FRAGMENT}
2610
- `;
2611
- var DELETE_TESTER_MUTATION = import_client38.gql`
2612
- mutation deleteTester($_id: ID!) {
2613
- deleteTester(_id: $_id)
2614
- }
2615
- `;
2616
-
2617
- // src/graphql/hooks/tester/hooksMutation.ts
2618
- var useCreateTester = () => {
2619
- const [createTester, { data, loading, error }] = (0, import_client39.useMutation)(
2620
- CREATE_TESTER_MUTATION
2621
- );
2622
- return {
2623
- createTester,
2624
- data,
2625
- error,
2626
- loading
2627
- };
2628
- };
2629
- var useUpdateTester = () => {
2630
- const [updateTester, { data, loading, error }] = (0, import_client39.useMutation)(
2631
- UPDATE_TESTER_MUTATION
2632
- );
2633
- return {
2634
- data,
2635
- error,
2636
- loading,
2637
- updateTester
2638
- };
2639
- };
2640
- var useDeleteTester = () => {
2641
- const [deleteTester, { loading, error }] = (0, import_client39.useMutation)(
2642
- DELETE_TESTER_MUTATION,
2643
- {
2644
- awaitRefetchQueries: true,
2645
- refetchQueries: [{ query: GET_TESTERS }]
2646
- }
2647
- );
2648
- return { deleteTester, error, loading };
2649
- };
2650
-
2651
- // src/graphql/hooks/tester/hooksQuery.ts
2652
- var import_client40 = require("@apollo/client");
2653
- var useGetTesters = () => {
2654
- const { data, loading, error, refetch } = (0, import_client40.useQuery)(
2655
- GET_TESTERS
2656
- );
2657
- const testers = data?.testers || [];
2658
- return {
2659
- error,
2660
- loading,
2661
- refetch,
2662
- testers
2663
- };
2664
- };
2665
- var useGetTester = (_id) => {
2666
- const { data, loading, error, refetch } = (0, import_client40.useQuery)(
2667
- GET_TESTER,
2668
- {
2669
- skip: !_id,
2670
- variables: { _id }
2671
- }
2672
- );
2673
- const tester = data?.tester;
2674
- return { error, loading, refetch, tester };
2675
- };
2676
-
2677
2442
  // src/graphql/hooks/user/hooksMutation.ts
2678
- var import_client42 = require("@apollo/client");
2443
+ var import_client38 = require("@apollo/client");
2679
2444
 
2680
2445
  // src/graphql/mutations/user.ts
2681
- var import_client41 = require("@apollo/client");
2682
- var CREATE_USER_MUTATION = import_client41.gql`
2446
+ var import_client37 = require("@apollo/client");
2447
+ var CREATE_USER_MUTATION = import_client37.gql`
2683
2448
  mutation createUser($input: UserInputType!) {
2684
2449
  createUser(input: $input) {
2685
2450
  ...UserFields
@@ -2687,7 +2452,7 @@ var CREATE_USER_MUTATION = import_client41.gql`
2687
2452
  }
2688
2453
  ${USER_FIELDS_FRAGMENT}
2689
2454
  `;
2690
- var UPDATE_USER_MUTATION = import_client41.gql`
2455
+ var UPDATE_USER_MUTATION = import_client37.gql`
2691
2456
  mutation updateUser($_id: ID!, $input: UserInputType!) {
2692
2457
  updateUser(_id: $_id, input: $input) {
2693
2458
  ...UserFields
@@ -2695,12 +2460,12 @@ var UPDATE_USER_MUTATION = import_client41.gql`
2695
2460
  }
2696
2461
  ${USER_FIELDS_FRAGMENT}
2697
2462
  `;
2698
- var DELETE_USER_MUTATION = import_client41.gql`
2463
+ var DELETE_USER_MUTATION = import_client37.gql`
2699
2464
  mutation deleteUser($email: String!) {
2700
2465
  deleteUser(email: $email)
2701
2466
  }
2702
2467
  `;
2703
- var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client41.gql`
2468
+ var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client37.gql`
2704
2469
  mutation addUserFavouriteResource(
2705
2470
  $resourceId: ID!
2706
2471
  $resourceType: ResourceTypeEnum!
@@ -2714,7 +2479,7 @@ var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client41.gql`
2714
2479
  }
2715
2480
  ${USER_FIELDS_FRAGMENT}
2716
2481
  `;
2717
- var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client41.gql`
2482
+ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client37.gql`
2718
2483
  mutation removeUserFavouriteResource(
2719
2484
  $resourceId: ID!
2720
2485
  $resourceType: ResourceTypeEnum!
@@ -2728,7 +2493,7 @@ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client41.gql`
2728
2493
  }
2729
2494
  ${USER_FIELDS_FRAGMENT}
2730
2495
  `;
2731
- var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client41.gql`
2496
+ var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client37.gql`
2732
2497
  mutation addUserInterestResource($input: UserActivityInputType!) {
2733
2498
  addUserInterestResource(input: $input) {
2734
2499
  ...UserFields
@@ -2736,7 +2501,7 @@ var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client41.gql`
2736
2501
  }
2737
2502
  ${USER_FIELDS_FRAGMENT}
2738
2503
  `;
2739
- var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client41.gql`
2504
+ var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client37.gql`
2740
2505
  mutation removeUserInterestResource($input: UserActivityInputType!) {
2741
2506
  removeUserInterestResource(input: $input) {
2742
2507
  ...UserFields
@@ -2744,7 +2509,7 @@ var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client41.gql`
2744
2509
  }
2745
2510
  ${USER_FIELDS_FRAGMENT}
2746
2511
  `;
2747
- var ADD_USER_GOING_RESOURCE_MUTATION = import_client41.gql`
2512
+ var ADD_USER_GOING_RESOURCE_MUTATION = import_client37.gql`
2748
2513
  mutation addUserGoingResource($input: UserActivityInputType!) {
2749
2514
  addUserGoingResource(input: $input) {
2750
2515
  ...UserFields
@@ -2752,7 +2517,7 @@ var ADD_USER_GOING_RESOURCE_MUTATION = import_client41.gql`
2752
2517
  }
2753
2518
  ${USER_FIELDS_FRAGMENT}
2754
2519
  `;
2755
- var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client41.gql`
2520
+ var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client37.gql`
2756
2521
  mutation removeUserGoingResource($input: UserActivityInputType!) {
2757
2522
  removeUserGoingResource(input: $input) {
2758
2523
  ...UserFields
@@ -2760,7 +2525,7 @@ var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client41.gql`
2760
2525
  }
2761
2526
  ${USER_FIELDS_FRAGMENT}
2762
2527
  `;
2763
- var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
2528
+ var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client37.gql`
2764
2529
  mutation addUserPresentResource($input: UserActivityInputType!) {
2765
2530
  addUserPresentResource(input: $input) {
2766
2531
  ...UserFields
@@ -2768,7 +2533,7 @@ var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
2768
2533
  }
2769
2534
  ${USER_FIELDS_FRAGMENT}
2770
2535
  `;
2771
- var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
2536
+ var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client37.gql`
2772
2537
  mutation removeUserPresentResource($input: UserActivityInputType!) {
2773
2538
  removeUserPresentResource(input: $input) {
2774
2539
  ...UserFields
@@ -2776,7 +2541,7 @@ var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
2776
2541
  }
2777
2542
  ${USER_FIELDS_FRAGMENT}
2778
2543
  `;
2779
- var SELECT_STANDARD_PACKAGE_MUTATION = import_client41.gql`
2544
+ var SELECT_STANDARD_PACKAGE_MUTATION = import_client37.gql`
2780
2545
  mutation selectStandardPackage($selectedLicence: LicencesEnumType!) {
2781
2546
  selectStandardPackage(selectedLicence: $selectedLicence) {
2782
2547
  licences {
@@ -2791,11 +2556,11 @@ var SELECT_STANDARD_PACKAGE_MUTATION = import_client41.gql`
2791
2556
 
2792
2557
  // src/graphql/hooks/user/hooksMutation.ts
2793
2558
  var useCreateUser = () => {
2794
- const [createUser, { loading, error }] = (0, import_client42.useMutation)(CREATE_USER_MUTATION);
2559
+ const [createUser, { loading, error }] = (0, import_client38.useMutation)(CREATE_USER_MUTATION);
2795
2560
  return { createUser, error, loading };
2796
2561
  };
2797
2562
  var useUpdateUser = () => {
2798
- const [updateUser, { loading, error }] = (0, import_client42.useMutation)(UPDATE_USER_MUTATION, {
2563
+ const [updateUser, { loading, error }] = (0, import_client38.useMutation)(UPDATE_USER_MUTATION, {
2799
2564
  awaitRefetchQueries: true,
2800
2565
  refetchQueries: (mutationResult) => {
2801
2566
  const userId = mutationResult?.data?.updateUser?._id;
@@ -2806,11 +2571,11 @@ var useUpdateUser = () => {
2806
2571
  return { error, loading, updateUser };
2807
2572
  };
2808
2573
  var useDeleteUser = () => {
2809
- const [deleteUser, { loading, error }] = (0, import_client42.useMutation)(DELETE_USER_MUTATION);
2574
+ const [deleteUser, { loading, error }] = (0, import_client38.useMutation)(DELETE_USER_MUTATION);
2810
2575
  return { deleteUser, error, loading };
2811
2576
  };
2812
2577
  var useAddUserFavouriteResource = () => {
2813
- const [addUserFavouriteResource, { loading, error }] = (0, import_client42.useMutation)(
2578
+ const [addUserFavouriteResource, { loading, error }] = (0, import_client38.useMutation)(
2814
2579
  ADD_USER_FAVOURITE_RESOURCE_MUTATION,
2815
2580
  {
2816
2581
  awaitRefetchQueries: true,
@@ -2820,7 +2585,7 @@ var useAddUserFavouriteResource = () => {
2820
2585
  return { addUserFavouriteResource, error, loading };
2821
2586
  };
2822
2587
  var useRemoveUserFavouriteResource = () => {
2823
- const [removeUserFavouriteResource, { loading, error }] = (0, import_client42.useMutation)(
2588
+ const [removeUserFavouriteResource, { loading, error }] = (0, import_client38.useMutation)(
2824
2589
  REMOVE_USER_FAVOURITE_RESOURCE_MUTATION,
2825
2590
  {
2826
2591
  awaitRefetchQueries: true,
@@ -2830,7 +2595,7 @@ var useRemoveUserFavouriteResource = () => {
2830
2595
  return { error, loading, removeUserFavouriteResource };
2831
2596
  };
2832
2597
  var useAddUserInterestResource = () => {
2833
- const [addUserInterestResource, { loading, error }] = (0, import_client42.useMutation)(
2598
+ const [addUserInterestResource, { loading, error }] = (0, import_client38.useMutation)(
2834
2599
  ADD_USER_INTEREST_RESOURCE_MUTATION,
2835
2600
  {
2836
2601
  awaitRefetchQueries: true,
@@ -2840,7 +2605,7 @@ var useAddUserInterestResource = () => {
2840
2605
  return { addUserInterestResource, error, loading };
2841
2606
  };
2842
2607
  var useRemoveUserInterestResource = () => {
2843
- const [removeUserInterestResource, { loading, error }] = (0, import_client42.useMutation)(
2608
+ const [removeUserInterestResource, { loading, error }] = (0, import_client38.useMutation)(
2844
2609
  REMOVE_USER_INTEREST_RESOURCE_MUTATION,
2845
2610
  {
2846
2611
  awaitRefetchQueries: true,
@@ -2850,7 +2615,7 @@ var useRemoveUserInterestResource = () => {
2850
2615
  return { error, loading, removeUserInterestResource };
2851
2616
  };
2852
2617
  var useAddUserGoingResource = () => {
2853
- const [addUserGoingResource, { loading, error }] = (0, import_client42.useMutation)(
2618
+ const [addUserGoingResource, { loading, error }] = (0, import_client38.useMutation)(
2854
2619
  ADD_USER_GOING_RESOURCE_MUTATION,
2855
2620
  {
2856
2621
  awaitRefetchQueries: true,
@@ -2860,7 +2625,7 @@ var useAddUserGoingResource = () => {
2860
2625
  return { addUserGoingResource, error, loading };
2861
2626
  };
2862
2627
  var useRemoveUserGoingResource = () => {
2863
- const [removeUserGoingResource, { loading, error }] = (0, import_client42.useMutation)(
2628
+ const [removeUserGoingResource, { loading, error }] = (0, import_client38.useMutation)(
2864
2629
  REMOVE_USER_GOING_RESOURCE_MUTATION,
2865
2630
  {
2866
2631
  awaitRefetchQueries: true,
@@ -2870,7 +2635,7 @@ var useRemoveUserGoingResource = () => {
2870
2635
  return { error, loading, removeUserGoingResource };
2871
2636
  };
2872
2637
  var useAddUserPresentResource = () => {
2873
- const [addUserPresentResource, { loading, error }] = (0, import_client42.useMutation)(
2638
+ const [addUserPresentResource, { loading, error }] = (0, import_client38.useMutation)(
2874
2639
  ADD_USER_PRESENT_RESOURCE_MUTATION,
2875
2640
  {
2876
2641
  awaitRefetchQueries: true,
@@ -2880,7 +2645,7 @@ var useAddUserPresentResource = () => {
2880
2645
  return { addUserPresentResource, error, loading };
2881
2646
  };
2882
2647
  var useRemoveUserPresentResource = () => {
2883
- const [removeUserPresentResource, { loading, error }] = (0, import_client42.useMutation)(
2648
+ const [removeUserPresentResource, { loading, error }] = (0, import_client38.useMutation)(
2884
2649
  REMOVE_USER_PRESENT_RESOURCE_MUTATION,
2885
2650
  {
2886
2651
  awaitRefetchQueries: true,
@@ -2890,7 +2655,7 @@ var useRemoveUserPresentResource = () => {
2890
2655
  return { error, loading, removeUserPresentResource };
2891
2656
  };
2892
2657
  var useSelectStandardPackage = () => {
2893
- const [selectStandardPackage, { loading, error }] = (0, import_client42.useMutation)(SELECT_STANDARD_PACKAGE_MUTATION, {
2658
+ const [selectStandardPackage, { loading, error }] = (0, import_client38.useMutation)(SELECT_STANDARD_PACKAGE_MUTATION, {
2894
2659
  awaitRefetchQueries: true,
2895
2660
  refetchQueries: (mutationResult) => {
2896
2661
  const userId = mutationResult?.data?.selectStandardPackage?.userId;
@@ -2906,9 +2671,9 @@ var useSelectStandardPackage = () => {
2906
2671
  };
2907
2672
 
2908
2673
  // src/graphql/hooks/user/hooksQuery.ts
2909
- var import_client43 = require("@apollo/client");
2674
+ var import_client39 = require("@apollo/client");
2910
2675
  var useGetUsers = () => {
2911
- const { loading, error, data, refetch } = (0, import_client43.useQuery)(
2676
+ const { loading, error, data, refetch } = (0, import_client39.useQuery)(
2912
2677
  GET_USERS,
2913
2678
  {
2914
2679
  fetchPolicy: "network-only"
@@ -2918,7 +2683,7 @@ var useGetUsers = () => {
2918
2683
  return { error, loading, refetch, users };
2919
2684
  };
2920
2685
  var useGetUser = (_id) => {
2921
- const { loading, error, data, refetch } = (0, import_client43.useQuery)(
2686
+ const { loading, error, data, refetch } = (0, import_client39.useQuery)(
2922
2687
  GET_USER,
2923
2688
  {
2924
2689
  variables: { _id }
@@ -2928,28 +2693,28 @@ var useGetUser = (_id) => {
2928
2693
  return { error, loading, refetch, user };
2929
2694
  };
2930
2695
  var useGetUserEvents = () => {
2931
- const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_EVENTS, {
2696
+ const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_USER_EVENTS, {
2932
2697
  fetchPolicy: "network-only"
2933
2698
  });
2934
2699
  const userEvents = data?.userEvents || [];
2935
2700
  return { error, loading, refetch, userEvents };
2936
2701
  };
2937
2702
  var useGetUserVendors = () => {
2938
- const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_VENDORS, {
2703
+ const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_USER_VENDORS, {
2939
2704
  fetchPolicy: "network-only"
2940
2705
  });
2941
2706
  const userVendors = data?.userVendors || [];
2942
2707
  return { error, loading, refetch, userVendors };
2943
2708
  };
2944
2709
  var useGetUserPartners = () => {
2945
- const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_PARTNERS, {
2710
+ const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_USER_PARTNERS, {
2946
2711
  fetchPolicy: "network-only"
2947
2712
  });
2948
2713
  const userPartners = data?.userPartners || [];
2949
2714
  return { error, loading, refetch, userPartners };
2950
2715
  };
2951
2716
  var useGetUserActivities = () => {
2952
- const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_ACTIVITIES, {
2717
+ const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_USER_ACTIVITIES, {
2953
2718
  fetchPolicy: "network-only"
2954
2719
  });
2955
2720
  const userActivities = {
@@ -2971,14 +2736,14 @@ var useGetUserActivities = () => {
2971
2736
  };
2972
2737
 
2973
2738
  // src/graphql/hooks/ad/hooksMutation.ts
2974
- var import_client46 = require("@apollo/client");
2739
+ var import_client42 = require("@apollo/client");
2975
2740
 
2976
2741
  // src/graphql/mutations/ad.ts
2977
- var import_client45 = require("@apollo/client");
2742
+ var import_client41 = require("@apollo/client");
2978
2743
 
2979
2744
  // src/graphql/queries/ad.ts
2980
- var import_client44 = require("@apollo/client");
2981
- var AD_FIELDS_FRAGMENT = import_client44.gql`
2745
+ var import_client40 = require("@apollo/client");
2746
+ var AD_FIELDS_FRAGMENT = import_client40.gql`
2982
2747
  fragment AdFields on AdType {
2983
2748
  _id
2984
2749
  active
@@ -3006,7 +2771,7 @@ var AD_FIELDS_FRAGMENT = import_client44.gql`
3006
2771
  }
3007
2772
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
3008
2773
  `;
3009
- var GET_ADS = import_client44.gql`
2774
+ var GET_ADS = import_client40.gql`
3010
2775
  query getAds {
3011
2776
  ads {
3012
2777
  ...AdFields
@@ -3014,7 +2779,7 @@ var GET_ADS = import_client44.gql`
3014
2779
  }
3015
2780
  ${AD_FIELDS_FRAGMENT}
3016
2781
  `;
3017
- var GET_AD = import_client44.gql`
2782
+ var GET_AD = import_client40.gql`
3018
2783
  query getAd($_id: ID!) {
3019
2784
  ad(_id: $_id) {
3020
2785
  ...AdFields
@@ -3022,7 +2787,7 @@ var GET_AD = import_client44.gql`
3022
2787
  }
3023
2788
  ${AD_FIELDS_FRAGMENT}
3024
2789
  `;
3025
- var GET_ADS_BY_REGION = import_client44.gql`
2790
+ var GET_ADS_BY_REGION = import_client40.gql`
3026
2791
  query getAdsByRegion($region: String!, $status: AdStatusTypeEnum) {
3027
2792
  adsByRegion(region: $region, status: $status) {
3028
2793
  ...AdFields
@@ -3032,7 +2797,7 @@ var GET_ADS_BY_REGION = import_client44.gql`
3032
2797
  `;
3033
2798
 
3034
2799
  // src/graphql/mutations/ad.ts
3035
- var CREATE_AD_MUTATION = import_client45.gql`
2800
+ var CREATE_AD_MUTATION = import_client41.gql`
3036
2801
  mutation createAd($input: AdInputType!) {
3037
2802
  createAd(input: $input) {
3038
2803
  ...AdFields
@@ -3040,7 +2805,7 @@ var CREATE_AD_MUTATION = import_client45.gql`
3040
2805
  }
3041
2806
  ${AD_FIELDS_FRAGMENT}
3042
2807
  `;
3043
- var UPDATE_AD_MUTATION = import_client45.gql`
2808
+ var UPDATE_AD_MUTATION = import_client41.gql`
3044
2809
  mutation updateAd($_id: ID!, $input: AdInputType!) {
3045
2810
  updateAd(_id: $_id, input: $input) {
3046
2811
  ...AdFields
@@ -3048,7 +2813,7 @@ var UPDATE_AD_MUTATION = import_client45.gql`
3048
2813
  }
3049
2814
  ${AD_FIELDS_FRAGMENT}
3050
2815
  `;
3051
- var DELETE_AD_MUTATION = import_client45.gql`
2816
+ var DELETE_AD_MUTATION = import_client41.gql`
3052
2817
  mutation deleteAd($_id: ID!) {
3053
2818
  deleteAd(_id: $_id)
3054
2819
  }
@@ -3056,7 +2821,7 @@ var DELETE_AD_MUTATION = import_client45.gql`
3056
2821
 
3057
2822
  // src/graphql/hooks/ad/hooksMutation.ts
3058
2823
  var useCreateAd = () => {
3059
- const [createAd, { loading, error }] = (0, import_client46.useMutation)(CREATE_AD_MUTATION, {
2824
+ const [createAd, { loading, error }] = (0, import_client42.useMutation)(CREATE_AD_MUTATION, {
3060
2825
  awaitRefetchQueries: true,
3061
2826
  refetchQueries: [{ query: GET_ADS }]
3062
2827
  });
@@ -3067,7 +2832,7 @@ var useCreateAd = () => {
3067
2832
  };
3068
2833
  };
3069
2834
  var useUpdateAd = () => {
3070
- const [updateAd, { loading, error }] = (0, import_client46.useMutation)(UPDATE_AD_MUTATION, {
2835
+ const [updateAd, { loading, error }] = (0, import_client42.useMutation)(UPDATE_AD_MUTATION, {
3071
2836
  awaitRefetchQueries: true,
3072
2837
  refetchQueries: [{ query: GET_ADS }]
3073
2838
  });
@@ -3078,7 +2843,7 @@ var useUpdateAd = () => {
3078
2843
  };
3079
2844
  };
3080
2845
  var useDeleteAd = () => {
3081
- const [deleteAd, { loading, error }] = (0, import_client46.useMutation)(DELETE_AD_MUTATION, {
2846
+ const [deleteAd, { loading, error }] = (0, import_client42.useMutation)(DELETE_AD_MUTATION, {
3082
2847
  awaitRefetchQueries: true,
3083
2848
  refetchQueries: [{ query: GET_ADS }]
3084
2849
  });
@@ -3090,9 +2855,9 @@ var useDeleteAd = () => {
3090
2855
  };
3091
2856
 
3092
2857
  // src/graphql/hooks/ad/hooksQuery.ts
3093
- var import_client47 = require("@apollo/client");
2858
+ var import_client43 = require("@apollo/client");
3094
2859
  var useGetAds = () => {
3095
- const { data, loading, error, refetch } = (0, import_client47.useQuery)(
2860
+ const { data, loading, error, refetch } = (0, import_client43.useQuery)(
3096
2861
  GET_ADS,
3097
2862
  {
3098
2863
  fetchPolicy: "no-cache"
@@ -3106,7 +2871,7 @@ var useGetAds = () => {
3106
2871
  };
3107
2872
  };
3108
2873
  var useGetAd = (_id) => {
3109
- const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_AD, {
2874
+ const { data, loading, error, refetch } = (0, import_client43.useQuery)(GET_AD, {
3110
2875
  fetchPolicy: "no-cache",
3111
2876
  skip: !_id,
3112
2877
  variables: { _id }
@@ -3119,7 +2884,7 @@ var useGetAd = (_id) => {
3119
2884
  };
3120
2885
  };
3121
2886
  var useGetAdsByRegion = (region, status) => {
3122
- const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_ADS_BY_REGION, {
2887
+ const { data, loading, error, refetch } = (0, import_client43.useQuery)(GET_ADS_BY_REGION, {
3123
2888
  fetchPolicy: "no-cache",
3124
2889
  skip: !region,
3125
2890
  variables: { region, status }
@@ -3133,11 +2898,11 @@ var useGetAdsByRegion = (region, status) => {
3133
2898
  };
3134
2899
 
3135
2900
  // src/graphql/hooks/resourceActivities/hooksMutation.ts
3136
- var import_client49 = require("@apollo/client");
2901
+ var import_client45 = require("@apollo/client");
3137
2902
 
3138
2903
  // src/graphql/mutations/resourceActivities.ts
3139
- var import_client48 = require("@apollo/client");
3140
- var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client48.gql`
2904
+ var import_client44 = require("@apollo/client");
2905
+ var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client44.gql`
3141
2906
  mutation createResourceActivity($input: ResourceActivityInputType!) {
3142
2907
  createResourceActivity(input: $input)
3143
2908
  }
@@ -3145,18 +2910,18 @@ var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client48.gql`
3145
2910
 
3146
2911
  // src/graphql/hooks/resourceActivities/hooksMutation.ts
3147
2912
  var useCreateResourceActivity = () => {
3148
- const [createResourceActivity, { loading, error }] = (0, import_client49.useMutation)(
2913
+ const [createResourceActivity, { loading, error }] = (0, import_client45.useMutation)(
3149
2914
  CREATE_RESOURCE_ACTIVITY_MUTATION
3150
2915
  );
3151
2916
  return { createResourceActivity, error, loading };
3152
2917
  };
3153
2918
 
3154
2919
  // src/graphql/hooks/resourceActivities/hooksQuery.ts
3155
- var import_client51 = require("@apollo/client");
2920
+ var import_client47 = require("@apollo/client");
3156
2921
 
3157
2922
  // src/graphql/queries/resourceActivities.ts
3158
- var import_client50 = require("@apollo/client");
3159
- var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client50.gql`
2923
+ var import_client46 = require("@apollo/client");
2924
+ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client46.gql`
3160
2925
  fragment ResourceActivityFields on ResourceActivityType {
3161
2926
  resourceId
3162
2927
  resourceType
@@ -3175,7 +2940,7 @@ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client50.gql`
3175
2940
  }
3176
2941
  ${LOCATION_GEO_FIELDS_FRAGMENT}
3177
2942
  `;
3178
- var GET_RESOURCE_ACTIVITY = import_client50.gql`
2943
+ var GET_RESOURCE_ACTIVITY = import_client46.gql`
3179
2944
  query getResourceActivity(
3180
2945
  $resourceType: ResourceTypeEnum!
3181
2946
  $resourceId: ID!
@@ -3189,7 +2954,7 @@ var GET_RESOURCE_ACTIVITY = import_client50.gql`
3189
2954
 
3190
2955
  // src/graphql/hooks/resourceActivities/hooksQuery.ts
3191
2956
  var useGetResourceActivity = (resourceId, resourceType) => {
3192
- const { data, loading, error, refetch } = (0, import_client51.useQuery)(GET_RESOURCE_ACTIVITY, {
2957
+ const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_RESOURCE_ACTIVITY, {
3193
2958
  fetchPolicy: "network-only",
3194
2959
  variables: { resourceId, resourceType }
3195
2960
  });
@@ -3202,11 +2967,11 @@ var useGetResourceActivity = (resourceId, resourceType) => {
3202
2967
  };
3203
2968
 
3204
2969
  // src/graphql/hooks/stripe/hooksMutation.ts
3205
- var import_client53 = require("@apollo/client");
2970
+ var import_client49 = require("@apollo/client");
3206
2971
 
3207
2972
  // src/graphql/mutations/stripe.ts
3208
- var import_client52 = require("@apollo/client");
3209
- var CREATE_CHECKOUT_SESSION_MUTATION = import_client52.gql`
2973
+ var import_client48 = require("@apollo/client");
2974
+ var CREATE_CHECKOUT_SESSION_MUTATION = import_client48.gql`
3210
2975
  mutation createCheckoutSession(
3211
2976
  $planId: LicencesEnumType!
3212
2977
  $billingPeriod: BillingPeriodEnumType
@@ -3217,12 +2982,12 @@ var CREATE_CHECKOUT_SESSION_MUTATION = import_client52.gql`
3217
2982
  }
3218
2983
  }
3219
2984
  `;
3220
- var CANCEL_SUBSCRIPTION_MUTATION = import_client52.gql`
2985
+ var CANCEL_SUBSCRIPTION_MUTATION = import_client48.gql`
3221
2986
  mutation cancelSubscription {
3222
2987
  cancelSubscription
3223
2988
  }
3224
2989
  `;
3225
- var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client52.gql`
2990
+ var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client48.gql`
3226
2991
  mutation updateSubscriptionPlan(
3227
2992
  $newPlanId: LicencesEnumType!
3228
2993
  $billingPeriod: BillingPeriodEnumType
@@ -3238,14 +3003,14 @@ var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client52.gql`
3238
3003
  }
3239
3004
  }
3240
3005
  `;
3241
- var CREATE_CUSTOMER_PORTAL = import_client52.gql`
3006
+ var CREATE_CUSTOMER_PORTAL = import_client48.gql`
3242
3007
  mutation createCustomerPortal($returnUrl: String) {
3243
3008
  createCustomerPortal(returnUrl: $returnUrl) {
3244
3009
  portalUrl
3245
3010
  }
3246
3011
  }
3247
3012
  `;
3248
- var SELECT_PACKAGE_MUTATION = import_client52.gql`
3013
+ var SELECT_PACKAGE_MUTATION = import_client48.gql`
3249
3014
  mutation selectPackage(
3250
3015
  $billingPeriod: BillingPeriodEnumType
3251
3016
  $selectedLicence: LicencesEnumType!
@@ -3269,31 +3034,31 @@ var SELECT_PACKAGE_MUTATION = import_client52.gql`
3269
3034
 
3270
3035
  // src/graphql/hooks/stripe/hooksMutation.ts
3271
3036
  var useCreateCheckoutSession = () => {
3272
- const [createCheckoutSession, { loading, error }] = (0, import_client53.useMutation)(
3037
+ const [createCheckoutSession, { loading, error }] = (0, import_client49.useMutation)(
3273
3038
  CREATE_CHECKOUT_SESSION_MUTATION
3274
3039
  );
3275
3040
  return { createCheckoutSession, error, loading };
3276
3041
  };
3277
3042
  var useCancelSubscription = () => {
3278
- const [cancelSubscription, { loading, error }] = (0, import_client53.useMutation)(
3043
+ const [cancelSubscription, { loading, error }] = (0, import_client49.useMutation)(
3279
3044
  CANCEL_SUBSCRIPTION_MUTATION
3280
3045
  );
3281
3046
  return { cancelSubscription, error, loading };
3282
3047
  };
3283
3048
  var useUpdateSubscriptionPlan = () => {
3284
- const [updateSubscriptionPlan, { loading, error }] = (0, import_client53.useMutation)(
3049
+ const [updateSubscriptionPlan, { loading, error }] = (0, import_client49.useMutation)(
3285
3050
  UPDATE_SUBSCRIPTION_PLAN_MUTATION
3286
3051
  );
3287
3052
  return { error, loading, updateSubscriptionPlan };
3288
3053
  };
3289
3054
  var useCreateCustomerPortal = () => {
3290
- const [createCustomerPortal, { loading, error }] = (0, import_client53.useMutation)(
3055
+ const [createCustomerPortal, { loading, error }] = (0, import_client49.useMutation)(
3291
3056
  CREATE_CUSTOMER_PORTAL
3292
3057
  );
3293
3058
  return { createCustomerPortal, error, loading };
3294
3059
  };
3295
3060
  var useSelectPackage = () => {
3296
- const [selectPackage, { loading, error }] = (0, import_client53.useMutation)(SELECT_PACKAGE_MUTATION, {
3061
+ const [selectPackage, { loading, error }] = (0, import_client49.useMutation)(SELECT_PACKAGE_MUTATION, {
3297
3062
  awaitRefetchQueries: true,
3298
3063
  refetchQueries: (mutationResult) => {
3299
3064
  const userId = mutationResult?.data?.selectPackage?.userId;
@@ -3309,11 +3074,11 @@ var useSelectPackage = () => {
3309
3074
  };
3310
3075
 
3311
3076
  // src/graphql/hooks/stripe/hooksQuery.ts
3312
- var import_client55 = require("@apollo/client");
3077
+ var import_client51 = require("@apollo/client");
3313
3078
 
3314
3079
  // src/graphql/queries/stripe.ts
3315
- var import_client54 = require("@apollo/client");
3316
- var GET_SUBSCRIPTION_STATUS = import_client54.gql`
3080
+ var import_client50 = require("@apollo/client");
3081
+ var GET_SUBSCRIPTION_STATUS = import_client50.gql`
3317
3082
  query getSubscriptionStatus {
3318
3083
  getSubscriptionStatus {
3319
3084
  subscriptionId
@@ -3323,7 +3088,7 @@ var GET_SUBSCRIPTION_STATUS = import_client54.gql`
3323
3088
  }
3324
3089
  }
3325
3090
  `;
3326
- var GET_SUBSCRIPTION_PLANS = import_client54.gql`
3091
+ var GET_SUBSCRIPTION_PLANS = import_client50.gql`
3327
3092
  query getSubscriptionPlans {
3328
3093
  getSubscriptionPlans {
3329
3094
  plans {
@@ -3354,7 +3119,7 @@ var GET_SUBSCRIPTION_PLANS = import_client54.gql`
3354
3119
 
3355
3120
  // src/graphql/hooks/stripe/hooksQuery.ts
3356
3121
  var useGetSubscriptionStatus = () => {
3357
- const { data, loading, error, refetch } = (0, import_client55.useQuery)(GET_SUBSCRIPTION_STATUS);
3122
+ const { data, loading, error, refetch } = (0, import_client51.useQuery)(GET_SUBSCRIPTION_STATUS);
3358
3123
  return {
3359
3124
  data: data?.getSubscriptionStatus,
3360
3125
  error,
@@ -3363,7 +3128,7 @@ var useGetSubscriptionStatus = () => {
3363
3128
  };
3364
3129
  };
3365
3130
  var useGetSubscriptionPlans = () => {
3366
- const { data, loading, error, refetch } = (0, import_client55.useQuery)(GET_SUBSCRIPTION_PLANS);
3131
+ const { data, loading, error, refetch } = (0, import_client51.useQuery)(GET_SUBSCRIPTION_PLANS);
3367
3132
  return {
3368
3133
  data: data?.getSubscriptionPlans,
3369
3134
  error,
@@ -3373,11 +3138,11 @@ var useGetSubscriptionPlans = () => {
3373
3138
  };
3374
3139
 
3375
3140
  // src/graphql/hooks/partner/hooksMutation.ts
3376
- var import_client57 = require("@apollo/client");
3141
+ var import_client53 = require("@apollo/client");
3377
3142
 
3378
3143
  // src/graphql/mutations/partner.ts
3379
- var import_client56 = require("@apollo/client");
3380
- var CREATE_PARTNER_MUTATION = import_client56.gql`
3144
+ var import_client52 = require("@apollo/client");
3145
+ var CREATE_PARTNER_MUTATION = import_client52.gql`
3381
3146
  mutation createPartner($input: PartnerInputType!) {
3382
3147
  createPartner(input: $input) {
3383
3148
  ...PartnerFields
@@ -3385,7 +3150,7 @@ var CREATE_PARTNER_MUTATION = import_client56.gql`
3385
3150
  }
3386
3151
  ${PARTNER}
3387
3152
  `;
3388
- var UPDATE_PARTNER_MUTATION = import_client56.gql`
3153
+ var UPDATE_PARTNER_MUTATION = import_client52.gql`
3389
3154
  mutation updatePartner($_id: ID!, $input: PartnerInputType!) {
3390
3155
  updatePartner(_id: $_id, input: $input) {
3391
3156
  ...PartnerFields
@@ -3393,7 +3158,7 @@ var UPDATE_PARTNER_MUTATION = import_client56.gql`
3393
3158
  }
3394
3159
  ${PARTNER}
3395
3160
  `;
3396
- var DELETE_PARTNER_MUTATION = import_client56.gql`
3161
+ var DELETE_PARTNER_MUTATION = import_client52.gql`
3397
3162
  mutation deletePartner($_id: ID!) {
3398
3163
  deletePartner(_id: $_id)
3399
3164
  }
@@ -3401,7 +3166,7 @@ var DELETE_PARTNER_MUTATION = import_client56.gql`
3401
3166
 
3402
3167
  // src/graphql/hooks/partner/hooksMutation.ts
3403
3168
  var useCreatePartner = () => {
3404
- const [createPartner, { loading, error }] = (0, import_client57.useMutation)(
3169
+ const [createPartner, { loading, error }] = (0, import_client53.useMutation)(
3405
3170
  CREATE_PARTNER_MUTATION,
3406
3171
  {
3407
3172
  awaitRefetchQueries: true,
@@ -3411,7 +3176,7 @@ var useCreatePartner = () => {
3411
3176
  return { createPartner, error, loading };
3412
3177
  };
3413
3178
  var useUpdatePartner = () => {
3414
- const [updatePartner, { loading, error }] = (0, import_client57.useMutation)(
3179
+ const [updatePartner, { loading, error }] = (0, import_client53.useMutation)(
3415
3180
  UPDATE_PARTNER_MUTATION,
3416
3181
  {
3417
3182
  awaitRefetchQueries: true,
@@ -3421,7 +3186,7 @@ var useUpdatePartner = () => {
3421
3186
  return { error, loading, updatePartner };
3422
3187
  };
3423
3188
  var useDeletePartner = () => {
3424
- const [deletePartner, { loading, error }] = (0, import_client57.useMutation)(
3189
+ const [deletePartner, { loading, error }] = (0, import_client53.useMutation)(
3425
3190
  DELETE_PARTNER_MUTATION,
3426
3191
  {
3427
3192
  awaitRefetchQueries: true,
@@ -3432,9 +3197,9 @@ var useDeletePartner = () => {
3432
3197
  };
3433
3198
 
3434
3199
  // src/graphql/hooks/partner/hooksQuery.ts
3435
- var import_client58 = require("@apollo/client");
3200
+ var import_client54 = require("@apollo/client");
3436
3201
  var useGetPartners = () => {
3437
- const { loading, error, data, refetch } = (0, import_client58.useQuery)(GET_PARTNERS, {
3202
+ const { loading, error, data, refetch } = (0, import_client54.useQuery)(GET_PARTNERS, {
3438
3203
  fetchPolicy: "network-only"
3439
3204
  });
3440
3205
  const partners = data?.partners || [];
@@ -3446,7 +3211,7 @@ var useGetPartners = () => {
3446
3211
  };
3447
3212
  };
3448
3213
  var useGetPartner = (_id) => {
3449
- const { loading, error, data, refetch } = (0, import_client58.useQuery)(
3214
+ const { loading, error, data, refetch } = (0, import_client54.useQuery)(
3450
3215
  GET_PARTNER,
3451
3216
  {
3452
3217
  fetchPolicy: "network-only",
@@ -3458,7 +3223,7 @@ var useGetPartner = (_id) => {
3458
3223
  return { error, loading, partner, refetch };
3459
3224
  };
3460
3225
  var useGetPartnersByRegion = (region) => {
3461
- const { loading, error, data, refetch } = (0, import_client58.useQuery)(GET_PARTNERS_BY_REGION, {
3226
+ const { loading, error, data, refetch } = (0, import_client54.useQuery)(GET_PARTNERS_BY_REGION, {
3462
3227
  fetchPolicy: "no-cache",
3463
3228
  skip: !region,
3464
3229
  variables: { region }
@@ -3467,7 +3232,7 @@ var useGetPartnersByRegion = (region) => {
3467
3232
  return { error, loading, partnersByRegion, refetch };
3468
3233
  };
3469
3234
  var useSearchPartners = (search, region) => {
3470
- const { loading, error, data, refetch } = (0, import_client58.useQuery)(SEARCH_PARTNERS, {
3235
+ const { loading, error, data, refetch } = (0, import_client54.useQuery)(SEARCH_PARTNERS, {
3471
3236
  fetchPolicy: "network-only",
3472
3237
  skip: search.length < 3,
3473
3238
  variables: { region, search }
@@ -3477,14 +3242,14 @@ var useSearchPartners = (search, region) => {
3477
3242
  };
3478
3243
 
3479
3244
  // src/graphql/hooks/post/hooksMutation.ts
3480
- var import_client61 = require("@apollo/client");
3245
+ var import_client57 = require("@apollo/client");
3481
3246
 
3482
3247
  // src/graphql/mutations/post.ts
3483
- var import_client60 = require("@apollo/client");
3248
+ var import_client56 = require("@apollo/client");
3484
3249
 
3485
3250
  // src/graphql/queries/post.ts
3486
- var import_client59 = require("@apollo/client");
3487
- var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client59.gql`
3251
+ var import_client55 = require("@apollo/client");
3252
+ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client55.gql`
3488
3253
  fragment PostContentDataFields on PostContentData {
3489
3254
  textarea {
3490
3255
  title
@@ -3506,7 +3271,7 @@ var POST_CONTENT_DATA_FIELDS_FRAGMENT = import_client59.gql`
3506
3271
  }
3507
3272
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
3508
3273
  `;
3509
- var POST_CONTENT_FIELDS_FRAGMENT = import_client59.gql`
3274
+ var POST_CONTENT_FIELDS_FRAGMENT = import_client55.gql`
3510
3275
  fragment PostContentFields on PostContentType {
3511
3276
  contentData {
3512
3277
  ...PostContentDataFields
@@ -3516,7 +3281,7 @@ var POST_CONTENT_FIELDS_FRAGMENT = import_client59.gql`
3516
3281
  }
3517
3282
  ${POST_CONTENT_DATA_FIELDS_FRAGMENT}
3518
3283
  `;
3519
- var POST_FIELDS_FRAGMENT = import_client59.gql`
3284
+ var POST_FIELDS_FRAGMENT = import_client55.gql`
3520
3285
  fragment PostFields on PostType {
3521
3286
  _id
3522
3287
  active
@@ -3541,7 +3306,7 @@ var POST_FIELDS_FRAGMENT = import_client59.gql`
3541
3306
  ${POST_CONTENT_FIELDS_FRAGMENT}
3542
3307
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
3543
3308
  `;
3544
- var GET_POSTS = import_client59.gql`
3309
+ var GET_POSTS = import_client55.gql`
3545
3310
  query getPosts {
3546
3311
  posts {
3547
3312
  ...PostFields
@@ -3549,7 +3314,7 @@ var GET_POSTS = import_client59.gql`
3549
3314
  }
3550
3315
  ${POST_FIELDS_FRAGMENT}
3551
3316
  `;
3552
- var GET_POST = import_client59.gql`
3317
+ var GET_POST = import_client55.gql`
3553
3318
  query getPost($_id: ID!) {
3554
3319
  post(_id: $_id) {
3555
3320
  ...PostFields
@@ -3557,7 +3322,7 @@ var GET_POST = import_client59.gql`
3557
3322
  }
3558
3323
  ${POST_FIELDS_FRAGMENT}
3559
3324
  `;
3560
- var GET_POSTS_BY_TYPE = import_client59.gql`
3325
+ var GET_POSTS_BY_TYPE = import_client55.gql`
3561
3326
  query getPostsByType($postType: PostTypeEnum!) {
3562
3327
  postsByType(postType: $postType) {
3563
3328
  ...PostFields
@@ -3567,7 +3332,7 @@ var GET_POSTS_BY_TYPE = import_client59.gql`
3567
3332
  `;
3568
3333
 
3569
3334
  // src/graphql/mutations/post.ts
3570
- var CREATE_POST_MUTATION = import_client60.gql`
3335
+ var CREATE_POST_MUTATION = import_client56.gql`
3571
3336
  mutation createPost($input: PostInputType!) {
3572
3337
  createPost(input: $input) {
3573
3338
  ...PostFields
@@ -3575,7 +3340,7 @@ var CREATE_POST_MUTATION = import_client60.gql`
3575
3340
  }
3576
3341
  ${POST_FIELDS_FRAGMENT}
3577
3342
  `;
3578
- var UPDATE_POST_MUTATION = import_client60.gql`
3343
+ var UPDATE_POST_MUTATION = import_client56.gql`
3579
3344
  mutation updatePost($_id: ID!, $input: PostInputType!) {
3580
3345
  updatePost(_id: $_id, input: $input) {
3581
3346
  ...PostFields
@@ -3583,7 +3348,7 @@ var UPDATE_POST_MUTATION = import_client60.gql`
3583
3348
  }
3584
3349
  ${POST_FIELDS_FRAGMENT}
3585
3350
  `;
3586
- var DELETE_POST_MUTATION = import_client60.gql`
3351
+ var DELETE_POST_MUTATION = import_client56.gql`
3587
3352
  mutation deletePost($_id: ID!) {
3588
3353
  deletePost(_id: $_id)
3589
3354
  }
@@ -3591,21 +3356,21 @@ var DELETE_POST_MUTATION = import_client60.gql`
3591
3356
 
3592
3357
  // src/graphql/hooks/post/hooksMutation.ts
3593
3358
  var useCreatePost = () => {
3594
- const [createPost, { loading, error }] = (0, import_client61.useMutation)(CREATE_POST_MUTATION, {
3359
+ const [createPost, { loading, error }] = (0, import_client57.useMutation)(CREATE_POST_MUTATION, {
3595
3360
  awaitRefetchQueries: true,
3596
3361
  refetchQueries: [{ query: GET_POSTS }]
3597
3362
  });
3598
3363
  return { createPost, error, loading };
3599
3364
  };
3600
3365
  var useUpdatePost = () => {
3601
- const [updatePost, { loading, error }] = (0, import_client61.useMutation)(UPDATE_POST_MUTATION, {
3366
+ const [updatePost, { loading, error }] = (0, import_client57.useMutation)(UPDATE_POST_MUTATION, {
3602
3367
  awaitRefetchQueries: true,
3603
3368
  refetchQueries: [{ query: GET_POSTS }]
3604
3369
  });
3605
3370
  return { error, loading, updatePost };
3606
3371
  };
3607
3372
  var useDeletePost = () => {
3608
- const [deletePost, { loading, error }] = (0, import_client61.useMutation)(DELETE_POST_MUTATION, {
3373
+ const [deletePost, { loading, error }] = (0, import_client57.useMutation)(DELETE_POST_MUTATION, {
3609
3374
  awaitRefetchQueries: true,
3610
3375
  refetchQueries: [{ query: GET_POSTS }]
3611
3376
  });
@@ -3613,15 +3378,15 @@ var useDeletePost = () => {
3613
3378
  };
3614
3379
 
3615
3380
  // src/graphql/hooks/post/hooksQuery.ts
3616
- var import_client62 = require("@apollo/client");
3381
+ var import_client58 = require("@apollo/client");
3617
3382
  var useGetPosts = () => {
3618
- const { data, loading, error, refetch } = (0, import_client62.useQuery)(GET_POSTS, {
3383
+ const { data, loading, error, refetch } = (0, import_client58.useQuery)(GET_POSTS, {
3619
3384
  fetchPolicy: "network-only"
3620
3385
  });
3621
3386
  return { error, loading, posts: data?.posts || [], refetch };
3622
3387
  };
3623
3388
  var useGetPost = (_id) => {
3624
- const { data, loading, error, refetch } = (0, import_client62.useQuery)(GET_POST, {
3389
+ const { data, loading, error, refetch } = (0, import_client58.useQuery)(GET_POST, {
3625
3390
  fetchPolicy: "network-only",
3626
3391
  skip: !_id,
3627
3392
  variables: { _id }
@@ -3629,7 +3394,7 @@ var useGetPost = (_id) => {
3629
3394
  return { error, loading, post: data?.post, refetch };
3630
3395
  };
3631
3396
  var useGetPostsByType = (postType) => {
3632
- const { data, loading, error, refetch } = (0, import_client62.useQuery)(GET_POSTS_BY_TYPE, {
3397
+ const { data, loading, error, refetch } = (0, import_client58.useQuery)(GET_POSTS_BY_TYPE, {
3633
3398
  fetchPolicy: "network-only",
3634
3399
  skip: !postType,
3635
3400
  variables: { postType }
@@ -3638,16 +3403,16 @@ var useGetPostsByType = (postType) => {
3638
3403
  };
3639
3404
 
3640
3405
  // src/graphql/hooks/appSettings/hooksMutation.ts
3641
- var import_client65 = require("@apollo/client");
3406
+ var import_client61 = require("@apollo/client");
3642
3407
 
3643
3408
  // src/graphql/mutations/appSettings.ts
3644
- var import_client63 = require("@apollo/client");
3645
- var UPDATE_APP_SETTINGS_MUTATION = import_client63.gql`
3409
+ var import_client59 = require("@apollo/client");
3410
+ var UPDATE_APP_SETTINGS_MUTATION = import_client59.gql`
3646
3411
  mutation updateAppSettings($input: AppSettingsInputType!) {
3647
3412
  updateAppSettings(input: $input)
3648
3413
  }
3649
3414
  `;
3650
- var CRAWL_GOOGLE_MARKETS_MUTATION = import_client63.gql`
3415
+ var CRAWL_GOOGLE_MARKETS_MUTATION = import_client59.gql`
3651
3416
  mutation crawlGoogleMarkets {
3652
3417
  crawlGoogleMarkets {
3653
3418
  message
@@ -3656,8 +3421,8 @@ var CRAWL_GOOGLE_MARKETS_MUTATION = import_client63.gql`
3656
3421
  `;
3657
3422
 
3658
3423
  // src/graphql/queries/appSettings.ts
3659
- var import_client64 = require("@apollo/client");
3660
- var APP_SETTINGS_FIELDS_FRAGMENT = import_client64.gql`
3424
+ var import_client60 = require("@apollo/client");
3425
+ var APP_SETTINGS_FIELDS_FRAGMENT = import_client60.gql`
3661
3426
  fragment AppSettingsFields on AppSettingsType {
3662
3427
  _id
3663
3428
  appVersion
@@ -3667,7 +3432,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = import_client64.gql`
3667
3432
  updatedAt
3668
3433
  }
3669
3434
  `;
3670
- var GET_APP_SETTINGS = import_client64.gql`
3435
+ var GET_APP_SETTINGS = import_client60.gql`
3671
3436
  query getAppSettings {
3672
3437
  appSettings {
3673
3438
  ...AppSettingsFields
@@ -3678,7 +3443,7 @@ var GET_APP_SETTINGS = import_client64.gql`
3678
3443
 
3679
3444
  // src/graphql/hooks/appSettings/hooksMutation.ts
3680
3445
  var useUpdateAppSettings = () => {
3681
- const [updateAppSettings, { loading, error }] = (0, import_client65.useMutation)(
3446
+ const [updateAppSettings, { loading, error }] = (0, import_client61.useMutation)(
3682
3447
  UPDATE_APP_SETTINGS_MUTATION,
3683
3448
  {
3684
3449
  awaitRefetchQueries: true,
@@ -3688,14 +3453,14 @@ var useUpdateAppSettings = () => {
3688
3453
  return { error, loading, updateAppSettings };
3689
3454
  };
3690
3455
  var useCrawlGoogleMarkets = () => {
3691
- const [crawlGoogleMarkets, { loading, error }] = (0, import_client65.useMutation)(CRAWL_GOOGLE_MARKETS_MUTATION);
3456
+ const [crawlGoogleMarkets, { loading, error }] = (0, import_client61.useMutation)(CRAWL_GOOGLE_MARKETS_MUTATION);
3692
3457
  return { crawlGoogleMarkets, error, loading };
3693
3458
  };
3694
3459
 
3695
3460
  // src/graphql/hooks/appSettings/hooksQuery.ts
3696
- var import_client66 = require("@apollo/client");
3461
+ var import_client62 = require("@apollo/client");
3697
3462
  var useGetAppSettings = () => {
3698
- const { loading, error, data, refetch } = (0, import_client66.useQuery)(GET_APP_SETTINGS, {
3463
+ const { loading, error, data, refetch } = (0, import_client62.useQuery)(GET_APP_SETTINGS, {
3699
3464
  fetchPolicy: "network-only"
3700
3465
  });
3701
3466
  const appSettings = data?.appSettings || null;
@@ -3708,10 +3473,8 @@ var useGetAppSettings = () => {
3708
3473
  useAddUserGoingResource,
3709
3474
  useAddUserInterestResource,
3710
3475
  useAddUserPresentResource,
3711
- useAdminResendTesterVerificationEmail,
3712
3476
  useAdminResendUserVerificationEmail,
3713
3477
  useAdminUpdateResourceType,
3714
- useAdminUpdateTester,
3715
3478
  useCancelSubscription,
3716
3479
  useContactUs,
3717
3480
  useCrawlGoogleMarkets,
@@ -3727,7 +3490,6 @@ var useGetAppSettings = () => {
3727
3490
  useCreatePushToken,
3728
3491
  useCreateRelation,
3729
3492
  useCreateResourceActivity,
3730
- useCreateTester,
3731
3493
  useCreateUnregisteredVendor,
3732
3494
  useCreateUser,
3733
3495
  useCreateVendor,
@@ -3740,7 +3502,6 @@ var useGetAppSettings = () => {
3740
3502
  useDeletePartner,
3741
3503
  useDeletePost,
3742
3504
  useDeleteRelation,
3743
- useDeleteTester,
3744
3505
  useDeleteUnregisteredVendor,
3745
3506
  useDeleteUser,
3746
3507
  useDeleteVendor,
@@ -3773,8 +3534,6 @@ var useGetAppSettings = () => {
3773
3534
  useGetResourceConnections,
3774
3535
  useGetSubscriptionPlans,
3775
3536
  useGetSubscriptionStatus,
3776
- useGetTester,
3777
- useGetTesters,
3778
3537
  useGetUnregisteredVendor,
3779
3538
  useGetUnregisteredVendors,
3780
3539
  useGetUser,
@@ -3821,7 +3580,6 @@ var useGetAppSettings = () => {
3821
3580
  useUpdatePost,
3822
3581
  useUpdateRelation,
3823
3582
  useUpdateSubscriptionPlan,
3824
- useUpdateTester,
3825
3583
  useUpdateUnregisteredVendor,
3826
3584
  useUpdateUser,
3827
3585
  useUpdateVendor,