@timardex/cluemart-shared 2.0.6 → 2.0.7

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 (31) hide show
  1. package/dist/{ad-Ml6JLDtb.d.ts → ad-C7_aLSAO.d.ts} +2 -2
  2. package/dist/{ad-Bl41gZFW.d.mts → ad-Cq1luH63.d.mts} +2 -2
  3. package/dist/{affiliate-D8qswrxx.d.mts → affiliate-DKe3AD5n.d.mts} +2 -2
  4. package/dist/{affiliate-2Zn__2pW.d.ts → affiliate-zbXziTPJ.d.ts} +2 -2
  5. package/dist/auth/index.d.mts +3 -3
  6. package/dist/auth/index.d.ts +3 -3
  7. package/dist/{contactUs-CBOZIzN5.d.ts → contactUs-CvqdtHsZ.d.ts} +1 -1
  8. package/dist/{contactUs-C7Hw6YZN.d.mts → contactUs-vn3N0CGS.d.mts} +1 -1
  9. package/dist/formFields/index.d.mts +1 -1
  10. package/dist/formFields/index.d.ts +1 -1
  11. package/dist/{global-BqIR-z_C.d.ts → global-ABvdHwPj.d.ts} +8 -4
  12. package/dist/{global-BxFdMMkh.d.mts → global-BGqjRZ1G.d.mts} +8 -4
  13. package/dist/graphql/index.d.mts +5 -5
  14. package/dist/graphql/index.d.ts +5 -5
  15. package/dist/hooks/index.d.mts +5 -5
  16. package/dist/hooks/index.d.ts +5 -5
  17. package/dist/index.d.mts +8 -4
  18. package/dist/index.d.ts +8 -4
  19. package/dist/map/index.d.mts +1 -1
  20. package/dist/map/index.d.ts +1 -1
  21. package/dist/{resourceActivities-DwS8U2fN.d.ts → resourceActivities-CpDYuKZb.d.ts} +1 -1
  22. package/dist/{resourceActivities-DqUCcXTK.d.mts → resourceActivities-DmhGEr1E.d.mts} +1 -1
  23. package/dist/sharing/index.d.mts +1 -1
  24. package/dist/sharing/index.d.ts +1 -1
  25. package/dist/types/index.d.mts +7 -7
  26. package/dist/types/index.d.ts +7 -7
  27. package/dist/{user-CvSm0lyx.d.ts → user-B6YLX1c5.d.ts} +1 -1
  28. package/dist/{user-fRt7t5v0.d.mts → user-NPmlt_Zx.d.mts} +1 -1
  29. package/dist/utils/index.d.mts +3 -3
  30. package/dist/utils/index.d.ts +3 -3
  31. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { EnumPartnerType, EnumResourceType, EnumOSPlatform } from './enums/index.js';
2
- import { N as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aM as ResourceContactDetailsType, aO as ResourceImageType, aP as SocialMediaType, aT as TermsAgreement, ao as OwnerType, aD as PromoCodeType, M as MutationResponse } from './global-BqIR-z_C.js';
2
+ import { N as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aM as ResourceContactDetailsType, aO as ResourceImageType, aP as SocialMediaType, aT as TermsAgreement, ao as OwnerType, aD as PromoCodeType, M as MutationResponse } from './global-ABvdHwPj.js';
3
3
  import { PosterAssetId } from './images/index.js';
4
- import { S as SafeUserType, e as UserFormData } from './user-CvSm0lyx.js';
4
+ import { S as SafeUserType, e as UserFormData } from './user-B6YLX1c5.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 { N as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aM as ResourceContactDetailsType, aO as ResourceImageType, aP as SocialMediaType, aT as TermsAgreement, ao as OwnerType, aD as PromoCodeType, M as MutationResponse } from './global-BxFdMMkh.mjs';
2
+ import { N as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, a1 as CreateFormData, aM as ResourceContactDetailsType, aO as ResourceImageType, aP as SocialMediaType, aT as TermsAgreement, ao as OwnerType, aD as PromoCodeType, M as MutationResponse } from './global-BGqjRZ1G.mjs';
3
3
  import { PosterAssetId } from './images/index.mjs';
4
- import { S as SafeUserType, e as UserFormData } from './user-fRt7t5v0.mjs';
4
+ import { S as SafeUserType, e as UserFormData } from './user-NPmlt_Zx.mjs';
5
5
 
6
6
  interface PartnerFormData extends BaseResourceTypeFormData {
7
7
  location: LocationType;
@@ -1,6 +1,6 @@
1
1
  import { EnumResourceType } from './enums/index.mjs';
2
- import { aD as PromoCodeType, L as LocationType, aP as SocialMediaType, ao as OwnerType, a1 as CreateFormData } from './global-BxFdMMkh.mjs';
3
- import { e as UserFormData } from './user-fRt7t5v0.mjs';
2
+ import { aD as PromoCodeType, L as LocationType, aP as SocialMediaType, ao as OwnerType, a1 as CreateFormData } from './global-BGqjRZ1G.mjs';
3
+ import { e as UserFormData } from './user-NPmlt_Zx.mjs';
4
4
 
5
5
  declare enum EnumAffiliateParticipantType {
6
6
  INDIVIDUAL = "INDIVIDUAL",
@@ -1,6 +1,6 @@
1
1
  import { EnumResourceType } from './enums/index.js';
2
- import { aD as PromoCodeType, L as LocationType, aP as SocialMediaType, ao as OwnerType, a1 as CreateFormData } from './global-BqIR-z_C.js';
3
- import { e as UserFormData } from './user-CvSm0lyx.js';
2
+ import { aD as PromoCodeType, L as LocationType, aP as SocialMediaType, ao as OwnerType, a1 as CreateFormData } from './global-ABvdHwPj.js';
3
+ import { e as UserFormData } from './user-B6YLX1c5.js';
4
4
 
5
5
  declare enum EnumAffiliateParticipantType {
6
6
  INDIVIDUAL = "INDIVIDUAL",
@@ -1,9 +1,9 @@
1
1
  import { EnumUserRole, EnumResourceType, EnumUserLicence } from '../enums/index.mjs';
2
- import { P as Permission, S as SafeUserType } from '../user-fRt7t5v0.mjs';
3
- export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-fRt7t5v0.mjs';
2
+ import { P as Permission, S as SafeUserType } from '../user-NPmlt_Zx.mjs';
3
+ export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-NPmlt_Zx.mjs';
4
4
  import { T as Tier } from '../subscription-bmAdrnfi.mjs';
5
5
  import React, { ReactNode } from 'react';
6
- import '../global-BxFdMMkh.mjs';
6
+ import '../global-BGqjRZ1G.mjs';
7
7
  import 'react-hook-form';
8
8
 
9
9
  type AuthManager = {
@@ -1,9 +1,9 @@
1
1
  import { EnumUserRole, EnumResourceType, EnumUserLicence } from '../enums/index.js';
2
- import { P as Permission, S as SafeUserType } from '../user-CvSm0lyx.js';
3
- export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-CvSm0lyx.js';
2
+ import { P as Permission, S as SafeUserType } from '../user-B6YLX1c5.js';
3
+ export { a as PERMISSIONS, W as WILDCARD_PERMISSION } from '../user-B6YLX1c5.js';
4
4
  import { T as Tier } from '../subscription-BU8GvH2K.js';
5
5
  import React, { ReactNode } from 'react';
6
- import '../global-BqIR-z_C.js';
6
+ import '../global-ABvdHwPj.js';
7
7
  import 'react-hook-form';
8
8
 
9
9
  type AuthManager = {
@@ -1,4 +1,4 @@
1
- import { a1 as CreateFormData } from './global-BqIR-z_C.js';
1
+ import { a1 as CreateFormData } from './global-ABvdHwPj.js';
2
2
 
3
3
  type ContactUsFormData = {
4
4
  email: string;
@@ -1,4 +1,4 @@
1
- import { a1 as CreateFormData } from './global-BxFdMMkh.mjs';
1
+ import { a1 as CreateFormData } from './global-BGqjRZ1G.mjs';
2
2
 
3
3
  type ContactUsFormData = {
4
4
  email: string;
@@ -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-BxFdMMkh.mjs';
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-BGqjRZ1G.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-BqIR-z_C.js';
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-ABvdHwPj.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -571,16 +571,20 @@ type VendorAvailability = {
571
571
  corporate: boolean;
572
572
  };
573
573
  type VendorDowngradeSnapshot = {
574
- availability: VendorAvailability;
575
- calendarActive: boolean;
576
- productsActive: boolean;
574
+ availability?: VendorAvailability;
575
+ calendarActive?: boolean | null;
576
+ productsActive?: boolean | null;
577
577
  };
578
578
  interface VendorType extends BaseResourceType {
579
579
  availability?: VendorAvailability;
580
580
  claimed: boolean;
581
581
  calendar: VendorFormData["calendar"] | null;
582
582
  categories: VendorFormData["categories"];
583
- /** Only used (for now) in `downgradeVendorProFeatures`. */
583
+ /**
584
+ * Snapshot of licence-gated fields captured when a vendor is downgraded to
585
+ * STANDARD_VENDOR, used to restore the vendor's own configuration on a later
586
+ * PRO upgrade (see downgradeVendorProFeatures / restoreVendorProFeatures).
587
+ */
584
588
  downgradeSnapshot?: VendorDowngradeSnapshot | null;
585
589
  foodTruck: boolean;
586
590
  products: VendorFormData["products"] | null;
@@ -571,16 +571,20 @@ type VendorAvailability = {
571
571
  corporate: boolean;
572
572
  };
573
573
  type VendorDowngradeSnapshot = {
574
- availability: VendorAvailability;
575
- calendarActive: boolean;
576
- productsActive: boolean;
574
+ availability?: VendorAvailability;
575
+ calendarActive?: boolean | null;
576
+ productsActive?: boolean | null;
577
577
  };
578
578
  interface VendorType extends BaseResourceType {
579
579
  availability?: VendorAvailability;
580
580
  claimed: boolean;
581
581
  calendar: VendorFormData["calendar"] | null;
582
582
  categories: VendorFormData["categories"];
583
- /** Only used (for now) in `downgradeVendorProFeatures`. */
583
+ /**
584
+ * Snapshot of licence-gated fields captured when a vendor is downgraded to
585
+ * STANDARD_VENDOR, used to restore the vendor's own configuration on a later
586
+ * PRO upgrade (see downgradeVendorProFeatures / restoreVendorProFeatures).
587
+ */
584
588
  downgradeSnapshot?: VendorDowngradeSnapshot | null;
585
589
  foodTruck: boolean;
586
590
  products: VendorFormData["products"] | null;
@@ -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-DqUCcXTK.mjs';
5
- 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, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-BxFdMMkh.mjs';
6
- 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-Bl41gZFW.mjs';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DmhGEr1E.mjs';
5
+ 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, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-BGqjRZ1G.mjs';
6
+ 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-Cq1luH63.mjs';
7
7
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
8
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-fRt7t5v0.mjs';
8
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-NPmlt_Zx.mjs';
9
9
  import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
10
- import { A as AffiliateType } from '../affiliate-D8qswrxx.mjs';
10
+ import { A as AffiliateType } from '../affiliate-DKe3AD5n.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-DwS8U2fN.js';
5
- 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, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-BqIR-z_C.js';
6
- 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-Ml6JLDtb.js';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-CpDYuKZb.js';
5
+ 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, G as GameDocType, m as GameLeaderboard, n as CouponType, o as CouponTypeList } from '../global-ABvdHwPj.js';
6
+ 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-C7_aLSAO.js';
7
7
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
8
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-CvSm0lyx.js';
8
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-B6YLX1c5.js';
9
9
  import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
10
- import { A as AffiliateType } from '../affiliate-2Zn__2pW.js';
10
+ import { A as AffiliateType } from '../affiliate-zbXziTPJ.js';
11
11
  import 'react-hook-form';
12
12
  import '../images/index.js';
13
13
 
@@ -1,8 +1,8 @@
1
- import { L as LocationType, p as VendorFormData, q as CreateVendorFormData, r as VendorInfoFormData, s as CreateVendorInfoFormData, t as UnregisteredVendorFormData, u as CreateUnregisteredVendorFormData, v as EventFormData, w as CreateEventFormData, x as EventInfoFormData, y as CreateEventInfoFormData, B as BaseResourceTypeFormData, z as PostFormData, A as CreatePostFormData, D as CouponDefaultsFormData, H as CreateCouponFormData } from '../global-BxFdMMkh.mjs';
2
- import { e as UserFormData, C as CreateUserFormData } from '../user-fRt7t5v0.mjs';
3
- import { C as CreateLoginFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, f as CreateValidateVerificationTokenFormData, g as CreateResetPasswordFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormState, k as CreatePartnerFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData, n as SchoolFormData, o as CreateSchoolFormData } from '../ad-Bl41gZFW.mjs';
4
- import { a as AffiliateFormData, A as AffiliateType, C as CreateAffiliateFormData } from '../affiliate-D8qswrxx.mjs';
5
- import { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-C7Hw6YZN.mjs';
1
+ import { L as LocationType, p as VendorFormData, q as CreateVendorFormData, r as VendorInfoFormData, s as CreateVendorInfoFormData, t as UnregisteredVendorFormData, u as CreateUnregisteredVendorFormData, v as EventFormData, w as CreateEventFormData, x as EventInfoFormData, y as CreateEventInfoFormData, B as BaseResourceTypeFormData, z as PostFormData, A as CreatePostFormData, D as CouponDefaultsFormData, H as CreateCouponFormData } from '../global-BGqjRZ1G.mjs';
2
+ import { e as UserFormData, C as CreateUserFormData } from '../user-NPmlt_Zx.mjs';
3
+ import { C as CreateLoginFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, f as CreateValidateVerificationTokenFormData, g as CreateResetPasswordFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormState, k as CreatePartnerFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData, n as SchoolFormData, o as CreateSchoolFormData } from '../ad-Cq1luH63.mjs';
4
+ import { a as AffiliateFormData, A as AffiliateType, C as CreateAffiliateFormData } from '../affiliate-DKe3AD5n.mjs';
5
+ import { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-vn3N0CGS.mjs';
6
6
  import 'react-hook-form';
7
7
  import '../enums/index.mjs';
8
8
  import '../images/index.mjs';
@@ -1,8 +1,8 @@
1
- import { L as LocationType, p as VendorFormData, q as CreateVendorFormData, r as VendorInfoFormData, s as CreateVendorInfoFormData, t as UnregisteredVendorFormData, u as CreateUnregisteredVendorFormData, v as EventFormData, w as CreateEventFormData, x as EventInfoFormData, y as CreateEventInfoFormData, B as BaseResourceTypeFormData, z as PostFormData, A as CreatePostFormData, D as CouponDefaultsFormData, H as CreateCouponFormData } from '../global-BqIR-z_C.js';
2
- import { e as UserFormData, C as CreateUserFormData } from '../user-CvSm0lyx.js';
3
- import { C as CreateLoginFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, f as CreateValidateVerificationTokenFormData, g as CreateResetPasswordFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormState, k as CreatePartnerFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData, n as SchoolFormData, o as CreateSchoolFormData } from '../ad-Ml6JLDtb.js';
4
- import { a as AffiliateFormData, A as AffiliateType, C as CreateAffiliateFormData } from '../affiliate-2Zn__2pW.js';
5
- import { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-CBOZIzN5.js';
1
+ import { L as LocationType, p as VendorFormData, q as CreateVendorFormData, r as VendorInfoFormData, s as CreateVendorInfoFormData, t as UnregisteredVendorFormData, u as CreateUnregisteredVendorFormData, v as EventFormData, w as CreateEventFormData, x as EventInfoFormData, y as CreateEventInfoFormData, B as BaseResourceTypeFormData, z as PostFormData, A as CreatePostFormData, D as CouponDefaultsFormData, H as CreateCouponFormData } from '../global-ABvdHwPj.js';
2
+ import { e as UserFormData, C as CreateUserFormData } from '../user-B6YLX1c5.js';
3
+ import { C as CreateLoginFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, f as CreateValidateVerificationTokenFormData, g as CreateResetPasswordFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormState, k as CreatePartnerFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData, n as SchoolFormData, o as CreateSchoolFormData } from '../ad-C7_aLSAO.js';
4
+ import { a as AffiliateFormData, A as AffiliateType, C as CreateAffiliateFormData } from '../affiliate-zbXziTPJ.js';
5
+ import { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-CvqdtHsZ.js';
6
6
  import 'react-hook-form';
7
7
  import '../enums/index.js';
8
8
  import '../images/index.js';
package/dist/index.d.mts CHANGED
@@ -807,16 +807,20 @@ type VendorAvailability = {
807
807
  corporate: boolean;
808
808
  };
809
809
  type VendorDowngradeSnapshot = {
810
- availability: VendorAvailability;
811
- calendarActive: boolean;
812
- productsActive: boolean;
810
+ availability?: VendorAvailability;
811
+ calendarActive?: boolean | null;
812
+ productsActive?: boolean | null;
813
813
  };
814
814
  interface VendorType extends BaseResourceType {
815
815
  availability?: VendorAvailability;
816
816
  claimed: boolean;
817
817
  calendar: VendorFormData["calendar"] | null;
818
818
  categories: VendorFormData["categories"];
819
- /** Only used (for now) in `downgradeVendorProFeatures`. */
819
+ /**
820
+ * Snapshot of licence-gated fields captured when a vendor is downgraded to
821
+ * STANDARD_VENDOR, used to restore the vendor's own configuration on a later
822
+ * PRO upgrade (see downgradeVendorProFeatures / restoreVendorProFeatures).
823
+ */
820
824
  downgradeSnapshot?: VendorDowngradeSnapshot | null;
821
825
  foodTruck: boolean;
822
826
  products: VendorFormData["products"] | null;
package/dist/index.d.ts CHANGED
@@ -807,16 +807,20 @@ type VendorAvailability = {
807
807
  corporate: boolean;
808
808
  };
809
809
  type VendorDowngradeSnapshot = {
810
- availability: VendorAvailability;
811
- calendarActive: boolean;
812
- productsActive: boolean;
810
+ availability?: VendorAvailability;
811
+ calendarActive?: boolean | null;
812
+ productsActive?: boolean | null;
813
813
  };
814
814
  interface VendorType extends BaseResourceType {
815
815
  availability?: VendorAvailability;
816
816
  claimed: boolean;
817
817
  calendar: VendorFormData["calendar"] | null;
818
818
  categories: VendorFormData["categories"];
819
- /** Only used (for now) in `downgradeVendorProFeatures`. */
819
+ /**
820
+ * Snapshot of licence-gated fields captured when a vendor is downgraded to
821
+ * STANDARD_VENDOR, used to restore the vendor's own configuration on a later
822
+ * PRO upgrade (see downgradeVendorProFeatures / restoreVendorProFeatures).
823
+ */
820
824
  downgradeSnapshot?: VendorDowngradeSnapshot | null;
821
825
  foodTruck: boolean;
822
826
  products: VendorFormData["products"] | null;
@@ -1,4 +1,4 @@
1
- import { I as Region } from '../global-BxFdMMkh.mjs';
1
+ import { I as Region } from '../global-BGqjRZ1G.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { I as Region } from '../global-BqIR-z_C.js';
1
+ import { I as Region } from '../global-ABvdHwPj.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { EnumResourceType, EnumChatType, EnumChatReportReason, EnumNotificationType, EnumNotificationResourceType, EnumEventDateStatus, EnumOSPlatform } from './enums/index.js';
2
- import { am as LocationGeoType } from './global-BqIR-z_C.js';
2
+ import { am as LocationGeoType } from './global-ABvdHwPj.js';
3
3
 
4
4
  interface AdminUpdateResourceType {
5
5
  active: boolean;
@@ -1,5 +1,5 @@
1
1
  import { EnumResourceType, EnumChatType, EnumChatReportReason, EnumNotificationType, EnumNotificationResourceType, EnumEventDateStatus, EnumOSPlatform } from './enums/index.mjs';
2
- import { am as LocationGeoType } from './global-BxFdMMkh.mjs';
2
+ import { am as LocationGeoType } from './global-BGqjRZ1G.mjs';
3
3
 
4
4
  interface AdminUpdateResourceType {
5
5
  active: boolean;
@@ -1,4 +1,4 @@
1
- import { E as EventType, x as EventInfoFormData, h as VendorType, r as VendorInfoFormData, S as StallType, C as Category } from '../global-BxFdMMkh.mjs';
1
+ import { E as EventType, x as EventInfoFormData, h as VendorType, r as VendorInfoFormData, S as StallType, C as Category } from '../global-BGqjRZ1G.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { E as EventType, x as EventInfoFormData, h as VendorType, r as VendorInfoFormData, S as StallType, C as Category } from '../global-BqIR-z_C.js';
1
+ import { E as EventType, x as EventInfoFormData, h as VendorType, r as VendorInfoFormData, S as StallType, C as Category } from '../global-ABvdHwPj.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -1,13 +1,13 @@
1
- export { A as AdminUpdateResourceType, c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, i as NotificationDataType, N as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-DqUCcXTK.mjs';
2
- export { i as AdFormData, p as AdFormState, q as AdResource, a as AdType, l as AppSettingsFormData, b as AppSettingsType, A as AuthMutationResponse, r as AuthPayloadType, s as CreateAdFormData, j as CreateAdFormState, m as CreateAppSettingsFormData, C as CreateLoginFormData, k as CreatePartnerFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, g as CreateResetPasswordFormData, o as CreateSchoolFormData, f as CreateValidateVerificationTokenFormData, t as EnumAdShowOn, E as EnumAdStatus, u as EnumAdStyle, v as EnumAdType, w as EnumVerificationType, L as LoginFormData, M as MarketingMaterialRequestInputType, h as PartnerFormData, P as PartnerType, x as PosterInputType, R as RefreshTokenMutationResponse, y as RefreshTokenPayloadType, z as RegisterFormData, B as RequestPasswordResetFormData, D as ResetPasswordFormData, F as SchoolCampaignType, n as SchoolFormData, G as SchoolRegisteredUserType, c as SchoolReturnType, S as SchoolType, V as ValidateVerificationTokenFormData } from '../ad-Bl41gZFW.mjs';
3
- export { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-C7Hw6YZN.mjs';
4
- import { c as EventListItemType } from '../global-BxFdMMkh.mjs';
5
- export { J as BaseGameMap, K as BaseGameType, N as BaseResourceType, B as BaseResourceTypeFormData, C as Category, Q as CouponCodeType, T as CouponDataProductsType, W as CouponDataType, D as CouponDefaultsFormData, X as CouponMarketPassportOption, Y as CouponMarketVisitOption, Z as CouponOption, _ as CouponParticipantUserType, $ as CouponPurchaseOption, n as CouponType, o as CouponTypeList, a0 as CouponVendorProduct, H as CreateCouponFormData, w as CreateEventFormData, y as CreateEventInfoFormData, a1 as CreateFormData, A as CreatePostFormData, u as CreateUnregisteredVendorFormData, q as CreateVendorFormData, s as CreateVendorInfoFormData, a2 as DailyClueBaseGame, a3 as DailyClueGameData, a4 as DateTimeType, a5 as DateTimeWithPriceType, a6 as DeviceInfo, a7 as EnumCouponListType, a8 as EnumCouponQualificationType, a9 as EnumGameStatus, aa as EnumGameType, ab as EnumPostContentType, ac as EnumPostType, v as EventFormData, x as EventInfoFormData, d as EventInfoType, ad as EventStatusType, E as EventType, a as FormDateField, F as FormField, ae as GameDate, G as GameDocType, af as GameHistory, m as GameLeaderboard, ag as GamePlacement, ah as GamePlacementClue, ai as GameType, aj as GeocodeLocation, ak as GlobalGameData, al as ImageObjectType, am as LocationGeoType, L as LocationType, M as MutationResponse, j as MyPendingVendorClaim, an as Nullable, O as OptionItem, ao as OwnerType, ap as PROMO_CODE_PREFIX, aq as PaginationOptions, ar as PaymentInfoType, as as PostContentData, at as PostContentFormData, au as PostContentGame, av as PostContentImage, aw as PostContentList, ax as PostContentTextarea, ay as PostContentType, az as PostContentVideo, aA as PostFileInput, z as PostFormData, aB as PostResource, l as PostType, P as PosterUsageType, aC as ProductCoupon, aD as PromoCodeType, aE as PuzzleAnswer, aF as PuzzleAnsweredQuestion, aG as PuzzleBaseGame, aH as PuzzleGameData, aI as PuzzleQuestion, R as RefundPolicy, I as Region, aJ as RelatedPostType, aK as RelationDate, aL as RelationInputType, e as RelationType, b as Requirement, f as ResourceConnectionsType, aM as ResourceContactDetailsType, aN as ResourceDetails, aO as ResourceImageType, aP as SocialMediaType, aQ as SocialShareResourceType, S as StallType, aR as Subcategory, aS as SubcategoryItems, aT as TermsAgreement, t as UnregisteredVendorFormData, aU as UnregisteredVendorInvitationType, g as UnregisteredVendorType, U as UseGetResourcesByRegionOptions, k as UserLicenceType, aV as VendorAttributes, aW as VendorAvailability, aX as VendorCalendarData, V as VendorClaimTokenValidation, aY as VendorDowngradeSnapshot, p as VendorFormData, r as VendorInfoFormData, i as VendorInfoType, aZ as VendorProductList, h as VendorType, a_ as gameScreenIdentifierList, a$ as gameTypeToDisplayName } from '../global-BxFdMMkh.mjs';
6
- export { C as CreateUserFormData, f as RedeemRewardInput, R as RedeemRewardMutationResponse, g as RedeemRewardResponse, h as RedeemedReward, b as ResourceByUser, S as SafeUserType, i as StripeSubscription, j as SubscriptionPlanData, d as SubscriptionPlansResponse, k as SubscriptionPricingData, c as SubscriptionStatusData, l as UserActivity, m as UserActivityEvent, e as UserFormData, n as UserType, U as UsersByPromoCode } from '../user-fRt7t5v0.mjs';
1
+ export { A as AdminUpdateResourceType, c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, i as NotificationDataType, N as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-DmhGEr1E.mjs';
2
+ export { i as AdFormData, p as AdFormState, q as AdResource, a as AdType, l as AppSettingsFormData, b as AppSettingsType, A as AuthMutationResponse, r as AuthPayloadType, s as CreateAdFormData, j as CreateAdFormState, m as CreateAppSettingsFormData, C as CreateLoginFormData, k as CreatePartnerFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, g as CreateResetPasswordFormData, o as CreateSchoolFormData, f as CreateValidateVerificationTokenFormData, t as EnumAdShowOn, E as EnumAdStatus, u as EnumAdStyle, v as EnumAdType, w as EnumVerificationType, L as LoginFormData, M as MarketingMaterialRequestInputType, h as PartnerFormData, P as PartnerType, x as PosterInputType, R as RefreshTokenMutationResponse, y as RefreshTokenPayloadType, z as RegisterFormData, B as RequestPasswordResetFormData, D as ResetPasswordFormData, F as SchoolCampaignType, n as SchoolFormData, G as SchoolRegisteredUserType, c as SchoolReturnType, S as SchoolType, V as ValidateVerificationTokenFormData } from '../ad-Cq1luH63.mjs';
3
+ export { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-vn3N0CGS.mjs';
4
+ import { c as EventListItemType } from '../global-BGqjRZ1G.mjs';
5
+ export { J as BaseGameMap, K as BaseGameType, N as BaseResourceType, B as BaseResourceTypeFormData, C as Category, Q as CouponCodeType, T as CouponDataProductsType, W as CouponDataType, D as CouponDefaultsFormData, X as CouponMarketPassportOption, Y as CouponMarketVisitOption, Z as CouponOption, _ as CouponParticipantUserType, $ as CouponPurchaseOption, n as CouponType, o as CouponTypeList, a0 as CouponVendorProduct, H as CreateCouponFormData, w as CreateEventFormData, y as CreateEventInfoFormData, a1 as CreateFormData, A as CreatePostFormData, u as CreateUnregisteredVendorFormData, q as CreateVendorFormData, s as CreateVendorInfoFormData, a2 as DailyClueBaseGame, a3 as DailyClueGameData, a4 as DateTimeType, a5 as DateTimeWithPriceType, a6 as DeviceInfo, a7 as EnumCouponListType, a8 as EnumCouponQualificationType, a9 as EnumGameStatus, aa as EnumGameType, ab as EnumPostContentType, ac as EnumPostType, v as EventFormData, x as EventInfoFormData, d as EventInfoType, ad as EventStatusType, E as EventType, a as FormDateField, F as FormField, ae as GameDate, G as GameDocType, af as GameHistory, m as GameLeaderboard, ag as GamePlacement, ah as GamePlacementClue, ai as GameType, aj as GeocodeLocation, ak as GlobalGameData, al as ImageObjectType, am as LocationGeoType, L as LocationType, M as MutationResponse, j as MyPendingVendorClaim, an as Nullable, O as OptionItem, ao as OwnerType, ap as PROMO_CODE_PREFIX, aq as PaginationOptions, ar as PaymentInfoType, as as PostContentData, at as PostContentFormData, au as PostContentGame, av as PostContentImage, aw as PostContentList, ax as PostContentTextarea, ay as PostContentType, az as PostContentVideo, aA as PostFileInput, z as PostFormData, aB as PostResource, l as PostType, P as PosterUsageType, aC as ProductCoupon, aD as PromoCodeType, aE as PuzzleAnswer, aF as PuzzleAnsweredQuestion, aG as PuzzleBaseGame, aH as PuzzleGameData, aI as PuzzleQuestion, R as RefundPolicy, I as Region, aJ as RelatedPostType, aK as RelationDate, aL as RelationInputType, e as RelationType, b as Requirement, f as ResourceConnectionsType, aM as ResourceContactDetailsType, aN as ResourceDetails, aO as ResourceImageType, aP as SocialMediaType, aQ as SocialShareResourceType, S as StallType, aR as Subcategory, aS as SubcategoryItems, aT as TermsAgreement, t as UnregisteredVendorFormData, aU as UnregisteredVendorInvitationType, g as UnregisteredVendorType, U as UseGetResourcesByRegionOptions, k as UserLicenceType, aV as VendorAttributes, aW as VendorAvailability, aX as VendorCalendarData, V as VendorClaimTokenValidation, aY as VendorDowngradeSnapshot, p as VendorFormData, r as VendorInfoFormData, i as VendorInfoType, aZ as VendorProductList, h as VendorType, a_ as gameScreenIdentifierList, a$ as gameTypeToDisplayName } from '../global-BGqjRZ1G.mjs';
6
+ export { C as CreateUserFormData, f as RedeemRewardInput, R as RedeemRewardMutationResponse, g as RedeemRewardResponse, h as RedeemedReward, b as ResourceByUser, S as SafeUserType, i as StripeSubscription, j as SubscriptionPlanData, d as SubscriptionPlansResponse, k as SubscriptionPricingData, c as SubscriptionStatusData, l as UserActivity, m as UserActivityEvent, e as UserFormData, n as UserType, U as UsersByPromoCode } from '../user-NPmlt_Zx.mjs';
7
7
  import { EnumOSPlatform } from '../enums/index.mjs';
8
8
  export { a as BillingCatalogDefinition, B as BillingCatalogEntryType, b as BillingCatalogInitialEntry, c as BillingCatalogKey, d as BillingCatalogPriceHistoryEntry, P as PaidVendorBillingPeriod, e as PaidVendorLicence, S as SyncBillingCatalogPriceInput, U as UpdateBillingCatalogPriceInput } from '../billingCatalog-DDAU9BWV.mjs';
9
9
  export { a as TIERS_BY_PRIORITY, b as TIER_DISPLAY_LABELS, c as TIER_FROM_LICENCE, T as Tier } from '../subscription-bmAdrnfi.mjs';
10
- export { b as AffiliateBankAccountDetailsType, c as AffiliateContactDetails, d as AffiliateDetailsType, a as AffiliateFormData, e as AffiliateResourceType, f as AffiliateRewardType, A as AffiliateType, g as AffiliateUserDefaultFields, C as CreateAffiliateFormData, E as EnumAffiliateParticipantType, h as EnumAffiliateRewardType, R as RedeemHistoryType } from '../affiliate-D8qswrxx.mjs';
10
+ export { b as AffiliateBankAccountDetailsType, c as AffiliateContactDetails, d as AffiliateDetailsType, a as AffiliateFormData, e as AffiliateResourceType, f as AffiliateRewardType, A as AffiliateType, g as AffiliateUserDefaultFields, C as CreateAffiliateFormData, E as EnumAffiliateParticipantType, h as EnumAffiliateRewardType, R as RedeemHistoryType } from '../affiliate-DKe3AD5n.mjs';
11
11
  import '../images/index.mjs';
12
12
  import 'react-hook-form';
13
13
 
@@ -1,13 +1,13 @@
1
- export { A as AdminUpdateResourceType, c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, i as NotificationDataType, N as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-DwS8U2fN.js';
2
- export { i as AdFormData, p as AdFormState, q as AdResource, a as AdType, l as AppSettingsFormData, b as AppSettingsType, A as AuthMutationResponse, r as AuthPayloadType, s as CreateAdFormData, j as CreateAdFormState, m as CreateAppSettingsFormData, C as CreateLoginFormData, k as CreatePartnerFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, g as CreateResetPasswordFormData, o as CreateSchoolFormData, f as CreateValidateVerificationTokenFormData, t as EnumAdShowOn, E as EnumAdStatus, u as EnumAdStyle, v as EnumAdType, w as EnumVerificationType, L as LoginFormData, M as MarketingMaterialRequestInputType, h as PartnerFormData, P as PartnerType, x as PosterInputType, R as RefreshTokenMutationResponse, y as RefreshTokenPayloadType, z as RegisterFormData, B as RequestPasswordResetFormData, D as ResetPasswordFormData, F as SchoolCampaignType, n as SchoolFormData, G as SchoolRegisteredUserType, c as SchoolReturnType, S as SchoolType, V as ValidateVerificationTokenFormData } from '../ad-Ml6JLDtb.js';
3
- export { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-CBOZIzN5.js';
4
- import { c as EventListItemType } from '../global-BqIR-z_C.js';
5
- export { J as BaseGameMap, K as BaseGameType, N as BaseResourceType, B as BaseResourceTypeFormData, C as Category, Q as CouponCodeType, T as CouponDataProductsType, W as CouponDataType, D as CouponDefaultsFormData, X as CouponMarketPassportOption, Y as CouponMarketVisitOption, Z as CouponOption, _ as CouponParticipantUserType, $ as CouponPurchaseOption, n as CouponType, o as CouponTypeList, a0 as CouponVendorProduct, H as CreateCouponFormData, w as CreateEventFormData, y as CreateEventInfoFormData, a1 as CreateFormData, A as CreatePostFormData, u as CreateUnregisteredVendorFormData, q as CreateVendorFormData, s as CreateVendorInfoFormData, a2 as DailyClueBaseGame, a3 as DailyClueGameData, a4 as DateTimeType, a5 as DateTimeWithPriceType, a6 as DeviceInfo, a7 as EnumCouponListType, a8 as EnumCouponQualificationType, a9 as EnumGameStatus, aa as EnumGameType, ab as EnumPostContentType, ac as EnumPostType, v as EventFormData, x as EventInfoFormData, d as EventInfoType, ad as EventStatusType, E as EventType, a as FormDateField, F as FormField, ae as GameDate, G as GameDocType, af as GameHistory, m as GameLeaderboard, ag as GamePlacement, ah as GamePlacementClue, ai as GameType, aj as GeocodeLocation, ak as GlobalGameData, al as ImageObjectType, am as LocationGeoType, L as LocationType, M as MutationResponse, j as MyPendingVendorClaim, an as Nullable, O as OptionItem, ao as OwnerType, ap as PROMO_CODE_PREFIX, aq as PaginationOptions, ar as PaymentInfoType, as as PostContentData, at as PostContentFormData, au as PostContentGame, av as PostContentImage, aw as PostContentList, ax as PostContentTextarea, ay as PostContentType, az as PostContentVideo, aA as PostFileInput, z as PostFormData, aB as PostResource, l as PostType, P as PosterUsageType, aC as ProductCoupon, aD as PromoCodeType, aE as PuzzleAnswer, aF as PuzzleAnsweredQuestion, aG as PuzzleBaseGame, aH as PuzzleGameData, aI as PuzzleQuestion, R as RefundPolicy, I as Region, aJ as RelatedPostType, aK as RelationDate, aL as RelationInputType, e as RelationType, b as Requirement, f as ResourceConnectionsType, aM as ResourceContactDetailsType, aN as ResourceDetails, aO as ResourceImageType, aP as SocialMediaType, aQ as SocialShareResourceType, S as StallType, aR as Subcategory, aS as SubcategoryItems, aT as TermsAgreement, t as UnregisteredVendorFormData, aU as UnregisteredVendorInvitationType, g as UnregisteredVendorType, U as UseGetResourcesByRegionOptions, k as UserLicenceType, aV as VendorAttributes, aW as VendorAvailability, aX as VendorCalendarData, V as VendorClaimTokenValidation, aY as VendorDowngradeSnapshot, p as VendorFormData, r as VendorInfoFormData, i as VendorInfoType, aZ as VendorProductList, h as VendorType, a_ as gameScreenIdentifierList, a$ as gameTypeToDisplayName } from '../global-BqIR-z_C.js';
6
- export { C as CreateUserFormData, f as RedeemRewardInput, R as RedeemRewardMutationResponse, g as RedeemRewardResponse, h as RedeemedReward, b as ResourceByUser, S as SafeUserType, i as StripeSubscription, j as SubscriptionPlanData, d as SubscriptionPlansResponse, k as SubscriptionPricingData, c as SubscriptionStatusData, l as UserActivity, m as UserActivityEvent, e as UserFormData, n as UserType, U as UsersByPromoCode } from '../user-CvSm0lyx.js';
1
+ export { A as AdminUpdateResourceType, c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, i as NotificationDataType, N as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-CpDYuKZb.js';
2
+ export { i as AdFormData, p as AdFormState, q as AdResource, a as AdType, l as AppSettingsFormData, b as AppSettingsType, A as AuthMutationResponse, r as AuthPayloadType, s as CreateAdFormData, j as CreateAdFormState, m as CreateAppSettingsFormData, C as CreateLoginFormData, k as CreatePartnerFormData, d as CreateRegisterFormData, e as CreateRequestPasswordResetFormData, g as CreateResetPasswordFormData, o as CreateSchoolFormData, f as CreateValidateVerificationTokenFormData, t as EnumAdShowOn, E as EnumAdStatus, u as EnumAdStyle, v as EnumAdType, w as EnumVerificationType, L as LoginFormData, M as MarketingMaterialRequestInputType, h as PartnerFormData, P as PartnerType, x as PosterInputType, R as RefreshTokenMutationResponse, y as RefreshTokenPayloadType, z as RegisterFormData, B as RequestPasswordResetFormData, D as ResetPasswordFormData, F as SchoolCampaignType, n as SchoolFormData, G as SchoolRegisteredUserType, c as SchoolReturnType, S as SchoolType, V as ValidateVerificationTokenFormData } from '../ad-C7_aLSAO.js';
3
+ export { C as ContactUsFormData, a as CreateContactUsFormData } from '../contactUs-CvqdtHsZ.js';
4
+ import { c as EventListItemType } from '../global-ABvdHwPj.js';
5
+ export { J as BaseGameMap, K as BaseGameType, N as BaseResourceType, B as BaseResourceTypeFormData, C as Category, Q as CouponCodeType, T as CouponDataProductsType, W as CouponDataType, D as CouponDefaultsFormData, X as CouponMarketPassportOption, Y as CouponMarketVisitOption, Z as CouponOption, _ as CouponParticipantUserType, $ as CouponPurchaseOption, n as CouponType, o as CouponTypeList, a0 as CouponVendorProduct, H as CreateCouponFormData, w as CreateEventFormData, y as CreateEventInfoFormData, a1 as CreateFormData, A as CreatePostFormData, u as CreateUnregisteredVendorFormData, q as CreateVendorFormData, s as CreateVendorInfoFormData, a2 as DailyClueBaseGame, a3 as DailyClueGameData, a4 as DateTimeType, a5 as DateTimeWithPriceType, a6 as DeviceInfo, a7 as EnumCouponListType, a8 as EnumCouponQualificationType, a9 as EnumGameStatus, aa as EnumGameType, ab as EnumPostContentType, ac as EnumPostType, v as EventFormData, x as EventInfoFormData, d as EventInfoType, ad as EventStatusType, E as EventType, a as FormDateField, F as FormField, ae as GameDate, G as GameDocType, af as GameHistory, m as GameLeaderboard, ag as GamePlacement, ah as GamePlacementClue, ai as GameType, aj as GeocodeLocation, ak as GlobalGameData, al as ImageObjectType, am as LocationGeoType, L as LocationType, M as MutationResponse, j as MyPendingVendorClaim, an as Nullable, O as OptionItem, ao as OwnerType, ap as PROMO_CODE_PREFIX, aq as PaginationOptions, ar as PaymentInfoType, as as PostContentData, at as PostContentFormData, au as PostContentGame, av as PostContentImage, aw as PostContentList, ax as PostContentTextarea, ay as PostContentType, az as PostContentVideo, aA as PostFileInput, z as PostFormData, aB as PostResource, l as PostType, P as PosterUsageType, aC as ProductCoupon, aD as PromoCodeType, aE as PuzzleAnswer, aF as PuzzleAnsweredQuestion, aG as PuzzleBaseGame, aH as PuzzleGameData, aI as PuzzleQuestion, R as RefundPolicy, I as Region, aJ as RelatedPostType, aK as RelationDate, aL as RelationInputType, e as RelationType, b as Requirement, f as ResourceConnectionsType, aM as ResourceContactDetailsType, aN as ResourceDetails, aO as ResourceImageType, aP as SocialMediaType, aQ as SocialShareResourceType, S as StallType, aR as Subcategory, aS as SubcategoryItems, aT as TermsAgreement, t as UnregisteredVendorFormData, aU as UnregisteredVendorInvitationType, g as UnregisteredVendorType, U as UseGetResourcesByRegionOptions, k as UserLicenceType, aV as VendorAttributes, aW as VendorAvailability, aX as VendorCalendarData, V as VendorClaimTokenValidation, aY as VendorDowngradeSnapshot, p as VendorFormData, r as VendorInfoFormData, i as VendorInfoType, aZ as VendorProductList, h as VendorType, a_ as gameScreenIdentifierList, a$ as gameTypeToDisplayName } from '../global-ABvdHwPj.js';
6
+ export { C as CreateUserFormData, f as RedeemRewardInput, R as RedeemRewardMutationResponse, g as RedeemRewardResponse, h as RedeemedReward, b as ResourceByUser, S as SafeUserType, i as StripeSubscription, j as SubscriptionPlanData, d as SubscriptionPlansResponse, k as SubscriptionPricingData, c as SubscriptionStatusData, l as UserActivity, m as UserActivityEvent, e as UserFormData, n as UserType, U as UsersByPromoCode } from '../user-B6YLX1c5.js';
7
7
  import { EnumOSPlatform } from '../enums/index.js';
8
8
  export { a as BillingCatalogDefinition, B as BillingCatalogEntryType, b as BillingCatalogInitialEntry, c as BillingCatalogKey, d as BillingCatalogPriceHistoryEntry, P as PaidVendorBillingPeriod, e as PaidVendorLicence, S as SyncBillingCatalogPriceInput, U as UpdateBillingCatalogPriceInput } from '../billingCatalog-oWAfZX95.js';
9
9
  export { a as TIERS_BY_PRIORITY, b as TIER_DISPLAY_LABELS, c as TIER_FROM_LICENCE, T as Tier } from '../subscription-BU8GvH2K.js';
10
- export { b as AffiliateBankAccountDetailsType, c as AffiliateContactDetails, d as AffiliateDetailsType, a as AffiliateFormData, e as AffiliateResourceType, f as AffiliateRewardType, A as AffiliateType, g as AffiliateUserDefaultFields, C as CreateAffiliateFormData, E as EnumAffiliateParticipantType, h as EnumAffiliateRewardType, R as RedeemHistoryType } from '../affiliate-2Zn__2pW.js';
10
+ export { b as AffiliateBankAccountDetailsType, c as AffiliateContactDetails, d as AffiliateDetailsType, a as AffiliateFormData, e as AffiliateResourceType, f as AffiliateRewardType, A as AffiliateType, g as AffiliateUserDefaultFields, C as CreateAffiliateFormData, E as EnumAffiliateParticipantType, h as EnumAffiliateRewardType, R as RedeemHistoryType } from '../affiliate-zbXziTPJ.js';
11
11
  import '../images/index.js';
12
12
  import 'react-hook-form';
13
13
 
@@ -1,5 +1,5 @@
1
1
  import { EnumOSPlatform, EnumResourceType, EnumReward, EnumUserRole, EnumBillingPeriod, EnumUserLicence, EnumSubscriptionStatus, EnumNotificationResourceType } from './enums/index.js';
2
- import { aO as ResourceImageType, L as LocationType, aT as TermsAgreement, k as UserLicenceType, aD as PromoCodeType, a4 as DateTimeType, M as MutationResponse, a1 as CreateFormData } from './global-BqIR-z_C.js';
2
+ import { aO as ResourceImageType, L as LocationType, aT as TermsAgreement, k as UserLicenceType, aD as PromoCodeType, a4 as DateTimeType, M as MutationResponse, a1 as CreateFormData } from './global-ABvdHwPj.js';
3
3
 
4
4
  /**
5
5
  * Canonical permission IDs. Add new permissions here first, then map them in
@@ -1,5 +1,5 @@
1
1
  import { EnumOSPlatform, EnumResourceType, EnumReward, EnumUserRole, EnumBillingPeriod, EnumUserLicence, EnumSubscriptionStatus, EnumNotificationResourceType } from './enums/index.mjs';
2
- import { aO as ResourceImageType, L as LocationType, aT as TermsAgreement, k as UserLicenceType, aD as PromoCodeType, a4 as DateTimeType, M as MutationResponse, a1 as CreateFormData } from './global-BxFdMMkh.mjs';
2
+ import { aO as ResourceImageType, L as LocationType, aT as TermsAgreement, k as UserLicenceType, aD as PromoCodeType, a4 as DateTimeType, M as MutationResponse, a1 as CreateFormData } from './global-BGqjRZ1G.mjs';
3
3
 
4
4
  /**
5
5
  * Canonical permission IDs. Add new permissions here first, then map them in
@@ -1,10 +1,10 @@
1
- import { a3 as DailyClueGameData, ah as GamePlacementClue, ag as GamePlacement, O as OptionItem, ac as EnumPostType, aP as SocialMediaType, aO as ResourceImageType, a4 as DateTimeType, L as LocationType, h as VendorType, g as UnregisteredVendorType, c as EventListItemType } from '../global-BxFdMMkh.mjs';
1
+ import { a3 as DailyClueGameData, ah as GamePlacementClue, ag as GamePlacement, O as OptionItem, ac as EnumPostType, aP as SocialMediaType, aO as ResourceImageType, a4 as DateTimeType, L as LocationType, h as VendorType, g as UnregisteredVendorType, c as EventListItemType } from '../global-BGqjRZ1G.mjs';
2
2
  import dayjs from 'dayjs';
3
3
  import { EnumRegions, EnumUserLicence, EnumReward, EnumInviteStatus, EnumEventDateStatus, EnumResourceType, EnumBillingPeriod } from '../enums/index.mjs';
4
- import { h as EnumAffiliateRewardType, f as AffiliateRewardType } from '../affiliate-D8qswrxx.mjs';
4
+ import { h as EnumAffiliateRewardType, f as AffiliateRewardType } from '../affiliate-DKe3AD5n.mjs';
5
5
  import { c as BillingCatalogKey, a as BillingCatalogDefinition, b as BillingCatalogInitialEntry, B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
6
6
  import 'react-hook-form';
7
- import '../user-fRt7t5v0.mjs';
7
+ import '../user-NPmlt_Zx.mjs';
8
8
 
9
9
  /** Seeded shuffle so all players see the same letter order / placements for a game. */
10
10
  declare function seededShuffle<T>(array: readonly T[], seed: string): T[];
@@ -1,10 +1,10 @@
1
- import { a3 as DailyClueGameData, ah as GamePlacementClue, ag as GamePlacement, O as OptionItem, ac as EnumPostType, aP as SocialMediaType, aO as ResourceImageType, a4 as DateTimeType, L as LocationType, h as VendorType, g as UnregisteredVendorType, c as EventListItemType } from '../global-BqIR-z_C.js';
1
+ import { a3 as DailyClueGameData, ah as GamePlacementClue, ag as GamePlacement, O as OptionItem, ac as EnumPostType, aP as SocialMediaType, aO as ResourceImageType, a4 as DateTimeType, L as LocationType, h as VendorType, g as UnregisteredVendorType, c as EventListItemType } from '../global-ABvdHwPj.js';
2
2
  import dayjs from 'dayjs';
3
3
  import { EnumRegions, EnumUserLicence, EnumReward, EnumInviteStatus, EnumEventDateStatus, EnumResourceType, EnumBillingPeriod } from '../enums/index.js';
4
- import { h as EnumAffiliateRewardType, f as AffiliateRewardType } from '../affiliate-2Zn__2pW.js';
4
+ import { h as EnumAffiliateRewardType, f as AffiliateRewardType } from '../affiliate-zbXziTPJ.js';
5
5
  import { c as BillingCatalogKey, a as BillingCatalogDefinition, b as BillingCatalogInitialEntry, B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
6
6
  import 'react-hook-form';
7
- import '../user-CvSm0lyx.js';
7
+ import '../user-B6YLX1c5.js';
8
8
 
9
9
  /** Seeded shuffle so all players see the same letter order / placements for a game. */
10
10
  declare function seededShuffle<T>(array: readonly T[], seed: string): T[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timardex/cluemart-shared",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",