@timardex/cluemart-shared 1.5.785 → 1.5.787
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{affiliate-aeLUPuKt.d.ts → affiliate-BEePbi9S.d.ts} +4 -4
- package/dist/{affiliate-DUTVjle1.d.mts → affiliate-DOhfbYFj.d.mts} +4 -4
- package/dist/{chunk-BAK5L4MW.mjs → chunk-E4KHWSQE.mjs} +1 -1
- package/dist/{chunk-BAK5L4MW.mjs.map → chunk-E4KHWSQE.mjs.map} +1 -1
- package/dist/{chunk-YYRWWHUW.mjs → chunk-JP76OR4F.mjs} +52 -2
- package/dist/chunk-JP76OR4F.mjs.map +1 -0
- package/dist/{chunk-MDN75KZN.mjs → chunk-QFGYDBE7.mjs} +2 -2
- package/dist/{chunk-INWSDO7K.mjs → chunk-RTF7BGNH.mjs} +2 -2
- package/dist/{chunk-LXQSIMDY.mjs → chunk-RUM5PJHN.mjs} +2 -2
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.cjs +52 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +13 -2
- package/dist/graphql/index.d.ts +13 -2
- package/dist/graphql/index.mjs +5 -1
- package/dist/hooks/index.cjs +22 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.mjs +5 -5
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +52 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +15 -4
- package/dist/index.d.ts +15 -4
- package/dist/index.mjs +50 -0
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.mjs +3 -3
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-YYRWWHUW.mjs.map +0 -1
- /package/dist/{chunk-MDN75KZN.mjs.map → chunk-QFGYDBE7.mjs.map} +0 -0
- /package/dist/{chunk-INWSDO7K.mjs.map → chunk-RTF7BGNH.mjs.map} +0 -0
- /package/dist/{chunk-LXQSIMDY.mjs.map → chunk-RUM5PJHN.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { EnumResourceType, EnumEventDateStatus } from '../enums/index.mjs';
|
|
|
4
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-kAjUceeE.mjs';
|
|
5
5
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-zczOntNk.mjs';
|
|
6
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-
|
|
7
|
+
import { A as AffiliateType } from '../affiliate-DOhfbYFj.mjs';
|
|
8
8
|
import '../images/index.mjs';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
|
|
@@ -1181,4 +1181,15 @@ declare const useGetAffiliates: () => {
|
|
|
1181
1181
|
}>>;
|
|
1182
1182
|
};
|
|
1183
1183
|
|
|
1184
|
-
|
|
1184
|
+
declare const useUpdateAffiliateDetails: () => {
|
|
1185
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1186
|
+
loading: boolean;
|
|
1187
|
+
updateAffiliateDetails: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1188
|
+
};
|
|
1189
|
+
declare const useDeleteAffiliate: () => {
|
|
1190
|
+
deleteAffiliate: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1191
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1192
|
+
loading: boolean;
|
|
1193
|
+
};
|
|
1194
|
+
|
|
1195
|
+
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, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { EnumResourceType, EnumEventDateStatus } from '../enums/index.js';
|
|
|
4
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-BmDOVKmE.js';
|
|
5
5
|
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BL_12IAo.js';
|
|
6
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-fKbMmluy.js';
|
|
7
|
-
import { A as AffiliateType } from '../affiliate-
|
|
7
|
+
import { A as AffiliateType } from '../affiliate-BEePbi9S.js';
|
|
8
8
|
import '../images/index.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
|
|
@@ -1181,4 +1181,15 @@ declare const useGetAffiliates: () => {
|
|
|
1181
1181
|
}>>;
|
|
1182
1182
|
};
|
|
1183
1183
|
|
|
1184
|
-
|
|
1184
|
+
declare const useUpdateAffiliateDetails: () => {
|
|
1185
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1186
|
+
loading: boolean;
|
|
1187
|
+
updateAffiliateDetails: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1188
|
+
};
|
|
1189
|
+
declare const useDeleteAffiliate: () => {
|
|
1190
|
+
deleteAffiliate: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1191
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1192
|
+
loading: boolean;
|
|
1193
|
+
};
|
|
1194
|
+
|
|
1195
|
+
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, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
useCreateVendor,
|
|
42
42
|
useCreateVendorInfo,
|
|
43
43
|
useDeleteAd,
|
|
44
|
+
useDeleteAffiliate,
|
|
44
45
|
useDeleteAllNotifications,
|
|
45
46
|
useDeleteChat,
|
|
46
47
|
useDeleteEvent,
|
|
@@ -134,6 +135,7 @@ import {
|
|
|
134
135
|
useToggleChatMessageLike,
|
|
135
136
|
useUnlinkUnregisteredVendorByInviterId,
|
|
136
137
|
useUpdateAd,
|
|
138
|
+
useUpdateAffiliateDetails,
|
|
137
139
|
useUpdateAppSettings,
|
|
138
140
|
useUpdateDailyClueGame,
|
|
139
141
|
useUpdateEvent,
|
|
@@ -150,7 +152,7 @@ import {
|
|
|
150
152
|
useUpdateVendor,
|
|
151
153
|
useUpdateVendorInfo,
|
|
152
154
|
useValidateVerificationToken
|
|
153
|
-
} from "../chunk-
|
|
155
|
+
} from "../chunk-JP76OR4F.mjs";
|
|
154
156
|
import "../chunk-LETM2YHF.mjs";
|
|
155
157
|
export {
|
|
156
158
|
GET_EVENT,
|
|
@@ -195,6 +197,7 @@ export {
|
|
|
195
197
|
useCreateVendor,
|
|
196
198
|
useCreateVendorInfo,
|
|
197
199
|
useDeleteAd,
|
|
200
|
+
useDeleteAffiliate,
|
|
198
201
|
useDeleteAllNotifications,
|
|
199
202
|
useDeleteChat,
|
|
200
203
|
useDeleteEvent,
|
|
@@ -288,6 +291,7 @@ export {
|
|
|
288
291
|
useToggleChatMessageLike,
|
|
289
292
|
useUnlinkUnregisteredVendorByInviterId,
|
|
290
293
|
useUpdateAd,
|
|
294
|
+
useUpdateAffiliateDetails,
|
|
291
295
|
useUpdateAppSettings,
|
|
292
296
|
useUpdateDailyClueGame,
|
|
293
297
|
useUpdateEvent,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -5074,6 +5074,28 @@ var GET_AFFILIATES = import_client74.gql`
|
|
|
5074
5074
|
${AFFILIATE_FIELDS_FRAGMENT}
|
|
5075
5075
|
`;
|
|
5076
5076
|
|
|
5077
|
+
// src/graphql/hooks/affiliate/hooksMutation.ts
|
|
5078
|
+
var import_client77 = require("@apollo/client");
|
|
5079
|
+
|
|
5080
|
+
// src/graphql/mutations/affiliate.ts
|
|
5081
|
+
var import_client76 = require("@apollo/client");
|
|
5082
|
+
var UPDATE_AFFILIATE_DETAILS_MUTATION = import_client76.gql`
|
|
5083
|
+
mutation updateAffiliateDetails(
|
|
5084
|
+
$input: AffiliateDetailsInputType!
|
|
5085
|
+
$affiliateId: ID!
|
|
5086
|
+
) {
|
|
5087
|
+
updateAffiliateDetails(input: $input, affiliateId: $affiliateId) {
|
|
5088
|
+
...AffiliateFields
|
|
5089
|
+
}
|
|
5090
|
+
}
|
|
5091
|
+
${AFFILIATE_FIELDS_FRAGMENT}
|
|
5092
|
+
`;
|
|
5093
|
+
var DELETE_AFFILIATE_MUTATION = import_client76.gql`
|
|
5094
|
+
mutation deleteAffiliate($_id: ID!) {
|
|
5095
|
+
deleteAffiliate(_id: $_id)
|
|
5096
|
+
}
|
|
5097
|
+
`;
|
|
5098
|
+
|
|
5077
5099
|
// src/images/index.ts
|
|
5078
5100
|
var PKG = "@timardex/cluemart-shared";
|
|
5079
5101
|
var IMAGE_EXTENSION = ".webp";
|