@timardex/cluemart-shared 1.7.39 → 1.7.41
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-D3id4INo.d.ts → ad-BDH4V_kC.d.ts} +2 -2
- package/dist/{ad-BErPpJ_a.d.mts → ad-C7ydabC3.d.mts} +2 -2
- package/dist/{affiliate-COxz9Ycb.d.ts → affiliate-CXyxbJeB.d.ts} +2 -2
- package/dist/{affiliate-BQlRmskL.d.mts → affiliate-cR8Bt-Fe.d.mts} +2 -2
- 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-YZNDCCGH.mjs → chunk-IVFFSG4S.mjs} +47 -12
- package/dist/{chunk-YZNDCCGH.mjs.map → chunk-IVFFSG4S.mjs.map} +1 -1
- package/dist/{chunk-TAWBDBPX.mjs → chunk-NBKSLJIH.mjs} +2 -2
- package/dist/{chunk-NH7MS65I.mjs → chunk-V3GCKBWG.mjs} +1 -1
- package/dist/{chunk-NH7MS65I.mjs.map → chunk-V3GCKBWG.mjs.map} +1 -1
- package/dist/{chunk-RJRPGKQZ.mjs → chunk-VBQ5RF7L.mjs} +2 -2
- package/dist/chunk-VBQ5RF7L.mjs.map +1 -0
- package/dist/{contactUs-CuGDbQJE.d.mts → contactUs-BA437E5t.d.mts} +1 -1
- package/dist/{contactUs-X2IZ4ic_.d.ts → contactUs-CWoOKyLs.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/{global-CZWTrBWs.d.ts → global-DmVf-gD-.d.ts} +11 -2
- package/dist/{global-D9KZcIaq.d.mts → global-dGP5dUVJ.d.mts} +11 -2
- package/dist/graphql/index.cjs +44 -9
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +8 -8
- package/dist/graphql/index.d.ts +8 -8
- package/dist/graphql/index.mjs +2 -2
- package/dist/hooks/index.cjs +25 -3
- 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 +4 -4
- package/dist/index.cjs +44 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +14 -5
- package/dist/index.d.ts +14 -5
- package/dist/index.mjs +44 -9
- 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-DKXCju5o.d.ts → resourceActivities-D-ql8Sy7.d.ts} +1 -1
- package/dist/{resourceActivities-Fi9ZAmrQ.d.mts → resourceActivities-Rb8Mvla1.d.mts} +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-Eczcue31.d.mts → user-DHIUOHzN.d.mts} +1 -1
- package/dist/{user-Dnigp0LK.d.ts → user-Ds0XnW3x.d.ts} +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-RJRPGKQZ.mjs.map +0 -1
- /package/dist/{chunk-TAWBDBPX.mjs.map → chunk-NBKSLJIH.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
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, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType } from '../global-
|
|
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-
|
|
3
|
+
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-Rb8Mvla1.mjs';
|
|
4
|
+
import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-dGP5dUVJ.mjs';
|
|
5
|
+
import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-C7ydabC3.mjs';
|
|
6
6
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
|
|
7
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-
|
|
8
|
-
import { A as AffiliateType } from '../affiliate-
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-DHIUOHzN.mjs';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-cR8Bt-Fe.mjs';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import '../images/index.mjs';
|
|
11
11
|
|
|
@@ -1488,11 +1488,11 @@ declare const useDeleteCoupon: () => {
|
|
|
1488
1488
|
};
|
|
1489
1489
|
|
|
1490
1490
|
declare const useGetCoupons: () => {
|
|
1491
|
-
coupons:
|
|
1491
|
+
coupons: CouponTypeList;
|
|
1492
1492
|
error: _apollo_client.ApolloError | undefined;
|
|
1493
1493
|
loading: boolean;
|
|
1494
1494
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1495
|
-
coupons:
|
|
1495
|
+
coupons: CouponTypeList | null;
|
|
1496
1496
|
}>>;
|
|
1497
1497
|
};
|
|
1498
1498
|
declare const useGetCoupon: (_id: string) => {
|
|
@@ -1504,12 +1504,12 @@ declare const useGetCoupon: (_id: string) => {
|
|
|
1504
1504
|
}>>;
|
|
1505
1505
|
};
|
|
1506
1506
|
declare const useGetResourceCoupons: (resourceId: string, resourceType: EnumResourceType) => {
|
|
1507
|
-
resourceCoupons: CouponType[];
|
|
1508
1507
|
error: _apollo_client.ApolloError | undefined;
|
|
1509
1508
|
loading: boolean;
|
|
1510
1509
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1511
1510
|
resourceCoupons: CouponType[];
|
|
1512
1511
|
}>>;
|
|
1512
|
+
resourceCoupons: CouponType[];
|
|
1513
1513
|
};
|
|
1514
1514
|
|
|
1515
1515
|
export { ACTIVATE_VENDOR_CLAIM_MUTATION, 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, MY_PENDING_VENDOR_CLAIM, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, 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, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetResourceCoupons, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
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, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType } from '../global-
|
|
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-
|
|
3
|
+
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-D-ql8Sy7.js';
|
|
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, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-DmVf-gD-.js';
|
|
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-BDH4V_kC.js';
|
|
6
6
|
import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
|
|
7
|
-
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-
|
|
8
|
-
import { A as AffiliateType } from '../affiliate-
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-Ds0XnW3x.js';
|
|
8
|
+
import { A as AffiliateType } from '../affiliate-CXyxbJeB.js';
|
|
9
9
|
import 'react-hook-form';
|
|
10
10
|
import '../images/index.js';
|
|
11
11
|
|
|
@@ -1488,11 +1488,11 @@ declare const useDeleteCoupon: () => {
|
|
|
1488
1488
|
};
|
|
1489
1489
|
|
|
1490
1490
|
declare const useGetCoupons: () => {
|
|
1491
|
-
coupons:
|
|
1491
|
+
coupons: CouponTypeList;
|
|
1492
1492
|
error: _apollo_client.ApolloError | undefined;
|
|
1493
1493
|
loading: boolean;
|
|
1494
1494
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1495
|
-
coupons:
|
|
1495
|
+
coupons: CouponTypeList | null;
|
|
1496
1496
|
}>>;
|
|
1497
1497
|
};
|
|
1498
1498
|
declare const useGetCoupon: (_id: string) => {
|
|
@@ -1504,12 +1504,12 @@ declare const useGetCoupon: (_id: string) => {
|
|
|
1504
1504
|
}>>;
|
|
1505
1505
|
};
|
|
1506
1506
|
declare const useGetResourceCoupons: (resourceId: string, resourceType: EnumResourceType) => {
|
|
1507
|
-
resourceCoupons: CouponType[];
|
|
1508
1507
|
error: _apollo_client.ApolloError | undefined;
|
|
1509
1508
|
loading: boolean;
|
|
1510
1509
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1511
1510
|
resourceCoupons: CouponType[];
|
|
1512
1511
|
}>>;
|
|
1512
|
+
resourceCoupons: CouponType[];
|
|
1513
1513
|
};
|
|
1514
1514
|
|
|
1515
1515
|
export { ACTIVATE_VENDOR_CLAIM_MUTATION, 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, MY_PENDING_VENDOR_CLAIM, toGraphqlQueryString, useActivateVendorClaim, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, 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, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetCoupon, useGetCoupons, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetPrivateChats, useGetRelation, useGetRelationByEventAndVendor, useGetRelationChats, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetResourceCoupons, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useMyPendingVendorClaim, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateCoupon, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
useUpdateUser,
|
|
147
147
|
useUpdateVendor,
|
|
148
148
|
useUpdateVendorInfo
|
|
149
|
-
} from "../chunk-
|
|
149
|
+
} from "../chunk-IVFFSG4S.mjs";
|
|
150
150
|
import {
|
|
151
151
|
GET_EVENT,
|
|
152
152
|
GET_EVENT_INFO,
|
|
@@ -168,7 +168,7 @@ import {
|
|
|
168
168
|
useRequestPasswordReset,
|
|
169
169
|
useResetPassword,
|
|
170
170
|
useValidateVerificationToken
|
|
171
|
-
} from "../chunk-
|
|
171
|
+
} from "../chunk-VBQ5RF7L.mjs";
|
|
172
172
|
import "../chunk-X3OLM35T.mjs";
|
|
173
173
|
export {
|
|
174
174
|
ACTIVATE_VENDOR_CLAIM_MUTATION,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -5608,6 +5608,20 @@ var COUPON_REWARD_FIELDS_FRAGMENT = import_client78.gql`
|
|
|
5608
5608
|
unit
|
|
5609
5609
|
}
|
|
5610
5610
|
`;
|
|
5611
|
+
var COUPON_DATA_PRODUCTS_FIELDS_FRAGMENT = import_client78.gql`
|
|
5612
|
+
fragment CouponDataProductsFields on CouponDataProductsType {
|
|
5613
|
+
active
|
|
5614
|
+
productsList {
|
|
5615
|
+
...VendorProductListFields
|
|
5616
|
+
}
|
|
5617
|
+
vendorLogo {
|
|
5618
|
+
...ResourceImageFields
|
|
5619
|
+
}
|
|
5620
|
+
vendorName
|
|
5621
|
+
}
|
|
5622
|
+
${VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT}
|
|
5623
|
+
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
5624
|
+
`;
|
|
5611
5625
|
var COUPON_DATA_FIELDS_FRAGMENT = import_client78.gql`
|
|
5612
5626
|
fragment CouponDataFields on CouponDataType {
|
|
5613
5627
|
_id
|
|
@@ -5628,7 +5642,7 @@ var COUPON_DATA_FIELDS_FRAGMENT = import_client78.gql`
|
|
|
5628
5642
|
...CouponParticipantUserFields
|
|
5629
5643
|
}
|
|
5630
5644
|
products {
|
|
5631
|
-
...
|
|
5645
|
+
...CouponDataProductsFields
|
|
5632
5646
|
}
|
|
5633
5647
|
resourceId
|
|
5634
5648
|
resourceType
|
|
@@ -5639,7 +5653,7 @@ var COUPON_DATA_FIELDS_FRAGMENT = import_client78.gql`
|
|
|
5639
5653
|
${COUPON_OPTION_FIELDS_FRAGMENT}
|
|
5640
5654
|
${COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT}
|
|
5641
5655
|
${COUPON_REWARD_FIELDS_FRAGMENT}
|
|
5642
|
-
${
|
|
5656
|
+
${COUPON_DATA_PRODUCTS_FIELDS_FRAGMENT}
|
|
5643
5657
|
`;
|
|
5644
5658
|
var COUPON = import_client78.gql`
|
|
5645
5659
|
fragment CouponFields on CouponType {
|
|
@@ -5661,7 +5675,15 @@ var COUPON = import_client78.gql`
|
|
|
5661
5675
|
var GET_COUPONS = import_client78.gql`
|
|
5662
5676
|
query getCoupons {
|
|
5663
5677
|
coupons {
|
|
5664
|
-
|
|
5678
|
+
active {
|
|
5679
|
+
...CouponFields
|
|
5680
|
+
}
|
|
5681
|
+
owned {
|
|
5682
|
+
...CouponFields
|
|
5683
|
+
}
|
|
5684
|
+
scanned {
|
|
5685
|
+
...CouponFields
|
|
5686
|
+
}
|
|
5665
5687
|
}
|
|
5666
5688
|
}
|
|
5667
5689
|
${COUPON}
|