@timardex/cluemart-shared 1.7.65 → 1.7.67
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-PHkyCdFN.d.ts → ad-C8D-sSzF.d.ts} +2 -2
- package/dist/{ad-66Hws2zL.d.mts → ad-DBlMup1m.d.mts} +2 -2
- package/dist/{affiliate-BDWDNhpq.d.mts → affiliate-B4dKY4oC.d.ts} +3 -3
- package/dist/{affiliate-BsrW9awS.d.ts → affiliate-DpjRNToN.d.mts} +3 -3
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/{chunk-JZWO462D.mjs → chunk-G5T3Z6WT.mjs} +2 -2
- package/dist/{chunk-FPBMTY2Y.mjs → chunk-NDJ52M2N.mjs} +8 -6
- package/dist/{chunk-FPBMTY2Y.mjs.map → chunk-NDJ52M2N.mjs.map} +1 -1
- package/dist/{chunk-NNHCOVND.mjs → chunk-WS47NSTO.mjs} +1 -1
- package/dist/{chunk-NNHCOVND.mjs.map → chunk-WS47NSTO.mjs.map} +1 -1
- package/dist/{contactUs-DyNbOJSa.d.ts → contactUs-Bm9Nx5L6.d.ts} +1 -1
- package/dist/{contactUs-BB6bGzgU.d.mts → contactUs-w465ljSW.d.mts} +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-DCJD_uzH.d.ts → global-B6l7Xvrj.d.ts} +2 -0
- package/dist/{global-gZ8lcBuc.d.mts → global-Da36L_p3.d.mts} +2 -0
- package/dist/graphql/index.cjs +7 -5
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +5 -5
- package/dist/graphql/index.d.ts +5 -5
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +3 -1
- 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/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +7 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +7 -5
- 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-xLCYoskh.d.ts → resourceActivities-B3G__Pqn.d.ts} +1 -1
- package/dist/{resourceActivities-5YFwtfxZ.d.mts → resourceActivities-BqxMTeyA.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-CpeJODEQ.d.mts → user-B8jYxHQ8.d.mts} +1 -1
- package/dist/{user-dPN0jC3g.d.ts → user-S2zwTsVK.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-JZWO462D.mjs.map → chunk-G5T3Z6WT.mjs.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnumPartnerType, EnumResourceType, EnumOSPlatform } from './enums/index.js';
|
|
2
|
-
import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a2 as CreateFormData, aL as ResourceContactDetailsType, aN as ResourceImageType, aO as SocialMediaType, aS as TermsAgreement, ao as OwnerType, aC as PromoCodeType, M as MutationResponse } from './global-
|
|
2
|
+
import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a2 as CreateFormData, aL as ResourceContactDetailsType, aN as ResourceImageType, aO as SocialMediaType, aS as TermsAgreement, ao as OwnerType, aC as PromoCodeType, M as MutationResponse } from './global-B6l7Xvrj.js';
|
|
3
3
|
import { PosterAssetId } from './images/index.js';
|
|
4
|
-
import { S as SafeUserType, U as UserFormData } from './user-
|
|
4
|
+
import { S as SafeUserType, U as UserFormData } from './user-S2zwTsVK.js';
|
|
5
5
|
|
|
6
6
|
interface PartnerFormData extends BaseResourceTypeFormData {
|
|
7
7
|
location: LocationType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnumPartnerType, EnumResourceType, EnumOSPlatform } from './enums/index.mjs';
|
|
2
|
-
import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a2 as CreateFormData, aL as ResourceContactDetailsType, aN as ResourceImageType, aO as SocialMediaType, aS as TermsAgreement, ao as OwnerType, aC as PromoCodeType, M as MutationResponse } from './global-
|
|
2
|
+
import { Q as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a2 as CreateFormData, aL as ResourceContactDetailsType, aN as ResourceImageType, aO as SocialMediaType, aS as TermsAgreement, ao as OwnerType, aC as PromoCodeType, M as MutationResponse } from './global-Da36L_p3.mjs';
|
|
3
3
|
import { PosterAssetId } from './images/index.mjs';
|
|
4
|
-
import { S as SafeUserType, U as UserFormData } from './user-
|
|
4
|
+
import { S as SafeUserType, U as UserFormData } from './user-B8jYxHQ8.mjs';
|
|
5
5
|
|
|
6
6
|
interface PartnerFormData extends BaseResourceTypeFormData {
|
|
7
7
|
location: LocationType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EnumResourceType } from './enums/index.
|
|
2
|
-
import { aC as PromoCodeType, L as LocationType, aO as SocialMediaType, ao as OwnerType, a2 as CreateFormData } from './global-
|
|
3
|
-
import { U as UserFormData } from './user-
|
|
1
|
+
import { EnumResourceType } from './enums/index.js';
|
|
2
|
+
import { aC as PromoCodeType, L as LocationType, aO as SocialMediaType, ao as OwnerType, a2 as CreateFormData } from './global-B6l7Xvrj.js';
|
|
3
|
+
import { U as UserFormData } from './user-S2zwTsVK.js';
|
|
4
4
|
|
|
5
5
|
declare enum EnumAffiliateParticipantType {
|
|
6
6
|
INDIVIDUAL = "INDIVIDUAL",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EnumResourceType } from './enums/index.
|
|
2
|
-
import { aC as PromoCodeType, L as LocationType, aO as SocialMediaType, ao as OwnerType, a2 as CreateFormData } from './global-
|
|
3
|
-
import { U as UserFormData } from './user-
|
|
1
|
+
import { EnumResourceType } from './enums/index.mjs';
|
|
2
|
+
import { aC as PromoCodeType, L as LocationType, aO as SocialMediaType, ao as OwnerType, a2 as CreateFormData } from './global-Da36L_p3.mjs';
|
|
3
|
+
import { U as UserFormData } from './user-B8jYxHQ8.mjs';
|
|
4
4
|
|
|
5
5
|
declare enum EnumAffiliateParticipantType {
|
|
6
6
|
INDIVIDUAL = "INDIVIDUAL",
|
package/dist/auth/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EnumUserRole, EnumResourceType, EnumUserLicence } from '../enums/index.mjs';
|
|
2
|
-
import { P as Permission, S as SafeUserType } from '../user-
|
|
3
|
-
export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-
|
|
2
|
+
import { P as Permission, S as SafeUserType } from '../user-B8jYxHQ8.mjs';
|
|
3
|
+
export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-B8jYxHQ8.mjs';
|
|
4
4
|
import { T as Tier } from '../subscription-bmAdrnfi.mjs';
|
|
5
5
|
import React, { ReactNode } from 'react';
|
|
6
|
-
import '../global-
|
|
6
|
+
import '../global-Da36L_p3.mjs';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
type AuthManager = {
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EnumUserRole, EnumResourceType, EnumUserLicence } from '../enums/index.js';
|
|
2
|
-
import { P as Permission, S as SafeUserType } from '../user-
|
|
3
|
-
export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-
|
|
2
|
+
import { P as Permission, S as SafeUserType } from '../user-S2zwTsVK.js';
|
|
3
|
+
export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-S2zwTsVK.js';
|
|
4
4
|
import { T as Tier } from '../subscription-BU8GvH2K.js';
|
|
5
5
|
import React, { ReactNode } from 'react';
|
|
6
|
-
import '../global-
|
|
6
|
+
import '../global-B6l7Xvrj.js';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
type AuthManager = {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
PROMO_CODE_PREFIX,
|
|
12
12
|
gameScreenIdentifierList
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WS47NSTO.mjs";
|
|
14
14
|
import {
|
|
15
15
|
isTransientNetworkError
|
|
16
16
|
} from "./chunk-RAYUJODN.mjs";
|
|
@@ -1698,4 +1698,4 @@ export {
|
|
|
1698
1698
|
toUserFacingErrorMessage,
|
|
1699
1699
|
getErrorMessage
|
|
1700
1700
|
};
|
|
1701
|
-
//# sourceMappingURL=chunk-
|
|
1701
|
+
//# sourceMappingURL=chunk-G5T3Z6WT.mjs.map
|
|
@@ -3594,6 +3594,8 @@ var COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT = gql36`
|
|
|
3594
3594
|
fragment CouponParticipantUserFields on CouponParticipantUserType {
|
|
3595
3595
|
couponCollectedCount
|
|
3596
3596
|
couponRedeemedAt
|
|
3597
|
+
couponRedeemedCount
|
|
3598
|
+
couponCycleRedeemed
|
|
3597
3599
|
createdAt
|
|
3598
3600
|
updatedAt
|
|
3599
3601
|
userId
|
|
@@ -3788,35 +3790,35 @@ var REWARD_COUPON_MUTATION = gql37`
|
|
|
3788
3790
|
var useCreateCoupon = () => {
|
|
3789
3791
|
const [createCoupon, { loading, error }] = useMutation20(CREATE_COUPON_MUTATION, {
|
|
3790
3792
|
awaitRefetchQueries: true,
|
|
3791
|
-
refetchQueries: [
|
|
3793
|
+
refetchQueries: [GET_COUPONS]
|
|
3792
3794
|
});
|
|
3793
3795
|
return { createCoupon, error, loading };
|
|
3794
3796
|
};
|
|
3795
3797
|
var useUpdateCoupon = () => {
|
|
3796
3798
|
const [updateCoupon, { loading, error }] = useMutation20(UPDATE_COUPON_MUTATION, {
|
|
3797
3799
|
awaitRefetchQueries: true,
|
|
3798
|
-
refetchQueries: [
|
|
3800
|
+
refetchQueries: [GET_COUPONS]
|
|
3799
3801
|
});
|
|
3800
3802
|
return { error, loading, updateCoupon };
|
|
3801
3803
|
};
|
|
3802
3804
|
var useDeleteCoupon = () => {
|
|
3803
3805
|
const [deleteCoupon, { loading, error }] = useMutation20(DELETE_COUPON_MUTATION, {
|
|
3804
3806
|
awaitRefetchQueries: true,
|
|
3805
|
-
refetchQueries: [
|
|
3807
|
+
refetchQueries: [GET_COUPONS]
|
|
3806
3808
|
});
|
|
3807
3809
|
return { deleteCoupon, error, loading };
|
|
3808
3810
|
};
|
|
3809
3811
|
var useScanCoupon = () => {
|
|
3810
3812
|
const [scanCoupon, { loading, error }] = useMutation20(SCAN_COUPON_MUTATION, {
|
|
3811
3813
|
awaitRefetchQueries: true,
|
|
3812
|
-
refetchQueries: [
|
|
3814
|
+
refetchQueries: [GET_COUPONS]
|
|
3813
3815
|
});
|
|
3814
3816
|
return { error, loading, scanCoupon };
|
|
3815
3817
|
};
|
|
3816
3818
|
var useRewardCoupon = () => {
|
|
3817
3819
|
const [rewardCoupon, { loading, error }] = useMutation20(REWARD_COUPON_MUTATION, {
|
|
3818
3820
|
awaitRefetchQueries: true,
|
|
3819
|
-
refetchQueries: [
|
|
3821
|
+
refetchQueries: [GET_COUPONS]
|
|
3820
3822
|
});
|
|
3821
3823
|
return { error, loading, rewardCoupon };
|
|
3822
3824
|
};
|
|
@@ -3996,4 +3998,4 @@ export {
|
|
|
3996
3998
|
useGetCoupons,
|
|
3997
3999
|
useGetCoupon
|
|
3998
4000
|
};
|
|
3999
|
-
//# sourceMappingURL=chunk-
|
|
4001
|
+
//# sourceMappingURL=chunk-NDJ52M2N.mjs.map
|