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