@timardex/cluemart-shared 1.2.71 → 1.2.73

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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
2
2
  import * as _apollo_client from '@apollo/client';
3
- import { useMutation } from '@apollo/client/react';
4
3
 
5
4
  declare enum EnumInviteStatus {
6
5
  ACCEPTED = "Accepted",
@@ -912,208 +911,193 @@ declare const companyContactFields: FormField[];
912
911
  declare const partnerBasicInfoFields: FormField[];
913
912
 
914
913
  declare const useAdminUpdateResourceType: () => {
915
- adminUpdateResourceType: useMutation.MutationFunction<{
914
+ adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<{
916
915
  adminUpdateResourceType: {
917
916
  resourceId: string;
918
917
  resourceType: EnumResourceType;
919
918
  };
920
- }, {
921
- [x: string]: any;
922
- }, _apollo_client.ApolloCache>;
923
- error: _apollo_client.ErrorLike | undefined;
919
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
920
+ adminUpdateResourceType: {
921
+ resourceId: string;
922
+ resourceType: EnumResourceType;
923
+ };
924
+ }>>;
925
+ error: _apollo_client.ApolloError | undefined;
924
926
  loading: boolean;
925
927
  };
926
928
 
927
929
  declare const useRegister: () => {
928
- error: _apollo_client.ErrorLike | undefined;
930
+ error: _apollo_client.ApolloError | undefined;
929
931
  loading: boolean;
930
- register: useMutation.MutationFunction<unknown, {
931
- [x: string]: any;
932
- }, _apollo_client.ApolloCache>;
932
+ register: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
933
933
  };
934
934
  declare const useLogin: () => {
935
- error: _apollo_client.ErrorLike | undefined;
935
+ error: _apollo_client.ApolloError | undefined;
936
936
  loading: boolean;
937
- login: useMutation.MutationFunction<unknown, {
938
- [x: string]: any;
939
- }, _apollo_client.ApolloCache>;
937
+ login: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
940
938
  };
941
939
  declare const useLogout: () => {
942
- error: _apollo_client.ErrorLike | undefined;
940
+ error: _apollo_client.ApolloError | undefined;
943
941
  loading: boolean;
944
- logout: useMutation.MutationFunction<unknown, {
945
- [x: string]: any;
946
- }, _apollo_client.ApolloCache>;
942
+ logout: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
947
943
  };
948
944
  declare const useRefreshToken: () => {
949
- error: _apollo_client.ErrorLike | undefined;
945
+ error: _apollo_client.ApolloError | undefined;
950
946
  loading: boolean;
951
- refreshToken: useMutation.MutationFunction<unknown, {
952
- [x: string]: any;
953
- }, _apollo_client.ApolloCache>;
947
+ refreshToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
954
948
  };
955
949
  declare const useRequestPasswordReset: () => {
956
- error: _apollo_client.ErrorLike | undefined;
950
+ error: _apollo_client.ApolloError | undefined;
957
951
  loading: boolean;
958
- requestPasswordReset: useMutation.MutationFunction<unknown, {
959
- [x: string]: any;
960
- }, _apollo_client.ApolloCache>;
952
+ requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
961
953
  };
962
954
  declare const useValidateVerificationToken: () => {
963
- error: _apollo_client.ErrorLike | undefined;
955
+ error: _apollo_client.ApolloError | undefined;
964
956
  loading: boolean;
965
- validateVerificationToken: useMutation.MutationFunction<unknown, {
966
- [x: string]: any;
967
- }, _apollo_client.ApolloCache>;
957
+ validateVerificationToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
968
958
  };
969
959
  declare const useResetPassword: () => {
970
- error: _apollo_client.ErrorLike | undefined;
960
+ error: _apollo_client.ApolloError | undefined;
971
961
  loading: boolean;
972
- resetPassword: useMutation.MutationFunction<unknown, {
973
- [x: string]: any;
974
- }, _apollo_client.ApolloCache>;
962
+ resetPassword: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
975
963
  };
976
964
 
977
965
  declare const useSendChatMessage: () => {
978
- error: _apollo_client.ErrorLike | undefined;
966
+ error: _apollo_client.ApolloError | undefined;
979
967
  loading: boolean;
980
- sendChatMessage: useMutation.MutationFunction<{
968
+ sendChatMessage: (options?: _apollo_client.MutationFunctionOptions<{
969
+ sendChatMessage: {
970
+ _id: string;
971
+ };
972
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
981
973
  sendChatMessage: {
982
974
  _id: string;
983
975
  };
984
- }, {
985
- [x: string]: any;
986
- }, _apollo_client.ApolloCache>;
976
+ }>>;
987
977
  };
988
978
  declare const useDeleteChat: () => {
989
- deleteChat: useMutation.MutationFunction<unknown, {
990
- [x: string]: any;
991
- }, _apollo_client.ApolloCache>;
992
- error: _apollo_client.ErrorLike | undefined;
979
+ deleteChat: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
980
+ error: _apollo_client.ApolloError | undefined;
993
981
  loading: boolean;
994
982
  };
995
983
  declare const useAddParticipantToChat: () => {
996
- addParticipantToChat: useMutation.MutationFunction<{
984
+ addParticipantToChat: (options?: _apollo_client.MutationFunctionOptions<{
997
985
  addParticipantToChat: {
998
986
  _id: string;
999
987
  };
1000
- }, {
1001
- [x: string]: any;
1002
- }, _apollo_client.ApolloCache>;
1003
- error: _apollo_client.ErrorLike | undefined;
988
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
989
+ addParticipantToChat: {
990
+ _id: string;
991
+ };
992
+ }>>;
993
+ error: _apollo_client.ApolloError | undefined;
1004
994
  loading: boolean;
1005
995
  };
1006
996
  declare const useRemoveParticipantFromChat: () => {
1007
- error: _apollo_client.ErrorLike | undefined;
997
+ error: _apollo_client.ApolloError | undefined;
1008
998
  loading: boolean;
1009
- removeParticipantFromChat: useMutation.MutationFunction<unknown, {
1010
- [x: string]: any;
1011
- }, _apollo_client.ApolloCache>;
999
+ removeParticipantFromChat: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1012
1000
  };
1013
1001
 
1014
1002
  declare const useGetChat: (_id: string) => {
1015
1003
  chat: ChatType | undefined;
1016
- error: _apollo_client.ErrorLike | undefined;
1004
+ error: _apollo_client.ApolloError | undefined;
1017
1005
  loading: boolean;
1018
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1006
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1019
1007
  chat: ChatType;
1020
1008
  }>>;
1021
1009
  };
1022
1010
  declare const useGetUserChats: () => {
1023
- error: _apollo_client.ErrorLike | undefined;
1011
+ error: _apollo_client.ApolloError | undefined;
1024
1012
  loading: boolean;
1025
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1013
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1026
1014
  userChats: ChatType[];
1027
1015
  }>>;
1028
1016
  userChats: ChatType[];
1029
1017
  };
1030
1018
  declare const useGetChatSubscription: () => {
1031
1019
  chat: ChatType | undefined;
1032
- error: _apollo_client.ErrorLike | undefined;
1020
+ error: _apollo_client.ApolloError | undefined;
1033
1021
  loading: boolean;
1034
1022
  };
1035
1023
 
1036
1024
  declare const useContactUs: () => {
1037
- contactUs: useMutation.MutationFunction<unknown, {
1038
- [x: string]: any;
1039
- }, _apollo_client.ApolloCache>;
1040
- error: _apollo_client.ErrorLike | undefined;
1025
+ contactUs: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1026
+ error: _apollo_client.ApolloError | undefined;
1041
1027
  loading: boolean;
1042
1028
  };
1043
1029
 
1044
1030
  declare const useCreateEvent: () => {
1045
- createEvent: useMutation.MutationFunction<unknown, {
1046
- [x: string]: any;
1047
- }, _apollo_client.ApolloCache>;
1048
- error: _apollo_client.ErrorLike | undefined;
1031
+ createEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1032
+ error: _apollo_client.ApolloError | undefined;
1049
1033
  loading: boolean;
1050
1034
  };
1051
1035
  declare const useUpdateEvent: () => {
1052
- error: _apollo_client.ErrorLike | undefined;
1036
+ error: _apollo_client.ApolloError | undefined;
1053
1037
  loading: boolean;
1054
- updateEvent: useMutation.MutationFunction<unknown, {
1055
- [x: string]: any;
1056
- }, _apollo_client.ApolloCache>;
1038
+ updateEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1057
1039
  };
1058
1040
  declare const useDeleteEvent: () => {
1059
- deleteEvent: useMutation.MutationFunction<unknown, {
1060
- [x: string]: any;
1061
- }, _apollo_client.ApolloCache>;
1062
- error: _apollo_client.ErrorLike | undefined;
1041
+ deleteEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1042
+ error: _apollo_client.ApolloError | undefined;
1063
1043
  loading: boolean;
1064
1044
  };
1065
1045
  declare const useCreateEventInfo: () => {
1066
- createEventInfo: useMutation.MutationFunction<{
1046
+ createEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
1047
+ createEventInfo: {
1048
+ eventId: string;
1049
+ };
1050
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1067
1051
  createEventInfo: {
1068
1052
  eventId: string;
1069
1053
  };
1070
- }, {
1071
- [x: string]: any;
1072
- }, _apollo_client.ApolloCache>;
1073
- error: _apollo_client.ErrorLike | undefined;
1054
+ }>>;
1055
+ error: _apollo_client.ApolloError | undefined;
1074
1056
  loading: boolean;
1075
1057
  };
1076
1058
  declare const useUpdateEventInfo: () => {
1077
- error: _apollo_client.ErrorLike | undefined;
1059
+ error: _apollo_client.ApolloError | undefined;
1078
1060
  loading: boolean;
1079
- updateEventInfo: useMutation.MutationFunction<{
1061
+ updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
1080
1062
  updateEventInfo: {
1081
1063
  eventId: string;
1082
1064
  };
1083
- }, {
1084
- [x: string]: any;
1085
- }, _apollo_client.ApolloCache>;
1065
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1066
+ updateEventInfo: {
1067
+ eventId: string;
1068
+ };
1069
+ }>>;
1086
1070
  };
1087
1071
 
1088
1072
  declare const useGetEvents: () => {
1089
- error: _apollo_client.ErrorLike | undefined;
1073
+ error: _apollo_client.ApolloError | undefined;
1090
1074
  events: EventType[];
1091
1075
  loading: boolean;
1092
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1076
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1093
1077
  events: EventType[];
1094
1078
  }>>;
1095
1079
  };
1096
1080
  declare const useGetEvent: (_id: string) => {
1097
- error: _apollo_client.ErrorLike | undefined;
1081
+ error: _apollo_client.ApolloError | undefined;
1098
1082
  event: EventType | undefined;
1099
1083
  loading: boolean;
1100
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1084
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1101
1085
  event: EventType;
1102
1086
  }>>;
1103
1087
  };
1104
1088
  declare const useGetEventsByRegion: (region: string) => {
1105
- error: _apollo_client.ErrorLike | undefined;
1089
+ error: _apollo_client.ApolloError | undefined;
1106
1090
  eventsByRegion: EventType[];
1107
1091
  loading: boolean;
1108
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1092
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1109
1093
  eventsByRegion: EventType[];
1110
1094
  }>>;
1111
1095
  };
1112
1096
  declare const useSearchEvents: (search: string, region: string) => {
1113
- error: _apollo_client.ErrorLike | undefined;
1097
+ error: _apollo_client.ApolloError | undefined;
1114
1098
  eventsSearch: EventType[];
1115
1099
  loading: boolean;
1116
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1100
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1117
1101
  eventsSearch: EventType[];
1118
1102
  }>>;
1119
1103
  };
@@ -1122,438 +1106,412 @@ declare const useGetEventsNearMe: (location: {
1122
1106
  longitude: number;
1123
1107
  radius?: number;
1124
1108
  }) => {
1125
- error: _apollo_client.ErrorLike | undefined;
1109
+ error: _apollo_client.ApolloError | undefined;
1126
1110
  eventsNearMe: EventType[];
1127
1111
  loading: boolean;
1128
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1112
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1129
1113
  eventsNearMe: EventType[];
1130
1114
  }>>;
1131
1115
  };
1132
1116
  declare const useGetEventInfo: (eventId: string) => {
1133
- error: _apollo_client.ErrorLike | undefined;
1117
+ error: _apollo_client.ApolloError | undefined;
1134
1118
  eventInfo: EventInfoType | undefined;
1135
1119
  loading: boolean;
1136
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1120
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1137
1121
  eventInfo: EventInfoType;
1138
1122
  }>>;
1139
1123
  };
1140
1124
 
1141
1125
  declare const useCreateBulkNotifications: () => {
1142
- createBulkNotifications: useMutation.MutationFunction<unknown, {
1143
- [x: string]: any;
1144
- }, _apollo_client.ApolloCache>;
1145
- error: _apollo_client.ErrorLike | undefined;
1126
+ createBulkNotifications: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1127
+ error: _apollo_client.ApolloError | undefined;
1146
1128
  loading: boolean;
1147
1129
  };
1148
1130
  declare const useMarkNotificationRead: () => {
1149
- error: _apollo_client.ErrorLike | undefined;
1131
+ error: _apollo_client.ApolloError | undefined;
1150
1132
  loading: boolean;
1151
- markNotificationRead: useMutation.MutationFunction<unknown, {
1152
- [x: string]: any;
1153
- }, _apollo_client.ApolloCache>;
1133
+ markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1154
1134
  };
1155
1135
  declare const useMarkAllNotificationsRead: () => {
1156
- error: _apollo_client.ErrorLike | undefined;
1136
+ error: _apollo_client.ApolloError | undefined;
1157
1137
  loading: boolean;
1158
- markAllNotificationsRead: useMutation.MutationFunction<unknown, {
1159
- [x: string]: any;
1160
- }, _apollo_client.ApolloCache>;
1138
+ markAllNotificationsRead: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1161
1139
  };
1162
1140
  declare const useDeleteNotification: () => {
1163
- deleteNotification: useMutation.MutationFunction<unknown, {
1164
- [x: string]: any;
1165
- }, _apollo_client.ApolloCache>;
1166
- error: _apollo_client.ErrorLike | undefined;
1141
+ deleteNotification: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1142
+ error: _apollo_client.ApolloError | undefined;
1167
1143
  loading: boolean;
1168
1144
  };
1169
1145
  declare const useDeleteAllNotifications: () => {
1170
- deleteAllNotifications: useMutation.MutationFunction<unknown, {
1171
- [x: string]: any;
1172
- }, _apollo_client.ApolloCache>;
1173
- error: _apollo_client.ErrorLike | undefined;
1146
+ deleteAllNotifications: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1147
+ error: _apollo_client.ApolloError | undefined;
1174
1148
  loading: boolean;
1175
1149
  };
1176
1150
 
1177
1151
  declare const useGetUserNotifications: (limit?: number, offset?: number) => {
1178
- error: _apollo_client.ErrorLike | undefined;
1152
+ error: _apollo_client.ApolloError | undefined;
1179
1153
  loading: boolean;
1180
1154
  notifications: NotificationType[];
1181
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1155
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1182
1156
  userNotifications: NotificationType[];
1183
1157
  }>>;
1184
1158
  };
1185
1159
  declare const useGetNotificationCount: () => {
1186
- error: _apollo_client.ErrorLike | undefined;
1160
+ error: _apollo_client.ApolloError | undefined;
1187
1161
  loading: boolean;
1188
1162
  notificationCount: NotificationCount;
1189
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1163
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1190
1164
  notificationCount: NotificationCount;
1191
1165
  }>>;
1192
1166
  };
1193
1167
 
1194
1168
  declare const useGetUserNotificationsSubscription: () => {
1195
- error: _apollo_client.ErrorLike | undefined;
1169
+ error: _apollo_client.ApolloError | undefined;
1196
1170
  loading: boolean;
1197
1171
  notifications: NotificationType[] | undefined;
1198
1172
  };
1199
1173
  declare const useGetNotificationCountSubscription: () => {
1200
- error: _apollo_client.ErrorLike | undefined;
1174
+ error: _apollo_client.ApolloError | undefined;
1201
1175
  loading: boolean;
1202
1176
  notificationCount: NotificationCount | undefined;
1203
1177
  };
1204
1178
 
1205
1179
  declare const useCreatePoster: () => {
1206
- createPoster: useMutation.MutationFunction<unknown, {
1207
- [x: string]: any;
1208
- }, _apollo_client.ApolloCache>;
1209
- error: _apollo_client.ErrorLike | undefined;
1180
+ createPoster: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1181
+ error: _apollo_client.ApolloError | undefined;
1210
1182
  loading: boolean;
1211
1183
  };
1212
1184
 
1213
1185
  declare const useCreatePushToken: () => {
1214
- createPushToken: useMutation.MutationFunction<unknown, {
1215
- [x: string]: any;
1216
- }, _apollo_client.ApolloCache>;
1217
- error: _apollo_client.ErrorLike | undefined;
1186
+ createPushToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1187
+ error: _apollo_client.ApolloError | undefined;
1218
1188
  loading: boolean;
1219
1189
  };
1220
1190
 
1221
1191
  declare const useCreateRelation: () => {
1222
- createRelation: useMutation.MutationFunction<{
1192
+ createRelation: (options?: _apollo_client.MutationFunctionOptions<{
1223
1193
  createRelation: {
1224
1194
  eventId: string;
1225
1195
  vendorId: string;
1226
1196
  lastUpdateBy: EnumResourceType;
1227
1197
  };
1228
- }, {
1229
- [x: string]: any;
1230
- }, _apollo_client.ApolloCache>;
1231
- error: _apollo_client.ErrorLike | undefined;
1198
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1199
+ createRelation: {
1200
+ eventId: string;
1201
+ vendorId: string;
1202
+ lastUpdateBy: EnumResourceType;
1203
+ };
1204
+ }>>;
1205
+ error: _apollo_client.ApolloError | undefined;
1232
1206
  loading: boolean;
1233
1207
  };
1234
1208
  declare const useUpdateRelation: () => {
1235
- error: _apollo_client.ErrorLike | undefined;
1209
+ error: _apollo_client.ApolloError | undefined;
1236
1210
  loading: boolean;
1237
- updateRelation: useMutation.MutationFunction<{
1211
+ updateRelation: (options?: _apollo_client.MutationFunctionOptions<{
1238
1212
  updateRelation: {
1239
1213
  eventId: string;
1240
1214
  vendorId: string;
1241
1215
  lastUpdateBy: EnumResourceType;
1242
1216
  };
1243
- }, {
1244
- [x: string]: any;
1245
- }, _apollo_client.ApolloCache>;
1217
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1218
+ updateRelation: {
1219
+ eventId: string;
1220
+ vendorId: string;
1221
+ lastUpdateBy: EnumResourceType;
1222
+ };
1223
+ }>>;
1246
1224
  };
1247
1225
  declare const useDeleteRelation: () => {
1248
- deleteRelation: useMutation.MutationFunction<{
1226
+ deleteRelation: (options?: _apollo_client.MutationFunctionOptions<{
1227
+ deleteRelation: {
1228
+ eventId: string;
1229
+ vendorId: string;
1230
+ lastUpdateBy: EnumResourceType;
1231
+ };
1232
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1249
1233
  deleteRelation: {
1250
1234
  eventId: string;
1251
1235
  vendorId: string;
1252
1236
  lastUpdateBy: EnumResourceType;
1253
1237
  };
1254
- }, {
1255
- [x: string]: any;
1256
- }, _apollo_client.ApolloCache>;
1257
- error: _apollo_client.ErrorLike | undefined;
1238
+ }>>;
1239
+ error: _apollo_client.ApolloError | undefined;
1258
1240
  loading: boolean;
1259
1241
  };
1260
1242
 
1261
1243
  declare const useGetRelation: (_id: string) => {
1262
- error: _apollo_client.ErrorLike | undefined;
1244
+ error: _apollo_client.ApolloError | undefined;
1263
1245
  loading: boolean;
1264
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1246
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1265
1247
  relation: RelationType;
1266
1248
  }>>;
1267
1249
  relation: RelationType | undefined;
1268
1250
  };
1269
1251
  declare const useGetRelationByEventAndVendor: (eventId: string, vendorId: string) => {
1270
- error: _apollo_client.ErrorLike | undefined;
1252
+ error: _apollo_client.ApolloError | undefined;
1271
1253
  loading: boolean;
1272
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1254
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1273
1255
  relationByEventAndVendor: RelationType;
1274
1256
  }>>;
1275
1257
  relationByEventAndVendor: RelationType | undefined;
1276
1258
  };
1277
1259
  declare const useGetEventRelations: (eventId: string) => {
1278
- error: _apollo_client.ErrorLike | undefined;
1260
+ error: _apollo_client.ApolloError | undefined;
1279
1261
  eventRelations: RelationType[];
1280
1262
  loading: boolean;
1281
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1263
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1282
1264
  eventRelations: RelationType[];
1283
1265
  }>>;
1284
1266
  };
1285
1267
  declare const useGetVendorRelations: (vendorId: string) => {
1286
- error: _apollo_client.ErrorLike | undefined;
1268
+ error: _apollo_client.ApolloError | undefined;
1287
1269
  loading: boolean;
1288
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1270
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1289
1271
  vendorRelations: RelationType[];
1290
1272
  }>>;
1291
1273
  vendorRelations: RelationType[];
1292
1274
  };
1293
1275
  declare const useGetResourceConnections: (resourceId: string, resourceType: EnumResourceType) => {
1294
- error: _apollo_client.ErrorLike | undefined;
1276
+ error: _apollo_client.ApolloError | undefined;
1295
1277
  loading: boolean;
1296
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1278
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1297
1279
  resourceConnections: ResourceConnectionsType;
1298
1280
  }>>;
1299
1281
  resourceConnections: ResourceConnectionsType | never[];
1300
1282
  };
1301
1283
 
1302
1284
  declare const useCreateVendor: () => {
1303
- createVendor: useMutation.MutationFunction<unknown, {
1304
- [x: string]: any;
1305
- }, _apollo_client.ApolloCache>;
1306
- error: _apollo_client.ErrorLike | undefined;
1285
+ createVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1286
+ error: _apollo_client.ApolloError | undefined;
1307
1287
  loading: boolean;
1308
1288
  };
1309
1289
  declare const useUpdateVendor: () => {
1310
- error: _apollo_client.ErrorLike | undefined;
1290
+ error: _apollo_client.ApolloError | undefined;
1311
1291
  loading: boolean;
1312
- updateVendor: useMutation.MutationFunction<unknown, {
1313
- [x: string]: any;
1314
- }, _apollo_client.ApolloCache>;
1292
+ updateVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1315
1293
  };
1316
1294
  declare const useDeleteVendor: () => {
1317
- deleteVendor: useMutation.MutationFunction<unknown, {
1318
- [x: string]: any;
1319
- }, _apollo_client.ApolloCache>;
1320
- error: _apollo_client.ErrorLike | undefined;
1295
+ deleteVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1296
+ error: _apollo_client.ApolloError | undefined;
1321
1297
  loading: boolean;
1322
1298
  };
1323
1299
  declare const useCreateVendorInfo: () => {
1324
- createVendorInfo: useMutation.MutationFunction<{
1300
+ createVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
1301
+ createVendorInfo: {
1302
+ vendorId: string;
1303
+ };
1304
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1325
1305
  createVendorInfo: {
1326
1306
  vendorId: string;
1327
1307
  };
1328
- }, {
1329
- [x: string]: any;
1330
- }, _apollo_client.ApolloCache>;
1331
- error: _apollo_client.ErrorLike | undefined;
1308
+ }>>;
1309
+ error: _apollo_client.ApolloError | undefined;
1332
1310
  loading: boolean;
1333
1311
  };
1334
1312
  declare const useUpdateVendorInfo: () => {
1335
- error: _apollo_client.ErrorLike | undefined;
1313
+ error: _apollo_client.ApolloError | undefined;
1336
1314
  loading: boolean;
1337
- updateVendorInfo: useMutation.MutationFunction<{
1315
+ updateVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
1316
+ updateVendorInfo: {
1317
+ vendorId: string;
1318
+ };
1319
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1338
1320
  updateVendorInfo: {
1339
1321
  vendorId: string;
1340
1322
  };
1341
- }, {
1342
- [x: string]: any;
1343
- }, _apollo_client.ApolloCache>;
1323
+ }>>;
1344
1324
  };
1345
1325
 
1346
1326
  declare const useGetVendors: () => {
1347
- error: _apollo_client.ErrorLike | undefined;
1327
+ error: _apollo_client.ApolloError | undefined;
1348
1328
  loading: boolean;
1349
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1329
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1350
1330
  vendors: VendorType[];
1351
1331
  }>>;
1352
1332
  vendors: VendorType[];
1353
1333
  };
1354
1334
  declare const useGetVendor: (_id: string) => {
1355
- error: _apollo_client.ErrorLike | undefined;
1335
+ error: _apollo_client.ApolloError | undefined;
1356
1336
  loading: boolean;
1357
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1337
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1358
1338
  vendor: VendorType;
1359
1339
  }>>;
1360
1340
  vendor: VendorType | undefined;
1361
1341
  };
1362
1342
  declare const useGetVendorsByRegion: (region: string) => {
1363
- error: _apollo_client.ErrorLike | undefined;
1343
+ error: _apollo_client.ApolloError | undefined;
1364
1344
  loading: boolean;
1365
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1345
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1366
1346
  vendorsByRegion: VendorType[];
1367
1347
  }>>;
1368
1348
  vendorsByRegion: VendorType[];
1369
1349
  };
1370
1350
  declare const useSearchVendors: (search: string, region: string) => {
1371
- error: _apollo_client.ErrorLike | undefined;
1351
+ error: _apollo_client.ApolloError | undefined;
1372
1352
  loading: boolean;
1373
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1353
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1374
1354
  vendorSearch: VendorType[];
1375
1355
  }>>;
1376
1356
  vendorSearch: VendorType[];
1377
1357
  };
1378
1358
  declare const useGetVendorInfo: (vendorId: string) => {
1379
- error: _apollo_client.ErrorLike | undefined;
1359
+ error: _apollo_client.ApolloError | undefined;
1380
1360
  loading: boolean;
1381
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1361
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1382
1362
  vendorInfo: VendorInfoType;
1383
1363
  }>>;
1384
1364
  vendorInfo: VendorInfoType | undefined;
1385
1365
  };
1386
1366
 
1387
1367
  declare const useCreateTester: () => {
1388
- createTester: useMutation.MutationFunction<unknown, {
1389
- [x: string]: any;
1390
- }, _apollo_client.ApolloCache>;
1391
- data: unknown;
1392
- error: _apollo_client.ErrorLike | undefined;
1368
+ createTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1369
+ data: any;
1370
+ error: _apollo_client.ApolloError | undefined;
1393
1371
  loading: boolean;
1394
1372
  };
1395
1373
  declare const useUpdateTester: () => {
1396
- data: unknown;
1397
- error: _apollo_client.ErrorLike | undefined;
1374
+ data: any;
1375
+ error: _apollo_client.ApolloError | undefined;
1398
1376
  loading: boolean;
1399
- updateTester: useMutation.MutationFunction<unknown, {
1400
- [x: string]: any;
1401
- }, _apollo_client.ApolloCache>;
1377
+ updateTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1402
1378
  };
1403
1379
  declare const useDeleteTester: () => {
1404
- deleteTester: useMutation.MutationFunction<unknown, {
1405
- [x: string]: any;
1406
- }, _apollo_client.ApolloCache>;
1407
- error: _apollo_client.ErrorLike | undefined;
1380
+ deleteTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1381
+ error: _apollo_client.ApolloError | undefined;
1408
1382
  loading: boolean;
1409
1383
  };
1410
1384
 
1411
1385
  declare const useGetTesters: () => {
1412
- error: _apollo_client.ErrorLike | undefined;
1386
+ error: _apollo_client.ApolloError | undefined;
1413
1387
  loading: boolean;
1414
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1388
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1415
1389
  testers: TesterType[];
1416
1390
  }>>;
1417
1391
  testers: TesterType[];
1418
1392
  };
1419
1393
  declare const useGetTester: (_id: string) => {
1420
- error: _apollo_client.ErrorLike | undefined;
1394
+ error: _apollo_client.ApolloError | undefined;
1421
1395
  loading: boolean;
1422
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1396
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1423
1397
  tester: TesterType;
1424
1398
  }>>;
1425
1399
  tester: TesterType | undefined;
1426
1400
  };
1427
1401
 
1428
1402
  declare const useCreateUser: () => {
1429
- createUser: useMutation.MutationFunction<unknown, {
1430
- [x: string]: any;
1431
- }, _apollo_client.ApolloCache>;
1432
- error: _apollo_client.ErrorLike | undefined;
1403
+ createUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1404
+ error: _apollo_client.ApolloError | undefined;
1433
1405
  loading: boolean;
1434
1406
  };
1435
1407
  declare const useUpdateUser: () => {
1436
- error: _apollo_client.ErrorLike | undefined;
1408
+ error: _apollo_client.ApolloError | undefined;
1437
1409
  loading: boolean;
1438
- updateUser: useMutation.MutationFunction<{
1410
+ updateUser: (options?: _apollo_client.MutationFunctionOptions<{
1439
1411
  updateUser: {
1440
1412
  _id: string;
1441
1413
  };
1442
- }, {
1443
- [x: string]: any;
1444
- }, _apollo_client.ApolloCache>;
1414
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1415
+ updateUser: {
1416
+ _id: string;
1417
+ };
1418
+ }>>;
1445
1419
  };
1446
1420
  declare const useDeleteUser: () => {
1447
- deleteUser: useMutation.MutationFunction<unknown, {
1448
- [x: string]: any;
1449
- }, _apollo_client.ApolloCache>;
1450
- error: _apollo_client.ErrorLike | undefined;
1421
+ deleteUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1422
+ error: _apollo_client.ApolloError | undefined;
1451
1423
  loading: boolean;
1452
1424
  };
1453
1425
  declare const useAddUserFavouriteResource: () => {
1454
- addUserFavouriteResource: useMutation.MutationFunction<unknown, {
1455
- [x: string]: any;
1456
- }, _apollo_client.ApolloCache>;
1457
- error: _apollo_client.ErrorLike | undefined;
1426
+ addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1427
+ error: _apollo_client.ApolloError | undefined;
1458
1428
  loading: boolean;
1459
1429
  };
1460
1430
  declare const useRemoveUserFavouriteResource: () => {
1461
- error: _apollo_client.ErrorLike | undefined;
1431
+ error: _apollo_client.ApolloError | undefined;
1462
1432
  loading: boolean;
1463
- removeUserFavouriteResource: useMutation.MutationFunction<unknown, {
1464
- [x: string]: any;
1465
- }, _apollo_client.ApolloCache>;
1433
+ removeUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1466
1434
  };
1467
1435
  declare const useSelectPackage: () => {
1468
- error: _apollo_client.ErrorLike | undefined;
1436
+ error: _apollo_client.ApolloError | undefined;
1469
1437
  loading: boolean;
1470
- selectPackage: useMutation.MutationFunction<{
1438
+ selectPackage: (options?: _apollo_client.MutationFunctionOptions<{
1439
+ selectPackage: {
1440
+ userId: string;
1441
+ };
1442
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1471
1443
  selectPackage: {
1472
1444
  userId: string;
1473
1445
  };
1474
- }, {
1475
- [x: string]: any;
1476
- }, _apollo_client.ApolloCache>;
1446
+ }>>;
1477
1447
  };
1478
1448
  declare const useAddUserInterestResource: () => {
1479
- addUserInterestResource: useMutation.MutationFunction<unknown, {
1480
- [x: string]: any;
1481
- }, _apollo_client.ApolloCache>;
1482
- error: _apollo_client.ErrorLike | undefined;
1449
+ addUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1450
+ error: _apollo_client.ApolloError | undefined;
1483
1451
  loading: boolean;
1484
1452
  };
1485
1453
  declare const useRemoveUserInterestResource: () => {
1486
- error: _apollo_client.ErrorLike | undefined;
1454
+ error: _apollo_client.ApolloError | undefined;
1487
1455
  loading: boolean;
1488
- removeUserInterestResource: useMutation.MutationFunction<unknown, {
1489
- [x: string]: any;
1490
- }, _apollo_client.ApolloCache>;
1456
+ removeUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1491
1457
  };
1492
1458
  declare const useAddUserGoingResource: () => {
1493
- addUserGoingResource: useMutation.MutationFunction<unknown, {
1494
- [x: string]: any;
1495
- }, _apollo_client.ApolloCache>;
1496
- error: _apollo_client.ErrorLike | undefined;
1459
+ addUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1460
+ error: _apollo_client.ApolloError | undefined;
1497
1461
  loading: boolean;
1498
1462
  };
1499
1463
  declare const useRemoveUserGoingResource: () => {
1500
- error: _apollo_client.ErrorLike | undefined;
1464
+ error: _apollo_client.ApolloError | undefined;
1501
1465
  loading: boolean;
1502
- removeUserGoingResource: useMutation.MutationFunction<unknown, {
1503
- [x: string]: any;
1504
- }, _apollo_client.ApolloCache>;
1466
+ removeUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1505
1467
  };
1506
1468
  declare const useAddUserPresentResource: () => {
1507
- addUserPresentResource: useMutation.MutationFunction<unknown, {
1508
- [x: string]: any;
1509
- }, _apollo_client.ApolloCache>;
1510
- error: _apollo_client.ErrorLike | undefined;
1469
+ addUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1470
+ error: _apollo_client.ApolloError | undefined;
1511
1471
  loading: boolean;
1512
1472
  };
1513
1473
  declare const useRemoveUserPresentResource: () => {
1514
- error: _apollo_client.ErrorLike | undefined;
1474
+ error: _apollo_client.ApolloError | undefined;
1515
1475
  loading: boolean;
1516
- removeUserPresentResource: useMutation.MutationFunction<unknown, {
1517
- [x: string]: any;
1518
- }, _apollo_client.ApolloCache>;
1476
+ removeUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1519
1477
  };
1520
1478
 
1521
1479
  declare const useGetUsers: () => {
1522
- error: _apollo_client.ErrorLike | undefined;
1480
+ error: _apollo_client.ApolloError | undefined;
1523
1481
  loading: boolean;
1524
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1482
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1525
1483
  users: UserType[];
1526
1484
  }>>;
1527
1485
  users: UserType[];
1528
1486
  };
1529
1487
  declare const useGetUser: (_id: string) => {
1530
- error: _apollo_client.ErrorLike | undefined;
1488
+ error: _apollo_client.ApolloError | undefined;
1531
1489
  loading: boolean;
1532
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1490
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1533
1491
  user: UserType;
1534
1492
  }>>;
1535
1493
  user: UserType | undefined;
1536
1494
  };
1537
1495
  declare const useGetUserEvents: () => {
1538
- error: _apollo_client.ErrorLike | undefined;
1496
+ error: _apollo_client.ApolloError | undefined;
1539
1497
  loading: boolean;
1540
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1498
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1541
1499
  userEvents: EventType[];
1542
1500
  }>>;
1543
1501
  userEvents: EventType[];
1544
1502
  };
1545
1503
  declare const useGetUserVendors: () => {
1546
- error: _apollo_client.ErrorLike | undefined;
1504
+ error: _apollo_client.ApolloError | undefined;
1547
1505
  loading: boolean;
1548
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1506
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1549
1507
  userVendors: VendorType[];
1550
1508
  }>>;
1551
1509
  userVendors: VendorType[];
1552
1510
  };
1553
1511
  declare const useGetUserActivities: () => {
1554
- error: _apollo_client.ErrorLike | undefined;
1512
+ error: _apollo_client.ApolloError | undefined;
1555
1513
  loading: boolean;
1556
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1514
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1557
1515
  userActivities: {
1558
1516
  favourites: {
1559
1517
  events: EventType[];
@@ -1588,151 +1546,131 @@ declare const useGetUserActivities: () => {
1588
1546
  };
1589
1547
 
1590
1548
  declare const useCreateAd: () => {
1591
- createAd: useMutation.MutationFunction<unknown, {
1592
- [x: string]: any;
1593
- }, _apollo_client.ApolloCache>;
1594
- error: _apollo_client.ErrorLike | undefined;
1549
+ createAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1550
+ error: _apollo_client.ApolloError | undefined;
1595
1551
  loading: boolean;
1596
1552
  };
1597
1553
  declare const useUpdateAd: () => {
1598
- error: _apollo_client.ErrorLike | undefined;
1554
+ error: _apollo_client.ApolloError | undefined;
1599
1555
  loading: boolean;
1600
- updateAd: useMutation.MutationFunction<unknown, {
1601
- [x: string]: any;
1602
- }, _apollo_client.ApolloCache>;
1556
+ updateAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1603
1557
  };
1604
1558
  declare const useDeleteAd: () => {
1605
- deleteAd: useMutation.MutationFunction<unknown, {
1606
- [x: string]: any;
1607
- }, _apollo_client.ApolloCache>;
1608
- error: _apollo_client.ErrorLike | undefined;
1559
+ deleteAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1560
+ error: _apollo_client.ApolloError | undefined;
1609
1561
  loading: boolean;
1610
1562
  };
1611
1563
 
1612
1564
  declare const useGetAds: () => {
1613
1565
  ads: AdType[];
1614
- error: _apollo_client.ErrorLike | undefined;
1566
+ error: _apollo_client.ApolloError | undefined;
1615
1567
  loading: boolean;
1616
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1568
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1617
1569
  ads: AdType[];
1618
1570
  }>>;
1619
1571
  };
1620
1572
  declare const useGetAd: (_id: string) => {
1621
1573
  ad: AdType | undefined;
1622
- error: _apollo_client.ErrorLike | undefined;
1574
+ error: _apollo_client.ApolloError | undefined;
1623
1575
  loading: boolean;
1624
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1576
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1625
1577
  ad: AdType;
1626
1578
  }>>;
1627
1579
  };
1628
1580
  declare const useGetAdsByRegion: (region: string, status?: EnumAdStatus) => {
1629
1581
  adsByRegion: AdType[];
1630
- error: _apollo_client.ErrorLike | undefined;
1582
+ error: _apollo_client.ApolloError | undefined;
1631
1583
  loading: boolean;
1632
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1584
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1633
1585
  adsByRegion: AdType[];
1634
1586
  }>>;
1635
1587
  };
1636
1588
 
1637
1589
  declare const useCreateResourceActivity: () => {
1638
- createResourceActivity: useMutation.MutationFunction<unknown, {
1639
- [x: string]: any;
1640
- }, _apollo_client.ApolloCache>;
1641
- error: _apollo_client.ErrorLike | undefined;
1590
+ createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1591
+ error: _apollo_client.ApolloError | undefined;
1642
1592
  loading: boolean;
1643
1593
  };
1644
1594
 
1645
1595
  declare const useGetResourceActivities: (resourceId: string, resourceType: EnumResourceType) => {
1646
- error: _apollo_client.ErrorLike | undefined;
1596
+ error: _apollo_client.ApolloError | undefined;
1647
1597
  loading: boolean;
1648
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1598
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1649
1599
  resourceActivities: ResourceActivityType[];
1650
1600
  }>>;
1651
1601
  resourceActivities: ResourceActivityType[];
1652
1602
  };
1653
1603
 
1654
1604
  declare const useCreateCheckoutSession: () => {
1655
- createCheckoutSession: useMutation.MutationFunction<unknown, {
1656
- [x: string]: any;
1657
- }, _apollo_client.ApolloCache>;
1658
- error: _apollo_client.ErrorLike | undefined;
1605
+ createCheckoutSession: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1606
+ error: _apollo_client.ApolloError | undefined;
1659
1607
  loading: boolean;
1660
1608
  };
1661
1609
  declare const useCancelSubscription: () => {
1662
- cancelSubscription: useMutation.MutationFunction<unknown, {
1663
- [x: string]: any;
1664
- }, _apollo_client.ApolloCache>;
1665
- error: _apollo_client.ErrorLike | undefined;
1610
+ cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1611
+ error: _apollo_client.ApolloError | undefined;
1666
1612
  loading: boolean;
1667
1613
  };
1668
1614
  declare const useUpdateSubscriptionPlan: () => {
1669
- error: _apollo_client.ErrorLike | undefined;
1615
+ error: _apollo_client.ApolloError | undefined;
1670
1616
  loading: boolean;
1671
- updateSubscriptionPlan: useMutation.MutationFunction<unknown, {
1672
- [x: string]: any;
1673
- }, _apollo_client.ApolloCache>;
1617
+ updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1674
1618
  };
1675
1619
 
1676
1620
  declare const useGetSubscriptionStatus: () => {
1677
1621
  data: SubscriptionStatusData | undefined;
1678
- error: _apollo_client.ErrorLike | undefined;
1622
+ error: _apollo_client.ApolloError | undefined;
1679
1623
  loading: boolean;
1680
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1624
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1681
1625
  getSubscriptionStatus: SubscriptionStatusData;
1682
1626
  }>>;
1683
1627
  };
1684
1628
 
1685
1629
  declare const useCreatePartner: () => {
1686
- createPartner: useMutation.MutationFunction<unknown, {
1687
- [x: string]: any;
1688
- }, _apollo_client.ApolloCache>;
1689
- error: _apollo_client.ErrorLike | undefined;
1630
+ createPartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1631
+ error: _apollo_client.ApolloError | undefined;
1690
1632
  loading: boolean;
1691
1633
  };
1692
1634
  declare const useUpdatePartner: () => {
1693
- error: _apollo_client.ErrorLike | undefined;
1635
+ error: _apollo_client.ApolloError | undefined;
1694
1636
  loading: boolean;
1695
- updatePartner: useMutation.MutationFunction<unknown, {
1696
- [x: string]: any;
1697
- }, _apollo_client.ApolloCache>;
1637
+ updatePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1698
1638
  };
1699
1639
  declare const useDeletePartner: () => {
1700
- deletePartner: useMutation.MutationFunction<unknown, {
1701
- [x: string]: any;
1702
- }, _apollo_client.ApolloCache>;
1703
- error: _apollo_client.ErrorLike | undefined;
1640
+ deletePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1641
+ error: _apollo_client.ApolloError | undefined;
1704
1642
  loading: boolean;
1705
1643
  };
1706
1644
 
1707
1645
  declare const useGetPartners: () => {
1708
- error: _apollo_client.ErrorLike | undefined;
1646
+ error: _apollo_client.ApolloError | undefined;
1709
1647
  loading: boolean;
1710
1648
  partners: PartnerType[];
1711
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1649
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1712
1650
  partners: PartnerType[];
1713
1651
  }>>;
1714
1652
  };
1715
1653
  declare const useGetPartner: (_id: string) => {
1716
- error: _apollo_client.ErrorLike | undefined;
1654
+ error: _apollo_client.ApolloError | undefined;
1717
1655
  loading: boolean;
1718
1656
  partner: PartnerType | undefined;
1719
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1657
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1720
1658
  partner: PartnerType;
1721
1659
  }>>;
1722
1660
  };
1723
1661
  declare const useGetPartnersByRegion: (region: string) => {
1724
- error: _apollo_client.ErrorLike | undefined;
1662
+ error: _apollo_client.ApolloError | undefined;
1725
1663
  loading: boolean;
1726
1664
  partnersByRegion: PartnerType[];
1727
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1665
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1728
1666
  partnersByRegion: PartnerType[];
1729
1667
  }>>;
1730
1668
  };
1731
1669
  declare const useSearchPartners: (search: string, region: string) => {
1732
- error: _apollo_client.ErrorLike | undefined;
1670
+ error: _apollo_client.ApolloError | undefined;
1733
1671
  loading: boolean;
1734
1672
  partnersSearch: PartnerType[];
1735
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
1673
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1736
1674
  partnersSearch: PartnerType[];
1737
1675
  }>>;
1738
1676
  };