@timardex/cluemart-shared 1.5.786 → 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/{chunk-YYRWWHUW.mjs → chunk-JP76OR4F.mjs} +52 -2
- package/dist/chunk-JP76OR4F.mjs.map +1 -0
- package/dist/graphql/index.cjs +52 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +12 -1
- package/dist/graphql/index.d.ts +12 -1
- 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.mjs +1 -1
- package/dist/index.cjs +52 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.mjs +50 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-YYRWWHUW.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -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
|
@@ -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";
|