@timardex/cluemart-shared 1.6.112 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ad-CVkVX_z5.d.ts +296 -0
- package/dist/ad-DA9ECAhK.d.mts +296 -0
- package/dist/affiliate-1RtkLnLP.d.ts +35 -0
- package/dist/affiliate-Cos2Syz5.d.mts +35 -0
- package/dist/{chunk-R6PCFOYO.mjs → chunk-HZMP7GXC.mjs} +2628 -948
- package/dist/chunk-HZMP7GXC.mjs.map +1 -0
- package/dist/{chunk-X3OLM35T.mjs → chunk-KZTOISPA.mjs} +8 -14
- package/dist/chunk-KZTOISPA.mjs.map +1 -0
- package/dist/{chunk-ILILH7E2.mjs → chunk-MVQ3CFQR.mjs} +23 -12
- package/dist/chunk-MVQ3CFQR.mjs.map +1 -0
- package/dist/{chunk-AYO3E4DM.mjs → chunk-RKIRWZCH.mjs} +183 -39
- package/dist/chunk-RKIRWZCH.mjs.map +1 -0
- package/dist/{chunk-LBEJECG3.mjs → chunk-TAECMXM4.mjs} +219 -249
- package/dist/{chunk-LBEJECG3.mjs.map → chunk-TAECMXM4.mjs.map} +1 -1
- package/dist/{chunk-BIJ5NDXW.mjs → chunk-ZZJSCYJK.mjs} +42 -46
- package/dist/chunk-ZZJSCYJK.mjs.map +1 -0
- package/dist/{contactUs-CBWzefUS.d.mts → contactUs-DGrDzJaM.d.mts} +1 -1
- package/dist/{contactUs--NoohZBu.d.ts → contactUs-H7799pWe.d.ts} +1 -1
- package/dist/enums/index.cjs +7 -13
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +9 -15
- package/dist/enums/index.d.ts +9 -15
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +73 -136
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +2 -3
- package/dist/formFields/index.d.ts +2 -3
- package/dist/formFields/index.mjs +4 -9
- package/dist/{global-DePDtOFt.d.mts → global-BUUfmCo7.d.mts} +11 -12
- package/dist/{global-CUYYxpy2.d.ts → global-fKbMmluy.d.ts} +11 -12
- package/dist/graphql/index.cjs +1251 -694
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +173 -423
- package/dist/graphql/index.d.ts +173 -423
- package/dist/graphql/index.mjs +21 -33
- package/dist/hooks/index.cjs +306 -936
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +4 -10
- package/dist/hooks/index.d.ts +4 -10
- package/dist/hooks/index.mjs +58 -170
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/images/apple-maps-icon.webp.d.ts +1 -8
- package/dist/images/banner-horizontal.webp.d.ts +1 -8
- package/dist/images/banner-vertical.webp.d.ts +1 -8
- package/dist/images/cluiTui.webp.d.ts +1 -8
- package/dist/images/corporate.webp.d.ts +1 -8
- package/dist/images/facebook.webp.d.ts +1 -8
- package/dist/images/gazebo-top.webp.d.ts +1 -8
- package/dist/images/google-maps-icon.webp.d.ts +1 -8
- package/dist/images/googleMaps-logo-dark.webp.d.ts +1 -8
- package/dist/images/googleMaps-logo-light.webp.d.ts +1 -8
- package/dist/images/instagram.webp.d.ts +1 -8
- package/dist/images/logo-atr.webp.d.ts +1 -8
- package/dist/images/logo-dark.webp.d.ts +1 -8
- package/dist/images/logo.webp.d.ts +1 -8
- package/dist/images/meet.webp.d.ts +1 -8
- package/dist/images/mini-market1.webp.d.ts +1 -8
- package/dist/images/mini-market2.webp.d.ts +1 -8
- package/dist/images/mini-market3.webp.d.ts +1 -8
- package/dist/images/mini-market4.webp.d.ts +1 -8
- package/dist/images/mini-market5.webp.d.ts +1 -8
- package/dist/images/poll.webp.d.ts +1 -8
- package/dist/images/poster1.webp.d.ts +1 -8
- package/dist/images/poster2.webp.d.ts +1 -8
- package/dist/images/poster3.webp.d.ts +1 -8
- package/dist/images/poster4.webp.d.ts +1 -8
- package/dist/images/private.webp.d.ts +1 -8
- package/dist/images/qr-code.webp.d.ts +1 -8
- package/dist/images/school.webp.d.ts +1 -8
- package/dist/images/sima.webp.d.ts +1 -8
- package/dist/images/store-android.webp.d.ts +1 -8
- package/dist/images/store-ios.webp.d.ts +1 -8
- package/dist/images/tablas.webp.d.ts +1 -8
- package/dist/images/telefonos.webp.d.ts +1 -8
- package/dist/images/tiktok.webp.d.ts +1 -8
- package/dist/images/tip.webp.d.ts +1 -8
- package/dist/images/ugralos.webp.d.ts +1 -8
- package/dist/images/waze-maps-icon.webp.d.ts +1 -8
- package/dist/images/website.webp.d.ts +1 -8
- package/dist/images/youtube.webp.d.ts +1 -8
- package/dist/index.cjs +1673 -1623
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +240 -654
- package/dist/index.d.ts +240 -654
- package/dist/index.mjs +1672 -1585
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.cjs +9 -14
- package/dist/map/index.cjs.map +1 -1
- package/dist/map/index.d.mts +13 -16
- package/dist/map/index.d.ts +13 -16
- package/dist/map/index.mjs +9 -14
- package/dist/map/index.mjs.map +1 -1
- package/dist/{resourceActivities-CMUcn2P7.d.ts → resourceActivities-BL_12IAo.d.ts} +4 -9
- package/dist/{resourceActivities-CwbJFGIp.d.mts → resourceActivities-zczOntNk.d.mts} +4 -9
- package/dist/sharing/index.cjs +1252 -39
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +5 -17
- package/dist/sharing/index.d.ts +5 -17
- package/dist/sharing/index.mjs +30 -34
- package/dist/types/index.cjs +2 -15
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +23 -10
- package/dist/types/index.d.ts +23 -10
- package/dist/types/index.mjs +5 -9
- package/dist/utils/index.cjs +136 -355
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +35 -87
- package/dist/utils/index.d.ts +35 -87
- package/dist/utils/index.mjs +15 -42
- package/package.json +10 -31
- package/dist/ad-BUYzE6zx.d.ts +0 -181
- package/dist/ad-BhLoEul3.d.mts +0 -181
- package/dist/affiliate-BbtjeUP4.d.mts +0 -73
- package/dist/affiliate-C51nzKsw.d.ts +0 -73
- package/dist/apollo/index.cjs +0 -1383
- package/dist/apollo/index.cjs.map +0 -1
- package/dist/apollo/index.d.mts +0 -323
- package/dist/apollo/index.d.ts +0 -323
- package/dist/apollo/index.mjs +0 -1295
- package/dist/apollo/index.mjs.map +0 -1
- package/dist/auth/index.cjs +0 -1727
- package/dist/auth/index.cjs.map +0 -1
- package/dist/auth/index.d.mts +0 -166
- package/dist/auth/index.d.ts +0 -166
- package/dist/auth/index.mjs +0 -380
- package/dist/auth/index.mjs.map +0 -1
- package/dist/chunk-32MKHJTX.mjs +0 -1207
- package/dist/chunk-32MKHJTX.mjs.map +0 -1
- package/dist/chunk-AYO3E4DM.mjs.map +0 -1
- package/dist/chunk-BIJ5NDXW.mjs.map +0 -1
- package/dist/chunk-DQ7ZHIXW.mjs +0 -26
- package/dist/chunk-DQ7ZHIXW.mjs.map +0 -1
- package/dist/chunk-ILILH7E2.mjs.map +0 -1
- package/dist/chunk-R6PCFOYO.mjs.map +0 -1
- package/dist/chunk-RAYUJODN.mjs +0 -45
- package/dist/chunk-RAYUJODN.mjs.map +0 -1
- package/dist/chunk-SD42WIMV.mjs +0 -297
- package/dist/chunk-SD42WIMV.mjs.map +0 -1
- package/dist/chunk-VPANTTZI.mjs +0 -262
- package/dist/chunk-VPANTTZI.mjs.map +0 -1
- package/dist/chunk-X3OLM35T.mjs.map +0 -1
- package/dist/subscription-BU8GvH2K.d.ts +0 -12
- package/dist/subscription-bmAdrnfi.d.mts +0 -12
- package/dist/user-D47MLFyH.d.ts +0 -134
- package/dist/user-DE8edl3u.d.mts +0 -134
package/dist/index.d.mts
CHANGED
|
@@ -77,11 +77,9 @@ declare enum EnumFoodType {
|
|
|
77
77
|
VEGETARIAN = "Vegetarian"
|
|
78
78
|
}
|
|
79
79
|
declare enum EnumResourceType {
|
|
80
|
-
AFFILIATE = "affiliate",
|
|
81
80
|
EVENT = "event",
|
|
82
81
|
VENDOR = "vendor",
|
|
83
|
-
PARTNER = "partner"
|
|
84
|
-
SCHOOL = "school"
|
|
82
|
+
PARTNER = "partner"
|
|
85
83
|
}
|
|
86
84
|
declare enum EnumEventType {
|
|
87
85
|
MARKET = "Market",
|
|
@@ -110,11 +108,11 @@ declare enum EnumRelationResource {
|
|
|
110
108
|
VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
|
|
111
109
|
}
|
|
112
110
|
declare enum EnumNotificationResourceType {
|
|
113
|
-
|
|
114
|
-
|
|
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",
|
|
115
114
|
APPROVED_EVENT = "approved_event",
|
|
116
115
|
APPROVED_PARTNER = "approved_partner",
|
|
117
|
-
APPROVED_SCHOOL = "approved_school",
|
|
118
116
|
APPROVED_VENDOR = "approved_vendor",
|
|
119
117
|
CREATED_EVENT = "created_event",
|
|
120
118
|
CREATED_PARTNER = "created_partner",
|
|
@@ -177,19 +175,15 @@ declare enum EnumUserLicence {
|
|
|
177
175
|
PRO_VENDOR = "pro_vendor",
|
|
178
176
|
STANDARD_EVENT = "standard_event",
|
|
179
177
|
STANDARD_VENDOR = "standard_vendor",
|
|
180
|
-
STANDARD_PARTNER = "standard_partner"
|
|
181
|
-
STANDARD_AFFILIATE = "standard_affiliate",
|
|
182
|
-
STANDARD_SCHOOL = "standard_school"
|
|
178
|
+
STANDARD_PARTNER = "standard_partner"
|
|
183
179
|
}
|
|
184
180
|
declare enum EnumUserRole {
|
|
185
181
|
ADMIN = "admin",
|
|
186
|
-
AFFILIATE = "affiliate",
|
|
187
182
|
CUSTOMER = "customer",
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
VENDOR = "vendor"
|
|
183
|
+
MARKETING = "marketing",
|
|
184
|
+
MODERATOR = "moderator",
|
|
185
|
+
SUPPORT = "support",
|
|
186
|
+
AFFILIATE = "affiliate"
|
|
193
187
|
}
|
|
194
188
|
declare enum EnumSocialMedia {
|
|
195
189
|
FACEBOOK = "facebook",
|
|
@@ -326,7 +320,7 @@ interface EventType extends BaseResourceType {
|
|
|
326
320
|
sharePublic?: SocialShareResourceType | null;
|
|
327
321
|
shareRelation?: SocialShareResourceType | null;
|
|
328
322
|
}
|
|
329
|
-
type EventListItemType = Omit<EventType, "adIds" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
|
|
323
|
+
type EventListItemType = Omit<EventType, "adIds" | "associates" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
|
|
330
324
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
331
325
|
_id: string;
|
|
332
326
|
active?: boolean;
|
|
@@ -603,7 +597,6 @@ type PostContentType = Omit<PostContentFormData, "contentData"> & {
|
|
|
603
597
|
};
|
|
604
598
|
type PostType = Omit<PostFormData, "content" | "coverUpload" | "resource"> & {
|
|
605
599
|
_id: string;
|
|
606
|
-
approvedAt?: Date | null;
|
|
607
600
|
content: PostContentType[];
|
|
608
601
|
createdAt: Date;
|
|
609
602
|
deletedAt: Date | null;
|
|
@@ -731,11 +724,6 @@ type PromoCodeType = `${typeof PROMO_CODE_PREFIX}${string}`;
|
|
|
731
724
|
type Nullable<T> = {
|
|
732
725
|
[K in keyof T]: T[K] | null | undefined;
|
|
733
726
|
};
|
|
734
|
-
/** Uniform mutation response envelope used across GraphQL mutations. */
|
|
735
|
-
type MutationResponse<T> = {
|
|
736
|
-
data: T | null;
|
|
737
|
-
message: string | null;
|
|
738
|
-
};
|
|
739
727
|
type DeviceInfo = {
|
|
740
728
|
appBuildNumber: string;
|
|
741
729
|
appId: string;
|
|
@@ -772,6 +760,12 @@ type UserLicenceType = {
|
|
|
772
760
|
licenceType: EnumUserLicence;
|
|
773
761
|
prevLicenceType?: EnumUserLicence | null;
|
|
774
762
|
};
|
|
763
|
+
type AssociateType = {
|
|
764
|
+
email: string;
|
|
765
|
+
resourceId: string;
|
|
766
|
+
resourceType: EnumResourceType;
|
|
767
|
+
licence: UserLicenceType;
|
|
768
|
+
};
|
|
775
769
|
type OwnerType = {
|
|
776
770
|
email: string;
|
|
777
771
|
userId: string;
|
|
@@ -779,6 +773,7 @@ type OwnerType = {
|
|
|
779
773
|
interface BaseResourceTypeFormData {
|
|
780
774
|
_id?: string;
|
|
781
775
|
active: boolean;
|
|
776
|
+
associates: AssociateType[] | null;
|
|
782
777
|
contactDetails: ResourceContactDetailsType | null;
|
|
783
778
|
cover: ResourceImageType;
|
|
784
779
|
coverUpload?: ResourceImageType | null;
|
|
@@ -788,6 +783,7 @@ interface BaseResourceTypeFormData {
|
|
|
788
783
|
logo?: ResourceImageType | null;
|
|
789
784
|
logoUpload?: ResourceImageType | null;
|
|
790
785
|
name: string;
|
|
786
|
+
owner?: OwnerType | null;
|
|
791
787
|
promoCodes?: PromoCodeType[] | null;
|
|
792
788
|
region: string;
|
|
793
789
|
socialMedia: SocialMediaType[] | null;
|
|
@@ -798,7 +794,6 @@ type PosterUsageType = {
|
|
|
798
794
|
count: number;
|
|
799
795
|
};
|
|
800
796
|
type RelatedPostType = {
|
|
801
|
-
postActive: boolean;
|
|
802
797
|
postId: string;
|
|
803
798
|
postSlug: string;
|
|
804
799
|
postType: EnumPostType;
|
|
@@ -810,10 +805,8 @@ type SocialShareResourceType = {
|
|
|
810
805
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
|
|
811
806
|
_id: string;
|
|
812
807
|
adIds?: string[] | null;
|
|
813
|
-
approvedAt?: Date | null;
|
|
814
808
|
createdAt: Date;
|
|
815
809
|
deletedAt: Date | null;
|
|
816
|
-
owner: OwnerType;
|
|
817
810
|
posterUsage?: PosterUsageType | null;
|
|
818
811
|
rating?: number | null;
|
|
819
812
|
relatedPost?: RelatedPostType | null;
|
|
@@ -948,58 +941,6 @@ interface AdminUpdateResourceType {
|
|
|
948
941
|
resourceType: EnumResourceType;
|
|
949
942
|
}
|
|
950
943
|
|
|
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
|
-
|
|
1003
944
|
type UserFormData = {
|
|
1004
945
|
_id?: string;
|
|
1005
946
|
active: boolean;
|
|
@@ -1014,6 +955,7 @@ type UserFormData = {
|
|
|
1014
955
|
password?: string | null;
|
|
1015
956
|
platform?: EnumOSPlatform;
|
|
1016
957
|
preferredRegion: string;
|
|
958
|
+
role: EnumUserRole;
|
|
1017
959
|
termsAgreement?: TermsAgreement | null;
|
|
1018
960
|
};
|
|
1019
961
|
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
@@ -1022,12 +964,12 @@ type UserActivityEvent = {
|
|
|
1022
964
|
dateTime: DateTimeType;
|
|
1023
965
|
};
|
|
1024
966
|
type StripeSubscription = {
|
|
1025
|
-
currentPlan?: EnumUserLicence;
|
|
1026
967
|
customerId?: string;
|
|
1027
|
-
endDate?: Date;
|
|
1028
|
-
startDate?: Date;
|
|
1029
|
-
status?: EnumSubscriptionStatus;
|
|
1030
968
|
subscriptionId?: string;
|
|
969
|
+
status?: EnumSubscriptionStatus;
|
|
970
|
+
currentPlan?: EnumUserLicence;
|
|
971
|
+
startDate?: string;
|
|
972
|
+
endDate?: string;
|
|
1031
973
|
};
|
|
1032
974
|
type SubscriptionStatusData = {
|
|
1033
975
|
subscriptionId: string | null;
|
|
@@ -1082,9 +1024,8 @@ type RedeemRewardInput = {
|
|
|
1082
1024
|
};
|
|
1083
1025
|
type RedeemRewardResponse = {
|
|
1084
1026
|
userId: string;
|
|
1027
|
+
message: string;
|
|
1085
1028
|
};
|
|
1086
|
-
/** GraphQL envelope for `redeemReward`. */
|
|
1087
|
-
type RedeemRewardMutationResponse = MutationResponse<RedeemRewardResponse>;
|
|
1088
1029
|
type RedeemedReward = {
|
|
1089
1030
|
name: EnumReward;
|
|
1090
1031
|
pointsUsed: number;
|
|
@@ -1093,6 +1034,7 @@ type RedeemedReward = {
|
|
|
1093
1034
|
type UserType = Omit<UserFormData, "confirmPassword" | "avatarUpload" | "_id"> & {
|
|
1094
1035
|
_id: string;
|
|
1095
1036
|
affiliate?: string | null;
|
|
1037
|
+
associates?: AssociateType[] | null;
|
|
1096
1038
|
createdAt: Date;
|
|
1097
1039
|
deletedAt: Date | null;
|
|
1098
1040
|
events: string[] | null;
|
|
@@ -1100,18 +1042,14 @@ type UserType = Omit<UserFormData, "confirmPassword" | "avatarUpload" | "_id"> &
|
|
|
1100
1042
|
licences: UserLicenceType[] | null;
|
|
1101
1043
|
overallPoints: number | null;
|
|
1102
1044
|
partner: string | null;
|
|
1103
|
-
/** Computed from roles via ROLE_PERMISSIONS — not stored in Mongo. */
|
|
1104
|
-
permissions: Permission[];
|
|
1105
1045
|
promoCodes?: PromoCodeType[] | null;
|
|
1106
1046
|
redeemedRewards?: RedeemedReward[] | null;
|
|
1107
1047
|
refreshToken: string | null;
|
|
1108
|
-
roles: EnumUserRole[];
|
|
1109
1048
|
school: string | null;
|
|
1110
1049
|
stripe?: StripeSubscription;
|
|
1111
1050
|
updatedAt: Date | null;
|
|
1112
1051
|
userActivity: UserActivity | null;
|
|
1113
1052
|
vendor: string | null;
|
|
1114
|
-
emailSentFor?: EnumNotificationResourceType[] | null;
|
|
1115
1053
|
};
|
|
1116
1054
|
type SafeUserType = Omit<UserType, "password" | "refreshToken">;
|
|
1117
1055
|
type ResourceByUser = {
|
|
@@ -1161,19 +1099,19 @@ type ValidateVerificationTokenFormData = {
|
|
|
1161
1099
|
};
|
|
1162
1100
|
type CreateValidateVerificationTokenFormData = CreateFormData<ValidateVerificationTokenFormData>;
|
|
1163
1101
|
type AuthPayloadType = {
|
|
1164
|
-
|
|
1102
|
+
message: string;
|
|
1165
1103
|
token: string;
|
|
1104
|
+
refreshToken: string | null;
|
|
1166
1105
|
user: SafeUserType;
|
|
1167
1106
|
};
|
|
1168
|
-
type AuthMutationResponse = MutationResponse<AuthPayloadType>;
|
|
1169
1107
|
type RefreshTokenPayloadType = {
|
|
1170
1108
|
refreshToken: string;
|
|
1171
1109
|
token: string;
|
|
1172
1110
|
};
|
|
1173
|
-
type RefreshTokenMutationResponse = MutationResponse<RefreshTokenPayloadType>;
|
|
1174
1111
|
|
|
1175
1112
|
type ParticipantType = {
|
|
1176
1113
|
active: boolean;
|
|
1114
|
+
isAssociate?: boolean | null;
|
|
1177
1115
|
userAvatar: string | null;
|
|
1178
1116
|
userEmail: string;
|
|
1179
1117
|
userId: string;
|
|
@@ -1440,7 +1378,6 @@ type PushTokenType = {
|
|
|
1440
1378
|
interface AppSettingsFormData {
|
|
1441
1379
|
appVersion: string;
|
|
1442
1380
|
isOfflineMode: boolean;
|
|
1443
|
-
minimumRedeemableAffiliatePoints: number;
|
|
1444
1381
|
}
|
|
1445
1382
|
type CreateAppSettingsFormData = CreateFormData<AppSettingsFormData>;
|
|
1446
1383
|
type AppSettingsType = AppSettingsFormData & {
|
|
@@ -1492,12 +1429,11 @@ type SchoolCampaignType = {
|
|
|
1492
1429
|
};
|
|
1493
1430
|
type SchoolType = Omit<SchoolFormData, "logoUpload"> & {
|
|
1494
1431
|
_id: string;
|
|
1495
|
-
approvedAt?: Date | null;
|
|
1496
1432
|
campaigns: SchoolCampaignType[];
|
|
1497
1433
|
createdAt: Date;
|
|
1498
1434
|
deletedAt: Date | null;
|
|
1499
1435
|
overallPoints: number | null;
|
|
1500
|
-
owner: OwnerType;
|
|
1436
|
+
owner: OwnerType | null;
|
|
1501
1437
|
ranking: number | null;
|
|
1502
1438
|
schoolCode: PromoCodeType;
|
|
1503
1439
|
updatedAt: Date | null;
|
|
@@ -1518,73 +1454,36 @@ declare const TIER_DISPLAY_LABELS: Record<Tier, string>;
|
|
|
1518
1454
|
/** Maps licence enums to their canonical tier key. */
|
|
1519
1455
|
declare const TIER_FROM_LICENCE: Record<EnumUserLicence, Tier>;
|
|
1520
1456
|
|
|
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
|
-
};
|
|
1542
1457
|
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",
|
|
1547
1458
|
NEW_EVENT_REGISTRATION = "NEW_EVENT_REGISTRATION",
|
|
1548
|
-
NEW_VENDOR_REGISTRATION = "NEW_VENDOR_REGISTRATION"
|
|
1459
|
+
NEW_VENDOR_REGISTRATION = "NEW_VENDOR_REGISTRATION",
|
|
1460
|
+
NEW_PARTNER_REGISTRATION = "NEW_PARTNER_REGISTRATION"
|
|
1549
1461
|
}
|
|
1550
|
-
type
|
|
1462
|
+
type AffiliateReward = {
|
|
1551
1463
|
createdAt: Date;
|
|
1464
|
+
deletedAt: Date | null;
|
|
1552
1465
|
redeemedAt: Date | null;
|
|
1553
1466
|
rewardDescription: string;
|
|
1554
1467
|
rewardType: EnumAffiliateRewardType;
|
|
1555
1468
|
rewardValue: number;
|
|
1469
|
+
updatedAt: Date | null;
|
|
1556
1470
|
};
|
|
1557
1471
|
type AffiliateResourceType = {
|
|
1558
1472
|
resourceActive: boolean;
|
|
1559
|
-
resourceDeletedAt: Date | null;
|
|
1560
1473
|
resourceId: string;
|
|
1561
|
-
resourceName: string;
|
|
1562
|
-
resourceOwner: OwnerType;
|
|
1563
1474
|
resourceType: EnumResourceType;
|
|
1564
|
-
rewards:
|
|
1475
|
+
rewards: AffiliateReward[];
|
|
1565
1476
|
};
|
|
1566
|
-
type
|
|
1567
|
-
paidAt?: Date | null;
|
|
1568
|
-
redeemedAt: Date;
|
|
1569
|
-
rewardValue: number;
|
|
1570
|
-
};
|
|
1571
|
-
interface AffiliateType {
|
|
1477
|
+
type AffiliateType = {
|
|
1572
1478
|
_id: string;
|
|
1573
|
-
|
|
1574
|
-
approvedAt?: Date | null;
|
|
1575
|
-
affiliateBonusRewards?: AffiliateRewardType[] | null;
|
|
1576
|
-
affiliateCode: PromoCodeType | null;
|
|
1577
|
-
affiliateDetails: AffiliateDetailsType | null;
|
|
1479
|
+
affiliateCode: PromoCodeType;
|
|
1578
1480
|
affiliateResources: AffiliateResourceType[];
|
|
1579
1481
|
createdAt: Date;
|
|
1580
1482
|
deletedAt: Date | null;
|
|
1581
1483
|
overallPoints: number;
|
|
1582
1484
|
owner: OwnerType;
|
|
1583
|
-
redeemHistory?: RedeemHistoryType[] | null;
|
|
1584
1485
|
updatedAt: Date | null;
|
|
1585
|
-
}
|
|
1586
|
-
type AffiliateFormData = Omit<AffiliateDetailsType, "email" | "firstName" | "lastName">;
|
|
1587
|
-
type CreateAffiliateFormData = CreateFormData<AffiliateFormData>;
|
|
1486
|
+
};
|
|
1588
1487
|
|
|
1589
1488
|
declare const vendorElectricity: {
|
|
1590
1489
|
details: FormField;
|
|
@@ -1646,7 +1545,6 @@ declare const contactUsFields: FormField[];
|
|
|
1646
1545
|
|
|
1647
1546
|
declare const emailField: FormField;
|
|
1648
1547
|
declare const companyContactFields: FormField[];
|
|
1649
|
-
declare const bankAccountDetailsFields: FormField[];
|
|
1650
1548
|
|
|
1651
1549
|
declare const partnerBasicInfoFields: FormField[];
|
|
1652
1550
|
|
|
@@ -1671,102 +1569,87 @@ declare function toGraphqlQueryString(query: DocumentNode): string;
|
|
|
1671
1569
|
|
|
1672
1570
|
declare const useAdminUpdateResourceType: () => {
|
|
1673
1571
|
adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1674
|
-
adminUpdateResourceType:
|
|
1572
|
+
adminUpdateResourceType: {
|
|
1573
|
+
resourceId: string;
|
|
1574
|
+
resourceType: EnumResourceType;
|
|
1575
|
+
};
|
|
1675
1576
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1676
|
-
adminUpdateResourceType:
|
|
1577
|
+
adminUpdateResourceType: {
|
|
1578
|
+
resourceId: string;
|
|
1579
|
+
resourceType: EnumResourceType;
|
|
1580
|
+
};
|
|
1677
1581
|
}>>;
|
|
1678
1582
|
error: _apollo_client.ApolloError | undefined;
|
|
1679
1583
|
loading: boolean;
|
|
1680
1584
|
};
|
|
1681
1585
|
declare const useAdminResendUserVerificationEmail: () => {
|
|
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
|
-
}>>;
|
|
1586
|
+
adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1687
1587
|
error: _apollo_client.ApolloError | undefined;
|
|
1688
1588
|
loading: boolean;
|
|
1689
1589
|
};
|
|
1690
1590
|
declare const useAdminPermanentlyDeleteResource: () => {
|
|
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
|
-
}>>;
|
|
1591
|
+
adminPermanentlyDeleteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1696
1592
|
error: _apollo_client.ApolloError | undefined;
|
|
1697
1593
|
loading: boolean;
|
|
1698
1594
|
};
|
|
1699
1595
|
|
|
1700
|
-
type MessageOnlyResponse = MutationResponse<boolean>;
|
|
1701
1596
|
declare const useRegister: () => {
|
|
1702
1597
|
error: _apollo_client.ApolloError | undefined;
|
|
1703
1598
|
loading: boolean;
|
|
1704
1599
|
register: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1705
|
-
register:
|
|
1600
|
+
register: AuthPayloadType;
|
|
1706
1601
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1707
|
-
register:
|
|
1602
|
+
register: AuthPayloadType;
|
|
1708
1603
|
}>>;
|
|
1709
1604
|
};
|
|
1710
1605
|
declare const useLogin: () => {
|
|
1711
1606
|
error: _apollo_client.ApolloError | undefined;
|
|
1712
1607
|
loading: boolean;
|
|
1713
1608
|
login: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1714
|
-
login:
|
|
1609
|
+
login: AuthPayloadType;
|
|
1715
1610
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1716
|
-
login:
|
|
1611
|
+
login: AuthPayloadType;
|
|
1717
1612
|
}>>;
|
|
1718
1613
|
};
|
|
1719
1614
|
declare const useLogout: () => {
|
|
1720
1615
|
error: _apollo_client.ApolloError | undefined;
|
|
1721
1616
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
1617
|
+
logout: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1727
1618
|
};
|
|
1728
1619
|
declare const useRefreshToken: () => {
|
|
1729
1620
|
error: _apollo_client.ApolloError | undefined;
|
|
1730
1621
|
loading: boolean;
|
|
1731
1622
|
refreshToken: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1732
|
-
refreshToken:
|
|
1623
|
+
refreshToken: RefreshTokenPayloadType;
|
|
1733
1624
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1734
|
-
refreshToken:
|
|
1625
|
+
refreshToken: RefreshTokenPayloadType;
|
|
1735
1626
|
}>>;
|
|
1736
1627
|
};
|
|
1737
1628
|
declare const useRequestPasswordReset: () => {
|
|
1738
1629
|
error: _apollo_client.ApolloError | undefined;
|
|
1739
1630
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
1631
|
+
requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1745
1632
|
};
|
|
1746
1633
|
declare const useValidateVerificationToken: () => {
|
|
1747
1634
|
error: _apollo_client.ApolloError | undefined;
|
|
1748
1635
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
1636
|
+
validateVerificationToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1754
1637
|
};
|
|
1755
1638
|
declare const useResetPassword: () => {
|
|
1756
1639
|
error: _apollo_client.ApolloError | undefined;
|
|
1757
1640
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
1641
|
+
resetPassword: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1763
1642
|
};
|
|
1764
1643
|
|
|
1765
1644
|
declare const useCreatePrivateChat: () => {
|
|
1766
1645
|
createPrivateChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1767
|
-
createPrivateChat:
|
|
1646
|
+
createPrivateChat: {
|
|
1647
|
+
_id: string;
|
|
1648
|
+
};
|
|
1768
1649
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1769
|
-
createPrivateChat:
|
|
1650
|
+
createPrivateChat: {
|
|
1651
|
+
_id: string;
|
|
1652
|
+
};
|
|
1770
1653
|
}>>;
|
|
1771
1654
|
error: _apollo_client.ApolloError | undefined;
|
|
1772
1655
|
loading: boolean;
|
|
@@ -1775,25 +1658,29 @@ declare const useSendChatMessage: () => {
|
|
|
1775
1658
|
error: _apollo_client.ApolloError | undefined;
|
|
1776
1659
|
loading: boolean;
|
|
1777
1660
|
sendChatMessage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1778
|
-
sendChatMessage:
|
|
1661
|
+
sendChatMessage: {
|
|
1662
|
+
_id: string;
|
|
1663
|
+
};
|
|
1779
1664
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1780
|
-
sendChatMessage:
|
|
1665
|
+
sendChatMessage: {
|
|
1666
|
+
_id: string;
|
|
1667
|
+
};
|
|
1781
1668
|
}>>;
|
|
1782
1669
|
};
|
|
1783
1670
|
declare const useDeleteChat: () => {
|
|
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
|
-
}>>;
|
|
1671
|
+
deleteChat: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1789
1672
|
error: _apollo_client.ApolloError | undefined;
|
|
1790
1673
|
loading: boolean;
|
|
1791
1674
|
};
|
|
1792
1675
|
declare const useAddParticipantToChat: () => {
|
|
1793
1676
|
addParticipantToChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1794
|
-
addParticipantToChat:
|
|
1677
|
+
addParticipantToChat: {
|
|
1678
|
+
_id: string;
|
|
1679
|
+
};
|
|
1795
1680
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1796
|
-
addParticipantToChat:
|
|
1681
|
+
addParticipantToChat: {
|
|
1682
|
+
_id: string;
|
|
1683
|
+
};
|
|
1797
1684
|
}>>;
|
|
1798
1685
|
error: _apollo_client.ApolloError | undefined;
|
|
1799
1686
|
loading: boolean;
|
|
@@ -1802,43 +1689,47 @@ declare const useRemoveParticipantFromChat: () => {
|
|
|
1802
1689
|
error: _apollo_client.ApolloError | undefined;
|
|
1803
1690
|
loading: boolean;
|
|
1804
1691
|
removeParticipantFromChat: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1805
|
-
removeParticipantFromChat:
|
|
1692
|
+
removeParticipantFromChat: {
|
|
1806
1693
|
success: boolean;
|
|
1807
1694
|
region?: string | null;
|
|
1808
|
-
}
|
|
1695
|
+
};
|
|
1809
1696
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1810
|
-
removeParticipantFromChat:
|
|
1697
|
+
removeParticipantFromChat: {
|
|
1811
1698
|
success: boolean;
|
|
1812
1699
|
region?: string | null;
|
|
1813
|
-
}
|
|
1700
|
+
};
|
|
1814
1701
|
}>>;
|
|
1815
1702
|
};
|
|
1816
1703
|
declare const useToggleChatMessageLike: () => {
|
|
1817
1704
|
error: _apollo_client.ApolloError | undefined;
|
|
1818
1705
|
loading: boolean;
|
|
1819
1706
|
toggleChatMessageLike: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1820
|
-
toggleChatMessageLike:
|
|
1707
|
+
toggleChatMessageLike: {
|
|
1708
|
+
_id: string;
|
|
1709
|
+
};
|
|
1821
1710
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1822
|
-
toggleChatMessageLike:
|
|
1711
|
+
toggleChatMessageLike: {
|
|
1712
|
+
_id: string;
|
|
1713
|
+
};
|
|
1823
1714
|
}>>;
|
|
1824
1715
|
};
|
|
1825
1716
|
declare const useMarkChatMessagesSeen: () => {
|
|
1826
1717
|
error: _apollo_client.ApolloError | undefined;
|
|
1827
1718
|
loading: boolean;
|
|
1828
1719
|
markChatMessagesSeen: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1829
|
-
markChatMessagesSeen:
|
|
1720
|
+
markChatMessagesSeen: {
|
|
1721
|
+
_id: string;
|
|
1722
|
+
};
|
|
1830
1723
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1831
|
-
markChatMessagesSeen:
|
|
1724
|
+
markChatMessagesSeen: {
|
|
1725
|
+
_id: string;
|
|
1726
|
+
};
|
|
1832
1727
|
}>>;
|
|
1833
1728
|
};
|
|
1834
1729
|
declare const useReportChatUser: () => {
|
|
1835
1730
|
error: _apollo_client.ApolloError | undefined;
|
|
1836
1731
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
1732
|
+
reportChatUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1842
1733
|
};
|
|
1843
1734
|
|
|
1844
1735
|
declare const useGetChat: (_id: string) => {
|
|
@@ -1880,21 +1771,13 @@ declare const useGetReportedChatUsers: () => {
|
|
|
1880
1771
|
};
|
|
1881
1772
|
|
|
1882
1773
|
declare const useContactUs: () => {
|
|
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
|
-
}>>;
|
|
1774
|
+
contactUs: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1888
1775
|
error: _apollo_client.ApolloError | undefined;
|
|
1889
1776
|
loading: boolean;
|
|
1890
1777
|
};
|
|
1891
1778
|
|
|
1892
1779
|
declare const useCreateEvent: () => {
|
|
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
|
-
}>>;
|
|
1780
|
+
createEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1898
1781
|
error: _apollo_client.ApolloError | undefined;
|
|
1899
1782
|
loading: boolean;
|
|
1900
1783
|
};
|
|
@@ -1902,29 +1785,29 @@ declare const useUpdateEvent: () => {
|
|
|
1902
1785
|
error: _apollo_client.ApolloError | undefined;
|
|
1903
1786
|
loading: boolean;
|
|
1904
1787
|
updateEvent: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1905
|
-
updateEvent:
|
|
1788
|
+
updateEvent: {
|
|
1789
|
+
_id: string;
|
|
1790
|
+
};
|
|
1906
1791
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1907
|
-
updateEvent:
|
|
1792
|
+
updateEvent: {
|
|
1793
|
+
_id: string;
|
|
1794
|
+
};
|
|
1908
1795
|
}>>;
|
|
1909
1796
|
};
|
|
1910
1797
|
declare const useDeleteEvent: () => {
|
|
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
|
-
}>>;
|
|
1798
|
+
deleteEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1916
1799
|
error: _apollo_client.ApolloError | undefined;
|
|
1917
1800
|
loading: boolean;
|
|
1918
1801
|
};
|
|
1919
1802
|
declare const useCreateEventInfo: () => {
|
|
1920
1803
|
createEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1921
|
-
createEventInfo:
|
|
1804
|
+
createEventInfo: {
|
|
1922
1805
|
eventId: string;
|
|
1923
|
-
}
|
|
1806
|
+
};
|
|
1924
1807
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1925
|
-
createEventInfo:
|
|
1808
|
+
createEventInfo: {
|
|
1926
1809
|
eventId: string;
|
|
1927
|
-
}
|
|
1810
|
+
};
|
|
1928
1811
|
}>>;
|
|
1929
1812
|
error: _apollo_client.ApolloError | undefined;
|
|
1930
1813
|
loading: boolean;
|
|
@@ -1933,13 +1816,13 @@ declare const useUpdateEventInfo: () => {
|
|
|
1933
1816
|
error: _apollo_client.ApolloError | undefined;
|
|
1934
1817
|
loading: boolean;
|
|
1935
1818
|
updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1936
|
-
updateEventInfo:
|
|
1819
|
+
updateEventInfo: {
|
|
1937
1820
|
eventId: string;
|
|
1938
|
-
}
|
|
1821
|
+
};
|
|
1939
1822
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1940
|
-
updateEventInfo:
|
|
1823
|
+
updateEventInfo: {
|
|
1941
1824
|
eventId: string;
|
|
1942
|
-
}
|
|
1825
|
+
};
|
|
1943
1826
|
}>>;
|
|
1944
1827
|
};
|
|
1945
1828
|
|
|
@@ -2017,47 +1900,27 @@ declare const useGetEventInfo: (eventId: string) => {
|
|
|
2017
1900
|
};
|
|
2018
1901
|
|
|
2019
1902
|
declare const useCreateBulkNotifications: () => {
|
|
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
|
-
}>>;
|
|
1903
|
+
createBulkNotifications: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2025
1904
|
error: _apollo_client.ApolloError | undefined;
|
|
2026
1905
|
loading: boolean;
|
|
2027
1906
|
};
|
|
2028
1907
|
declare const useMarkNotificationRead: () => {
|
|
2029
1908
|
error: _apollo_client.ApolloError | undefined;
|
|
2030
1909
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
1910
|
+
markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2036
1911
|
};
|
|
2037
1912
|
declare const useMarkAllNotificationsRead: () => {
|
|
2038
1913
|
error: _apollo_client.ApolloError | undefined;
|
|
2039
1914
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
1915
|
+
markAllNotificationsRead: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2045
1916
|
};
|
|
2046
1917
|
declare const useDeleteNotification: () => {
|
|
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
|
-
}>>;
|
|
1918
|
+
deleteNotification: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2052
1919
|
error: _apollo_client.ApolloError | undefined;
|
|
2053
1920
|
loading: boolean;
|
|
2054
1921
|
};
|
|
2055
1922
|
declare const useDeleteAllNotifications: () => {
|
|
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
|
-
}>>;
|
|
1923
|
+
deleteAllNotifications: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2061
1924
|
error: _apollo_client.ApolloError | undefined;
|
|
2062
1925
|
loading: boolean;
|
|
2063
1926
|
};
|
|
@@ -2091,38 +1954,22 @@ declare const useGetNotificationCountSubscription: () => {
|
|
|
2091
1954
|
};
|
|
2092
1955
|
|
|
2093
1956
|
declare const useCreatePoster: () => {
|
|
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
|
-
}>>;
|
|
1957
|
+
createPoster: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2103
1958
|
error: _apollo_client.ApolloError | undefined;
|
|
2104
1959
|
loading: boolean;
|
|
2105
1960
|
};
|
|
2106
1961
|
|
|
2107
1962
|
declare const useCreatePushToken: () => {
|
|
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
|
-
}>>;
|
|
1963
|
+
createPushToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2117
1964
|
error: _apollo_client.ApolloError | undefined;
|
|
2118
1965
|
loading: boolean;
|
|
2119
1966
|
};
|
|
2120
1967
|
|
|
2121
1968
|
declare const useCreateRelation: () => {
|
|
2122
1969
|
createRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2123
|
-
createRelation:
|
|
1970
|
+
createRelation: RelationType$1;
|
|
2124
1971
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2125
|
-
createRelation:
|
|
1972
|
+
createRelation: RelationType$1;
|
|
2126
1973
|
}>>;
|
|
2127
1974
|
error: _apollo_client.ApolloError | undefined;
|
|
2128
1975
|
loading: boolean;
|
|
@@ -2131,16 +1978,16 @@ declare const useUpdateRelation: () => {
|
|
|
2131
1978
|
error: _apollo_client.ApolloError | undefined;
|
|
2132
1979
|
loading: boolean;
|
|
2133
1980
|
updateRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2134
|
-
updateRelation:
|
|
1981
|
+
updateRelation: RelationType$1;
|
|
2135
1982
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2136
|
-
updateRelation:
|
|
1983
|
+
updateRelation: RelationType$1;
|
|
2137
1984
|
}>>;
|
|
2138
1985
|
};
|
|
2139
1986
|
declare const useDeleteRelation: () => {
|
|
2140
1987
|
deleteRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2141
|
-
deleteRelation:
|
|
1988
|
+
deleteRelation: RelationType$1;
|
|
2142
1989
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2143
|
-
deleteRelation:
|
|
1990
|
+
deleteRelation: RelationType$1;
|
|
2144
1991
|
}>>;
|
|
2145
1992
|
error: _apollo_client.ApolloError | undefined;
|
|
2146
1993
|
loading: boolean;
|
|
@@ -2188,41 +2035,29 @@ declare const useGetResourceConnections: (resourceId: string, resourceType: Enum
|
|
|
2188
2035
|
};
|
|
2189
2036
|
|
|
2190
2037
|
declare const useCreateVendor: () => {
|
|
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
|
-
}>>;
|
|
2038
|
+
createVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2196
2039
|
error: _apollo_client.ApolloError | undefined;
|
|
2197
2040
|
loading: boolean;
|
|
2198
2041
|
};
|
|
2199
2042
|
declare const useUpdateVendor: () => {
|
|
2200
2043
|
error: _apollo_client.ApolloError | undefined;
|
|
2201
2044
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2045
|
+
updateVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2207
2046
|
};
|
|
2208
2047
|
declare const useDeleteVendor: () => {
|
|
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
|
-
}>>;
|
|
2048
|
+
deleteVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2214
2049
|
error: _apollo_client.ApolloError | undefined;
|
|
2215
2050
|
loading: boolean;
|
|
2216
2051
|
};
|
|
2217
2052
|
declare const useCreateVendorInfo: () => {
|
|
2218
2053
|
createVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2219
|
-
createVendorInfo:
|
|
2054
|
+
createVendorInfo: {
|
|
2220
2055
|
vendorId: string;
|
|
2221
|
-
}
|
|
2056
|
+
};
|
|
2222
2057
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2223
|
-
createVendorInfo:
|
|
2058
|
+
createVendorInfo: {
|
|
2224
2059
|
vendorId: string;
|
|
2225
|
-
}
|
|
2060
|
+
};
|
|
2226
2061
|
}>>;
|
|
2227
2062
|
error: _apollo_client.ApolloError | undefined;
|
|
2228
2063
|
loading: boolean;
|
|
@@ -2231,50 +2066,34 @@ declare const useUpdateVendorInfo: () => {
|
|
|
2231
2066
|
error: _apollo_client.ApolloError | undefined;
|
|
2232
2067
|
loading: boolean;
|
|
2233
2068
|
updateVendorInfo: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2234
|
-
updateVendorInfo:
|
|
2069
|
+
updateVendorInfo: {
|
|
2235
2070
|
vendorId: string;
|
|
2236
|
-
}
|
|
2071
|
+
};
|
|
2237
2072
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2238
|
-
updateVendorInfo:
|
|
2073
|
+
updateVendorInfo: {
|
|
2239
2074
|
vendorId: string;
|
|
2240
|
-
}
|
|
2075
|
+
};
|
|
2241
2076
|
}>>;
|
|
2242
2077
|
};
|
|
2243
2078
|
declare const useCreateUnregisteredVendor: () => {
|
|
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
|
-
}>>;
|
|
2079
|
+
createUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2249
2080
|
error: _apollo_client.ApolloError | undefined;
|
|
2250
2081
|
loading: boolean;
|
|
2251
2082
|
};
|
|
2252
2083
|
declare const useUpdateUnregisteredVendor: () => {
|
|
2253
2084
|
error: _apollo_client.ApolloError | undefined;
|
|
2254
2085
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2086
|
+
updateUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2260
2087
|
};
|
|
2261
2088
|
declare const useDeleteUnregisteredVendor: () => {
|
|
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
|
-
}>>;
|
|
2089
|
+
deleteUnregisteredVendor: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2267
2090
|
error: _apollo_client.ApolloError | undefined;
|
|
2268
2091
|
loading: boolean;
|
|
2269
2092
|
};
|
|
2270
2093
|
declare const useUnlinkUnregisteredVendorByInviterId: () => {
|
|
2271
2094
|
error: _apollo_client.ApolloError | undefined;
|
|
2272
2095
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2096
|
+
unlinkUnregisteredVendorByInviterId: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2278
2097
|
};
|
|
2279
2098
|
|
|
2280
2099
|
declare const useGetVendors: () => {
|
|
@@ -2356,9 +2175,9 @@ declare const useGetUnregisteredVendor: (_id: string) => {
|
|
|
2356
2175
|
|
|
2357
2176
|
declare const useCreateUser: () => {
|
|
2358
2177
|
createUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2359
|
-
createUser:
|
|
2178
|
+
createUser: SafeUserType;
|
|
2360
2179
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2361
|
-
createUser:
|
|
2180
|
+
createUser: SafeUserType;
|
|
2362
2181
|
}>>;
|
|
2363
2182
|
error: _apollo_client.ApolloError | undefined;
|
|
2364
2183
|
loading: boolean;
|
|
@@ -2367,17 +2186,13 @@ declare const useUpdateUser: () => {
|
|
|
2367
2186
|
error: _apollo_client.ApolloError | undefined;
|
|
2368
2187
|
loading: boolean;
|
|
2369
2188
|
updateUser: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2370
|
-
updateUser:
|
|
2189
|
+
updateUser: SafeUserType;
|
|
2371
2190
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2372
|
-
updateUser:
|
|
2191
|
+
updateUser: SafeUserType;
|
|
2373
2192
|
}>>;
|
|
2374
2193
|
};
|
|
2375
2194
|
declare const useDeleteUser: () => {
|
|
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
|
-
}>>;
|
|
2195
|
+
deleteUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2381
2196
|
error: _apollo_client.ApolloError | undefined;
|
|
2382
2197
|
loading: boolean;
|
|
2383
2198
|
};
|
|
@@ -2385,96 +2200,66 @@ declare const useRedeemReward: () => {
|
|
|
2385
2200
|
error: _apollo_client.ApolloError | undefined;
|
|
2386
2201
|
loading: boolean;
|
|
2387
2202
|
redeemReward: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2388
|
-
redeemReward:
|
|
2203
|
+
redeemReward: RedeemRewardResponse;
|
|
2389
2204
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2390
|
-
redeemReward:
|
|
2205
|
+
redeemReward: RedeemRewardResponse;
|
|
2391
2206
|
}>>;
|
|
2392
2207
|
};
|
|
2393
2208
|
declare const useAddUserFavouriteResource: () => {
|
|
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
|
-
}>>;
|
|
2209
|
+
addUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2399
2210
|
error: _apollo_client.ApolloError | undefined;
|
|
2400
2211
|
loading: boolean;
|
|
2401
2212
|
};
|
|
2402
2213
|
declare const useRemoveUserFavouriteResource: () => {
|
|
2403
2214
|
error: _apollo_client.ApolloError | undefined;
|
|
2404
2215
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2216
|
+
removeUserFavouriteResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2410
2217
|
};
|
|
2411
2218
|
declare const useAddUserInterestResource: () => {
|
|
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
|
-
}>>;
|
|
2219
|
+
addUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2417
2220
|
error: _apollo_client.ApolloError | undefined;
|
|
2418
2221
|
loading: boolean;
|
|
2419
2222
|
};
|
|
2420
2223
|
declare const useRemoveUserInterestResource: () => {
|
|
2421
2224
|
error: _apollo_client.ApolloError | undefined;
|
|
2422
2225
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2226
|
+
removeUserInterestResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2428
2227
|
};
|
|
2429
2228
|
declare const useAddUserGoingResource: () => {
|
|
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
|
-
}>>;
|
|
2229
|
+
addUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2435
2230
|
error: _apollo_client.ApolloError | undefined;
|
|
2436
2231
|
loading: boolean;
|
|
2437
2232
|
};
|
|
2438
2233
|
declare const useRemoveUserGoingResource: () => {
|
|
2439
2234
|
error: _apollo_client.ApolloError | undefined;
|
|
2440
2235
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2236
|
+
removeUserGoingResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2446
2237
|
};
|
|
2447
2238
|
declare const useAddUserPresentResource: () => {
|
|
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
|
-
}>>;
|
|
2239
|
+
addUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2453
2240
|
error: _apollo_client.ApolloError | undefined;
|
|
2454
2241
|
loading: boolean;
|
|
2455
2242
|
};
|
|
2456
2243
|
declare const useRemoveUserPresentResource: () => {
|
|
2457
2244
|
error: _apollo_client.ApolloError | undefined;
|
|
2458
2245
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2246
|
+
removeUserPresentResource: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2464
2247
|
};
|
|
2465
2248
|
declare const useSelectStandardPackage: () => {
|
|
2466
2249
|
error: _apollo_client.ApolloError | undefined;
|
|
2467
2250
|
loading: boolean;
|
|
2468
2251
|
selectStandardPackage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2469
|
-
selectStandardPackage:
|
|
2252
|
+
selectStandardPackage: {
|
|
2470
2253
|
userId: string;
|
|
2254
|
+
message: string;
|
|
2471
2255
|
licences: UserLicenceType[];
|
|
2472
|
-
}
|
|
2256
|
+
};
|
|
2473
2257
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2474
|
-
selectStandardPackage:
|
|
2258
|
+
selectStandardPackage: {
|
|
2475
2259
|
userId: string;
|
|
2260
|
+
message: string;
|
|
2476
2261
|
licences: UserLicenceType[];
|
|
2477
|
-
}
|
|
2262
|
+
};
|
|
2478
2263
|
}>>;
|
|
2479
2264
|
};
|
|
2480
2265
|
|
|
@@ -2568,29 +2353,17 @@ declare const useGetUserResources: (userId: string) => {
|
|
|
2568
2353
|
};
|
|
2569
2354
|
|
|
2570
2355
|
declare const useCreateAd: () => {
|
|
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
|
-
}>>;
|
|
2356
|
+
createAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2576
2357
|
error: _apollo_client.ApolloError | undefined;
|
|
2577
2358
|
loading: boolean;
|
|
2578
2359
|
};
|
|
2579
2360
|
declare const useUpdateAd: () => {
|
|
2580
2361
|
error: _apollo_client.ApolloError | undefined;
|
|
2581
2362
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2363
|
+
updateAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2587
2364
|
};
|
|
2588
2365
|
declare const useDeleteAd: () => {
|
|
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
|
-
}>>;
|
|
2366
|
+
deleteAd: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2594
2367
|
error: _apollo_client.ApolloError | undefined;
|
|
2595
2368
|
loading: boolean;
|
|
2596
2369
|
};
|
|
@@ -2621,11 +2394,7 @@ declare const useGetAdsByRegion: (region: string, status?: EnumAdStatus) => {
|
|
|
2621
2394
|
};
|
|
2622
2395
|
|
|
2623
2396
|
declare const useCreateResourceActivity: () => {
|
|
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
|
-
}>>;
|
|
2397
|
+
createResourceActivity: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2629
2398
|
error: _apollo_client.ApolloError | undefined;
|
|
2630
2399
|
loading: boolean;
|
|
2631
2400
|
};
|
|
@@ -2640,58 +2409,22 @@ declare const useGetResourceActivity: (resourceId: string, resourceType: EnumRes
|
|
|
2640
2409
|
};
|
|
2641
2410
|
|
|
2642
2411
|
declare const useCreateCheckoutSession: () => {
|
|
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
|
-
}>>;
|
|
2412
|
+
createCheckoutSession: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2654
2413
|
error: _apollo_client.ApolloError | undefined;
|
|
2655
2414
|
loading: boolean;
|
|
2656
2415
|
};
|
|
2657
2416
|
declare const useCancelSubscription: () => {
|
|
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
|
-
}>>;
|
|
2417
|
+
cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2663
2418
|
error: _apollo_client.ApolloError | undefined;
|
|
2664
2419
|
loading: boolean;
|
|
2665
2420
|
};
|
|
2666
2421
|
declare const useUpdateSubscriptionPlan: () => {
|
|
2667
2422
|
error: _apollo_client.ApolloError | undefined;
|
|
2668
2423
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2424
|
+
updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2684
2425
|
};
|
|
2685
2426
|
declare const useCreateCustomerPortal: () => {
|
|
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
|
-
}>>;
|
|
2427
|
+
createCustomerPortal: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2695
2428
|
error: _apollo_client.ApolloError | undefined;
|
|
2696
2429
|
loading: boolean;
|
|
2697
2430
|
};
|
|
@@ -2699,17 +2432,19 @@ declare const useSelectPackage: () => {
|
|
|
2699
2432
|
error: _apollo_client.ApolloError | undefined;
|
|
2700
2433
|
loading: boolean;
|
|
2701
2434
|
selectPackage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2702
|
-
selectPackage:
|
|
2435
|
+
selectPackage: {
|
|
2703
2436
|
checkoutUrl?: string;
|
|
2704
2437
|
userId: string;
|
|
2438
|
+
message: string;
|
|
2705
2439
|
licences: UserLicenceType[];
|
|
2706
|
-
}
|
|
2440
|
+
};
|
|
2707
2441
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2708
|
-
selectPackage:
|
|
2442
|
+
selectPackage: {
|
|
2709
2443
|
checkoutUrl?: string;
|
|
2710
2444
|
userId: string;
|
|
2445
|
+
message: string;
|
|
2711
2446
|
licences: UserLicenceType[];
|
|
2712
|
-
}
|
|
2447
|
+
};
|
|
2713
2448
|
}>>;
|
|
2714
2449
|
};
|
|
2715
2450
|
|
|
@@ -2731,29 +2466,17 @@ declare const useGetSubscriptionPlans: () => {
|
|
|
2731
2466
|
};
|
|
2732
2467
|
|
|
2733
2468
|
declare const useCreatePartner: () => {
|
|
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
|
-
}>>;
|
|
2469
|
+
createPartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2739
2470
|
error: _apollo_client.ApolloError | undefined;
|
|
2740
2471
|
loading: boolean;
|
|
2741
2472
|
};
|
|
2742
2473
|
declare const useUpdatePartner: () => {
|
|
2743
2474
|
error: _apollo_client.ApolloError | undefined;
|
|
2744
2475
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2476
|
+
updatePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2750
2477
|
};
|
|
2751
2478
|
declare const useDeletePartner: () => {
|
|
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
|
-
}>>;
|
|
2479
|
+
deletePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2757
2480
|
error: _apollo_client.ApolloError | undefined;
|
|
2758
2481
|
loading: boolean;
|
|
2759
2482
|
};
|
|
@@ -2804,29 +2527,17 @@ declare const useSearchPartners: (search: string, region: string) => {
|
|
|
2804
2527
|
};
|
|
2805
2528
|
|
|
2806
2529
|
declare const useCreatePost: () => {
|
|
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
|
-
}>>;
|
|
2530
|
+
createPost: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2812
2531
|
error: _apollo_client.ApolloError | undefined;
|
|
2813
2532
|
loading: boolean;
|
|
2814
2533
|
};
|
|
2815
2534
|
declare const useUpdatePost: () => {
|
|
2816
2535
|
error: _apollo_client.ApolloError | undefined;
|
|
2817
2536
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2537
|
+
updatePost: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2823
2538
|
};
|
|
2824
2539
|
declare const useDeletePost: () => {
|
|
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
|
-
}>>;
|
|
2540
|
+
deletePost: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2830
2541
|
error: _apollo_client.ApolloError | undefined;
|
|
2831
2542
|
loading: boolean;
|
|
2832
2543
|
};
|
|
@@ -2859,17 +2570,17 @@ declare const useGetPostsByType: (postType: EnumPostType) => {
|
|
|
2859
2570
|
declare const useUpdateAppSettings: () => {
|
|
2860
2571
|
error: _apollo_client.ApolloError | undefined;
|
|
2861
2572
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2573
|
+
updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2867
2574
|
};
|
|
2868
2575
|
declare const useCrawlGoogleMarkets: () => {
|
|
2869
2576
|
crawlGoogleMarkets: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2870
|
-
crawlGoogleMarkets:
|
|
2577
|
+
crawlGoogleMarkets: {
|
|
2578
|
+
message: string;
|
|
2579
|
+
};
|
|
2871
2580
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2872
|
-
crawlGoogleMarkets:
|
|
2581
|
+
crawlGoogleMarkets: {
|
|
2582
|
+
message: string;
|
|
2583
|
+
};
|
|
2873
2584
|
}>>;
|
|
2874
2585
|
error: _apollo_client.ApolloError | undefined;
|
|
2875
2586
|
loading: boolean;
|
|
@@ -2878,9 +2589,13 @@ declare const useUpdateGoogleImportedMarkets: () => {
|
|
|
2878
2589
|
error: _apollo_client.ApolloError | undefined;
|
|
2879
2590
|
loading: boolean;
|
|
2880
2591
|
updateGoogleImportedMarkets: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2881
|
-
updateGoogleImportedMarkets:
|
|
2592
|
+
updateGoogleImportedMarkets: {
|
|
2593
|
+
message: string;
|
|
2594
|
+
};
|
|
2882
2595
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2883
|
-
updateGoogleImportedMarkets:
|
|
2596
|
+
updateGoogleImportedMarkets: {
|
|
2597
|
+
message: string;
|
|
2598
|
+
};
|
|
2884
2599
|
}>>;
|
|
2885
2600
|
};
|
|
2886
2601
|
|
|
@@ -2897,36 +2612,32 @@ declare const useStartGame: () => {
|
|
|
2897
2612
|
error: _apollo_client.ApolloError | undefined;
|
|
2898
2613
|
loading: boolean;
|
|
2899
2614
|
startGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2900
|
-
startGame:
|
|
2615
|
+
startGame: GameDocType;
|
|
2901
2616
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2902
|
-
startGame:
|
|
2617
|
+
startGame: GameDocType;
|
|
2903
2618
|
}>>;
|
|
2904
2619
|
};
|
|
2905
2620
|
declare const useLeaveGame: () => {
|
|
2906
2621
|
error: _apollo_client.ApolloError | undefined;
|
|
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
|
-
}>>;
|
|
2622
|
+
leaveGame: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2912
2623
|
loading: boolean;
|
|
2913
2624
|
};
|
|
2914
2625
|
declare const useUpdateDailyClueGame: () => {
|
|
2915
2626
|
error: _apollo_client.ApolloError | undefined;
|
|
2916
2627
|
loading: boolean;
|
|
2917
2628
|
updateDailyClueGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2918
|
-
updateDailyClueGame:
|
|
2629
|
+
updateDailyClueGame: GameDocType;
|
|
2919
2630
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2920
|
-
updateDailyClueGame:
|
|
2631
|
+
updateDailyClueGame: GameDocType;
|
|
2921
2632
|
}>>;
|
|
2922
2633
|
};
|
|
2923
2634
|
declare const useUpdatePuzzleGame: () => {
|
|
2924
2635
|
error: _apollo_client.ApolloError | undefined;
|
|
2925
2636
|
loading: boolean;
|
|
2926
2637
|
updatePuzzleGame: (options?: _apollo_client.MutationFunctionOptions<{
|
|
2927
|
-
updatePuzzleGame:
|
|
2638
|
+
updatePuzzleGame: GameDocType;
|
|
2928
2639
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
2929
|
-
updatePuzzleGame:
|
|
2640
|
+
updatePuzzleGame: GameDocType;
|
|
2930
2641
|
}>>;
|
|
2931
2642
|
};
|
|
2932
2643
|
|
|
@@ -2956,40 +2667,24 @@ declare const useGetGameLeaderboard: () => {
|
|
|
2956
2667
|
};
|
|
2957
2668
|
|
|
2958
2669
|
declare const useCreateSchool: () => {
|
|
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
|
-
}>>;
|
|
2670
|
+
createSchool: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2964
2671
|
error: _apollo_client.ApolloError | undefined;
|
|
2965
2672
|
loading: boolean;
|
|
2966
2673
|
};
|
|
2967
2674
|
declare const useUpdateSchool: () => {
|
|
2968
2675
|
error: _apollo_client.ApolloError | undefined;
|
|
2969
2676
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2677
|
+
updateSchool: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2975
2678
|
};
|
|
2976
2679
|
declare const useDeleteSchool: () => {
|
|
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
|
-
}>>;
|
|
2680
|
+
deleteSchool: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2982
2681
|
error: _apollo_client.ApolloError | undefined;
|
|
2983
2682
|
loading: boolean;
|
|
2984
2683
|
};
|
|
2985
2684
|
declare const useRequestMarketingMaterial: () => {
|
|
2986
2685
|
error: _apollo_client.ApolloError | undefined;
|
|
2987
2686
|
loading: boolean;
|
|
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
|
-
}>>;
|
|
2687
|
+
requestMarketingMaterial: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
2993
2688
|
};
|
|
2994
2689
|
|
|
2995
2690
|
declare const useGetSchools: () => {
|
|
@@ -3026,52 +2721,6 @@ declare const useGetAffiliates: () => {
|
|
|
3026
2721
|
}>>;
|
|
3027
2722
|
};
|
|
3028
2723
|
|
|
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
|
-
|
|
3075
2724
|
/** Minimal event fields for public (market) share copy — matches in-app preview. */
|
|
3076
2725
|
type ShareEventForPublic = {
|
|
3077
2726
|
description?: string | null;
|
|
@@ -3133,13 +2782,13 @@ declare const RELATION_SHARE_APPLICATION: "application";
|
|
|
3133
2782
|
* invalidate after deploy. Facebook caches preview JPEGs by exact URL — changing
|
|
3134
2783
|
* this value forces crawlers to fetch a fresh image after server deploy.
|
|
3135
2784
|
*/
|
|
3136
|
-
declare const RELATION_OVERLAY_LAYOUT_VERSION =
|
|
2785
|
+
declare const RELATION_OVERLAY_LAYOUT_VERSION = 36;
|
|
3137
2786
|
declare const RELATION_SHARE_RESOURCE_TYPES: readonly ["invitation", "application"];
|
|
3138
2787
|
type RelationShareResourceType = (typeof RELATION_SHARE_RESOURCE_TYPES)[number];
|
|
3139
2788
|
declare function isRelationShareResourceType(resourceType: string): resourceType is RelationShareResourceType;
|
|
3140
2789
|
|
|
3141
2790
|
/** Path segments for public resource share URLs (markets, posts, etc.). */
|
|
3142
|
-
declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "
|
|
2791
|
+
declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "market_faces", "clue_bites", "play_and_win"];
|
|
3143
2792
|
type PublicSharePathType = (typeof PUBLIC_SHARE_PATH_TYPES)[number];
|
|
3144
2793
|
type RelationSharePathType = typeof RELATION_SHARE_INVITATION | typeof RELATION_SHARE_APPLICATION;
|
|
3145
2794
|
type ShareType = PublicSharePathType | RelationSharePathType;
|
|
@@ -3151,7 +2800,6 @@ declare function buildShareUrl(type: ShareType, slug: string, utmMedium?: string
|
|
|
3151
2800
|
declare const SOCIAL_IMAGE_WIDTH = 1200;
|
|
3152
2801
|
/** Open Graph recommended preview size (must match admin `SHARE_OG_IMAGE_*`). */
|
|
3153
2802
|
declare const SOCIAL_IMAGE_HEIGHT = 630;
|
|
3154
|
-
/** Keep in sync with `CLUEMART_MAIN_DOMAIN_URL` in utils (avoid utils↔sharing import cycle). */
|
|
3155
2803
|
declare const SHARE_SITE_URL = "https://cluemart.co.nz";
|
|
3156
2804
|
/** Calendar marker for invitation market-dates share copy (U+1F4C5 📅). */
|
|
3157
2805
|
declare const SHARE_CALENDAR_ICON = "\uD83D\uDCC5";
|
|
@@ -3186,7 +2834,7 @@ declare const SHARE_APPLICATION_DEADLINE_PREFIX = "\u23F0 Application deadline:"
|
|
|
3186
2834
|
/** First line on share sheet messages, Facebook SDK quote, and `og:description`. */
|
|
3187
2835
|
declare const SHARE_MORE_INFO_LINE = "Shared from ClueMart";
|
|
3188
2836
|
declare const DEFAULT_SHARE_OG_IMAGE = "https://cluemart.co.nz/assets/logo.webp";
|
|
3189
|
-
declare const RESOURCE_SHARE_TYPES: readonly ["market", "stallholder", "partner"
|
|
2837
|
+
declare const RESOURCE_SHARE_TYPES: readonly ["market", "stallholder", "partner"];
|
|
3190
2838
|
type ResourceShareType = (typeof RESOURCE_SHARE_TYPES)[number];
|
|
3191
2839
|
declare const POST_SHARE_RESOURCE_TYPES: readonly ["market_faces", "clue_bites", "play_and_win"];
|
|
3192
2840
|
type PostShareResourceType = (typeof POST_SHARE_RESOURCE_TYPES)[number];
|
|
@@ -3242,11 +2890,6 @@ declare function buildFacebookShareQuote(title: string, description: string, sha
|
|
|
3242
2890
|
declare function buildShareOgDescriptionFromSections(sections: ReadonlyArray<string | false | null | undefined>): string;
|
|
3243
2891
|
/** Open Graph / Twitter description — body sections only (`og:title` is separate). */
|
|
3244
2892
|
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;
|
|
3250
2893
|
|
|
3251
2894
|
declare function normalizeShareRouteId(id: string): string;
|
|
3252
2895
|
/** Relative path for a public share landing page (`/market/demo-market`). */
|
|
@@ -3257,12 +2900,6 @@ type ShareSlugResource = {
|
|
|
3257
2900
|
};
|
|
3258
2901
|
declare function shareSlugResourceId(resource: ShareSlugResource | null | undefined): string | null;
|
|
3259
2902
|
|
|
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
|
-
|
|
3266
2903
|
declare const SAVED_PASSWORD_KEY = "savedPassword";
|
|
3267
2904
|
declare const SAVED_EMAIL_KEY = "savedEmail";
|
|
3268
2905
|
declare const SAVED_TOKEN_KEY = "savedToken";
|
|
@@ -3352,11 +2989,6 @@ declare const futureTimePeriods: {
|
|
|
3352
2989
|
value: string;
|
|
3353
2990
|
}[];
|
|
3354
2991
|
|
|
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
|
-
|
|
3360
2992
|
declare const removeTypename: (obj: any) => any;
|
|
3361
2993
|
/**
|
|
3362
2994
|
* Truncate text to a specified length and append ellipsis if necessary.
|
|
@@ -3365,6 +2997,12 @@ declare const removeTypename: (obj: any) => any;
|
|
|
3365
2997
|
* @returns
|
|
3366
2998
|
*/
|
|
3367
2999
|
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[];
|
|
3368
3006
|
declare const capitalizeFirstLetter: (str: string) => string;
|
|
3369
3007
|
declare const statusOptions: {
|
|
3370
3008
|
label: EnumInviteStatus;
|
|
@@ -3386,11 +3024,34 @@ declare const rewardNiceNames: Record<EnumReward, {
|
|
|
3386
3024
|
points: number;
|
|
3387
3025
|
}>;
|
|
3388
3026
|
declare const PostTypeLabels: Record<EnumPostType, string>;
|
|
3389
|
-
/** Hardcoded
|
|
3027
|
+
/** Hardcoded promo; compared to trimmed + uppercased registration input. */
|
|
3390
3028
|
declare const CM_SCHOOL_PROMO_CODE = "CM-SCHOOL";
|
|
3391
|
-
/** Hardcoded registration gateway code; only valid at sign-up (not a generated affiliate referral code). */
|
|
3392
3029
|
declare const CM_AFFILIATE_PROMO_CODE = "CM-AFFILIATE";
|
|
3393
|
-
|
|
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;
|
|
3394
3055
|
|
|
3395
3056
|
/**
|
|
3396
3057
|
* Loose input shape for normalization helpers. Callers often pass partial or legacy
|
|
@@ -3475,79 +3136,4 @@ declare function getVendorEventRelationStartDates(events: EventListItemType[] |
|
|
|
3475
3136
|
declare function getVendorEventRelationDateOptions(events: EventListItemType[] | null | undefined): StallholderFilterOption[];
|
|
3476
3137
|
declare function getVendorEventsEmptyMessage(): string;
|
|
3477
3138
|
|
|
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 };
|
|
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 };
|