@timardex/cluemart-shared 1.5.843 → 1.6.0
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-CD820Thg.d.ts → ad-BUYzE6zx.d.ts} +6 -5
- package/dist/{ad-Dh0rDcR3.d.mts → ad-BhLoEul3.d.mts} +6 -5
- package/dist/{affiliate-C56okox0.d.mts → affiliate-BbtjeUP4.d.mts} +2 -2
- package/dist/{affiliate-B28f_U7r.d.ts → affiliate-C51nzKsw.d.ts} +2 -2
- package/dist/apollo/index.cjs +7 -4
- package/dist/apollo/index.cjs.map +1 -1
- package/dist/apollo/index.d.mts +2 -2
- package/dist/apollo/index.d.ts +2 -2
- package/dist/apollo/index.mjs +7 -4
- package/dist/apollo/index.mjs.map +1 -1
- package/dist/auth/index.cjs +23 -12
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/auth/index.mjs +1 -1
- package/dist/{chunk-QGEZL577.mjs → chunk-32MKHJTX.mjs} +27 -22
- package/dist/chunk-32MKHJTX.mjs.map +1 -0
- package/dist/{chunk-4VN5M5JO.mjs → chunk-ILILH7E2.mjs} +1 -1
- package/dist/chunk-ILILH7E2.mjs.map +1 -0
- package/dist/{chunk-TX3TVIQO.mjs → chunk-LBEJECG3.mjs} +2 -2
- package/dist/{chunk-GSPUTUBD.mjs → chunk-PT273XYH.mjs} +502 -391
- package/dist/chunk-PT273XYH.mjs.map +1 -0
- package/dist/{contactUs-DKhr1NAC.d.ts → contactUs--NoohZBu.d.ts} +1 -1
- package/dist/{contactUs-BH5uubk6.d.mts → contactUs-CBWzefUS.d.mts} +1 -1
- 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 +2 -2
- package/dist/{global-B8kHBTPv.d.ts → global-CUYYxpy2.d.ts} +7 -2
- package/dist/{global-JPj82Tvl.d.mts → global-DePDtOFt.d.mts} +7 -2
- package/dist/graphql/index.cjs +526 -410
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +401 -178
- package/dist/graphql/index.d.ts +401 -178
- package/dist/graphql/index.mjs +2 -2
- package/dist/hooks/index.cjs +339 -103
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +5 -5
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.mjs +4 -4
- package/dist/index.cjs +526 -410
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +405 -175
- package/dist/index.d.ts +405 -175
- package/dist/index.mjs +526 -410
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.d.mts +1 -1
- package/dist/map/index.d.ts +1 -1
- package/dist/{resourceActivities-DV23pl5i.d.ts → resourceActivities-CMUcn2P7.d.ts} +9 -3
- package/dist/{resourceActivities-CZw8My9Z.d.mts → resourceActivities-CwbJFGIp.d.mts} +9 -3
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +9 -15
- package/dist/types/index.d.ts +9 -15
- package/dist/types/index.mjs +1 -1
- package/dist/{user-c_sh7aZ_.d.ts → user-D47MLFyH.d.ts} +4 -3
- package/dist/{user-B8Y1_VmG.d.mts → user-DE8edl3u.d.mts} +4 -3
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-4VN5M5JO.mjs.map +0 -1
- package/dist/chunk-GSPUTUBD.mjs.map +0 -1
- package/dist/chunk-QGEZL577.mjs.map +0 -1
- /package/dist/{chunk-TX3TVIQO.mjs.map → chunk-LBEJECG3.mjs.map} +0 -0
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { S as SafeUserType, R as
|
|
8
|
-
import { A as AffiliateType } from '../affiliate-
|
|
9
|
-
import '../images/index.js';
|
|
3
|
+
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-CMUcn2P7.js';
|
|
4
|
+
import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, j as PostType, k as EnumPostType, G as GameDocType, l as GameLeaderboard } from '../global-CUYYxpy2.js';
|
|
5
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-BUYzE6zx.js';
|
|
6
|
+
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-D47MLFyH.js';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-C51nzKsw.js';
|
|
10
9
|
import 'react-hook-form';
|
|
10
|
+
import '../images/index.js';
|
|
11
11
|
|
|
12
12
|
declare const GET_EVENT: _apollo_client.DocumentNode;
|
|
13
13
|
declare const GET_EVENT_INFO: _apollo_client.DocumentNode;
|
|
@@ -30,87 +30,102 @@ declare function toGraphqlQueryString(query: DocumentNode): string;
|
|
|
30
30
|
|
|
31
31
|
declare const useAdminUpdateResourceType: () => {
|
|
32
32
|
adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<{
|
|
33
|
-
adminUpdateResourceType:
|
|
34
|
-
resourceId: string;
|
|
35
|
-
resourceType: EnumResourceType;
|
|
36
|
-
};
|
|
33
|
+
adminUpdateResourceType: MutationResponse<AdminUpdateResourceType>;
|
|
37
34
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
38
|
-
adminUpdateResourceType:
|
|
39
|
-
resourceId: string;
|
|
40
|
-
resourceType: EnumResourceType;
|
|
41
|
-
};
|
|
35
|
+
adminUpdateResourceType: MutationResponse<AdminUpdateResourceType>;
|
|
42
36
|
}>>;
|
|
43
37
|
error: _apollo_client.ApolloError | undefined;
|
|
44
38
|
loading: boolean;
|
|
45
39
|
};
|
|
46
40
|
declare const useAdminResendUserVerificationEmail: () => {
|
|
47
|
-
adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<
|
|
41
|
+
adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<{
|
|
42
|
+
adminResendUserVerificationEmail: MutationResponse<boolean>;
|
|
43
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
44
|
+
adminResendUserVerificationEmail: MutationResponse<boolean>;
|
|
45
|
+
}>>;
|
|
48
46
|
error: _apollo_client.ApolloError | undefined;
|
|
49
47
|
loading: boolean;
|
|
50
48
|
};
|
|
51
49
|
declare const useAdminPermanentlyDeleteResource: () => {
|
|
52
|
-
adminPermanentlyDeleteResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
50
|
+
adminPermanentlyDeleteResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
51
|
+
adminPermanentlyDeleteResource: MutationResponse<boolean>;
|
|
52
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
53
|
+
adminPermanentlyDeleteResource: MutationResponse<boolean>;
|
|
54
|
+
}>>;
|
|
53
55
|
error: _apollo_client.ApolloError | undefined;
|
|
54
56
|
loading: boolean;
|
|
55
57
|
};
|
|
56
58
|
|
|
59
|
+
type MessageOnlyResponse = MutationResponse<boolean>;
|
|
57
60
|
declare const useRegister: () => {
|
|
58
61
|
error: _apollo_client.ApolloError | undefined;
|
|
59
62
|
loading: boolean;
|
|
60
63
|
register: (options?: _apollo_client.MutationFunctionOptions<{
|
|
61
|
-
register:
|
|
64
|
+
register: AuthMutationResponse;
|
|
62
65
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
63
|
-
register:
|
|
66
|
+
register: AuthMutationResponse;
|
|
64
67
|
}>>;
|
|
65
68
|
};
|
|
66
69
|
declare const useLogin: () => {
|
|
67
70
|
error: _apollo_client.ApolloError | undefined;
|
|
68
71
|
loading: boolean;
|
|
69
72
|
login: (options?: _apollo_client.MutationFunctionOptions<{
|
|
70
|
-
login:
|
|
73
|
+
login: AuthMutationResponse;
|
|
71
74
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
72
|
-
login:
|
|
75
|
+
login: AuthMutationResponse;
|
|
73
76
|
}>>;
|
|
74
77
|
};
|
|
75
78
|
declare const useLogout: () => {
|
|
76
79
|
error: _apollo_client.ApolloError | undefined;
|
|
77
80
|
loading: boolean;
|
|
78
|
-
logout: (options?: _apollo_client.MutationFunctionOptions<
|
|
81
|
+
logout: (options?: _apollo_client.MutationFunctionOptions<{
|
|
82
|
+
logout: MessageOnlyResponse;
|
|
83
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
84
|
+
logout: MessageOnlyResponse;
|
|
85
|
+
}>>;
|
|
79
86
|
};
|
|
80
87
|
declare const useRefreshToken: () => {
|
|
81
88
|
error: _apollo_client.ApolloError | undefined;
|
|
82
89
|
loading: boolean;
|
|
83
90
|
refreshToken: (options?: _apollo_client.MutationFunctionOptions<{
|
|
84
|
-
refreshToken:
|
|
91
|
+
refreshToken: RefreshTokenMutationResponse;
|
|
85
92
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
86
|
-
refreshToken:
|
|
93
|
+
refreshToken: RefreshTokenMutationResponse;
|
|
87
94
|
}>>;
|
|
88
95
|
};
|
|
89
96
|
declare const useRequestPasswordReset: () => {
|
|
90
97
|
error: _apollo_client.ApolloError | undefined;
|
|
91
98
|
loading: boolean;
|
|
92
|
-
requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<
|
|
99
|
+
requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<{
|
|
100
|
+
requestPasswordReset: MessageOnlyResponse;
|
|
101
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
102
|
+
requestPasswordReset: MessageOnlyResponse;
|
|
103
|
+
}>>;
|
|
93
104
|
};
|
|
94
105
|
declare const useValidateVerificationToken: () => {
|
|
95
106
|
error: _apollo_client.ApolloError | undefined;
|
|
96
107
|
loading: boolean;
|
|
97
|
-
validateVerificationToken: (options?: _apollo_client.MutationFunctionOptions<
|
|
108
|
+
validateVerificationToken: (options?: _apollo_client.MutationFunctionOptions<{
|
|
109
|
+
validateVerificationToken: MessageOnlyResponse;
|
|
110
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
111
|
+
validateVerificationToken: MessageOnlyResponse;
|
|
112
|
+
}>>;
|
|
98
113
|
};
|
|
99
114
|
declare const useResetPassword: () => {
|
|
100
115
|
error: _apollo_client.ApolloError | undefined;
|
|
101
116
|
loading: boolean;
|
|
102
|
-
resetPassword: (options?: _apollo_client.MutationFunctionOptions<
|
|
117
|
+
resetPassword: (options?: _apollo_client.MutationFunctionOptions<{
|
|
118
|
+
resetPassword: MessageOnlyResponse;
|
|
119
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
120
|
+
resetPassword: MessageOnlyResponse;
|
|
121
|
+
}>>;
|
|
103
122
|
};
|
|
104
123
|
|
|
105
124
|
declare const useCreatePrivateChat: () => {
|
|
106
125
|
createPrivateChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
107
|
-
createPrivateChat:
|
|
108
|
-
_id: string;
|
|
109
|
-
};
|
|
126
|
+
createPrivateChat: MutationResponse<ChatType>;
|
|
110
127
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
111
|
-
createPrivateChat:
|
|
112
|
-
_id: string;
|
|
113
|
-
};
|
|
128
|
+
createPrivateChat: MutationResponse<ChatType>;
|
|
114
129
|
}>>;
|
|
115
130
|
error: _apollo_client.ApolloError | undefined;
|
|
116
131
|
loading: boolean;
|
|
@@ -119,29 +134,25 @@ declare const useSendChatMessage: () => {
|
|
|
119
134
|
error: _apollo_client.ApolloError | undefined;
|
|
120
135
|
loading: boolean;
|
|
121
136
|
sendChatMessage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
122
|
-
sendChatMessage:
|
|
123
|
-
_id: string;
|
|
124
|
-
};
|
|
137
|
+
sendChatMessage: MutationResponse<ChatType>;
|
|
125
138
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
126
|
-
sendChatMessage:
|
|
127
|
-
_id: string;
|
|
128
|
-
};
|
|
139
|
+
sendChatMessage: MutationResponse<ChatType>;
|
|
129
140
|
}>>;
|
|
130
141
|
};
|
|
131
142
|
declare const useDeleteChat: () => {
|
|
132
|
-
deleteChat: (options?: _apollo_client.MutationFunctionOptions<
|
|
143
|
+
deleteChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
144
|
+
deleteChat: MutationResponse<boolean>;
|
|
145
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
146
|
+
deleteChat: MutationResponse<boolean>;
|
|
147
|
+
}>>;
|
|
133
148
|
error: _apollo_client.ApolloError | undefined;
|
|
134
149
|
loading: boolean;
|
|
135
150
|
};
|
|
136
151
|
declare const useAddParticipantToChat: () => {
|
|
137
152
|
addParticipantToChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
138
|
-
addParticipantToChat:
|
|
139
|
-
_id: string;
|
|
140
|
-
};
|
|
153
|
+
addParticipantToChat: MutationResponse<ChatType>;
|
|
141
154
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
142
|
-
addParticipantToChat:
|
|
143
|
-
_id: string;
|
|
144
|
-
};
|
|
155
|
+
addParticipantToChat: MutationResponse<ChatType>;
|
|
145
156
|
}>>;
|
|
146
157
|
error: _apollo_client.ApolloError | undefined;
|
|
147
158
|
loading: boolean;
|
|
@@ -150,47 +161,43 @@ declare const useRemoveParticipantFromChat: () => {
|
|
|
150
161
|
error: _apollo_client.ApolloError | undefined;
|
|
151
162
|
loading: boolean;
|
|
152
163
|
removeParticipantFromChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
153
|
-
removeParticipantFromChat: {
|
|
164
|
+
removeParticipantFromChat: MutationResponse<{
|
|
154
165
|
success: boolean;
|
|
155
166
|
region?: string | null;
|
|
156
|
-
}
|
|
167
|
+
}>;
|
|
157
168
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
158
|
-
removeParticipantFromChat: {
|
|
169
|
+
removeParticipantFromChat: MutationResponse<{
|
|
159
170
|
success: boolean;
|
|
160
171
|
region?: string | null;
|
|
161
|
-
}
|
|
172
|
+
}>;
|
|
162
173
|
}>>;
|
|
163
174
|
};
|
|
164
175
|
declare const useToggleChatMessageLike: () => {
|
|
165
176
|
error: _apollo_client.ApolloError | undefined;
|
|
166
177
|
loading: boolean;
|
|
167
178
|
toggleChatMessageLike: (options?: _apollo_client.MutationFunctionOptions<{
|
|
168
|
-
toggleChatMessageLike:
|
|
169
|
-
_id: string;
|
|
170
|
-
};
|
|
179
|
+
toggleChatMessageLike: MutationResponse<ChatType>;
|
|
171
180
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
172
|
-
toggleChatMessageLike:
|
|
173
|
-
_id: string;
|
|
174
|
-
};
|
|
181
|
+
toggleChatMessageLike: MutationResponse<ChatType>;
|
|
175
182
|
}>>;
|
|
176
183
|
};
|
|
177
184
|
declare const useMarkChatMessagesSeen: () => {
|
|
178
185
|
error: _apollo_client.ApolloError | undefined;
|
|
179
186
|
loading: boolean;
|
|
180
187
|
markChatMessagesSeen: (options?: _apollo_client.MutationFunctionOptions<{
|
|
181
|
-
markChatMessagesSeen:
|
|
182
|
-
_id: string;
|
|
183
|
-
};
|
|
188
|
+
markChatMessagesSeen: MutationResponse<ChatType>;
|
|
184
189
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
185
|
-
markChatMessagesSeen:
|
|
186
|
-
_id: string;
|
|
187
|
-
};
|
|
190
|
+
markChatMessagesSeen: MutationResponse<ChatType>;
|
|
188
191
|
}>>;
|
|
189
192
|
};
|
|
190
193
|
declare const useReportChatUser: () => {
|
|
191
194
|
error: _apollo_client.ApolloError | undefined;
|
|
192
195
|
loading: boolean;
|
|
193
|
-
reportChatUser: (options?: _apollo_client.MutationFunctionOptions<
|
|
196
|
+
reportChatUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
197
|
+
reportChatUser: MutationResponse<ReportChatUser>;
|
|
198
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
199
|
+
reportChatUser: MutationResponse<ReportChatUser>;
|
|
200
|
+
}>>;
|
|
194
201
|
};
|
|
195
202
|
|
|
196
203
|
declare const useGetChat: (_id: string) => {
|
|
@@ -232,13 +239,21 @@ declare const useGetReportedChatUsers: () => {
|
|
|
232
239
|
};
|
|
233
240
|
|
|
234
241
|
declare const useContactUs: () => {
|
|
235
|
-
contactUs: (options?: _apollo_client.MutationFunctionOptions<
|
|
242
|
+
contactUs: (options?: _apollo_client.MutationFunctionOptions<{
|
|
243
|
+
contactUs: MutationResponse<boolean>;
|
|
244
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
245
|
+
contactUs: MutationResponse<boolean>;
|
|
246
|
+
}>>;
|
|
236
247
|
error: _apollo_client.ApolloError | undefined;
|
|
237
248
|
loading: boolean;
|
|
238
249
|
};
|
|
239
250
|
|
|
240
251
|
declare const useCreateEvent: () => {
|
|
241
|
-
createEvent: (options?: _apollo_client.MutationFunctionOptions<
|
|
252
|
+
createEvent: (options?: _apollo_client.MutationFunctionOptions<{
|
|
253
|
+
createEvent: MutationResponse<EventType>;
|
|
254
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
255
|
+
createEvent: MutationResponse<EventType>;
|
|
256
|
+
}>>;
|
|
242
257
|
error: _apollo_client.ApolloError | undefined;
|
|
243
258
|
loading: boolean;
|
|
244
259
|
};
|
|
@@ -246,29 +261,29 @@ declare const useUpdateEvent: () => {
|
|
|
246
261
|
error: _apollo_client.ApolloError | undefined;
|
|
247
262
|
loading: boolean;
|
|
248
263
|
updateEvent: (options?: _apollo_client.MutationFunctionOptions<{
|
|
249
|
-
updateEvent:
|
|
250
|
-
_id: string;
|
|
251
|
-
};
|
|
264
|
+
updateEvent: MutationResponse<EventType>;
|
|
252
265
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
253
|
-
updateEvent:
|
|
254
|
-
_id: string;
|
|
255
|
-
};
|
|
266
|
+
updateEvent: MutationResponse<EventType>;
|
|
256
267
|
}>>;
|
|
257
268
|
};
|
|
258
269
|
declare const useDeleteEvent: () => {
|
|
259
|
-
deleteEvent: (options?: _apollo_client.MutationFunctionOptions<
|
|
270
|
+
deleteEvent: (options?: _apollo_client.MutationFunctionOptions<{
|
|
271
|
+
deleteEvent: MutationResponse<boolean>;
|
|
272
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
273
|
+
deleteEvent: MutationResponse<boolean>;
|
|
274
|
+
}>>;
|
|
260
275
|
error: _apollo_client.ApolloError | undefined;
|
|
261
276
|
loading: boolean;
|
|
262
277
|
};
|
|
263
278
|
declare const useCreateEventInfo: () => {
|
|
264
279
|
createEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
265
|
-
createEventInfo: {
|
|
280
|
+
createEventInfo: MutationResponse<{
|
|
266
281
|
eventId: string;
|
|
267
|
-
}
|
|
282
|
+
}>;
|
|
268
283
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
269
|
-
createEventInfo: {
|
|
284
|
+
createEventInfo: MutationResponse<{
|
|
270
285
|
eventId: string;
|
|
271
|
-
}
|
|
286
|
+
}>;
|
|
272
287
|
}>>;
|
|
273
288
|
error: _apollo_client.ApolloError | undefined;
|
|
274
289
|
loading: boolean;
|
|
@@ -277,13 +292,13 @@ declare const useUpdateEventInfo: () => {
|
|
|
277
292
|
error: _apollo_client.ApolloError | undefined;
|
|
278
293
|
loading: boolean;
|
|
279
294
|
updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
280
|
-
updateEventInfo: {
|
|
295
|
+
updateEventInfo: MutationResponse<{
|
|
281
296
|
eventId: string;
|
|
282
|
-
}
|
|
297
|
+
}>;
|
|
283
298
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
284
|
-
updateEventInfo: {
|
|
299
|
+
updateEventInfo: MutationResponse<{
|
|
285
300
|
eventId: string;
|
|
286
|
-
}
|
|
301
|
+
}>;
|
|
287
302
|
}>>;
|
|
288
303
|
};
|
|
289
304
|
|
|
@@ -361,27 +376,47 @@ declare const useGetEventInfo: (eventId: string) => {
|
|
|
361
376
|
};
|
|
362
377
|
|
|
363
378
|
declare const useCreateBulkNotifications: () => {
|
|
364
|
-
createBulkNotifications: (options?: _apollo_client.MutationFunctionOptions<
|
|
379
|
+
createBulkNotifications: (options?: _apollo_client.MutationFunctionOptions<{
|
|
380
|
+
createBulkNotifications: MutationResponse<boolean>;
|
|
381
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
382
|
+
createBulkNotifications: MutationResponse<boolean>;
|
|
383
|
+
}>>;
|
|
365
384
|
error: _apollo_client.ApolloError | undefined;
|
|
366
385
|
loading: boolean;
|
|
367
386
|
};
|
|
368
387
|
declare const useMarkNotificationRead: () => {
|
|
369
388
|
error: _apollo_client.ApolloError | undefined;
|
|
370
389
|
loading: boolean;
|
|
371
|
-
markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<
|
|
390
|
+
markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<{
|
|
391
|
+
markNotificationRead: MutationResponse<NotificationType[]>;
|
|
392
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
393
|
+
markNotificationRead: MutationResponse<NotificationType[]>;
|
|
394
|
+
}>>;
|
|
372
395
|
};
|
|
373
396
|
declare const useMarkAllNotificationsRead: () => {
|
|
374
397
|
error: _apollo_client.ApolloError | undefined;
|
|
375
398
|
loading: boolean;
|
|
376
|
-
markAllNotificationsRead: (options?: _apollo_client.MutationFunctionOptions<
|
|
399
|
+
markAllNotificationsRead: (options?: _apollo_client.MutationFunctionOptions<{
|
|
400
|
+
markAllNotificationsRead: MutationResponse<boolean>;
|
|
401
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
402
|
+
markAllNotificationsRead: MutationResponse<boolean>;
|
|
403
|
+
}>>;
|
|
377
404
|
};
|
|
378
405
|
declare const useDeleteNotification: () => {
|
|
379
|
-
deleteNotification: (options?: _apollo_client.MutationFunctionOptions<
|
|
406
|
+
deleteNotification: (options?: _apollo_client.MutationFunctionOptions<{
|
|
407
|
+
deleteNotification: MutationResponse<boolean>;
|
|
408
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
409
|
+
deleteNotification: MutationResponse<boolean>;
|
|
410
|
+
}>>;
|
|
380
411
|
error: _apollo_client.ApolloError | undefined;
|
|
381
412
|
loading: boolean;
|
|
382
413
|
};
|
|
383
414
|
declare const useDeleteAllNotifications: () => {
|
|
384
|
-
deleteAllNotifications: (options?: _apollo_client.MutationFunctionOptions<
|
|
415
|
+
deleteAllNotifications: (options?: _apollo_client.MutationFunctionOptions<{
|
|
416
|
+
deleteAllNotifications: MutationResponse<boolean>;
|
|
417
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
418
|
+
deleteAllNotifications: MutationResponse<boolean>;
|
|
419
|
+
}>>;
|
|
385
420
|
error: _apollo_client.ApolloError | undefined;
|
|
386
421
|
loading: boolean;
|
|
387
422
|
};
|
|
@@ -415,22 +450,38 @@ declare const useGetNotificationCountSubscription: () => {
|
|
|
415
450
|
};
|
|
416
451
|
|
|
417
452
|
declare const useCreatePoster: () => {
|
|
418
|
-
createPoster: (options?: _apollo_client.MutationFunctionOptions<
|
|
453
|
+
createPoster: (options?: _apollo_client.MutationFunctionOptions<{
|
|
454
|
+
createPoster: MutationResponse<{
|
|
455
|
+
posterUsage: PosterUsageType;
|
|
456
|
+
}>;
|
|
457
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
458
|
+
createPoster: MutationResponse<{
|
|
459
|
+
posterUsage: PosterUsageType;
|
|
460
|
+
}>;
|
|
461
|
+
}>>;
|
|
419
462
|
error: _apollo_client.ApolloError | undefined;
|
|
420
463
|
loading: boolean;
|
|
421
464
|
};
|
|
422
465
|
|
|
423
466
|
declare const useCreatePushToken: () => {
|
|
424
|
-
createPushToken: (options?: _apollo_client.MutationFunctionOptions<
|
|
467
|
+
createPushToken: (options?: _apollo_client.MutationFunctionOptions<{
|
|
468
|
+
createPushToken: MutationResponse<{
|
|
469
|
+
success: boolean;
|
|
470
|
+
}>;
|
|
471
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
472
|
+
createPushToken: MutationResponse<{
|
|
473
|
+
success: boolean;
|
|
474
|
+
}>;
|
|
475
|
+
}>>;
|
|
425
476
|
error: _apollo_client.ApolloError | undefined;
|
|
426
477
|
loading: boolean;
|
|
427
478
|
};
|
|
428
479
|
|
|
429
480
|
declare const useCreateRelation: () => {
|
|
430
481
|
createRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
431
|
-
createRelation: RelationType
|
|
482
|
+
createRelation: MutationResponse<RelationType>;
|
|
432
483
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
433
|
-
createRelation: RelationType
|
|
484
|
+
createRelation: MutationResponse<RelationType>;
|
|
434
485
|
}>>;
|
|
435
486
|
error: _apollo_client.ApolloError | undefined;
|
|
436
487
|
loading: boolean;
|
|
@@ -439,16 +490,16 @@ declare const useUpdateRelation: () => {
|
|
|
439
490
|
error: _apollo_client.ApolloError | undefined;
|
|
440
491
|
loading: boolean;
|
|
441
492
|
updateRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
442
|
-
updateRelation: RelationType
|
|
493
|
+
updateRelation: MutationResponse<RelationType>;
|
|
443
494
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
444
|
-
updateRelation: RelationType
|
|
495
|
+
updateRelation: MutationResponse<RelationType>;
|
|
445
496
|
}>>;
|
|
446
497
|
};
|
|
447
498
|
declare const useDeleteRelation: () => {
|
|
448
499
|
deleteRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
449
|
-
deleteRelation: RelationType
|
|
500
|
+
deleteRelation: MutationResponse<RelationType>;
|
|
450
501
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
451
|
-
deleteRelation: RelationType
|
|
502
|
+
deleteRelation: MutationResponse<RelationType>;
|
|
452
503
|
}>>;
|
|
453
504
|
error: _apollo_client.ApolloError | undefined;
|
|
454
505
|
loading: boolean;
|
|
@@ -496,29 +547,41 @@ declare const useGetResourceConnections: (resourceId: string, resourceType: Enum
|
|
|
496
547
|
};
|
|
497
548
|
|
|
498
549
|
declare const useCreateVendor: () => {
|
|
499
|
-
createVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
550
|
+
createVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
551
|
+
createVendor: MutationResponse<VendorType>;
|
|
552
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
553
|
+
createVendor: MutationResponse<VendorType>;
|
|
554
|
+
}>>;
|
|
500
555
|
error: _apollo_client.ApolloError | undefined;
|
|
501
556
|
loading: boolean;
|
|
502
557
|
};
|
|
503
558
|
declare const useUpdateVendor: () => {
|
|
504
559
|
error: _apollo_client.ApolloError | undefined;
|
|
505
560
|
loading: boolean;
|
|
506
|
-
updateVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
561
|
+
updateVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
562
|
+
updateVendor: MutationResponse<VendorType>;
|
|
563
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
564
|
+
updateVendor: MutationResponse<VendorType>;
|
|
565
|
+
}>>;
|
|
507
566
|
};
|
|
508
567
|
declare const useDeleteVendor: () => {
|
|
509
|
-
deleteVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
568
|
+
deleteVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
569
|
+
deleteVendor: MutationResponse<boolean>;
|
|
570
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
571
|
+
deleteVendor: MutationResponse<boolean>;
|
|
572
|
+
}>>;
|
|
510
573
|
error: _apollo_client.ApolloError | undefined;
|
|
511
574
|
loading: boolean;
|
|
512
575
|
};
|
|
513
576
|
declare const useCreateVendorInfo: () => {
|
|
514
577
|
createVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
515
|
-
createVendorInfo: {
|
|
578
|
+
createVendorInfo: MutationResponse<{
|
|
516
579
|
vendorId: string;
|
|
517
|
-
}
|
|
580
|
+
}>;
|
|
518
581
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
519
|
-
createVendorInfo: {
|
|
582
|
+
createVendorInfo: MutationResponse<{
|
|
520
583
|
vendorId: string;
|
|
521
|
-
}
|
|
584
|
+
}>;
|
|
522
585
|
}>>;
|
|
523
586
|
error: _apollo_client.ApolloError | undefined;
|
|
524
587
|
loading: boolean;
|
|
@@ -527,34 +590,50 @@ declare const useUpdateVendorInfo: () => {
|
|
|
527
590
|
error: _apollo_client.ApolloError | undefined;
|
|
528
591
|
loading: boolean;
|
|
529
592
|
updateVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
530
|
-
updateVendorInfo: {
|
|
593
|
+
updateVendorInfo: MutationResponse<{
|
|
531
594
|
vendorId: string;
|
|
532
|
-
}
|
|
595
|
+
}>;
|
|
533
596
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
534
|
-
updateVendorInfo: {
|
|
597
|
+
updateVendorInfo: MutationResponse<{
|
|
535
598
|
vendorId: string;
|
|
536
|
-
}
|
|
599
|
+
}>;
|
|
537
600
|
}>>;
|
|
538
601
|
};
|
|
539
602
|
declare const useCreateUnregisteredVendor: () => {
|
|
540
|
-
createUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
603
|
+
createUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
604
|
+
createUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
605
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
606
|
+
createUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
607
|
+
}>>;
|
|
541
608
|
error: _apollo_client.ApolloError | undefined;
|
|
542
609
|
loading: boolean;
|
|
543
610
|
};
|
|
544
611
|
declare const useUpdateUnregisteredVendor: () => {
|
|
545
612
|
error: _apollo_client.ApolloError | undefined;
|
|
546
613
|
loading: boolean;
|
|
547
|
-
updateUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
614
|
+
updateUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
615
|
+
updateUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
616
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
617
|
+
updateUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
618
|
+
}>>;
|
|
548
619
|
};
|
|
549
620
|
declare const useDeleteUnregisteredVendor: () => {
|
|
550
|
-
deleteUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
621
|
+
deleteUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
622
|
+
deleteUnregisteredVendor: MutationResponse<boolean>;
|
|
623
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
624
|
+
deleteUnregisteredVendor: MutationResponse<boolean>;
|
|
625
|
+
}>>;
|
|
551
626
|
error: _apollo_client.ApolloError | undefined;
|
|
552
627
|
loading: boolean;
|
|
553
628
|
};
|
|
554
629
|
declare const useUnlinkUnregisteredVendorByInviterId: () => {
|
|
555
630
|
error: _apollo_client.ApolloError | undefined;
|
|
556
631
|
loading: boolean;
|
|
557
|
-
unlinkUnregisteredVendorByInviterId: (options?: _apollo_client.MutationFunctionOptions<
|
|
632
|
+
unlinkUnregisteredVendorByInviterId: (options?: _apollo_client.MutationFunctionOptions<{
|
|
633
|
+
unlinkUnregisteredVendorByInviterId: MutationResponse<boolean>;
|
|
634
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
635
|
+
unlinkUnregisteredVendorByInviterId: MutationResponse<boolean>;
|
|
636
|
+
}>>;
|
|
558
637
|
};
|
|
559
638
|
|
|
560
639
|
declare const useGetVendors: () => {
|
|
@@ -636,9 +715,9 @@ declare const useGetUnregisteredVendor: (_id: string) => {
|
|
|
636
715
|
|
|
637
716
|
declare const useCreateUser: () => {
|
|
638
717
|
createUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
639
|
-
createUser: SafeUserType
|
|
718
|
+
createUser: MutationResponse<SafeUserType>;
|
|
640
719
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
641
|
-
createUser: SafeUserType
|
|
720
|
+
createUser: MutationResponse<SafeUserType>;
|
|
642
721
|
}>>;
|
|
643
722
|
error: _apollo_client.ApolloError | undefined;
|
|
644
723
|
loading: boolean;
|
|
@@ -647,13 +726,17 @@ declare const useUpdateUser: () => {
|
|
|
647
726
|
error: _apollo_client.ApolloError | undefined;
|
|
648
727
|
loading: boolean;
|
|
649
728
|
updateUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
650
|
-
updateUser: SafeUserType
|
|
729
|
+
updateUser: MutationResponse<SafeUserType>;
|
|
651
730
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
652
|
-
updateUser: SafeUserType
|
|
731
|
+
updateUser: MutationResponse<SafeUserType>;
|
|
653
732
|
}>>;
|
|
654
733
|
};
|
|
655
734
|
declare const useDeleteUser: () => {
|
|
656
|
-
deleteUser: (options?: _apollo_client.MutationFunctionOptions<
|
|
735
|
+
deleteUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
736
|
+
deleteUser: MutationResponse<boolean>;
|
|
737
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
738
|
+
deleteUser: MutationResponse<boolean>;
|
|
739
|
+
}>>;
|
|
657
740
|
error: _apollo_client.ApolloError | undefined;
|
|
658
741
|
loading: boolean;
|
|
659
742
|
};
|
|
@@ -661,66 +744,96 @@ declare const useRedeemReward: () => {
|
|
|
661
744
|
error: _apollo_client.ApolloError | undefined;
|
|
662
745
|
loading: boolean;
|
|
663
746
|
redeemReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
664
|
-
redeemReward:
|
|
747
|
+
redeemReward: RedeemRewardMutationResponse;
|
|
665
748
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
666
|
-
redeemReward:
|
|
749
|
+
redeemReward: RedeemRewardMutationResponse;
|
|
667
750
|
}>>;
|
|
668
751
|
};
|
|
669
752
|
declare const useAddUserFavouriteResource: () => {
|
|
670
|
-
addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
753
|
+
addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
754
|
+
addUserFavouriteResource: MutationResponse<SafeUserType>;
|
|
755
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
756
|
+
addUserFavouriteResource: MutationResponse<SafeUserType>;
|
|
757
|
+
}>>;
|
|
671
758
|
error: _apollo_client.ApolloError | undefined;
|
|
672
759
|
loading: boolean;
|
|
673
760
|
};
|
|
674
761
|
declare const useRemoveUserFavouriteResource: () => {
|
|
675
762
|
error: _apollo_client.ApolloError | undefined;
|
|
676
763
|
loading: boolean;
|
|
677
|
-
removeUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
764
|
+
removeUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
765
|
+
removeUserFavouriteResource: MutationResponse<SafeUserType>;
|
|
766
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
767
|
+
removeUserFavouriteResource: MutationResponse<SafeUserType>;
|
|
768
|
+
}>>;
|
|
678
769
|
};
|
|
679
770
|
declare const useAddUserInterestResource: () => {
|
|
680
|
-
addUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
771
|
+
addUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
772
|
+
addUserInterestResource: MutationResponse<SafeUserType>;
|
|
773
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
774
|
+
addUserInterestResource: MutationResponse<SafeUserType>;
|
|
775
|
+
}>>;
|
|
681
776
|
error: _apollo_client.ApolloError | undefined;
|
|
682
777
|
loading: boolean;
|
|
683
778
|
};
|
|
684
779
|
declare const useRemoveUserInterestResource: () => {
|
|
685
780
|
error: _apollo_client.ApolloError | undefined;
|
|
686
781
|
loading: boolean;
|
|
687
|
-
removeUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
782
|
+
removeUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
783
|
+
removeUserInterestResource: MutationResponse<SafeUserType>;
|
|
784
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
785
|
+
removeUserInterestResource: MutationResponse<SafeUserType>;
|
|
786
|
+
}>>;
|
|
688
787
|
};
|
|
689
788
|
declare const useAddUserGoingResource: () => {
|
|
690
|
-
addUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
789
|
+
addUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
790
|
+
addUserGoingResource: MutationResponse<SafeUserType>;
|
|
791
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
792
|
+
addUserGoingResource: MutationResponse<SafeUserType>;
|
|
793
|
+
}>>;
|
|
691
794
|
error: _apollo_client.ApolloError | undefined;
|
|
692
795
|
loading: boolean;
|
|
693
796
|
};
|
|
694
797
|
declare const useRemoveUserGoingResource: () => {
|
|
695
798
|
error: _apollo_client.ApolloError | undefined;
|
|
696
799
|
loading: boolean;
|
|
697
|
-
removeUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
800
|
+
removeUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
801
|
+
removeUserGoingResource: MutationResponse<SafeUserType>;
|
|
802
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
803
|
+
removeUserGoingResource: MutationResponse<SafeUserType>;
|
|
804
|
+
}>>;
|
|
698
805
|
};
|
|
699
806
|
declare const useAddUserPresentResource: () => {
|
|
700
|
-
addUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
807
|
+
addUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
808
|
+
addUserPresentResource: MutationResponse<SafeUserType>;
|
|
809
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
810
|
+
addUserPresentResource: MutationResponse<SafeUserType>;
|
|
811
|
+
}>>;
|
|
701
812
|
error: _apollo_client.ApolloError | undefined;
|
|
702
813
|
loading: boolean;
|
|
703
814
|
};
|
|
704
815
|
declare const useRemoveUserPresentResource: () => {
|
|
705
816
|
error: _apollo_client.ApolloError | undefined;
|
|
706
817
|
loading: boolean;
|
|
707
|
-
removeUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
818
|
+
removeUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
819
|
+
removeUserPresentResource: MutationResponse<SafeUserType>;
|
|
820
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
821
|
+
removeUserPresentResource: MutationResponse<SafeUserType>;
|
|
822
|
+
}>>;
|
|
708
823
|
};
|
|
709
824
|
declare const useSelectStandardPackage: () => {
|
|
710
825
|
error: _apollo_client.ApolloError | undefined;
|
|
711
826
|
loading: boolean;
|
|
712
827
|
selectStandardPackage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
713
|
-
selectStandardPackage: {
|
|
828
|
+
selectStandardPackage: MutationResponse<{
|
|
714
829
|
userId: string;
|
|
715
|
-
message: string;
|
|
716
830
|
licences: UserLicenceType[];
|
|
717
|
-
}
|
|
831
|
+
}>;
|
|
718
832
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
719
|
-
selectStandardPackage: {
|
|
833
|
+
selectStandardPackage: MutationResponse<{
|
|
720
834
|
userId: string;
|
|
721
|
-
message: string;
|
|
722
835
|
licences: UserLicenceType[];
|
|
723
|
-
}
|
|
836
|
+
}>;
|
|
724
837
|
}>>;
|
|
725
838
|
};
|
|
726
839
|
|
|
@@ -814,17 +927,29 @@ declare const useGetUserResources: (userId: string) => {
|
|
|
814
927
|
};
|
|
815
928
|
|
|
816
929
|
declare const useCreateAd: () => {
|
|
817
|
-
createAd: (options?: _apollo_client.MutationFunctionOptions<
|
|
930
|
+
createAd: (options?: _apollo_client.MutationFunctionOptions<{
|
|
931
|
+
createAd: MutationResponse<AdType>;
|
|
932
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
933
|
+
createAd: MutationResponse<AdType>;
|
|
934
|
+
}>>;
|
|
818
935
|
error: _apollo_client.ApolloError | undefined;
|
|
819
936
|
loading: boolean;
|
|
820
937
|
};
|
|
821
938
|
declare const useUpdateAd: () => {
|
|
822
939
|
error: _apollo_client.ApolloError | undefined;
|
|
823
940
|
loading: boolean;
|
|
824
|
-
updateAd: (options?: _apollo_client.MutationFunctionOptions<
|
|
941
|
+
updateAd: (options?: _apollo_client.MutationFunctionOptions<{
|
|
942
|
+
updateAd: MutationResponse<AdType>;
|
|
943
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
944
|
+
updateAd: MutationResponse<AdType>;
|
|
945
|
+
}>>;
|
|
825
946
|
};
|
|
826
947
|
declare const useDeleteAd: () => {
|
|
827
|
-
deleteAd: (options?: _apollo_client.MutationFunctionOptions<
|
|
948
|
+
deleteAd: (options?: _apollo_client.MutationFunctionOptions<{
|
|
949
|
+
deleteAd: MutationResponse<boolean>;
|
|
950
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
951
|
+
deleteAd: MutationResponse<boolean>;
|
|
952
|
+
}>>;
|
|
828
953
|
error: _apollo_client.ApolloError | undefined;
|
|
829
954
|
loading: boolean;
|
|
830
955
|
};
|
|
@@ -855,7 +980,11 @@ declare const useGetAdsByRegion: (region: string, status?: EnumAdStatus) => {
|
|
|
855
980
|
};
|
|
856
981
|
|
|
857
982
|
declare const useCreateResourceActivity: () => {
|
|
858
|
-
createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<
|
|
983
|
+
createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<{
|
|
984
|
+
createResourceActivity: MutationResponse<boolean>;
|
|
985
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
986
|
+
createResourceActivity: MutationResponse<boolean>;
|
|
987
|
+
}>>;
|
|
859
988
|
error: _apollo_client.ApolloError | undefined;
|
|
860
989
|
loading: boolean;
|
|
861
990
|
};
|
|
@@ -870,22 +999,58 @@ declare const useGetResourceActivity: (resourceId: string, resourceType: EnumRes
|
|
|
870
999
|
};
|
|
871
1000
|
|
|
872
1001
|
declare const useCreateCheckoutSession: () => {
|
|
873
|
-
createCheckoutSession: (options?: _apollo_client.MutationFunctionOptions<
|
|
1002
|
+
createCheckoutSession: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1003
|
+
createCheckoutSession: MutationResponse<{
|
|
1004
|
+
sessionId: string;
|
|
1005
|
+
checkoutUrl: string;
|
|
1006
|
+
}>;
|
|
1007
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1008
|
+
createCheckoutSession: MutationResponse<{
|
|
1009
|
+
sessionId: string;
|
|
1010
|
+
checkoutUrl: string;
|
|
1011
|
+
}>;
|
|
1012
|
+
}>>;
|
|
874
1013
|
error: _apollo_client.ApolloError | undefined;
|
|
875
1014
|
loading: boolean;
|
|
876
1015
|
};
|
|
877
1016
|
declare const useCancelSubscription: () => {
|
|
878
|
-
cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<
|
|
1017
|
+
cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1018
|
+
cancelSubscription: MutationResponse<string>;
|
|
1019
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1020
|
+
cancelSubscription: MutationResponse<string>;
|
|
1021
|
+
}>>;
|
|
879
1022
|
error: _apollo_client.ApolloError | undefined;
|
|
880
1023
|
loading: boolean;
|
|
881
1024
|
};
|
|
882
1025
|
declare const useUpdateSubscriptionPlan: () => {
|
|
883
1026
|
error: _apollo_client.ApolloError | undefined;
|
|
884
1027
|
loading: boolean;
|
|
885
|
-
updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<
|
|
1028
|
+
updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1029
|
+
updateSubscriptionPlan: MutationResponse<{
|
|
1030
|
+
subscriptionId: string;
|
|
1031
|
+
status: string;
|
|
1032
|
+
priceId: string;
|
|
1033
|
+
currentPlan: string;
|
|
1034
|
+
}>;
|
|
1035
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1036
|
+
updateSubscriptionPlan: MutationResponse<{
|
|
1037
|
+
subscriptionId: string;
|
|
1038
|
+
status: string;
|
|
1039
|
+
priceId: string;
|
|
1040
|
+
currentPlan: string;
|
|
1041
|
+
}>;
|
|
1042
|
+
}>>;
|
|
886
1043
|
};
|
|
887
1044
|
declare const useCreateCustomerPortal: () => {
|
|
888
|
-
createCustomerPortal: (options?: _apollo_client.MutationFunctionOptions<
|
|
1045
|
+
createCustomerPortal: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1046
|
+
createCustomerPortal: MutationResponse<{
|
|
1047
|
+
portalUrl: string;
|
|
1048
|
+
}>;
|
|
1049
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1050
|
+
createCustomerPortal: MutationResponse<{
|
|
1051
|
+
portalUrl: string;
|
|
1052
|
+
}>;
|
|
1053
|
+
}>>;
|
|
889
1054
|
error: _apollo_client.ApolloError | undefined;
|
|
890
1055
|
loading: boolean;
|
|
891
1056
|
};
|
|
@@ -893,19 +1058,17 @@ declare const useSelectPackage: () => {
|
|
|
893
1058
|
error: _apollo_client.ApolloError | undefined;
|
|
894
1059
|
loading: boolean;
|
|
895
1060
|
selectPackage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
896
|
-
selectPackage: {
|
|
1061
|
+
selectPackage: MutationResponse<{
|
|
897
1062
|
checkoutUrl?: string;
|
|
898
1063
|
userId: string;
|
|
899
|
-
message: string;
|
|
900
1064
|
licences: UserLicenceType[];
|
|
901
|
-
}
|
|
1065
|
+
}>;
|
|
902
1066
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
903
|
-
selectPackage: {
|
|
1067
|
+
selectPackage: MutationResponse<{
|
|
904
1068
|
checkoutUrl?: string;
|
|
905
1069
|
userId: string;
|
|
906
|
-
message: string;
|
|
907
1070
|
licences: UserLicenceType[];
|
|
908
|
-
}
|
|
1071
|
+
}>;
|
|
909
1072
|
}>>;
|
|
910
1073
|
};
|
|
911
1074
|
|
|
@@ -927,17 +1090,29 @@ declare const useGetSubscriptionPlans: () => {
|
|
|
927
1090
|
};
|
|
928
1091
|
|
|
929
1092
|
declare const useCreatePartner: () => {
|
|
930
|
-
createPartner: (options?: _apollo_client.MutationFunctionOptions<
|
|
1093
|
+
createPartner: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1094
|
+
createPartner: MutationResponse<PartnerType>;
|
|
1095
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1096
|
+
createPartner: MutationResponse<PartnerType>;
|
|
1097
|
+
}>>;
|
|
931
1098
|
error: _apollo_client.ApolloError | undefined;
|
|
932
1099
|
loading: boolean;
|
|
933
1100
|
};
|
|
934
1101
|
declare const useUpdatePartner: () => {
|
|
935
1102
|
error: _apollo_client.ApolloError | undefined;
|
|
936
1103
|
loading: boolean;
|
|
937
|
-
updatePartner: (options?: _apollo_client.MutationFunctionOptions<
|
|
1104
|
+
updatePartner: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1105
|
+
updatePartner: MutationResponse<PartnerType>;
|
|
1106
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1107
|
+
updatePartner: MutationResponse<PartnerType>;
|
|
1108
|
+
}>>;
|
|
938
1109
|
};
|
|
939
1110
|
declare const useDeletePartner: () => {
|
|
940
|
-
deletePartner: (options?: _apollo_client.MutationFunctionOptions<
|
|
1111
|
+
deletePartner: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1112
|
+
deletePartner: MutationResponse<boolean>;
|
|
1113
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1114
|
+
deletePartner: MutationResponse<boolean>;
|
|
1115
|
+
}>>;
|
|
941
1116
|
error: _apollo_client.ApolloError | undefined;
|
|
942
1117
|
loading: boolean;
|
|
943
1118
|
};
|
|
@@ -988,17 +1163,29 @@ declare const useSearchPartners: (search: string, region: string) => {
|
|
|
988
1163
|
};
|
|
989
1164
|
|
|
990
1165
|
declare const useCreatePost: () => {
|
|
991
|
-
createPost: (options?: _apollo_client.MutationFunctionOptions<
|
|
1166
|
+
createPost: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1167
|
+
createPost: MutationResponse<PostType>;
|
|
1168
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1169
|
+
createPost: MutationResponse<PostType>;
|
|
1170
|
+
}>>;
|
|
992
1171
|
error: _apollo_client.ApolloError | undefined;
|
|
993
1172
|
loading: boolean;
|
|
994
1173
|
};
|
|
995
1174
|
declare const useUpdatePost: () => {
|
|
996
1175
|
error: _apollo_client.ApolloError | undefined;
|
|
997
1176
|
loading: boolean;
|
|
998
|
-
updatePost: (options?: _apollo_client.MutationFunctionOptions<
|
|
1177
|
+
updatePost: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1178
|
+
updatePost: MutationResponse<PostType>;
|
|
1179
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1180
|
+
updatePost: MutationResponse<PostType>;
|
|
1181
|
+
}>>;
|
|
999
1182
|
};
|
|
1000
1183
|
declare const useDeletePost: () => {
|
|
1001
|
-
deletePost: (options?: _apollo_client.MutationFunctionOptions<
|
|
1184
|
+
deletePost: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1185
|
+
deletePost: MutationResponse<boolean>;
|
|
1186
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1187
|
+
deletePost: MutationResponse<boolean>;
|
|
1188
|
+
}>>;
|
|
1002
1189
|
error: _apollo_client.ApolloError | undefined;
|
|
1003
1190
|
loading: boolean;
|
|
1004
1191
|
};
|
|
@@ -1031,17 +1218,17 @@ declare const useGetPostsByType: (postType: EnumPostType) => {
|
|
|
1031
1218
|
declare const useUpdateAppSettings: () => {
|
|
1032
1219
|
error: _apollo_client.ApolloError | undefined;
|
|
1033
1220
|
loading: boolean;
|
|
1034
|
-
updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<
|
|
1221
|
+
updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1222
|
+
updateAppSettings: MutationResponse<boolean>;
|
|
1223
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1224
|
+
updateAppSettings: MutationResponse<boolean>;
|
|
1225
|
+
}>>;
|
|
1035
1226
|
};
|
|
1036
1227
|
declare const useCrawlGoogleMarkets: () => {
|
|
1037
1228
|
crawlGoogleMarkets: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1038
|
-
crawlGoogleMarkets:
|
|
1039
|
-
message: string;
|
|
1040
|
-
};
|
|
1229
|
+
crawlGoogleMarkets: MutationResponse<boolean>;
|
|
1041
1230
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1042
|
-
crawlGoogleMarkets:
|
|
1043
|
-
message: string;
|
|
1044
|
-
};
|
|
1231
|
+
crawlGoogleMarkets: MutationResponse<boolean>;
|
|
1045
1232
|
}>>;
|
|
1046
1233
|
error: _apollo_client.ApolloError | undefined;
|
|
1047
1234
|
loading: boolean;
|
|
@@ -1050,13 +1237,9 @@ declare const useUpdateGoogleImportedMarkets: () => {
|
|
|
1050
1237
|
error: _apollo_client.ApolloError | undefined;
|
|
1051
1238
|
loading: boolean;
|
|
1052
1239
|
updateGoogleImportedMarkets: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1053
|
-
updateGoogleImportedMarkets:
|
|
1054
|
-
message: string;
|
|
1055
|
-
};
|
|
1240
|
+
updateGoogleImportedMarkets: MutationResponse<boolean>;
|
|
1056
1241
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1057
|
-
updateGoogleImportedMarkets:
|
|
1058
|
-
message: string;
|
|
1059
|
-
};
|
|
1242
|
+
updateGoogleImportedMarkets: MutationResponse<boolean>;
|
|
1060
1243
|
}>>;
|
|
1061
1244
|
};
|
|
1062
1245
|
|
|
@@ -1073,32 +1256,36 @@ declare const useStartGame: () => {
|
|
|
1073
1256
|
error: _apollo_client.ApolloError | undefined;
|
|
1074
1257
|
loading: boolean;
|
|
1075
1258
|
startGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1076
|
-
startGame: GameDocType
|
|
1259
|
+
startGame: MutationResponse<GameDocType>;
|
|
1077
1260
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1078
|
-
startGame: GameDocType
|
|
1261
|
+
startGame: MutationResponse<GameDocType>;
|
|
1079
1262
|
}>>;
|
|
1080
1263
|
};
|
|
1081
1264
|
declare const useLeaveGame: () => {
|
|
1082
1265
|
error: _apollo_client.ApolloError | undefined;
|
|
1083
|
-
leaveGame: (options?: _apollo_client.MutationFunctionOptions<
|
|
1266
|
+
leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1267
|
+
leaveGame: MutationResponse<boolean>;
|
|
1268
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1269
|
+
leaveGame: MutationResponse<boolean>;
|
|
1270
|
+
}>>;
|
|
1084
1271
|
loading: boolean;
|
|
1085
1272
|
};
|
|
1086
1273
|
declare const useUpdateDailyClueGame: () => {
|
|
1087
1274
|
error: _apollo_client.ApolloError | undefined;
|
|
1088
1275
|
loading: boolean;
|
|
1089
1276
|
updateDailyClueGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1090
|
-
updateDailyClueGame: GameDocType
|
|
1277
|
+
updateDailyClueGame: MutationResponse<GameDocType>;
|
|
1091
1278
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1092
|
-
updateDailyClueGame: GameDocType
|
|
1279
|
+
updateDailyClueGame: MutationResponse<GameDocType>;
|
|
1093
1280
|
}>>;
|
|
1094
1281
|
};
|
|
1095
1282
|
declare const useUpdatePuzzleGame: () => {
|
|
1096
1283
|
error: _apollo_client.ApolloError | undefined;
|
|
1097
1284
|
loading: boolean;
|
|
1098
1285
|
updatePuzzleGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1099
|
-
updatePuzzleGame: GameDocType
|
|
1286
|
+
updatePuzzleGame: MutationResponse<GameDocType>;
|
|
1100
1287
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1101
|
-
updatePuzzleGame: GameDocType
|
|
1288
|
+
updatePuzzleGame: MutationResponse<GameDocType>;
|
|
1102
1289
|
}>>;
|
|
1103
1290
|
};
|
|
1104
1291
|
|
|
@@ -1128,24 +1315,40 @@ declare const useGetGameLeaderboard: () => {
|
|
|
1128
1315
|
};
|
|
1129
1316
|
|
|
1130
1317
|
declare const useCreateSchool: () => {
|
|
1131
|
-
createSchool: (options?: _apollo_client.MutationFunctionOptions<
|
|
1318
|
+
createSchool: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1319
|
+
createSchool: MutationResponse<SchoolType>;
|
|
1320
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1321
|
+
createSchool: MutationResponse<SchoolType>;
|
|
1322
|
+
}>>;
|
|
1132
1323
|
error: _apollo_client.ApolloError | undefined;
|
|
1133
1324
|
loading: boolean;
|
|
1134
1325
|
};
|
|
1135
1326
|
declare const useUpdateSchool: () => {
|
|
1136
1327
|
error: _apollo_client.ApolloError | undefined;
|
|
1137
1328
|
loading: boolean;
|
|
1138
|
-
updateSchool: (options?: _apollo_client.MutationFunctionOptions<
|
|
1329
|
+
updateSchool: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1330
|
+
updateSchool: MutationResponse<SchoolType>;
|
|
1331
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1332
|
+
updateSchool: MutationResponse<SchoolType>;
|
|
1333
|
+
}>>;
|
|
1139
1334
|
};
|
|
1140
1335
|
declare const useDeleteSchool: () => {
|
|
1141
|
-
deleteSchool: (options?: _apollo_client.MutationFunctionOptions<
|
|
1336
|
+
deleteSchool: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1337
|
+
deleteSchool: MutationResponse<boolean>;
|
|
1338
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1339
|
+
deleteSchool: MutationResponse<boolean>;
|
|
1340
|
+
}>>;
|
|
1142
1341
|
error: _apollo_client.ApolloError | undefined;
|
|
1143
1342
|
loading: boolean;
|
|
1144
1343
|
};
|
|
1145
1344
|
declare const useRequestMarketingMaterial: () => {
|
|
1146
1345
|
error: _apollo_client.ApolloError | undefined;
|
|
1147
1346
|
loading: boolean;
|
|
1148
|
-
requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<
|
|
1347
|
+
requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1348
|
+
requestMarketingMaterial: MutationResponse<boolean>;
|
|
1349
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1350
|
+
requestMarketingMaterial: MutationResponse<boolean>;
|
|
1351
|
+
}>>;
|
|
1149
1352
|
};
|
|
1150
1353
|
|
|
1151
1354
|
declare const useGetSchools: () => {
|
|
@@ -1185,25 +1388,45 @@ declare const useGetAffiliates: () => {
|
|
|
1185
1388
|
declare const useUpdateAffiliateDetails: () => {
|
|
1186
1389
|
error: _apollo_client.ApolloError | undefined;
|
|
1187
1390
|
loading: boolean;
|
|
1188
|
-
updateAffiliateDetails: (options?: _apollo_client.MutationFunctionOptions<
|
|
1391
|
+
updateAffiliateDetails: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1392
|
+
updateAffiliateDetails: MutationResponse<AffiliateType>;
|
|
1393
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1394
|
+
updateAffiliateDetails: MutationResponse<AffiliateType>;
|
|
1395
|
+
}>>;
|
|
1189
1396
|
};
|
|
1190
1397
|
declare const useDeleteAffiliate: () => {
|
|
1191
|
-
deleteAffiliate: (options?: _apollo_client.MutationFunctionOptions<
|
|
1398
|
+
deleteAffiliate: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1399
|
+
deleteAffiliate: MutationResponse<boolean>;
|
|
1400
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1401
|
+
deleteAffiliate: MutationResponse<boolean>;
|
|
1402
|
+
}>>;
|
|
1192
1403
|
error: _apollo_client.ApolloError | undefined;
|
|
1193
1404
|
loading: boolean;
|
|
1194
1405
|
};
|
|
1195
1406
|
declare const useRedeemAffiliateReward: () => {
|
|
1196
1407
|
error: _apollo_client.ApolloError | undefined;
|
|
1197
1408
|
loading: boolean;
|
|
1198
|
-
redeemAffiliateReward: (options?: _apollo_client.MutationFunctionOptions<
|
|
1409
|
+
redeemAffiliateReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1410
|
+
redeemAffiliateReward: MutationResponse<AffiliateType>;
|
|
1411
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1412
|
+
redeemAffiliateReward: MutationResponse<AffiliateType>;
|
|
1413
|
+
}>>;
|
|
1199
1414
|
};
|
|
1200
1415
|
declare const useAssignAffiliateResourceReward: () => {
|
|
1201
|
-
assignAffiliateResourceReward: (options?: _apollo_client.MutationFunctionOptions<
|
|
1416
|
+
assignAffiliateResourceReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1417
|
+
assignAffiliateResourceReward: MutationResponse<AffiliateType>;
|
|
1418
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1419
|
+
assignAffiliateResourceReward: MutationResponse<AffiliateType>;
|
|
1420
|
+
}>>;
|
|
1202
1421
|
error: _apollo_client.ApolloError | undefined;
|
|
1203
1422
|
loading: boolean;
|
|
1204
1423
|
};
|
|
1205
1424
|
declare const useAssignAffiliateBonusReward: () => {
|
|
1206
|
-
assignAffiliateBonusReward: (options?: _apollo_client.MutationFunctionOptions<
|
|
1425
|
+
assignAffiliateBonusReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1426
|
+
assignAffiliateBonusReward: MutationResponse<AffiliateType>;
|
|
1427
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1428
|
+
assignAffiliateBonusReward: MutationResponse<AffiliateType>;
|
|
1429
|
+
}>>;
|
|
1207
1430
|
error: _apollo_client.ApolloError | undefined;
|
|
1208
1431
|
loading: boolean;
|
|
1209
1432
|
};
|