@timardex/cluemart-shared 1.2.72 → 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.
@@ -1,5 +1,4 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
- import { useMutation } from '@apollo/client/react';
3
2
  import { EnumResourceType } from '../enums/index.mjs';
4
3
  import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-DB-fx51l.mjs';
5
4
  import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType, U as UserType, f as SubscriptionStatusData } from '../global-B0AzhgkH.mjs';
@@ -7,208 +6,193 @@ import { T as TesterType, A as AdType, E as EnumAdStatus, P as PartnerType } fro
7
6
  import 'react-hook-form';
8
7
 
9
8
  declare const useAdminUpdateResourceType: () => {
10
- adminUpdateResourceType: useMutation.MutationFunction<{
9
+ adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<{
11
10
  adminUpdateResourceType: {
12
11
  resourceId: string;
13
12
  resourceType: EnumResourceType;
14
13
  };
15
- }, {
16
- [x: string]: any;
17
- }, _apollo_client.ApolloCache>;
18
- error: _apollo_client.ErrorLike | undefined;
14
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
15
+ adminUpdateResourceType: {
16
+ resourceId: string;
17
+ resourceType: EnumResourceType;
18
+ };
19
+ }>>;
20
+ error: _apollo_client.ApolloError | undefined;
19
21
  loading: boolean;
20
22
  };
21
23
 
22
24
  declare const useRegister: () => {
23
- error: _apollo_client.ErrorLike | undefined;
25
+ error: _apollo_client.ApolloError | undefined;
24
26
  loading: boolean;
25
- register: useMutation.MutationFunction<unknown, {
26
- [x: string]: any;
27
- }, _apollo_client.ApolloCache>;
27
+ register: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
28
28
  };
29
29
  declare const useLogin: () => {
30
- error: _apollo_client.ErrorLike | undefined;
30
+ error: _apollo_client.ApolloError | undefined;
31
31
  loading: boolean;
32
- login: useMutation.MutationFunction<unknown, {
33
- [x: string]: any;
34
- }, _apollo_client.ApolloCache>;
32
+ login: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
35
33
  };
36
34
  declare const useLogout: () => {
37
- error: _apollo_client.ErrorLike | undefined;
35
+ error: _apollo_client.ApolloError | undefined;
38
36
  loading: boolean;
39
- logout: useMutation.MutationFunction<unknown, {
40
- [x: string]: any;
41
- }, _apollo_client.ApolloCache>;
37
+ logout: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
42
38
  };
43
39
  declare const useRefreshToken: () => {
44
- error: _apollo_client.ErrorLike | undefined;
40
+ error: _apollo_client.ApolloError | undefined;
45
41
  loading: boolean;
46
- refreshToken: useMutation.MutationFunction<unknown, {
47
- [x: string]: any;
48
- }, _apollo_client.ApolloCache>;
42
+ refreshToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
49
43
  };
50
44
  declare const useRequestPasswordReset: () => {
51
- error: _apollo_client.ErrorLike | undefined;
45
+ error: _apollo_client.ApolloError | undefined;
52
46
  loading: boolean;
53
- requestPasswordReset: useMutation.MutationFunction<unknown, {
54
- [x: string]: any;
55
- }, _apollo_client.ApolloCache>;
47
+ requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
56
48
  };
57
49
  declare const useValidateVerificationToken: () => {
58
- error: _apollo_client.ErrorLike | undefined;
50
+ error: _apollo_client.ApolloError | undefined;
59
51
  loading: boolean;
60
- validateVerificationToken: useMutation.MutationFunction<unknown, {
61
- [x: string]: any;
62
- }, _apollo_client.ApolloCache>;
52
+ validateVerificationToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
63
53
  };
64
54
  declare const useResetPassword: () => {
65
- error: _apollo_client.ErrorLike | undefined;
55
+ error: _apollo_client.ApolloError | undefined;
66
56
  loading: boolean;
67
- resetPassword: useMutation.MutationFunction<unknown, {
68
- [x: string]: any;
69
- }, _apollo_client.ApolloCache>;
57
+ resetPassword: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
70
58
  };
71
59
 
72
60
  declare const useSendChatMessage: () => {
73
- error: _apollo_client.ErrorLike | undefined;
61
+ error: _apollo_client.ApolloError | undefined;
74
62
  loading: boolean;
75
- sendChatMessage: useMutation.MutationFunction<{
63
+ sendChatMessage: (options?: _apollo_client.MutationFunctionOptions<{
64
+ sendChatMessage: {
65
+ _id: string;
66
+ };
67
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
76
68
  sendChatMessage: {
77
69
  _id: string;
78
70
  };
79
- }, {
80
- [x: string]: any;
81
- }, _apollo_client.ApolloCache>;
71
+ }>>;
82
72
  };
83
73
  declare const useDeleteChat: () => {
84
- deleteChat: useMutation.MutationFunction<unknown, {
85
- [x: string]: any;
86
- }, _apollo_client.ApolloCache>;
87
- error: _apollo_client.ErrorLike | undefined;
74
+ deleteChat: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
75
+ error: _apollo_client.ApolloError | undefined;
88
76
  loading: boolean;
89
77
  };
90
78
  declare const useAddParticipantToChat: () => {
91
- addParticipantToChat: useMutation.MutationFunction<{
79
+ addParticipantToChat: (options?: _apollo_client.MutationFunctionOptions<{
92
80
  addParticipantToChat: {
93
81
  _id: string;
94
82
  };
95
- }, {
96
- [x: string]: any;
97
- }, _apollo_client.ApolloCache>;
98
- error: _apollo_client.ErrorLike | undefined;
83
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
84
+ addParticipantToChat: {
85
+ _id: string;
86
+ };
87
+ }>>;
88
+ error: _apollo_client.ApolloError | undefined;
99
89
  loading: boolean;
100
90
  };
101
91
  declare const useRemoveParticipantFromChat: () => {
102
- error: _apollo_client.ErrorLike | undefined;
92
+ error: _apollo_client.ApolloError | undefined;
103
93
  loading: boolean;
104
- removeParticipantFromChat: useMutation.MutationFunction<unknown, {
105
- [x: string]: any;
106
- }, _apollo_client.ApolloCache>;
94
+ removeParticipantFromChat: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
107
95
  };
108
96
 
109
97
  declare const useGetChat: (_id: string) => {
110
98
  chat: ChatType | undefined;
111
- error: _apollo_client.ErrorLike | undefined;
99
+ error: _apollo_client.ApolloError | undefined;
112
100
  loading: boolean;
113
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
101
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
114
102
  chat: ChatType;
115
103
  }>>;
116
104
  };
117
105
  declare const useGetUserChats: () => {
118
- error: _apollo_client.ErrorLike | undefined;
106
+ error: _apollo_client.ApolloError | undefined;
119
107
  loading: boolean;
120
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
108
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
121
109
  userChats: ChatType[];
122
110
  }>>;
123
111
  userChats: ChatType[];
124
112
  };
125
113
  declare const useGetChatSubscription: () => {
126
114
  chat: ChatType | undefined;
127
- error: _apollo_client.ErrorLike | undefined;
115
+ error: _apollo_client.ApolloError | undefined;
128
116
  loading: boolean;
129
117
  };
130
118
 
131
119
  declare const useContactUs: () => {
132
- contactUs: useMutation.MutationFunction<unknown, {
133
- [x: string]: any;
134
- }, _apollo_client.ApolloCache>;
135
- error: _apollo_client.ErrorLike | undefined;
120
+ contactUs: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
121
+ error: _apollo_client.ApolloError | undefined;
136
122
  loading: boolean;
137
123
  };
138
124
 
139
125
  declare const useCreateEvent: () => {
140
- createEvent: useMutation.MutationFunction<unknown, {
141
- [x: string]: any;
142
- }, _apollo_client.ApolloCache>;
143
- error: _apollo_client.ErrorLike | undefined;
126
+ createEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
127
+ error: _apollo_client.ApolloError | undefined;
144
128
  loading: boolean;
145
129
  };
146
130
  declare const useUpdateEvent: () => {
147
- error: _apollo_client.ErrorLike | undefined;
131
+ error: _apollo_client.ApolloError | undefined;
148
132
  loading: boolean;
149
- updateEvent: useMutation.MutationFunction<unknown, {
150
- [x: string]: any;
151
- }, _apollo_client.ApolloCache>;
133
+ updateEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
152
134
  };
153
135
  declare const useDeleteEvent: () => {
154
- deleteEvent: useMutation.MutationFunction<unknown, {
155
- [x: string]: any;
156
- }, _apollo_client.ApolloCache>;
157
- error: _apollo_client.ErrorLike | undefined;
136
+ deleteEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
137
+ error: _apollo_client.ApolloError | undefined;
158
138
  loading: boolean;
159
139
  };
160
140
  declare const useCreateEventInfo: () => {
161
- createEventInfo: useMutation.MutationFunction<{
141
+ createEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
142
+ createEventInfo: {
143
+ eventId: string;
144
+ };
145
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
162
146
  createEventInfo: {
163
147
  eventId: string;
164
148
  };
165
- }, {
166
- [x: string]: any;
167
- }, _apollo_client.ApolloCache>;
168
- error: _apollo_client.ErrorLike | undefined;
149
+ }>>;
150
+ error: _apollo_client.ApolloError | undefined;
169
151
  loading: boolean;
170
152
  };
171
153
  declare const useUpdateEventInfo: () => {
172
- error: _apollo_client.ErrorLike | undefined;
154
+ error: _apollo_client.ApolloError | undefined;
173
155
  loading: boolean;
174
- updateEventInfo: useMutation.MutationFunction<{
156
+ updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
175
157
  updateEventInfo: {
176
158
  eventId: string;
177
159
  };
178
- }, {
179
- [x: string]: any;
180
- }, _apollo_client.ApolloCache>;
160
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
161
+ updateEventInfo: {
162
+ eventId: string;
163
+ };
164
+ }>>;
181
165
  };
182
166
 
183
167
  declare const useGetEvents: () => {
184
- error: _apollo_client.ErrorLike | undefined;
168
+ error: _apollo_client.ApolloError | undefined;
185
169
  events: EventType[];
186
170
  loading: boolean;
187
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
171
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
188
172
  events: EventType[];
189
173
  }>>;
190
174
  };
191
175
  declare const useGetEvent: (_id: string) => {
192
- error: _apollo_client.ErrorLike | undefined;
176
+ error: _apollo_client.ApolloError | undefined;
193
177
  event: EventType | undefined;
194
178
  loading: boolean;
195
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
179
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
196
180
  event: EventType;
197
181
  }>>;
198
182
  };
199
183
  declare const useGetEventsByRegion: (region: string) => {
200
- error: _apollo_client.ErrorLike | undefined;
184
+ error: _apollo_client.ApolloError | undefined;
201
185
  eventsByRegion: EventType[];
202
186
  loading: boolean;
203
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
187
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
204
188
  eventsByRegion: EventType[];
205
189
  }>>;
206
190
  };
207
191
  declare const useSearchEvents: (search: string, region: string) => {
208
- error: _apollo_client.ErrorLike | undefined;
192
+ error: _apollo_client.ApolloError | undefined;
209
193
  eventsSearch: EventType[];
210
194
  loading: boolean;
211
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
195
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
212
196
  eventsSearch: EventType[];
213
197
  }>>;
214
198
  };
@@ -217,438 +201,412 @@ declare const useGetEventsNearMe: (location: {
217
201
  longitude: number;
218
202
  radius?: number;
219
203
  }) => {
220
- error: _apollo_client.ErrorLike | undefined;
204
+ error: _apollo_client.ApolloError | undefined;
221
205
  eventsNearMe: EventType[];
222
206
  loading: boolean;
223
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
207
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
224
208
  eventsNearMe: EventType[];
225
209
  }>>;
226
210
  };
227
211
  declare const useGetEventInfo: (eventId: string) => {
228
- error: _apollo_client.ErrorLike | undefined;
212
+ error: _apollo_client.ApolloError | undefined;
229
213
  eventInfo: EventInfoType | undefined;
230
214
  loading: boolean;
231
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
215
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
232
216
  eventInfo: EventInfoType;
233
217
  }>>;
234
218
  };
235
219
 
236
220
  declare const useCreateBulkNotifications: () => {
237
- createBulkNotifications: useMutation.MutationFunction<unknown, {
238
- [x: string]: any;
239
- }, _apollo_client.ApolloCache>;
240
- error: _apollo_client.ErrorLike | undefined;
221
+ createBulkNotifications: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
222
+ error: _apollo_client.ApolloError | undefined;
241
223
  loading: boolean;
242
224
  };
243
225
  declare const useMarkNotificationRead: () => {
244
- error: _apollo_client.ErrorLike | undefined;
226
+ error: _apollo_client.ApolloError | undefined;
245
227
  loading: boolean;
246
- markNotificationRead: useMutation.MutationFunction<unknown, {
247
- [x: string]: any;
248
- }, _apollo_client.ApolloCache>;
228
+ markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
249
229
  };
250
230
  declare const useMarkAllNotificationsRead: () => {
251
- error: _apollo_client.ErrorLike | undefined;
231
+ error: _apollo_client.ApolloError | undefined;
252
232
  loading: boolean;
253
- markAllNotificationsRead: useMutation.MutationFunction<unknown, {
254
- [x: string]: any;
255
- }, _apollo_client.ApolloCache>;
233
+ markAllNotificationsRead: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
256
234
  };
257
235
  declare const useDeleteNotification: () => {
258
- deleteNotification: useMutation.MutationFunction<unknown, {
259
- [x: string]: any;
260
- }, _apollo_client.ApolloCache>;
261
- error: _apollo_client.ErrorLike | undefined;
236
+ deleteNotification: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
237
+ error: _apollo_client.ApolloError | undefined;
262
238
  loading: boolean;
263
239
  };
264
240
  declare const useDeleteAllNotifications: () => {
265
- deleteAllNotifications: useMutation.MutationFunction<unknown, {
266
- [x: string]: any;
267
- }, _apollo_client.ApolloCache>;
268
- error: _apollo_client.ErrorLike | undefined;
241
+ deleteAllNotifications: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
242
+ error: _apollo_client.ApolloError | undefined;
269
243
  loading: boolean;
270
244
  };
271
245
 
272
246
  declare const useGetUserNotifications: (limit?: number, offset?: number) => {
273
- error: _apollo_client.ErrorLike | undefined;
247
+ error: _apollo_client.ApolloError | undefined;
274
248
  loading: boolean;
275
249
  notifications: NotificationType[];
276
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
250
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
277
251
  userNotifications: NotificationType[];
278
252
  }>>;
279
253
  };
280
254
  declare const useGetNotificationCount: () => {
281
- error: _apollo_client.ErrorLike | undefined;
255
+ error: _apollo_client.ApolloError | undefined;
282
256
  loading: boolean;
283
257
  notificationCount: NotificationCount;
284
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
258
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
285
259
  notificationCount: NotificationCount;
286
260
  }>>;
287
261
  };
288
262
 
289
263
  declare const useGetUserNotificationsSubscription: () => {
290
- error: _apollo_client.ErrorLike | undefined;
264
+ error: _apollo_client.ApolloError | undefined;
291
265
  loading: boolean;
292
266
  notifications: NotificationType[] | undefined;
293
267
  };
294
268
  declare const useGetNotificationCountSubscription: () => {
295
- error: _apollo_client.ErrorLike | undefined;
269
+ error: _apollo_client.ApolloError | undefined;
296
270
  loading: boolean;
297
271
  notificationCount: NotificationCount | undefined;
298
272
  };
299
273
 
300
274
  declare const useCreatePoster: () => {
301
- createPoster: useMutation.MutationFunction<unknown, {
302
- [x: string]: any;
303
- }, _apollo_client.ApolloCache>;
304
- error: _apollo_client.ErrorLike | undefined;
275
+ createPoster: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
276
+ error: _apollo_client.ApolloError | undefined;
305
277
  loading: boolean;
306
278
  };
307
279
 
308
280
  declare const useCreatePushToken: () => {
309
- createPushToken: useMutation.MutationFunction<unknown, {
310
- [x: string]: any;
311
- }, _apollo_client.ApolloCache>;
312
- error: _apollo_client.ErrorLike | undefined;
281
+ createPushToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
282
+ error: _apollo_client.ApolloError | undefined;
313
283
  loading: boolean;
314
284
  };
315
285
 
316
286
  declare const useCreateRelation: () => {
317
- createRelation: useMutation.MutationFunction<{
287
+ createRelation: (options?: _apollo_client.MutationFunctionOptions<{
318
288
  createRelation: {
319
289
  eventId: string;
320
290
  vendorId: string;
321
291
  lastUpdateBy: EnumResourceType;
322
292
  };
323
- }, {
324
- [x: string]: any;
325
- }, _apollo_client.ApolloCache>;
326
- error: _apollo_client.ErrorLike | undefined;
293
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
294
+ createRelation: {
295
+ eventId: string;
296
+ vendorId: string;
297
+ lastUpdateBy: EnumResourceType;
298
+ };
299
+ }>>;
300
+ error: _apollo_client.ApolloError | undefined;
327
301
  loading: boolean;
328
302
  };
329
303
  declare const useUpdateRelation: () => {
330
- error: _apollo_client.ErrorLike | undefined;
304
+ error: _apollo_client.ApolloError | undefined;
331
305
  loading: boolean;
332
- updateRelation: useMutation.MutationFunction<{
306
+ updateRelation: (options?: _apollo_client.MutationFunctionOptions<{
333
307
  updateRelation: {
334
308
  eventId: string;
335
309
  vendorId: string;
336
310
  lastUpdateBy: EnumResourceType;
337
311
  };
338
- }, {
339
- [x: string]: any;
340
- }, _apollo_client.ApolloCache>;
312
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
313
+ updateRelation: {
314
+ eventId: string;
315
+ vendorId: string;
316
+ lastUpdateBy: EnumResourceType;
317
+ };
318
+ }>>;
341
319
  };
342
320
  declare const useDeleteRelation: () => {
343
- deleteRelation: useMutation.MutationFunction<{
321
+ deleteRelation: (options?: _apollo_client.MutationFunctionOptions<{
322
+ deleteRelation: {
323
+ eventId: string;
324
+ vendorId: string;
325
+ lastUpdateBy: EnumResourceType;
326
+ };
327
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
344
328
  deleteRelation: {
345
329
  eventId: string;
346
330
  vendorId: string;
347
331
  lastUpdateBy: EnumResourceType;
348
332
  };
349
- }, {
350
- [x: string]: any;
351
- }, _apollo_client.ApolloCache>;
352
- error: _apollo_client.ErrorLike | undefined;
333
+ }>>;
334
+ error: _apollo_client.ApolloError | undefined;
353
335
  loading: boolean;
354
336
  };
355
337
 
356
338
  declare const useGetRelation: (_id: string) => {
357
- error: _apollo_client.ErrorLike | undefined;
339
+ error: _apollo_client.ApolloError | undefined;
358
340
  loading: boolean;
359
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
341
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
360
342
  relation: RelationType;
361
343
  }>>;
362
344
  relation: RelationType | undefined;
363
345
  };
364
346
  declare const useGetRelationByEventAndVendor: (eventId: string, vendorId: string) => {
365
- error: _apollo_client.ErrorLike | undefined;
347
+ error: _apollo_client.ApolloError | undefined;
366
348
  loading: boolean;
367
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
349
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
368
350
  relationByEventAndVendor: RelationType;
369
351
  }>>;
370
352
  relationByEventAndVendor: RelationType | undefined;
371
353
  };
372
354
  declare const useGetEventRelations: (eventId: string) => {
373
- error: _apollo_client.ErrorLike | undefined;
355
+ error: _apollo_client.ApolloError | undefined;
374
356
  eventRelations: RelationType[];
375
357
  loading: boolean;
376
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
358
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
377
359
  eventRelations: RelationType[];
378
360
  }>>;
379
361
  };
380
362
  declare const useGetVendorRelations: (vendorId: string) => {
381
- error: _apollo_client.ErrorLike | undefined;
363
+ error: _apollo_client.ApolloError | undefined;
382
364
  loading: boolean;
383
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
365
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
384
366
  vendorRelations: RelationType[];
385
367
  }>>;
386
368
  vendorRelations: RelationType[];
387
369
  };
388
370
  declare const useGetResourceConnections: (resourceId: string, resourceType: EnumResourceType) => {
389
- error: _apollo_client.ErrorLike | undefined;
371
+ error: _apollo_client.ApolloError | undefined;
390
372
  loading: boolean;
391
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
373
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
392
374
  resourceConnections: ResourceConnectionsType;
393
375
  }>>;
394
376
  resourceConnections: ResourceConnectionsType | never[];
395
377
  };
396
378
 
397
379
  declare const useCreateVendor: () => {
398
- createVendor: useMutation.MutationFunction<unknown, {
399
- [x: string]: any;
400
- }, _apollo_client.ApolloCache>;
401
- error: _apollo_client.ErrorLike | undefined;
380
+ createVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
381
+ error: _apollo_client.ApolloError | undefined;
402
382
  loading: boolean;
403
383
  };
404
384
  declare const useUpdateVendor: () => {
405
- error: _apollo_client.ErrorLike | undefined;
385
+ error: _apollo_client.ApolloError | undefined;
406
386
  loading: boolean;
407
- updateVendor: useMutation.MutationFunction<unknown, {
408
- [x: string]: any;
409
- }, _apollo_client.ApolloCache>;
387
+ updateVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
410
388
  };
411
389
  declare const useDeleteVendor: () => {
412
- deleteVendor: useMutation.MutationFunction<unknown, {
413
- [x: string]: any;
414
- }, _apollo_client.ApolloCache>;
415
- error: _apollo_client.ErrorLike | undefined;
390
+ deleteVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
391
+ error: _apollo_client.ApolloError | undefined;
416
392
  loading: boolean;
417
393
  };
418
394
  declare const useCreateVendorInfo: () => {
419
- createVendorInfo: useMutation.MutationFunction<{
395
+ createVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
396
+ createVendorInfo: {
397
+ vendorId: string;
398
+ };
399
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
420
400
  createVendorInfo: {
421
401
  vendorId: string;
422
402
  };
423
- }, {
424
- [x: string]: any;
425
- }, _apollo_client.ApolloCache>;
426
- error: _apollo_client.ErrorLike | undefined;
403
+ }>>;
404
+ error: _apollo_client.ApolloError | undefined;
427
405
  loading: boolean;
428
406
  };
429
407
  declare const useUpdateVendorInfo: () => {
430
- error: _apollo_client.ErrorLike | undefined;
408
+ error: _apollo_client.ApolloError | undefined;
431
409
  loading: boolean;
432
- updateVendorInfo: useMutation.MutationFunction<{
410
+ updateVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
411
+ updateVendorInfo: {
412
+ vendorId: string;
413
+ };
414
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
433
415
  updateVendorInfo: {
434
416
  vendorId: string;
435
417
  };
436
- }, {
437
- [x: string]: any;
438
- }, _apollo_client.ApolloCache>;
418
+ }>>;
439
419
  };
440
420
 
441
421
  declare const useGetVendors: () => {
442
- error: _apollo_client.ErrorLike | undefined;
422
+ error: _apollo_client.ApolloError | undefined;
443
423
  loading: boolean;
444
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
424
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
445
425
  vendors: VendorType[];
446
426
  }>>;
447
427
  vendors: VendorType[];
448
428
  };
449
429
  declare const useGetVendor: (_id: string) => {
450
- error: _apollo_client.ErrorLike | undefined;
430
+ error: _apollo_client.ApolloError | undefined;
451
431
  loading: boolean;
452
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
432
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
453
433
  vendor: VendorType;
454
434
  }>>;
455
435
  vendor: VendorType | undefined;
456
436
  };
457
437
  declare const useGetVendorsByRegion: (region: string) => {
458
- error: _apollo_client.ErrorLike | undefined;
438
+ error: _apollo_client.ApolloError | undefined;
459
439
  loading: boolean;
460
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
440
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
461
441
  vendorsByRegion: VendorType[];
462
442
  }>>;
463
443
  vendorsByRegion: VendorType[];
464
444
  };
465
445
  declare const useSearchVendors: (search: string, region: string) => {
466
- error: _apollo_client.ErrorLike | undefined;
446
+ error: _apollo_client.ApolloError | undefined;
467
447
  loading: boolean;
468
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
448
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
469
449
  vendorSearch: VendorType[];
470
450
  }>>;
471
451
  vendorSearch: VendorType[];
472
452
  };
473
453
  declare const useGetVendorInfo: (vendorId: string) => {
474
- error: _apollo_client.ErrorLike | undefined;
454
+ error: _apollo_client.ApolloError | undefined;
475
455
  loading: boolean;
476
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
456
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
477
457
  vendorInfo: VendorInfoType;
478
458
  }>>;
479
459
  vendorInfo: VendorInfoType | undefined;
480
460
  };
481
461
 
482
462
  declare const useCreateTester: () => {
483
- createTester: useMutation.MutationFunction<unknown, {
484
- [x: string]: any;
485
- }, _apollo_client.ApolloCache>;
486
- data: unknown;
487
- error: _apollo_client.ErrorLike | undefined;
463
+ createTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
464
+ data: any;
465
+ error: _apollo_client.ApolloError | undefined;
488
466
  loading: boolean;
489
467
  };
490
468
  declare const useUpdateTester: () => {
491
- data: unknown;
492
- error: _apollo_client.ErrorLike | undefined;
469
+ data: any;
470
+ error: _apollo_client.ApolloError | undefined;
493
471
  loading: boolean;
494
- updateTester: useMutation.MutationFunction<unknown, {
495
- [x: string]: any;
496
- }, _apollo_client.ApolloCache>;
472
+ updateTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
497
473
  };
498
474
  declare const useDeleteTester: () => {
499
- deleteTester: useMutation.MutationFunction<unknown, {
500
- [x: string]: any;
501
- }, _apollo_client.ApolloCache>;
502
- error: _apollo_client.ErrorLike | undefined;
475
+ deleteTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
476
+ error: _apollo_client.ApolloError | undefined;
503
477
  loading: boolean;
504
478
  };
505
479
 
506
480
  declare const useGetTesters: () => {
507
- error: _apollo_client.ErrorLike | undefined;
481
+ error: _apollo_client.ApolloError | undefined;
508
482
  loading: boolean;
509
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
483
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
510
484
  testers: TesterType[];
511
485
  }>>;
512
486
  testers: TesterType[];
513
487
  };
514
488
  declare const useGetTester: (_id: string) => {
515
- error: _apollo_client.ErrorLike | undefined;
489
+ error: _apollo_client.ApolloError | undefined;
516
490
  loading: boolean;
517
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
491
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
518
492
  tester: TesterType;
519
493
  }>>;
520
494
  tester: TesterType | undefined;
521
495
  };
522
496
 
523
497
  declare const useCreateUser: () => {
524
- createUser: useMutation.MutationFunction<unknown, {
525
- [x: string]: any;
526
- }, _apollo_client.ApolloCache>;
527
- error: _apollo_client.ErrorLike | undefined;
498
+ createUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
499
+ error: _apollo_client.ApolloError | undefined;
528
500
  loading: boolean;
529
501
  };
530
502
  declare const useUpdateUser: () => {
531
- error: _apollo_client.ErrorLike | undefined;
503
+ error: _apollo_client.ApolloError | undefined;
532
504
  loading: boolean;
533
- updateUser: useMutation.MutationFunction<{
505
+ updateUser: (options?: _apollo_client.MutationFunctionOptions<{
534
506
  updateUser: {
535
507
  _id: string;
536
508
  };
537
- }, {
538
- [x: string]: any;
539
- }, _apollo_client.ApolloCache>;
509
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
510
+ updateUser: {
511
+ _id: string;
512
+ };
513
+ }>>;
540
514
  };
541
515
  declare const useDeleteUser: () => {
542
- deleteUser: useMutation.MutationFunction<unknown, {
543
- [x: string]: any;
544
- }, _apollo_client.ApolloCache>;
545
- error: _apollo_client.ErrorLike | undefined;
516
+ deleteUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
517
+ error: _apollo_client.ApolloError | undefined;
546
518
  loading: boolean;
547
519
  };
548
520
  declare const useAddUserFavouriteResource: () => {
549
- addUserFavouriteResource: useMutation.MutationFunction<unknown, {
550
- [x: string]: any;
551
- }, _apollo_client.ApolloCache>;
552
- error: _apollo_client.ErrorLike | undefined;
521
+ addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
522
+ error: _apollo_client.ApolloError | undefined;
553
523
  loading: boolean;
554
524
  };
555
525
  declare const useRemoveUserFavouriteResource: () => {
556
- error: _apollo_client.ErrorLike | undefined;
526
+ error: _apollo_client.ApolloError | undefined;
557
527
  loading: boolean;
558
- removeUserFavouriteResource: useMutation.MutationFunction<unknown, {
559
- [x: string]: any;
560
- }, _apollo_client.ApolloCache>;
528
+ removeUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
561
529
  };
562
530
  declare const useSelectPackage: () => {
563
- error: _apollo_client.ErrorLike | undefined;
531
+ error: _apollo_client.ApolloError | undefined;
564
532
  loading: boolean;
565
- selectPackage: useMutation.MutationFunction<{
533
+ selectPackage: (options?: _apollo_client.MutationFunctionOptions<{
534
+ selectPackage: {
535
+ userId: string;
536
+ };
537
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
566
538
  selectPackage: {
567
539
  userId: string;
568
540
  };
569
- }, {
570
- [x: string]: any;
571
- }, _apollo_client.ApolloCache>;
541
+ }>>;
572
542
  };
573
543
  declare const useAddUserInterestResource: () => {
574
- addUserInterestResource: useMutation.MutationFunction<unknown, {
575
- [x: string]: any;
576
- }, _apollo_client.ApolloCache>;
577
- error: _apollo_client.ErrorLike | undefined;
544
+ addUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
545
+ error: _apollo_client.ApolloError | undefined;
578
546
  loading: boolean;
579
547
  };
580
548
  declare const useRemoveUserInterestResource: () => {
581
- error: _apollo_client.ErrorLike | undefined;
549
+ error: _apollo_client.ApolloError | undefined;
582
550
  loading: boolean;
583
- removeUserInterestResource: useMutation.MutationFunction<unknown, {
584
- [x: string]: any;
585
- }, _apollo_client.ApolloCache>;
551
+ removeUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
586
552
  };
587
553
  declare const useAddUserGoingResource: () => {
588
- addUserGoingResource: useMutation.MutationFunction<unknown, {
589
- [x: string]: any;
590
- }, _apollo_client.ApolloCache>;
591
- error: _apollo_client.ErrorLike | undefined;
554
+ addUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
555
+ error: _apollo_client.ApolloError | undefined;
592
556
  loading: boolean;
593
557
  };
594
558
  declare const useRemoveUserGoingResource: () => {
595
- error: _apollo_client.ErrorLike | undefined;
559
+ error: _apollo_client.ApolloError | undefined;
596
560
  loading: boolean;
597
- removeUserGoingResource: useMutation.MutationFunction<unknown, {
598
- [x: string]: any;
599
- }, _apollo_client.ApolloCache>;
561
+ removeUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
600
562
  };
601
563
  declare const useAddUserPresentResource: () => {
602
- addUserPresentResource: useMutation.MutationFunction<unknown, {
603
- [x: string]: any;
604
- }, _apollo_client.ApolloCache>;
605
- error: _apollo_client.ErrorLike | undefined;
564
+ addUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
565
+ error: _apollo_client.ApolloError | undefined;
606
566
  loading: boolean;
607
567
  };
608
568
  declare const useRemoveUserPresentResource: () => {
609
- error: _apollo_client.ErrorLike | undefined;
569
+ error: _apollo_client.ApolloError | undefined;
610
570
  loading: boolean;
611
- removeUserPresentResource: useMutation.MutationFunction<unknown, {
612
- [x: string]: any;
613
- }, _apollo_client.ApolloCache>;
571
+ removeUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
614
572
  };
615
573
 
616
574
  declare const useGetUsers: () => {
617
- error: _apollo_client.ErrorLike | undefined;
575
+ error: _apollo_client.ApolloError | undefined;
618
576
  loading: boolean;
619
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
577
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
620
578
  users: UserType[];
621
579
  }>>;
622
580
  users: UserType[];
623
581
  };
624
582
  declare const useGetUser: (_id: string) => {
625
- error: _apollo_client.ErrorLike | undefined;
583
+ error: _apollo_client.ApolloError | undefined;
626
584
  loading: boolean;
627
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
585
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
628
586
  user: UserType;
629
587
  }>>;
630
588
  user: UserType | undefined;
631
589
  };
632
590
  declare const useGetUserEvents: () => {
633
- error: _apollo_client.ErrorLike | undefined;
591
+ error: _apollo_client.ApolloError | undefined;
634
592
  loading: boolean;
635
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
593
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
636
594
  userEvents: EventType[];
637
595
  }>>;
638
596
  userEvents: EventType[];
639
597
  };
640
598
  declare const useGetUserVendors: () => {
641
- error: _apollo_client.ErrorLike | undefined;
599
+ error: _apollo_client.ApolloError | undefined;
642
600
  loading: boolean;
643
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
601
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
644
602
  userVendors: VendorType[];
645
603
  }>>;
646
604
  userVendors: VendorType[];
647
605
  };
648
606
  declare const useGetUserActivities: () => {
649
- error: _apollo_client.ErrorLike | undefined;
607
+ error: _apollo_client.ApolloError | undefined;
650
608
  loading: boolean;
651
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
609
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
652
610
  userActivities: {
653
611
  favourites: {
654
612
  events: EventType[];
@@ -683,151 +641,131 @@ declare const useGetUserActivities: () => {
683
641
  };
684
642
 
685
643
  declare const useCreateAd: () => {
686
- createAd: useMutation.MutationFunction<unknown, {
687
- [x: string]: any;
688
- }, _apollo_client.ApolloCache>;
689
- error: _apollo_client.ErrorLike | undefined;
644
+ createAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
645
+ error: _apollo_client.ApolloError | undefined;
690
646
  loading: boolean;
691
647
  };
692
648
  declare const useUpdateAd: () => {
693
- error: _apollo_client.ErrorLike | undefined;
649
+ error: _apollo_client.ApolloError | undefined;
694
650
  loading: boolean;
695
- updateAd: useMutation.MutationFunction<unknown, {
696
- [x: string]: any;
697
- }, _apollo_client.ApolloCache>;
651
+ updateAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
698
652
  };
699
653
  declare const useDeleteAd: () => {
700
- deleteAd: useMutation.MutationFunction<unknown, {
701
- [x: string]: any;
702
- }, _apollo_client.ApolloCache>;
703
- error: _apollo_client.ErrorLike | undefined;
654
+ deleteAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
655
+ error: _apollo_client.ApolloError | undefined;
704
656
  loading: boolean;
705
657
  };
706
658
 
707
659
  declare const useGetAds: () => {
708
660
  ads: AdType[];
709
- error: _apollo_client.ErrorLike | undefined;
661
+ error: _apollo_client.ApolloError | undefined;
710
662
  loading: boolean;
711
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
663
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
712
664
  ads: AdType[];
713
665
  }>>;
714
666
  };
715
667
  declare const useGetAd: (_id: string) => {
716
668
  ad: AdType | undefined;
717
- error: _apollo_client.ErrorLike | undefined;
669
+ error: _apollo_client.ApolloError | undefined;
718
670
  loading: boolean;
719
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
671
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
720
672
  ad: AdType;
721
673
  }>>;
722
674
  };
723
675
  declare const useGetAdsByRegion: (region: string, status?: EnumAdStatus) => {
724
676
  adsByRegion: AdType[];
725
- error: _apollo_client.ErrorLike | undefined;
677
+ error: _apollo_client.ApolloError | undefined;
726
678
  loading: boolean;
727
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
679
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
728
680
  adsByRegion: AdType[];
729
681
  }>>;
730
682
  };
731
683
 
732
684
  declare const useCreateResourceActivity: () => {
733
- createResourceActivity: useMutation.MutationFunction<unknown, {
734
- [x: string]: any;
735
- }, _apollo_client.ApolloCache>;
736
- error: _apollo_client.ErrorLike | undefined;
685
+ createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
686
+ error: _apollo_client.ApolloError | undefined;
737
687
  loading: boolean;
738
688
  };
739
689
 
740
690
  declare const useGetResourceActivities: (resourceId: string, resourceType: EnumResourceType) => {
741
- error: _apollo_client.ErrorLike | undefined;
691
+ error: _apollo_client.ApolloError | undefined;
742
692
  loading: boolean;
743
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
693
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
744
694
  resourceActivities: ResourceActivityType[];
745
695
  }>>;
746
696
  resourceActivities: ResourceActivityType[];
747
697
  };
748
698
 
749
699
  declare const useCreateCheckoutSession: () => {
750
- createCheckoutSession: useMutation.MutationFunction<unknown, {
751
- [x: string]: any;
752
- }, _apollo_client.ApolloCache>;
753
- error: _apollo_client.ErrorLike | undefined;
700
+ createCheckoutSession: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
701
+ error: _apollo_client.ApolloError | undefined;
754
702
  loading: boolean;
755
703
  };
756
704
  declare const useCancelSubscription: () => {
757
- cancelSubscription: useMutation.MutationFunction<unknown, {
758
- [x: string]: any;
759
- }, _apollo_client.ApolloCache>;
760
- error: _apollo_client.ErrorLike | undefined;
705
+ cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
706
+ error: _apollo_client.ApolloError | undefined;
761
707
  loading: boolean;
762
708
  };
763
709
  declare const useUpdateSubscriptionPlan: () => {
764
- error: _apollo_client.ErrorLike | undefined;
710
+ error: _apollo_client.ApolloError | undefined;
765
711
  loading: boolean;
766
- updateSubscriptionPlan: useMutation.MutationFunction<unknown, {
767
- [x: string]: any;
768
- }, _apollo_client.ApolloCache>;
712
+ updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
769
713
  };
770
714
 
771
715
  declare const useGetSubscriptionStatus: () => {
772
716
  data: SubscriptionStatusData | undefined;
773
- error: _apollo_client.ErrorLike | undefined;
717
+ error: _apollo_client.ApolloError | undefined;
774
718
  loading: boolean;
775
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
719
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
776
720
  getSubscriptionStatus: SubscriptionStatusData;
777
721
  }>>;
778
722
  };
779
723
 
780
724
  declare const useCreatePartner: () => {
781
- createPartner: useMutation.MutationFunction<unknown, {
782
- [x: string]: any;
783
- }, _apollo_client.ApolloCache>;
784
- error: _apollo_client.ErrorLike | undefined;
725
+ createPartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
726
+ error: _apollo_client.ApolloError | undefined;
785
727
  loading: boolean;
786
728
  };
787
729
  declare const useUpdatePartner: () => {
788
- error: _apollo_client.ErrorLike | undefined;
730
+ error: _apollo_client.ApolloError | undefined;
789
731
  loading: boolean;
790
- updatePartner: useMutation.MutationFunction<unknown, {
791
- [x: string]: any;
792
- }, _apollo_client.ApolloCache>;
732
+ updatePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
793
733
  };
794
734
  declare const useDeletePartner: () => {
795
- deletePartner: useMutation.MutationFunction<unknown, {
796
- [x: string]: any;
797
- }, _apollo_client.ApolloCache>;
798
- error: _apollo_client.ErrorLike | undefined;
735
+ deletePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
736
+ error: _apollo_client.ApolloError | undefined;
799
737
  loading: boolean;
800
738
  };
801
739
 
802
740
  declare const useGetPartners: () => {
803
- error: _apollo_client.ErrorLike | undefined;
741
+ error: _apollo_client.ApolloError | undefined;
804
742
  loading: boolean;
805
743
  partners: PartnerType[];
806
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
744
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
807
745
  partners: PartnerType[];
808
746
  }>>;
809
747
  };
810
748
  declare const useGetPartner: (_id: string) => {
811
- error: _apollo_client.ErrorLike | undefined;
749
+ error: _apollo_client.ApolloError | undefined;
812
750
  loading: boolean;
813
751
  partner: PartnerType | undefined;
814
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
752
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
815
753
  partner: PartnerType;
816
754
  }>>;
817
755
  };
818
756
  declare const useGetPartnersByRegion: (region: string) => {
819
- error: _apollo_client.ErrorLike | undefined;
757
+ error: _apollo_client.ApolloError | undefined;
820
758
  loading: boolean;
821
759
  partnersByRegion: PartnerType[];
822
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
760
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
823
761
  partnersByRegion: PartnerType[];
824
762
  }>>;
825
763
  };
826
764
  declare const useSearchPartners: (search: string, region: string) => {
827
- error: _apollo_client.ErrorLike | undefined;
765
+ error: _apollo_client.ApolloError | undefined;
828
766
  loading: boolean;
829
767
  partnersSearch: PartnerType[];
830
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
768
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
831
769
  partnersSearch: PartnerType[];
832
770
  }>>;
833
771
  };