@timardex/cluemart-shared 1.7.91 → 2.0.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-DzAxJcWT.d.ts → ad-C7jlZyUd.d.ts} +2 -2
- package/dist/{ad-DjHlreUH.d.mts → ad-tNoTBv3n.d.mts} +2 -2
- package/dist/{affiliate-BpjRWPUA.d.mts → affiliate-BL1ZN-4t.d.mts} +2 -2
- package/dist/{affiliate-BVLyYY70.d.ts → affiliate-DStyY84o.d.ts} +2 -2
- package/dist/auth/index.cjs +11 -8
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/auth/index.mjs +1 -1
- package/dist/chunk-7DQBUZXY.mjs +41 -0
- package/dist/chunk-7DQBUZXY.mjs.map +1 -0
- package/dist/{chunk-STNE7PMX.mjs → chunk-JJQL6LZE.mjs} +1 -1
- package/dist/chunk-JJQL6LZE.mjs.map +1 -0
- package/dist/{chunk-3ZPHXVUT.mjs → chunk-L3SNS6OJ.mjs} +2 -2
- package/dist/{chunk-PSKWWPLY.mjs → chunk-OUWKLNHZ.mjs} +14 -23
- package/dist/chunk-OUWKLNHZ.mjs.map +1 -0
- package/dist/{chunk-ZW4M5EGZ.mjs → chunk-XPUYQ7GB.mjs} +115 -71
- package/dist/chunk-XPUYQ7GB.mjs.map +1 -0
- package/dist/{contactUs-TEAbhwp9.d.mts → contactUs-BYm-iDIH.d.mts} +1 -1
- package/dist/{contactUs-Dm-0Qua3.d.ts → contactUs-_BHRXUrv.d.ts} +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +3 -2
- package/dist/{global-CDYmiqmd.d.mts → global-C7-KDYqg.d.mts} +6 -3
- package/dist/{global-DTXnm4Ok.d.ts → global-D_et_d2Y.d.ts} +6 -3
- package/dist/graphql/index.cjs +347 -275
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +54 -55
- package/dist/graphql/index.d.ts +54 -55
- package/dist/graphql/index.mjs +17 -14
- package/dist/hooks/index.cjs +191 -184
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +5 -5
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.mjs +5 -4
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +356 -275
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +70 -52
- package/dist/index.d.ts +70 -52
- package/dist/index.mjs +315 -239
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.d.mts +1 -1
- package/dist/map/index.d.ts +1 -1
- package/dist/{resourceActivities-BDp-h5yH.d.mts → resourceActivities-BvejCLh9.d.mts} +1 -1
- package/dist/{resourceActivities-C14qOL7_.d.ts → resourceActivities-Smsl03Je.d.ts} +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.mjs +1 -1
- package/dist/{user-DCpVFB6K.d.mts → user-BA7TT2yB.d.mts} +1 -1
- package/dist/{user-C1yYa8oa.d.ts → user-nHjaLZoG.d.ts} +1 -1
- package/dist/utils/index.cjs +42 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +20 -4
- package/dist/utils/index.d.ts +20 -4
- package/dist/utils/index.mjs +12 -2
- package/package.json +4 -1
- package/dist/chunk-PSKWWPLY.mjs.map +0 -1
- package/dist/chunk-STNE7PMX.mjs.map +0 -1
- package/dist/chunk-ZW4M5EGZ.mjs.map +0 -1
- /package/dist/{chunk-3ZPHXVUT.mjs.map → chunk-L3SNS6OJ.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,28 +1,36 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
|
+
import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
|
|
2
3
|
import { DocumentNode } from 'graphql';
|
|
3
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType,
|
|
5
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-
|
|
4
|
+
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-BvejCLh9.mjs';
|
|
5
|
+
import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-C7-KDYqg.mjs';
|
|
6
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-tNoTBv3n.mjs';
|
|
6
7
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
7
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-
|
|
8
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-BA7TT2yB.mjs';
|
|
8
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
|
|
9
|
-
import { A as AffiliateType } from '../affiliate-
|
|
10
|
+
import { A as AffiliateType } from '../affiliate-BL1ZN-4t.mjs';
|
|
10
11
|
import 'react-hook-form';
|
|
11
12
|
import '../images/index.mjs';
|
|
12
13
|
|
|
14
|
+
declare const GET_EVENTS: _apollo_client.DocumentNode;
|
|
13
15
|
declare const GET_EVENT: _apollo_client.DocumentNode;
|
|
14
16
|
declare const GET_OWNED_EVENT: _apollo_client.DocumentNode;
|
|
15
17
|
declare const GET_EVENT_INFO: _apollo_client.DocumentNode;
|
|
16
18
|
|
|
19
|
+
declare const GET_VENDORS: _apollo_client.DocumentNode;
|
|
17
20
|
declare const GET_VENDOR: _apollo_client.DocumentNode;
|
|
18
21
|
declare const GET_VENDOR_INFO: _apollo_client.DocumentNode;
|
|
19
22
|
declare const MY_PENDING_VENDOR_CLAIM: _apollo_client.DocumentNode;
|
|
20
23
|
|
|
21
24
|
declare const ACTIVATE_VENDOR_CLAIM_MUTATION: _apollo_client.DocumentNode;
|
|
22
25
|
|
|
26
|
+
declare const GET_PARTNERS: _apollo_client.DocumentNode;
|
|
23
27
|
declare const GET_PARTNER: _apollo_client.DocumentNode;
|
|
24
28
|
|
|
29
|
+
declare const GET_POSTS: _apollo_client.DocumentNode;
|
|
25
30
|
declare const GET_POST: _apollo_client.DocumentNode;
|
|
31
|
+
declare const GET_POSTS_BY_TYPE: _apollo_client.DocumentNode;
|
|
32
|
+
|
|
33
|
+
declare const GET_USERS: _apollo_client.DocumentNode;
|
|
26
34
|
|
|
27
35
|
declare const GET_EVENT_BY_SLUG: _apollo_client.DocumentNode;
|
|
28
36
|
declare const GET_VENDOR_BY_SLUG: _apollo_client.DocumentNode;
|
|
@@ -315,14 +323,6 @@ declare const useUpdateEventInfo: () => {
|
|
|
315
323
|
}>>;
|
|
316
324
|
};
|
|
317
325
|
|
|
318
|
-
declare const useGetEvents: (dateStatus?: EnumEventDateStatus) => {
|
|
319
|
-
error: _apollo_client.ApolloError | undefined;
|
|
320
|
-
events: EventListItemType[];
|
|
321
|
-
loading: boolean;
|
|
322
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
323
|
-
events: EventListItemType[];
|
|
324
|
-
}>>;
|
|
325
|
-
};
|
|
326
326
|
declare const useGetEvent: (_id: string) => {
|
|
327
327
|
error: _apollo_client.ApolloError | undefined;
|
|
328
328
|
event: EventType | null;
|
|
@@ -367,7 +367,7 @@ declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesBy
|
|
|
367
367
|
eventsByRegion: EventListItemType[];
|
|
368
368
|
}>>;
|
|
369
369
|
};
|
|
370
|
-
declare const useSearchEvents: (
|
|
370
|
+
declare const useSearchEvents: (search: string, region: string, tags?: string[], dateStatus?: EnumEventDateStatus) => {
|
|
371
371
|
error: _apollo_client.ApolloError | undefined;
|
|
372
372
|
eventsSearch: EventListItemType[];
|
|
373
373
|
loading: boolean;
|
|
@@ -666,14 +666,6 @@ declare const useActivateVendorClaim: () => {
|
|
|
666
666
|
loading: boolean;
|
|
667
667
|
};
|
|
668
668
|
|
|
669
|
-
declare const useGetVendors: () => {
|
|
670
|
-
error: _apollo_client.ApolloError | undefined;
|
|
671
|
-
loading: boolean;
|
|
672
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
673
|
-
vendors: VendorType[];
|
|
674
|
-
}>>;
|
|
675
|
-
vendors: VendorType[];
|
|
676
|
-
};
|
|
677
669
|
declare const useGetVendor: (_id: string) => {
|
|
678
670
|
error: _apollo_client.ApolloError | undefined;
|
|
679
671
|
loading: boolean;
|
|
@@ -875,14 +867,6 @@ declare const useSelectStandardPackage: () => {
|
|
|
875
867
|
}>>;
|
|
876
868
|
};
|
|
877
869
|
|
|
878
|
-
declare const useGetUsers: () => {
|
|
879
|
-
error: _apollo_client.ApolloError | undefined;
|
|
880
|
-
loading: boolean;
|
|
881
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
882
|
-
users: SafeUserType[];
|
|
883
|
-
}>>;
|
|
884
|
-
users: SafeUserType[];
|
|
885
|
-
};
|
|
886
870
|
declare const useGetUser: (_id: string) => {
|
|
887
871
|
error: _apollo_client.ApolloError | undefined;
|
|
888
872
|
loading: boolean;
|
|
@@ -1139,14 +1123,6 @@ declare const useDeletePartner: () => {
|
|
|
1139
1123
|
loading: boolean;
|
|
1140
1124
|
};
|
|
1141
1125
|
|
|
1142
|
-
declare const useGetPartners: () => {
|
|
1143
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1144
|
-
loading: boolean;
|
|
1145
|
-
partners: PartnerType[];
|
|
1146
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1147
|
-
partners: PartnerType[];
|
|
1148
|
-
}>>;
|
|
1149
|
-
};
|
|
1150
1126
|
declare const useGetPartner: (_id: string) => {
|
|
1151
1127
|
error: _apollo_client.ApolloError | undefined;
|
|
1152
1128
|
loading: boolean;
|
|
@@ -1212,14 +1188,6 @@ declare const useDeletePost: () => {
|
|
|
1212
1188
|
loading: boolean;
|
|
1213
1189
|
};
|
|
1214
1190
|
|
|
1215
|
-
declare const useGetPosts: () => {
|
|
1216
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1217
|
-
loading: boolean;
|
|
1218
|
-
posts: PostType[];
|
|
1219
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1220
|
-
posts: PostType[];
|
|
1221
|
-
}>>;
|
|
1222
|
-
};
|
|
1223
1191
|
declare const useGetPost: (_id: string) => {
|
|
1224
1192
|
error: _apollo_client.ApolloError | undefined;
|
|
1225
1193
|
loading: boolean;
|
|
@@ -1228,14 +1196,6 @@ declare const useGetPost: (_id: string) => {
|
|
|
1228
1196
|
post: PostType;
|
|
1229
1197
|
}>>;
|
|
1230
1198
|
};
|
|
1231
|
-
declare const useGetPostsByType: (postType: EnumPostType) => {
|
|
1232
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1233
|
-
loading: boolean;
|
|
1234
|
-
postsByType: PostType[];
|
|
1235
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1236
|
-
postsByType: PostType[];
|
|
1237
|
-
}>>;
|
|
1238
|
-
};
|
|
1239
1199
|
|
|
1240
1200
|
declare const useUpdateAppSettings: () => {
|
|
1241
1201
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -1563,4 +1523,43 @@ declare const useGetCoupon: (_id: string) => {
|
|
|
1563
1523
|
}>>;
|
|
1564
1524
|
};
|
|
1565
1525
|
|
|
1566
|
-
|
|
1526
|
+
interface UsePaginatedListArgs<TData, TItem> {
|
|
1527
|
+
/** GraphQL query document (must accept `options: PaginationOptions`). */
|
|
1528
|
+
document: DocumentNode$1;
|
|
1529
|
+
/** Extract the page's items from the query result. */
|
|
1530
|
+
getItems: (data: TData | undefined) => TItem[];
|
|
1531
|
+
/** Extra (non-pagination) query variables, e.g. `{ postType }`. */
|
|
1532
|
+
variables?: Record<string, unknown>;
|
|
1533
|
+
/** Skip the query entirely (e.g. when a required variable is empty). */
|
|
1534
|
+
skip?: boolean;
|
|
1535
|
+
pageSize?: number;
|
|
1536
|
+
/** Override the identity key (defaults to `_id`). */
|
|
1537
|
+
getId?: (item: TItem) => string;
|
|
1538
|
+
}
|
|
1539
|
+
interface UsePaginatedListResult<TItem> {
|
|
1540
|
+
/** Accumulated, de-duplicated items across all loaded pages. */
|
|
1541
|
+
items: TItem[];
|
|
1542
|
+
/** True while a full page has been loaded and another page may exist. */
|
|
1543
|
+
hasMore: boolean;
|
|
1544
|
+
/** True during the very first page load. */
|
|
1545
|
+
loading: boolean;
|
|
1546
|
+
/** True while a subsequent page is loading (not the first). */
|
|
1547
|
+
loadingMore: boolean;
|
|
1548
|
+
error: ApolloError | undefined;
|
|
1549
|
+
/** Loads the next page (or retries the current page when errored). */
|
|
1550
|
+
loadMore: () => void;
|
|
1551
|
+
/** Resets pagination and re-fetches page 0. */
|
|
1552
|
+
refresh: () => Promise<unknown>;
|
|
1553
|
+
}
|
|
1554
|
+
/**
|
|
1555
|
+
* Offset-based "Load more" pagination, generalizing the affiliate users pattern.
|
|
1556
|
+
*
|
|
1557
|
+
* The hook owns the offset and accumulation; the caller supplies a GraphQL
|
|
1558
|
+
* document plus an accessor for extracting items from that resource's response
|
|
1559
|
+
* shape (each field has a different data key and item type). `hasMore` is
|
|
1560
|
+
* derived from a one-row probe (`pageSize + 1` fetch) and is frozen while a page
|
|
1561
|
+
* is in flight, so it reaches `false` without flickering away mid-load.
|
|
1562
|
+
*/
|
|
1563
|
+
declare function usePaginatedList<TData, TItem>({ document, getItems, variables, skip, pageSize, getId, }: UsePaginatedListArgs<TData, TItem>): UsePaginatedListResult<TItem>;
|
|
1564
|
+
|
|
1565
|
+
export { ACTIVATE_VENDOR_CLAIM_MUTATION, GET_EVENT, GET_EVENTS, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_OWNED_EVENT, GET_PARTNER, GET_PARTNERS, GET_PARTNER_BY_SLUG, GET_POST, GET_POSTS, GET_POSTS_BY_TYPE, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_USERS, GET_VENDOR, GET_VENDORS, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GetCouponsVariables, MY_PENDING_VENDOR_CLAIM, type UsePaginatedListArgs, type UsePaginatedListResult, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateAffiliate, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCoupon, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteCoupon, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetBillingCatalog, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetOwnedEvent, useGetPartner, useGetPartnersByRegion, useGetPost, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsersByPromoCode, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, usePaginatedList, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectStandardPackage, useSendChatMessage, useStartGame, useSyncBillingCatalogPrice, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateBillingCatalogPrice, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,28 +1,36 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
|
+
import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
|
|
2
3
|
import { DocumentNode } from 'graphql';
|
|
3
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType,
|
|
5
|
-
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-
|
|
4
|
+
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-Smsl03Je.js';
|
|
5
|
+
import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-D_et_d2Y.js';
|
|
6
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-C7jlZyUd.js';
|
|
6
7
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
|
|
7
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-
|
|
8
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-nHjaLZoG.js';
|
|
8
9
|
import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
|
|
9
|
-
import { A as AffiliateType } from '../affiliate-
|
|
10
|
+
import { A as AffiliateType } from '../affiliate-DStyY84o.js';
|
|
10
11
|
import 'react-hook-form';
|
|
11
12
|
import '../images/index.js';
|
|
12
13
|
|
|
14
|
+
declare const GET_EVENTS: _apollo_client.DocumentNode;
|
|
13
15
|
declare const GET_EVENT: _apollo_client.DocumentNode;
|
|
14
16
|
declare const GET_OWNED_EVENT: _apollo_client.DocumentNode;
|
|
15
17
|
declare const GET_EVENT_INFO: _apollo_client.DocumentNode;
|
|
16
18
|
|
|
19
|
+
declare const GET_VENDORS: _apollo_client.DocumentNode;
|
|
17
20
|
declare const GET_VENDOR: _apollo_client.DocumentNode;
|
|
18
21
|
declare const GET_VENDOR_INFO: _apollo_client.DocumentNode;
|
|
19
22
|
declare const MY_PENDING_VENDOR_CLAIM: _apollo_client.DocumentNode;
|
|
20
23
|
|
|
21
24
|
declare const ACTIVATE_VENDOR_CLAIM_MUTATION: _apollo_client.DocumentNode;
|
|
22
25
|
|
|
26
|
+
declare const GET_PARTNERS: _apollo_client.DocumentNode;
|
|
23
27
|
declare const GET_PARTNER: _apollo_client.DocumentNode;
|
|
24
28
|
|
|
29
|
+
declare const GET_POSTS: _apollo_client.DocumentNode;
|
|
25
30
|
declare const GET_POST: _apollo_client.DocumentNode;
|
|
31
|
+
declare const GET_POSTS_BY_TYPE: _apollo_client.DocumentNode;
|
|
32
|
+
|
|
33
|
+
declare const GET_USERS: _apollo_client.DocumentNode;
|
|
26
34
|
|
|
27
35
|
declare const GET_EVENT_BY_SLUG: _apollo_client.DocumentNode;
|
|
28
36
|
declare const GET_VENDOR_BY_SLUG: _apollo_client.DocumentNode;
|
|
@@ -315,14 +323,6 @@ declare const useUpdateEventInfo: () => {
|
|
|
315
323
|
}>>;
|
|
316
324
|
};
|
|
317
325
|
|
|
318
|
-
declare const useGetEvents: (dateStatus?: EnumEventDateStatus) => {
|
|
319
|
-
error: _apollo_client.ApolloError | undefined;
|
|
320
|
-
events: EventListItemType[];
|
|
321
|
-
loading: boolean;
|
|
322
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
323
|
-
events: EventListItemType[];
|
|
324
|
-
}>>;
|
|
325
|
-
};
|
|
326
326
|
declare const useGetEvent: (_id: string) => {
|
|
327
327
|
error: _apollo_client.ApolloError | undefined;
|
|
328
328
|
event: EventType | null;
|
|
@@ -367,7 +367,7 @@ declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesBy
|
|
|
367
367
|
eventsByRegion: EventListItemType[];
|
|
368
368
|
}>>;
|
|
369
369
|
};
|
|
370
|
-
declare const useSearchEvents: (
|
|
370
|
+
declare const useSearchEvents: (search: string, region: string, tags?: string[], dateStatus?: EnumEventDateStatus) => {
|
|
371
371
|
error: _apollo_client.ApolloError | undefined;
|
|
372
372
|
eventsSearch: EventListItemType[];
|
|
373
373
|
loading: boolean;
|
|
@@ -666,14 +666,6 @@ declare const useActivateVendorClaim: () => {
|
|
|
666
666
|
loading: boolean;
|
|
667
667
|
};
|
|
668
668
|
|
|
669
|
-
declare const useGetVendors: () => {
|
|
670
|
-
error: _apollo_client.ApolloError | undefined;
|
|
671
|
-
loading: boolean;
|
|
672
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
673
|
-
vendors: VendorType[];
|
|
674
|
-
}>>;
|
|
675
|
-
vendors: VendorType[];
|
|
676
|
-
};
|
|
677
669
|
declare const useGetVendor: (_id: string) => {
|
|
678
670
|
error: _apollo_client.ApolloError | undefined;
|
|
679
671
|
loading: boolean;
|
|
@@ -875,14 +867,6 @@ declare const useSelectStandardPackage: () => {
|
|
|
875
867
|
}>>;
|
|
876
868
|
};
|
|
877
869
|
|
|
878
|
-
declare const useGetUsers: () => {
|
|
879
|
-
error: _apollo_client.ApolloError | undefined;
|
|
880
|
-
loading: boolean;
|
|
881
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
882
|
-
users: SafeUserType[];
|
|
883
|
-
}>>;
|
|
884
|
-
users: SafeUserType[];
|
|
885
|
-
};
|
|
886
870
|
declare const useGetUser: (_id: string) => {
|
|
887
871
|
error: _apollo_client.ApolloError | undefined;
|
|
888
872
|
loading: boolean;
|
|
@@ -1139,14 +1123,6 @@ declare const useDeletePartner: () => {
|
|
|
1139
1123
|
loading: boolean;
|
|
1140
1124
|
};
|
|
1141
1125
|
|
|
1142
|
-
declare const useGetPartners: () => {
|
|
1143
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1144
|
-
loading: boolean;
|
|
1145
|
-
partners: PartnerType[];
|
|
1146
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1147
|
-
partners: PartnerType[];
|
|
1148
|
-
}>>;
|
|
1149
|
-
};
|
|
1150
1126
|
declare const useGetPartner: (_id: string) => {
|
|
1151
1127
|
error: _apollo_client.ApolloError | undefined;
|
|
1152
1128
|
loading: boolean;
|
|
@@ -1212,14 +1188,6 @@ declare const useDeletePost: () => {
|
|
|
1212
1188
|
loading: boolean;
|
|
1213
1189
|
};
|
|
1214
1190
|
|
|
1215
|
-
declare const useGetPosts: () => {
|
|
1216
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1217
|
-
loading: boolean;
|
|
1218
|
-
posts: PostType[];
|
|
1219
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1220
|
-
posts: PostType[];
|
|
1221
|
-
}>>;
|
|
1222
|
-
};
|
|
1223
1191
|
declare const useGetPost: (_id: string) => {
|
|
1224
1192
|
error: _apollo_client.ApolloError | undefined;
|
|
1225
1193
|
loading: boolean;
|
|
@@ -1228,14 +1196,6 @@ declare const useGetPost: (_id: string) => {
|
|
|
1228
1196
|
post: PostType;
|
|
1229
1197
|
}>>;
|
|
1230
1198
|
};
|
|
1231
|
-
declare const useGetPostsByType: (postType: EnumPostType) => {
|
|
1232
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1233
|
-
loading: boolean;
|
|
1234
|
-
postsByType: PostType[];
|
|
1235
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1236
|
-
postsByType: PostType[];
|
|
1237
|
-
}>>;
|
|
1238
|
-
};
|
|
1239
1199
|
|
|
1240
1200
|
declare const useUpdateAppSettings: () => {
|
|
1241
1201
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -1563,4 +1523,43 @@ declare const useGetCoupon: (_id: string) => {
|
|
|
1563
1523
|
}>>;
|
|
1564
1524
|
};
|
|
1565
1525
|
|
|
1566
|
-
|
|
1526
|
+
interface UsePaginatedListArgs<TData, TItem> {
|
|
1527
|
+
/** GraphQL query document (must accept `options: PaginationOptions`). */
|
|
1528
|
+
document: DocumentNode$1;
|
|
1529
|
+
/** Extract the page's items from the query result. */
|
|
1530
|
+
getItems: (data: TData | undefined) => TItem[];
|
|
1531
|
+
/** Extra (non-pagination) query variables, e.g. `{ postType }`. */
|
|
1532
|
+
variables?: Record<string, unknown>;
|
|
1533
|
+
/** Skip the query entirely (e.g. when a required variable is empty). */
|
|
1534
|
+
skip?: boolean;
|
|
1535
|
+
pageSize?: number;
|
|
1536
|
+
/** Override the identity key (defaults to `_id`). */
|
|
1537
|
+
getId?: (item: TItem) => string;
|
|
1538
|
+
}
|
|
1539
|
+
interface UsePaginatedListResult<TItem> {
|
|
1540
|
+
/** Accumulated, de-duplicated items across all loaded pages. */
|
|
1541
|
+
items: TItem[];
|
|
1542
|
+
/** True while a full page has been loaded and another page may exist. */
|
|
1543
|
+
hasMore: boolean;
|
|
1544
|
+
/** True during the very first page load. */
|
|
1545
|
+
loading: boolean;
|
|
1546
|
+
/** True while a subsequent page is loading (not the first). */
|
|
1547
|
+
loadingMore: boolean;
|
|
1548
|
+
error: ApolloError | undefined;
|
|
1549
|
+
/** Loads the next page (or retries the current page when errored). */
|
|
1550
|
+
loadMore: () => void;
|
|
1551
|
+
/** Resets pagination and re-fetches page 0. */
|
|
1552
|
+
refresh: () => Promise<unknown>;
|
|
1553
|
+
}
|
|
1554
|
+
/**
|
|
1555
|
+
* Offset-based "Load more" pagination, generalizing the affiliate users pattern.
|
|
1556
|
+
*
|
|
1557
|
+
* The hook owns the offset and accumulation; the caller supplies a GraphQL
|
|
1558
|
+
* document plus an accessor for extracting items from that resource's response
|
|
1559
|
+
* shape (each field has a different data key and item type). `hasMore` is
|
|
1560
|
+
* derived from a one-row probe (`pageSize + 1` fetch) and is frozen while a page
|
|
1561
|
+
* is in flight, so it reaches `false` without flickering away mid-load.
|
|
1562
|
+
*/
|
|
1563
|
+
declare function usePaginatedList<TData, TItem>({ document, getItems, variables, skip, pageSize, getId, }: UsePaginatedListArgs<TData, TItem>): UsePaginatedListResult<TItem>;
|
|
1564
|
+
|
|
1565
|
+
export { ACTIVATE_VENDOR_CLAIM_MUTATION, GET_EVENT, GET_EVENTS, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_OWNED_EVENT, GET_PARTNER, GET_PARTNERS, GET_PARTNER_BY_SLUG, GET_POST, GET_POSTS, GET_POSTS_BY_TYPE, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_USERS, GET_VENDOR, GET_VENDORS, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GetCouponsVariables, MY_PENDING_VENDOR_CLAIM, type UsePaginatedListArgs, type UsePaginatedListResult, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateAffiliate, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCoupon, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteCoupon, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetBillingCatalog, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetOwnedEvent, useGetPartner, useGetPartnersByRegion, useGetPost, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsersByPromoCode, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, usePaginatedList, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useRewardCoupon, useScanCoupon, useSearchEvents, useSearchPartners, useSearchVendors, useSelectStandardPackage, useSendChatMessage, useStartGame, useSyncBillingCatalogPrice, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateBillingCatalogPrice, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -3,6 +3,8 @@ import {
|
|
|
3
3
|
GET_EVENT_BY_SLUG,
|
|
4
4
|
GET_PARTNER_BY_SLUG,
|
|
5
5
|
GET_POST,
|
|
6
|
+
GET_POSTS,
|
|
7
|
+
GET_POSTS_BY_TYPE,
|
|
6
8
|
GET_POST_BY_SLUG,
|
|
7
9
|
GET_RESOURCE_CONNECTIONS,
|
|
8
10
|
GET_VENDOR_BY_SLUG,
|
|
@@ -71,7 +73,6 @@ import {
|
|
|
71
73
|
useGetEventByPlaceId,
|
|
72
74
|
useGetEventInfo,
|
|
73
75
|
useGetEventRelations,
|
|
74
|
-
useGetEvents,
|
|
75
76
|
useGetEventsByRegion,
|
|
76
77
|
useGetEventsNearMe,
|
|
77
78
|
useGetGame,
|
|
@@ -81,11 +82,8 @@ import {
|
|
|
81
82
|
useGetNotificationCountSubscription,
|
|
82
83
|
useGetOwnedEvent,
|
|
83
84
|
useGetPartner,
|
|
84
|
-
useGetPartners,
|
|
85
85
|
useGetPartnersByRegion,
|
|
86
86
|
useGetPost,
|
|
87
|
-
useGetPosts,
|
|
88
|
-
useGetPostsByType,
|
|
89
87
|
useGetPrivateChats,
|
|
90
88
|
useGetRelation,
|
|
91
89
|
useGetRelationByEventAndVendor,
|
|
@@ -105,13 +103,13 @@ import {
|
|
|
105
103
|
useGetVendor,
|
|
106
104
|
useGetVendorInfo,
|
|
107
105
|
useGetVendorRelations,
|
|
108
|
-
useGetVendors,
|
|
109
106
|
useGetVendorsByRegion,
|
|
110
107
|
useLeaveGame,
|
|
111
108
|
useMarkAllNotificationsRead,
|
|
112
109
|
useMarkChatMessagesSeen,
|
|
113
110
|
useMarkNotificationRead,
|
|
114
111
|
useMyPendingVendorClaim,
|
|
112
|
+
usePaginatedList,
|
|
115
113
|
useRedeemAffiliateReward,
|
|
116
114
|
useRedeemReward,
|
|
117
115
|
useRemoveParticipantFromChat,
|
|
@@ -151,13 +149,17 @@ import {
|
|
|
151
149
|
useUpdateUser,
|
|
152
150
|
useUpdateVendor,
|
|
153
151
|
useUpdateVendorInfo
|
|
154
|
-
} from "../chunk-
|
|
152
|
+
} from "../chunk-XPUYQ7GB.mjs";
|
|
155
153
|
import {
|
|
156
154
|
GET_EVENT,
|
|
155
|
+
GET_EVENTS,
|
|
157
156
|
GET_EVENT_INFO,
|
|
158
157
|
GET_OWNED_EVENT,
|
|
159
158
|
GET_PARTNER,
|
|
159
|
+
GET_PARTNERS,
|
|
160
|
+
GET_USERS,
|
|
160
161
|
GET_VENDOR,
|
|
162
|
+
GET_VENDORS,
|
|
161
163
|
GET_VENDOR_INFO,
|
|
162
164
|
MY_PENDING_VENDOR_CLAIM,
|
|
163
165
|
useGetUser,
|
|
@@ -166,7 +168,6 @@ import {
|
|
|
166
168
|
useGetUserPartners,
|
|
167
169
|
useGetUserResources,
|
|
168
170
|
useGetUserVendors,
|
|
169
|
-
useGetUsers,
|
|
170
171
|
useGetUsersByPromoCode,
|
|
171
172
|
useLogin,
|
|
172
173
|
useLogout,
|
|
@@ -175,20 +176,27 @@ import {
|
|
|
175
176
|
useRequestPasswordReset,
|
|
176
177
|
useResetPassword,
|
|
177
178
|
useValidateVerificationToken
|
|
178
|
-
} from "../chunk-
|
|
179
|
+
} from "../chunk-OUWKLNHZ.mjs";
|
|
180
|
+
import "../chunk-7DQBUZXY.mjs";
|
|
179
181
|
import "../chunk-P4NLBWEJ.mjs";
|
|
180
182
|
export {
|
|
181
183
|
ACTIVATE_VENDOR_CLAIM_MUTATION,
|
|
182
184
|
GET_EVENT,
|
|
185
|
+
GET_EVENTS,
|
|
183
186
|
GET_EVENT_BY_SLUG,
|
|
184
187
|
GET_EVENT_INFO,
|
|
185
188
|
GET_OWNED_EVENT,
|
|
186
189
|
GET_PARTNER,
|
|
190
|
+
GET_PARTNERS,
|
|
187
191
|
GET_PARTNER_BY_SLUG,
|
|
188
192
|
GET_POST,
|
|
193
|
+
GET_POSTS,
|
|
194
|
+
GET_POSTS_BY_TYPE,
|
|
189
195
|
GET_POST_BY_SLUG,
|
|
190
196
|
GET_RESOURCE_CONNECTIONS,
|
|
197
|
+
GET_USERS,
|
|
191
198
|
GET_VENDOR,
|
|
199
|
+
GET_VENDORS,
|
|
192
200
|
GET_VENDOR_BY_SLUG,
|
|
193
201
|
GET_VENDOR_INFO,
|
|
194
202
|
MY_PENDING_VENDOR_CLAIM,
|
|
@@ -257,7 +265,6 @@ export {
|
|
|
257
265
|
useGetEventByPlaceId,
|
|
258
266
|
useGetEventInfo,
|
|
259
267
|
useGetEventRelations,
|
|
260
|
-
useGetEvents,
|
|
261
268
|
useGetEventsByRegion,
|
|
262
269
|
useGetEventsNearMe,
|
|
263
270
|
useGetGame,
|
|
@@ -267,11 +274,8 @@ export {
|
|
|
267
274
|
useGetNotificationCountSubscription,
|
|
268
275
|
useGetOwnedEvent,
|
|
269
276
|
useGetPartner,
|
|
270
|
-
useGetPartners,
|
|
271
277
|
useGetPartnersByRegion,
|
|
272
278
|
useGetPost,
|
|
273
|
-
useGetPosts,
|
|
274
|
-
useGetPostsByType,
|
|
275
279
|
useGetPrivateChats,
|
|
276
280
|
useGetRelation,
|
|
277
281
|
useGetRelationByEventAndVendor,
|
|
@@ -294,12 +298,10 @@ export {
|
|
|
294
298
|
useGetUserPartners,
|
|
295
299
|
useGetUserResources,
|
|
296
300
|
useGetUserVendors,
|
|
297
|
-
useGetUsers,
|
|
298
301
|
useGetUsersByPromoCode,
|
|
299
302
|
useGetVendor,
|
|
300
303
|
useGetVendorInfo,
|
|
301
304
|
useGetVendorRelations,
|
|
302
|
-
useGetVendors,
|
|
303
305
|
useGetVendorsByRegion,
|
|
304
306
|
useLeaveGame,
|
|
305
307
|
useLogin,
|
|
@@ -308,6 +310,7 @@ export {
|
|
|
308
310
|
useMarkChatMessagesSeen,
|
|
309
311
|
useMarkNotificationRead,
|
|
310
312
|
useMyPendingVendorClaim,
|
|
313
|
+
usePaginatedList,
|
|
311
314
|
useRedeemAffiliateReward,
|
|
312
315
|
useRedeemReward,
|
|
313
316
|
useRefreshToken,
|