@timardex/cluemart-shared 1.7.0 → 1.7.1

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-BUYzE6zx.d.ts +181 -0
  2. package/dist/ad-BhLoEul3.d.mts +181 -0
  3. package/dist/affiliate-BbtjeUP4.d.mts +73 -0
  4. package/dist/affiliate-C51nzKsw.d.ts +73 -0
  5. package/dist/apollo/index.cjs +1383 -0
  6. package/dist/apollo/index.cjs.map +1 -0
  7. package/dist/apollo/index.d.mts +323 -0
  8. package/dist/apollo/index.d.ts +323 -0
  9. package/dist/apollo/index.mjs +1295 -0
  10. package/dist/apollo/index.mjs.map +1 -0
  11. package/dist/auth/index.cjs +1727 -0
  12. package/dist/auth/index.cjs.map +1 -0
  13. package/dist/auth/index.d.mts +166 -0
  14. package/dist/auth/index.d.ts +166 -0
  15. package/dist/auth/index.mjs +380 -0
  16. package/dist/auth/index.mjs.map +1 -0
  17. package/dist/chunk-32MKHJTX.mjs +1207 -0
  18. package/dist/chunk-32MKHJTX.mjs.map +1 -0
  19. package/dist/{chunk-RKIRWZCH.mjs → chunk-AYO3E4DM.mjs} +39 -183
  20. package/dist/chunk-AYO3E4DM.mjs.map +1 -0
  21. package/dist/{chunk-ZZJSCYJK.mjs → chunk-BIJ5NDXW.mjs} +46 -42
  22. package/dist/chunk-BIJ5NDXW.mjs.map +1 -0
  23. package/dist/chunk-DQ7ZHIXW.mjs +26 -0
  24. package/dist/chunk-DQ7ZHIXW.mjs.map +1 -0
  25. package/dist/{chunk-MVQ3CFQR.mjs → chunk-ILILH7E2.mjs} +12 -23
  26. package/dist/chunk-ILILH7E2.mjs.map +1 -0
  27. package/dist/{chunk-TAECMXM4.mjs → chunk-LBEJECG3.mjs} +249 -219
  28. package/dist/{chunk-TAECMXM4.mjs.map → chunk-LBEJECG3.mjs.map} +1 -1
  29. package/dist/{chunk-HZMP7GXC.mjs → chunk-R6PCFOYO.mjs} +949 -2629
  30. package/dist/chunk-R6PCFOYO.mjs.map +1 -0
  31. package/dist/chunk-RAYUJODN.mjs +45 -0
  32. package/dist/chunk-RAYUJODN.mjs.map +1 -0
  33. package/dist/chunk-SD42WIMV.mjs +297 -0
  34. package/dist/chunk-SD42WIMV.mjs.map +1 -0
  35. package/dist/chunk-VPANTTZI.mjs +262 -0
  36. package/dist/chunk-VPANTTZI.mjs.map +1 -0
  37. package/dist/{chunk-KZTOISPA.mjs → chunk-X3OLM35T.mjs} +14 -8
  38. package/dist/chunk-X3OLM35T.mjs.map +1 -0
  39. package/dist/{contactUs-H7799pWe.d.ts → contactUs--NoohZBu.d.ts} +1 -1
  40. package/dist/{contactUs-DGrDzJaM.d.mts → contactUs-CBWzefUS.d.mts} +1 -1
  41. package/dist/enums/index.cjs +13 -7
  42. package/dist/enums/index.cjs.map +1 -1
  43. package/dist/enums/index.d.mts +15 -9
  44. package/dist/enums/index.d.ts +15 -9
  45. package/dist/enums/index.mjs +1 -1
  46. package/dist/formFields/index.cjs +136 -73
  47. package/dist/formFields/index.cjs.map +1 -1
  48. package/dist/formFields/index.d.mts +3 -2
  49. package/dist/formFields/index.d.ts +3 -2
  50. package/dist/formFields/index.mjs +9 -4
  51. package/dist/{global-fKbMmluy.d.ts → global-CUYYxpy2.d.ts} +12 -11
  52. package/dist/{global-BUUfmCo7.d.mts → global-DePDtOFt.d.mts} +12 -11
  53. package/dist/graphql/index.cjs +694 -1251
  54. package/dist/graphql/index.cjs.map +1 -1
  55. package/dist/graphql/index.d.mts +423 -173
  56. package/dist/graphql/index.d.ts +423 -173
  57. package/dist/graphql/index.mjs +33 -21
  58. package/dist/hooks/index.cjs +937 -307
  59. package/dist/hooks/index.cjs.map +1 -1
  60. package/dist/hooks/index.d.mts +10 -4
  61. package/dist/hooks/index.d.ts +10 -4
  62. package/dist/hooks/index.mjs +170 -58
  63. package/dist/hooks/index.mjs.map +1 -1
  64. package/dist/images/apple-maps-icon.webp.d.ts +8 -1
  65. package/dist/images/banner-horizontal.webp.d.ts +8 -1
  66. package/dist/images/banner-vertical.webp.d.ts +8 -1
  67. package/dist/images/cluiTui.webp.d.ts +8 -1
  68. package/dist/images/corporate.webp.d.ts +8 -1
  69. package/dist/images/facebook.webp.d.ts +8 -1
  70. package/dist/images/gazebo-top.webp.d.ts +8 -1
  71. package/dist/images/google-maps-icon.webp.d.ts +8 -1
  72. package/dist/images/googleMaps-logo-dark.webp.d.ts +8 -1
  73. package/dist/images/googleMaps-logo-light.webp.d.ts +8 -1
  74. package/dist/images/instagram.webp.d.ts +8 -1
  75. package/dist/images/logo-atr.webp.d.ts +8 -1
  76. package/dist/images/logo-dark.webp.d.ts +8 -1
  77. package/dist/images/logo.webp.d.ts +8 -1
  78. package/dist/images/meet.webp.d.ts +8 -1
  79. package/dist/images/mini-market1.webp.d.ts +8 -1
  80. package/dist/images/mini-market2.webp.d.ts +8 -1
  81. package/dist/images/mini-market3.webp.d.ts +8 -1
  82. package/dist/images/mini-market4.webp.d.ts +8 -1
  83. package/dist/images/mini-market5.webp.d.ts +8 -1
  84. package/dist/images/poll.webp.d.ts +8 -1
  85. package/dist/images/poster1.webp.d.ts +8 -1
  86. package/dist/images/poster2.webp.d.ts +8 -1
  87. package/dist/images/poster3.webp.d.ts +8 -1
  88. package/dist/images/poster4.webp.d.ts +8 -1
  89. package/dist/images/private.webp.d.ts +8 -1
  90. package/dist/images/qr-code.webp.d.ts +8 -1
  91. package/dist/images/school.webp.d.ts +8 -1
  92. package/dist/images/sima.webp.d.ts +8 -1
  93. package/dist/images/store-android.webp.d.ts +8 -1
  94. package/dist/images/store-ios.webp.d.ts +8 -1
  95. package/dist/images/tablas.webp.d.ts +8 -1
  96. package/dist/images/telefonos.webp.d.ts +8 -1
  97. package/dist/images/tiktok.webp.d.ts +8 -1
  98. package/dist/images/tip.webp.d.ts +8 -1
  99. package/dist/images/ugralos.webp.d.ts +8 -1
  100. package/dist/images/waze-maps-icon.webp.d.ts +8 -1
  101. package/dist/images/website.webp.d.ts +8 -1
  102. package/dist/images/youtube.webp.d.ts +8 -1
  103. package/dist/index.cjs +1655 -1705
  104. package/dist/index.cjs.map +1 -1
  105. package/dist/index.d.mts +654 -240
  106. package/dist/index.d.ts +654 -240
  107. package/dist/index.mjs +1617 -1704
  108. package/dist/index.mjs.map +1 -1
  109. package/dist/map/index.cjs +14 -9
  110. package/dist/map/index.cjs.map +1 -1
  111. package/dist/map/index.d.mts +16 -13
  112. package/dist/map/index.d.ts +16 -13
  113. package/dist/map/index.mjs +14 -9
  114. package/dist/map/index.mjs.map +1 -1
  115. package/dist/{resourceActivities-BL_12IAo.d.ts → resourceActivities-CMUcn2P7.d.ts} +9 -4
  116. package/dist/{resourceActivities-zczOntNk.d.mts → resourceActivities-CwbJFGIp.d.mts} +9 -4
  117. package/dist/sharing/index.cjs +39 -1252
  118. package/dist/sharing/index.cjs.map +1 -1
  119. package/dist/sharing/index.d.mts +17 -5
  120. package/dist/sharing/index.d.ts +17 -5
  121. package/dist/sharing/index.mjs +34 -30
  122. package/dist/subscription-BU8GvH2K.d.ts +12 -0
  123. package/dist/subscription-bmAdrnfi.d.mts +12 -0
  124. package/dist/types/index.cjs +15 -2
  125. package/dist/types/index.cjs.map +1 -1
  126. package/dist/types/index.d.mts +10 -23
  127. package/dist/types/index.d.ts +10 -23
  128. package/dist/types/index.mjs +9 -5
  129. package/dist/user-D47MLFyH.d.ts +134 -0
  130. package/dist/user-DE8edl3u.d.mts +134 -0
  131. package/dist/utils/index.cjs +355 -136
  132. package/dist/utils/index.cjs.map +1 -1
  133. package/dist/utils/index.d.mts +87 -35
  134. package/dist/utils/index.d.ts +87 -35
  135. package/dist/utils/index.mjs +42 -15
  136. package/package.json +31 -10
  137. package/dist/ad-CVkVX_z5.d.ts +0 -296
  138. package/dist/ad-DA9ECAhK.d.mts +0 -296
  139. package/dist/affiliate-1RtkLnLP.d.ts +0 -35
  140. package/dist/affiliate-Cos2Syz5.d.mts +0 -35
  141. package/dist/chunk-HZMP7GXC.mjs.map +0 -1
  142. package/dist/chunk-KZTOISPA.mjs.map +0 -1
  143. package/dist/chunk-MVQ3CFQR.mjs.map +0 -1
  144. package/dist/chunk-RKIRWZCH.mjs.map +0 -1
  145. package/dist/chunk-ZZJSCYJK.mjs.map +0 -1
package/dist/index.d.ts CHANGED
@@ -77,9 +77,11 @@ declare enum EnumFoodType {
77
77
  VEGETARIAN = "Vegetarian"
78
78
  }
79
79
  declare enum EnumResourceType {
80
+ AFFILIATE = "affiliate",
80
81
  EVENT = "event",
81
82
  VENDOR = "vendor",
82
- PARTNER = "partner"
83
+ PARTNER = "partner",
84
+ SCHOOL = "school"
83
85
  }
84
86
  declare enum EnumEventType {
85
87
  MARKET = "Market",
@@ -108,11 +110,11 @@ declare enum EnumRelationResource {
108
110
  VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
109
111
  }
110
112
  declare enum EnumNotificationResourceType {
111
- ADDED_AS_ASSOCIATE_EVENT = "added_as_associate_event",
112
- ADDED_AS_ASSOCIATE_PARTNER = "added_as_associate_partner",
113
- ADDED_AS_ASSOCIATE_VENDOR = "added_as_associate_vendor",
113
+ APPROVED_AFFILIATE = "approved_affiliate",
114
+ AFFILIATE_REWARD_RECEIVED = "affiliate_reward_received",
114
115
  APPROVED_EVENT = "approved_event",
115
116
  APPROVED_PARTNER = "approved_partner",
117
+ APPROVED_SCHOOL = "approved_school",
116
118
  APPROVED_VENDOR = "approved_vendor",
117
119
  CREATED_EVENT = "created_event",
118
120
  CREATED_PARTNER = "created_partner",
@@ -175,15 +177,19 @@ declare enum EnumUserLicence {
175
177
  PRO_VENDOR = "pro_vendor",
176
178
  STANDARD_EVENT = "standard_event",
177
179
  STANDARD_VENDOR = "standard_vendor",
178
- STANDARD_PARTNER = "standard_partner"
180
+ STANDARD_PARTNER = "standard_partner",
181
+ STANDARD_AFFILIATE = "standard_affiliate",
182
+ STANDARD_SCHOOL = "standard_school"
179
183
  }
180
184
  declare enum EnumUserRole {
181
185
  ADMIN = "admin",
186
+ AFFILIATE = "affiliate",
182
187
  CUSTOMER = "customer",
183
- MARKETING = "marketing",
184
- MODERATOR = "moderator",
185
- SUPPORT = "support",
186
- AFFILIATE = "affiliate"
188
+ EVENT = "event",
189
+ PARTNER = "partner",
190
+ SCHOOL = "school",
191
+ SUPER_ADMIN = "super_admin",
192
+ VENDOR = "vendor"
187
193
  }
188
194
  declare enum EnumSocialMedia {
189
195
  FACEBOOK = "facebook",
@@ -320,7 +326,7 @@ interface EventType extends BaseResourceType {
320
326
  sharePublic?: SocialShareResourceType | null;
321
327
  shareRelation?: SocialShareResourceType | null;
322
328
  }
323
- type EventListItemType = Omit<EventType, "adIds" | "associates" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
329
+ type EventListItemType = Omit<EventType, "adIds" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
324
330
  type EventInfoType = Omit<EventInfoFormData, "_id"> & {
325
331
  _id: string;
326
332
  active?: boolean;
@@ -597,6 +603,7 @@ type PostContentType = Omit<PostContentFormData, "contentData"> & {
597
603
  };
598
604
  type PostType = Omit<PostFormData, "content" | "coverUpload" | "resource"> & {
599
605
  _id: string;
606
+ approvedAt?: Date | null;
600
607
  content: PostContentType[];
601
608
  createdAt: Date;
602
609
  deletedAt: Date | null;
@@ -724,6 +731,11 @@ type PromoCodeType = `${typeof PROMO_CODE_PREFIX}${string}`;
724
731
  type Nullable<T> = {
725
732
  [K in keyof T]: T[K] | null | undefined;
726
733
  };
734
+ /** Uniform mutation response envelope used across GraphQL mutations. */
735
+ type MutationResponse<T> = {
736
+ data: T | null;
737
+ message: string | null;
738
+ };
727
739
  type DeviceInfo = {
728
740
  appBuildNumber: string;
729
741
  appId: string;
@@ -760,12 +772,6 @@ type UserLicenceType = {
760
772
  licenceType: EnumUserLicence;
761
773
  prevLicenceType?: EnumUserLicence | null;
762
774
  };
763
- type AssociateType = {
764
- email: string;
765
- resourceId: string;
766
- resourceType: EnumResourceType;
767
- licence: UserLicenceType;
768
- };
769
775
  type OwnerType = {
770
776
  email: string;
771
777
  userId: string;
@@ -773,7 +779,6 @@ type OwnerType = {
773
779
  interface BaseResourceTypeFormData {
774
780
  _id?: string;
775
781
  active: boolean;
776
- associates: AssociateType[] | null;
777
782
  contactDetails: ResourceContactDetailsType | null;
778
783
  cover: ResourceImageType;
779
784
  coverUpload?: ResourceImageType | null;
@@ -783,7 +788,6 @@ interface BaseResourceTypeFormData {
783
788
  logo?: ResourceImageType | null;
784
789
  logoUpload?: ResourceImageType | null;
785
790
  name: string;
786
- owner?: OwnerType | null;
787
791
  promoCodes?: PromoCodeType[] | null;
788
792
  region: string;
789
793
  socialMedia: SocialMediaType[] | null;
@@ -794,6 +798,7 @@ type PosterUsageType = {
794
798
  count: number;
795
799
  };
796
800
  type RelatedPostType = {
801
+ postActive: boolean;
797
802
  postId: string;
798
803
  postSlug: string;
799
804
  postType: EnumPostType;
@@ -805,8 +810,10 @@ type SocialShareResourceType = {
805
810
  type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
806
811
  _id: string;
807
812
  adIds?: string[] | null;
813
+ approvedAt?: Date | null;
808
814
  createdAt: Date;
809
815
  deletedAt: Date | null;
816
+ owner: OwnerType;
810
817
  posterUsage?: PosterUsageType | null;
811
818
  rating?: number | null;
812
819
  relatedPost?: RelatedPostType | null;
@@ -941,6 +948,58 @@ interface AdminUpdateResourceType {
941
948
  resourceType: EnumResourceType;
942
949
  }
943
950
 
951
+ /** Roles allowed to sign into the admin web app (CUSTOMER-only is denied). */
952
+ declare const ADMIN_APP_ROLES: readonly [EnumUserRole.SUPER_ADMIN, EnumUserRole.ADMIN, EnumUserRole.EVENT, EnumUserRole.VENDOR, EnumUserRole.PARTNER, EnumUserRole.SCHOOL, EnumUserRole.AFFILIATE];
953
+ type AdminAppRole = (typeof ADMIN_APP_ROLES)[number];
954
+ type AdminDashboardContext = "staff" | "event" | "vendor" | "partner" | "school" | "affiliate";
955
+ type AdminDashboardContextInfo = {
956
+ context: AdminDashboardContext;
957
+ home: string;
958
+ label: string;
959
+ /** Path prefixes that belong to this context (including home). */
960
+ pathPrefixes: readonly string[];
961
+ roles: readonly EnumUserRole[];
962
+ };
963
+ /**
964
+ * Priority order for default home + role switcher.
965
+ * Staff first, then product roles.
966
+ */
967
+ declare const ADMIN_DASHBOARD_CONTEXTS: readonly AdminDashboardContextInfo[];
968
+ declare function canAccessAdminApp(roles: EnumUserRole[] | null | undefined): boolean;
969
+ declare function getUsableAdminContexts(roles: EnumUserRole[] | null | undefined): AdminDashboardContextInfo[];
970
+ declare function getDefaultAdminHome(roles: EnumUserRole[] | null | undefined, preferredContext?: AdminDashboardContext | null): string;
971
+ declare function resolveAdminContextFromPath(pathname: string): AdminDashboardContext | null;
972
+ declare function canAccessAdminPath(roles: EnumUserRole[] | null | undefined, pathname: string): boolean;
973
+
974
+ /**
975
+ * Canonical permission IDs. Add new permissions here first, then map them in
976
+ * ROLE_PERMISSIONS. Prefer resource.action names (e.g. users.read).
977
+ */
978
+ declare const PERMISSIONS: readonly ["*", "dashboard.admin", "dashboard.affiliate", "dashboard.customer", "dashboard.event", "dashboard.partner", "dashboard.school", "dashboard.vendor", "users.delete", "users.read", "users.update", "events.create", "events.delete", "events.read", "events.update", "vendors.create", "vendors.delete", "vendors.read", "vendors.update", "partners.create", "partners.delete", "partners.read", "partners.update", "schools.create", "schools.delete", "schools.read", "schools.update", "affiliates.create", "affiliates.delete", "affiliates.read", "affiliates.update", "ads.create", "ads.delete", "ads.read", "ads.update", "posts.create", "posts.delete", "posts.read", "posts.update", "settings.read", "settings.update", "affiliates.manage_own", "events.manage_own", "partners.manage_own", "schools.manage_own", "vendors.manage_own"];
979
+ type Permission = (typeof PERMISSIONS)[number];
980
+ declare const WILDCARD_PERMISSION: Permission;
981
+
982
+ /**
983
+ * Union of permissions for the given roles (deduped, stable order).
984
+ */
985
+ declare function getPermissionsForRoles(roles: EnumUserRole[] | null | undefined): Permission[];
986
+ /**
987
+ * Check a concrete permission list (e.g. authUser.permissions) for a grant.
988
+ * Honours the "*" wildcard.
989
+ */
990
+ declare function permissionListIncludes(permissions: readonly Permission[] | null | undefined, permission: Permission): boolean;
991
+ declare function hasPermission(roles: EnumUserRole[] | null | undefined, permission: Permission): boolean;
992
+ declare function hasAnyPermission(roles: EnumUserRole[] | null | undefined, permissions: readonly Permission[]): boolean;
993
+ declare function hasAllPermissions(roles: EnumUserRole[] | null | undefined, permissions: readonly Permission[]): boolean;
994
+ declare function hasRole(roles: EnumUserRole[] | null | undefined, role: EnumUserRole): boolean;
995
+ declare function hasAnyRole(roles: EnumUserRole[] | null | undefined, checkRoles: readonly EnumUserRole[]): boolean;
996
+
997
+ /**
998
+ * Static role → permissions map. Source of truth for access.
999
+ * Permissions for a user = union of all their roles' lists.
1000
+ */
1001
+ declare const ROLE_PERMISSIONS: Record<EnumUserRole, readonly Permission[]>;
1002
+
944
1003
  type UserFormData = {
945
1004
  _id?: string;
946
1005
  active: boolean;
@@ -955,7 +1014,6 @@ type UserFormData = {
955
1014
  password?: string | null;
956
1015
  platform?: EnumOSPlatform;
957
1016
  preferredRegion: string;
958
- role: EnumUserRole;
959
1017
  termsAgreement?: TermsAgreement | null;
960
1018
  };
961
1019
  type CreateUserFormData = CreateFormData<UserFormData>;
@@ -964,12 +1022,12 @@ type UserActivityEvent = {
964
1022
  dateTime: DateTimeType;
965
1023
  };
966
1024
  type StripeSubscription = {
1025
+ currentPlan?: EnumUserLicence;
967
1026
  customerId?: string;
968
- subscriptionId?: string;
1027
+ endDate?: Date;
1028
+ startDate?: Date;
969
1029
  status?: EnumSubscriptionStatus;
970
- currentPlan?: EnumUserLicence;
971
- startDate?: string;
972
- endDate?: string;
1030
+ subscriptionId?: string;
973
1031
  };
974
1032
  type SubscriptionStatusData = {
975
1033
  subscriptionId: string | null;
@@ -1024,8 +1082,9 @@ type RedeemRewardInput = {
1024
1082
  };
1025
1083
  type RedeemRewardResponse = {
1026
1084
  userId: string;
1027
- message: string;
1028
1085
  };
1086
+ /** GraphQL envelope for `redeemReward`. */
1087
+ type RedeemRewardMutationResponse = MutationResponse<RedeemRewardResponse>;
1029
1088
  type RedeemedReward = {
1030
1089
  name: EnumReward;
1031
1090
  pointsUsed: number;
@@ -1034,7 +1093,6 @@ type RedeemedReward = {
1034
1093
  type UserType = Omit<UserFormData, "confirmPassword" | "avatarUpload" | "_id"> & {
1035
1094
  _id: string;
1036
1095
  affiliate?: string | null;
1037
- associates?: AssociateType[] | null;
1038
1096
  createdAt: Date;
1039
1097
  deletedAt: Date | null;
1040
1098
  events: string[] | null;
@@ -1042,14 +1100,18 @@ type UserType = Omit<UserFormData, "confirmPassword" | "avatarUpload" | "_id"> &
1042
1100
  licences: UserLicenceType[] | null;
1043
1101
  overallPoints: number | null;
1044
1102
  partner: string | null;
1103
+ /** Computed from roles via ROLE_PERMISSIONS — not stored in Mongo. */
1104
+ permissions: Permission[];
1045
1105
  promoCodes?: PromoCodeType[] | null;
1046
1106
  redeemedRewards?: RedeemedReward[] | null;
1047
1107
  refreshToken: string | null;
1108
+ roles: EnumUserRole[];
1048
1109
  school: string | null;
1049
1110
  stripe?: StripeSubscription;
1050
1111
  updatedAt: Date | null;
1051
1112
  userActivity: UserActivity | null;
1052
1113
  vendor: string | null;
1114
+ emailSentFor?: EnumNotificationResourceType[] | null;
1053
1115
  };
1054
1116
  type SafeUserType = Omit<UserType, "password" | "refreshToken">;
1055
1117
  type ResourceByUser = {
@@ -1099,19 +1161,19 @@ type ValidateVerificationTokenFormData = {
1099
1161
  };
1100
1162
  type CreateValidateVerificationTokenFormData = CreateFormData<ValidateVerificationTokenFormData>;
1101
1163
  type AuthPayloadType = {
1102
- message: string;
1103
- token: string;
1104
1164
  refreshToken: string | null;
1165
+ token: string;
1105
1166
  user: SafeUserType;
1106
1167
  };
1168
+ type AuthMutationResponse = MutationResponse<AuthPayloadType>;
1107
1169
  type RefreshTokenPayloadType = {
1108
1170
  refreshToken: string;
1109
1171
  token: string;
1110
1172
  };
1173
+ type RefreshTokenMutationResponse = MutationResponse<RefreshTokenPayloadType>;
1111
1174
 
1112
1175
  type ParticipantType = {
1113
1176
  active: boolean;
1114
- isAssociate?: boolean | null;
1115
1177
  userAvatar: string | null;
1116
1178
  userEmail: string;
1117
1179
  userId: string;
@@ -1378,6 +1440,7 @@ type PushTokenType = {
1378
1440
  interface AppSettingsFormData {
1379
1441
  appVersion: string;
1380
1442
  isOfflineMode: boolean;
1443
+ minimumRedeemableAffiliatePoints: number;
1381
1444
  }
1382
1445
  type CreateAppSettingsFormData = CreateFormData<AppSettingsFormData>;
1383
1446
  type AppSettingsType = AppSettingsFormData & {
@@ -1429,11 +1492,12 @@ type SchoolCampaignType = {
1429
1492
  };
1430
1493
  type SchoolType = Omit<SchoolFormData, "logoUpload"> & {
1431
1494
  _id: string;
1495
+ approvedAt?: Date | null;
1432
1496
  campaigns: SchoolCampaignType[];
1433
1497
  createdAt: Date;
1434
1498
  deletedAt: Date | null;
1435
1499
  overallPoints: number | null;
1436
- owner: OwnerType | null;
1500
+ owner: OwnerType;
1437
1501
  ranking: number | null;
1438
1502
  schoolCode: PromoCodeType;
1439
1503
  updatedAt: Date | null;
@@ -1454,36 +1518,73 @@ declare const TIER_DISPLAY_LABELS: Record<Tier, string>;
1454
1518
  /** Maps licence enums to their canonical tier key. */
1455
1519
  declare const TIER_FROM_LICENCE: Record<EnumUserLicence, Tier>;
1456
1520
 
1521
+ declare enum EnumAffiliateParticipantType {
1522
+ INDIVIDUAL = "INDIVIDUAL",
1523
+ SOLE_TRADER = "SOLE_TRADER",
1524
+ COMPANY = "COMPANY"
1525
+ }
1526
+ type AffiliateContactDetails = {
1527
+ mobilePhone: string;
1528
+ };
1529
+ type AffiliateBankAccountDetailsType = {
1530
+ accountHolderName: string;
1531
+ accountNumber: string;
1532
+ };
1533
+ type AffiliateUserDefaultFields = Pick<UserFormData, "email" | "firstName" | "lastName" | "termsAgreement">;
1534
+ type AffiliateDetailsType = AffiliateUserDefaultFields & {
1535
+ bankAccountDetails: AffiliateBankAccountDetailsType;
1536
+ contactDetails: AffiliateContactDetails;
1537
+ irdNumber: string;
1538
+ location: LocationType;
1539
+ participantType: EnumAffiliateParticipantType;
1540
+ socialMedia: SocialMediaType[] | null;
1541
+ };
1457
1542
  declare enum EnumAffiliateRewardType {
1543
+ ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS = "ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS",
1544
+ ACTIVE_VENDOR_BONUS_REWARD = "ACTIVE_VENDOR_BONUS_REWARD",
1545
+ ACTIVE_VENDOR_PRO_SUBSCRIPTION = "ACTIVE_VENDOR_PRO_SUBSCRIPTION",
1546
+ ACTIVE_VENDOR_STANDARD_SUBSCRIPTION = "ACTIVE_VENDOR_STANDARD_SUBSCRIPTION",
1458
1547
  NEW_EVENT_REGISTRATION = "NEW_EVENT_REGISTRATION",
1459
- NEW_VENDOR_REGISTRATION = "NEW_VENDOR_REGISTRATION",
1460
- NEW_PARTNER_REGISTRATION = "NEW_PARTNER_REGISTRATION"
1548
+ NEW_VENDOR_REGISTRATION = "NEW_VENDOR_REGISTRATION"
1461
1549
  }
1462
- type AffiliateReward = {
1550
+ type AffiliateRewardType = {
1463
1551
  createdAt: Date;
1464
- deletedAt: Date | null;
1465
1552
  redeemedAt: Date | null;
1466
1553
  rewardDescription: string;
1467
1554
  rewardType: EnumAffiliateRewardType;
1468
1555
  rewardValue: number;
1469
- updatedAt: Date | null;
1470
1556
  };
1471
1557
  type AffiliateResourceType = {
1472
1558
  resourceActive: boolean;
1559
+ resourceDeletedAt: Date | null;
1473
1560
  resourceId: string;
1561
+ resourceName: string;
1562
+ resourceOwner: OwnerType;
1474
1563
  resourceType: EnumResourceType;
1475
- rewards: AffiliateReward[];
1564
+ rewards: AffiliateRewardType[];
1476
1565
  };
1477
- type AffiliateType = {
1566
+ type RedeemHistoryType = {
1567
+ paidAt?: Date | null;
1568
+ redeemedAt: Date;
1569
+ rewardValue: number;
1570
+ };
1571
+ interface AffiliateType {
1478
1572
  _id: string;
1479
- affiliateCode: PromoCodeType;
1573
+ active: boolean;
1574
+ approvedAt?: Date | null;
1575
+ affiliateBonusRewards?: AffiliateRewardType[] | null;
1576
+ affiliateCode: PromoCodeType | null;
1577
+ affiliateDetails: AffiliateDetailsType | null;
1480
1578
  affiliateResources: AffiliateResourceType[];
1481
1579
  createdAt: Date;
1482
1580
  deletedAt: Date | null;
1483
1581
  overallPoints: number;
1484
1582
  owner: OwnerType;
1583
+ redeemHistory?: RedeemHistoryType[] | null;
1485
1584
  updatedAt: Date | null;
1486
- };
1585
+ }
1586
+ type AffiliateFormData = Omit<AffiliateDetailsType, "email" | "firstName" | "lastName">;
1587
+ type CreateAffiliateFormData = CreateFormData<AffiliateFormData>;
1487
1588
 
1488
1589
  declare const vendorElectricity: {
1489
1590
  details: FormField;
@@ -1545,6 +1646,7 @@ declare const contactUsFields: FormField[];
1545
1646
 
1546
1647
  declare const emailField: FormField;
1547
1648
  declare const companyContactFields: FormField[];
1649
+ declare const bankAccountDetailsFields: FormField[];
1548
1650
 
1549
1651
  declare const partnerBasicInfoFields: FormField[];
1550
1652
 
@@ -1569,87 +1671,102 @@ declare function toGraphqlQueryString(query: DocumentNode): string;
1569
1671
 
1570
1672
  declare const useAdminUpdateResourceType: () => {
1571
1673
  adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<{
1572
- adminUpdateResourceType: {
1573
- resourceId: string;
1574
- resourceType: EnumResourceType;
1575
- };
1674
+ adminUpdateResourceType: MutationResponse<AdminUpdateResourceType>;
1576
1675
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1577
- adminUpdateResourceType: {
1578
- resourceId: string;
1579
- resourceType: EnumResourceType;
1580
- };
1676
+ adminUpdateResourceType: MutationResponse<AdminUpdateResourceType>;
1581
1677
  }>>;
1582
1678
  error: _apollo_client.ApolloError | undefined;
1583
1679
  loading: boolean;
1584
1680
  };
1585
1681
  declare const useAdminResendUserVerificationEmail: () => {
1586
- adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1682
+ adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<{
1683
+ adminResendUserVerificationEmail: MutationResponse<boolean>;
1684
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1685
+ adminResendUserVerificationEmail: MutationResponse<boolean>;
1686
+ }>>;
1587
1687
  error: _apollo_client.ApolloError | undefined;
1588
1688
  loading: boolean;
1589
1689
  };
1590
1690
  declare const useAdminPermanentlyDeleteResource: () => {
1591
- adminPermanentlyDeleteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1691
+ adminPermanentlyDeleteResource: (options?: _apollo_client.MutationFunctionOptions<{
1692
+ adminPermanentlyDeleteResource: MutationResponse<boolean>;
1693
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1694
+ adminPermanentlyDeleteResource: MutationResponse<boolean>;
1695
+ }>>;
1592
1696
  error: _apollo_client.ApolloError | undefined;
1593
1697
  loading: boolean;
1594
1698
  };
1595
1699
 
1700
+ type MessageOnlyResponse = MutationResponse<boolean>;
1596
1701
  declare const useRegister: () => {
1597
1702
  error: _apollo_client.ApolloError | undefined;
1598
1703
  loading: boolean;
1599
1704
  register: (options?: _apollo_client.MutationFunctionOptions<{
1600
- register: AuthPayloadType;
1705
+ register: AuthMutationResponse;
1601
1706
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1602
- register: AuthPayloadType;
1707
+ register: AuthMutationResponse;
1603
1708
  }>>;
1604
1709
  };
1605
1710
  declare const useLogin: () => {
1606
1711
  error: _apollo_client.ApolloError | undefined;
1607
1712
  loading: boolean;
1608
1713
  login: (options?: _apollo_client.MutationFunctionOptions<{
1609
- login: AuthPayloadType;
1714
+ login: AuthMutationResponse;
1610
1715
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1611
- login: AuthPayloadType;
1716
+ login: AuthMutationResponse;
1612
1717
  }>>;
1613
1718
  };
1614
1719
  declare const useLogout: () => {
1615
1720
  error: _apollo_client.ApolloError | undefined;
1616
1721
  loading: boolean;
1617
- logout: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1722
+ logout: (options?: _apollo_client.MutationFunctionOptions<{
1723
+ logout: MessageOnlyResponse;
1724
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1725
+ logout: MessageOnlyResponse;
1726
+ }>>;
1618
1727
  };
1619
1728
  declare const useRefreshToken: () => {
1620
1729
  error: _apollo_client.ApolloError | undefined;
1621
1730
  loading: boolean;
1622
1731
  refreshToken: (options?: _apollo_client.MutationFunctionOptions<{
1623
- refreshToken: RefreshTokenPayloadType;
1732
+ refreshToken: RefreshTokenMutationResponse;
1624
1733
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1625
- refreshToken: RefreshTokenPayloadType;
1734
+ refreshToken: RefreshTokenMutationResponse;
1626
1735
  }>>;
1627
1736
  };
1628
1737
  declare const useRequestPasswordReset: () => {
1629
1738
  error: _apollo_client.ApolloError | undefined;
1630
1739
  loading: boolean;
1631
- requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1740
+ requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<{
1741
+ requestPasswordReset: MessageOnlyResponse;
1742
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1743
+ requestPasswordReset: MessageOnlyResponse;
1744
+ }>>;
1632
1745
  };
1633
1746
  declare const useValidateVerificationToken: () => {
1634
1747
  error: _apollo_client.ApolloError | undefined;
1635
1748
  loading: boolean;
1636
- validateVerificationToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1749
+ validateVerificationToken: (options?: _apollo_client.MutationFunctionOptions<{
1750
+ validateVerificationToken: MessageOnlyResponse;
1751
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1752
+ validateVerificationToken: MessageOnlyResponse;
1753
+ }>>;
1637
1754
  };
1638
1755
  declare const useResetPassword: () => {
1639
1756
  error: _apollo_client.ApolloError | undefined;
1640
1757
  loading: boolean;
1641
- resetPassword: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1758
+ resetPassword: (options?: _apollo_client.MutationFunctionOptions<{
1759
+ resetPassword: MessageOnlyResponse;
1760
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1761
+ resetPassword: MessageOnlyResponse;
1762
+ }>>;
1642
1763
  };
1643
1764
 
1644
1765
  declare const useCreatePrivateChat: () => {
1645
1766
  createPrivateChat: (options?: _apollo_client.MutationFunctionOptions<{
1646
- createPrivateChat: {
1647
- _id: string;
1648
- };
1767
+ createPrivateChat: MutationResponse<ChatType>;
1649
1768
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1650
- createPrivateChat: {
1651
- _id: string;
1652
- };
1769
+ createPrivateChat: MutationResponse<ChatType>;
1653
1770
  }>>;
1654
1771
  error: _apollo_client.ApolloError | undefined;
1655
1772
  loading: boolean;
@@ -1658,29 +1775,25 @@ declare const useSendChatMessage: () => {
1658
1775
  error: _apollo_client.ApolloError | undefined;
1659
1776
  loading: boolean;
1660
1777
  sendChatMessage: (options?: _apollo_client.MutationFunctionOptions<{
1661
- sendChatMessage: {
1662
- _id: string;
1663
- };
1778
+ sendChatMessage: MutationResponse<ChatType>;
1664
1779
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1665
- sendChatMessage: {
1666
- _id: string;
1667
- };
1780
+ sendChatMessage: MutationResponse<ChatType>;
1668
1781
  }>>;
1669
1782
  };
1670
1783
  declare const useDeleteChat: () => {
1671
- deleteChat: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1784
+ deleteChat: (options?: _apollo_client.MutationFunctionOptions<{
1785
+ deleteChat: MutationResponse<boolean>;
1786
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1787
+ deleteChat: MutationResponse<boolean>;
1788
+ }>>;
1672
1789
  error: _apollo_client.ApolloError | undefined;
1673
1790
  loading: boolean;
1674
1791
  };
1675
1792
  declare const useAddParticipantToChat: () => {
1676
1793
  addParticipantToChat: (options?: _apollo_client.MutationFunctionOptions<{
1677
- addParticipantToChat: {
1678
- _id: string;
1679
- };
1794
+ addParticipantToChat: MutationResponse<ChatType>;
1680
1795
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1681
- addParticipantToChat: {
1682
- _id: string;
1683
- };
1796
+ addParticipantToChat: MutationResponse<ChatType>;
1684
1797
  }>>;
1685
1798
  error: _apollo_client.ApolloError | undefined;
1686
1799
  loading: boolean;
@@ -1689,47 +1802,43 @@ declare const useRemoveParticipantFromChat: () => {
1689
1802
  error: _apollo_client.ApolloError | undefined;
1690
1803
  loading: boolean;
1691
1804
  removeParticipantFromChat: (options?: _apollo_client.MutationFunctionOptions<{
1692
- removeParticipantFromChat: {
1805
+ removeParticipantFromChat: MutationResponse<{
1693
1806
  success: boolean;
1694
1807
  region?: string | null;
1695
- };
1808
+ }>;
1696
1809
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1697
- removeParticipantFromChat: {
1810
+ removeParticipantFromChat: MutationResponse<{
1698
1811
  success: boolean;
1699
1812
  region?: string | null;
1700
- };
1813
+ }>;
1701
1814
  }>>;
1702
1815
  };
1703
1816
  declare const useToggleChatMessageLike: () => {
1704
1817
  error: _apollo_client.ApolloError | undefined;
1705
1818
  loading: boolean;
1706
1819
  toggleChatMessageLike: (options?: _apollo_client.MutationFunctionOptions<{
1707
- toggleChatMessageLike: {
1708
- _id: string;
1709
- };
1820
+ toggleChatMessageLike: MutationResponse<ChatType>;
1710
1821
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1711
- toggleChatMessageLike: {
1712
- _id: string;
1713
- };
1822
+ toggleChatMessageLike: MutationResponse<ChatType>;
1714
1823
  }>>;
1715
1824
  };
1716
1825
  declare const useMarkChatMessagesSeen: () => {
1717
1826
  error: _apollo_client.ApolloError | undefined;
1718
1827
  loading: boolean;
1719
1828
  markChatMessagesSeen: (options?: _apollo_client.MutationFunctionOptions<{
1720
- markChatMessagesSeen: {
1721
- _id: string;
1722
- };
1829
+ markChatMessagesSeen: MutationResponse<ChatType>;
1723
1830
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1724
- markChatMessagesSeen: {
1725
- _id: string;
1726
- };
1831
+ markChatMessagesSeen: MutationResponse<ChatType>;
1727
1832
  }>>;
1728
1833
  };
1729
1834
  declare const useReportChatUser: () => {
1730
1835
  error: _apollo_client.ApolloError | undefined;
1731
1836
  loading: boolean;
1732
- reportChatUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1837
+ reportChatUser: (options?: _apollo_client.MutationFunctionOptions<{
1838
+ reportChatUser: MutationResponse<ReportChatUser>;
1839
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1840
+ reportChatUser: MutationResponse<ReportChatUser>;
1841
+ }>>;
1733
1842
  };
1734
1843
 
1735
1844
  declare const useGetChat: (_id: string) => {
@@ -1771,13 +1880,21 @@ declare const useGetReportedChatUsers: () => {
1771
1880
  };
1772
1881
 
1773
1882
  declare const useContactUs: () => {
1774
- contactUs: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1883
+ contactUs: (options?: _apollo_client.MutationFunctionOptions<{
1884
+ contactUs: MutationResponse<boolean>;
1885
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1886
+ contactUs: MutationResponse<boolean>;
1887
+ }>>;
1775
1888
  error: _apollo_client.ApolloError | undefined;
1776
1889
  loading: boolean;
1777
1890
  };
1778
1891
 
1779
1892
  declare const useCreateEvent: () => {
1780
- createEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1893
+ createEvent: (options?: _apollo_client.MutationFunctionOptions<{
1894
+ createEvent: MutationResponse<EventType>;
1895
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1896
+ createEvent: MutationResponse<EventType>;
1897
+ }>>;
1781
1898
  error: _apollo_client.ApolloError | undefined;
1782
1899
  loading: boolean;
1783
1900
  };
@@ -1785,29 +1902,29 @@ declare const useUpdateEvent: () => {
1785
1902
  error: _apollo_client.ApolloError | undefined;
1786
1903
  loading: boolean;
1787
1904
  updateEvent: (options?: _apollo_client.MutationFunctionOptions<{
1788
- updateEvent: {
1789
- _id: string;
1790
- };
1905
+ updateEvent: MutationResponse<EventType>;
1791
1906
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1792
- updateEvent: {
1793
- _id: string;
1794
- };
1907
+ updateEvent: MutationResponse<EventType>;
1795
1908
  }>>;
1796
1909
  };
1797
1910
  declare const useDeleteEvent: () => {
1798
- deleteEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1911
+ deleteEvent: (options?: _apollo_client.MutationFunctionOptions<{
1912
+ deleteEvent: MutationResponse<boolean>;
1913
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1914
+ deleteEvent: MutationResponse<boolean>;
1915
+ }>>;
1799
1916
  error: _apollo_client.ApolloError | undefined;
1800
1917
  loading: boolean;
1801
1918
  };
1802
1919
  declare const useCreateEventInfo: () => {
1803
1920
  createEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
1804
- createEventInfo: {
1921
+ createEventInfo: MutationResponse<{
1805
1922
  eventId: string;
1806
- };
1923
+ }>;
1807
1924
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1808
- createEventInfo: {
1925
+ createEventInfo: MutationResponse<{
1809
1926
  eventId: string;
1810
- };
1927
+ }>;
1811
1928
  }>>;
1812
1929
  error: _apollo_client.ApolloError | undefined;
1813
1930
  loading: boolean;
@@ -1816,13 +1933,13 @@ declare const useUpdateEventInfo: () => {
1816
1933
  error: _apollo_client.ApolloError | undefined;
1817
1934
  loading: boolean;
1818
1935
  updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
1819
- updateEventInfo: {
1936
+ updateEventInfo: MutationResponse<{
1820
1937
  eventId: string;
1821
- };
1938
+ }>;
1822
1939
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1823
- updateEventInfo: {
1940
+ updateEventInfo: MutationResponse<{
1824
1941
  eventId: string;
1825
- };
1942
+ }>;
1826
1943
  }>>;
1827
1944
  };
1828
1945
 
@@ -1900,27 +2017,47 @@ declare const useGetEventInfo: (eventId: string) => {
1900
2017
  };
1901
2018
 
1902
2019
  declare const useCreateBulkNotifications: () => {
1903
- createBulkNotifications: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2020
+ createBulkNotifications: (options?: _apollo_client.MutationFunctionOptions<{
2021
+ createBulkNotifications: MutationResponse<boolean>;
2022
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2023
+ createBulkNotifications: MutationResponse<boolean>;
2024
+ }>>;
1904
2025
  error: _apollo_client.ApolloError | undefined;
1905
2026
  loading: boolean;
1906
2027
  };
1907
2028
  declare const useMarkNotificationRead: () => {
1908
2029
  error: _apollo_client.ApolloError | undefined;
1909
2030
  loading: boolean;
1910
- markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2031
+ markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<{
2032
+ markNotificationRead: MutationResponse<NotificationType>;
2033
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2034
+ markNotificationRead: MutationResponse<NotificationType>;
2035
+ }>>;
1911
2036
  };
1912
2037
  declare const useMarkAllNotificationsRead: () => {
1913
2038
  error: _apollo_client.ApolloError | undefined;
1914
2039
  loading: boolean;
1915
- markAllNotificationsRead: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2040
+ markAllNotificationsRead: (options?: _apollo_client.MutationFunctionOptions<{
2041
+ markAllNotificationsRead: MutationResponse<boolean>;
2042
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2043
+ markAllNotificationsRead: MutationResponse<boolean>;
2044
+ }>>;
1916
2045
  };
1917
2046
  declare const useDeleteNotification: () => {
1918
- deleteNotification: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2047
+ deleteNotification: (options?: _apollo_client.MutationFunctionOptions<{
2048
+ deleteNotification: MutationResponse<boolean>;
2049
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2050
+ deleteNotification: MutationResponse<boolean>;
2051
+ }>>;
1919
2052
  error: _apollo_client.ApolloError | undefined;
1920
2053
  loading: boolean;
1921
2054
  };
1922
2055
  declare const useDeleteAllNotifications: () => {
1923
- deleteAllNotifications: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2056
+ deleteAllNotifications: (options?: _apollo_client.MutationFunctionOptions<{
2057
+ deleteAllNotifications: MutationResponse<boolean>;
2058
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2059
+ deleteAllNotifications: MutationResponse<boolean>;
2060
+ }>>;
1924
2061
  error: _apollo_client.ApolloError | undefined;
1925
2062
  loading: boolean;
1926
2063
  };
@@ -1954,22 +2091,38 @@ declare const useGetNotificationCountSubscription: () => {
1954
2091
  };
1955
2092
 
1956
2093
  declare const useCreatePoster: () => {
1957
- createPoster: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2094
+ createPoster: (options?: _apollo_client.MutationFunctionOptions<{
2095
+ createPoster: MutationResponse<{
2096
+ posterUsage: PosterUsageType;
2097
+ }>;
2098
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2099
+ createPoster: MutationResponse<{
2100
+ posterUsage: PosterUsageType;
2101
+ }>;
2102
+ }>>;
1958
2103
  error: _apollo_client.ApolloError | undefined;
1959
2104
  loading: boolean;
1960
2105
  };
1961
2106
 
1962
2107
  declare const useCreatePushToken: () => {
1963
- createPushToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2108
+ createPushToken: (options?: _apollo_client.MutationFunctionOptions<{
2109
+ createPushToken: MutationResponse<{
2110
+ success: boolean;
2111
+ }>;
2112
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2113
+ createPushToken: MutationResponse<{
2114
+ success: boolean;
2115
+ }>;
2116
+ }>>;
1964
2117
  error: _apollo_client.ApolloError | undefined;
1965
2118
  loading: boolean;
1966
2119
  };
1967
2120
 
1968
2121
  declare const useCreateRelation: () => {
1969
2122
  createRelation: (options?: _apollo_client.MutationFunctionOptions<{
1970
- createRelation: RelationType$1;
2123
+ createRelation: MutationResponse<RelationType$1>;
1971
2124
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1972
- createRelation: RelationType$1;
2125
+ createRelation: MutationResponse<RelationType$1>;
1973
2126
  }>>;
1974
2127
  error: _apollo_client.ApolloError | undefined;
1975
2128
  loading: boolean;
@@ -1978,16 +2131,16 @@ declare const useUpdateRelation: () => {
1978
2131
  error: _apollo_client.ApolloError | undefined;
1979
2132
  loading: boolean;
1980
2133
  updateRelation: (options?: _apollo_client.MutationFunctionOptions<{
1981
- updateRelation: RelationType$1;
2134
+ updateRelation: MutationResponse<RelationType$1>;
1982
2135
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1983
- updateRelation: RelationType$1;
2136
+ updateRelation: MutationResponse<RelationType$1>;
1984
2137
  }>>;
1985
2138
  };
1986
2139
  declare const useDeleteRelation: () => {
1987
2140
  deleteRelation: (options?: _apollo_client.MutationFunctionOptions<{
1988
- deleteRelation: RelationType$1;
2141
+ deleteRelation: MutationResponse<RelationType$1>;
1989
2142
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1990
- deleteRelation: RelationType$1;
2143
+ deleteRelation: MutationResponse<RelationType$1>;
1991
2144
  }>>;
1992
2145
  error: _apollo_client.ApolloError | undefined;
1993
2146
  loading: boolean;
@@ -2035,29 +2188,41 @@ declare const useGetResourceConnections: (resourceId: string, resourceType: Enum
2035
2188
  };
2036
2189
 
2037
2190
  declare const useCreateVendor: () => {
2038
- createVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2191
+ createVendor: (options?: _apollo_client.MutationFunctionOptions<{
2192
+ createVendor: MutationResponse<VendorType>;
2193
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2194
+ createVendor: MutationResponse<VendorType>;
2195
+ }>>;
2039
2196
  error: _apollo_client.ApolloError | undefined;
2040
2197
  loading: boolean;
2041
2198
  };
2042
2199
  declare const useUpdateVendor: () => {
2043
2200
  error: _apollo_client.ApolloError | undefined;
2044
2201
  loading: boolean;
2045
- updateVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2202
+ updateVendor: (options?: _apollo_client.MutationFunctionOptions<{
2203
+ updateVendor: MutationResponse<VendorType>;
2204
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2205
+ updateVendor: MutationResponse<VendorType>;
2206
+ }>>;
2046
2207
  };
2047
2208
  declare const useDeleteVendor: () => {
2048
- deleteVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2209
+ deleteVendor: (options?: _apollo_client.MutationFunctionOptions<{
2210
+ deleteVendor: MutationResponse<boolean>;
2211
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2212
+ deleteVendor: MutationResponse<boolean>;
2213
+ }>>;
2049
2214
  error: _apollo_client.ApolloError | undefined;
2050
2215
  loading: boolean;
2051
2216
  };
2052
2217
  declare const useCreateVendorInfo: () => {
2053
2218
  createVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
2054
- createVendorInfo: {
2219
+ createVendorInfo: MutationResponse<{
2055
2220
  vendorId: string;
2056
- };
2221
+ }>;
2057
2222
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2058
- createVendorInfo: {
2223
+ createVendorInfo: MutationResponse<{
2059
2224
  vendorId: string;
2060
- };
2225
+ }>;
2061
2226
  }>>;
2062
2227
  error: _apollo_client.ApolloError | undefined;
2063
2228
  loading: boolean;
@@ -2066,34 +2231,50 @@ declare const useUpdateVendorInfo: () => {
2066
2231
  error: _apollo_client.ApolloError | undefined;
2067
2232
  loading: boolean;
2068
2233
  updateVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
2069
- updateVendorInfo: {
2234
+ updateVendorInfo: MutationResponse<{
2070
2235
  vendorId: string;
2071
- };
2236
+ }>;
2072
2237
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2073
- updateVendorInfo: {
2238
+ updateVendorInfo: MutationResponse<{
2074
2239
  vendorId: string;
2075
- };
2240
+ }>;
2076
2241
  }>>;
2077
2242
  };
2078
2243
  declare const useCreateUnregisteredVendor: () => {
2079
- createUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2244
+ createUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
2245
+ createUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
2246
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2247
+ createUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
2248
+ }>>;
2080
2249
  error: _apollo_client.ApolloError | undefined;
2081
2250
  loading: boolean;
2082
2251
  };
2083
2252
  declare const useUpdateUnregisteredVendor: () => {
2084
2253
  error: _apollo_client.ApolloError | undefined;
2085
2254
  loading: boolean;
2086
- updateUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2255
+ updateUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
2256
+ updateUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
2257
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2258
+ updateUnregisteredVendor: MutationResponse<UnregisteredVendorType>;
2259
+ }>>;
2087
2260
  };
2088
2261
  declare const useDeleteUnregisteredVendor: () => {
2089
- deleteUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2262
+ deleteUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<{
2263
+ deleteUnregisteredVendor: MutationResponse<boolean>;
2264
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2265
+ deleteUnregisteredVendor: MutationResponse<boolean>;
2266
+ }>>;
2090
2267
  error: _apollo_client.ApolloError | undefined;
2091
2268
  loading: boolean;
2092
2269
  };
2093
2270
  declare const useUnlinkUnregisteredVendorByInviterId: () => {
2094
2271
  error: _apollo_client.ApolloError | undefined;
2095
2272
  loading: boolean;
2096
- unlinkUnregisteredVendorByInviterId: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2273
+ unlinkUnregisteredVendorByInviterId: (options?: _apollo_client.MutationFunctionOptions<{
2274
+ unlinkUnregisteredVendorByInviterId: MutationResponse<boolean>;
2275
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2276
+ unlinkUnregisteredVendorByInviterId: MutationResponse<boolean>;
2277
+ }>>;
2097
2278
  };
2098
2279
 
2099
2280
  declare const useGetVendors: () => {
@@ -2175,9 +2356,9 @@ declare const useGetUnregisteredVendor: (_id: string) => {
2175
2356
 
2176
2357
  declare const useCreateUser: () => {
2177
2358
  createUser: (options?: _apollo_client.MutationFunctionOptions<{
2178
- createUser: SafeUserType;
2359
+ createUser: MutationResponse<SafeUserType>;
2179
2360
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2180
- createUser: SafeUserType;
2361
+ createUser: MutationResponse<SafeUserType>;
2181
2362
  }>>;
2182
2363
  error: _apollo_client.ApolloError | undefined;
2183
2364
  loading: boolean;
@@ -2186,13 +2367,17 @@ declare const useUpdateUser: () => {
2186
2367
  error: _apollo_client.ApolloError | undefined;
2187
2368
  loading: boolean;
2188
2369
  updateUser: (options?: _apollo_client.MutationFunctionOptions<{
2189
- updateUser: SafeUserType;
2370
+ updateUser: MutationResponse<SafeUserType>;
2190
2371
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2191
- updateUser: SafeUserType;
2372
+ updateUser: MutationResponse<SafeUserType>;
2192
2373
  }>>;
2193
2374
  };
2194
2375
  declare const useDeleteUser: () => {
2195
- deleteUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2376
+ deleteUser: (options?: _apollo_client.MutationFunctionOptions<{
2377
+ deleteUser: MutationResponse<boolean>;
2378
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2379
+ deleteUser: MutationResponse<boolean>;
2380
+ }>>;
2196
2381
  error: _apollo_client.ApolloError | undefined;
2197
2382
  loading: boolean;
2198
2383
  };
@@ -2200,66 +2385,96 @@ declare const useRedeemReward: () => {
2200
2385
  error: _apollo_client.ApolloError | undefined;
2201
2386
  loading: boolean;
2202
2387
  redeemReward: (options?: _apollo_client.MutationFunctionOptions<{
2203
- redeemReward: RedeemRewardResponse;
2388
+ redeemReward: RedeemRewardMutationResponse;
2204
2389
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2205
- redeemReward: RedeemRewardResponse;
2390
+ redeemReward: RedeemRewardMutationResponse;
2206
2391
  }>>;
2207
2392
  };
2208
2393
  declare const useAddUserFavouriteResource: () => {
2209
- addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2394
+ addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<{
2395
+ addUserFavouriteResource: MutationResponse<SafeUserType>;
2396
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2397
+ addUserFavouriteResource: MutationResponse<SafeUserType>;
2398
+ }>>;
2210
2399
  error: _apollo_client.ApolloError | undefined;
2211
2400
  loading: boolean;
2212
2401
  };
2213
2402
  declare const useRemoveUserFavouriteResource: () => {
2214
2403
  error: _apollo_client.ApolloError | undefined;
2215
2404
  loading: boolean;
2216
- removeUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2405
+ removeUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<{
2406
+ removeUserFavouriteResource: MutationResponse<SafeUserType>;
2407
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2408
+ removeUserFavouriteResource: MutationResponse<SafeUserType>;
2409
+ }>>;
2217
2410
  };
2218
2411
  declare const useAddUserInterestResource: () => {
2219
- addUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2412
+ addUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<{
2413
+ addUserInterestResource: MutationResponse<SafeUserType>;
2414
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2415
+ addUserInterestResource: MutationResponse<SafeUserType>;
2416
+ }>>;
2220
2417
  error: _apollo_client.ApolloError | undefined;
2221
2418
  loading: boolean;
2222
2419
  };
2223
2420
  declare const useRemoveUserInterestResource: () => {
2224
2421
  error: _apollo_client.ApolloError | undefined;
2225
2422
  loading: boolean;
2226
- removeUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2423
+ removeUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<{
2424
+ removeUserInterestResource: MutationResponse<SafeUserType>;
2425
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2426
+ removeUserInterestResource: MutationResponse<SafeUserType>;
2427
+ }>>;
2227
2428
  };
2228
2429
  declare const useAddUserGoingResource: () => {
2229
- addUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2430
+ addUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<{
2431
+ addUserGoingResource: MutationResponse<SafeUserType>;
2432
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2433
+ addUserGoingResource: MutationResponse<SafeUserType>;
2434
+ }>>;
2230
2435
  error: _apollo_client.ApolloError | undefined;
2231
2436
  loading: boolean;
2232
2437
  };
2233
2438
  declare const useRemoveUserGoingResource: () => {
2234
2439
  error: _apollo_client.ApolloError | undefined;
2235
2440
  loading: boolean;
2236
- removeUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2441
+ removeUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<{
2442
+ removeUserGoingResource: MutationResponse<SafeUserType>;
2443
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2444
+ removeUserGoingResource: MutationResponse<SafeUserType>;
2445
+ }>>;
2237
2446
  };
2238
2447
  declare const useAddUserPresentResource: () => {
2239
- addUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2448
+ addUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<{
2449
+ addUserPresentResource: MutationResponse<SafeUserType>;
2450
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2451
+ addUserPresentResource: MutationResponse<SafeUserType>;
2452
+ }>>;
2240
2453
  error: _apollo_client.ApolloError | undefined;
2241
2454
  loading: boolean;
2242
2455
  };
2243
2456
  declare const useRemoveUserPresentResource: () => {
2244
2457
  error: _apollo_client.ApolloError | undefined;
2245
2458
  loading: boolean;
2246
- removeUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2459
+ removeUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<{
2460
+ removeUserPresentResource: MutationResponse<SafeUserType>;
2461
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2462
+ removeUserPresentResource: MutationResponse<SafeUserType>;
2463
+ }>>;
2247
2464
  };
2248
2465
  declare const useSelectStandardPackage: () => {
2249
2466
  error: _apollo_client.ApolloError | undefined;
2250
2467
  loading: boolean;
2251
2468
  selectStandardPackage: (options?: _apollo_client.MutationFunctionOptions<{
2252
- selectStandardPackage: {
2469
+ selectStandardPackage: MutationResponse<{
2253
2470
  userId: string;
2254
- message: string;
2255
2471
  licences: UserLicenceType[];
2256
- };
2472
+ }>;
2257
2473
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2258
- selectStandardPackage: {
2474
+ selectStandardPackage: MutationResponse<{
2259
2475
  userId: string;
2260
- message: string;
2261
2476
  licences: UserLicenceType[];
2262
- };
2477
+ }>;
2263
2478
  }>>;
2264
2479
  };
2265
2480
 
@@ -2353,17 +2568,29 @@ declare const useGetUserResources: (userId: string) => {
2353
2568
  };
2354
2569
 
2355
2570
  declare const useCreateAd: () => {
2356
- createAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2571
+ createAd: (options?: _apollo_client.MutationFunctionOptions<{
2572
+ createAd: MutationResponse<AdType>;
2573
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2574
+ createAd: MutationResponse<AdType>;
2575
+ }>>;
2357
2576
  error: _apollo_client.ApolloError | undefined;
2358
2577
  loading: boolean;
2359
2578
  };
2360
2579
  declare const useUpdateAd: () => {
2361
2580
  error: _apollo_client.ApolloError | undefined;
2362
2581
  loading: boolean;
2363
- updateAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2582
+ updateAd: (options?: _apollo_client.MutationFunctionOptions<{
2583
+ updateAd: MutationResponse<AdType>;
2584
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2585
+ updateAd: MutationResponse<AdType>;
2586
+ }>>;
2364
2587
  };
2365
2588
  declare const useDeleteAd: () => {
2366
- deleteAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2589
+ deleteAd: (options?: _apollo_client.MutationFunctionOptions<{
2590
+ deleteAd: MutationResponse<boolean>;
2591
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2592
+ deleteAd: MutationResponse<boolean>;
2593
+ }>>;
2367
2594
  error: _apollo_client.ApolloError | undefined;
2368
2595
  loading: boolean;
2369
2596
  };
@@ -2394,7 +2621,11 @@ declare const useGetAdsByRegion: (region: string, status?: EnumAdStatus) => {
2394
2621
  };
2395
2622
 
2396
2623
  declare const useCreateResourceActivity: () => {
2397
- createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2624
+ createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<{
2625
+ createResourceActivity: MutationResponse<boolean>;
2626
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2627
+ createResourceActivity: MutationResponse<boolean>;
2628
+ }>>;
2398
2629
  error: _apollo_client.ApolloError | undefined;
2399
2630
  loading: boolean;
2400
2631
  };
@@ -2409,22 +2640,58 @@ declare const useGetResourceActivity: (resourceId: string, resourceType: EnumRes
2409
2640
  };
2410
2641
 
2411
2642
  declare const useCreateCheckoutSession: () => {
2412
- createCheckoutSession: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2643
+ createCheckoutSession: (options?: _apollo_client.MutationFunctionOptions<{
2644
+ createCheckoutSession: MutationResponse<{
2645
+ sessionId: string;
2646
+ checkoutUrl: string;
2647
+ }>;
2648
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2649
+ createCheckoutSession: MutationResponse<{
2650
+ sessionId: string;
2651
+ checkoutUrl: string;
2652
+ }>;
2653
+ }>>;
2413
2654
  error: _apollo_client.ApolloError | undefined;
2414
2655
  loading: boolean;
2415
2656
  };
2416
2657
  declare const useCancelSubscription: () => {
2417
- cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2658
+ cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<{
2659
+ cancelSubscription: MutationResponse<string>;
2660
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2661
+ cancelSubscription: MutationResponse<string>;
2662
+ }>>;
2418
2663
  error: _apollo_client.ApolloError | undefined;
2419
2664
  loading: boolean;
2420
2665
  };
2421
2666
  declare const useUpdateSubscriptionPlan: () => {
2422
2667
  error: _apollo_client.ApolloError | undefined;
2423
2668
  loading: boolean;
2424
- updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2669
+ updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<{
2670
+ updateSubscriptionPlan: MutationResponse<{
2671
+ subscriptionId: string;
2672
+ status: string;
2673
+ priceId: string;
2674
+ currentPlan: string;
2675
+ }>;
2676
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2677
+ updateSubscriptionPlan: MutationResponse<{
2678
+ subscriptionId: string;
2679
+ status: string;
2680
+ priceId: string;
2681
+ currentPlan: string;
2682
+ }>;
2683
+ }>>;
2425
2684
  };
2426
2685
  declare const useCreateCustomerPortal: () => {
2427
- createCustomerPortal: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2686
+ createCustomerPortal: (options?: _apollo_client.MutationFunctionOptions<{
2687
+ createCustomerPortal: MutationResponse<{
2688
+ portalUrl: string;
2689
+ }>;
2690
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2691
+ createCustomerPortal: MutationResponse<{
2692
+ portalUrl: string;
2693
+ }>;
2694
+ }>>;
2428
2695
  error: _apollo_client.ApolloError | undefined;
2429
2696
  loading: boolean;
2430
2697
  };
@@ -2432,19 +2699,17 @@ declare const useSelectPackage: () => {
2432
2699
  error: _apollo_client.ApolloError | undefined;
2433
2700
  loading: boolean;
2434
2701
  selectPackage: (options?: _apollo_client.MutationFunctionOptions<{
2435
- selectPackage: {
2702
+ selectPackage: MutationResponse<{
2436
2703
  checkoutUrl?: string;
2437
2704
  userId: string;
2438
- message: string;
2439
2705
  licences: UserLicenceType[];
2440
- };
2706
+ }>;
2441
2707
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2442
- selectPackage: {
2708
+ selectPackage: MutationResponse<{
2443
2709
  checkoutUrl?: string;
2444
2710
  userId: string;
2445
- message: string;
2446
2711
  licences: UserLicenceType[];
2447
- };
2712
+ }>;
2448
2713
  }>>;
2449
2714
  };
2450
2715
 
@@ -2466,17 +2731,29 @@ declare const useGetSubscriptionPlans: () => {
2466
2731
  };
2467
2732
 
2468
2733
  declare const useCreatePartner: () => {
2469
- createPartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2734
+ createPartner: (options?: _apollo_client.MutationFunctionOptions<{
2735
+ createPartner: MutationResponse<PartnerType>;
2736
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2737
+ createPartner: MutationResponse<PartnerType>;
2738
+ }>>;
2470
2739
  error: _apollo_client.ApolloError | undefined;
2471
2740
  loading: boolean;
2472
2741
  };
2473
2742
  declare const useUpdatePartner: () => {
2474
2743
  error: _apollo_client.ApolloError | undefined;
2475
2744
  loading: boolean;
2476
- updatePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2745
+ updatePartner: (options?: _apollo_client.MutationFunctionOptions<{
2746
+ updatePartner: MutationResponse<PartnerType>;
2747
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2748
+ updatePartner: MutationResponse<PartnerType>;
2749
+ }>>;
2477
2750
  };
2478
2751
  declare const useDeletePartner: () => {
2479
- deletePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2752
+ deletePartner: (options?: _apollo_client.MutationFunctionOptions<{
2753
+ deletePartner: MutationResponse<boolean>;
2754
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2755
+ deletePartner: MutationResponse<boolean>;
2756
+ }>>;
2480
2757
  error: _apollo_client.ApolloError | undefined;
2481
2758
  loading: boolean;
2482
2759
  };
@@ -2527,17 +2804,29 @@ declare const useSearchPartners: (search: string, region: string) => {
2527
2804
  };
2528
2805
 
2529
2806
  declare const useCreatePost: () => {
2530
- createPost: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2807
+ createPost: (options?: _apollo_client.MutationFunctionOptions<{
2808
+ createPost: MutationResponse<PostType>;
2809
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2810
+ createPost: MutationResponse<PostType>;
2811
+ }>>;
2531
2812
  error: _apollo_client.ApolloError | undefined;
2532
2813
  loading: boolean;
2533
2814
  };
2534
2815
  declare const useUpdatePost: () => {
2535
2816
  error: _apollo_client.ApolloError | undefined;
2536
2817
  loading: boolean;
2537
- updatePost: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2818
+ updatePost: (options?: _apollo_client.MutationFunctionOptions<{
2819
+ updatePost: MutationResponse<PostType>;
2820
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2821
+ updatePost: MutationResponse<PostType>;
2822
+ }>>;
2538
2823
  };
2539
2824
  declare const useDeletePost: () => {
2540
- deletePost: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2825
+ deletePost: (options?: _apollo_client.MutationFunctionOptions<{
2826
+ deletePost: MutationResponse<boolean>;
2827
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2828
+ deletePost: MutationResponse<boolean>;
2829
+ }>>;
2541
2830
  error: _apollo_client.ApolloError | undefined;
2542
2831
  loading: boolean;
2543
2832
  };
@@ -2570,17 +2859,17 @@ declare const useGetPostsByType: (postType: EnumPostType) => {
2570
2859
  declare const useUpdateAppSettings: () => {
2571
2860
  error: _apollo_client.ApolloError | undefined;
2572
2861
  loading: boolean;
2573
- updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2862
+ updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<{
2863
+ updateAppSettings: MutationResponse<boolean>;
2864
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2865
+ updateAppSettings: MutationResponse<boolean>;
2866
+ }>>;
2574
2867
  };
2575
2868
  declare const useCrawlGoogleMarkets: () => {
2576
2869
  crawlGoogleMarkets: (options?: _apollo_client.MutationFunctionOptions<{
2577
- crawlGoogleMarkets: {
2578
- message: string;
2579
- };
2870
+ crawlGoogleMarkets: MutationResponse<boolean>;
2580
2871
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2581
- crawlGoogleMarkets: {
2582
- message: string;
2583
- };
2872
+ crawlGoogleMarkets: MutationResponse<boolean>;
2584
2873
  }>>;
2585
2874
  error: _apollo_client.ApolloError | undefined;
2586
2875
  loading: boolean;
@@ -2589,13 +2878,9 @@ declare const useUpdateGoogleImportedMarkets: () => {
2589
2878
  error: _apollo_client.ApolloError | undefined;
2590
2879
  loading: boolean;
2591
2880
  updateGoogleImportedMarkets: (options?: _apollo_client.MutationFunctionOptions<{
2592
- updateGoogleImportedMarkets: {
2593
- message: string;
2594
- };
2881
+ updateGoogleImportedMarkets: MutationResponse<boolean>;
2595
2882
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2596
- updateGoogleImportedMarkets: {
2597
- message: string;
2598
- };
2883
+ updateGoogleImportedMarkets: MutationResponse<boolean>;
2599
2884
  }>>;
2600
2885
  };
2601
2886
 
@@ -2612,32 +2897,36 @@ declare const useStartGame: () => {
2612
2897
  error: _apollo_client.ApolloError | undefined;
2613
2898
  loading: boolean;
2614
2899
  startGame: (options?: _apollo_client.MutationFunctionOptions<{
2615
- startGame: GameDocType;
2900
+ startGame: MutationResponse<GameDocType>;
2616
2901
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2617
- startGame: GameDocType;
2902
+ startGame: MutationResponse<GameDocType>;
2618
2903
  }>>;
2619
2904
  };
2620
2905
  declare const useLeaveGame: () => {
2621
2906
  error: _apollo_client.ApolloError | undefined;
2622
- leaveGame: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2907
+ leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
2908
+ leaveGame: MutationResponse<boolean>;
2909
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2910
+ leaveGame: MutationResponse<boolean>;
2911
+ }>>;
2623
2912
  loading: boolean;
2624
2913
  };
2625
2914
  declare const useUpdateDailyClueGame: () => {
2626
2915
  error: _apollo_client.ApolloError | undefined;
2627
2916
  loading: boolean;
2628
2917
  updateDailyClueGame: (options?: _apollo_client.MutationFunctionOptions<{
2629
- updateDailyClueGame: GameDocType;
2918
+ updateDailyClueGame: MutationResponse<GameDocType>;
2630
2919
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2631
- updateDailyClueGame: GameDocType;
2920
+ updateDailyClueGame: MutationResponse<GameDocType>;
2632
2921
  }>>;
2633
2922
  };
2634
2923
  declare const useUpdatePuzzleGame: () => {
2635
2924
  error: _apollo_client.ApolloError | undefined;
2636
2925
  loading: boolean;
2637
2926
  updatePuzzleGame: (options?: _apollo_client.MutationFunctionOptions<{
2638
- updatePuzzleGame: GameDocType;
2927
+ updatePuzzleGame: MutationResponse<GameDocType>;
2639
2928
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2640
- updatePuzzleGame: GameDocType;
2929
+ updatePuzzleGame: MutationResponse<GameDocType>;
2641
2930
  }>>;
2642
2931
  };
2643
2932
 
@@ -2667,24 +2956,40 @@ declare const useGetGameLeaderboard: () => {
2667
2956
  };
2668
2957
 
2669
2958
  declare const useCreateSchool: () => {
2670
- createSchool: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2959
+ createSchool: (options?: _apollo_client.MutationFunctionOptions<{
2960
+ createSchool: MutationResponse<SchoolType>;
2961
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2962
+ createSchool: MutationResponse<SchoolType>;
2963
+ }>>;
2671
2964
  error: _apollo_client.ApolloError | undefined;
2672
2965
  loading: boolean;
2673
2966
  };
2674
2967
  declare const useUpdateSchool: () => {
2675
2968
  error: _apollo_client.ApolloError | undefined;
2676
2969
  loading: boolean;
2677
- updateSchool: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2970
+ updateSchool: (options?: _apollo_client.MutationFunctionOptions<{
2971
+ updateSchool: MutationResponse<SchoolType>;
2972
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2973
+ updateSchool: MutationResponse<SchoolType>;
2974
+ }>>;
2678
2975
  };
2679
2976
  declare const useDeleteSchool: () => {
2680
- deleteSchool: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2977
+ deleteSchool: (options?: _apollo_client.MutationFunctionOptions<{
2978
+ deleteSchool: MutationResponse<boolean>;
2979
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2980
+ deleteSchool: MutationResponse<boolean>;
2981
+ }>>;
2681
2982
  error: _apollo_client.ApolloError | undefined;
2682
2983
  loading: boolean;
2683
2984
  };
2684
2985
  declare const useRequestMarketingMaterial: () => {
2685
2986
  error: _apollo_client.ApolloError | undefined;
2686
2987
  loading: boolean;
2687
- requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
2988
+ requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<{
2989
+ requestMarketingMaterial: MutationResponse<boolean>;
2990
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
2991
+ requestMarketingMaterial: MutationResponse<boolean>;
2992
+ }>>;
2688
2993
  };
2689
2994
 
2690
2995
  declare const useGetSchools: () => {
@@ -2721,6 +3026,52 @@ declare const useGetAffiliates: () => {
2721
3026
  }>>;
2722
3027
  };
2723
3028
 
3029
+ declare const useUpdateAffiliateDetails: () => {
3030
+ error: _apollo_client.ApolloError | undefined;
3031
+ loading: boolean;
3032
+ updateAffiliateDetails: (options?: _apollo_client.MutationFunctionOptions<{
3033
+ updateAffiliateDetails: MutationResponse<AffiliateType>;
3034
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
3035
+ updateAffiliateDetails: MutationResponse<AffiliateType>;
3036
+ }>>;
3037
+ };
3038
+ declare const useDeleteAffiliate: () => {
3039
+ deleteAffiliate: (options?: _apollo_client.MutationFunctionOptions<{
3040
+ deleteAffiliate: MutationResponse<boolean>;
3041
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
3042
+ deleteAffiliate: MutationResponse<boolean>;
3043
+ }>>;
3044
+ error: _apollo_client.ApolloError | undefined;
3045
+ loading: boolean;
3046
+ };
3047
+ declare const useRedeemAffiliateReward: () => {
3048
+ error: _apollo_client.ApolloError | undefined;
3049
+ loading: boolean;
3050
+ redeemAffiliateReward: (options?: _apollo_client.MutationFunctionOptions<{
3051
+ redeemAffiliateReward: MutationResponse<AffiliateType>;
3052
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
3053
+ redeemAffiliateReward: MutationResponse<AffiliateType>;
3054
+ }>>;
3055
+ };
3056
+ declare const useAssignAffiliateResourceReward: () => {
3057
+ assignAffiliateResourceReward: (options?: _apollo_client.MutationFunctionOptions<{
3058
+ assignAffiliateResourceReward: MutationResponse<AffiliateType>;
3059
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
3060
+ assignAffiliateResourceReward: MutationResponse<AffiliateType>;
3061
+ }>>;
3062
+ error: _apollo_client.ApolloError | undefined;
3063
+ loading: boolean;
3064
+ };
3065
+ declare const useAssignAffiliateBonusReward: () => {
3066
+ assignAffiliateBonusReward: (options?: _apollo_client.MutationFunctionOptions<{
3067
+ assignAffiliateBonusReward: MutationResponse<AffiliateType>;
3068
+ }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
3069
+ assignAffiliateBonusReward: MutationResponse<AffiliateType>;
3070
+ }>>;
3071
+ error: _apollo_client.ApolloError | undefined;
3072
+ loading: boolean;
3073
+ };
3074
+
2724
3075
  /** Minimal event fields for public (market) share copy — matches in-app preview. */
2725
3076
  type ShareEventForPublic = {
2726
3077
  description?: string | null;
@@ -2782,13 +3133,13 @@ declare const RELATION_SHARE_APPLICATION: "application";
2782
3133
  * invalidate after deploy. Facebook caches preview JPEGs by exact URL — changing
2783
3134
  * this value forces crawlers to fetch a fresh image after server deploy.
2784
3135
  */
2785
- declare const RELATION_OVERLAY_LAYOUT_VERSION = 36;
3136
+ declare const RELATION_OVERLAY_LAYOUT_VERSION = 43;
2786
3137
  declare const RELATION_SHARE_RESOURCE_TYPES: readonly ["invitation", "application"];
2787
3138
  type RelationShareResourceType = (typeof RELATION_SHARE_RESOURCE_TYPES)[number];
2788
3139
  declare function isRelationShareResourceType(resourceType: string): resourceType is RelationShareResourceType;
2789
3140
 
2790
3141
  /** Path segments for public resource share URLs (markets, posts, etc.). */
2791
- declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "market_faces", "clue_bites", "play_and_win"];
3142
+ declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "affiliate", "school", "market_faces", "clue_bites", "play_and_win"];
2792
3143
  type PublicSharePathType = (typeof PUBLIC_SHARE_PATH_TYPES)[number];
2793
3144
  type RelationSharePathType = typeof RELATION_SHARE_INVITATION | typeof RELATION_SHARE_APPLICATION;
2794
3145
  type ShareType = PublicSharePathType | RelationSharePathType;
@@ -2800,6 +3151,7 @@ declare function buildShareUrl(type: ShareType, slug: string, utmMedium?: string
2800
3151
  declare const SOCIAL_IMAGE_WIDTH = 1200;
2801
3152
  /** Open Graph recommended preview size (must match admin `SHARE_OG_IMAGE_*`). */
2802
3153
  declare const SOCIAL_IMAGE_HEIGHT = 630;
3154
+ /** Keep in sync with `CLUEMART_MAIN_DOMAIN_URL` in utils (avoid utils↔sharing import cycle). */
2803
3155
  declare const SHARE_SITE_URL = "https://cluemart.co.nz";
2804
3156
  /** Calendar marker for invitation market-dates share copy (U+1F4C5 📅). */
2805
3157
  declare const SHARE_CALENDAR_ICON = "\uD83D\uDCC5";
@@ -2834,7 +3186,7 @@ declare const SHARE_APPLICATION_DEADLINE_PREFIX = "\u23F0 Application deadline:"
2834
3186
  /** First line on share sheet messages, Facebook SDK quote, and `og:description`. */
2835
3187
  declare const SHARE_MORE_INFO_LINE = "Shared from ClueMart";
2836
3188
  declare const DEFAULT_SHARE_OG_IMAGE = "https://cluemart.co.nz/assets/logo.webp";
2837
- declare const RESOURCE_SHARE_TYPES: readonly ["market", "stallholder", "partner"];
3189
+ declare const RESOURCE_SHARE_TYPES: readonly ["market", "stallholder", "partner", "affiliate", "school"];
2838
3190
  type ResourceShareType = (typeof RESOURCE_SHARE_TYPES)[number];
2839
3191
  declare const POST_SHARE_RESOURCE_TYPES: readonly ["market_faces", "clue_bites", "play_and_win"];
2840
3192
  type PostShareResourceType = (typeof POST_SHARE_RESOURCE_TYPES)[number];
@@ -2890,6 +3242,11 @@ declare function buildFacebookShareQuote(title: string, description: string, sha
2890
3242
  declare function buildShareOgDescriptionFromSections(sections: ReadonlyArray<string | false | null | undefined>): string;
2891
3243
  /** Open Graph / Twitter description — body sections only (`og:title` is separate). */
2892
3244
  declare function buildShareOgDescription(_title: string, description: string): string;
3245
+ /**
3246
+ * Strips emoji and symbols that do not render reliably in overlay SVG fonts.
3247
+ * Keeps letters, numbers, whitespace, and common sentence punctuation.
3248
+ */
3249
+ declare function stripOverlaySubtitleSpecialChars(text: string): string;
2893
3250
 
2894
3251
  declare function normalizeShareRouteId(id: string): string;
2895
3252
  /** Relative path for a public share landing page (`/market/demo-market`). */
@@ -2900,6 +3257,12 @@ type ShareSlugResource = {
2900
3257
  };
2901
3258
  declare function shareSlugResourceId(resource: ShareSlugResource | null | undefined): string | null;
2902
3259
 
3260
+ /**
3261
+ * Normalizes resource `updatedAt` to an epoch-ms string for Facebook/CDN cache busting
3262
+ * on social-image URLs (`?v=`). The API ignores this query param.
3263
+ */
3264
+ declare function toShareSocialImageCacheVersion(updatedAt: Date | string | number | null | undefined): string | null;
3265
+
2903
3266
  declare const SAVED_PASSWORD_KEY = "savedPassword";
2904
3267
  declare const SAVED_EMAIL_KEY = "savedEmail";
2905
3268
  declare const SAVED_TOKEN_KEY = "savedToken";
@@ -2989,6 +3352,11 @@ declare const futureTimePeriods: {
2989
3352
  value: string;
2990
3353
  }[];
2991
3354
 
3355
+ /**
3356
+ * Convert an array of strings to an array of objects with label and value properties.
3357
+ */
3358
+ declare const mapArrayToOptions: (items: string[]) => OptionItem[];
3359
+
2992
3360
  declare const removeTypename: (obj: any) => any;
2993
3361
  /**
2994
3362
  * Truncate text to a specified length and append ellipsis if necessary.
@@ -2997,12 +3365,6 @@ declare const removeTypename: (obj: any) => any;
2997
3365
  * @returns
2998
3366
  */
2999
3367
  declare const truncateText: (text: string, maxLength?: number) => string;
3000
- /**
3001
- * Convert an array of strings to an array of objects with label and value properties.
3002
- * @param items - The array of strings to convert.
3003
- * @returns - The converted array of objects.
3004
- */
3005
- declare const mapArrayToOptions: (items: string[]) => OptionItem[];
3006
3368
  declare const capitalizeFirstLetter: (str: string) => string;
3007
3369
  declare const statusOptions: {
3008
3370
  label: EnumInviteStatus;
@@ -3024,34 +3386,11 @@ declare const rewardNiceNames: Record<EnumReward, {
3024
3386
  points: number;
3025
3387
  }>;
3026
3388
  declare const PostTypeLabels: Record<EnumPostType, string>;
3027
- /** Hardcoded promo; compared to trimmed + uppercased registration input. */
3389
+ /** Hardcoded registration gateway code; only valid at sign-up (not a generated school referral code). */
3028
3390
  declare const CM_SCHOOL_PROMO_CODE = "CM-SCHOOL";
3391
+ /** Hardcoded registration gateway code; only valid at sign-up (not a generated affiliate referral code). */
3029
3392
  declare const CM_AFFILIATE_PROMO_CODE = "CM-AFFILIATE";
3030
-
3031
- declare const AFFILIATE_REWARDS: {
3032
- NEW_EVENT_REGISTRATION: {
3033
- description: string;
3034
- value: number;
3035
- };
3036
- NEW_VENDOR_REGISTRATION: {
3037
- description: string;
3038
- value: number;
3039
- };
3040
- NEW_PARTNER_REGISTRATION: {
3041
- description: string;
3042
- value: number;
3043
- };
3044
- };
3045
- /**
3046
- * Create an affiliate reward
3047
- * @param rewardType - The type of reward
3048
- * @param receivedAt - The date the reward was received
3049
- * @returns The affiliate reward
3050
- * @example
3051
- * const reward = createAffiliateReward(EnumAffiliateRewardType.NEW_EVENT_REGISTRATION, new Date());
3052
- * console.log(reward);
3053
- */
3054
- declare function createAffiliateReward(rewardType: EnumAffiliateRewardType, createdAt: Date): AffiliateReward;
3393
+ declare function formatNZBankAccount(input: string): string;
3055
3394
 
3056
3395
  /**
3057
3396
  * Loose input shape for normalization helpers. Callers often pass partial or legacy
@@ -3136,4 +3475,79 @@ declare function getVendorEventRelationStartDates(events: EventListItemType[] |
3136
3475
  declare function getVendorEventRelationDateOptions(events: EventListItemType[] | null | undefined): StallholderFilterOption[];
3137
3476
  declare function getVendorEventsEmptyMessage(): string;
3138
3477
 
3139
- export { AFFILIATE_REWARDS, ANDROID_URL, type AdFormData, type AdFormState, type AdResource, type AdType, type AdminUpdateResourceType, type AffiliateResourceType, type AffiliateReward, type AffiliateType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type AuthPayloadType, type BadgeBasename, type BadgeId, type BaseGameMap, type BaseGameType, type BaseResourceType, type BaseResourceTypeFormData, CLUEMART_MAIN_DOMAIN_URL, CM_AFFILIATE_PROMO_CODE, CM_SCHOOL_PROMO_CODE, type CalendarSheetContentData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type CluiImageBasename, type CluiImageId, type ContactUsFormData, type CreateAdFormData, type CreateAdFormState, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateSchoolFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, DEFAULT_RESOURCES_RETURN_LIMIT, DEFAULT_RESOURCES_RETURN_OFFSET, DEFAULT_SHARE_OG_IMAGE, type DailyClueBaseGame, type DailyClueGameData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EVENT_DATE_STATUS_PERIOD_MAP, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumAffiliateRewardType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumGameStatus, EnumGameType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumReward, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventScheduleStatusPresentation, type EventScheduleStatusTone, type EventStatusType, type EventType, type FormDateField, type FormField, GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GameDate, type GameDocType, type GameHistory, type GameLeaderboard, type GamePlacement, type GamePlacementClue, type GameType, type GeocodeLocation, type GlobalGameData, type GoogleAddressComponent, type GoogleImportedMarket, IMAGE_EXTENSION, IOS_URL, type IconBasename, type IconId, type ImageObjectType, ImageTypeEnum, KNOWN_EVENT_SCHEDULE_STATUSES, type LocationGeoType, type LocationType, type LoginFormData, type LogoBasename, type LogoId, type MarketingMaterialRequestInputType, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, OG_DESCRIPTION_LINE_BREAK, type OptionItem, type OtherImagesBasename, type OtherImagesId, type OwnerType, POST_SHARE_RESOURCE_TYPES, PROMO_CODE_PREFIX, PUBLIC_SHARE_PATH_TYPES, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PostContentData, type PostContentFormData, type PostContentGame, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostResource, type PostShareResourceType, type PostType, PostTypeLabels, type PosterAssetId, type PosterImageBasename, type PosterInputType, type PosterUsageType, type PromoCodeType, type PublicSharePathType, type PushTokenType, type PuzzleAnswer, type PuzzleAnsweredQuestion, type PuzzleBaseGame, type PuzzleGameData, type PuzzleQuestion, RELATION_OVERLAY_LAYOUT_VERSION, RELATION_SHARE_APPLICATION, RELATION_SHARE_INVITATION, RELATION_SHARE_RESOURCE_TYPES, RESOURCE_SHARE_TYPES, type RedeemRewardInput, type RedeemRewardResponse, type RedeemedReward, type RefreshTokenPayloadType, type RefundPolicy, type Region, type RegisterFormData, type RelatedPostType, type RelationDate, type RelationInputType, type RelationSharePathType, type RelationShareResourceType, type RelationType$1 as RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, type ResourceShareType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, SCHOOL_MAX_STUDENT_COUNT, SCHOOL_MIN_STUDENT_COUNT, SHARE_APPLICATION_DEADLINE_PREFIX, SHARE_CALENDAR_ICON, SHARE_CATEGORIES_SECTION_HEADING, SHARE_CATEGORY_ICON, SHARE_CHECKMARK_ICON, SHARE_CLOCK_ICON, SHARE_COMPLIANCE_PREFIX, SHARE_DESCRIPTION_SECTION_BREAK, SHARE_DOLLAR_ICON, SHARE_FOOD_TRUCK_LINE, SHARE_INFO_ICON, SHARE_MARKET_DATES_SECTION_HEADING, SHARE_MORE_INFO_LINE, SHARE_PRICE_RANGE_PREFIX, SHARE_RAIN_OR_SHINE_LINE, SHARE_REQUIREMENTS_SECTION_HEADING, SHARE_RESOURCE_LABEL, SHARE_RULER_ICON, SHARE_SITE_URL, SHARE_STALL_SIZE_PREFIX, SHARE_TAGS_SECTION_HEADING, SHARE_TYPE_PATH_REGEX, SOCIAL_IMAGE_HEIGHT, SOCIAL_IMAGE_WIDTH, type SafeUserType, type SchoolCampaignType, type SchoolFormData, type SchoolRegisteredUserType, type SchoolReturnType, type SchoolType, type ShareEventForInvitation, type ShareEventForPublic, type ShareEventInfoForInvitation, type ShareMessageFooterPlacement, type ShareResourceType, type ShareSlugResource, type ShareType, type ShareVendorForApplication, type ShareVendorForPublic, type ShareVendorInfoForApplication, type SocialMediaType, type SocialShareResourceType, type StallType, type StallholderFilterOption, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, TIERS_BY_PRIORITY, TIER_DISPLAY_LABELS, TIER_FROM_LICENCE, type TermsAgreement, type Tier, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UseGetResourcesByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, appendShareMoreInfoLine, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, badgeFiles, badgeIds, badges, buildApplicationShareDescription, buildCalendarSheetContentData, buildFacebookShareQuote, buildInvitationShareDescription, buildPublicEventShareDescription, buildPublicVendorShareDescription, buildShareMessageSections, buildShareOgDescription, buildShareOgDescriptionFromSections, buildSharePagePath, buildShareUrl, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, cluiFiles, cluiIds, cluiImages, collectStallholderStartDates, collectVendorEventRelationDateTimes, companyContactFields, computeDailyClueState, contactUsFields, createAffiliateReward, darkColors, dateFormat, emailField, eventBasicInfoFields, eventEndDateFields, eventHasSelectedDate, eventInfo, eventInfoPaymentInfo, eventMatchesDateStatusPeriod, eventStartDateFields, eventStartDatesSet, filterEventsByDateStatusPeriod, filterRegisteredVendorsByEventDatesOnly, filterRegisteredVendorsForEvent, filterUnregisteredVendorsByEventDatesOnly, filterUnregisteredVendorsForEvent, filterVendorEventsBySelectedDate, findEventDateTimeByIsoDate, fonts, foodFlavourOptions, formatCategoryLabel, formatDate, formatShareApplicationCategoriesSection, formatShareApplicationComplianceSection, formatShareApplicationPriceRangeLine, formatShareApplicationStallSizeLine, formatShareInvitationApplicationDeadlineLine, formatShareInvitationMarketDatesSection, formatShareInvitationRequirementsSection, formatShareIsFoodTrueLine, formatShareMarketDate, formatShareRainOrShineLine, formatShareStallLine, formatShareTagsSection, formatStallCapacityLabel, formatTimestamp, fromCalendarIsoDate, futureTimePeriods, gameScreenIdentifierList, gameTypeToDisplayName, getAllowedEventDateStatuses, getCurrentAndFutureDates, getEventCalendarIsoDates, getEventDatesWithStallholders, getEventScheduleStatusLabel, getEventScheduleStatusPresentation, getEventScheduleStatusTone, getEventStallholderEmptyMessage, getRegisteredVendorCategoryNames, getRegisteredVendorStartDates, getStallholderCategoryNames, getStallholderCategoryOptions, getUnregisteredVendorCategoryNames, getUnregisteredVendorStartDates, getVendorEventRelationDateOptions, getVendorEventRelationStartDates, getVendorEventsEmptyMessage, hasMatchingEventDate, iconFiles, iconIds, icons, isFutureDatesBeforeThreshold, isIsoDateString, isPostShareResourceType, isRelationShareResourceType, isResourceImageActive, joinShareDescriptionSections, joinShareOgDescriptionSections, licenseNiceNames, lightColors, loginFields, logoFiles, logoIds, logos, mapArrayToOptions, matchesCategory, matchesSelectedDate, normalizeResourceImage, normalizeShareOgDescription, normalizeShareRouteId, normalizeShareText, normalizeUrl, nzStartOfDay, otherImages, otherImagesFiles, otherImagesIds, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, posterFiles, posterIds, posters, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, relationHasSelectedDate, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, resolveResourceImageActive, rewardNiceNames, seededShuffle, shareMessageFooterPlacementForType, shareSlugResourceId, shouldShowEventActionsWithWeather, socialMediaFields, sortDatesChronologically, splitShareDescriptionSections, stallTypeOptions, statusOptions, tagOptions, timeFormat, toCalendarIsoDate, toGraphqlQueryString, toNZTime, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
3478
+ declare const AFFILIATE_PARTICIPANT_TYPE_LABELS: {
3479
+ readonly INDIVIDUAL: "Individual";
3480
+ readonly SOLE_TRADER: "Sole Trader";
3481
+ readonly COMPANY: "Company";
3482
+ };
3483
+ declare const AFFILIATE_REWARDS: {
3484
+ NEW_EVENT_REGISTRATION: {
3485
+ description: string;
3486
+ value: number;
3487
+ };
3488
+ NEW_VENDOR_REGISTRATION: {
3489
+ description: string;
3490
+ value: number;
3491
+ };
3492
+ ACTIVE_VENDOR_PRO_SUBSCRIPTION: {
3493
+ description: string;
3494
+ value: number;
3495
+ };
3496
+ ACTIVE_VENDOR_STANDARD_SUBSCRIPTION: {
3497
+ description: string;
3498
+ value: number;
3499
+ };
3500
+ ACTIVE_VENDOR_BONUS_REWARD: {
3501
+ description: string;
3502
+ value: number;
3503
+ };
3504
+ ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS: {
3505
+ description: string;
3506
+ value: number;
3507
+ };
3508
+ };
3509
+ /**
3510
+ * Create an affiliate reward
3511
+ * @param rewardType - The type of reward
3512
+ * @param createdAt - The date the reward was received
3513
+ * @returns The affiliate reward
3514
+ * @example
3515
+ * const reward = createAffiliateReward(EnumAffiliateRewardType.NEW_EVENT_REGISTRATION, new Date());
3516
+ * console.log(reward);
3517
+ */
3518
+ declare function createAffiliateReward(rewardType: EnumAffiliateRewardType, createdAt: Date): AffiliateRewardType;
3519
+
3520
+ /**
3521
+ * NZ IRD number validation (Inland Revenue modulus-11 check digit).
3522
+ *
3523
+ * Valid range: 10,000,000 – 200,000,000 (upper limit raised Feb 2026; length stays
3524
+ * 8–9 digits). See IRD file-upload / payday filing specifications.
3525
+ */
3526
+ /** Digits only; strips spaces/hyphens and other non-digits. */
3527
+ declare function normalizeIrdNumber(value: string): string;
3528
+ /**
3529
+ * Formats an IRD number as groups of three digits separated by hyphens
3530
+ * (e.g. `490-918-50` / `049-091-850`), capping at 9 digits.
3531
+ */
3532
+ declare function formatIrdNumber(input: string): string;
3533
+ /**
3534
+ * Returns true when `value` is a valid NZ IRD number (8–9 digits, in issued
3535
+ * range, and modulus-11 check digit matches).
3536
+ */
3537
+ declare function isValidIrdNumber(value: string): boolean;
3538
+
3539
+ /** True for short-lived connectivity failures (e.g. resume before the stack is ready). */
3540
+ declare function isTransientNetworkError(err: unknown): boolean;
3541
+
3542
+ declare const DEFAULT_USER_FACING_ERROR = "Something went wrong. Please try again.";
3543
+ declare const NETWORK_USER_FACING_ERROR = "Unable to connect. Please check your internet connection and try again.";
3544
+ declare function isInternalErrorMessage(message: string): boolean;
3545
+ /**
3546
+ * Maps raw API/client errors to a safe message for UI surfaces.
3547
+ * Keeps intentional product copy (e.g. "Vendor not found"); hides infra details.
3548
+ */
3549
+ declare function toUserFacingErrorMessage(error: string | null | undefined, fallback?: string): string;
3550
+ /** Extracts and sanitizes an unknown catch/Apollo error for toasts and alerts. */
3551
+ declare function getErrorMessage(error: unknown, fallback?: string): string;
3552
+
3553
+ export { ADMIN_APP_ROLES, ADMIN_DASHBOARD_CONTEXTS, AFFILIATE_PARTICIPANT_TYPE_LABELS, AFFILIATE_REWARDS, ANDROID_URL, type AdFormData, type AdFormState, type AdResource, type AdType, type AdminAppRole, type AdminDashboardContext, type AdminDashboardContextInfo, type AdminUpdateResourceType, type AffiliateBankAccountDetailsType, type AffiliateContactDetails, type AffiliateDetailsType, type AffiliateFormData, type AffiliateResourceType, type AffiliateRewardType, type AffiliateType, type AffiliateUserDefaultFields, type AppSettingsFormData, type AppSettingsType, type AuthMutationResponse, type AuthPayloadType, type BadgeBasename, type BadgeId, type BaseGameMap, type BaseGameType, type BaseResourceType, type BaseResourceTypeFormData, CLUEMART_MAIN_DOMAIN_URL, CM_AFFILIATE_PROMO_CODE, CM_SCHOOL_PROMO_CODE, type CalendarSheetContentData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type CluiImageBasename, type CluiImageId, type ContactUsFormData, type CreateAdFormData, type CreateAdFormState, type CreateAffiliateFormData, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateSchoolFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, DEFAULT_RESOURCES_RETURN_LIMIT, DEFAULT_RESOURCES_RETURN_OFFSET, DEFAULT_SHARE_OG_IMAGE, DEFAULT_USER_FACING_ERROR, type DailyClueBaseGame, type DailyClueGameData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EVENT_DATE_STATUS_PERIOD_MAP, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumAffiliateParticipantType, EnumAffiliateRewardType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumGameStatus, EnumGameType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumReward, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventScheduleStatusPresentation, type EventScheduleStatusTone, type EventStatusType, type EventType, type FormDateField, type FormField, GET_EVENT, GET_EVENT_BY_SLUG, GET_EVENT_INFO, GET_PARTNER, GET_PARTNER_BY_SLUG, GET_POST, GET_POST_BY_SLUG, GET_RESOURCE_CONNECTIONS, GET_VENDOR, GET_VENDOR_BY_SLUG, GET_VENDOR_INFO, type GameDate, type GameDocType, type GameHistory, type GameLeaderboard, type GamePlacement, type GamePlacementClue, type GameType, type GeocodeLocation, type GlobalGameData, type GoogleAddressComponent, type GoogleImportedMarket, IMAGE_EXTENSION, IOS_URL, type IconBasename, type IconId, type ImageObjectType, ImageTypeEnum, KNOWN_EVENT_SCHEDULE_STATUSES, type LocationGeoType, type LocationType, type LoginFormData, type LogoBasename, type LogoId, type MarketingMaterialRequestInputType, type MutationResponse, NETWORK_USER_FACING_ERROR, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, OG_DESCRIPTION_LINE_BREAK, type OptionItem, type OtherImagesBasename, type OtherImagesId, type OwnerType, PERMISSIONS, POST_SHARE_RESOURCE_TYPES, PROMO_CODE_PREFIX, PUBLIC_SHARE_PATH_TYPES, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type Permission, type PostContentData, type PostContentFormData, type PostContentGame, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostResource, type PostShareResourceType, type PostType, PostTypeLabels, type PosterAssetId, type PosterImageBasename, type PosterInputType, type PosterUsageType, type PromoCodeType, type PublicSharePathType, type PushTokenType, type PuzzleAnswer, type PuzzleAnsweredQuestion, type PuzzleBaseGame, type PuzzleGameData, type PuzzleQuestion, RELATION_OVERLAY_LAYOUT_VERSION, RELATION_SHARE_APPLICATION, RELATION_SHARE_INVITATION, RELATION_SHARE_RESOURCE_TYPES, RESOURCE_SHARE_TYPES, ROLE_PERMISSIONS, type RedeemHistoryType, type RedeemRewardInput, type RedeemRewardMutationResponse, type RedeemRewardResponse, type RedeemedReward, type RefreshTokenMutationResponse, type RefreshTokenPayloadType, type RefundPolicy, type Region, type RegisterFormData, type RelatedPostType, type RelationDate, type RelationInputType, type RelationSharePathType, type RelationShareResourceType, type RelationType$1 as RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, type ResourceShareType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, SCHOOL_MAX_STUDENT_COUNT, SCHOOL_MIN_STUDENT_COUNT, SHARE_APPLICATION_DEADLINE_PREFIX, SHARE_CALENDAR_ICON, SHARE_CATEGORIES_SECTION_HEADING, SHARE_CATEGORY_ICON, SHARE_CHECKMARK_ICON, SHARE_CLOCK_ICON, SHARE_COMPLIANCE_PREFIX, SHARE_DESCRIPTION_SECTION_BREAK, SHARE_DOLLAR_ICON, SHARE_FOOD_TRUCK_LINE, SHARE_INFO_ICON, SHARE_MARKET_DATES_SECTION_HEADING, SHARE_MORE_INFO_LINE, SHARE_PRICE_RANGE_PREFIX, SHARE_RAIN_OR_SHINE_LINE, SHARE_REQUIREMENTS_SECTION_HEADING, SHARE_RESOURCE_LABEL, SHARE_RULER_ICON, SHARE_SITE_URL, SHARE_STALL_SIZE_PREFIX, SHARE_TAGS_SECTION_HEADING, SHARE_TYPE_PATH_REGEX, SOCIAL_IMAGE_HEIGHT, SOCIAL_IMAGE_WIDTH, type SafeUserType, type SchoolCampaignType, type SchoolFormData, type SchoolRegisteredUserType, type SchoolReturnType, type SchoolType, type ShareEventForInvitation, type ShareEventForPublic, type ShareEventInfoForInvitation, type ShareMessageFooterPlacement, type ShareResourceType, type ShareSlugResource, type ShareType, type ShareVendorForApplication, type ShareVendorForPublic, type ShareVendorInfoForApplication, type SocialMediaType, type SocialShareResourceType, type StallType, type StallholderFilterOption, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, TIERS_BY_PRIORITY, TIER_DISPLAY_LABELS, TIER_FROM_LICENCE, type TermsAgreement, type Tier, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UseGetResourcesByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, WILDCARD_PERMISSION, appendShareMoreInfoLine, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, badgeFiles, badgeIds, badges, bankAccountDetailsFields, buildApplicationShareDescription, buildCalendarSheetContentData, buildFacebookShareQuote, buildInvitationShareDescription, buildPublicEventShareDescription, buildPublicVendorShareDescription, buildShareMessageSections, buildShareOgDescription, buildShareOgDescriptionFromSections, buildSharePagePath, buildShareUrl, canAccessAdminApp, canAccessAdminPath, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, cluiFiles, cluiIds, cluiImages, collectStallholderStartDates, collectVendorEventRelationDateTimes, companyContactFields, computeDailyClueState, contactUsFields, createAffiliateReward, darkColors, dateFormat, emailField, eventBasicInfoFields, eventEndDateFields, eventHasSelectedDate, eventInfo, eventInfoPaymentInfo, eventMatchesDateStatusPeriod, eventStartDateFields, eventStartDatesSet, filterEventsByDateStatusPeriod, filterRegisteredVendorsByEventDatesOnly, filterRegisteredVendorsForEvent, filterUnregisteredVendorsByEventDatesOnly, filterUnregisteredVendorsForEvent, filterVendorEventsBySelectedDate, findEventDateTimeByIsoDate, fonts, foodFlavourOptions, formatCategoryLabel, formatDate, formatIrdNumber, formatNZBankAccount, formatShareApplicationCategoriesSection, formatShareApplicationComplianceSection, formatShareApplicationPriceRangeLine, formatShareApplicationStallSizeLine, formatShareInvitationApplicationDeadlineLine, formatShareInvitationMarketDatesSection, formatShareInvitationRequirementsSection, formatShareIsFoodTrueLine, formatShareMarketDate, formatShareRainOrShineLine, formatShareStallLine, formatShareTagsSection, formatStallCapacityLabel, formatTimestamp, fromCalendarIsoDate, futureTimePeriods, gameScreenIdentifierList, gameTypeToDisplayName, getAllowedEventDateStatuses, getCurrentAndFutureDates, getDefaultAdminHome, getErrorMessage, getEventCalendarIsoDates, getEventDatesWithStallholders, getEventScheduleStatusLabel, getEventScheduleStatusPresentation, getEventScheduleStatusTone, getEventStallholderEmptyMessage, getPermissionsForRoles, getRegisteredVendorCategoryNames, getRegisteredVendorStartDates, getStallholderCategoryNames, getStallholderCategoryOptions, getUnregisteredVendorCategoryNames, getUnregisteredVendorStartDates, getUsableAdminContexts, getVendorEventRelationDateOptions, getVendorEventRelationStartDates, getVendorEventsEmptyMessage, hasAllPermissions, hasAnyPermission, hasAnyRole, hasMatchingEventDate, hasPermission, hasRole, iconFiles, iconIds, icons, isFutureDatesBeforeThreshold, isInternalErrorMessage, isIsoDateString, isPostShareResourceType, isRelationShareResourceType, isResourceImageActive, isTransientNetworkError, isValidIrdNumber, joinShareDescriptionSections, joinShareOgDescriptionSections, licenseNiceNames, lightColors, loginFields, logoFiles, logoIds, logos, mapArrayToOptions, matchesCategory, matchesSelectedDate, normalizeIrdNumber, normalizeResourceImage, normalizeShareOgDescription, normalizeShareRouteId, normalizeShareText, normalizeUrl, nzStartOfDay, otherImages, otherImagesFiles, otherImagesIds, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, permissionListIncludes, posterFiles, posterIds, posters, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, relationHasSelectedDate, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, resolveAdminContextFromPath, resolveResourceImageActive, rewardNiceNames, seededShuffle, shareMessageFooterPlacementForType, shareSlugResourceId, shouldShowEventActionsWithWeather, socialMediaFields, sortDatesChronologically, splitShareDescriptionSections, stallTypeOptions, statusOptions, stripOverlaySubtitleSpecialChars, tagOptions, timeFormat, toCalendarIsoDate, toGraphqlQueryString, toNZTime, toShareSocialImageCacheVersion, toUserFacingErrorMessage, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAssignAffiliateBonusReward, useAssignAffiliateResourceReward, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAffiliate, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAffiliate, useGetAffiliates, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemAffiliateReward, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAffiliateDetails, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };