@timardex/cluemart-shared 1.6.130 → 1.7.1
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-BUYzE6zx.d.ts +181 -0
- package/dist/ad-BhLoEul3.d.mts +181 -0
- package/dist/affiliate-BbtjeUP4.d.mts +73 -0
- package/dist/affiliate-C51nzKsw.d.ts +73 -0
- package/dist/apollo/index.d.mts +3 -3
- package/dist/apollo/index.d.ts +3 -3
- package/dist/auth/index.cjs +951 -2546
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.mts +30 -28
- package/dist/auth/index.d.ts +30 -28
- package/dist/auth/index.mjs +25 -24
- package/dist/auth/index.mjs.map +1 -1
- package/dist/chunk-32MKHJTX.mjs +1207 -0
- package/dist/chunk-32MKHJTX.mjs.map +1 -0
- package/dist/chunk-AYO3E4DM.mjs +224 -0
- package/dist/chunk-AYO3E4DM.mjs.map +1 -0
- package/dist/chunk-BIJ5NDXW.mjs +962 -0
- package/dist/chunk-BIJ5NDXW.mjs.map +1 -0
- package/dist/chunk-DQ7ZHIXW.mjs +26 -0
- package/dist/chunk-DQ7ZHIXW.mjs.map +1 -0
- package/dist/chunk-ILILH7E2.mjs +219 -0
- package/dist/chunk-ILILH7E2.mjs.map +1 -0
- package/dist/{chunk-OHHJ3KJJ.mjs → chunk-LBEJECG3.mjs} +64 -71
- package/dist/chunk-LBEJECG3.mjs.map +1 -0
- package/dist/chunk-NPFJ2CN2.mjs +109 -0
- package/dist/chunk-NPFJ2CN2.mjs.map +1 -0
- package/dist/chunk-R6PCFOYO.mjs +3650 -0
- package/dist/chunk-R6PCFOYO.mjs.map +1 -0
- package/dist/{chunk-NWWKI4PJ.mjs → chunk-SD42WIMV.mjs} +5 -5
- package/dist/chunk-SD42WIMV.mjs.map +1 -0
- package/dist/chunk-VA5YN2K3.mjs +48 -0
- package/dist/chunk-VA5YN2K3.mjs.map +1 -0
- package/dist/{chunk-DATBGC2K.mjs → chunk-VPANTTZI.mjs} +23 -108
- package/dist/chunk-VPANTTZI.mjs.map +1 -0
- package/dist/chunk-X3OLM35T.mjs +278 -0
- package/dist/chunk-X3OLM35T.mjs.map +1 -0
- package/dist/contactUs--NoohZBu.d.ts +11 -0
- package/dist/contactUs-CBWzefUS.d.mts +11 -0
- package/dist/enums/index.cjs +229 -2
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +170 -5
- package/dist/enums/index.d.ts +170 -5
- package/dist/enums/index.mjs +41 -1
- package/dist/formFields/index.cjs +112 -284
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +2 -4
- package/dist/formFields/index.d.ts +2 -4
- package/dist/formFields/index.mjs +50 -919
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/global-CUYYxpy2.d.ts +699 -0
- package/dist/global-DePDtOFt.d.mts +699 -0
- package/dist/graphql/index.cjs +2304 -2872
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +469 -422
- package/dist/graphql/index.d.ts +469 -422
- package/dist/graphql/index.mjs +160 -2547
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +3869 -534
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +9 -10
- package/dist/hooks/index.d.ts +9 -10
- package/dist/hooks/index.mjs +72 -54
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/images/index.mjs +21 -86
- package/dist/images/index.mjs.map +1 -1
- package/dist/index.cjs +4477 -5723
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1679 -2539
- package/dist/index.d.ts +1679 -2539
- package/dist/index.mjs +4453 -5682
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.d.mts +2 -3
- package/dist/map/index.d.ts +2 -3
- package/dist/resourceActivities-CMUcn2P7.d.ts +130 -0
- package/dist/resourceActivities-CwbJFGIp.d.mts +130 -0
- package/dist/sharing/index.cjs +19 -23
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +3 -16
- package/dist/sharing/index.d.ts +3 -16
- package/dist/sharing/index.mjs +29 -183
- package/dist/sharing/index.mjs.map +1 -1
- package/dist/subscription-BU8GvH2K.d.ts +12 -0
- package/dist/subscription-bmAdrnfi.d.mts +12 -0
- package/dist/theme/index.mjs +5 -41
- package/dist/theme/index.mjs.map +1 -1
- package/dist/types/index.cjs +123 -868
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +15 -234
- package/dist/types/index.d.ts +15 -234
- package/dist/types/index.mjs +31 -61
- package/dist/user-D47MLFyH.d.ts +134 -0
- package/dist/user-DE8edl3u.d.mts +134 -0
- package/dist/utils/index.cjs +117 -292
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +23 -25
- package/dist/utils/index.d.ts +23 -25
- package/dist/utils/index.mjs +5 -6
- package/package.json +3 -10
- package/dist/affiliate-Bqqlffw8.d.mts +0 -36
- package/dist/affiliate-Btlp5XUp.d.ts +0 -36
- package/dist/affiliateAdapters-BW3BY7c5.d.mts +0 -118
- package/dist/affiliateAdapters-C51ISmuA.d.ts +0 -118
- package/dist/auth-BOmAO53v.d.ts +0 -169
- package/dist/auth-CsITA95p.d.mts +0 -169
- package/dist/chunk-DATBGC2K.mjs.map +0 -1
- package/dist/chunk-DDHECBJR.mjs +0 -726
- package/dist/chunk-DDHECBJR.mjs.map +0 -1
- package/dist/chunk-INQCDU24.mjs +0 -139
- package/dist/chunk-INQCDU24.mjs.map +0 -1
- package/dist/chunk-NWWKI4PJ.mjs.map +0 -1
- package/dist/chunk-OHHJ3KJJ.mjs.map +0 -1
- package/dist/chunk-TOEFAEF2.mjs +0 -69
- package/dist/chunk-TOEFAEF2.mjs.map +0 -1
- package/dist/chunk-UKW7NZEQ.mjs +0 -2813
- package/dist/chunk-UKW7NZEQ.mjs.map +0 -1
- package/dist/dailyClue-C6WXY73z.d.mts +0 -105
- package/dist/dailyClue-C6WXY73z.d.ts +0 -105
- package/dist/event-C9K7CSg4.d.ts +0 -53
- package/dist/event-W0NhL5Cd.d.mts +0 -53
- package/dist/global-BbSFfYdd.d.ts +0 -181
- package/dist/global-C6v9tRji.d.mts +0 -181
- package/dist/graphql-CDOfA79A.d.ts +0 -1253
- package/dist/graphql-CcvzTs9k.d.mts +0 -1253
- package/dist/resourceActivities-CS8YRIIL.d.mts +0 -89
- package/dist/resourceActivities-DOdNPkhW.d.ts +0 -89
- package/dist/subscription-Cj_qBA7u.d.mts +0 -20
- package/dist/subscription-OiJ50uJb.d.ts +0 -20
- package/dist/vendor-DmMi2qmx.d.mts +0 -73
- package/dist/vendor-M9hVZlni.d.ts +0 -73
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,158 +1,171 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
|
-
import { A as AdminUpdateResourceType,
|
|
4
|
-
import { M as MutationResponse,
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import '../
|
|
3
|
+
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-CwbJFGIp.mjs';
|
|
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-DePDtOFt.mjs';
|
|
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-BhLoEul3.mjs';
|
|
6
|
+
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-DE8edl3u.mjs';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-BbtjeUP4.mjs';
|
|
8
9
|
import 'react-hook-form';
|
|
9
10
|
import '../images/index.mjs';
|
|
10
11
|
|
|
11
|
-
declare const
|
|
12
|
-
declare const
|
|
13
|
-
|
|
14
|
-
declare const
|
|
12
|
+
declare const GET_EVENT: _apollo_client.DocumentNode;
|
|
13
|
+
declare const GET_EVENT_INFO: _apollo_client.DocumentNode;
|
|
14
|
+
|
|
15
|
+
declare const GET_VENDOR: _apollo_client.DocumentNode;
|
|
16
|
+
declare const GET_VENDOR_INFO: _apollo_client.DocumentNode;
|
|
17
|
+
|
|
18
|
+
declare const GET_PARTNER: _apollo_client.DocumentNode;
|
|
19
|
+
|
|
20
|
+
declare const GET_POST: _apollo_client.DocumentNode;
|
|
21
|
+
|
|
22
|
+
declare const GET_EVENT_BY_SLUG: _apollo_client.DocumentNode;
|
|
23
|
+
declare const GET_VENDOR_BY_SLUG: _apollo_client.DocumentNode;
|
|
24
|
+
declare const GET_PARTNER_BY_SLUG: _apollo_client.DocumentNode;
|
|
25
|
+
declare const GET_POST_BY_SLUG: _apollo_client.DocumentNode;
|
|
26
|
+
|
|
27
|
+
declare const GET_RESOURCE_CONNECTIONS: _apollo_client.DocumentNode;
|
|
15
28
|
|
|
16
29
|
declare function toGraphqlQueryString(query: DocumentNode): string;
|
|
17
30
|
|
|
18
31
|
declare const useAdminUpdateResourceType: () => {
|
|
19
|
-
adminUpdateResourceType: (options?:
|
|
32
|
+
adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<{
|
|
20
33
|
adminUpdateResourceType: MutationResponse<AdminUpdateResourceType>;
|
|
21
|
-
},
|
|
34
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
22
35
|
adminUpdateResourceType: MutationResponse<AdminUpdateResourceType>;
|
|
23
36
|
}>>;
|
|
24
|
-
error:
|
|
37
|
+
error: _apollo_client.ApolloError | undefined;
|
|
25
38
|
loading: boolean;
|
|
26
39
|
};
|
|
27
40
|
declare const useAdminResendUserVerificationEmail: () => {
|
|
28
|
-
adminResendUserVerificationEmail: (options?:
|
|
41
|
+
adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<{
|
|
29
42
|
adminResendUserVerificationEmail: MutationResponse<boolean>;
|
|
30
|
-
},
|
|
43
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
31
44
|
adminResendUserVerificationEmail: MutationResponse<boolean>;
|
|
32
45
|
}>>;
|
|
33
|
-
error:
|
|
46
|
+
error: _apollo_client.ApolloError | undefined;
|
|
34
47
|
loading: boolean;
|
|
35
48
|
};
|
|
36
49
|
declare const useAdminPermanentlyDeleteResource: () => {
|
|
37
|
-
adminPermanentlyDeleteResource: (options?:
|
|
50
|
+
adminPermanentlyDeleteResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
38
51
|
adminPermanentlyDeleteResource: MutationResponse<boolean>;
|
|
39
|
-
},
|
|
52
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
40
53
|
adminPermanentlyDeleteResource: MutationResponse<boolean>;
|
|
41
54
|
}>>;
|
|
42
|
-
error:
|
|
55
|
+
error: _apollo_client.ApolloError | undefined;
|
|
43
56
|
loading: boolean;
|
|
44
57
|
};
|
|
45
58
|
|
|
46
59
|
type MessageOnlyResponse = MutationResponse<boolean>;
|
|
47
60
|
declare const useRegister: () => {
|
|
48
|
-
error:
|
|
61
|
+
error: _apollo_client.ApolloError | undefined;
|
|
49
62
|
loading: boolean;
|
|
50
|
-
register: (options?:
|
|
63
|
+
register: (options?: _apollo_client.MutationFunctionOptions<{
|
|
51
64
|
register: AuthMutationResponse;
|
|
52
|
-
},
|
|
65
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
53
66
|
register: AuthMutationResponse;
|
|
54
67
|
}>>;
|
|
55
68
|
};
|
|
56
69
|
declare const useLogin: () => {
|
|
57
|
-
error:
|
|
70
|
+
error: _apollo_client.ApolloError | undefined;
|
|
58
71
|
loading: boolean;
|
|
59
|
-
login: (options?:
|
|
72
|
+
login: (options?: _apollo_client.MutationFunctionOptions<{
|
|
60
73
|
login: AuthMutationResponse;
|
|
61
|
-
},
|
|
74
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
62
75
|
login: AuthMutationResponse;
|
|
63
76
|
}>>;
|
|
64
77
|
};
|
|
65
78
|
declare const useLogout: () => {
|
|
66
|
-
error:
|
|
79
|
+
error: _apollo_client.ApolloError | undefined;
|
|
67
80
|
loading: boolean;
|
|
68
|
-
logout: (options?:
|
|
81
|
+
logout: (options?: _apollo_client.MutationFunctionOptions<{
|
|
69
82
|
logout: MessageOnlyResponse;
|
|
70
|
-
},
|
|
83
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
71
84
|
logout: MessageOnlyResponse;
|
|
72
85
|
}>>;
|
|
73
86
|
};
|
|
74
87
|
declare const useRefreshToken: () => {
|
|
75
|
-
error:
|
|
88
|
+
error: _apollo_client.ApolloError | undefined;
|
|
76
89
|
loading: boolean;
|
|
77
|
-
refreshToken: (options?:
|
|
90
|
+
refreshToken: (options?: _apollo_client.MutationFunctionOptions<{
|
|
78
91
|
refreshToken: RefreshTokenMutationResponse;
|
|
79
|
-
},
|
|
92
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
80
93
|
refreshToken: RefreshTokenMutationResponse;
|
|
81
94
|
}>>;
|
|
82
95
|
};
|
|
83
96
|
declare const useRequestPasswordReset: () => {
|
|
84
|
-
error:
|
|
97
|
+
error: _apollo_client.ApolloError | undefined;
|
|
85
98
|
loading: boolean;
|
|
86
|
-
requestPasswordReset: (options?:
|
|
99
|
+
requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<{
|
|
87
100
|
requestPasswordReset: MessageOnlyResponse;
|
|
88
|
-
},
|
|
101
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
89
102
|
requestPasswordReset: MessageOnlyResponse;
|
|
90
103
|
}>>;
|
|
91
104
|
};
|
|
92
105
|
declare const useValidateVerificationToken: () => {
|
|
93
|
-
error:
|
|
106
|
+
error: _apollo_client.ApolloError | undefined;
|
|
94
107
|
loading: boolean;
|
|
95
|
-
validateVerificationToken: (options?:
|
|
108
|
+
validateVerificationToken: (options?: _apollo_client.MutationFunctionOptions<{
|
|
96
109
|
validateVerificationToken: MessageOnlyResponse;
|
|
97
|
-
},
|
|
110
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
98
111
|
validateVerificationToken: MessageOnlyResponse;
|
|
99
112
|
}>>;
|
|
100
113
|
};
|
|
101
114
|
declare const useResetPassword: () => {
|
|
102
|
-
error:
|
|
115
|
+
error: _apollo_client.ApolloError | undefined;
|
|
103
116
|
loading: boolean;
|
|
104
|
-
resetPassword: (options?:
|
|
117
|
+
resetPassword: (options?: _apollo_client.MutationFunctionOptions<{
|
|
105
118
|
resetPassword: MessageOnlyResponse;
|
|
106
|
-
},
|
|
119
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
107
120
|
resetPassword: MessageOnlyResponse;
|
|
108
121
|
}>>;
|
|
109
122
|
};
|
|
110
123
|
|
|
111
124
|
declare const useCreatePrivateChat: () => {
|
|
112
|
-
createPrivateChat: (options?:
|
|
125
|
+
createPrivateChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
113
126
|
createPrivateChat: MutationResponse<ChatType>;
|
|
114
|
-
},
|
|
127
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
115
128
|
createPrivateChat: MutationResponse<ChatType>;
|
|
116
129
|
}>>;
|
|
117
|
-
error:
|
|
130
|
+
error: _apollo_client.ApolloError | undefined;
|
|
118
131
|
loading: boolean;
|
|
119
132
|
};
|
|
120
133
|
declare const useSendChatMessage: () => {
|
|
121
|
-
error:
|
|
134
|
+
error: _apollo_client.ApolloError | undefined;
|
|
122
135
|
loading: boolean;
|
|
123
|
-
sendChatMessage: (options?:
|
|
136
|
+
sendChatMessage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
124
137
|
sendChatMessage: MutationResponse<ChatType>;
|
|
125
|
-
},
|
|
138
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
126
139
|
sendChatMessage: MutationResponse<ChatType>;
|
|
127
140
|
}>>;
|
|
128
141
|
};
|
|
129
142
|
declare const useDeleteChat: () => {
|
|
130
|
-
deleteChat: (options?:
|
|
143
|
+
deleteChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
131
144
|
deleteChat: MutationResponse<boolean>;
|
|
132
|
-
},
|
|
145
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
133
146
|
deleteChat: MutationResponse<boolean>;
|
|
134
147
|
}>>;
|
|
135
|
-
error:
|
|
148
|
+
error: _apollo_client.ApolloError | undefined;
|
|
136
149
|
loading: boolean;
|
|
137
150
|
};
|
|
138
151
|
declare const useAddParticipantToChat: () => {
|
|
139
|
-
addParticipantToChat: (options?:
|
|
152
|
+
addParticipantToChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
140
153
|
addParticipantToChat: MutationResponse<ChatType>;
|
|
141
|
-
},
|
|
154
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
142
155
|
addParticipantToChat: MutationResponse<ChatType>;
|
|
143
156
|
}>>;
|
|
144
|
-
error:
|
|
157
|
+
error: _apollo_client.ApolloError | undefined;
|
|
145
158
|
loading: boolean;
|
|
146
159
|
};
|
|
147
160
|
declare const useRemoveParticipantFromChat: () => {
|
|
148
|
-
error:
|
|
161
|
+
error: _apollo_client.ApolloError | undefined;
|
|
149
162
|
loading: boolean;
|
|
150
|
-
removeParticipantFromChat: (options?:
|
|
163
|
+
removeParticipantFromChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
151
164
|
removeParticipantFromChat: MutationResponse<{
|
|
152
165
|
success: boolean;
|
|
153
166
|
region?: string | null;
|
|
154
167
|
}>;
|
|
155
|
-
},
|
|
168
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
156
169
|
removeParticipantFromChat: MutationResponse<{
|
|
157
170
|
success: boolean;
|
|
158
171
|
region?: string | null;
|
|
@@ -160,176 +173,184 @@ declare const useRemoveParticipantFromChat: () => {
|
|
|
160
173
|
}>>;
|
|
161
174
|
};
|
|
162
175
|
declare const useToggleChatMessageLike: () => {
|
|
163
|
-
error:
|
|
176
|
+
error: _apollo_client.ApolloError | undefined;
|
|
164
177
|
loading: boolean;
|
|
165
|
-
toggleChatMessageLike: (options?:
|
|
178
|
+
toggleChatMessageLike: (options?: _apollo_client.MutationFunctionOptions<{
|
|
166
179
|
toggleChatMessageLike: MutationResponse<ChatType>;
|
|
167
|
-
},
|
|
180
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
168
181
|
toggleChatMessageLike: MutationResponse<ChatType>;
|
|
169
182
|
}>>;
|
|
170
183
|
};
|
|
171
184
|
declare const useMarkChatMessagesSeen: () => {
|
|
172
|
-
error:
|
|
185
|
+
error: _apollo_client.ApolloError | undefined;
|
|
173
186
|
loading: boolean;
|
|
174
|
-
markChatMessagesSeen: (options?:
|
|
187
|
+
markChatMessagesSeen: (options?: _apollo_client.MutationFunctionOptions<{
|
|
175
188
|
markChatMessagesSeen: MutationResponse<ChatType>;
|
|
176
|
-
},
|
|
189
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
177
190
|
markChatMessagesSeen: MutationResponse<ChatType>;
|
|
178
191
|
}>>;
|
|
179
192
|
};
|
|
180
193
|
declare const useReportChatUser: () => {
|
|
181
|
-
error:
|
|
194
|
+
error: _apollo_client.ApolloError | undefined;
|
|
182
195
|
loading: boolean;
|
|
183
|
-
reportChatUser: (options?:
|
|
184
|
-
reportChatUser: MutationResponse<
|
|
185
|
-
},
|
|
186
|
-
reportChatUser: MutationResponse<
|
|
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>;
|
|
187
200
|
}>>;
|
|
188
201
|
};
|
|
189
202
|
|
|
190
203
|
declare const useGetChat: (_id: string) => {
|
|
191
204
|
chat: ChatType | undefined;
|
|
192
|
-
error:
|
|
205
|
+
error: _apollo_client.ApolloError | undefined;
|
|
193
206
|
loading: boolean;
|
|
194
|
-
refetch: (variables?: Partial<
|
|
207
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
195
208
|
chat: ChatType;
|
|
196
209
|
}>>;
|
|
197
210
|
};
|
|
198
211
|
declare const useGetUserChats: () => {
|
|
199
|
-
error:
|
|
212
|
+
error: _apollo_client.ApolloError | undefined;
|
|
200
213
|
loading: boolean;
|
|
201
|
-
refetch: (variables?: Partial<
|
|
214
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
202
215
|
userChats: ChatType[];
|
|
203
216
|
}>>;
|
|
204
217
|
userChats: ChatType[];
|
|
205
218
|
};
|
|
206
219
|
declare const useGetChatSubscription: () => {
|
|
207
220
|
chat: ChatType | undefined;
|
|
208
|
-
error:
|
|
221
|
+
error: _apollo_client.ApolloError | undefined;
|
|
209
222
|
loading: boolean;
|
|
210
223
|
};
|
|
211
224
|
declare const useGetChatsByRegion: (region: string) => {
|
|
212
225
|
chatsByRegion: ChatType[];
|
|
213
|
-
error:
|
|
226
|
+
error: _apollo_client.ApolloError | undefined;
|
|
214
227
|
loading: boolean;
|
|
215
|
-
refetch: (variables?: Partial<
|
|
228
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
216
229
|
chatsByRegion: ChatType[];
|
|
217
230
|
}>>;
|
|
218
231
|
};
|
|
232
|
+
declare const useGetReportedChatUsers: () => {
|
|
233
|
+
error: _apollo_client.ApolloError | undefined;
|
|
234
|
+
loading: boolean;
|
|
235
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
236
|
+
reportedChatUsers: ReportChatUser[];
|
|
237
|
+
}>>;
|
|
238
|
+
reportedChatUsers: ReportChatUser[];
|
|
239
|
+
};
|
|
219
240
|
|
|
220
241
|
declare const useContactUs: () => {
|
|
221
|
-
contactUs: (options?:
|
|
242
|
+
contactUs: (options?: _apollo_client.MutationFunctionOptions<{
|
|
222
243
|
contactUs: MutationResponse<boolean>;
|
|
223
|
-
},
|
|
244
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
224
245
|
contactUs: MutationResponse<boolean>;
|
|
225
246
|
}>>;
|
|
226
|
-
error:
|
|
247
|
+
error: _apollo_client.ApolloError | undefined;
|
|
227
248
|
loading: boolean;
|
|
228
249
|
};
|
|
229
250
|
|
|
230
251
|
declare const useCreateEvent: () => {
|
|
231
|
-
createEvent: (options?:
|
|
252
|
+
createEvent: (options?: _apollo_client.MutationFunctionOptions<{
|
|
232
253
|
createEvent: MutationResponse<EventType>;
|
|
233
|
-
},
|
|
254
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
234
255
|
createEvent: MutationResponse<EventType>;
|
|
235
256
|
}>>;
|
|
236
|
-
error:
|
|
257
|
+
error: _apollo_client.ApolloError | undefined;
|
|
237
258
|
loading: boolean;
|
|
238
259
|
};
|
|
239
260
|
declare const useUpdateEvent: () => {
|
|
240
|
-
error:
|
|
261
|
+
error: _apollo_client.ApolloError | undefined;
|
|
241
262
|
loading: boolean;
|
|
242
|
-
updateEvent: (options?:
|
|
263
|
+
updateEvent: (options?: _apollo_client.MutationFunctionOptions<{
|
|
243
264
|
updateEvent: MutationResponse<EventType>;
|
|
244
|
-
},
|
|
265
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
245
266
|
updateEvent: MutationResponse<EventType>;
|
|
246
267
|
}>>;
|
|
247
268
|
};
|
|
248
269
|
declare const useDeleteEvent: () => {
|
|
249
|
-
deleteEvent: (options?:
|
|
270
|
+
deleteEvent: (options?: _apollo_client.MutationFunctionOptions<{
|
|
250
271
|
deleteEvent: MutationResponse<boolean>;
|
|
251
|
-
},
|
|
272
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
252
273
|
deleteEvent: MutationResponse<boolean>;
|
|
253
274
|
}>>;
|
|
254
|
-
error:
|
|
275
|
+
error: _apollo_client.ApolloError | undefined;
|
|
255
276
|
loading: boolean;
|
|
256
277
|
};
|
|
257
278
|
declare const useCreateEventInfo: () => {
|
|
258
|
-
createEventInfo: (options?:
|
|
279
|
+
createEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
259
280
|
createEventInfo: MutationResponse<{
|
|
260
281
|
eventId: string;
|
|
261
282
|
}>;
|
|
262
|
-
},
|
|
283
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
263
284
|
createEventInfo: MutationResponse<{
|
|
264
285
|
eventId: string;
|
|
265
286
|
}>;
|
|
266
287
|
}>>;
|
|
267
|
-
error:
|
|
288
|
+
error: _apollo_client.ApolloError | undefined;
|
|
268
289
|
loading: boolean;
|
|
269
290
|
};
|
|
270
291
|
declare const useUpdateEventInfo: () => {
|
|
271
|
-
error:
|
|
292
|
+
error: _apollo_client.ApolloError | undefined;
|
|
272
293
|
loading: boolean;
|
|
273
|
-
updateEventInfo: (options?:
|
|
294
|
+
updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
274
295
|
updateEventInfo: MutationResponse<{
|
|
275
296
|
eventId: string;
|
|
276
297
|
}>;
|
|
277
|
-
},
|
|
298
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
278
299
|
updateEventInfo: MutationResponse<{
|
|
279
300
|
eventId: string;
|
|
280
301
|
}>;
|
|
281
302
|
}>>;
|
|
282
303
|
};
|
|
283
304
|
|
|
284
|
-
declare const useGetEvents: (dateStatus?:
|
|
285
|
-
error:
|
|
305
|
+
declare const useGetEvents: (dateStatus?: EnumEventDateStatus) => {
|
|
306
|
+
error: _apollo_client.ApolloError | undefined;
|
|
286
307
|
events: EventListItemType[];
|
|
287
308
|
loading: boolean;
|
|
288
|
-
refetch: (variables?: Partial<
|
|
309
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
289
310
|
events: EventListItemType[];
|
|
290
311
|
}>>;
|
|
291
312
|
};
|
|
292
313
|
declare const useGetEvent: (_id: string) => {
|
|
293
|
-
error:
|
|
314
|
+
error: _apollo_client.ApolloError | undefined;
|
|
294
315
|
event: EventType | null;
|
|
295
316
|
loading: boolean;
|
|
296
|
-
refetch: (variables?: Partial<
|
|
317
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
297
318
|
event: EventType | null;
|
|
298
319
|
}>>;
|
|
299
320
|
};
|
|
300
321
|
declare const useGetEventByPlaceId: (googlePlaceId: string) => {
|
|
301
|
-
error:
|
|
322
|
+
error: _apollo_client.ApolloError | undefined;
|
|
302
323
|
eventByPlaceId: EventListItemType | null;
|
|
303
324
|
loading: boolean;
|
|
304
|
-
refetch: (variables?: Partial<
|
|
325
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
305
326
|
eventByPlaceId: EventListItemType | null;
|
|
306
327
|
}>>;
|
|
307
328
|
};
|
|
308
|
-
declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions, dateStatus?:
|
|
309
|
-
error:
|
|
329
|
+
declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions, dateStatus?: EnumEventDateStatus) => {
|
|
330
|
+
error: _apollo_client.ApolloError | undefined;
|
|
310
331
|
eventsByRegion: EventListItemType[];
|
|
311
332
|
fetchMore: <TFetchData = {
|
|
312
333
|
eventsByRegion: EventListItemType[];
|
|
313
|
-
}, TFetchVars extends
|
|
334
|
+
}, TFetchVars extends _apollo_client.OperationVariables = _apollo_client.OperationVariables>(fetchMoreOptions: _apollo_client.FetchMoreQueryOptions<TFetchVars, TFetchData> & {
|
|
314
335
|
updateQuery?: ((previousQueryResult: {
|
|
315
336
|
eventsByRegion: EventListItemType[];
|
|
316
337
|
}, options: {
|
|
317
|
-
fetchMoreResult:
|
|
338
|
+
fetchMoreResult: _apollo_client.Unmasked<TFetchData>;
|
|
318
339
|
variables: TFetchVars;
|
|
319
340
|
}) => {
|
|
320
341
|
eventsByRegion: EventListItemType[];
|
|
321
342
|
}) | undefined;
|
|
322
|
-
}) => Promise<
|
|
343
|
+
}) => Promise<_apollo_client.ApolloQueryResult<TFetchData>>;
|
|
323
344
|
loading: boolean;
|
|
324
|
-
refetch: (variables?: Partial<
|
|
345
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
325
346
|
eventsByRegion: EventListItemType[];
|
|
326
347
|
}>>;
|
|
327
348
|
};
|
|
328
|
-
declare const useSearchEvents: (region: string, searchQuery?: string, tags?: string[], dateStatus?:
|
|
329
|
-
error:
|
|
349
|
+
declare const useSearchEvents: (region: string, searchQuery?: string, tags?: string[], dateStatus?: EnumEventDateStatus) => {
|
|
350
|
+
error: _apollo_client.ApolloError | undefined;
|
|
330
351
|
eventsSearch: EventListItemType[];
|
|
331
352
|
loading: boolean;
|
|
332
|
-
refetch: (variables?: Partial<
|
|
353
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
333
354
|
eventsSearch: EventListItemType[];
|
|
334
355
|
}>>;
|
|
335
356
|
};
|
|
@@ -337,469 +358,478 @@ declare const useGetEventsNearMe: (location: {
|
|
|
337
358
|
latitude: number;
|
|
338
359
|
longitude: number;
|
|
339
360
|
radius?: number;
|
|
340
|
-
}, dateStatus?:
|
|
341
|
-
error:
|
|
361
|
+
}, dateStatus?: EnumEventDateStatus) => {
|
|
362
|
+
error: _apollo_client.ApolloError | undefined;
|
|
342
363
|
eventsNearMe: EventListItemType[];
|
|
343
364
|
loading: boolean;
|
|
344
|
-
refetch: (variables?: Partial<
|
|
365
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
345
366
|
eventsNearMe: EventListItemType[];
|
|
346
367
|
}>>;
|
|
347
368
|
};
|
|
348
369
|
declare const useGetEventInfo: (eventId: string) => {
|
|
349
|
-
error:
|
|
370
|
+
error: _apollo_client.ApolloError | undefined;
|
|
350
371
|
eventInfo: EventInfoType | undefined;
|
|
351
372
|
loading: boolean;
|
|
352
|
-
refetch: (variables?: Partial<
|
|
373
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
353
374
|
eventInfo: EventInfoType;
|
|
354
375
|
}>>;
|
|
355
376
|
};
|
|
356
377
|
|
|
357
378
|
declare const useCreateBulkNotifications: () => {
|
|
358
|
-
createBulkNotifications: (options?:
|
|
379
|
+
createBulkNotifications: (options?: _apollo_client.MutationFunctionOptions<{
|
|
359
380
|
createBulkNotifications: MutationResponse<boolean>;
|
|
360
|
-
},
|
|
381
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
361
382
|
createBulkNotifications: MutationResponse<boolean>;
|
|
362
383
|
}>>;
|
|
363
|
-
error:
|
|
384
|
+
error: _apollo_client.ApolloError | undefined;
|
|
364
385
|
loading: boolean;
|
|
365
386
|
};
|
|
366
387
|
declare const useMarkNotificationRead: () => {
|
|
367
|
-
error:
|
|
388
|
+
error: _apollo_client.ApolloError | undefined;
|
|
368
389
|
loading: boolean;
|
|
369
|
-
markNotificationRead: (options?:
|
|
390
|
+
markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<{
|
|
370
391
|
markNotificationRead: MutationResponse<NotificationType>;
|
|
371
|
-
},
|
|
392
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
372
393
|
markNotificationRead: MutationResponse<NotificationType>;
|
|
373
394
|
}>>;
|
|
374
395
|
};
|
|
375
396
|
declare const useMarkAllNotificationsRead: () => {
|
|
376
|
-
error:
|
|
397
|
+
error: _apollo_client.ApolloError | undefined;
|
|
377
398
|
loading: boolean;
|
|
378
|
-
markAllNotificationsRead: (options?:
|
|
399
|
+
markAllNotificationsRead: (options?: _apollo_client.MutationFunctionOptions<{
|
|
379
400
|
markAllNotificationsRead: MutationResponse<boolean>;
|
|
380
|
-
},
|
|
401
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
381
402
|
markAllNotificationsRead: MutationResponse<boolean>;
|
|
382
403
|
}>>;
|
|
383
404
|
};
|
|
384
405
|
declare const useDeleteNotification: () => {
|
|
385
|
-
deleteNotification: (options?:
|
|
406
|
+
deleteNotification: (options?: _apollo_client.MutationFunctionOptions<{
|
|
386
407
|
deleteNotification: MutationResponse<boolean>;
|
|
387
|
-
},
|
|
408
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
388
409
|
deleteNotification: MutationResponse<boolean>;
|
|
389
410
|
}>>;
|
|
390
|
-
error:
|
|
411
|
+
error: _apollo_client.ApolloError | undefined;
|
|
391
412
|
loading: boolean;
|
|
392
413
|
};
|
|
393
414
|
declare const useDeleteAllNotifications: () => {
|
|
394
|
-
deleteAllNotifications: (options?:
|
|
415
|
+
deleteAllNotifications: (options?: _apollo_client.MutationFunctionOptions<{
|
|
395
416
|
deleteAllNotifications: MutationResponse<boolean>;
|
|
396
|
-
},
|
|
417
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
397
418
|
deleteAllNotifications: MutationResponse<boolean>;
|
|
398
419
|
}>>;
|
|
399
|
-
error:
|
|
420
|
+
error: _apollo_client.ApolloError | undefined;
|
|
400
421
|
loading: boolean;
|
|
401
422
|
};
|
|
402
423
|
|
|
403
424
|
declare const useGetUserNotifications: (limit?: number, offset?: number) => {
|
|
404
|
-
error:
|
|
425
|
+
error: _apollo_client.ApolloError | undefined;
|
|
405
426
|
loading: boolean;
|
|
406
427
|
notifications: NotificationType[];
|
|
407
|
-
refetch: (variables?: Partial<
|
|
428
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
408
429
|
userNotifications: NotificationType[];
|
|
409
430
|
}>>;
|
|
410
431
|
};
|
|
411
432
|
declare const useGetNotificationCount: () => {
|
|
412
|
-
error:
|
|
433
|
+
error: _apollo_client.ApolloError | undefined;
|
|
413
434
|
loading: boolean;
|
|
414
435
|
notificationCount: NotificationCount;
|
|
415
|
-
refetch: (variables?: Partial<
|
|
436
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
416
437
|
notificationCount: NotificationCount;
|
|
417
438
|
}>>;
|
|
418
439
|
};
|
|
419
440
|
|
|
420
441
|
declare const useGetUserNotificationsSubscription: () => {
|
|
421
|
-
error:
|
|
442
|
+
error: _apollo_client.ApolloError | undefined;
|
|
422
443
|
loading: boolean;
|
|
423
444
|
notifications: NotificationType[] | undefined;
|
|
424
445
|
};
|
|
425
446
|
declare const useGetNotificationCountSubscription: () => {
|
|
426
|
-
error:
|
|
447
|
+
error: _apollo_client.ApolloError | undefined;
|
|
427
448
|
loading: boolean;
|
|
428
449
|
notificationCount: NotificationCount | undefined;
|
|
429
450
|
};
|
|
430
451
|
|
|
431
452
|
declare const useCreatePoster: () => {
|
|
432
|
-
createPoster: (options?:
|
|
453
|
+
createPoster: (options?: _apollo_client.MutationFunctionOptions<{
|
|
433
454
|
createPoster: MutationResponse<{
|
|
434
455
|
posterUsage: PosterUsageType;
|
|
435
456
|
}>;
|
|
436
|
-
},
|
|
457
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
437
458
|
createPoster: MutationResponse<{
|
|
438
459
|
posterUsage: PosterUsageType;
|
|
439
460
|
}>;
|
|
440
461
|
}>>;
|
|
441
|
-
error:
|
|
462
|
+
error: _apollo_client.ApolloError | undefined;
|
|
442
463
|
loading: boolean;
|
|
443
464
|
};
|
|
444
465
|
|
|
445
466
|
declare const useCreatePushToken: () => {
|
|
446
|
-
createPushToken: (options?:
|
|
467
|
+
createPushToken: (options?: _apollo_client.MutationFunctionOptions<{
|
|
447
468
|
createPushToken: MutationResponse<{
|
|
448
469
|
success: boolean;
|
|
449
470
|
}>;
|
|
450
|
-
},
|
|
471
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
451
472
|
createPushToken: MutationResponse<{
|
|
452
473
|
success: boolean;
|
|
453
474
|
}>;
|
|
454
475
|
}>>;
|
|
455
|
-
error:
|
|
476
|
+
error: _apollo_client.ApolloError | undefined;
|
|
456
477
|
loading: boolean;
|
|
457
478
|
};
|
|
458
479
|
|
|
459
480
|
declare const useCreateRelation: () => {
|
|
460
|
-
createRelation: (options?:
|
|
481
|
+
createRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
461
482
|
createRelation: MutationResponse<RelationType>;
|
|
462
|
-
},
|
|
483
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
463
484
|
createRelation: MutationResponse<RelationType>;
|
|
464
485
|
}>>;
|
|
465
|
-
error:
|
|
486
|
+
error: _apollo_client.ApolloError | undefined;
|
|
466
487
|
loading: boolean;
|
|
467
488
|
};
|
|
468
489
|
declare const useUpdateRelation: () => {
|
|
469
|
-
error:
|
|
490
|
+
error: _apollo_client.ApolloError | undefined;
|
|
470
491
|
loading: boolean;
|
|
471
|
-
updateRelation: (options?:
|
|
492
|
+
updateRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
472
493
|
updateRelation: MutationResponse<RelationType>;
|
|
473
|
-
},
|
|
494
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
474
495
|
updateRelation: MutationResponse<RelationType>;
|
|
475
496
|
}>>;
|
|
476
497
|
};
|
|
477
498
|
declare const useDeleteRelation: () => {
|
|
478
|
-
deleteRelation: (options?:
|
|
499
|
+
deleteRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
479
500
|
deleteRelation: MutationResponse<RelationType>;
|
|
480
|
-
},
|
|
501
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
481
502
|
deleteRelation: MutationResponse<RelationType>;
|
|
482
503
|
}>>;
|
|
483
|
-
error:
|
|
504
|
+
error: _apollo_client.ApolloError | undefined;
|
|
484
505
|
loading: boolean;
|
|
485
506
|
};
|
|
486
507
|
|
|
487
508
|
declare const useGetRelation: (_id?: string) => {
|
|
488
|
-
error:
|
|
509
|
+
error: _apollo_client.ApolloError | undefined;
|
|
489
510
|
loading: boolean;
|
|
490
|
-
refetch: (variables?: Partial<
|
|
511
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
491
512
|
relation: RelationType;
|
|
492
513
|
}>>;
|
|
493
514
|
relation: RelationType | undefined;
|
|
494
515
|
};
|
|
495
516
|
declare const useGetRelationByEventAndVendor: (eventId: string, vendorId: string) => {
|
|
496
|
-
error:
|
|
517
|
+
error: _apollo_client.ApolloError | undefined;
|
|
497
518
|
loading: boolean;
|
|
498
|
-
refetch: (variables?: Partial<
|
|
519
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
499
520
|
relationByEventAndVendor: RelationType;
|
|
500
521
|
}>>;
|
|
501
522
|
relationByEventAndVendor: RelationType | undefined;
|
|
502
523
|
};
|
|
503
524
|
declare const useGetEventRelations: (eventId: string) => {
|
|
504
|
-
error:
|
|
525
|
+
error: _apollo_client.ApolloError | undefined;
|
|
505
526
|
eventRelations: RelationType[];
|
|
506
527
|
loading: boolean;
|
|
507
|
-
refetch: (variables?: Partial<
|
|
528
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
508
529
|
eventRelations: RelationType[];
|
|
509
530
|
}>>;
|
|
510
531
|
};
|
|
511
532
|
declare const useGetVendorRelations: (vendorId?: string) => {
|
|
512
|
-
error:
|
|
533
|
+
error: _apollo_client.ApolloError | undefined;
|
|
513
534
|
loading: boolean;
|
|
514
|
-
refetch: (variables?: Partial<
|
|
535
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
515
536
|
vendorRelations: RelationType[];
|
|
516
537
|
}>>;
|
|
517
538
|
vendorRelations: RelationType[];
|
|
518
539
|
};
|
|
519
|
-
declare const useGetResourceConnections: (resourceId: string, resourceType:
|
|
520
|
-
error:
|
|
540
|
+
declare const useGetResourceConnections: (resourceId: string, resourceType: EnumResourceType) => {
|
|
541
|
+
error: _apollo_client.ApolloError | undefined;
|
|
521
542
|
loading: boolean;
|
|
522
|
-
refetch: (variables?: Partial<
|
|
543
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
523
544
|
resourceConnections: ResourceConnectionsType;
|
|
524
545
|
}>>;
|
|
525
546
|
resourceConnections: ResourceConnectionsType | undefined;
|
|
526
547
|
};
|
|
527
548
|
|
|
528
549
|
declare const useCreateVendor: () => {
|
|
529
|
-
createVendor: (options?:
|
|
550
|
+
createVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
530
551
|
createVendor: MutationResponse<VendorType>;
|
|
531
|
-
},
|
|
552
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
532
553
|
createVendor: MutationResponse<VendorType>;
|
|
533
554
|
}>>;
|
|
534
|
-
error:
|
|
555
|
+
error: _apollo_client.ApolloError | undefined;
|
|
535
556
|
loading: boolean;
|
|
536
557
|
};
|
|
537
558
|
declare const useUpdateVendor: () => {
|
|
538
|
-
error:
|
|
559
|
+
error: _apollo_client.ApolloError | undefined;
|
|
539
560
|
loading: boolean;
|
|
540
|
-
updateVendor: (options?:
|
|
561
|
+
updateVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
541
562
|
updateVendor: MutationResponse<VendorType>;
|
|
542
|
-
},
|
|
563
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
543
564
|
updateVendor: MutationResponse<VendorType>;
|
|
544
565
|
}>>;
|
|
545
566
|
};
|
|
546
567
|
declare const useDeleteVendor: () => {
|
|
547
|
-
deleteVendor: (options?:
|
|
568
|
+
deleteVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
548
569
|
deleteVendor: MutationResponse<boolean>;
|
|
549
|
-
},
|
|
570
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
550
571
|
deleteVendor: MutationResponse<boolean>;
|
|
551
572
|
}>>;
|
|
552
|
-
error:
|
|
573
|
+
error: _apollo_client.ApolloError | undefined;
|
|
553
574
|
loading: boolean;
|
|
554
575
|
};
|
|
555
576
|
declare const useCreateVendorInfo: () => {
|
|
556
|
-
createVendorInfo: (options?:
|
|
577
|
+
createVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
557
578
|
createVendorInfo: MutationResponse<{
|
|
558
579
|
vendorId: string;
|
|
559
580
|
}>;
|
|
560
|
-
},
|
|
581
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
561
582
|
createVendorInfo: MutationResponse<{
|
|
562
583
|
vendorId: string;
|
|
563
584
|
}>;
|
|
564
585
|
}>>;
|
|
565
|
-
error:
|
|
586
|
+
error: _apollo_client.ApolloError | undefined;
|
|
566
587
|
loading: boolean;
|
|
567
588
|
};
|
|
568
589
|
declare const useUpdateVendorInfo: () => {
|
|
569
|
-
error:
|
|
590
|
+
error: _apollo_client.ApolloError | undefined;
|
|
570
591
|
loading: boolean;
|
|
571
|
-
updateVendorInfo: (options?:
|
|
592
|
+
updateVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
572
593
|
updateVendorInfo: MutationResponse<{
|
|
573
594
|
vendorId: string;
|
|
574
595
|
}>;
|
|
575
|
-
},
|
|
596
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
576
597
|
updateVendorInfo: MutationResponse<{
|
|
577
598
|
vendorId: string;
|
|
578
599
|
}>;
|
|
579
600
|
}>>;
|
|
580
601
|
};
|
|
581
602
|
declare const useCreateUnregisteredVendor: () => {
|
|
582
|
-
createUnregisteredVendor: (options?:
|
|
603
|
+
createUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
583
604
|
createUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
584
|
-
},
|
|
605
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
585
606
|
createUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
586
607
|
}>>;
|
|
587
|
-
error:
|
|
608
|
+
error: _apollo_client.ApolloError | undefined;
|
|
588
609
|
loading: boolean;
|
|
589
610
|
};
|
|
590
611
|
declare const useUpdateUnregisteredVendor: () => {
|
|
591
|
-
error:
|
|
612
|
+
error: _apollo_client.ApolloError | undefined;
|
|
592
613
|
loading: boolean;
|
|
593
|
-
updateUnregisteredVendor: (options?:
|
|
614
|
+
updateUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
594
615
|
updateUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
595
|
-
},
|
|
616
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
596
617
|
updateUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
597
618
|
}>>;
|
|
598
619
|
};
|
|
599
620
|
declare const useDeleteUnregisteredVendor: () => {
|
|
600
|
-
deleteUnregisteredVendor: (options?:
|
|
621
|
+
deleteUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
601
622
|
deleteUnregisteredVendor: MutationResponse<boolean>;
|
|
602
|
-
},
|
|
623
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
603
624
|
deleteUnregisteredVendor: MutationResponse<boolean>;
|
|
604
625
|
}>>;
|
|
605
|
-
error:
|
|
626
|
+
error: _apollo_client.ApolloError | undefined;
|
|
606
627
|
loading: boolean;
|
|
607
628
|
};
|
|
608
629
|
declare const useUnlinkUnregisteredVendorByInviterId: () => {
|
|
609
|
-
error:
|
|
630
|
+
error: _apollo_client.ApolloError | undefined;
|
|
610
631
|
loading: boolean;
|
|
611
|
-
unlinkUnregisteredVendorByInviterId: (options?:
|
|
632
|
+
unlinkUnregisteredVendorByInviterId: (options?: _apollo_client.MutationFunctionOptions<{
|
|
612
633
|
unlinkUnregisteredVendorByInviterId: MutationResponse<boolean>;
|
|
613
|
-
},
|
|
634
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
614
635
|
unlinkUnregisteredVendorByInviterId: MutationResponse<boolean>;
|
|
615
636
|
}>>;
|
|
616
637
|
};
|
|
617
638
|
|
|
618
639
|
declare const useGetVendors: () => {
|
|
619
|
-
error:
|
|
640
|
+
error: _apollo_client.ApolloError | undefined;
|
|
620
641
|
loading: boolean;
|
|
621
|
-
refetch: (variables?: Partial<
|
|
642
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
622
643
|
vendors: VendorType[];
|
|
623
644
|
}>>;
|
|
624
645
|
vendors: VendorType[];
|
|
625
646
|
};
|
|
626
647
|
declare const useGetVendor: (_id: string) => {
|
|
627
|
-
error:
|
|
648
|
+
error: _apollo_client.ApolloError | undefined;
|
|
628
649
|
loading: boolean;
|
|
629
|
-
refetch: (variables?: Partial<
|
|
650
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
630
651
|
vendor: VendorType;
|
|
631
652
|
}>>;
|
|
632
653
|
vendor: VendorType | undefined;
|
|
633
654
|
};
|
|
634
655
|
declare const useGetVendorsByRegion: (region: string, options?: UseGetResourcesByRegionOptions) => {
|
|
635
|
-
error:
|
|
656
|
+
error: _apollo_client.ApolloError | undefined;
|
|
636
657
|
fetchMore: <TFetchData = {
|
|
637
658
|
vendorsByRegion: VendorType[];
|
|
638
|
-
}, TFetchVars extends
|
|
659
|
+
}, TFetchVars extends _apollo_client.OperationVariables = _apollo_client.OperationVariables>(fetchMoreOptions: _apollo_client.FetchMoreQueryOptions<TFetchVars, TFetchData> & {
|
|
639
660
|
updateQuery?: ((previousQueryResult: {
|
|
640
661
|
vendorsByRegion: VendorType[];
|
|
641
662
|
}, options: {
|
|
642
|
-
fetchMoreResult:
|
|
663
|
+
fetchMoreResult: _apollo_client.Unmasked<TFetchData>;
|
|
643
664
|
variables: TFetchVars;
|
|
644
665
|
}) => {
|
|
645
666
|
vendorsByRegion: VendorType[];
|
|
646
667
|
}) | undefined;
|
|
647
|
-
}) => Promise<
|
|
668
|
+
}) => Promise<_apollo_client.ApolloQueryResult<TFetchData>>;
|
|
648
669
|
loading: boolean;
|
|
649
|
-
refetch: (variables?: Partial<
|
|
670
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
650
671
|
vendorsByRegion: VendorType[];
|
|
651
672
|
}>>;
|
|
652
673
|
vendorsByRegion: VendorType[];
|
|
653
674
|
};
|
|
654
675
|
declare const useSearchVendors: (search: string, region: string) => {
|
|
655
|
-
error:
|
|
676
|
+
error: _apollo_client.ApolloError | undefined;
|
|
656
677
|
loading: boolean;
|
|
657
|
-
refetch: (variables?: Partial<
|
|
678
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
658
679
|
vendorSearch: VendorType[];
|
|
659
680
|
}>>;
|
|
660
681
|
vendorSearch: VendorType[];
|
|
661
682
|
};
|
|
662
683
|
declare const useGetVendorInfo: (vendorId: string) => {
|
|
663
|
-
error:
|
|
684
|
+
error: _apollo_client.ApolloError | undefined;
|
|
664
685
|
loading: boolean;
|
|
665
|
-
refetch: (variables?: Partial<
|
|
686
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
666
687
|
vendorInfo: VendorInfoType;
|
|
667
688
|
}>>;
|
|
668
689
|
vendorInfo: VendorInfoType | undefined;
|
|
669
690
|
};
|
|
670
691
|
declare const useGetUnregisteredVendors: () => {
|
|
671
|
-
error:
|
|
692
|
+
error: _apollo_client.ApolloError | undefined;
|
|
672
693
|
loading: boolean;
|
|
673
|
-
refetch: (variables?: Partial<
|
|
694
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
674
695
|
unregisteredVendors: UnregisteredVendorType[];
|
|
675
696
|
}>>;
|
|
676
697
|
unregisteredVendors: UnregisteredVendorType[];
|
|
677
698
|
};
|
|
678
699
|
declare const useGetUnregisteredVendorsByInviterId: (inviterId: string) => {
|
|
679
|
-
error:
|
|
700
|
+
error: _apollo_client.ApolloError | undefined;
|
|
680
701
|
loading: boolean;
|
|
681
|
-
refetch: (variables?: Partial<
|
|
702
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
682
703
|
unregisteredVendorsByInviterId: UnregisteredVendorType[];
|
|
683
704
|
}>>;
|
|
684
705
|
unregisteredVendorsByInviterId: UnregisteredVendorType[];
|
|
685
706
|
};
|
|
686
707
|
declare const useGetUnregisteredVendor: (_id: string) => {
|
|
687
|
-
error:
|
|
708
|
+
error: _apollo_client.ApolloError | undefined;
|
|
688
709
|
loading: boolean;
|
|
689
|
-
refetch: (variables?: Partial<
|
|
710
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
690
711
|
unregisteredVendor: UnregisteredVendorType;
|
|
691
712
|
}>>;
|
|
692
713
|
unregisteredVendor: UnregisteredVendorType | undefined;
|
|
693
714
|
};
|
|
694
715
|
|
|
716
|
+
declare const useCreateUser: () => {
|
|
717
|
+
createUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
718
|
+
createUser: MutationResponse<SafeUserType>;
|
|
719
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
720
|
+
createUser: MutationResponse<SafeUserType>;
|
|
721
|
+
}>>;
|
|
722
|
+
error: _apollo_client.ApolloError | undefined;
|
|
723
|
+
loading: boolean;
|
|
724
|
+
};
|
|
695
725
|
declare const useUpdateUser: () => {
|
|
696
|
-
error:
|
|
726
|
+
error: _apollo_client.ApolloError | undefined;
|
|
697
727
|
loading: boolean;
|
|
698
|
-
updateUser: (options?:
|
|
699
|
-
updateUser: MutationResponse<
|
|
700
|
-
},
|
|
701
|
-
updateUser: MutationResponse<
|
|
728
|
+
updateUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
729
|
+
updateUser: MutationResponse<SafeUserType>;
|
|
730
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
731
|
+
updateUser: MutationResponse<SafeUserType>;
|
|
702
732
|
}>>;
|
|
703
733
|
};
|
|
704
734
|
declare const useDeleteUser: () => {
|
|
705
|
-
deleteUser: (options?:
|
|
735
|
+
deleteUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
706
736
|
deleteUser: MutationResponse<boolean>;
|
|
707
|
-
},
|
|
737
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
708
738
|
deleteUser: MutationResponse<boolean>;
|
|
709
739
|
}>>;
|
|
710
|
-
error:
|
|
740
|
+
error: _apollo_client.ApolloError | undefined;
|
|
711
741
|
loading: boolean;
|
|
712
742
|
};
|
|
713
743
|
declare const useRedeemReward: () => {
|
|
714
|
-
error:
|
|
744
|
+
error: _apollo_client.ApolloError | undefined;
|
|
715
745
|
loading: boolean;
|
|
716
|
-
redeemReward: (options?:
|
|
746
|
+
redeemReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
717
747
|
redeemReward: RedeemRewardMutationResponse;
|
|
718
|
-
},
|
|
748
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
719
749
|
redeemReward: RedeemRewardMutationResponse;
|
|
720
750
|
}>>;
|
|
721
751
|
};
|
|
722
752
|
declare const useAddUserFavouriteResource: () => {
|
|
723
|
-
addUserFavouriteResource: (options?:
|
|
724
|
-
addUserFavouriteResource: MutationResponse<
|
|
725
|
-
},
|
|
726
|
-
addUserFavouriteResource: MutationResponse<
|
|
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>;
|
|
727
757
|
}>>;
|
|
728
|
-
error:
|
|
758
|
+
error: _apollo_client.ApolloError | undefined;
|
|
729
759
|
loading: boolean;
|
|
730
760
|
};
|
|
731
761
|
declare const useRemoveUserFavouriteResource: () => {
|
|
732
|
-
error:
|
|
762
|
+
error: _apollo_client.ApolloError | undefined;
|
|
733
763
|
loading: boolean;
|
|
734
|
-
removeUserFavouriteResource: (options?:
|
|
735
|
-
removeUserFavouriteResource: MutationResponse<
|
|
736
|
-
},
|
|
737
|
-
removeUserFavouriteResource: MutationResponse<
|
|
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>;
|
|
738
768
|
}>>;
|
|
739
769
|
};
|
|
740
770
|
declare const useAddUserInterestResource: () => {
|
|
741
|
-
addUserInterestResource: (options?:
|
|
742
|
-
addUserInterestResource: MutationResponse<
|
|
743
|
-
},
|
|
744
|
-
addUserInterestResource: MutationResponse<
|
|
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>;
|
|
745
775
|
}>>;
|
|
746
|
-
error:
|
|
776
|
+
error: _apollo_client.ApolloError | undefined;
|
|
747
777
|
loading: boolean;
|
|
748
778
|
};
|
|
749
779
|
declare const useRemoveUserInterestResource: () => {
|
|
750
|
-
error:
|
|
780
|
+
error: _apollo_client.ApolloError | undefined;
|
|
751
781
|
loading: boolean;
|
|
752
|
-
removeUserInterestResource: (options?:
|
|
753
|
-
removeUserInterestResource: MutationResponse<
|
|
754
|
-
},
|
|
755
|
-
removeUserInterestResource: MutationResponse<
|
|
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>;
|
|
756
786
|
}>>;
|
|
757
787
|
};
|
|
758
788
|
declare const useAddUserGoingResource: () => {
|
|
759
|
-
addUserGoingResource: (options?:
|
|
760
|
-
addUserGoingResource: MutationResponse<
|
|
761
|
-
},
|
|
762
|
-
addUserGoingResource: MutationResponse<
|
|
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>;
|
|
763
793
|
}>>;
|
|
764
|
-
error:
|
|
794
|
+
error: _apollo_client.ApolloError | undefined;
|
|
765
795
|
loading: boolean;
|
|
766
796
|
};
|
|
767
797
|
declare const useRemoveUserGoingResource: () => {
|
|
768
|
-
error:
|
|
798
|
+
error: _apollo_client.ApolloError | undefined;
|
|
769
799
|
loading: boolean;
|
|
770
|
-
removeUserGoingResource: (options?:
|
|
771
|
-
removeUserGoingResource: MutationResponse<
|
|
772
|
-
},
|
|
773
|
-
removeUserGoingResource: MutationResponse<
|
|
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>;
|
|
774
804
|
}>>;
|
|
775
805
|
};
|
|
776
806
|
declare const useAddUserPresentResource: () => {
|
|
777
|
-
addUserPresentResource: (options?:
|
|
778
|
-
addUserPresentResource: MutationResponse<
|
|
779
|
-
},
|
|
780
|
-
addUserPresentResource: MutationResponse<
|
|
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>;
|
|
781
811
|
}>>;
|
|
782
|
-
error:
|
|
812
|
+
error: _apollo_client.ApolloError | undefined;
|
|
783
813
|
loading: boolean;
|
|
784
814
|
};
|
|
785
815
|
declare const useRemoveUserPresentResource: () => {
|
|
786
|
-
error:
|
|
816
|
+
error: _apollo_client.ApolloError | undefined;
|
|
787
817
|
loading: boolean;
|
|
788
|
-
removeUserPresentResource: (options?:
|
|
789
|
-
removeUserPresentResource: MutationResponse<
|
|
790
|
-
},
|
|
791
|
-
removeUserPresentResource: MutationResponse<
|
|
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>;
|
|
792
822
|
}>>;
|
|
793
823
|
};
|
|
794
824
|
declare const useSelectStandardPackage: () => {
|
|
795
|
-
error:
|
|
825
|
+
error: _apollo_client.ApolloError | undefined;
|
|
796
826
|
loading: boolean;
|
|
797
|
-
selectStandardPackage: (options?:
|
|
827
|
+
selectStandardPackage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
798
828
|
selectStandardPackage: MutationResponse<{
|
|
799
829
|
userId: string;
|
|
800
830
|
licences: UserLicenceType[];
|
|
801
831
|
}>;
|
|
802
|
-
},
|
|
832
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
803
833
|
selectStandardPackage: MutationResponse<{
|
|
804
834
|
userId: string;
|
|
805
835
|
licences: UserLicenceType[];
|
|
@@ -808,49 +838,49 @@ declare const useSelectStandardPackage: () => {
|
|
|
808
838
|
};
|
|
809
839
|
|
|
810
840
|
declare const useGetUsers: () => {
|
|
811
|
-
error:
|
|
841
|
+
error: _apollo_client.ApolloError | undefined;
|
|
812
842
|
loading: boolean;
|
|
813
|
-
refetch: (variables?: Partial<
|
|
814
|
-
users:
|
|
843
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
844
|
+
users: SafeUserType[];
|
|
815
845
|
}>>;
|
|
816
|
-
users:
|
|
846
|
+
users: SafeUserType[];
|
|
817
847
|
};
|
|
818
848
|
declare const useGetUser: (_id: string) => {
|
|
819
|
-
error:
|
|
849
|
+
error: _apollo_client.ApolloError | undefined;
|
|
820
850
|
loading: boolean;
|
|
821
|
-
refetch: (variables?: Partial<
|
|
822
|
-
user:
|
|
851
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
852
|
+
user: SafeUserType;
|
|
823
853
|
}>>;
|
|
824
|
-
user:
|
|
854
|
+
user: SafeUserType | undefined;
|
|
825
855
|
};
|
|
826
856
|
declare const useGetUserEvents: () => {
|
|
827
|
-
error:
|
|
857
|
+
error: _apollo_client.ApolloError | undefined;
|
|
828
858
|
loading: boolean;
|
|
829
|
-
refetch: (variables?: Partial<
|
|
859
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
830
860
|
userEvents: EventType[];
|
|
831
861
|
}>>;
|
|
832
862
|
userEvents: EventType[];
|
|
833
863
|
};
|
|
834
864
|
declare const useGetUserVendors: () => {
|
|
835
|
-
error:
|
|
865
|
+
error: _apollo_client.ApolloError | undefined;
|
|
836
866
|
loading: boolean;
|
|
837
|
-
refetch: (variables?: Partial<
|
|
867
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
838
868
|
userVendors: VendorType[];
|
|
839
869
|
}>>;
|
|
840
870
|
userVendors: VendorType[];
|
|
841
871
|
};
|
|
842
872
|
declare const useGetUserPartners: () => {
|
|
843
|
-
error:
|
|
873
|
+
error: _apollo_client.ApolloError | undefined;
|
|
844
874
|
loading: boolean;
|
|
845
|
-
refetch: (variables?: Partial<
|
|
875
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
846
876
|
userPartners: PartnerType[];
|
|
847
877
|
}>>;
|
|
848
878
|
userPartners: PartnerType[];
|
|
849
879
|
};
|
|
850
880
|
declare const useGetUserActivities: () => {
|
|
851
|
-
error:
|
|
881
|
+
error: _apollo_client.ApolloError | undefined;
|
|
852
882
|
loading: boolean;
|
|
853
|
-
refetch: (variables?: Partial<
|
|
883
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
854
884
|
userActivities: {
|
|
855
885
|
favourites: {
|
|
856
886
|
events: EventListItemType[];
|
|
@@ -886,123 +916,123 @@ declare const useGetUserActivities: () => {
|
|
|
886
916
|
};
|
|
887
917
|
};
|
|
888
918
|
declare const useGetUserResources: (userId: string) => {
|
|
889
|
-
error:
|
|
919
|
+
error: _apollo_client.ApolloError | undefined;
|
|
890
920
|
loading: boolean;
|
|
891
|
-
refetch: (variables?: Partial<
|
|
921
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
892
922
|
userResources: {
|
|
893
|
-
resources:
|
|
923
|
+
resources: ResourceByUser[];
|
|
894
924
|
};
|
|
895
925
|
}>>;
|
|
896
|
-
userResources:
|
|
926
|
+
userResources: ResourceByUser[];
|
|
897
927
|
};
|
|
898
928
|
|
|
899
929
|
declare const useCreateAd: () => {
|
|
900
|
-
createAd: (options?:
|
|
930
|
+
createAd: (options?: _apollo_client.MutationFunctionOptions<{
|
|
901
931
|
createAd: MutationResponse<AdType>;
|
|
902
|
-
},
|
|
932
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
903
933
|
createAd: MutationResponse<AdType>;
|
|
904
934
|
}>>;
|
|
905
|
-
error:
|
|
935
|
+
error: _apollo_client.ApolloError | undefined;
|
|
906
936
|
loading: boolean;
|
|
907
937
|
};
|
|
908
938
|
declare const useUpdateAd: () => {
|
|
909
|
-
error:
|
|
939
|
+
error: _apollo_client.ApolloError | undefined;
|
|
910
940
|
loading: boolean;
|
|
911
|
-
updateAd: (options?:
|
|
941
|
+
updateAd: (options?: _apollo_client.MutationFunctionOptions<{
|
|
912
942
|
updateAd: MutationResponse<AdType>;
|
|
913
|
-
},
|
|
943
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
914
944
|
updateAd: MutationResponse<AdType>;
|
|
915
945
|
}>>;
|
|
916
946
|
};
|
|
917
947
|
declare const useDeleteAd: () => {
|
|
918
|
-
deleteAd: (options?:
|
|
948
|
+
deleteAd: (options?: _apollo_client.MutationFunctionOptions<{
|
|
919
949
|
deleteAd: MutationResponse<boolean>;
|
|
920
|
-
},
|
|
950
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
921
951
|
deleteAd: MutationResponse<boolean>;
|
|
922
952
|
}>>;
|
|
923
|
-
error:
|
|
953
|
+
error: _apollo_client.ApolloError | undefined;
|
|
924
954
|
loading: boolean;
|
|
925
955
|
};
|
|
926
956
|
|
|
927
957
|
declare const useGetAds: () => {
|
|
928
958
|
ads: AdType[];
|
|
929
|
-
error:
|
|
959
|
+
error: _apollo_client.ApolloError | undefined;
|
|
930
960
|
loading: boolean;
|
|
931
|
-
refetch: (variables?: Partial<
|
|
961
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
932
962
|
ads: AdType[];
|
|
933
963
|
}>>;
|
|
934
964
|
};
|
|
935
965
|
declare const useGetAd: (_id: string) => {
|
|
936
966
|
ad: AdType | undefined;
|
|
937
|
-
error:
|
|
967
|
+
error: _apollo_client.ApolloError | undefined;
|
|
938
968
|
loading: boolean;
|
|
939
|
-
refetch: (variables?: Partial<
|
|
969
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
940
970
|
ad: AdType;
|
|
941
971
|
}>>;
|
|
942
972
|
};
|
|
943
|
-
declare const useGetAdsByRegion: (region: string, status?:
|
|
973
|
+
declare const useGetAdsByRegion: (region: string, status?: EnumAdStatus) => {
|
|
944
974
|
adsByRegion: AdType[];
|
|
945
|
-
error:
|
|
975
|
+
error: _apollo_client.ApolloError | undefined;
|
|
946
976
|
loading: boolean;
|
|
947
|
-
refetch: (variables?: Partial<
|
|
977
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
948
978
|
adsByRegion: AdType[];
|
|
949
979
|
}>>;
|
|
950
980
|
};
|
|
951
981
|
|
|
952
982
|
declare const useCreateResourceActivity: () => {
|
|
953
|
-
createResourceActivity: (options?:
|
|
983
|
+
createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<{
|
|
954
984
|
createResourceActivity: MutationResponse<boolean>;
|
|
955
|
-
},
|
|
985
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
956
986
|
createResourceActivity: MutationResponse<boolean>;
|
|
957
987
|
}>>;
|
|
958
|
-
error:
|
|
988
|
+
error: _apollo_client.ApolloError | undefined;
|
|
959
989
|
loading: boolean;
|
|
960
990
|
};
|
|
961
991
|
|
|
962
|
-
declare const useGetResourceActivity: (resourceId: string, resourceType:
|
|
963
|
-
error:
|
|
992
|
+
declare const useGetResourceActivity: (resourceId: string, resourceType: EnumResourceType) => {
|
|
993
|
+
error: _apollo_client.ApolloError | undefined;
|
|
964
994
|
loading: boolean;
|
|
965
|
-
refetch: (variables?: Partial<
|
|
995
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
966
996
|
resourceActivity: ResourceActivityType;
|
|
967
997
|
}>>;
|
|
968
998
|
resourceActivity: ResourceActivityType | null;
|
|
969
999
|
};
|
|
970
1000
|
|
|
971
1001
|
declare const useCreateCheckoutSession: () => {
|
|
972
|
-
createCheckoutSession: (options?:
|
|
1002
|
+
createCheckoutSession: (options?: _apollo_client.MutationFunctionOptions<{
|
|
973
1003
|
createCheckoutSession: MutationResponse<{
|
|
974
1004
|
sessionId: string;
|
|
975
1005
|
checkoutUrl: string;
|
|
976
1006
|
}>;
|
|
977
|
-
},
|
|
1007
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
978
1008
|
createCheckoutSession: MutationResponse<{
|
|
979
1009
|
sessionId: string;
|
|
980
1010
|
checkoutUrl: string;
|
|
981
1011
|
}>;
|
|
982
1012
|
}>>;
|
|
983
|
-
error:
|
|
1013
|
+
error: _apollo_client.ApolloError | undefined;
|
|
984
1014
|
loading: boolean;
|
|
985
1015
|
};
|
|
986
1016
|
declare const useCancelSubscription: () => {
|
|
987
|
-
cancelSubscription: (options?:
|
|
1017
|
+
cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<{
|
|
988
1018
|
cancelSubscription: MutationResponse<string>;
|
|
989
|
-
},
|
|
1019
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
990
1020
|
cancelSubscription: MutationResponse<string>;
|
|
991
1021
|
}>>;
|
|
992
|
-
error:
|
|
1022
|
+
error: _apollo_client.ApolloError | undefined;
|
|
993
1023
|
loading: boolean;
|
|
994
1024
|
};
|
|
995
1025
|
declare const useUpdateSubscriptionPlan: () => {
|
|
996
|
-
error:
|
|
1026
|
+
error: _apollo_client.ApolloError | undefined;
|
|
997
1027
|
loading: boolean;
|
|
998
|
-
updateSubscriptionPlan: (options?:
|
|
1028
|
+
updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<{
|
|
999
1029
|
updateSubscriptionPlan: MutationResponse<{
|
|
1000
1030
|
subscriptionId: string;
|
|
1001
1031
|
status: string;
|
|
1002
1032
|
priceId: string;
|
|
1003
1033
|
currentPlan: string;
|
|
1004
1034
|
}>;
|
|
1005
|
-
},
|
|
1035
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1006
1036
|
updateSubscriptionPlan: MutationResponse<{
|
|
1007
1037
|
subscriptionId: string;
|
|
1008
1038
|
status: string;
|
|
@@ -1012,310 +1042,327 @@ declare const useUpdateSubscriptionPlan: () => {
|
|
|
1012
1042
|
}>>;
|
|
1013
1043
|
};
|
|
1014
1044
|
declare const useCreateCustomerPortal: () => {
|
|
1015
|
-
createCustomerPortal: (options?:
|
|
1045
|
+
createCustomerPortal: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1016
1046
|
createCustomerPortal: MutationResponse<{
|
|
1017
1047
|
portalUrl: string;
|
|
1018
1048
|
}>;
|
|
1019
|
-
},
|
|
1049
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1020
1050
|
createCustomerPortal: MutationResponse<{
|
|
1021
1051
|
portalUrl: string;
|
|
1022
1052
|
}>;
|
|
1023
1053
|
}>>;
|
|
1024
|
-
error:
|
|
1054
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1055
|
+
loading: boolean;
|
|
1056
|
+
};
|
|
1057
|
+
declare const useSelectPackage: () => {
|
|
1058
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1025
1059
|
loading: boolean;
|
|
1060
|
+
selectPackage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1061
|
+
selectPackage: MutationResponse<{
|
|
1062
|
+
checkoutUrl?: string;
|
|
1063
|
+
userId: string;
|
|
1064
|
+
licences: UserLicenceType[];
|
|
1065
|
+
}>;
|
|
1066
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1067
|
+
selectPackage: MutationResponse<{
|
|
1068
|
+
checkoutUrl?: string;
|
|
1069
|
+
userId: string;
|
|
1070
|
+
licences: UserLicenceType[];
|
|
1071
|
+
}>;
|
|
1072
|
+
}>>;
|
|
1026
1073
|
};
|
|
1027
1074
|
|
|
1028
1075
|
declare const useGetSubscriptionStatus: () => {
|
|
1029
1076
|
data: SubscriptionStatusData | undefined;
|
|
1030
|
-
error:
|
|
1077
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1031
1078
|
loading: boolean;
|
|
1032
|
-
refetch: (variables?: Partial<
|
|
1079
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1033
1080
|
getSubscriptionStatus: SubscriptionStatusData;
|
|
1034
1081
|
}>>;
|
|
1035
1082
|
};
|
|
1036
1083
|
declare const useGetSubscriptionPlans: () => {
|
|
1037
|
-
data:
|
|
1038
|
-
error:
|
|
1084
|
+
data: SubscriptionPlansResponse | undefined;
|
|
1085
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1039
1086
|
loading: boolean;
|
|
1040
|
-
refetch: (variables?: Partial<
|
|
1041
|
-
getSubscriptionPlans:
|
|
1087
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1088
|
+
getSubscriptionPlans: SubscriptionPlansResponse;
|
|
1042
1089
|
}>>;
|
|
1043
1090
|
};
|
|
1044
1091
|
|
|
1045
1092
|
declare const useCreatePartner: () => {
|
|
1046
|
-
createPartner: (options?:
|
|
1093
|
+
createPartner: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1047
1094
|
createPartner: MutationResponse<PartnerType>;
|
|
1048
|
-
},
|
|
1095
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1049
1096
|
createPartner: MutationResponse<PartnerType>;
|
|
1050
1097
|
}>>;
|
|
1051
|
-
error:
|
|
1098
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1052
1099
|
loading: boolean;
|
|
1053
1100
|
};
|
|
1054
1101
|
declare const useUpdatePartner: () => {
|
|
1055
|
-
error:
|
|
1102
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1056
1103
|
loading: boolean;
|
|
1057
|
-
updatePartner: (options?:
|
|
1104
|
+
updatePartner: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1058
1105
|
updatePartner: MutationResponse<PartnerType>;
|
|
1059
|
-
},
|
|
1106
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1060
1107
|
updatePartner: MutationResponse<PartnerType>;
|
|
1061
1108
|
}>>;
|
|
1062
1109
|
};
|
|
1063
1110
|
declare const useDeletePartner: () => {
|
|
1064
|
-
deletePartner: (options?:
|
|
1111
|
+
deletePartner: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1065
1112
|
deletePartner: MutationResponse<boolean>;
|
|
1066
|
-
},
|
|
1113
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1067
1114
|
deletePartner: MutationResponse<boolean>;
|
|
1068
1115
|
}>>;
|
|
1069
|
-
error:
|
|
1116
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1070
1117
|
loading: boolean;
|
|
1071
1118
|
};
|
|
1072
1119
|
|
|
1073
1120
|
declare const useGetPartners: () => {
|
|
1074
|
-
error:
|
|
1121
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1075
1122
|
loading: boolean;
|
|
1076
1123
|
partners: PartnerType[];
|
|
1077
|
-
refetch: (variables?: Partial<
|
|
1124
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1078
1125
|
partners: PartnerType[];
|
|
1079
1126
|
}>>;
|
|
1080
1127
|
};
|
|
1081
1128
|
declare const useGetPartner: (_id: string) => {
|
|
1082
|
-
error:
|
|
1129
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1083
1130
|
loading: boolean;
|
|
1084
1131
|
partner: PartnerType | undefined;
|
|
1085
|
-
refetch: (variables?: Partial<
|
|
1132
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1086
1133
|
partner: PartnerType;
|
|
1087
1134
|
}>>;
|
|
1088
1135
|
};
|
|
1089
1136
|
declare const useGetPartnersByRegion: (region: string, options?: UseGetResourcesByRegionOptions) => {
|
|
1090
|
-
error:
|
|
1137
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1091
1138
|
fetchMore: <TFetchData = {
|
|
1092
1139
|
partnersByRegion: PartnerType[];
|
|
1093
|
-
}, TFetchVars extends
|
|
1140
|
+
}, TFetchVars extends _apollo_client.OperationVariables = _apollo_client.OperationVariables>(fetchMoreOptions: _apollo_client.FetchMoreQueryOptions<TFetchVars, TFetchData> & {
|
|
1094
1141
|
updateQuery?: ((previousQueryResult: {
|
|
1095
1142
|
partnersByRegion: PartnerType[];
|
|
1096
1143
|
}, options: {
|
|
1097
|
-
fetchMoreResult:
|
|
1144
|
+
fetchMoreResult: _apollo_client.Unmasked<TFetchData>;
|
|
1098
1145
|
variables: TFetchVars;
|
|
1099
1146
|
}) => {
|
|
1100
1147
|
partnersByRegion: PartnerType[];
|
|
1101
1148
|
}) | undefined;
|
|
1102
|
-
}) => Promise<
|
|
1149
|
+
}) => Promise<_apollo_client.ApolloQueryResult<TFetchData>>;
|
|
1103
1150
|
loading: boolean;
|
|
1104
1151
|
partnersByRegion: PartnerType[];
|
|
1105
|
-
refetch: (variables?: Partial<
|
|
1152
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1106
1153
|
partnersByRegion: PartnerType[];
|
|
1107
1154
|
}>>;
|
|
1108
1155
|
};
|
|
1109
1156
|
declare const useSearchPartners: (search: string, region: string) => {
|
|
1110
|
-
error:
|
|
1157
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1111
1158
|
loading: boolean;
|
|
1112
1159
|
partnersSearch: PartnerType[];
|
|
1113
|
-
refetch: (variables?: Partial<
|
|
1160
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1114
1161
|
partnersSearch: PartnerType[];
|
|
1115
1162
|
}>>;
|
|
1116
1163
|
};
|
|
1117
1164
|
|
|
1118
1165
|
declare const useCreatePost: () => {
|
|
1119
|
-
createPost: (options?:
|
|
1166
|
+
createPost: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1120
1167
|
createPost: MutationResponse<PostType>;
|
|
1121
|
-
},
|
|
1168
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1122
1169
|
createPost: MutationResponse<PostType>;
|
|
1123
1170
|
}>>;
|
|
1124
|
-
error:
|
|
1171
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1125
1172
|
loading: boolean;
|
|
1126
1173
|
};
|
|
1127
1174
|
declare const useUpdatePost: () => {
|
|
1128
|
-
error:
|
|
1175
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1129
1176
|
loading: boolean;
|
|
1130
|
-
updatePost: (options?:
|
|
1177
|
+
updatePost: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1131
1178
|
updatePost: MutationResponse<PostType>;
|
|
1132
|
-
},
|
|
1179
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1133
1180
|
updatePost: MutationResponse<PostType>;
|
|
1134
1181
|
}>>;
|
|
1135
1182
|
};
|
|
1136
1183
|
declare const useDeletePost: () => {
|
|
1137
|
-
deletePost: (options?:
|
|
1184
|
+
deletePost: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1138
1185
|
deletePost: MutationResponse<boolean>;
|
|
1139
|
-
},
|
|
1186
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1140
1187
|
deletePost: MutationResponse<boolean>;
|
|
1141
1188
|
}>>;
|
|
1142
|
-
error:
|
|
1189
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1143
1190
|
loading: boolean;
|
|
1144
1191
|
};
|
|
1145
1192
|
|
|
1146
1193
|
declare const useGetPosts: () => {
|
|
1147
|
-
error:
|
|
1194
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1148
1195
|
loading: boolean;
|
|
1149
1196
|
posts: PostType[];
|
|
1150
|
-
refetch: (variables?: Partial<
|
|
1197
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1151
1198
|
posts: PostType[];
|
|
1152
1199
|
}>>;
|
|
1153
1200
|
};
|
|
1154
1201
|
declare const useGetPost: (_id: string) => {
|
|
1155
|
-
error:
|
|
1202
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1156
1203
|
loading: boolean;
|
|
1157
1204
|
post: PostType | undefined;
|
|
1158
|
-
refetch: (variables?: Partial<
|
|
1205
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1159
1206
|
post: PostType;
|
|
1160
1207
|
}>>;
|
|
1161
1208
|
};
|
|
1162
|
-
declare const useGetPostsByType: (postType:
|
|
1163
|
-
error:
|
|
1209
|
+
declare const useGetPostsByType: (postType: EnumPostType) => {
|
|
1210
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1164
1211
|
loading: boolean;
|
|
1165
1212
|
postsByType: PostType[];
|
|
1166
|
-
refetch: (variables?: Partial<
|
|
1213
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1167
1214
|
postsByType: PostType[];
|
|
1168
1215
|
}>>;
|
|
1169
1216
|
};
|
|
1170
1217
|
|
|
1171
1218
|
declare const useUpdateAppSettings: () => {
|
|
1172
|
-
error:
|
|
1219
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1173
1220
|
loading: boolean;
|
|
1174
|
-
updateAppSettings: (options?:
|
|
1221
|
+
updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1175
1222
|
updateAppSettings: MutationResponse<boolean>;
|
|
1176
|
-
},
|
|
1223
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1177
1224
|
updateAppSettings: MutationResponse<boolean>;
|
|
1178
1225
|
}>>;
|
|
1179
1226
|
};
|
|
1180
1227
|
declare const useCrawlGoogleMarkets: () => {
|
|
1181
|
-
crawlGoogleMarkets: (options?:
|
|
1228
|
+
crawlGoogleMarkets: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1182
1229
|
crawlGoogleMarkets: MutationResponse<boolean>;
|
|
1183
|
-
},
|
|
1230
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1184
1231
|
crawlGoogleMarkets: MutationResponse<boolean>;
|
|
1185
1232
|
}>>;
|
|
1186
|
-
error:
|
|
1233
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1187
1234
|
loading: boolean;
|
|
1188
1235
|
};
|
|
1189
1236
|
declare const useUpdateGoogleImportedMarkets: () => {
|
|
1190
|
-
error:
|
|
1237
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1191
1238
|
loading: boolean;
|
|
1192
|
-
updateGoogleImportedMarkets: (options?:
|
|
1239
|
+
updateGoogleImportedMarkets: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1193
1240
|
updateGoogleImportedMarkets: MutationResponse<boolean>;
|
|
1194
|
-
},
|
|
1241
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1195
1242
|
updateGoogleImportedMarkets: MutationResponse<boolean>;
|
|
1196
1243
|
}>>;
|
|
1197
1244
|
};
|
|
1198
1245
|
|
|
1199
1246
|
declare const useGetAppSettings: () => {
|
|
1200
1247
|
appSettings: AppSettingsType | null;
|
|
1201
|
-
error:
|
|
1248
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1202
1249
|
loading: boolean;
|
|
1203
|
-
refetch: (variables?: Partial<
|
|
1250
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1204
1251
|
appSettings: AppSettingsType;
|
|
1205
1252
|
}>>;
|
|
1206
1253
|
};
|
|
1207
1254
|
|
|
1208
1255
|
declare const useStartGame: () => {
|
|
1209
|
-
error:
|
|
1256
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1210
1257
|
loading: boolean;
|
|
1211
|
-
startGame: (options?:
|
|
1258
|
+
startGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1212
1259
|
startGame: MutationResponse<GameDocType>;
|
|
1213
|
-
},
|
|
1260
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1214
1261
|
startGame: MutationResponse<GameDocType>;
|
|
1215
1262
|
}>>;
|
|
1216
1263
|
};
|
|
1217
1264
|
declare const useLeaveGame: () => {
|
|
1218
|
-
error:
|
|
1219
|
-
leaveGame: (options?:
|
|
1265
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1266
|
+
leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1220
1267
|
leaveGame: MutationResponse<boolean>;
|
|
1221
|
-
},
|
|
1268
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1222
1269
|
leaveGame: MutationResponse<boolean>;
|
|
1223
1270
|
}>>;
|
|
1224
1271
|
loading: boolean;
|
|
1225
1272
|
};
|
|
1226
1273
|
declare const useUpdateDailyClueGame: () => {
|
|
1227
|
-
error:
|
|
1274
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1228
1275
|
loading: boolean;
|
|
1229
|
-
updateDailyClueGame: (options?:
|
|
1276
|
+
updateDailyClueGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1230
1277
|
updateDailyClueGame: MutationResponse<GameDocType>;
|
|
1231
|
-
},
|
|
1278
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1232
1279
|
updateDailyClueGame: MutationResponse<GameDocType>;
|
|
1233
1280
|
}>>;
|
|
1234
1281
|
};
|
|
1235
1282
|
declare const useUpdatePuzzleGame: () => {
|
|
1236
|
-
error:
|
|
1283
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1237
1284
|
loading: boolean;
|
|
1238
|
-
updatePuzzleGame: (options?:
|
|
1285
|
+
updatePuzzleGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1239
1286
|
updatePuzzleGame: MutationResponse<GameDocType>;
|
|
1240
|
-
},
|
|
1287
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1241
1288
|
updatePuzzleGame: MutationResponse<GameDocType>;
|
|
1242
1289
|
}>>;
|
|
1243
1290
|
};
|
|
1244
1291
|
|
|
1245
1292
|
declare const useGetGames: () => {
|
|
1246
|
-
error:
|
|
1293
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1247
1294
|
games: GameDocType[];
|
|
1248
1295
|
loading: boolean;
|
|
1249
|
-
refetch: (variables?: Partial<
|
|
1296
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1250
1297
|
games: GameDocType[];
|
|
1251
1298
|
}>>;
|
|
1252
1299
|
};
|
|
1253
1300
|
declare const useGetGame: (_id?: string | null) => {
|
|
1254
|
-
error:
|
|
1301
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1255
1302
|
game: GameDocType | null;
|
|
1256
1303
|
loading: boolean;
|
|
1257
|
-
refetch: (variables?: Partial<
|
|
1304
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1258
1305
|
game: GameDocType | null;
|
|
1259
1306
|
}>>;
|
|
1260
1307
|
};
|
|
1261
1308
|
declare const useGetGameLeaderboard: () => {
|
|
1262
|
-
error:
|
|
1263
|
-
gameLeaderboard:
|
|
1309
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1310
|
+
gameLeaderboard: GameLeaderboard[];
|
|
1264
1311
|
loading: boolean;
|
|
1265
|
-
refetch: (variables?: Partial<
|
|
1266
|
-
gameLeaderboard:
|
|
1312
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1313
|
+
gameLeaderboard: GameLeaderboard[];
|
|
1267
1314
|
}>>;
|
|
1268
1315
|
};
|
|
1269
1316
|
|
|
1270
1317
|
declare const useCreateSchool: () => {
|
|
1271
|
-
createSchool: (options?:
|
|
1318
|
+
createSchool: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1272
1319
|
createSchool: MutationResponse<SchoolType>;
|
|
1273
|
-
},
|
|
1320
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1274
1321
|
createSchool: MutationResponse<SchoolType>;
|
|
1275
1322
|
}>>;
|
|
1276
|
-
error:
|
|
1323
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1277
1324
|
loading: boolean;
|
|
1278
1325
|
};
|
|
1279
1326
|
declare const useUpdateSchool: () => {
|
|
1280
|
-
error:
|
|
1327
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1281
1328
|
loading: boolean;
|
|
1282
|
-
updateSchool: (options?:
|
|
1329
|
+
updateSchool: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1283
1330
|
updateSchool: MutationResponse<SchoolType>;
|
|
1284
|
-
},
|
|
1331
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1285
1332
|
updateSchool: MutationResponse<SchoolType>;
|
|
1286
1333
|
}>>;
|
|
1287
1334
|
};
|
|
1288
1335
|
declare const useDeleteSchool: () => {
|
|
1289
|
-
deleteSchool: (options?:
|
|
1336
|
+
deleteSchool: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1290
1337
|
deleteSchool: MutationResponse<boolean>;
|
|
1291
|
-
},
|
|
1338
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1292
1339
|
deleteSchool: MutationResponse<boolean>;
|
|
1293
1340
|
}>>;
|
|
1294
|
-
error:
|
|
1341
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1295
1342
|
loading: boolean;
|
|
1296
1343
|
};
|
|
1297
1344
|
declare const useRequestMarketingMaterial: () => {
|
|
1298
|
-
error:
|
|
1345
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1299
1346
|
loading: boolean;
|
|
1300
|
-
requestMarketingMaterial: (options?:
|
|
1347
|
+
requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1301
1348
|
requestMarketingMaterial: MutationResponse<boolean>;
|
|
1302
|
-
},
|
|
1349
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1303
1350
|
requestMarketingMaterial: MutationResponse<boolean>;
|
|
1304
1351
|
}>>;
|
|
1305
1352
|
};
|
|
1306
1353
|
|
|
1307
1354
|
declare const useGetSchools: () => {
|
|
1308
|
-
error:
|
|
1355
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1309
1356
|
loading: boolean;
|
|
1310
|
-
refetch: (variables?: Partial<
|
|
1357
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1311
1358
|
schools: SchoolType[];
|
|
1312
1359
|
}>>;
|
|
1313
1360
|
schools: SchoolType[];
|
|
1314
1361
|
};
|
|
1315
1362
|
declare const useGetSchool: (_id: string) => {
|
|
1316
|
-
error:
|
|
1363
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1317
1364
|
loading: boolean;
|
|
1318
|
-
refetch: (variables?: Partial<
|
|
1365
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1319
1366
|
school: SchoolReturnType;
|
|
1320
1367
|
}>>;
|
|
1321
1368
|
school: SchoolReturnType | null;
|
|
@@ -1323,65 +1370,65 @@ declare const useGetSchool: (_id: string) => {
|
|
|
1323
1370
|
|
|
1324
1371
|
declare const useGetAffiliate: (_id: string) => {
|
|
1325
1372
|
affiliate: AffiliateType | undefined;
|
|
1326
|
-
error:
|
|
1373
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1327
1374
|
loading: boolean;
|
|
1328
|
-
refetch: (variables?: Partial<
|
|
1375
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1329
1376
|
affiliate: AffiliateType;
|
|
1330
1377
|
}>>;
|
|
1331
1378
|
};
|
|
1332
1379
|
declare const useGetAffiliates: () => {
|
|
1333
1380
|
affiliates: AffiliateType[];
|
|
1334
|
-
error:
|
|
1381
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1335
1382
|
loading: boolean;
|
|
1336
|
-
refetch: (variables?: Partial<
|
|
1383
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1337
1384
|
affiliates: AffiliateType[];
|
|
1338
1385
|
}>>;
|
|
1339
1386
|
};
|
|
1340
1387
|
|
|
1341
1388
|
declare const useUpdateAffiliateDetails: () => {
|
|
1342
|
-
error:
|
|
1389
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1343
1390
|
loading: boolean;
|
|
1344
|
-
updateAffiliateDetails: (options?:
|
|
1391
|
+
updateAffiliateDetails: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1345
1392
|
updateAffiliateDetails: MutationResponse<AffiliateType>;
|
|
1346
|
-
},
|
|
1393
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1347
1394
|
updateAffiliateDetails: MutationResponse<AffiliateType>;
|
|
1348
1395
|
}>>;
|
|
1349
1396
|
};
|
|
1350
1397
|
declare const useDeleteAffiliate: () => {
|
|
1351
|
-
deleteAffiliate: (options?:
|
|
1398
|
+
deleteAffiliate: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1352
1399
|
deleteAffiliate: MutationResponse<boolean>;
|
|
1353
|
-
},
|
|
1400
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1354
1401
|
deleteAffiliate: MutationResponse<boolean>;
|
|
1355
1402
|
}>>;
|
|
1356
|
-
error:
|
|
1403
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1357
1404
|
loading: boolean;
|
|
1358
1405
|
};
|
|
1359
1406
|
declare const useRedeemAffiliateReward: () => {
|
|
1360
|
-
error:
|
|
1407
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1361
1408
|
loading: boolean;
|
|
1362
|
-
redeemAffiliateReward: (options?:
|
|
1409
|
+
redeemAffiliateReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1363
1410
|
redeemAffiliateReward: MutationResponse<AffiliateType>;
|
|
1364
|
-
},
|
|
1411
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1365
1412
|
redeemAffiliateReward: MutationResponse<AffiliateType>;
|
|
1366
1413
|
}>>;
|
|
1367
1414
|
};
|
|
1368
1415
|
declare const useAssignAffiliateResourceReward: () => {
|
|
1369
|
-
assignAffiliateResourceReward: (options?:
|
|
1416
|
+
assignAffiliateResourceReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1370
1417
|
assignAffiliateResourceReward: MutationResponse<AffiliateType>;
|
|
1371
|
-
},
|
|
1418
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1372
1419
|
assignAffiliateResourceReward: MutationResponse<AffiliateType>;
|
|
1373
1420
|
}>>;
|
|
1374
|
-
error:
|
|
1421
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1375
1422
|
loading: boolean;
|
|
1376
1423
|
};
|
|
1377
1424
|
declare const useAssignAffiliateBonusReward: () => {
|
|
1378
|
-
assignAffiliateBonusReward: (options?:
|
|
1425
|
+
assignAffiliateBonusReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1379
1426
|
assignAffiliateBonusReward: MutationResponse<AffiliateType>;
|
|
1380
|
-
},
|
|
1427
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1381
1428
|
assignAffiliateBonusReward: MutationResponse<AffiliateType>;
|
|
1382
1429
|
}>>;
|
|
1383
|
-
error:
|
|
1430
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1384
1431
|
loading: boolean;
|
|
1385
1432
|
};
|
|
1386
1433
|
|
|
1387
|
-
export {
|
|
1434
|
+
export { GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, toGraphqlQueryString, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|