@timardex/cluemart-shared 1.7.0 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ad-BUYzE6zx.d.ts +181 -0
- package/dist/ad-BhLoEul3.d.mts +181 -0
- package/dist/affiliate-BbtjeUP4.d.mts +73 -0
- package/dist/affiliate-C51nzKsw.d.ts +73 -0
- package/dist/apollo/index.cjs +1383 -0
- package/dist/apollo/index.cjs.map +1 -0
- package/dist/apollo/index.d.mts +323 -0
- package/dist/apollo/index.d.ts +323 -0
- package/dist/apollo/index.mjs +1295 -0
- package/dist/apollo/index.mjs.map +1 -0
- package/dist/auth/index.cjs +1727 -0
- package/dist/auth/index.cjs.map +1 -0
- package/dist/auth/index.d.mts +166 -0
- package/dist/auth/index.d.ts +166 -0
- package/dist/auth/index.mjs +380 -0
- package/dist/auth/index.mjs.map +1 -0
- package/dist/chunk-32MKHJTX.mjs +1207 -0
- package/dist/chunk-32MKHJTX.mjs.map +1 -0
- package/dist/{chunk-HZMP7GXC.mjs → chunk-447EYKHL.mjs} +1010 -2671
- package/dist/chunk-447EYKHL.mjs.map +1 -0
- package/dist/{chunk-RKIRWZCH.mjs → chunk-AYO3E4DM.mjs} +39 -183
- package/dist/chunk-AYO3E4DM.mjs.map +1 -0
- package/dist/{chunk-ZZJSCYJK.mjs → chunk-BIJ5NDXW.mjs} +46 -42
- package/dist/chunk-BIJ5NDXW.mjs.map +1 -0
- package/dist/chunk-DQ7ZHIXW.mjs +26 -0
- package/dist/chunk-DQ7ZHIXW.mjs.map +1 -0
- package/dist/{chunk-MVQ3CFQR.mjs → chunk-ILILH7E2.mjs} +12 -23
- package/dist/chunk-ILILH7E2.mjs.map +1 -0
- package/dist/{chunk-TAECMXM4.mjs → chunk-LBEJECG3.mjs} +249 -219
- package/dist/{chunk-TAECMXM4.mjs.map → chunk-LBEJECG3.mjs.map} +1 -1
- package/dist/chunk-RAYUJODN.mjs +45 -0
- package/dist/chunk-RAYUJODN.mjs.map +1 -0
- package/dist/chunk-SD42WIMV.mjs +297 -0
- package/dist/chunk-SD42WIMV.mjs.map +1 -0
- package/dist/chunk-VPANTTZI.mjs +262 -0
- package/dist/chunk-VPANTTZI.mjs.map +1 -0
- package/dist/{chunk-KZTOISPA.mjs → chunk-X3OLM35T.mjs} +14 -8
- package/dist/chunk-X3OLM35T.mjs.map +1 -0
- package/dist/{contactUs-H7799pWe.d.ts → contactUs--NoohZBu.d.ts} +1 -1
- package/dist/{contactUs-DGrDzJaM.d.mts → contactUs-CBWzefUS.d.mts} +1 -1
- package/dist/enums/index.cjs +13 -7
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +15 -9
- package/dist/enums/index.d.ts +15 -9
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +136 -73
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +3 -2
- package/dist/formFields/index.d.ts +3 -2
- package/dist/formFields/index.mjs +9 -4
- package/dist/{global-fKbMmluy.d.ts → global-CUYYxpy2.d.ts} +12 -11
- package/dist/{global-BUUfmCo7.d.mts → global-DePDtOFt.d.mts} +12 -11
- package/dist/graphql/index.cjs +734 -1271
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +434 -176
- package/dist/graphql/index.d.ts +434 -176
- package/dist/graphql/index.mjs +37 -23
- package/dist/hooks/index.cjs +947 -309
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +10 -4
- package/dist/hooks/index.d.ts +10 -4
- package/dist/hooks/index.mjs +170 -58
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/images/apple-maps-icon.webp.d.ts +8 -1
- package/dist/images/banner-horizontal.webp.d.ts +8 -1
- package/dist/images/banner-vertical.webp.d.ts +8 -1
- package/dist/images/cluiTui.webp.d.ts +8 -1
- package/dist/images/corporate.webp.d.ts +8 -1
- package/dist/images/facebook.webp.d.ts +8 -1
- package/dist/images/gazebo-top.webp.d.ts +8 -1
- package/dist/images/google-maps-icon.webp.d.ts +8 -1
- package/dist/images/googleMaps-logo-dark.webp.d.ts +8 -1
- package/dist/images/googleMaps-logo-light.webp.d.ts +8 -1
- package/dist/images/instagram.webp.d.ts +8 -1
- package/dist/images/logo-atr.webp.d.ts +8 -1
- package/dist/images/logo-dark.webp.d.ts +8 -1
- package/dist/images/logo.webp.d.ts +8 -1
- package/dist/images/meet.webp.d.ts +8 -1
- package/dist/images/mini-market1.webp.d.ts +8 -1
- package/dist/images/mini-market2.webp.d.ts +8 -1
- package/dist/images/mini-market3.webp.d.ts +8 -1
- package/dist/images/mini-market4.webp.d.ts +8 -1
- package/dist/images/mini-market5.webp.d.ts +8 -1
- package/dist/images/poll.webp.d.ts +8 -1
- package/dist/images/poster1.webp.d.ts +8 -1
- package/dist/images/poster2.webp.d.ts +8 -1
- package/dist/images/poster3.webp.d.ts +8 -1
- package/dist/images/poster4.webp.d.ts +8 -1
- package/dist/images/private.webp.d.ts +8 -1
- package/dist/images/qr-code.webp.d.ts +8 -1
- package/dist/images/school.webp.d.ts +8 -1
- package/dist/images/sima.webp.d.ts +8 -1
- package/dist/images/store-android.webp.d.ts +8 -1
- package/dist/images/store-ios.webp.d.ts +8 -1
- package/dist/images/tablas.webp.d.ts +8 -1
- package/dist/images/telefonos.webp.d.ts +8 -1
- package/dist/images/tiktok.webp.d.ts +8 -1
- package/dist/images/tip.webp.d.ts +8 -1
- package/dist/images/ugralos.webp.d.ts +8 -1
- package/dist/images/waze-maps-icon.webp.d.ts +8 -1
- package/dist/images/website.webp.d.ts +8 -1
- package/dist/images/youtube.webp.d.ts +8 -1
- package/dist/index.cjs +1751 -1781
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +665 -243
- package/dist/index.d.ts +665 -243
- package/dist/index.mjs +1711 -1779
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.cjs +14 -9
- package/dist/map/index.cjs.map +1 -1
- package/dist/map/index.d.mts +16 -13
- package/dist/map/index.d.ts +16 -13
- package/dist/map/index.mjs +14 -9
- package/dist/map/index.mjs.map +1 -1
- package/dist/{resourceActivities-BL_12IAo.d.ts → resourceActivities-CMUcn2P7.d.ts} +9 -4
- package/dist/{resourceActivities-zczOntNk.d.mts → resourceActivities-CwbJFGIp.d.mts} +9 -4
- package/dist/sharing/index.cjs +39 -1252
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +17 -5
- package/dist/sharing/index.d.ts +17 -5
- package/dist/sharing/index.mjs +34 -30
- package/dist/subscription-BU8GvH2K.d.ts +12 -0
- package/dist/subscription-bmAdrnfi.d.mts +12 -0
- package/dist/types/index.cjs +15 -2
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +10 -23
- package/dist/types/index.d.ts +10 -23
- package/dist/types/index.mjs +9 -5
- package/dist/user-D47MLFyH.d.ts +134 -0
- package/dist/user-DE8edl3u.d.mts +134 -0
- package/dist/utils/index.cjs +355 -136
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +87 -35
- package/dist/utils/index.d.ts +87 -35
- package/dist/utils/index.mjs +42 -15
- package/package.json +31 -10
- package/dist/ad-CVkVX_z5.d.ts +0 -296
- package/dist/ad-DA9ECAhK.d.mts +0 -296
- package/dist/affiliate-1RtkLnLP.d.ts +0 -35
- package/dist/affiliate-Cos2Syz5.d.mts +0 -35
- package/dist/chunk-HZMP7GXC.mjs.map +0 -1
- package/dist/chunk-KZTOISPA.mjs.map +0 -1
- package/dist/chunk-MVQ3CFQR.mjs.map +0 -1
- package/dist/chunk-RKIRWZCH.mjs.map +0 -1
- package/dist/chunk-ZZJSCYJK.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import '../
|
|
3
|
+
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-CwbJFGIp.mjs';
|
|
4
|
+
import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, j as PostType, k as EnumPostType, G as GameDocType, l as GameLeaderboard } from '../global-DePDtOFt.mjs';
|
|
5
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-BhLoEul3.mjs';
|
|
6
|
+
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-DE8edl3u.mjs';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-BbtjeUP4.mjs';
|
|
9
9
|
import 'react-hook-form';
|
|
10
|
+
import '../images/index.mjs';
|
|
10
11
|
|
|
11
12
|
declare const GET_EVENT: _apollo_client.DocumentNode;
|
|
12
13
|
declare const GET_EVENT_INFO: _apollo_client.DocumentNode;
|
|
@@ -29,87 +30,102 @@ declare function toGraphqlQueryString(query: DocumentNode): string;
|
|
|
29
30
|
|
|
30
31
|
declare const useAdminUpdateResourceType: () => {
|
|
31
32
|
adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<{
|
|
32
|
-
adminUpdateResourceType:
|
|
33
|
-
resourceId: string;
|
|
34
|
-
resourceType: EnumResourceType;
|
|
35
|
-
};
|
|
33
|
+
adminUpdateResourceType: MutationResponse<AdminUpdateResourceType>;
|
|
36
34
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
37
|
-
adminUpdateResourceType:
|
|
38
|
-
resourceId: string;
|
|
39
|
-
resourceType: EnumResourceType;
|
|
40
|
-
};
|
|
35
|
+
adminUpdateResourceType: MutationResponse<AdminUpdateResourceType>;
|
|
41
36
|
}>>;
|
|
42
37
|
error: _apollo_client.ApolloError | undefined;
|
|
43
38
|
loading: boolean;
|
|
44
39
|
};
|
|
45
40
|
declare const useAdminResendUserVerificationEmail: () => {
|
|
46
|
-
adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<
|
|
41
|
+
adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<{
|
|
42
|
+
adminResendUserVerificationEmail: MutationResponse<boolean>;
|
|
43
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
44
|
+
adminResendUserVerificationEmail: MutationResponse<boolean>;
|
|
45
|
+
}>>;
|
|
47
46
|
error: _apollo_client.ApolloError | undefined;
|
|
48
47
|
loading: boolean;
|
|
49
48
|
};
|
|
50
49
|
declare const useAdminPermanentlyDeleteResource: () => {
|
|
51
|
-
adminPermanentlyDeleteResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
50
|
+
adminPermanentlyDeleteResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
51
|
+
adminPermanentlyDeleteResource: MutationResponse<boolean>;
|
|
52
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
53
|
+
adminPermanentlyDeleteResource: MutationResponse<boolean>;
|
|
54
|
+
}>>;
|
|
52
55
|
error: _apollo_client.ApolloError | undefined;
|
|
53
56
|
loading: boolean;
|
|
54
57
|
};
|
|
55
58
|
|
|
59
|
+
type MessageOnlyResponse = MutationResponse<boolean>;
|
|
56
60
|
declare const useRegister: () => {
|
|
57
61
|
error: _apollo_client.ApolloError | undefined;
|
|
58
62
|
loading: boolean;
|
|
59
63
|
register: (options?: _apollo_client.MutationFunctionOptions<{
|
|
60
|
-
register:
|
|
64
|
+
register: AuthMutationResponse;
|
|
61
65
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
62
|
-
register:
|
|
66
|
+
register: AuthMutationResponse;
|
|
63
67
|
}>>;
|
|
64
68
|
};
|
|
65
69
|
declare const useLogin: () => {
|
|
66
70
|
error: _apollo_client.ApolloError | undefined;
|
|
67
71
|
loading: boolean;
|
|
68
72
|
login: (options?: _apollo_client.MutationFunctionOptions<{
|
|
69
|
-
login:
|
|
73
|
+
login: AuthMutationResponse;
|
|
70
74
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
71
|
-
login:
|
|
75
|
+
login: AuthMutationResponse;
|
|
72
76
|
}>>;
|
|
73
77
|
};
|
|
74
78
|
declare const useLogout: () => {
|
|
75
79
|
error: _apollo_client.ApolloError | undefined;
|
|
76
80
|
loading: boolean;
|
|
77
|
-
logout: (options?: _apollo_client.MutationFunctionOptions<
|
|
81
|
+
logout: (options?: _apollo_client.MutationFunctionOptions<{
|
|
82
|
+
logout: MessageOnlyResponse;
|
|
83
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
84
|
+
logout: MessageOnlyResponse;
|
|
85
|
+
}>>;
|
|
78
86
|
};
|
|
79
87
|
declare const useRefreshToken: () => {
|
|
80
88
|
error: _apollo_client.ApolloError | undefined;
|
|
81
89
|
loading: boolean;
|
|
82
90
|
refreshToken: (options?: _apollo_client.MutationFunctionOptions<{
|
|
83
|
-
refreshToken:
|
|
91
|
+
refreshToken: RefreshTokenMutationResponse;
|
|
84
92
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
85
|
-
refreshToken:
|
|
93
|
+
refreshToken: RefreshTokenMutationResponse;
|
|
86
94
|
}>>;
|
|
87
95
|
};
|
|
88
96
|
declare const useRequestPasswordReset: () => {
|
|
89
97
|
error: _apollo_client.ApolloError | undefined;
|
|
90
98
|
loading: boolean;
|
|
91
|
-
requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<
|
|
99
|
+
requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<{
|
|
100
|
+
requestPasswordReset: MessageOnlyResponse;
|
|
101
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
102
|
+
requestPasswordReset: MessageOnlyResponse;
|
|
103
|
+
}>>;
|
|
92
104
|
};
|
|
93
105
|
declare const useValidateVerificationToken: () => {
|
|
94
106
|
error: _apollo_client.ApolloError | undefined;
|
|
95
107
|
loading: boolean;
|
|
96
|
-
validateVerificationToken: (options?: _apollo_client.MutationFunctionOptions<
|
|
108
|
+
validateVerificationToken: (options?: _apollo_client.MutationFunctionOptions<{
|
|
109
|
+
validateVerificationToken: MessageOnlyResponse;
|
|
110
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
111
|
+
validateVerificationToken: MessageOnlyResponse;
|
|
112
|
+
}>>;
|
|
97
113
|
};
|
|
98
114
|
declare const useResetPassword: () => {
|
|
99
115
|
error: _apollo_client.ApolloError | undefined;
|
|
100
116
|
loading: boolean;
|
|
101
|
-
resetPassword: (options?: _apollo_client.MutationFunctionOptions<
|
|
117
|
+
resetPassword: (options?: _apollo_client.MutationFunctionOptions<{
|
|
118
|
+
resetPassword: MessageOnlyResponse;
|
|
119
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
120
|
+
resetPassword: MessageOnlyResponse;
|
|
121
|
+
}>>;
|
|
102
122
|
};
|
|
103
123
|
|
|
104
124
|
declare const useCreatePrivateChat: () => {
|
|
105
125
|
createPrivateChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
106
|
-
createPrivateChat:
|
|
107
|
-
_id: string;
|
|
108
|
-
};
|
|
126
|
+
createPrivateChat: MutationResponse<ChatType>;
|
|
109
127
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
110
|
-
createPrivateChat:
|
|
111
|
-
_id: string;
|
|
112
|
-
};
|
|
128
|
+
createPrivateChat: MutationResponse<ChatType>;
|
|
113
129
|
}>>;
|
|
114
130
|
error: _apollo_client.ApolloError | undefined;
|
|
115
131
|
loading: boolean;
|
|
@@ -118,29 +134,25 @@ declare const useSendChatMessage: () => {
|
|
|
118
134
|
error: _apollo_client.ApolloError | undefined;
|
|
119
135
|
loading: boolean;
|
|
120
136
|
sendChatMessage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
121
|
-
sendChatMessage:
|
|
122
|
-
_id: string;
|
|
123
|
-
};
|
|
137
|
+
sendChatMessage: MutationResponse<ChatType>;
|
|
124
138
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
125
|
-
sendChatMessage:
|
|
126
|
-
_id: string;
|
|
127
|
-
};
|
|
139
|
+
sendChatMessage: MutationResponse<ChatType>;
|
|
128
140
|
}>>;
|
|
129
141
|
};
|
|
130
142
|
declare const useDeleteChat: () => {
|
|
131
|
-
deleteChat: (options?: _apollo_client.MutationFunctionOptions<
|
|
143
|
+
deleteChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
144
|
+
deleteChat: MutationResponse<boolean>;
|
|
145
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
146
|
+
deleteChat: MutationResponse<boolean>;
|
|
147
|
+
}>>;
|
|
132
148
|
error: _apollo_client.ApolloError | undefined;
|
|
133
149
|
loading: boolean;
|
|
134
150
|
};
|
|
135
151
|
declare const useAddParticipantToChat: () => {
|
|
136
152
|
addParticipantToChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
137
|
-
addParticipantToChat:
|
|
138
|
-
_id: string;
|
|
139
|
-
};
|
|
153
|
+
addParticipantToChat: MutationResponse<ChatType>;
|
|
140
154
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
141
|
-
addParticipantToChat:
|
|
142
|
-
_id: string;
|
|
143
|
-
};
|
|
155
|
+
addParticipantToChat: MutationResponse<ChatType>;
|
|
144
156
|
}>>;
|
|
145
157
|
error: _apollo_client.ApolloError | undefined;
|
|
146
158
|
loading: boolean;
|
|
@@ -149,47 +161,43 @@ declare const useRemoveParticipantFromChat: () => {
|
|
|
149
161
|
error: _apollo_client.ApolloError | undefined;
|
|
150
162
|
loading: boolean;
|
|
151
163
|
removeParticipantFromChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
152
|
-
removeParticipantFromChat: {
|
|
164
|
+
removeParticipantFromChat: MutationResponse<{
|
|
153
165
|
success: boolean;
|
|
154
166
|
region?: string | null;
|
|
155
|
-
}
|
|
167
|
+
}>;
|
|
156
168
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
157
|
-
removeParticipantFromChat: {
|
|
169
|
+
removeParticipantFromChat: MutationResponse<{
|
|
158
170
|
success: boolean;
|
|
159
171
|
region?: string | null;
|
|
160
|
-
}
|
|
172
|
+
}>;
|
|
161
173
|
}>>;
|
|
162
174
|
};
|
|
163
175
|
declare const useToggleChatMessageLike: () => {
|
|
164
176
|
error: _apollo_client.ApolloError | undefined;
|
|
165
177
|
loading: boolean;
|
|
166
178
|
toggleChatMessageLike: (options?: _apollo_client.MutationFunctionOptions<{
|
|
167
|
-
toggleChatMessageLike:
|
|
168
|
-
_id: string;
|
|
169
|
-
};
|
|
179
|
+
toggleChatMessageLike: MutationResponse<ChatType>;
|
|
170
180
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
171
|
-
toggleChatMessageLike:
|
|
172
|
-
_id: string;
|
|
173
|
-
};
|
|
181
|
+
toggleChatMessageLike: MutationResponse<ChatType>;
|
|
174
182
|
}>>;
|
|
175
183
|
};
|
|
176
184
|
declare const useMarkChatMessagesSeen: () => {
|
|
177
185
|
error: _apollo_client.ApolloError | undefined;
|
|
178
186
|
loading: boolean;
|
|
179
187
|
markChatMessagesSeen: (options?: _apollo_client.MutationFunctionOptions<{
|
|
180
|
-
markChatMessagesSeen:
|
|
181
|
-
_id: string;
|
|
182
|
-
};
|
|
188
|
+
markChatMessagesSeen: MutationResponse<ChatType>;
|
|
183
189
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
184
|
-
markChatMessagesSeen:
|
|
185
|
-
_id: string;
|
|
186
|
-
};
|
|
190
|
+
markChatMessagesSeen: MutationResponse<ChatType>;
|
|
187
191
|
}>>;
|
|
188
192
|
};
|
|
189
193
|
declare const useReportChatUser: () => {
|
|
190
194
|
error: _apollo_client.ApolloError | undefined;
|
|
191
195
|
loading: boolean;
|
|
192
|
-
reportChatUser: (options?: _apollo_client.MutationFunctionOptions<
|
|
196
|
+
reportChatUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
197
|
+
reportChatUser: MutationResponse<ReportChatUser>;
|
|
198
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
199
|
+
reportChatUser: MutationResponse<ReportChatUser>;
|
|
200
|
+
}>>;
|
|
193
201
|
};
|
|
194
202
|
|
|
195
203
|
declare const useGetChat: (_id: string) => {
|
|
@@ -200,13 +208,21 @@ declare const useGetChat: (_id: string) => {
|
|
|
200
208
|
chat: ChatType;
|
|
201
209
|
}>>;
|
|
202
210
|
};
|
|
203
|
-
declare const
|
|
211
|
+
declare const useGetPrivateChats: () => {
|
|
212
|
+
error: _apollo_client.ApolloError | undefined;
|
|
213
|
+
loading: boolean;
|
|
214
|
+
privateChats: ChatType[];
|
|
215
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
216
|
+
privateChats: ChatType[];
|
|
217
|
+
}>>;
|
|
218
|
+
};
|
|
219
|
+
declare const useGetRelationChats: () => {
|
|
204
220
|
error: _apollo_client.ApolloError | undefined;
|
|
205
221
|
loading: boolean;
|
|
206
222
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
207
|
-
|
|
223
|
+
relationChats: ChatType[];
|
|
208
224
|
}>>;
|
|
209
|
-
|
|
225
|
+
relationChats: ChatType[];
|
|
210
226
|
};
|
|
211
227
|
declare const useGetChatSubscription: () => {
|
|
212
228
|
chat: ChatType | undefined;
|
|
@@ -231,13 +247,21 @@ declare const useGetReportedChatUsers: () => {
|
|
|
231
247
|
};
|
|
232
248
|
|
|
233
249
|
declare const useContactUs: () => {
|
|
234
|
-
contactUs: (options?: _apollo_client.MutationFunctionOptions<
|
|
250
|
+
contactUs: (options?: _apollo_client.MutationFunctionOptions<{
|
|
251
|
+
contactUs: MutationResponse<boolean>;
|
|
252
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
253
|
+
contactUs: MutationResponse<boolean>;
|
|
254
|
+
}>>;
|
|
235
255
|
error: _apollo_client.ApolloError | undefined;
|
|
236
256
|
loading: boolean;
|
|
237
257
|
};
|
|
238
258
|
|
|
239
259
|
declare const useCreateEvent: () => {
|
|
240
|
-
createEvent: (options?: _apollo_client.MutationFunctionOptions<
|
|
260
|
+
createEvent: (options?: _apollo_client.MutationFunctionOptions<{
|
|
261
|
+
createEvent: MutationResponse<EventType>;
|
|
262
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
263
|
+
createEvent: MutationResponse<EventType>;
|
|
264
|
+
}>>;
|
|
241
265
|
error: _apollo_client.ApolloError | undefined;
|
|
242
266
|
loading: boolean;
|
|
243
267
|
};
|
|
@@ -245,29 +269,29 @@ declare const useUpdateEvent: () => {
|
|
|
245
269
|
error: _apollo_client.ApolloError | undefined;
|
|
246
270
|
loading: boolean;
|
|
247
271
|
updateEvent: (options?: _apollo_client.MutationFunctionOptions<{
|
|
248
|
-
updateEvent:
|
|
249
|
-
_id: string;
|
|
250
|
-
};
|
|
272
|
+
updateEvent: MutationResponse<EventType>;
|
|
251
273
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
252
|
-
updateEvent:
|
|
253
|
-
_id: string;
|
|
254
|
-
};
|
|
274
|
+
updateEvent: MutationResponse<EventType>;
|
|
255
275
|
}>>;
|
|
256
276
|
};
|
|
257
277
|
declare const useDeleteEvent: () => {
|
|
258
|
-
deleteEvent: (options?: _apollo_client.MutationFunctionOptions<
|
|
278
|
+
deleteEvent: (options?: _apollo_client.MutationFunctionOptions<{
|
|
279
|
+
deleteEvent: MutationResponse<boolean>;
|
|
280
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
281
|
+
deleteEvent: MutationResponse<boolean>;
|
|
282
|
+
}>>;
|
|
259
283
|
error: _apollo_client.ApolloError | undefined;
|
|
260
284
|
loading: boolean;
|
|
261
285
|
};
|
|
262
286
|
declare const useCreateEventInfo: () => {
|
|
263
287
|
createEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
264
|
-
createEventInfo: {
|
|
288
|
+
createEventInfo: MutationResponse<{
|
|
265
289
|
eventId: string;
|
|
266
|
-
}
|
|
290
|
+
}>;
|
|
267
291
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
268
|
-
createEventInfo: {
|
|
292
|
+
createEventInfo: MutationResponse<{
|
|
269
293
|
eventId: string;
|
|
270
|
-
}
|
|
294
|
+
}>;
|
|
271
295
|
}>>;
|
|
272
296
|
error: _apollo_client.ApolloError | undefined;
|
|
273
297
|
loading: boolean;
|
|
@@ -276,13 +300,13 @@ declare const useUpdateEventInfo: () => {
|
|
|
276
300
|
error: _apollo_client.ApolloError | undefined;
|
|
277
301
|
loading: boolean;
|
|
278
302
|
updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
279
|
-
updateEventInfo: {
|
|
303
|
+
updateEventInfo: MutationResponse<{
|
|
280
304
|
eventId: string;
|
|
281
|
-
}
|
|
305
|
+
}>;
|
|
282
306
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
283
|
-
updateEventInfo: {
|
|
307
|
+
updateEventInfo: MutationResponse<{
|
|
284
308
|
eventId: string;
|
|
285
|
-
}
|
|
309
|
+
}>;
|
|
286
310
|
}>>;
|
|
287
311
|
};
|
|
288
312
|
|
|
@@ -360,27 +384,47 @@ declare const useGetEventInfo: (eventId: string) => {
|
|
|
360
384
|
};
|
|
361
385
|
|
|
362
386
|
declare const useCreateBulkNotifications: () => {
|
|
363
|
-
createBulkNotifications: (options?: _apollo_client.MutationFunctionOptions<
|
|
387
|
+
createBulkNotifications: (options?: _apollo_client.MutationFunctionOptions<{
|
|
388
|
+
createBulkNotifications: MutationResponse<boolean>;
|
|
389
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
390
|
+
createBulkNotifications: MutationResponse<boolean>;
|
|
391
|
+
}>>;
|
|
364
392
|
error: _apollo_client.ApolloError | undefined;
|
|
365
393
|
loading: boolean;
|
|
366
394
|
};
|
|
367
395
|
declare const useMarkNotificationRead: () => {
|
|
368
396
|
error: _apollo_client.ApolloError | undefined;
|
|
369
397
|
loading: boolean;
|
|
370
|
-
markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<
|
|
398
|
+
markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<{
|
|
399
|
+
markNotificationRead: MutationResponse<NotificationType>;
|
|
400
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
401
|
+
markNotificationRead: MutationResponse<NotificationType>;
|
|
402
|
+
}>>;
|
|
371
403
|
};
|
|
372
404
|
declare const useMarkAllNotificationsRead: () => {
|
|
373
405
|
error: _apollo_client.ApolloError | undefined;
|
|
374
406
|
loading: boolean;
|
|
375
|
-
markAllNotificationsRead: (options?: _apollo_client.MutationFunctionOptions<
|
|
407
|
+
markAllNotificationsRead: (options?: _apollo_client.MutationFunctionOptions<{
|
|
408
|
+
markAllNotificationsRead: MutationResponse<boolean>;
|
|
409
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
410
|
+
markAllNotificationsRead: MutationResponse<boolean>;
|
|
411
|
+
}>>;
|
|
376
412
|
};
|
|
377
413
|
declare const useDeleteNotification: () => {
|
|
378
|
-
deleteNotification: (options?: _apollo_client.MutationFunctionOptions<
|
|
414
|
+
deleteNotification: (options?: _apollo_client.MutationFunctionOptions<{
|
|
415
|
+
deleteNotification: MutationResponse<boolean>;
|
|
416
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
417
|
+
deleteNotification: MutationResponse<boolean>;
|
|
418
|
+
}>>;
|
|
379
419
|
error: _apollo_client.ApolloError | undefined;
|
|
380
420
|
loading: boolean;
|
|
381
421
|
};
|
|
382
422
|
declare const useDeleteAllNotifications: () => {
|
|
383
|
-
deleteAllNotifications: (options?: _apollo_client.MutationFunctionOptions<
|
|
423
|
+
deleteAllNotifications: (options?: _apollo_client.MutationFunctionOptions<{
|
|
424
|
+
deleteAllNotifications: MutationResponse<boolean>;
|
|
425
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
426
|
+
deleteAllNotifications: MutationResponse<boolean>;
|
|
427
|
+
}>>;
|
|
384
428
|
error: _apollo_client.ApolloError | undefined;
|
|
385
429
|
loading: boolean;
|
|
386
430
|
};
|
|
@@ -414,22 +458,38 @@ declare const useGetNotificationCountSubscription: () => {
|
|
|
414
458
|
};
|
|
415
459
|
|
|
416
460
|
declare const useCreatePoster: () => {
|
|
417
|
-
createPoster: (options?: _apollo_client.MutationFunctionOptions<
|
|
461
|
+
createPoster: (options?: _apollo_client.MutationFunctionOptions<{
|
|
462
|
+
createPoster: MutationResponse<{
|
|
463
|
+
posterUsage: PosterUsageType;
|
|
464
|
+
}>;
|
|
465
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
466
|
+
createPoster: MutationResponse<{
|
|
467
|
+
posterUsage: PosterUsageType;
|
|
468
|
+
}>;
|
|
469
|
+
}>>;
|
|
418
470
|
error: _apollo_client.ApolloError | undefined;
|
|
419
471
|
loading: boolean;
|
|
420
472
|
};
|
|
421
473
|
|
|
422
474
|
declare const useCreatePushToken: () => {
|
|
423
|
-
createPushToken: (options?: _apollo_client.MutationFunctionOptions<
|
|
475
|
+
createPushToken: (options?: _apollo_client.MutationFunctionOptions<{
|
|
476
|
+
createPushToken: MutationResponse<{
|
|
477
|
+
success: boolean;
|
|
478
|
+
}>;
|
|
479
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
480
|
+
createPushToken: MutationResponse<{
|
|
481
|
+
success: boolean;
|
|
482
|
+
}>;
|
|
483
|
+
}>>;
|
|
424
484
|
error: _apollo_client.ApolloError | undefined;
|
|
425
485
|
loading: boolean;
|
|
426
486
|
};
|
|
427
487
|
|
|
428
488
|
declare const useCreateRelation: () => {
|
|
429
489
|
createRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
430
|
-
createRelation: RelationType
|
|
490
|
+
createRelation: MutationResponse<RelationType>;
|
|
431
491
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
432
|
-
createRelation: RelationType
|
|
492
|
+
createRelation: MutationResponse<RelationType>;
|
|
433
493
|
}>>;
|
|
434
494
|
error: _apollo_client.ApolloError | undefined;
|
|
435
495
|
loading: boolean;
|
|
@@ -438,16 +498,16 @@ declare const useUpdateRelation: () => {
|
|
|
438
498
|
error: _apollo_client.ApolloError | undefined;
|
|
439
499
|
loading: boolean;
|
|
440
500
|
updateRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
441
|
-
updateRelation: RelationType
|
|
501
|
+
updateRelation: MutationResponse<RelationType>;
|
|
442
502
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
443
|
-
updateRelation: RelationType
|
|
503
|
+
updateRelation: MutationResponse<RelationType>;
|
|
444
504
|
}>>;
|
|
445
505
|
};
|
|
446
506
|
declare const useDeleteRelation: () => {
|
|
447
507
|
deleteRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
448
|
-
deleteRelation: RelationType
|
|
508
|
+
deleteRelation: MutationResponse<RelationType>;
|
|
449
509
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
450
|
-
deleteRelation: RelationType
|
|
510
|
+
deleteRelation: MutationResponse<RelationType>;
|
|
451
511
|
}>>;
|
|
452
512
|
error: _apollo_client.ApolloError | undefined;
|
|
453
513
|
loading: boolean;
|
|
@@ -495,29 +555,41 @@ declare const useGetResourceConnections: (resourceId: string, resourceType: Enum
|
|
|
495
555
|
};
|
|
496
556
|
|
|
497
557
|
declare const useCreateVendor: () => {
|
|
498
|
-
createVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
558
|
+
createVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
559
|
+
createVendor: MutationResponse<VendorType>;
|
|
560
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
561
|
+
createVendor: MutationResponse<VendorType>;
|
|
562
|
+
}>>;
|
|
499
563
|
error: _apollo_client.ApolloError | undefined;
|
|
500
564
|
loading: boolean;
|
|
501
565
|
};
|
|
502
566
|
declare const useUpdateVendor: () => {
|
|
503
567
|
error: _apollo_client.ApolloError | undefined;
|
|
504
568
|
loading: boolean;
|
|
505
|
-
updateVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
569
|
+
updateVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
570
|
+
updateVendor: MutationResponse<VendorType>;
|
|
571
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
572
|
+
updateVendor: MutationResponse<VendorType>;
|
|
573
|
+
}>>;
|
|
506
574
|
};
|
|
507
575
|
declare const useDeleteVendor: () => {
|
|
508
|
-
deleteVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
576
|
+
deleteVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
577
|
+
deleteVendor: MutationResponse<boolean>;
|
|
578
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
579
|
+
deleteVendor: MutationResponse<boolean>;
|
|
580
|
+
}>>;
|
|
509
581
|
error: _apollo_client.ApolloError | undefined;
|
|
510
582
|
loading: boolean;
|
|
511
583
|
};
|
|
512
584
|
declare const useCreateVendorInfo: () => {
|
|
513
585
|
createVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
514
|
-
createVendorInfo: {
|
|
586
|
+
createVendorInfo: MutationResponse<{
|
|
515
587
|
vendorId: string;
|
|
516
|
-
}
|
|
588
|
+
}>;
|
|
517
589
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
518
|
-
createVendorInfo: {
|
|
590
|
+
createVendorInfo: MutationResponse<{
|
|
519
591
|
vendorId: string;
|
|
520
|
-
}
|
|
592
|
+
}>;
|
|
521
593
|
}>>;
|
|
522
594
|
error: _apollo_client.ApolloError | undefined;
|
|
523
595
|
loading: boolean;
|
|
@@ -526,34 +598,50 @@ declare const useUpdateVendorInfo: () => {
|
|
|
526
598
|
error: _apollo_client.ApolloError | undefined;
|
|
527
599
|
loading: boolean;
|
|
528
600
|
updateVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
529
|
-
updateVendorInfo: {
|
|
601
|
+
updateVendorInfo: MutationResponse<{
|
|
530
602
|
vendorId: string;
|
|
531
|
-
}
|
|
603
|
+
}>;
|
|
532
604
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
533
|
-
updateVendorInfo: {
|
|
605
|
+
updateVendorInfo: MutationResponse<{
|
|
534
606
|
vendorId: string;
|
|
535
|
-
}
|
|
607
|
+
}>;
|
|
536
608
|
}>>;
|
|
537
609
|
};
|
|
538
610
|
declare const useCreateUnregisteredVendor: () => {
|
|
539
|
-
createUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
611
|
+
createUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
612
|
+
createUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
613
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
614
|
+
createUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
615
|
+
}>>;
|
|
540
616
|
error: _apollo_client.ApolloError | undefined;
|
|
541
617
|
loading: boolean;
|
|
542
618
|
};
|
|
543
619
|
declare const useUpdateUnregisteredVendor: () => {
|
|
544
620
|
error: _apollo_client.ApolloError | undefined;
|
|
545
621
|
loading: boolean;
|
|
546
|
-
updateUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
622
|
+
updateUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
623
|
+
updateUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
624
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
625
|
+
updateUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
|
|
626
|
+
}>>;
|
|
547
627
|
};
|
|
548
628
|
declare const useDeleteUnregisteredVendor: () => {
|
|
549
|
-
deleteUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<
|
|
629
|
+
deleteUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
|
|
630
|
+
deleteUnregisteredVendor: MutationResponse<boolean>;
|
|
631
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
632
|
+
deleteUnregisteredVendor: MutationResponse<boolean>;
|
|
633
|
+
}>>;
|
|
550
634
|
error: _apollo_client.ApolloError | undefined;
|
|
551
635
|
loading: boolean;
|
|
552
636
|
};
|
|
553
637
|
declare const useUnlinkUnregisteredVendorByInviterId: () => {
|
|
554
638
|
error: _apollo_client.ApolloError | undefined;
|
|
555
639
|
loading: boolean;
|
|
556
|
-
unlinkUnregisteredVendorByInviterId: (options?: _apollo_client.MutationFunctionOptions<
|
|
640
|
+
unlinkUnregisteredVendorByInviterId: (options?: _apollo_client.MutationFunctionOptions<{
|
|
641
|
+
unlinkUnregisteredVendorByInviterId: MutationResponse<boolean>;
|
|
642
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
643
|
+
unlinkUnregisteredVendorByInviterId: MutationResponse<boolean>;
|
|
644
|
+
}>>;
|
|
557
645
|
};
|
|
558
646
|
|
|
559
647
|
declare const useGetVendors: () => {
|
|
@@ -635,9 +723,9 @@ declare const useGetUnregisteredVendor: (_id: string) => {
|
|
|
635
723
|
|
|
636
724
|
declare const useCreateUser: () => {
|
|
637
725
|
createUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
638
|
-
createUser: SafeUserType
|
|
726
|
+
createUser: MutationResponse<SafeUserType>;
|
|
639
727
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
640
|
-
createUser: SafeUserType
|
|
728
|
+
createUser: MutationResponse<SafeUserType>;
|
|
641
729
|
}>>;
|
|
642
730
|
error: _apollo_client.ApolloError | undefined;
|
|
643
731
|
loading: boolean;
|
|
@@ -646,13 +734,17 @@ declare const useUpdateUser: () => {
|
|
|
646
734
|
error: _apollo_client.ApolloError | undefined;
|
|
647
735
|
loading: boolean;
|
|
648
736
|
updateUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
649
|
-
updateUser: SafeUserType
|
|
737
|
+
updateUser: MutationResponse<SafeUserType>;
|
|
650
738
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
651
|
-
updateUser: SafeUserType
|
|
739
|
+
updateUser: MutationResponse<SafeUserType>;
|
|
652
740
|
}>>;
|
|
653
741
|
};
|
|
654
742
|
declare const useDeleteUser: () => {
|
|
655
|
-
deleteUser: (options?: _apollo_client.MutationFunctionOptions<
|
|
743
|
+
deleteUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
744
|
+
deleteUser: MutationResponse<boolean>;
|
|
745
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
746
|
+
deleteUser: MutationResponse<boolean>;
|
|
747
|
+
}>>;
|
|
656
748
|
error: _apollo_client.ApolloError | undefined;
|
|
657
749
|
loading: boolean;
|
|
658
750
|
};
|
|
@@ -660,66 +752,96 @@ declare const useRedeemReward: () => {
|
|
|
660
752
|
error: _apollo_client.ApolloError | undefined;
|
|
661
753
|
loading: boolean;
|
|
662
754
|
redeemReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
663
|
-
redeemReward:
|
|
755
|
+
redeemReward: RedeemRewardMutationResponse;
|
|
664
756
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
665
|
-
redeemReward:
|
|
757
|
+
redeemReward: RedeemRewardMutationResponse;
|
|
666
758
|
}>>;
|
|
667
759
|
};
|
|
668
760
|
declare const useAddUserFavouriteResource: () => {
|
|
669
|
-
addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
761
|
+
addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
762
|
+
addUserFavouriteResource: MutationResponse<SafeUserType>;
|
|
763
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
764
|
+
addUserFavouriteResource: MutationResponse<SafeUserType>;
|
|
765
|
+
}>>;
|
|
670
766
|
error: _apollo_client.ApolloError | undefined;
|
|
671
767
|
loading: boolean;
|
|
672
768
|
};
|
|
673
769
|
declare const useRemoveUserFavouriteResource: () => {
|
|
674
770
|
error: _apollo_client.ApolloError | undefined;
|
|
675
771
|
loading: boolean;
|
|
676
|
-
removeUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
772
|
+
removeUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
773
|
+
removeUserFavouriteResource: MutationResponse<SafeUserType>;
|
|
774
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
775
|
+
removeUserFavouriteResource: MutationResponse<SafeUserType>;
|
|
776
|
+
}>>;
|
|
677
777
|
};
|
|
678
778
|
declare const useAddUserInterestResource: () => {
|
|
679
|
-
addUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
779
|
+
addUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
780
|
+
addUserInterestResource: MutationResponse<SafeUserType>;
|
|
781
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
782
|
+
addUserInterestResource: MutationResponse<SafeUserType>;
|
|
783
|
+
}>>;
|
|
680
784
|
error: _apollo_client.ApolloError | undefined;
|
|
681
785
|
loading: boolean;
|
|
682
786
|
};
|
|
683
787
|
declare const useRemoveUserInterestResource: () => {
|
|
684
788
|
error: _apollo_client.ApolloError | undefined;
|
|
685
789
|
loading: boolean;
|
|
686
|
-
removeUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
790
|
+
removeUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
791
|
+
removeUserInterestResource: MutationResponse<SafeUserType>;
|
|
792
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
793
|
+
removeUserInterestResource: MutationResponse<SafeUserType>;
|
|
794
|
+
}>>;
|
|
687
795
|
};
|
|
688
796
|
declare const useAddUserGoingResource: () => {
|
|
689
|
-
addUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
797
|
+
addUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
798
|
+
addUserGoingResource: MutationResponse<SafeUserType>;
|
|
799
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
800
|
+
addUserGoingResource: MutationResponse<SafeUserType>;
|
|
801
|
+
}>>;
|
|
690
802
|
error: _apollo_client.ApolloError | undefined;
|
|
691
803
|
loading: boolean;
|
|
692
804
|
};
|
|
693
805
|
declare const useRemoveUserGoingResource: () => {
|
|
694
806
|
error: _apollo_client.ApolloError | undefined;
|
|
695
807
|
loading: boolean;
|
|
696
|
-
removeUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
808
|
+
removeUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
809
|
+
removeUserGoingResource: MutationResponse<SafeUserType>;
|
|
810
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
811
|
+
removeUserGoingResource: MutationResponse<SafeUserType>;
|
|
812
|
+
}>>;
|
|
697
813
|
};
|
|
698
814
|
declare const useAddUserPresentResource: () => {
|
|
699
|
-
addUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
815
|
+
addUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
816
|
+
addUserPresentResource: MutationResponse<SafeUserType>;
|
|
817
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
818
|
+
addUserPresentResource: MutationResponse<SafeUserType>;
|
|
819
|
+
}>>;
|
|
700
820
|
error: _apollo_client.ApolloError | undefined;
|
|
701
821
|
loading: boolean;
|
|
702
822
|
};
|
|
703
823
|
declare const useRemoveUserPresentResource: () => {
|
|
704
824
|
error: _apollo_client.ApolloError | undefined;
|
|
705
825
|
loading: boolean;
|
|
706
|
-
removeUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<
|
|
826
|
+
removeUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<{
|
|
827
|
+
removeUserPresentResource: MutationResponse<SafeUserType>;
|
|
828
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
829
|
+
removeUserPresentResource: MutationResponse<SafeUserType>;
|
|
830
|
+
}>>;
|
|
707
831
|
};
|
|
708
832
|
declare const useSelectStandardPackage: () => {
|
|
709
833
|
error: _apollo_client.ApolloError | undefined;
|
|
710
834
|
loading: boolean;
|
|
711
835
|
selectStandardPackage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
712
|
-
selectStandardPackage: {
|
|
836
|
+
selectStandardPackage: MutationResponse<{
|
|
713
837
|
userId: string;
|
|
714
|
-
message: string;
|
|
715
838
|
licences: UserLicenceType[];
|
|
716
|
-
}
|
|
839
|
+
}>;
|
|
717
840
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
718
|
-
selectStandardPackage: {
|
|
841
|
+
selectStandardPackage: MutationResponse<{
|
|
719
842
|
userId: string;
|
|
720
|
-
message: string;
|
|
721
843
|
licences: UserLicenceType[];
|
|
722
|
-
}
|
|
844
|
+
}>;
|
|
723
845
|
}>>;
|
|
724
846
|
};
|
|
725
847
|
|
|
@@ -813,17 +935,29 @@ declare const useGetUserResources: (userId: string) => {
|
|
|
813
935
|
};
|
|
814
936
|
|
|
815
937
|
declare const useCreateAd: () => {
|
|
816
|
-
createAd: (options?: _apollo_client.MutationFunctionOptions<
|
|
938
|
+
createAd: (options?: _apollo_client.MutationFunctionOptions<{
|
|
939
|
+
createAd: MutationResponse<AdType>;
|
|
940
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
941
|
+
createAd: MutationResponse<AdType>;
|
|
942
|
+
}>>;
|
|
817
943
|
error: _apollo_client.ApolloError | undefined;
|
|
818
944
|
loading: boolean;
|
|
819
945
|
};
|
|
820
946
|
declare const useUpdateAd: () => {
|
|
821
947
|
error: _apollo_client.ApolloError | undefined;
|
|
822
948
|
loading: boolean;
|
|
823
|
-
updateAd: (options?: _apollo_client.MutationFunctionOptions<
|
|
949
|
+
updateAd: (options?: _apollo_client.MutationFunctionOptions<{
|
|
950
|
+
updateAd: MutationResponse<AdType>;
|
|
951
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
952
|
+
updateAd: MutationResponse<AdType>;
|
|
953
|
+
}>>;
|
|
824
954
|
};
|
|
825
955
|
declare const useDeleteAd: () => {
|
|
826
|
-
deleteAd: (options?: _apollo_client.MutationFunctionOptions<
|
|
956
|
+
deleteAd: (options?: _apollo_client.MutationFunctionOptions<{
|
|
957
|
+
deleteAd: MutationResponse<boolean>;
|
|
958
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
959
|
+
deleteAd: MutationResponse<boolean>;
|
|
960
|
+
}>>;
|
|
827
961
|
error: _apollo_client.ApolloError | undefined;
|
|
828
962
|
loading: boolean;
|
|
829
963
|
};
|
|
@@ -854,7 +988,11 @@ declare const useGetAdsByRegion: (region: string, status?: EnumAdStatus) => {
|
|
|
854
988
|
};
|
|
855
989
|
|
|
856
990
|
declare const useCreateResourceActivity: () => {
|
|
857
|
-
createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<
|
|
991
|
+
createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<{
|
|
992
|
+
createResourceActivity: MutationResponse<boolean>;
|
|
993
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
994
|
+
createResourceActivity: MutationResponse<boolean>;
|
|
995
|
+
}>>;
|
|
858
996
|
error: _apollo_client.ApolloError | undefined;
|
|
859
997
|
loading: boolean;
|
|
860
998
|
};
|
|
@@ -869,22 +1007,58 @@ declare const useGetResourceActivity: (resourceId: string, resourceType: EnumRes
|
|
|
869
1007
|
};
|
|
870
1008
|
|
|
871
1009
|
declare const useCreateCheckoutSession: () => {
|
|
872
|
-
createCheckoutSession: (options?: _apollo_client.MutationFunctionOptions<
|
|
1010
|
+
createCheckoutSession: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1011
|
+
createCheckoutSession: MutationResponse<{
|
|
1012
|
+
sessionId: string;
|
|
1013
|
+
checkoutUrl: string;
|
|
1014
|
+
}>;
|
|
1015
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1016
|
+
createCheckoutSession: MutationResponse<{
|
|
1017
|
+
sessionId: string;
|
|
1018
|
+
checkoutUrl: string;
|
|
1019
|
+
}>;
|
|
1020
|
+
}>>;
|
|
873
1021
|
error: _apollo_client.ApolloError | undefined;
|
|
874
1022
|
loading: boolean;
|
|
875
1023
|
};
|
|
876
1024
|
declare const useCancelSubscription: () => {
|
|
877
|
-
cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<
|
|
1025
|
+
cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1026
|
+
cancelSubscription: MutationResponse<string>;
|
|
1027
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1028
|
+
cancelSubscription: MutationResponse<string>;
|
|
1029
|
+
}>>;
|
|
878
1030
|
error: _apollo_client.ApolloError | undefined;
|
|
879
1031
|
loading: boolean;
|
|
880
1032
|
};
|
|
881
1033
|
declare const useUpdateSubscriptionPlan: () => {
|
|
882
1034
|
error: _apollo_client.ApolloError | undefined;
|
|
883
1035
|
loading: boolean;
|
|
884
|
-
updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<
|
|
1036
|
+
updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1037
|
+
updateSubscriptionPlan: MutationResponse<{
|
|
1038
|
+
subscriptionId: string;
|
|
1039
|
+
status: string;
|
|
1040
|
+
priceId: string;
|
|
1041
|
+
currentPlan: string;
|
|
1042
|
+
}>;
|
|
1043
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1044
|
+
updateSubscriptionPlan: MutationResponse<{
|
|
1045
|
+
subscriptionId: string;
|
|
1046
|
+
status: string;
|
|
1047
|
+
priceId: string;
|
|
1048
|
+
currentPlan: string;
|
|
1049
|
+
}>;
|
|
1050
|
+
}>>;
|
|
885
1051
|
};
|
|
886
1052
|
declare const useCreateCustomerPortal: () => {
|
|
887
|
-
createCustomerPortal: (options?: _apollo_client.MutationFunctionOptions<
|
|
1053
|
+
createCustomerPortal: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1054
|
+
createCustomerPortal: MutationResponse<{
|
|
1055
|
+
portalUrl: string;
|
|
1056
|
+
}>;
|
|
1057
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1058
|
+
createCustomerPortal: MutationResponse<{
|
|
1059
|
+
portalUrl: string;
|
|
1060
|
+
}>;
|
|
1061
|
+
}>>;
|
|
888
1062
|
error: _apollo_client.ApolloError | undefined;
|
|
889
1063
|
loading: boolean;
|
|
890
1064
|
};
|
|
@@ -892,19 +1066,17 @@ declare const useSelectPackage: () => {
|
|
|
892
1066
|
error: _apollo_client.ApolloError | undefined;
|
|
893
1067
|
loading: boolean;
|
|
894
1068
|
selectPackage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
895
|
-
selectPackage: {
|
|
1069
|
+
selectPackage: MutationResponse<{
|
|
896
1070
|
checkoutUrl?: string;
|
|
897
1071
|
userId: string;
|
|
898
|
-
message: string;
|
|
899
1072
|
licences: UserLicenceType[];
|
|
900
|
-
}
|
|
1073
|
+
}>;
|
|
901
1074
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
902
|
-
selectPackage: {
|
|
1075
|
+
selectPackage: MutationResponse<{
|
|
903
1076
|
checkoutUrl?: string;
|
|
904
1077
|
userId: string;
|
|
905
|
-
message: string;
|
|
906
1078
|
licences: UserLicenceType[];
|
|
907
|
-
}
|
|
1079
|
+
}>;
|
|
908
1080
|
}>>;
|
|
909
1081
|
};
|
|
910
1082
|
|
|
@@ -926,17 +1098,29 @@ declare const useGetSubscriptionPlans: () => {
|
|
|
926
1098
|
};
|
|
927
1099
|
|
|
928
1100
|
declare const useCreatePartner: () => {
|
|
929
|
-
createPartner: (options?: _apollo_client.MutationFunctionOptions<
|
|
1101
|
+
createPartner: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1102
|
+
createPartner: MutationResponse<PartnerType>;
|
|
1103
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1104
|
+
createPartner: MutationResponse<PartnerType>;
|
|
1105
|
+
}>>;
|
|
930
1106
|
error: _apollo_client.ApolloError | undefined;
|
|
931
1107
|
loading: boolean;
|
|
932
1108
|
};
|
|
933
1109
|
declare const useUpdatePartner: () => {
|
|
934
1110
|
error: _apollo_client.ApolloError | undefined;
|
|
935
1111
|
loading: boolean;
|
|
936
|
-
updatePartner: (options?: _apollo_client.MutationFunctionOptions<
|
|
1112
|
+
updatePartner: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1113
|
+
updatePartner: MutationResponse<PartnerType>;
|
|
1114
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1115
|
+
updatePartner: MutationResponse<PartnerType>;
|
|
1116
|
+
}>>;
|
|
937
1117
|
};
|
|
938
1118
|
declare const useDeletePartner: () => {
|
|
939
|
-
deletePartner: (options?: _apollo_client.MutationFunctionOptions<
|
|
1119
|
+
deletePartner: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1120
|
+
deletePartner: MutationResponse<boolean>;
|
|
1121
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1122
|
+
deletePartner: MutationResponse<boolean>;
|
|
1123
|
+
}>>;
|
|
940
1124
|
error: _apollo_client.ApolloError | undefined;
|
|
941
1125
|
loading: boolean;
|
|
942
1126
|
};
|
|
@@ -987,17 +1171,29 @@ declare const useSearchPartners: (search: string, region: string) => {
|
|
|
987
1171
|
};
|
|
988
1172
|
|
|
989
1173
|
declare const useCreatePost: () => {
|
|
990
|
-
createPost: (options?: _apollo_client.MutationFunctionOptions<
|
|
1174
|
+
createPost: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1175
|
+
createPost: MutationResponse<PostType>;
|
|
1176
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1177
|
+
createPost: MutationResponse<PostType>;
|
|
1178
|
+
}>>;
|
|
991
1179
|
error: _apollo_client.ApolloError | undefined;
|
|
992
1180
|
loading: boolean;
|
|
993
1181
|
};
|
|
994
1182
|
declare const useUpdatePost: () => {
|
|
995
1183
|
error: _apollo_client.ApolloError | undefined;
|
|
996
1184
|
loading: boolean;
|
|
997
|
-
updatePost: (options?: _apollo_client.MutationFunctionOptions<
|
|
1185
|
+
updatePost: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1186
|
+
updatePost: MutationResponse<PostType>;
|
|
1187
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1188
|
+
updatePost: MutationResponse<PostType>;
|
|
1189
|
+
}>>;
|
|
998
1190
|
};
|
|
999
1191
|
declare const useDeletePost: () => {
|
|
1000
|
-
deletePost: (options?: _apollo_client.MutationFunctionOptions<
|
|
1192
|
+
deletePost: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1193
|
+
deletePost: MutationResponse<boolean>;
|
|
1194
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1195
|
+
deletePost: MutationResponse<boolean>;
|
|
1196
|
+
}>>;
|
|
1001
1197
|
error: _apollo_client.ApolloError | undefined;
|
|
1002
1198
|
loading: boolean;
|
|
1003
1199
|
};
|
|
@@ -1030,17 +1226,17 @@ declare const useGetPostsByType: (postType: EnumPostType) => {
|
|
|
1030
1226
|
declare const useUpdateAppSettings: () => {
|
|
1031
1227
|
error: _apollo_client.ApolloError | undefined;
|
|
1032
1228
|
loading: boolean;
|
|
1033
|
-
updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<
|
|
1229
|
+
updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1230
|
+
updateAppSettings: MutationResponse<boolean>;
|
|
1231
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1232
|
+
updateAppSettings: MutationResponse<boolean>;
|
|
1233
|
+
}>>;
|
|
1034
1234
|
};
|
|
1035
1235
|
declare const useCrawlGoogleMarkets: () => {
|
|
1036
1236
|
crawlGoogleMarkets: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1037
|
-
crawlGoogleMarkets:
|
|
1038
|
-
message: string;
|
|
1039
|
-
};
|
|
1237
|
+
crawlGoogleMarkets: MutationResponse<boolean>;
|
|
1040
1238
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1041
|
-
crawlGoogleMarkets:
|
|
1042
|
-
message: string;
|
|
1043
|
-
};
|
|
1239
|
+
crawlGoogleMarkets: MutationResponse<boolean>;
|
|
1044
1240
|
}>>;
|
|
1045
1241
|
error: _apollo_client.ApolloError | undefined;
|
|
1046
1242
|
loading: boolean;
|
|
@@ -1049,13 +1245,9 @@ declare const useUpdateGoogleImportedMarkets: () => {
|
|
|
1049
1245
|
error: _apollo_client.ApolloError | undefined;
|
|
1050
1246
|
loading: boolean;
|
|
1051
1247
|
updateGoogleImportedMarkets: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1052
|
-
updateGoogleImportedMarkets:
|
|
1053
|
-
message: string;
|
|
1054
|
-
};
|
|
1248
|
+
updateGoogleImportedMarkets: MutationResponse<boolean>;
|
|
1055
1249
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1056
|
-
updateGoogleImportedMarkets:
|
|
1057
|
-
message: string;
|
|
1058
|
-
};
|
|
1250
|
+
updateGoogleImportedMarkets: MutationResponse<boolean>;
|
|
1059
1251
|
}>>;
|
|
1060
1252
|
};
|
|
1061
1253
|
|
|
@@ -1072,32 +1264,36 @@ declare const useStartGame: () => {
|
|
|
1072
1264
|
error: _apollo_client.ApolloError | undefined;
|
|
1073
1265
|
loading: boolean;
|
|
1074
1266
|
startGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1075
|
-
startGame: GameDocType
|
|
1267
|
+
startGame: MutationResponse<GameDocType>;
|
|
1076
1268
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1077
|
-
startGame: GameDocType
|
|
1269
|
+
startGame: MutationResponse<GameDocType>;
|
|
1078
1270
|
}>>;
|
|
1079
1271
|
};
|
|
1080
1272
|
declare const useLeaveGame: () => {
|
|
1081
1273
|
error: _apollo_client.ApolloError | undefined;
|
|
1082
|
-
leaveGame: (options?: _apollo_client.MutationFunctionOptions<
|
|
1274
|
+
leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1275
|
+
leaveGame: MutationResponse<boolean>;
|
|
1276
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1277
|
+
leaveGame: MutationResponse<boolean>;
|
|
1278
|
+
}>>;
|
|
1083
1279
|
loading: boolean;
|
|
1084
1280
|
};
|
|
1085
1281
|
declare const useUpdateDailyClueGame: () => {
|
|
1086
1282
|
error: _apollo_client.ApolloError | undefined;
|
|
1087
1283
|
loading: boolean;
|
|
1088
1284
|
updateDailyClueGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1089
|
-
updateDailyClueGame: GameDocType
|
|
1285
|
+
updateDailyClueGame: MutationResponse<GameDocType>;
|
|
1090
1286
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1091
|
-
updateDailyClueGame: GameDocType
|
|
1287
|
+
updateDailyClueGame: MutationResponse<GameDocType>;
|
|
1092
1288
|
}>>;
|
|
1093
1289
|
};
|
|
1094
1290
|
declare const useUpdatePuzzleGame: () => {
|
|
1095
1291
|
error: _apollo_client.ApolloError | undefined;
|
|
1096
1292
|
loading: boolean;
|
|
1097
1293
|
updatePuzzleGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1098
|
-
updatePuzzleGame: GameDocType
|
|
1294
|
+
updatePuzzleGame: MutationResponse<GameDocType>;
|
|
1099
1295
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1100
|
-
updatePuzzleGame: GameDocType
|
|
1296
|
+
updatePuzzleGame: MutationResponse<GameDocType>;
|
|
1101
1297
|
}>>;
|
|
1102
1298
|
};
|
|
1103
1299
|
|
|
@@ -1127,24 +1323,40 @@ declare const useGetGameLeaderboard: () => {
|
|
|
1127
1323
|
};
|
|
1128
1324
|
|
|
1129
1325
|
declare const useCreateSchool: () => {
|
|
1130
|
-
createSchool: (options?: _apollo_client.MutationFunctionOptions<
|
|
1326
|
+
createSchool: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1327
|
+
createSchool: MutationResponse<SchoolType>;
|
|
1328
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1329
|
+
createSchool: MutationResponse<SchoolType>;
|
|
1330
|
+
}>>;
|
|
1131
1331
|
error: _apollo_client.ApolloError | undefined;
|
|
1132
1332
|
loading: boolean;
|
|
1133
1333
|
};
|
|
1134
1334
|
declare const useUpdateSchool: () => {
|
|
1135
1335
|
error: _apollo_client.ApolloError | undefined;
|
|
1136
1336
|
loading: boolean;
|
|
1137
|
-
updateSchool: (options?: _apollo_client.MutationFunctionOptions<
|
|
1337
|
+
updateSchool: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1338
|
+
updateSchool: MutationResponse<SchoolType>;
|
|
1339
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1340
|
+
updateSchool: MutationResponse<SchoolType>;
|
|
1341
|
+
}>>;
|
|
1138
1342
|
};
|
|
1139
1343
|
declare const useDeleteSchool: () => {
|
|
1140
|
-
deleteSchool: (options?: _apollo_client.MutationFunctionOptions<
|
|
1344
|
+
deleteSchool: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1345
|
+
deleteSchool: MutationResponse<boolean>;
|
|
1346
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1347
|
+
deleteSchool: MutationResponse<boolean>;
|
|
1348
|
+
}>>;
|
|
1141
1349
|
error: _apollo_client.ApolloError | undefined;
|
|
1142
1350
|
loading: boolean;
|
|
1143
1351
|
};
|
|
1144
1352
|
declare const useRequestMarketingMaterial: () => {
|
|
1145
1353
|
error: _apollo_client.ApolloError | undefined;
|
|
1146
1354
|
loading: boolean;
|
|
1147
|
-
requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<
|
|
1355
|
+
requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1356
|
+
requestMarketingMaterial: MutationResponse<boolean>;
|
|
1357
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1358
|
+
requestMarketingMaterial: MutationResponse<boolean>;
|
|
1359
|
+
}>>;
|
|
1148
1360
|
};
|
|
1149
1361
|
|
|
1150
1362
|
declare const useGetSchools: () => {
|
|
@@ -1181,4 +1393,50 @@ declare const useGetAffiliates: () => {
|
|
|
1181
1393
|
}>>;
|
|
1182
1394
|
};
|
|
1183
1395
|
|
|
1184
|
-
|
|
1396
|
+
declare const useUpdateAffiliateDetails: () => {
|
|
1397
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1398
|
+
loading: boolean;
|
|
1399
|
+
updateAffiliateDetails: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1400
|
+
updateAffiliateDetails: MutationResponse<AffiliateType>;
|
|
1401
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1402
|
+
updateAffiliateDetails: MutationResponse<AffiliateType>;
|
|
1403
|
+
}>>;
|
|
1404
|
+
};
|
|
1405
|
+
declare const useDeleteAffiliate: () => {
|
|
1406
|
+
deleteAffiliate: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1407
|
+
deleteAffiliate: MutationResponse<boolean>;
|
|
1408
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1409
|
+
deleteAffiliate: MutationResponse<boolean>;
|
|
1410
|
+
}>>;
|
|
1411
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1412
|
+
loading: boolean;
|
|
1413
|
+
};
|
|
1414
|
+
declare const useRedeemAffiliateReward: () => {
|
|
1415
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1416
|
+
loading: boolean;
|
|
1417
|
+
redeemAffiliateReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1418
|
+
redeemAffiliateReward: MutationResponse<AffiliateType>;
|
|
1419
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1420
|
+
redeemAffiliateReward: MutationResponse<AffiliateType>;
|
|
1421
|
+
}>>;
|
|
1422
|
+
};
|
|
1423
|
+
declare const useAssignAffiliateResourceReward: () => {
|
|
1424
|
+
assignAffiliateResourceReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1425
|
+
assignAffiliateResourceReward: MutationResponse<AffiliateType>;
|
|
1426
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1427
|
+
assignAffiliateResourceReward: MutationResponse<AffiliateType>;
|
|
1428
|
+
}>>;
|
|
1429
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1430
|
+
loading: boolean;
|
|
1431
|
+
};
|
|
1432
|
+
declare const useAssignAffiliateBonusReward: () => {
|
|
1433
|
+
assignAffiliateBonusReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1434
|
+
assignAffiliateBonusReward: MutationResponse<AffiliateType>;
|
|
1435
|
+
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1436
|
+
assignAffiliateBonusReward: MutationResponse<AffiliateType>;
|
|
1437
|
+
}>>;
|
|
1438
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1439
|
+
loading: boolean;
|
|
1440
|
+
};
|
|
1441
|
+
|
|
1442
|
+
export { GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, toGraphqlQueryString, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|