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