@timardex/cluemart-shared 1.6.112 → 1.7.0

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 (145) hide show
  1. package/dist/ad-CVkVX_z5.d.ts +296 -0
  2. package/dist/ad-DA9ECAhK.d.mts +296 -0
  3. package/dist/affiliate-1RtkLnLP.d.ts +35 -0
  4. package/dist/affiliate-Cos2Syz5.d.mts +35 -0
  5. package/dist/{chunk-R6PCFOYO.mjs → chunk-HZMP7GXC.mjs} +2628 -948
  6. package/dist/chunk-HZMP7GXC.mjs.map +1 -0
  7. package/dist/{chunk-X3OLM35T.mjs → chunk-KZTOISPA.mjs} +8 -14
  8. package/dist/chunk-KZTOISPA.mjs.map +1 -0
  9. package/dist/{chunk-ILILH7E2.mjs → chunk-MVQ3CFQR.mjs} +23 -12
  10. package/dist/chunk-MVQ3CFQR.mjs.map +1 -0
  11. package/dist/{chunk-AYO3E4DM.mjs → chunk-RKIRWZCH.mjs} +183 -39
  12. package/dist/chunk-RKIRWZCH.mjs.map +1 -0
  13. package/dist/{chunk-LBEJECG3.mjs → chunk-TAECMXM4.mjs} +219 -249
  14. package/dist/{chunk-LBEJECG3.mjs.map → chunk-TAECMXM4.mjs.map} +1 -1
  15. package/dist/{chunk-BIJ5NDXW.mjs → chunk-ZZJSCYJK.mjs} +42 -46
  16. package/dist/chunk-ZZJSCYJK.mjs.map +1 -0
  17. package/dist/{contactUs-CBWzefUS.d.mts → contactUs-DGrDzJaM.d.mts} +1 -1
  18. package/dist/{contactUs--NoohZBu.d.ts → contactUs-H7799pWe.d.ts} +1 -1
  19. package/dist/enums/index.cjs +7 -13
  20. package/dist/enums/index.cjs.map +1 -1
  21. package/dist/enums/index.d.mts +9 -15
  22. package/dist/enums/index.d.ts +9 -15
  23. package/dist/enums/index.mjs +1 -1
  24. package/dist/formFields/index.cjs +73 -136
  25. package/dist/formFields/index.cjs.map +1 -1
  26. package/dist/formFields/index.d.mts +2 -3
  27. package/dist/formFields/index.d.ts +2 -3
  28. package/dist/formFields/index.mjs +4 -9
  29. package/dist/{global-DePDtOFt.d.mts → global-BUUfmCo7.d.mts} +11 -12
  30. package/dist/{global-CUYYxpy2.d.ts → global-fKbMmluy.d.ts} +11 -12
  31. package/dist/graphql/index.cjs +1251 -694
  32. package/dist/graphql/index.cjs.map +1 -1
  33. package/dist/graphql/index.d.mts +173 -423
  34. package/dist/graphql/index.d.ts +173 -423
  35. package/dist/graphql/index.mjs +21 -33
  36. package/dist/hooks/index.cjs +306 -936
  37. package/dist/hooks/index.cjs.map +1 -1
  38. package/dist/hooks/index.d.mts +4 -10
  39. package/dist/hooks/index.d.ts +4 -10
  40. package/dist/hooks/index.mjs +58 -170
  41. package/dist/hooks/index.mjs.map +1 -1
  42. package/dist/images/apple-maps-icon.webp.d.ts +1 -8
  43. package/dist/images/banner-horizontal.webp.d.ts +1 -8
  44. package/dist/images/banner-vertical.webp.d.ts +1 -8
  45. package/dist/images/cluiTui.webp.d.ts +1 -8
  46. package/dist/images/corporate.webp.d.ts +1 -8
  47. package/dist/images/facebook.webp.d.ts +1 -8
  48. package/dist/images/gazebo-top.webp.d.ts +1 -8
  49. package/dist/images/google-maps-icon.webp.d.ts +1 -8
  50. package/dist/images/googleMaps-logo-dark.webp.d.ts +1 -8
  51. package/dist/images/googleMaps-logo-light.webp.d.ts +1 -8
  52. package/dist/images/instagram.webp.d.ts +1 -8
  53. package/dist/images/logo-atr.webp.d.ts +1 -8
  54. package/dist/images/logo-dark.webp.d.ts +1 -8
  55. package/dist/images/logo.webp.d.ts +1 -8
  56. package/dist/images/meet.webp.d.ts +1 -8
  57. package/dist/images/mini-market1.webp.d.ts +1 -8
  58. package/dist/images/mini-market2.webp.d.ts +1 -8
  59. package/dist/images/mini-market3.webp.d.ts +1 -8
  60. package/dist/images/mini-market4.webp.d.ts +1 -8
  61. package/dist/images/mini-market5.webp.d.ts +1 -8
  62. package/dist/images/poll.webp.d.ts +1 -8
  63. package/dist/images/poster1.webp.d.ts +1 -8
  64. package/dist/images/poster2.webp.d.ts +1 -8
  65. package/dist/images/poster3.webp.d.ts +1 -8
  66. package/dist/images/poster4.webp.d.ts +1 -8
  67. package/dist/images/private.webp.d.ts +1 -8
  68. package/dist/images/qr-code.webp.d.ts +1 -8
  69. package/dist/images/school.webp.d.ts +1 -8
  70. package/dist/images/sima.webp.d.ts +1 -8
  71. package/dist/images/store-android.webp.d.ts +1 -8
  72. package/dist/images/store-ios.webp.d.ts +1 -8
  73. package/dist/images/tablas.webp.d.ts +1 -8
  74. package/dist/images/telefonos.webp.d.ts +1 -8
  75. package/dist/images/tiktok.webp.d.ts +1 -8
  76. package/dist/images/tip.webp.d.ts +1 -8
  77. package/dist/images/ugralos.webp.d.ts +1 -8
  78. package/dist/images/waze-maps-icon.webp.d.ts +1 -8
  79. package/dist/images/website.webp.d.ts +1 -8
  80. package/dist/images/youtube.webp.d.ts +1 -8
  81. package/dist/index.cjs +1673 -1623
  82. package/dist/index.cjs.map +1 -1
  83. package/dist/index.d.mts +240 -654
  84. package/dist/index.d.ts +240 -654
  85. package/dist/index.mjs +1672 -1585
  86. package/dist/index.mjs.map +1 -1
  87. package/dist/map/index.cjs +9 -14
  88. package/dist/map/index.cjs.map +1 -1
  89. package/dist/map/index.d.mts +13 -16
  90. package/dist/map/index.d.ts +13 -16
  91. package/dist/map/index.mjs +9 -14
  92. package/dist/map/index.mjs.map +1 -1
  93. package/dist/{resourceActivities-CMUcn2P7.d.ts → resourceActivities-BL_12IAo.d.ts} +4 -9
  94. package/dist/{resourceActivities-CwbJFGIp.d.mts → resourceActivities-zczOntNk.d.mts} +4 -9
  95. package/dist/sharing/index.cjs +1252 -39
  96. package/dist/sharing/index.cjs.map +1 -1
  97. package/dist/sharing/index.d.mts +5 -17
  98. package/dist/sharing/index.d.ts +5 -17
  99. package/dist/sharing/index.mjs +30 -34
  100. package/dist/types/index.cjs +2 -15
  101. package/dist/types/index.cjs.map +1 -1
  102. package/dist/types/index.d.mts +23 -10
  103. package/dist/types/index.d.ts +23 -10
  104. package/dist/types/index.mjs +5 -9
  105. package/dist/utils/index.cjs +136 -355
  106. package/dist/utils/index.cjs.map +1 -1
  107. package/dist/utils/index.d.mts +35 -87
  108. package/dist/utils/index.d.ts +35 -87
  109. package/dist/utils/index.mjs +15 -42
  110. package/package.json +10 -31
  111. package/dist/ad-BUYzE6zx.d.ts +0 -181
  112. package/dist/ad-BhLoEul3.d.mts +0 -181
  113. package/dist/affiliate-BbtjeUP4.d.mts +0 -73
  114. package/dist/affiliate-C51nzKsw.d.ts +0 -73
  115. package/dist/apollo/index.cjs +0 -1383
  116. package/dist/apollo/index.cjs.map +0 -1
  117. package/dist/apollo/index.d.mts +0 -323
  118. package/dist/apollo/index.d.ts +0 -323
  119. package/dist/apollo/index.mjs +0 -1295
  120. package/dist/apollo/index.mjs.map +0 -1
  121. package/dist/auth/index.cjs +0 -1727
  122. package/dist/auth/index.cjs.map +0 -1
  123. package/dist/auth/index.d.mts +0 -166
  124. package/dist/auth/index.d.ts +0 -166
  125. package/dist/auth/index.mjs +0 -380
  126. package/dist/auth/index.mjs.map +0 -1
  127. package/dist/chunk-32MKHJTX.mjs +0 -1207
  128. package/dist/chunk-32MKHJTX.mjs.map +0 -1
  129. package/dist/chunk-AYO3E4DM.mjs.map +0 -1
  130. package/dist/chunk-BIJ5NDXW.mjs.map +0 -1
  131. package/dist/chunk-DQ7ZHIXW.mjs +0 -26
  132. package/dist/chunk-DQ7ZHIXW.mjs.map +0 -1
  133. package/dist/chunk-ILILH7E2.mjs.map +0 -1
  134. package/dist/chunk-R6PCFOYO.mjs.map +0 -1
  135. package/dist/chunk-RAYUJODN.mjs +0 -45
  136. package/dist/chunk-RAYUJODN.mjs.map +0 -1
  137. package/dist/chunk-SD42WIMV.mjs +0 -297
  138. package/dist/chunk-SD42WIMV.mjs.map +0 -1
  139. package/dist/chunk-VPANTTZI.mjs +0 -262
  140. package/dist/chunk-VPANTTZI.mjs.map +0 -1
  141. package/dist/chunk-X3OLM35T.mjs.map +0 -1
  142. package/dist/subscription-BU8GvH2K.d.ts +0 -12
  143. package/dist/subscription-bmAdrnfi.d.mts +0 -12
  144. package/dist/user-D47MLFyH.d.ts +0 -134
  145. package/dist/user-DE8edl3u.d.mts +0 -134
@@ -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-DePDtOFt.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-BUUfmCo7.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -78,8 +78,7 @@ declare const contactUsFields: FormField[];
78
78
 
79
79
  declare const emailField: FormField;
80
80
  declare const companyContactFields: FormField[];
81
- declare const bankAccountDetailsFields: FormField[];
82
81
 
83
82
  declare const partnerBasicInfoFields: FormField[];
84
83
 
85
- export { availableCategories, availableTagTypes, bankAccountDetailsFields, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
84
+ export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
@@ -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-CUYYxpy2.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-fKbMmluy.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -78,8 +78,7 @@ declare const contactUsFields: FormField[];
78
78
 
79
79
  declare const emailField: FormField;
80
80
  declare const companyContactFields: FormField[];
81
- declare const bankAccountDetailsFields: FormField[];
82
81
 
83
82
  declare const partnerBasicInfoFields: FormField[];
84
83
 
85
- export { availableCategories, availableTagTypes, bankAccountDetailsFields, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
84
+ export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
@@ -1,6 +1,5 @@
1
1
  import {
2
2
  availableTagTypes,
3
- bankAccountDetailsFields,
4
3
  companyContactFields,
5
4
  contactUsFields,
6
5
  emailField,
@@ -42,20 +41,16 @@ import {
42
41
  vendorStallSize,
43
42
  vendorStartDateFields,
44
43
  vendorTable
45
- } from "../chunk-BIJ5NDXW.mjs";
44
+ } from "../chunk-ZZJSCYJK.mjs";
46
45
  import {
47
46
  availableCategories,
48
47
  categoryColors
49
- } from "../chunk-LBEJECG3.mjs";
50
- import "../chunk-SD42WIMV.mjs";
51
- import "../chunk-ILILH7E2.mjs";
52
- import "../chunk-RAYUJODN.mjs";
53
- import "../chunk-DQ7ZHIXW.mjs";
54
- import "../chunk-X3OLM35T.mjs";
48
+ } from "../chunk-TAECMXM4.mjs";
49
+ import "../chunk-MVQ3CFQR.mjs";
50
+ import "../chunk-KZTOISPA.mjs";
55
51
  export {
56
52
  availableCategories,
57
53
  availableTagTypes,
58
- bankAccountDetailsFields,
59
54
  categoryColors,
60
55
  companyContactFields,
61
56
  contactUsFields,
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
2
- import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia } from './enums/index.mjs';
2
+ import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
3
3
 
4
4
  type RelationDate = {
5
5
  dateTime: DateTimeType & {
@@ -96,7 +96,7 @@ interface EventType extends BaseResourceType {
96
96
  sharePublic?: SocialShareResourceType | null;
97
97
  shareRelation?: SocialShareResourceType | null;
98
98
  }
99
- type EventListItemType = Omit<EventType, "adIds" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
99
+ type EventListItemType = Omit<EventType, "adIds" | "associates" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
100
100
  type EventInfoType = Omit<EventInfoFormData, "_id"> & {
101
101
  _id: string;
102
102
  active?: boolean;
@@ -373,7 +373,6 @@ type PostContentType = Omit<PostContentFormData, "contentData"> & {
373
373
  };
374
374
  type PostType = Omit<PostFormData, "content" | "coverUpload" | "resource"> & {
375
375
  _id: string;
376
- approvedAt?: Date | null;
377
376
  content: PostContentType[];
378
377
  createdAt: Date;
379
378
  deletedAt: Date | null;
@@ -501,11 +500,6 @@ type PromoCodeType = `${typeof PROMO_CODE_PREFIX}${string}`;
501
500
  type Nullable<T> = {
502
501
  [K in keyof T]: T[K] | null | undefined;
503
502
  };
504
- /** Uniform mutation response envelope used across GraphQL mutations. */
505
- type MutationResponse<T> = {
506
- data: T | null;
507
- message: string | null;
508
- };
509
503
  type DeviceInfo = {
510
504
  appBuildNumber: string;
511
505
  appId: string;
@@ -542,6 +536,12 @@ type UserLicenceType = {
542
536
  licenceType: EnumUserLicence;
543
537
  prevLicenceType?: EnumUserLicence | null;
544
538
  };
539
+ type AssociateType = {
540
+ email: string;
541
+ resourceId: string;
542
+ resourceType: EnumResourceType;
543
+ licence: UserLicenceType;
544
+ };
545
545
  type OwnerType = {
546
546
  email: string;
547
547
  userId: string;
@@ -549,6 +549,7 @@ type OwnerType = {
549
549
  interface BaseResourceTypeFormData {
550
550
  _id?: string;
551
551
  active: boolean;
552
+ associates: AssociateType[] | null;
552
553
  contactDetails: ResourceContactDetailsType | null;
553
554
  cover: ResourceImageType;
554
555
  coverUpload?: ResourceImageType | null;
@@ -558,6 +559,7 @@ interface BaseResourceTypeFormData {
558
559
  logo?: ResourceImageType | null;
559
560
  logoUpload?: ResourceImageType | null;
560
561
  name: string;
562
+ owner?: OwnerType | null;
561
563
  promoCodes?: PromoCodeType[] | null;
562
564
  region: string;
563
565
  socialMedia: SocialMediaType[] | null;
@@ -568,7 +570,6 @@ type PosterUsageType = {
568
570
  count: number;
569
571
  };
570
572
  type RelatedPostType = {
571
- postActive: boolean;
572
573
  postId: string;
573
574
  postSlug: string;
574
575
  postType: EnumPostType;
@@ -580,10 +581,8 @@ type SocialShareResourceType = {
580
581
  type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
581
582
  _id: string;
582
583
  adIds?: string[] | null;
583
- approvedAt?: Date | null;
584
584
  createdAt: Date;
585
585
  deletedAt: Date | null;
586
- owner: OwnerType;
587
586
  posterUsage?: PosterUsageType | null;
588
587
  rating?: number | null;
589
588
  relatedPost?: RelatedPostType | null;
@@ -696,4 +695,4 @@ interface UseGetResourcesByRegionOptions {
696
695
  offset?: number;
697
696
  }
698
697
 
699
- export { type GamePlacement as $, type BaseGameType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type MutationResponse as M, type DateTimeWithPriceType as N, type OptionItem as O, type PosterUsageType as P, type DeviceInfo as Q, type RefundPolicy as R, type StallType as S, EnumGameStatus as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumGameType as W, EnumPostContentType as X, type EventStatusType as Y, type GameDate as Z, type GameHistory as _, type FormDateField as a, type GamePlacementClue as a0, type GameType as a1, type GeocodeLocation as a2, type GlobalGameData as a3, type ImageObjectType as a4, type LocationGeoType as a5, type Nullable as a6, type OwnerType as a7, PROMO_CODE_PREFIX as a8, type PaymentInfoType as a9, type TermsAgreement as aA, type UnregisteredVendorInvitationType as aB, type VendorAttributes as aC, type VendorCalendarData as aD, type VendorProductList as aE, gameScreenIdentifierList as aF, gameTypeToDisplayName as aG, type PostContentData as aa, type PostContentFormData as ab, type PostContentGame as ac, type PostContentImage as ad, type PostContentList as ae, type PostContentTextarea as af, type PostContentType as ag, type PostContentVideo as ah, type PostFileInput as ai, type PostResource as aj, type PromoCodeType as ak, type PuzzleAnswer as al, type PuzzleAnsweredQuestion as am, type PuzzleBaseGame as an, type PuzzleGameData as ao, type PuzzleQuestion as ap, type RelatedPostType as aq, type RelationDate as ar, type RelationInputType as as, type ResourceContactDetailsType as at, type ResourceDetails as au, type ResourceImageType as av, type SocialMediaType as aw, type SocialShareResourceType as ax, type Subcategory as ay, type SubcategoryItems 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 VendorInfoType as h, type UserLicenceType as i, type PostType as j, EnumPostType as k, type GameLeaderboard as l, type VendorFormData as m, type CreateVendorFormData as n, type VendorInfoFormData as o, type CreateVendorInfoFormData as p, type UnregisteredVendorFormData as q, type CreateUnregisteredVendorFormData as r, type EventFormData as s, type CreateEventFormData as t, type EventInfoFormData as u, type CreateEventInfoFormData as v, type PostFormData as w, type CreatePostFormData as x, type Region as y, type BaseGameMap as z };
698
+ export { type GamePlacementClue as $, type AssociateType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type DateTimeWithPriceType as M, type DeviceInfo as N, type OptionItem as O, type PostType as P, EnumGameStatus as Q, type RefundPolicy as R, type StallType as S, EnumGameType as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumPostContentType as W, type EventStatusType as X, type GameDate as Y, type GameHistory as Z, type GamePlacement as _, type FormDateField as a, type GameType as a0, type GeocodeLocation as a1, type GlobalGameData as a2, type ImageObjectType as a3, type LocationGeoType as a4, type Nullable as a5, type OwnerType as a6, PROMO_CODE_PREFIX as a7, type PaymentInfoType as a8, type PostContentData as a9, type TermsAgreement as aA, type UnregisteredVendorInvitationType as aB, type VendorAttributes as aC, type VendorCalendarData as aD, type VendorProductList as aE, gameScreenIdentifierList as aF, gameTypeToDisplayName as aG, type PostContentFormData as aa, type PostContentGame as ab, type PostContentImage as ac, type PostContentList as ad, type PostContentTextarea as ae, type PostContentType as af, type PostContentVideo as ag, type PostFileInput as ah, type PostResource as ai, type PosterUsageType as aj, type PromoCodeType as ak, type PuzzleAnswer as al, type PuzzleAnsweredQuestion as am, type PuzzleBaseGame as an, type PuzzleGameData as ao, type PuzzleQuestion as ap, type RelatedPostType as aq, type RelationDate as ar, type RelationInputType as as, type ResourceContactDetailsType as at, type ResourceDetails as au, type ResourceImageType as av, type SocialMediaType as aw, type SocialShareResourceType as ax, type Subcategory as ay, type SubcategoryItems 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 VendorInfoType as h, type UserLicenceType as i, EnumPostType as j, type GameLeaderboard as k, type VendorFormData as l, type CreateVendorFormData as m, type VendorInfoFormData as n, type CreateVendorInfoFormData as o, type UnregisteredVendorFormData as p, type CreateUnregisteredVendorFormData as q, type EventFormData as r, type CreateEventFormData as s, type EventInfoFormData as t, type CreateEventInfoFormData as u, type PostFormData as v, type CreatePostFormData as w, type Region as x, type BaseGameMap as y, type BaseGameType as z };
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
2
- import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia } from './enums/index.js';
2
+ import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
3
3
 
4
4
  type RelationDate = {
5
5
  dateTime: DateTimeType & {
@@ -96,7 +96,7 @@ interface EventType extends BaseResourceType {
96
96
  sharePublic?: SocialShareResourceType | null;
97
97
  shareRelation?: SocialShareResourceType | null;
98
98
  }
99
- type EventListItemType = Omit<EventType, "adIds" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
99
+ type EventListItemType = Omit<EventType, "adIds" | "associates" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
100
100
  type EventInfoType = Omit<EventInfoFormData, "_id"> & {
101
101
  _id: string;
102
102
  active?: boolean;
@@ -373,7 +373,6 @@ type PostContentType = Omit<PostContentFormData, "contentData"> & {
373
373
  };
374
374
  type PostType = Omit<PostFormData, "content" | "coverUpload" | "resource"> & {
375
375
  _id: string;
376
- approvedAt?: Date | null;
377
376
  content: PostContentType[];
378
377
  createdAt: Date;
379
378
  deletedAt: Date | null;
@@ -501,11 +500,6 @@ type PromoCodeType = `${typeof PROMO_CODE_PREFIX}${string}`;
501
500
  type Nullable<T> = {
502
501
  [K in keyof T]: T[K] | null | undefined;
503
502
  };
504
- /** Uniform mutation response envelope used across GraphQL mutations. */
505
- type MutationResponse<T> = {
506
- data: T | null;
507
- message: string | null;
508
- };
509
503
  type DeviceInfo = {
510
504
  appBuildNumber: string;
511
505
  appId: string;
@@ -542,6 +536,12 @@ type UserLicenceType = {
542
536
  licenceType: EnumUserLicence;
543
537
  prevLicenceType?: EnumUserLicence | null;
544
538
  };
539
+ type AssociateType = {
540
+ email: string;
541
+ resourceId: string;
542
+ resourceType: EnumResourceType;
543
+ licence: UserLicenceType;
544
+ };
545
545
  type OwnerType = {
546
546
  email: string;
547
547
  userId: string;
@@ -549,6 +549,7 @@ type OwnerType = {
549
549
  interface BaseResourceTypeFormData {
550
550
  _id?: string;
551
551
  active: boolean;
552
+ associates: AssociateType[] | null;
552
553
  contactDetails: ResourceContactDetailsType | null;
553
554
  cover: ResourceImageType;
554
555
  coverUpload?: ResourceImageType | null;
@@ -558,6 +559,7 @@ interface BaseResourceTypeFormData {
558
559
  logo?: ResourceImageType | null;
559
560
  logoUpload?: ResourceImageType | null;
560
561
  name: string;
562
+ owner?: OwnerType | null;
561
563
  promoCodes?: PromoCodeType[] | null;
562
564
  region: string;
563
565
  socialMedia: SocialMediaType[] | null;
@@ -568,7 +570,6 @@ type PosterUsageType = {
568
570
  count: number;
569
571
  };
570
572
  type RelatedPostType = {
571
- postActive: boolean;
572
573
  postId: string;
573
574
  postSlug: string;
574
575
  postType: EnumPostType;
@@ -580,10 +581,8 @@ type SocialShareResourceType = {
580
581
  type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
581
582
  _id: string;
582
583
  adIds?: string[] | null;
583
- approvedAt?: Date | null;
584
584
  createdAt: Date;
585
585
  deletedAt: Date | null;
586
- owner: OwnerType;
587
586
  posterUsage?: PosterUsageType | null;
588
587
  rating?: number | null;
589
588
  relatedPost?: RelatedPostType | null;
@@ -696,4 +695,4 @@ interface UseGetResourcesByRegionOptions {
696
695
  offset?: number;
697
696
  }
698
697
 
699
- export { type GamePlacement as $, type BaseGameType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type MutationResponse as M, type DateTimeWithPriceType as N, type OptionItem as O, type PosterUsageType as P, type DeviceInfo as Q, type RefundPolicy as R, type StallType as S, EnumGameStatus as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumGameType as W, EnumPostContentType as X, type EventStatusType as Y, type GameDate as Z, type GameHistory as _, type FormDateField as a, type GamePlacementClue as a0, type GameType as a1, type GeocodeLocation as a2, type GlobalGameData as a3, type ImageObjectType as a4, type LocationGeoType as a5, type Nullable as a6, type OwnerType as a7, PROMO_CODE_PREFIX as a8, type PaymentInfoType as a9, type TermsAgreement as aA, type UnregisteredVendorInvitationType as aB, type VendorAttributes as aC, type VendorCalendarData as aD, type VendorProductList as aE, gameScreenIdentifierList as aF, gameTypeToDisplayName as aG, type PostContentData as aa, type PostContentFormData as ab, type PostContentGame as ac, type PostContentImage as ad, type PostContentList as ae, type PostContentTextarea as af, type PostContentType as ag, type PostContentVideo as ah, type PostFileInput as ai, type PostResource as aj, type PromoCodeType as ak, type PuzzleAnswer as al, type PuzzleAnsweredQuestion as am, type PuzzleBaseGame as an, type PuzzleGameData as ao, type PuzzleQuestion as ap, type RelatedPostType as aq, type RelationDate as ar, type RelationInputType as as, type ResourceContactDetailsType as at, type ResourceDetails as au, type ResourceImageType as av, type SocialMediaType as aw, type SocialShareResourceType as ax, type Subcategory as ay, type SubcategoryItems 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 VendorInfoType as h, type UserLicenceType as i, type PostType as j, EnumPostType as k, type GameLeaderboard as l, type VendorFormData as m, type CreateVendorFormData as n, type VendorInfoFormData as o, type CreateVendorInfoFormData as p, type UnregisteredVendorFormData as q, type CreateUnregisteredVendorFormData as r, type EventFormData as s, type CreateEventFormData as t, type EventInfoFormData as u, type CreateEventInfoFormData as v, type PostFormData as w, type CreatePostFormData as x, type Region as y, type BaseGameMap as z };
698
+ export { type GamePlacementClue as $, type AssociateType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type DateTimeWithPriceType as M, type DeviceInfo as N, type OptionItem as O, type PostType as P, EnumGameStatus as Q, type RefundPolicy as R, type StallType as S, EnumGameType as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumPostContentType as W, type EventStatusType as X, type GameDate as Y, type GameHistory as Z, type GamePlacement as _, type FormDateField as a, type GameType as a0, type GeocodeLocation as a1, type GlobalGameData as a2, type ImageObjectType as a3, type LocationGeoType as a4, type Nullable as a5, type OwnerType as a6, PROMO_CODE_PREFIX as a7, type PaymentInfoType as a8, type PostContentData as a9, type TermsAgreement as aA, type UnregisteredVendorInvitationType as aB, type VendorAttributes as aC, type VendorCalendarData as aD, type VendorProductList as aE, gameScreenIdentifierList as aF, gameTypeToDisplayName as aG, type PostContentFormData as aa, type PostContentGame as ab, type PostContentImage as ac, type PostContentList as ad, type PostContentTextarea as ae, type PostContentType as af, type PostContentVideo as ag, type PostFileInput as ah, type PostResource as ai, type PosterUsageType as aj, type PromoCodeType as ak, type PuzzleAnswer as al, type PuzzleAnsweredQuestion as am, type PuzzleBaseGame as an, type PuzzleGameData as ao, type PuzzleQuestion as ap, type RelatedPostType as aq, type RelationDate as ar, type RelationInputType as as, type ResourceContactDetailsType as at, type ResourceDetails as au, type ResourceImageType as av, type SocialMediaType as aw, type SocialShareResourceType as ax, type Subcategory as ay, type SubcategoryItems 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 VendorInfoType as h, type UserLicenceType as i, EnumPostType as j, type GameLeaderboard as k, type VendorFormData as l, type CreateVendorFormData as m, type VendorInfoFormData as n, type CreateVendorInfoFormData as o, type UnregisteredVendorFormData as p, type CreateUnregisteredVendorFormData as q, type EventFormData as r, type CreateEventFormData as s, type EventInfoFormData as t, type CreateEventInfoFormData as u, type PostFormData as v, type CreatePostFormData as w, type Region as x, type BaseGameMap as y, type BaseGameType as z };