@timardex/cluemart-shared 1.2.71 → 1.2.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/graphql/index.cjs +246 -246
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +260 -322
- package/dist/graphql/index.d.ts +260 -322
- package/dist/graphql/index.mjs +28 -28
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/index.cjs +252 -252
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +260 -322
- package/dist/index.d.ts +260 -322
- package/dist/index.mjs +28 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +25 -35
package/dist/graphql/index.d.ts
CHANGED
|
@@ -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.js';
|
|
4
3
|
import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-Ezt7CDPH.js';
|
|
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-BH6qrlBv.js';
|
|
@@ -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:
|
|
9
|
+
adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<{
|
|
11
10
|
adminUpdateResourceType: {
|
|
12
11
|
resourceId: string;
|
|
13
12
|
resourceType: EnumResourceType;
|
|
14
13
|
};
|
|
15
|
-
}, {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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.
|
|
25
|
+
error: _apollo_client.ApolloError | undefined;
|
|
24
26
|
loading: boolean;
|
|
25
|
-
register:
|
|
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.
|
|
30
|
+
error: _apollo_client.ApolloError | undefined;
|
|
31
31
|
loading: boolean;
|
|
32
|
-
login:
|
|
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.
|
|
35
|
+
error: _apollo_client.ApolloError | undefined;
|
|
38
36
|
loading: boolean;
|
|
39
|
-
logout:
|
|
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.
|
|
40
|
+
error: _apollo_client.ApolloError | undefined;
|
|
45
41
|
loading: boolean;
|
|
46
|
-
refreshToken:
|
|
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.
|
|
45
|
+
error: _apollo_client.ApolloError | undefined;
|
|
52
46
|
loading: boolean;
|
|
53
|
-
requestPasswordReset:
|
|
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.
|
|
50
|
+
error: _apollo_client.ApolloError | undefined;
|
|
59
51
|
loading: boolean;
|
|
60
|
-
validateVerificationToken:
|
|
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.
|
|
55
|
+
error: _apollo_client.ApolloError | undefined;
|
|
66
56
|
loading: boolean;
|
|
67
|
-
resetPassword:
|
|
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.
|
|
61
|
+
error: _apollo_client.ApolloError | undefined;
|
|
74
62
|
loading: boolean;
|
|
75
|
-
sendChatMessage:
|
|
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:
|
|
85
|
-
|
|
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:
|
|
79
|
+
addParticipantToChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
92
80
|
addParticipantToChat: {
|
|
93
81
|
_id: string;
|
|
94
82
|
};
|
|
95
|
-
}, {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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.
|
|
92
|
+
error: _apollo_client.ApolloError | undefined;
|
|
103
93
|
loading: boolean;
|
|
104
|
-
removeParticipantFromChat:
|
|
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.
|
|
99
|
+
error: _apollo_client.ApolloError | undefined;
|
|
112
100
|
loading: boolean;
|
|
113
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
106
|
+
error: _apollo_client.ApolloError | undefined;
|
|
119
107
|
loading: boolean;
|
|
120
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
115
|
+
error: _apollo_client.ApolloError | undefined;
|
|
128
116
|
loading: boolean;
|
|
129
117
|
};
|
|
130
118
|
|
|
131
119
|
declare const useContactUs: () => {
|
|
132
|
-
contactUs:
|
|
133
|
-
|
|
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:
|
|
141
|
-
|
|
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.
|
|
131
|
+
error: _apollo_client.ApolloError | undefined;
|
|
148
132
|
loading: boolean;
|
|
149
|
-
updateEvent:
|
|
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:
|
|
155
|
-
|
|
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:
|
|
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
|
-
|
|
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.
|
|
154
|
+
error: _apollo_client.ApolloError | undefined;
|
|
173
155
|
loading: boolean;
|
|
174
|
-
updateEventInfo:
|
|
156
|
+
updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
175
157
|
updateEventInfo: {
|
|
176
158
|
eventId: string;
|
|
177
159
|
};
|
|
178
|
-
}, {
|
|
179
|
-
|
|
180
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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:
|
|
238
|
-
|
|
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.
|
|
226
|
+
error: _apollo_client.ApolloError | undefined;
|
|
245
227
|
loading: boolean;
|
|
246
|
-
markNotificationRead:
|
|
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.
|
|
231
|
+
error: _apollo_client.ApolloError | undefined;
|
|
252
232
|
loading: boolean;
|
|
253
|
-
markAllNotificationsRead:
|
|
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:
|
|
259
|
-
|
|
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:
|
|
266
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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:
|
|
302
|
-
|
|
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:
|
|
310
|
-
|
|
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:
|
|
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
|
-
|
|
325
|
-
|
|
326
|
-
|
|
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.
|
|
304
|
+
error: _apollo_client.ApolloError | undefined;
|
|
331
305
|
loading: boolean;
|
|
332
|
-
updateRelation:
|
|
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
|
-
|
|
340
|
-
|
|
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:
|
|
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
|
-
|
|
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.
|
|
339
|
+
error: _apollo_client.ApolloError | undefined;
|
|
358
340
|
loading: boolean;
|
|
359
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
347
|
+
error: _apollo_client.ApolloError | undefined;
|
|
366
348
|
loading: boolean;
|
|
367
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
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.
|
|
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.
|
|
363
|
+
error: _apollo_client.ApolloError | undefined;
|
|
382
364
|
loading: boolean;
|
|
383
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
371
|
+
error: _apollo_client.ApolloError | undefined;
|
|
390
372
|
loading: boolean;
|
|
391
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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:
|
|
399
|
-
|
|
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.
|
|
385
|
+
error: _apollo_client.ApolloError | undefined;
|
|
406
386
|
loading: boolean;
|
|
407
|
-
updateVendor:
|
|
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:
|
|
413
|
-
|
|
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:
|
|
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
|
-
|
|
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.
|
|
408
|
+
error: _apollo_client.ApolloError | undefined;
|
|
431
409
|
loading: boolean;
|
|
432
|
-
updateVendorInfo:
|
|
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.
|
|
422
|
+
error: _apollo_client.ApolloError | undefined;
|
|
443
423
|
loading: boolean;
|
|
444
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
430
|
+
error: _apollo_client.ApolloError | undefined;
|
|
451
431
|
loading: boolean;
|
|
452
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
438
|
+
error: _apollo_client.ApolloError | undefined;
|
|
459
439
|
loading: boolean;
|
|
460
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
446
|
+
error: _apollo_client.ApolloError | undefined;
|
|
467
447
|
loading: boolean;
|
|
468
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
454
|
+
error: _apollo_client.ApolloError | undefined;
|
|
475
455
|
loading: boolean;
|
|
476
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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:
|
|
484
|
-
|
|
485
|
-
|
|
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:
|
|
492
|
-
error: _apollo_client.
|
|
469
|
+
data: any;
|
|
470
|
+
error: _apollo_client.ApolloError | undefined;
|
|
493
471
|
loading: boolean;
|
|
494
|
-
updateTester:
|
|
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:
|
|
500
|
-
|
|
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.
|
|
481
|
+
error: _apollo_client.ApolloError | undefined;
|
|
508
482
|
loading: boolean;
|
|
509
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
489
|
+
error: _apollo_client.ApolloError | undefined;
|
|
516
490
|
loading: boolean;
|
|
517
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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:
|
|
525
|
-
|
|
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.
|
|
503
|
+
error: _apollo_client.ApolloError | undefined;
|
|
532
504
|
loading: boolean;
|
|
533
|
-
updateUser:
|
|
505
|
+
updateUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
534
506
|
updateUser: {
|
|
535
507
|
_id: string;
|
|
536
508
|
};
|
|
537
|
-
}, {
|
|
538
|
-
|
|
539
|
-
|
|
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:
|
|
543
|
-
|
|
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:
|
|
550
|
-
|
|
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.
|
|
526
|
+
error: _apollo_client.ApolloError | undefined;
|
|
557
527
|
loading: boolean;
|
|
558
|
-
removeUserFavouriteResource:
|
|
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.
|
|
531
|
+
error: _apollo_client.ApolloError | undefined;
|
|
564
532
|
loading: boolean;
|
|
565
|
-
selectPackage:
|
|
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:
|
|
575
|
-
|
|
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.
|
|
549
|
+
error: _apollo_client.ApolloError | undefined;
|
|
582
550
|
loading: boolean;
|
|
583
|
-
removeUserInterestResource:
|
|
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:
|
|
589
|
-
|
|
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.
|
|
559
|
+
error: _apollo_client.ApolloError | undefined;
|
|
596
560
|
loading: boolean;
|
|
597
|
-
removeUserGoingResource:
|
|
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:
|
|
603
|
-
|
|
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.
|
|
569
|
+
error: _apollo_client.ApolloError | undefined;
|
|
610
570
|
loading: boolean;
|
|
611
|
-
removeUserPresentResource:
|
|
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.
|
|
575
|
+
error: _apollo_client.ApolloError | undefined;
|
|
618
576
|
loading: boolean;
|
|
619
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
583
|
+
error: _apollo_client.ApolloError | undefined;
|
|
626
584
|
loading: boolean;
|
|
627
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
591
|
+
error: _apollo_client.ApolloError | undefined;
|
|
634
592
|
loading: boolean;
|
|
635
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
599
|
+
error: _apollo_client.ApolloError | undefined;
|
|
642
600
|
loading: boolean;
|
|
643
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
607
|
+
error: _apollo_client.ApolloError | undefined;
|
|
650
608
|
loading: boolean;
|
|
651
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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:
|
|
687
|
-
|
|
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.
|
|
649
|
+
error: _apollo_client.ApolloError | undefined;
|
|
694
650
|
loading: boolean;
|
|
695
|
-
updateAd:
|
|
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:
|
|
701
|
-
|
|
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.
|
|
661
|
+
error: _apollo_client.ApolloError | undefined;
|
|
710
662
|
loading: boolean;
|
|
711
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
669
|
+
error: _apollo_client.ApolloError | undefined;
|
|
718
670
|
loading: boolean;
|
|
719
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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.
|
|
677
|
+
error: _apollo_client.ApolloError | undefined;
|
|
726
678
|
loading: boolean;
|
|
727
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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:
|
|
734
|
-
|
|
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.
|
|
691
|
+
error: _apollo_client.ApolloError | undefined;
|
|
742
692
|
loading: boolean;
|
|
743
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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:
|
|
751
|
-
|
|
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:
|
|
758
|
-
|
|
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.
|
|
710
|
+
error: _apollo_client.ApolloError | undefined;
|
|
765
711
|
loading: boolean;
|
|
766
|
-
updateSubscriptionPlan:
|
|
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.
|
|
717
|
+
error: _apollo_client.ApolloError | undefined;
|
|
774
718
|
loading: boolean;
|
|
775
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
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:
|
|
782
|
-
|
|
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.
|
|
730
|
+
error: _apollo_client.ApolloError | undefined;
|
|
789
731
|
loading: boolean;
|
|
790
|
-
updatePartner:
|
|
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:
|
|
796
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
768
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
831
769
|
partnersSearch: PartnerType[];
|
|
832
770
|
}>>;
|
|
833
771
|
};
|