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