@timardex/cluemart-shared 1.7.51 → 1.7.52
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-DlEidDDn.d.ts → ad-34yU-w4_.d.ts} +2 -2
- package/dist/{ad-CPz_YjR3.d.mts → ad-pKQyCByG.d.mts} +2 -2
- package/dist/{affiliate-gsHokKnO.d.mts → affiliate-BAPSapGb.d.mts} +2 -2
- package/dist/{affiliate-D5O5FfUC.d.ts → affiliate-CDTvlRy_.d.ts} +2 -2
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/{chunk-RIE2OS4I.mjs → chunk-LA47T6CY.mjs} +2 -1
- package/dist/{chunk-RIE2OS4I.mjs.map → chunk-LA47T6CY.mjs.map} +1 -1
- package/dist/{chunk-NCSJIE42.mjs → chunk-MGSDQSWS.mjs} +9 -8
- package/dist/{chunk-NCSJIE42.mjs.map → chunk-MGSDQSWS.mjs.map} +1 -1
- package/dist/{chunk-7YUHKL5A.mjs → chunk-Q2ZUHS2F.mjs} +2 -2
- package/dist/{contactUs-BJQeu7Be.d.mts → contactUs-BduAESy_.d.mts} +1 -1
- package/dist/{contactUs-C39e1EfO.d.ts → contactUs-DibxoLX8.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-CtjIrs69.d.ts → global-ByrmQuY-.d.ts} +17 -9
- package/dist/{global-CxumKna-.d.mts → global-Czw-WbJm.d.mts} +17 -9
- package/dist/graphql/index.cjs +8 -7
- 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 +26 -15
- 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 +21 -11
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +9 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +17 -9
- package/dist/index.d.ts +17 -9
- package/dist/index.mjs +9 -7
- 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-B0B-uWFO.d.mts → resourceActivities-Bc6LGgAC.d.mts} +1 -1
- package/dist/{resourceActivities-BR8aGYJp.d.ts → resourceActivities-CRYuwJ-B.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 +1 -0
- 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-CDKT3M1F.d.ts → user-DT6GjxaP.d.ts} +1 -1
- package/dist/{user-Cux67Xnr.d.mts → user-MFVGM3EX.d.mts} +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-7YUHKL5A.mjs.map → chunk-Q2ZUHS2F.mjs.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
PROMO_CODE_PREFIX,
|
|
12
12
|
gameScreenIdentifierList
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LA47T6CY.mjs";
|
|
14
14
|
import {
|
|
15
15
|
isTransientNetworkError
|
|
16
16
|
} from "./chunk-RAYUJODN.mjs";
|
|
@@ -1696,4 +1696,4 @@ export {
|
|
|
1696
1696
|
toUserFacingErrorMessage,
|
|
1697
1697
|
getErrorMessage
|
|
1698
1698
|
};
|
|
1699
|
-
//# sourceMappingURL=chunk-
|
|
1699
|
+
//# sourceMappingURL=chunk-Q2ZUHS2F.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-Czw-WbJm.mjs';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.mjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-ByrmQuY-.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -46,9 +46,9 @@ import {
|
|
|
46
46
|
import {
|
|
47
47
|
availableCategories,
|
|
48
48
|
categoryColors
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-Q2ZUHS2F.mjs";
|
|
50
50
|
import "../chunk-SD42WIMV.mjs";
|
|
51
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-LA47T6CY.mjs";
|
|
52
52
|
import "../chunk-RAYUJODN.mjs";
|
|
53
53
|
import "../chunk-DQ7ZHIXW.mjs";
|
|
54
54
|
import "../chunk-X3OLM35T.mjs";
|
|
@@ -388,7 +388,8 @@ type ProductCoupon = {
|
|
|
388
388
|
};
|
|
389
389
|
declare enum EnumCouponQualificationType {
|
|
390
390
|
PURCHASE = "PURCHASE",
|
|
391
|
-
MARKET_VISIT = "MARKET_VISIT"
|
|
391
|
+
MARKET_VISIT = "MARKET_VISIT",
|
|
392
|
+
MARKET_PASSPORT = "MARKET_PASSPORT"
|
|
392
393
|
}
|
|
393
394
|
type CouponPurchaseOption = {
|
|
394
395
|
buy: number;
|
|
@@ -400,17 +401,21 @@ type CouponMarketVisitOption = {
|
|
|
400
401
|
type: EnumCouponQualificationType.MARKET_VISIT;
|
|
401
402
|
visits: number;
|
|
402
403
|
};
|
|
403
|
-
type
|
|
404
|
-
type
|
|
404
|
+
type CouponMarketPassportOption = {
|
|
405
|
+
type: EnumCouponQualificationType.MARKET_PASSPORT;
|
|
406
|
+
visits: number;
|
|
407
|
+
};
|
|
408
|
+
type CouponOption = CouponPurchaseOption | CouponMarketVisitOption | CouponMarketPassportOption;
|
|
409
|
+
type CouponVendorProduct = {
|
|
410
|
+
couponId: string;
|
|
405
411
|
productId: string;
|
|
406
|
-
quantity: number;
|
|
407
|
-
unit: string;
|
|
408
412
|
vendorId: string;
|
|
413
|
+
vendorCouponId?: string;
|
|
409
414
|
};
|
|
410
415
|
type CouponDefaultsFormData = {
|
|
411
416
|
couponDescription: string;
|
|
412
417
|
couponOption: CouponOption;
|
|
413
|
-
|
|
418
|
+
couponVendorProducts?: CouponVendorProduct[];
|
|
414
419
|
endDate: Date;
|
|
415
420
|
resourceId: string;
|
|
416
421
|
resourceType: EnumResourceType;
|
|
@@ -429,7 +434,10 @@ type CouponCodeType = {
|
|
|
429
434
|
qrCode: ResourceImageType;
|
|
430
435
|
shareableQrCode: ResourceImageType;
|
|
431
436
|
};
|
|
432
|
-
type CouponDataProductsType =
|
|
437
|
+
type CouponDataProductsType = {
|
|
438
|
+
active: boolean | null;
|
|
439
|
+
couponId: string;
|
|
440
|
+
productsList: VendorProductList[];
|
|
433
441
|
vendorId: string;
|
|
434
442
|
vendorLogo: ResourceImageType | null;
|
|
435
443
|
vendorName: string;
|
|
@@ -440,7 +448,7 @@ type CouponDataType = CouponDefaultsFormData & {
|
|
|
440
448
|
couponCode: CouponCodeType;
|
|
441
449
|
createdAt: Date;
|
|
442
450
|
participantUsers: CouponParticipantUserType[] | null;
|
|
443
|
-
products?: CouponDataProductsType | null;
|
|
451
|
+
products?: CouponDataProductsType[] | null;
|
|
444
452
|
updatedAt: Date | null;
|
|
445
453
|
};
|
|
446
454
|
interface CouponType {
|
|
@@ -799,4 +807,4 @@ interface UseGetResourcesByRegionOptions {
|
|
|
799
807
|
offset?: number;
|
|
800
808
|
}
|
|
801
809
|
|
|
802
|
-
export { type
|
|
810
|
+
export { type CouponParticipantUserType as $, type PostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CreatePostFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CouponDefaultsFormData as H, type CreateCouponFormData as I, type Region as J, type BaseGameMap as K, type LocationType as L, type MutationResponse as M, type BaseGameType as N, type OptionItem as O, type PosterUsageType as P, type BaseResourceType as Q, type RefundPolicy as R, type StallType as S, type CouponCodeType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataProductsType as W, type CouponDataType as X, type CouponMarketPassportOption as Y, type CouponMarketVisitOption as Z, type CouponOption as _, type FormDateField as a, type CouponPurchaseOption as a0, type CouponVendorProduct as a1, type CreateFormData as a2, type DailyClueBaseGame as a3, type DailyClueGameData as a4, type DateTimeType as a5, type DateTimeWithPriceType as a6, type DeviceInfo as a7, EnumCouponListType as a8, EnumCouponQualificationType as a9, type PostResource as aA, type ProductCoupon as aB, type PromoCodeType as aC, type PuzzleAnswer as aD, type PuzzleAnsweredQuestion as aE, type PuzzleBaseGame as aF, type PuzzleGameData as aG, type PuzzleQuestion as aH, type RelatedPostType as aI, type RelationDate as aJ, type RelationInputType as aK, type ResourceContactDetailsType as aL, type ResourceDetails as aM, type ResourceImageType as aN, type SocialMediaType as aO, type SocialShareResourceType as aP, type Subcategory as aQ, type SubcategoryItems as aR, type TermsAgreement as aS, type UnregisteredVendorInvitationType as aT, type VendorAttributes as aU, type VendorCalendarData as aV, type VendorProductList as aW, gameScreenIdentifierList as aX, gameTypeToDisplayName as aY, EnumGameStatus as aa, EnumGameType as ab, EnumPostContentType as ac, type EventStatusType as ad, type GameDate as ae, type GameHistory as af, type GamePlacement as ag, type GamePlacementClue as ah, type GameType as ai, type GeocodeLocation as aj, type GlobalGameData as ak, type ImageObjectType as al, type LocationGeoType as am, type Nullable as an, type OwnerType as ao, PROMO_CODE_PREFIX as ap, type PaymentInfoType as aq, type PostContentData as ar, type PostContentFormData as as, type PostContentGame as at, type PostContentImage as au, type PostContentList as av, type PostContentTextarea as aw, type PostContentType as ax, type PostContentVideo as ay, type PostFileInput as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, EnumPostType as m, type GameLeaderboard as n, type CouponType as o, type CouponTypeList as p, type VendorFormData as q, type CreateVendorFormData as r, type VendorInfoFormData as s, type CreateVendorInfoFormData as t, type UnregisteredVendorFormData as u, type CreateUnregisteredVendorFormData as v, type EventFormData as w, type CreateEventFormData as x, type EventInfoFormData as y, type CreateEventInfoFormData as z };
|
|
@@ -388,7 +388,8 @@ type ProductCoupon = {
|
|
|
388
388
|
};
|
|
389
389
|
declare enum EnumCouponQualificationType {
|
|
390
390
|
PURCHASE = "PURCHASE",
|
|
391
|
-
MARKET_VISIT = "MARKET_VISIT"
|
|
391
|
+
MARKET_VISIT = "MARKET_VISIT",
|
|
392
|
+
MARKET_PASSPORT = "MARKET_PASSPORT"
|
|
392
393
|
}
|
|
393
394
|
type CouponPurchaseOption = {
|
|
394
395
|
buy: number;
|
|
@@ -400,17 +401,21 @@ type CouponMarketVisitOption = {
|
|
|
400
401
|
type: EnumCouponQualificationType.MARKET_VISIT;
|
|
401
402
|
visits: number;
|
|
402
403
|
};
|
|
403
|
-
type
|
|
404
|
-
type
|
|
404
|
+
type CouponMarketPassportOption = {
|
|
405
|
+
type: EnumCouponQualificationType.MARKET_PASSPORT;
|
|
406
|
+
visits: number;
|
|
407
|
+
};
|
|
408
|
+
type CouponOption = CouponPurchaseOption | CouponMarketVisitOption | CouponMarketPassportOption;
|
|
409
|
+
type CouponVendorProduct = {
|
|
410
|
+
couponId: string;
|
|
405
411
|
productId: string;
|
|
406
|
-
quantity: number;
|
|
407
|
-
unit: string;
|
|
408
412
|
vendorId: string;
|
|
413
|
+
vendorCouponId?: string;
|
|
409
414
|
};
|
|
410
415
|
type CouponDefaultsFormData = {
|
|
411
416
|
couponDescription: string;
|
|
412
417
|
couponOption: CouponOption;
|
|
413
|
-
|
|
418
|
+
couponVendorProducts?: CouponVendorProduct[];
|
|
414
419
|
endDate: Date;
|
|
415
420
|
resourceId: string;
|
|
416
421
|
resourceType: EnumResourceType;
|
|
@@ -429,7 +434,10 @@ type CouponCodeType = {
|
|
|
429
434
|
qrCode: ResourceImageType;
|
|
430
435
|
shareableQrCode: ResourceImageType;
|
|
431
436
|
};
|
|
432
|
-
type CouponDataProductsType =
|
|
437
|
+
type CouponDataProductsType = {
|
|
438
|
+
active: boolean | null;
|
|
439
|
+
couponId: string;
|
|
440
|
+
productsList: VendorProductList[];
|
|
433
441
|
vendorId: string;
|
|
434
442
|
vendorLogo: ResourceImageType | null;
|
|
435
443
|
vendorName: string;
|
|
@@ -440,7 +448,7 @@ type CouponDataType = CouponDefaultsFormData & {
|
|
|
440
448
|
couponCode: CouponCodeType;
|
|
441
449
|
createdAt: Date;
|
|
442
450
|
participantUsers: CouponParticipantUserType[] | null;
|
|
443
|
-
products?: CouponDataProductsType | null;
|
|
451
|
+
products?: CouponDataProductsType[] | null;
|
|
444
452
|
updatedAt: Date | null;
|
|
445
453
|
};
|
|
446
454
|
interface CouponType {
|
|
@@ -799,4 +807,4 @@ interface UseGetResourcesByRegionOptions {
|
|
|
799
807
|
offset?: number;
|
|
800
808
|
}
|
|
801
809
|
|
|
802
|
-
export { type
|
|
810
|
+
export { type CouponParticipantUserType as $, type PostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CreatePostFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CouponDefaultsFormData as H, type CreateCouponFormData as I, type Region as J, type BaseGameMap as K, type LocationType as L, type MutationResponse as M, type BaseGameType as N, type OptionItem as O, type PosterUsageType as P, type BaseResourceType as Q, type RefundPolicy as R, type StallType as S, type CouponCodeType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataProductsType as W, type CouponDataType as X, type CouponMarketPassportOption as Y, type CouponMarketVisitOption as Z, type CouponOption as _, type FormDateField as a, type CouponPurchaseOption as a0, type CouponVendorProduct as a1, type CreateFormData as a2, type DailyClueBaseGame as a3, type DailyClueGameData as a4, type DateTimeType as a5, type DateTimeWithPriceType as a6, type DeviceInfo as a7, EnumCouponListType as a8, EnumCouponQualificationType as a9, type PostResource as aA, type ProductCoupon as aB, type PromoCodeType as aC, type PuzzleAnswer as aD, type PuzzleAnsweredQuestion as aE, type PuzzleBaseGame as aF, type PuzzleGameData as aG, type PuzzleQuestion as aH, type RelatedPostType as aI, type RelationDate as aJ, type RelationInputType as aK, type ResourceContactDetailsType as aL, type ResourceDetails as aM, type ResourceImageType as aN, type SocialMediaType as aO, type SocialShareResourceType as aP, type Subcategory as aQ, type SubcategoryItems as aR, type TermsAgreement as aS, type UnregisteredVendorInvitationType as aT, type VendorAttributes as aU, type VendorCalendarData as aV, type VendorProductList as aW, gameScreenIdentifierList as aX, gameTypeToDisplayName as aY, EnumGameStatus as aa, EnumGameType as ab, EnumPostContentType as ac, type EventStatusType as ad, type GameDate as ae, type GameHistory as af, type GamePlacement as ag, type GamePlacementClue as ah, type GameType as ai, type GeocodeLocation as aj, type GlobalGameData as ak, type ImageObjectType as al, type LocationGeoType as am, type Nullable as an, type OwnerType as ao, PROMO_CODE_PREFIX as ap, type PaymentInfoType as aq, type PostContentData as ar, type PostContentFormData as as, type PostContentGame as at, type PostContentImage as au, type PostContentList as av, type PostContentTextarea as aw, type PostContentType as ax, type PostContentVideo as ay, type PostFileInput as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, EnumPostType as m, type GameLeaderboard as n, type CouponType as o, type CouponTypeList as p, type VendorFormData as q, type CreateVendorFormData as r, type VendorInfoFormData as s, type CreateVendorInfoFormData as t, type UnregisteredVendorFormData as u, type CreateUnregisteredVendorFormData as v, type EventFormData as w, type CreateEventFormData as x, type EventInfoFormData as y, type CreateEventInfoFormData as z };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -4909,17 +4909,18 @@ var COUPON_OPTION_FIELDS_FRAGMENT = import_client78.gql`
|
|
|
4909
4909
|
visits
|
|
4910
4910
|
}
|
|
4911
4911
|
`;
|
|
4912
|
-
var
|
|
4913
|
-
fragment
|
|
4912
|
+
var COUPON_VENDOR_PRODUCT_FIELDS_FRAGMENT = import_client78.gql`
|
|
4913
|
+
fragment CouponVendorProductFields on CouponVendorProductType {
|
|
4914
|
+
couponId
|
|
4914
4915
|
vendorId
|
|
4915
4916
|
productId
|
|
4916
|
-
|
|
4917
|
-
unit
|
|
4917
|
+
vendorCouponId
|
|
4918
4918
|
}
|
|
4919
4919
|
`;
|
|
4920
4920
|
var COUPON_DATA_PRODUCTS_FIELDS_FRAGMENT = import_client78.gql`
|
|
4921
4921
|
fragment CouponDataProductsFields on CouponDataProductsType {
|
|
4922
4922
|
active
|
|
4923
|
+
couponId
|
|
4923
4924
|
productsList {
|
|
4924
4925
|
...VendorProductListFields
|
|
4925
4926
|
}
|
|
@@ -4943,8 +4944,8 @@ var COUPON_DATA_FIELDS_FRAGMENT = import_client78.gql`
|
|
|
4943
4944
|
couponOption {
|
|
4944
4945
|
...CouponOptionFields
|
|
4945
4946
|
}
|
|
4946
|
-
|
|
4947
|
-
...
|
|
4947
|
+
couponVendorProducts {
|
|
4948
|
+
...CouponVendorProductFields
|
|
4948
4949
|
}
|
|
4949
4950
|
createdAt
|
|
4950
4951
|
endDate
|
|
@@ -4962,7 +4963,7 @@ var COUPON_DATA_FIELDS_FRAGMENT = import_client78.gql`
|
|
|
4962
4963
|
${COUPON_CODE_FIELDS_FRAGMENT}
|
|
4963
4964
|
${COUPON_OPTION_FIELDS_FRAGMENT}
|
|
4964
4965
|
${COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT}
|
|
4965
|
-
${
|
|
4966
|
+
${COUPON_VENDOR_PRODUCT_FIELDS_FRAGMENT}
|
|
4966
4967
|
${COUPON_DATA_PRODUCTS_FIELDS_FRAGMENT}
|
|
4967
4968
|
`;
|
|
4968
4969
|
var COUPON = import_client78.gql`
|