@timardex/cluemart-shared 2.2.0 → 2.2.11

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.
Files changed (69) hide show
  1. package/dist/{ad-D0xWGTAB.d.mts → ad-BdPabW-h.d.mts} +2 -2
  2. package/dist/{ad-rrCulESo.d.ts → ad-Ogzb0O0U.d.ts} +2 -2
  3. package/dist/{affiliate-C9eTAxEj.d.ts → affiliate-CxZHVZb2.d.ts} +2 -2
  4. package/dist/{affiliate-CGe0hR-U.d.mts → affiliate-D-L_UtL8.d.mts} +2 -2
  5. package/dist/auth/index.cjs +6 -3
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +5 -4
  8. package/dist/auth/index.d.ts +5 -4
  9. package/dist/auth/index.mjs +5 -3
  10. package/dist/auth/index.mjs.map +1 -1
  11. package/dist/{chunk-T7A7ZG55.mjs → chunk-2DTCLBHT.mjs} +19 -4
  12. package/dist/chunk-2DTCLBHT.mjs.map +1 -0
  13. package/dist/{chunk-OK3BPZYA.mjs → chunk-576YBZYO.mjs} +2 -2
  14. package/dist/{chunk-PIEXGXTD.mjs → chunk-MRBTCICB.mjs} +1 -1
  15. package/dist/chunk-MRBTCICB.mjs.map +1 -0
  16. package/dist/{chunk-KT65YYOB.mjs → chunk-UIG4A4U3.mjs} +15 -11
  17. package/dist/chunk-UIG4A4U3.mjs.map +1 -0
  18. package/dist/{chunk-BTZIWVSF.mjs → chunk-VWGCXGEL.mjs} +3 -3
  19. package/dist/chunk-VWGCXGEL.mjs.map +1 -0
  20. package/dist/{contactUs-Be0zqd9Q.d.ts → contactUs-CR-nghbk.d.ts} +1 -1
  21. package/dist/{contactUs-CQXyz40A.d.mts → contactUs-CwHKoGEt.d.mts} +1 -1
  22. package/dist/formFields/index.cjs.map +1 -1
  23. package/dist/formFields/index.d.mts +1 -1
  24. package/dist/formFields/index.d.ts +1 -1
  25. package/dist/formFields/index.mjs +4 -4
  26. package/dist/{global-CAf04GRC.d.ts → global-B4mmQo6R.d.ts} +25 -7
  27. package/dist/{global-d8RFwoYS.d.mts → global-D1r5ZuQO.d.mts} +25 -7
  28. package/dist/graphql/index.d.mts +5 -5
  29. package/dist/graphql/index.d.ts +5 -5
  30. package/dist/hooks/index.cjs +12 -12
  31. package/dist/hooks/index.cjs.map +1 -1
  32. package/dist/hooks/index.d.mts +5 -5
  33. package/dist/hooks/index.d.ts +5 -5
  34. package/dist/hooks/index.mjs +17 -17
  35. package/dist/hooks/index.mjs.map +1 -1
  36. package/dist/index.cjs +31 -12
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.d.mts +37 -15
  39. package/dist/index.d.ts +37 -15
  40. package/dist/index.mjs +31 -12
  41. package/dist/index.mjs.map +1 -1
  42. package/dist/map/index.d.mts +1 -1
  43. package/dist/map/index.d.ts +1 -1
  44. package/dist/region/index.d.mts +1 -1
  45. package/dist/region/index.d.ts +1 -1
  46. package/dist/{resourceActivities-DO_PjmMN.d.mts → resourceActivities-DUReu_jD.d.mts} +1 -1
  47. package/dist/{resourceActivities-ByCZO0rJ.d.ts → resourceActivities-Uz9uavhK.d.ts} +1 -1
  48. package/dist/sharing/index.cjs +1 -1
  49. package/dist/sharing/index.cjs.map +1 -1
  50. package/dist/sharing/index.d.mts +1 -1
  51. package/dist/sharing/index.d.ts +1 -1
  52. package/dist/sharing/index.mjs +2 -2
  53. package/dist/types/index.cjs.map +1 -1
  54. package/dist/types/index.d.mts +7 -7
  55. package/dist/types/index.d.ts +7 -7
  56. package/dist/types/index.mjs +1 -1
  57. package/dist/{user-BHYl7drL.d.mts → user-BpR-FTW2.d.mts} +1 -1
  58. package/dist/{user-DCqDbTLd.d.ts → user-IR0bHKFb.d.ts} +1 -1
  59. package/dist/utils/index.cjs +30 -11
  60. package/dist/utils/index.cjs.map +1 -1
  61. package/dist/utils/index.d.mts +15 -11
  62. package/dist/utils/index.d.ts +15 -11
  63. package/dist/utils/index.mjs +3 -3
  64. package/package.json +1 -1
  65. package/dist/chunk-BTZIWVSF.mjs.map +0 -1
  66. package/dist/chunk-KT65YYOB.mjs.map +0 -1
  67. package/dist/chunk-PIEXGXTD.mjs.map +0 -1
  68. package/dist/chunk-T7A7ZG55.mjs.map +0 -1
  69. /package/dist/{chunk-OK3BPZYA.mjs.map → chunk-576YBZYO.mjs.map} +0 -0
@@ -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, c as CategoryColorType } from '../global-d8RFwoYS.mjs';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category, c as CategoryColorType } from '../global-D1r5ZuQO.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, c as CategoryColorType } from '../global-CAf04GRC.js';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category, c as CategoryColorType } from '../global-B4mmQo6R.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -42,14 +42,14 @@ import {
42
42
  vendorStallSize,
43
43
  vendorStartDateFields,
44
44
  vendorTable
45
- } from "../chunk-OK3BPZYA.mjs";
45
+ } from "../chunk-576YBZYO.mjs";
46
46
  import {
47
47
  availableCategories,
48
48
  categoryColors
49
- } from "../chunk-KT65YYOB.mjs";
49
+ } from "../chunk-UIG4A4U3.mjs";
50
50
  import "../chunk-RE4NZPYY.mjs";
51
- import "../chunk-T7A7ZG55.mjs";
52
- import "../chunk-PIEXGXTD.mjs";
51
+ import "../chunk-2DTCLBHT.mjs";
52
+ import "../chunk-MRBTCICB.mjs";
53
53
  import "../chunk-RAYUJODN.mjs";
54
54
  import "../chunk-DQ7ZHIXW.mjs";
55
55
  import "../chunk-7DQBUZXY.mjs";
@@ -39,9 +39,12 @@ type StallType = {
39
39
  price: number;
40
40
  stallCapacity: number;
41
41
  };
42
- interface DateTimeWithPriceType extends DateTimeType {
42
+ type DateTimeWithPriceType = DateTimeType & {
43
43
  stallTypes: StallType[];
44
- }
44
+ };
45
+ type DateTimeWithPriceFormValue = DateTimeFormValue & {
46
+ stallTypes: StallType[];
47
+ };
45
48
  type PaymentInfoType = {
46
49
  accountHolderName?: string;
47
50
  accountNumber?: string;
@@ -61,7 +64,7 @@ type RefundPolicy = {
61
64
  interface EventInfoFormData {
62
65
  _id?: string;
63
66
  applicationDeadlineHours: number;
64
- dateTime: DateTimeWithPriceType[];
67
+ dateTime: DateTimeWithPriceFormValue[];
65
68
  eventId: string;
66
69
  packInTime: number;
67
70
  paymentDueHours: number;
@@ -71,7 +74,7 @@ interface EventInfoFormData {
71
74
  }
72
75
  interface EventFormData extends BaseResourceTypeFormData {
73
76
  claimed?: boolean;
74
- dateTime: DateTimeType[];
77
+ dateTime: DateTimeFormValue[];
75
78
  eventType: EnumEventType;
76
79
  googlePlaceId?: string | null;
77
80
  location: LocationType;
@@ -97,9 +100,17 @@ interface EventType extends BaseResourceType {
97
100
  shareRelation?: SocialShareResourceType | null;
98
101
  }
99
102
  type EventListItemType = Omit<EventType, "adIds" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
100
- type EventInfoType = Omit<EventInfoFormData, "_id"> & {
103
+ type EventInfoType = {
101
104
  _id: string;
102
105
  active?: boolean;
106
+ applicationDeadlineHours: number;
107
+ dateTime: DateTimeWithPriceType[];
108
+ eventId: string;
109
+ packInTime: number;
110
+ paymentDueHours: number;
111
+ paymentInfo: PaymentInfoType[];
112
+ refundPolicy: RefundPolicy[];
113
+ requirements?: Requirement[];
103
114
  };
104
115
 
105
116
  declare enum EnumGameType {
@@ -601,7 +612,7 @@ type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
601
612
  };
602
613
  interface UnregisteredVendorFormData {
603
614
  categoryIds: string[];
604
- dateTime: DateTimeType[];
615
+ dateTime: DateTimeFormValue[];
605
616
  email: string;
606
617
  inviterId: string;
607
618
  name: string;
@@ -746,6 +757,13 @@ type DateTimeType = {
746
757
  startDate: string;
747
758
  startTime: string;
748
759
  };
760
+ type DateTimeFormValue = {
761
+ dateStatus: EnumEventDateStatus;
762
+ endDate?: string;
763
+ endTime?: string;
764
+ startDate?: string;
765
+ startTime?: string;
766
+ };
749
767
  type Region = {
750
768
  latitude: number;
751
769
  latitudeDelta: number;
@@ -872,4 +890,4 @@ interface UseGetResourcesByRegionOptions extends PaginationOptions {
872
890
  skip?: boolean;
873
891
  }
874
892
 
875
- 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 VendorAttributes 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 PostContentTextarea as aA, type PostContentType as aB, type PostContentVideo as aC, type PostFileInput as aD, type PostListFilter as aE, type PostResource as aF, type ProductCoupon as aG, type PromoCodeType as aH, type PuzzleAnswer as aI, type PuzzleAnsweredQuestion as aJ, type PuzzleBaseGame as aK, type PuzzleGameData as aL, type PuzzleQuestion as aM, type RelatedPostType as aN, type RelationDate as aO, type RelationInputType as aP, type ResourceContactDetailsType as aQ, type ResourceDetails as aR, type ResourceImageType as aS, type ResourceRelationField as aT, type SocialMediaType as aU, type SocialShareResourceType as aV, type Subcategory as aW, type SubcategoryItems as aX, type TermsAgreement as aY, type UnregisteredVendorInvitationType as aZ, type UserListFilter as a_, EnumGameStatus as aa, EnumGameType as ab, EnumPostContentType as ac, EnumPostType as ad, type EventListFilter as ae, type EventStatusType as af, type GameDate as ag, type GameHistory as ah, type GamePlacement as ai, type GamePlacementClue as aj, type GameType as ak, type GeocodeLocation as al, type GlobalGameData as am, type ImageObjectType as an, type LocationGeoType as ao, type Nullable as ap, type OwnerType as aq, PROMO_CODE_PREFIX as ar, type PaginationOptions as as, type PartnerListFilter as at, type PaymentInfoType as au, type PostContentData as av, type PostContentFormData as aw, type PostContentGame as ax, type PostContentImage as ay, type PostContentList as az, type Requirement as b, type VendorAvailability as b0, type VendorCalendarData as b1, type VendorDowngradeSnapshot as b2, type VendorListFilter as b3, type VendorProductList as b4, gameScreenIdentifierList as b5, gameTypeToDisplayName as b6, type CategoryColorType as c, type EventListItemType as d, type EventInfoType as e, type RelationType as f, type ResourceConnectionsType as g, type UnregisteredVendorType as h, type VendorType as i, type VendorInfoType as j, type MyPendingVendorClaim as k, type UserLicenceType as l, type PostType 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 };
893
+ 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 UnregisteredVendorInvitationType as a$, type CouponPurchaseOption as a0, type CouponVendorProduct as a1, type CreateFormData as a2, type DailyClueBaseGame as a3, type DailyClueGameData as a4, type DateTimeFormValue as a5, type DateTimeType as a6, type DateTimeWithPriceFormValue as a7, type DateTimeWithPriceType as a8, type DeviceInfo as a9, type PostContentImage as aA, type PostContentList as aB, type PostContentTextarea as aC, type PostContentType as aD, type PostContentVideo as aE, type PostFileInput as aF, type PostListFilter as aG, type PostResource as aH, type ProductCoupon as aI, type PromoCodeType as aJ, type PuzzleAnswer as aK, type PuzzleAnsweredQuestion as aL, type PuzzleBaseGame as aM, type PuzzleGameData as aN, type PuzzleQuestion as aO, type RelatedPostType as aP, type RelationDate as aQ, type RelationInputType as aR, type ResourceContactDetailsType as aS, type ResourceDetails as aT, type ResourceImageType as aU, type ResourceRelationField as aV, type SocialMediaType as aW, type SocialShareResourceType as aX, type Subcategory as aY, type SubcategoryItems as aZ, type TermsAgreement as a_, EnumCouponListType as aa, EnumCouponQualificationType as ab, EnumGameStatus as ac, EnumGameType as ad, EnumPostContentType as ae, EnumPostType as af, type EventListFilter as ag, type EventStatusType as ah, type GameDate as ai, type GameHistory as aj, type GamePlacement as ak, type GamePlacementClue as al, type GameType as am, type GeocodeLocation as an, type GlobalGameData as ao, type ImageObjectType as ap, type LocationGeoType as aq, type Nullable as ar, type OwnerType as as, PROMO_CODE_PREFIX as at, type PaginationOptions as au, type PartnerListFilter as av, type PaymentInfoType as aw, type PostContentData as ax, type PostContentFormData as ay, type PostContentGame as az, type Requirement as b, type UserListFilter as b0, type VendorAttributes as b1, type VendorAvailability as b2, type VendorCalendarData as b3, type VendorDowngradeSnapshot as b4, type VendorListFilter as b5, type VendorProductList as b6, gameScreenIdentifierList as b7, gameTypeToDisplayName as b8, type CategoryColorType as c, type EventListItemType as d, type EventInfoType as e, type RelationType as f, type ResourceConnectionsType as g, type UnregisteredVendorType as h, type VendorType as i, type VendorInfoType as j, type MyPendingVendorClaim as k, type UserLicenceType as l, type PostType 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 };
@@ -39,9 +39,12 @@ type StallType = {
39
39
  price: number;
40
40
  stallCapacity: number;
41
41
  };
42
- interface DateTimeWithPriceType extends DateTimeType {
42
+ type DateTimeWithPriceType = DateTimeType & {
43
43
  stallTypes: StallType[];
44
- }
44
+ };
45
+ type DateTimeWithPriceFormValue = DateTimeFormValue & {
46
+ stallTypes: StallType[];
47
+ };
45
48
  type PaymentInfoType = {
46
49
  accountHolderName?: string;
47
50
  accountNumber?: string;
@@ -61,7 +64,7 @@ type RefundPolicy = {
61
64
  interface EventInfoFormData {
62
65
  _id?: string;
63
66
  applicationDeadlineHours: number;
64
- dateTime: DateTimeWithPriceType[];
67
+ dateTime: DateTimeWithPriceFormValue[];
65
68
  eventId: string;
66
69
  packInTime: number;
67
70
  paymentDueHours: number;
@@ -71,7 +74,7 @@ interface EventInfoFormData {
71
74
  }
72
75
  interface EventFormData extends BaseResourceTypeFormData {
73
76
  claimed?: boolean;
74
- dateTime: DateTimeType[];
77
+ dateTime: DateTimeFormValue[];
75
78
  eventType: EnumEventType;
76
79
  googlePlaceId?: string | null;
77
80
  location: LocationType;
@@ -97,9 +100,17 @@ interface EventType extends BaseResourceType {
97
100
  shareRelation?: SocialShareResourceType | null;
98
101
  }
99
102
  type EventListItemType = Omit<EventType, "adIds" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
100
- type EventInfoType = Omit<EventInfoFormData, "_id"> & {
103
+ type EventInfoType = {
101
104
  _id: string;
102
105
  active?: boolean;
106
+ applicationDeadlineHours: number;
107
+ dateTime: DateTimeWithPriceType[];
108
+ eventId: string;
109
+ packInTime: number;
110
+ paymentDueHours: number;
111
+ paymentInfo: PaymentInfoType[];
112
+ refundPolicy: RefundPolicy[];
113
+ requirements?: Requirement[];
103
114
  };
104
115
 
105
116
  declare enum EnumGameType {
@@ -601,7 +612,7 @@ type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
601
612
  };
602
613
  interface UnregisteredVendorFormData {
603
614
  categoryIds: string[];
604
- dateTime: DateTimeType[];
615
+ dateTime: DateTimeFormValue[];
605
616
  email: string;
606
617
  inviterId: string;
607
618
  name: string;
@@ -746,6 +757,13 @@ type DateTimeType = {
746
757
  startDate: string;
747
758
  startTime: string;
748
759
  };
760
+ type DateTimeFormValue = {
761
+ dateStatus: EnumEventDateStatus;
762
+ endDate?: string;
763
+ endTime?: string;
764
+ startDate?: string;
765
+ startTime?: string;
766
+ };
749
767
  type Region = {
750
768
  latitude: number;
751
769
  latitudeDelta: number;
@@ -872,4 +890,4 @@ interface UseGetResourcesByRegionOptions extends PaginationOptions {
872
890
  skip?: boolean;
873
891
  }
874
892
 
875
- 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 VendorAttributes 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 PostContentTextarea as aA, type PostContentType as aB, type PostContentVideo as aC, type PostFileInput as aD, type PostListFilter as aE, type PostResource as aF, type ProductCoupon as aG, type PromoCodeType as aH, type PuzzleAnswer as aI, type PuzzleAnsweredQuestion as aJ, type PuzzleBaseGame as aK, type PuzzleGameData as aL, type PuzzleQuestion as aM, type RelatedPostType as aN, type RelationDate as aO, type RelationInputType as aP, type ResourceContactDetailsType as aQ, type ResourceDetails as aR, type ResourceImageType as aS, type ResourceRelationField as aT, type SocialMediaType as aU, type SocialShareResourceType as aV, type Subcategory as aW, type SubcategoryItems as aX, type TermsAgreement as aY, type UnregisteredVendorInvitationType as aZ, type UserListFilter as a_, EnumGameStatus as aa, EnumGameType as ab, EnumPostContentType as ac, EnumPostType as ad, type EventListFilter as ae, type EventStatusType as af, type GameDate as ag, type GameHistory as ah, type GamePlacement as ai, type GamePlacementClue as aj, type GameType as ak, type GeocodeLocation as al, type GlobalGameData as am, type ImageObjectType as an, type LocationGeoType as ao, type Nullable as ap, type OwnerType as aq, PROMO_CODE_PREFIX as ar, type PaginationOptions as as, type PartnerListFilter as at, type PaymentInfoType as au, type PostContentData as av, type PostContentFormData as aw, type PostContentGame as ax, type PostContentImage as ay, type PostContentList as az, type Requirement as b, type VendorAvailability as b0, type VendorCalendarData as b1, type VendorDowngradeSnapshot as b2, type VendorListFilter as b3, type VendorProductList as b4, gameScreenIdentifierList as b5, gameTypeToDisplayName as b6, type CategoryColorType as c, type EventListItemType as d, type EventInfoType as e, type RelationType as f, type ResourceConnectionsType as g, type UnregisteredVendorType as h, type VendorType as i, type VendorInfoType as j, type MyPendingVendorClaim as k, type UserLicenceType as l, type PostType 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 };
893
+ 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 UnregisteredVendorInvitationType as a$, type CouponPurchaseOption as a0, type CouponVendorProduct as a1, type CreateFormData as a2, type DailyClueBaseGame as a3, type DailyClueGameData as a4, type DateTimeFormValue as a5, type DateTimeType as a6, type DateTimeWithPriceFormValue as a7, type DateTimeWithPriceType as a8, type DeviceInfo as a9, type PostContentImage as aA, type PostContentList as aB, type PostContentTextarea as aC, type PostContentType as aD, type PostContentVideo as aE, type PostFileInput as aF, type PostListFilter as aG, type PostResource as aH, type ProductCoupon as aI, type PromoCodeType as aJ, type PuzzleAnswer as aK, type PuzzleAnsweredQuestion as aL, type PuzzleBaseGame as aM, type PuzzleGameData as aN, type PuzzleQuestion as aO, type RelatedPostType as aP, type RelationDate as aQ, type RelationInputType as aR, type ResourceContactDetailsType as aS, type ResourceDetails as aT, type ResourceImageType as aU, type ResourceRelationField as aV, type SocialMediaType as aW, type SocialShareResourceType as aX, type Subcategory as aY, type SubcategoryItems as aZ, type TermsAgreement as a_, EnumCouponListType as aa, EnumCouponQualificationType as ab, EnumGameStatus as ac, EnumGameType as ad, EnumPostContentType as ae, EnumPostType as af, type EventListFilter as ag, type EventStatusType as ah, type GameDate as ai, type GameHistory as aj, type GamePlacement as ak, type GamePlacementClue as al, type GameType as am, type GeocodeLocation as an, type GlobalGameData as ao, type ImageObjectType as ap, type LocationGeoType as aq, type Nullable as ar, type OwnerType as as, PROMO_CODE_PREFIX as at, type PaginationOptions as au, type PartnerListFilter as av, type PaymentInfoType as aw, type PostContentData as ax, type PostContentFormData as ay, type PostContentGame as az, type Requirement as b, type UserListFilter as b0, type VendorAttributes as b1, type VendorAvailability as b2, type VendorCalendarData as b3, type VendorDowngradeSnapshot as b4, type VendorListFilter as b5, type VendorProductList as b6, gameScreenIdentifierList as b7, gameTypeToDisplayName as b8, type CategoryColorType as c, type EventListItemType as d, type EventInfoType as e, type RelationType as f, type ResourceConnectionsType as g, type UnregisteredVendorType as h, type VendorType as i, type VendorInfoType as j, type MyPendingVendorClaim as k, type UserLicenceType as l, type PostType 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 };
@@ -1,13 +1,13 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
3
3
  import { DocumentNode } from 'graphql';
4
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DO_PjmMN.mjs';
5
- import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-d8RFwoYS.mjs';
6
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-BHYl7drL.mjs';
7
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdShowOn, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-D0xWGTAB.mjs';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DUReu_jD.mjs';
5
+ import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-D1r5ZuQO.mjs';
6
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-BpR-FTW2.mjs';
7
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdShowOn, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-BdPabW-h.mjs';
8
8
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
9
9
  import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
10
- import { A as AffiliateType } from '../affiliate-CGe0hR-U.mjs';
10
+ import { A as AffiliateType } from '../affiliate-D-L_UtL8.mjs';
11
11
  import 'react-hook-form';
12
12
  import '../images/index.mjs';
13
13
 
@@ -1,13 +1,13 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
3
3
  import { DocumentNode } from 'graphql';
4
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-ByCZO0rJ.js';
5
- import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-CAf04GRC.js';
6
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-DCqDbTLd.js';
7
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdShowOn, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-rrCulESo.js';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-Uz9uavhK.js';
5
+ import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-B4mmQo6R.js';
6
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-IR0bHKFb.js';
7
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdShowOn, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-Ogzb0O0U.js';
8
8
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
9
9
  import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
10
- import { A as AffiliateType } from '../affiliate-C9eTAxEj.js';
10
+ import { A as AffiliateType } from '../affiliate-CxZHVZb2.js';
11
11
  import 'react-hook-form';
12
12
  import '../images/index.js';
13
13
 
@@ -1906,25 +1906,25 @@ var startTimeCannotBeInPastTest = yup.string().test(
1906
1906
  );
1907
1907
  var dateTimeSchema = yup.object().shape({
1908
1908
  dateStatus: yup.mixed().oneOf(Object.values(EnumEventDateStatus)).required("Date status is required"),
1909
- endDate: yup.string().label("End Date").defined().when("dateStatus", {
1909
+ endDate: yup.string().label("End Date").when("dateStatus", {
1910
1910
  is: (status) => status !== "Canceled" /* CANCELED */,
1911
- then: () => yup.string().label("End Date").concat(endDateNotInPastTest).concat(endDateAfterStartDateTest).required("End date is required"),
1912
- otherwise: () => yup.string().label("End Date").defined()
1911
+ then: (schema) => schema.concat(endDateNotInPastTest).concat(endDateAfterStartDateTest).required("End date is required"),
1912
+ otherwise: (schema) => schema.notRequired()
1913
1913
  }),
1914
- endTime: yup.string().label("End Time").defined().when("dateStatus", {
1914
+ endTime: yup.string().label("End Time").when("dateStatus", {
1915
1915
  is: (status) => status !== "Canceled" /* CANCELED */,
1916
- then: () => yup.string().label("End Time").concat(endTimeMustBeAfterStartTimeTest).required("End time is required"),
1917
- otherwise: () => yup.string().label("End Time").defined()
1916
+ then: (schema) => schema.concat(endTimeMustBeAfterStartTimeTest).required("End time is required"),
1917
+ otherwise: (schema) => schema.notRequired()
1918
1918
  }),
1919
- startDate: yup.string().label("Start Date").defined().when("dateStatus", {
1919
+ startDate: yup.string().label("Start Date").when("dateStatus", {
1920
1920
  is: (status) => status !== "Canceled" /* CANCELED */,
1921
- then: () => yup.string().label("Start Date").concat(startDateNotInPastTest).required("Start date is required"),
1922
- otherwise: () => yup.string().label("Start Date").defined()
1921
+ then: (schema) => schema.concat(startDateNotInPastTest).required("Start date is required"),
1922
+ otherwise: (schema) => schema.notRequired()
1923
1923
  }),
1924
- startTime: yup.string().label("Start Time").defined().when("dateStatus", {
1924
+ startTime: yup.string().label("Start Time").when("dateStatus", {
1925
1925
  is: (status) => status !== "Canceled" /* CANCELED */,
1926
- then: () => yup.string().label("Start Time").concat(startTimeCannotBeInPastTest).required("Start time is required"),
1927
- otherwise: () => yup.string().label("Start Time").defined()
1926
+ then: (schema) => schema.concat(startTimeCannotBeInPastTest).required("Start time is required"),
1927
+ otherwise: (schema) => schema.notRequired()
1928
1928
  })
1929
1929
  });
1930
1930
  var stallTypesSchema = yup.object({