@timardex/cluemart-shared 1.4.41 → 1.4.42
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/{auth-C4rFM8ym.d.mts → auth-CMAZK-Pw.d.mts} +1 -2
- package/dist/{auth-Z7ZalBiX.d.ts → auth-CYgZKLvY.d.ts} +1 -2
- package/dist/{chunk-JRDILNPH.mjs → chunk-CGXCKZ4G.mjs} +21 -34
- package/dist/chunk-CGXCKZ4G.mjs.map +1 -0
- package/dist/{chunk-B5HXAEH4.mjs → chunk-END7A5PN.mjs} +1 -28
- package/dist/chunk-END7A5PN.mjs.map +1 -0
- package/dist/{chunk-UCRSD3WR.mjs → chunk-NZTJYWGA.mjs} +221 -456
- package/dist/chunk-NZTJYWGA.mjs.map +1 -0
- package/dist/formFields/index.cjs +20 -34
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -3
- package/dist/formFields/index.d.ts +1 -3
- package/dist/formFields/index.mjs +1 -3
- package/dist/graphql/index.cjs +304 -546
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -57
- package/dist/graphql/index.d.ts +2 -57
- package/dist/graphql/index.mjs +1 -15
- package/dist/hooks/index.cjs +275 -664
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -5
- package/dist/hooks/index.d.ts +3 -5
- package/dist/hooks/index.mjs +92 -280
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +412 -885
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -149
- package/dist/index.d.ts +2 -149
- package/dist/index.mjs +328 -789
- package/dist/index.mjs.map +1 -1
- package/dist/{post-B0L3Oaoy.d.mts → post-CY04DycR.d.mts} +3 -90
- package/dist/{post-D4h3XD7G.d.ts → post-DIezKPg1.d.ts} +3 -90
- package/dist/types/index.cjs +2 -32
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.mjs +3 -9
- package/package.json +1 -1
- package/dist/chunk-B5HXAEH4.mjs.map +0 -1
- package/dist/chunk-JRDILNPH.mjs.map +0 -1
- package/dist/chunk-UCRSD3WR.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -634,8 +634,7 @@ interface AdminUpdateResourceType {
|
|
|
634
634
|
|
|
635
635
|
declare enum EnumVerificationType {
|
|
636
636
|
REGISTER = "register",
|
|
637
|
-
RESET_PASSWORD = "resetPassword"
|
|
638
|
-
TESTER_VALIDATION = "testerValidation"
|
|
637
|
+
RESET_PASSWORD = "resetPassword"
|
|
639
638
|
}
|
|
640
639
|
type LoginFormData = {
|
|
641
640
|
email: string;
|
|
@@ -777,93 +776,6 @@ interface PosterInputType {
|
|
|
777
776
|
resourceType: EnumResourceType;
|
|
778
777
|
}
|
|
779
778
|
|
|
780
|
-
declare enum OrganizedMarketCount {
|
|
781
|
-
ONE = "One",
|
|
782
|
-
TWO_TO_THREE = "Two_to_Three",
|
|
783
|
-
FOUR_TO_FIVE = "Four_to_Five",
|
|
784
|
-
MORE_THAN_FIVE = "More_than_Five"
|
|
785
|
-
}
|
|
786
|
-
declare enum VendorSellingFrequency {
|
|
787
|
-
TWICE_A_WEEK = "Two_to_Three_times_a_week",
|
|
788
|
-
ONCE_A_WEEK = "Once_a_week",
|
|
789
|
-
ONE_TO_TWO_TIMES_A_MONTH = "One_to_Two_times_a_month",
|
|
790
|
-
LESS_OFTEN = "Less_often"
|
|
791
|
-
}
|
|
792
|
-
declare enum OrganizerMarketFrequency {
|
|
793
|
-
WEEKLY = "Weekly",
|
|
794
|
-
FORTNIGHTLY = "Fortnightly",
|
|
795
|
-
MONTHLY = "Monthly",
|
|
796
|
-
SEASONAL = "Seasonal"
|
|
797
|
-
}
|
|
798
|
-
type TesterVendor = {
|
|
799
|
-
categories: Category[];
|
|
800
|
-
marketsAttended: {
|
|
801
|
-
name: string;
|
|
802
|
-
city: string;
|
|
803
|
-
}[];
|
|
804
|
-
productsOrServices: string;
|
|
805
|
-
sellingFrequency: VendorSellingFrequency;
|
|
806
|
-
yearlySellingApprox: number;
|
|
807
|
-
questionary: {
|
|
808
|
-
appearInVideoIntroduction?: boolean;
|
|
809
|
-
applyToAtLeastOneMarket: boolean;
|
|
810
|
-
completeFeedbackQuestionnaire: boolean;
|
|
811
|
-
excitementAboutApp?: string;
|
|
812
|
-
sendPhotoForSocialMedia?: boolean;
|
|
813
|
-
socialMediaFeatureReason?: string;
|
|
814
|
-
testingPeriodConcerns?: string;
|
|
815
|
-
tryVisitorFeatures: boolean;
|
|
816
|
-
uploadStallProfileFirstWeek: boolean;
|
|
817
|
-
usefulnessExpectations?: string;
|
|
818
|
-
};
|
|
819
|
-
};
|
|
820
|
-
type TesterEvent = {
|
|
821
|
-
/** Organizer background */
|
|
822
|
-
organizedMarketCount: OrganizedMarketCount;
|
|
823
|
-
markets: {
|
|
824
|
-
name: string;
|
|
825
|
-
cityOrVenue: string;
|
|
826
|
-
frequency: OrganizerMarketFrequency;
|
|
827
|
-
averageStallCount: number;
|
|
828
|
-
}[];
|
|
829
|
-
questionary: {
|
|
830
|
-
allowMarketingAppearance?: boolean;
|
|
831
|
-
completeFinalQuestionnaire: boolean;
|
|
832
|
-
interestedInCharityInitiative?: boolean;
|
|
833
|
-
inviteStallholders: boolean;
|
|
834
|
-
manageApplicationsAndCommunication: boolean;
|
|
835
|
-
completeMarketProfileFirstWeek: boolean;
|
|
836
|
-
spaceForClueMart?: boolean;
|
|
837
|
-
uploadStallList: boolean;
|
|
838
|
-
organizerExpectations?: string;
|
|
839
|
-
dailyCoordinationNeeds?: string;
|
|
840
|
-
};
|
|
841
|
-
};
|
|
842
|
-
interface TesterFormData {
|
|
843
|
-
businessName: string;
|
|
844
|
-
consents: {
|
|
845
|
-
privacyConsent: boolean;
|
|
846
|
-
betaTestConsent: boolean;
|
|
847
|
-
};
|
|
848
|
-
email: string;
|
|
849
|
-
event?: TesterEvent | null;
|
|
850
|
-
firstName: string;
|
|
851
|
-
lastName: string;
|
|
852
|
-
mobilePhone: string;
|
|
853
|
-
osType: EnumOSPlatform;
|
|
854
|
-
region: string;
|
|
855
|
-
resourceType: EnumResourceType;
|
|
856
|
-
vendor?: TesterVendor | null;
|
|
857
|
-
}
|
|
858
|
-
type CreateTesterFormData = CreateFormData<TesterFormData>;
|
|
859
|
-
interface TesterType extends TesterFormData {
|
|
860
|
-
_id: string;
|
|
861
|
-
active: boolean;
|
|
862
|
-
approved: boolean;
|
|
863
|
-
createdAt: Date;
|
|
864
|
-
updatedAt: Date | null;
|
|
865
|
-
}
|
|
866
|
-
|
|
867
779
|
type UserFormData = {
|
|
868
780
|
_id?: string;
|
|
869
781
|
active: boolean;
|
|
@@ -1246,8 +1158,6 @@ declare const availableCategories: Category[];
|
|
|
1246
1158
|
|
|
1247
1159
|
declare const socialMediaFields: FormField[];
|
|
1248
1160
|
|
|
1249
|
-
declare const testersFields: FormField[];
|
|
1250
|
-
|
|
1251
1161
|
declare const contactUsFields: FormField[];
|
|
1252
1162
|
|
|
1253
1163
|
declare const emailField: FormField;
|
|
@@ -1270,26 +1180,6 @@ declare const useAdminUpdateResourceType: () => {
|
|
|
1270
1180
|
error: _apollo_client.ApolloError | undefined;
|
|
1271
1181
|
loading: boolean;
|
|
1272
1182
|
};
|
|
1273
|
-
declare const useAdminUpdateTester: () => {
|
|
1274
|
-
adminUpdateTester: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1275
|
-
adminUpdateTester: {
|
|
1276
|
-
_id: string;
|
|
1277
|
-
approved: boolean;
|
|
1278
|
-
};
|
|
1279
|
-
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1280
|
-
adminUpdateTester: {
|
|
1281
|
-
_id: string;
|
|
1282
|
-
approved: boolean;
|
|
1283
|
-
};
|
|
1284
|
-
}>>;
|
|
1285
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1286
|
-
loading: boolean;
|
|
1287
|
-
};
|
|
1288
|
-
declare const useAdminResendTesterVerificationEmail: () => {
|
|
1289
|
-
adminResendTesterVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1290
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1291
|
-
loading: boolean;
|
|
1292
|
-
};
|
|
1293
1183
|
declare const useAdminResendUserVerificationEmail: () => {
|
|
1294
1184
|
adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1295
1185
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -1806,41 +1696,6 @@ declare const useGetUnregisteredVendor: (_id: string) => {
|
|
|
1806
1696
|
unregisteredVendor: UnregisteredVendorType | undefined;
|
|
1807
1697
|
};
|
|
1808
1698
|
|
|
1809
|
-
declare const useCreateTester: () => {
|
|
1810
|
-
createTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1811
|
-
data: any;
|
|
1812
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1813
|
-
loading: boolean;
|
|
1814
|
-
};
|
|
1815
|
-
declare const useUpdateTester: () => {
|
|
1816
|
-
data: any;
|
|
1817
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1818
|
-
loading: boolean;
|
|
1819
|
-
updateTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1820
|
-
};
|
|
1821
|
-
declare const useDeleteTester: () => {
|
|
1822
|
-
deleteTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1823
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1824
|
-
loading: boolean;
|
|
1825
|
-
};
|
|
1826
|
-
|
|
1827
|
-
declare const useGetTesters: () => {
|
|
1828
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1829
|
-
loading: boolean;
|
|
1830
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1831
|
-
testers: TesterType[];
|
|
1832
|
-
}>>;
|
|
1833
|
-
testers: TesterType[];
|
|
1834
|
-
};
|
|
1835
|
-
declare const useGetTester: (_id: string) => {
|
|
1836
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1837
|
-
loading: boolean;
|
|
1838
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1839
|
-
tester: TesterType;
|
|
1840
|
-
}>>;
|
|
1841
|
-
tester: TesterType | undefined;
|
|
1842
|
-
};
|
|
1843
|
-
|
|
1844
1699
|
declare const useCreateUser: () => {
|
|
1845
1700
|
createUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1846
1701
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -2308,8 +2163,6 @@ declare const defaultUnregisteredVendorFormValues: UnregisteredVendorFormData;
|
|
|
2308
2163
|
declare const defaultVendorInfoFormValues: VendorInfoFormData;
|
|
2309
2164
|
declare function mapBaseResourceTypeToFormData(data: BaseResourceTypeFormData): BaseResourceTypeFormData;
|
|
2310
2165
|
|
|
2311
|
-
declare function useTesterForm(data?: TesterFormData): CreateTesterFormData;
|
|
2312
|
-
|
|
2313
2166
|
declare function useContactUsForm(data?: ContactUsFormData): CreateContactUsFormData;
|
|
2314
2167
|
|
|
2315
2168
|
declare function useAdForm(data?: AdFormData): CreateAdFormData;
|
|
@@ -2427,4 +2280,4 @@ declare const cluemartSocialMedia: SocialMediaType[];
|
|
|
2427
2280
|
declare const IOS_URL = "https://apps.apple.com/nz/app/cluemart/id6747251008";
|
|
2428
2281
|
declare const ANDROID_URL = "https://play.google.com/store/apps/details?id=com.timardex.cluemart";
|
|
2429
2282
|
|
|
2430
|
-
export { ANDROID_URL, type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, 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
|
|
2283
|
+
export { ANDROID_URL, type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, 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 CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IOS_URL, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentData, type PostContentFormData, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterInputType, type PosterUsageType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, type TermsAgreement, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultUnregisteredVendorFormValues, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, licenseNiceNames, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAppSettingsForm, useCancelSubscription, useContactUs, useContactUsForm, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, useVendorForm, useVendorInfoForm, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorMultiLocation, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
package/dist/index.d.ts
CHANGED
|
@@ -634,8 +634,7 @@ interface AdminUpdateResourceType {
|
|
|
634
634
|
|
|
635
635
|
declare enum EnumVerificationType {
|
|
636
636
|
REGISTER = "register",
|
|
637
|
-
RESET_PASSWORD = "resetPassword"
|
|
638
|
-
TESTER_VALIDATION = "testerValidation"
|
|
637
|
+
RESET_PASSWORD = "resetPassword"
|
|
639
638
|
}
|
|
640
639
|
type LoginFormData = {
|
|
641
640
|
email: string;
|
|
@@ -777,93 +776,6 @@ interface PosterInputType {
|
|
|
777
776
|
resourceType: EnumResourceType;
|
|
778
777
|
}
|
|
779
778
|
|
|
780
|
-
declare enum OrganizedMarketCount {
|
|
781
|
-
ONE = "One",
|
|
782
|
-
TWO_TO_THREE = "Two_to_Three",
|
|
783
|
-
FOUR_TO_FIVE = "Four_to_Five",
|
|
784
|
-
MORE_THAN_FIVE = "More_than_Five"
|
|
785
|
-
}
|
|
786
|
-
declare enum VendorSellingFrequency {
|
|
787
|
-
TWICE_A_WEEK = "Two_to_Three_times_a_week",
|
|
788
|
-
ONCE_A_WEEK = "Once_a_week",
|
|
789
|
-
ONE_TO_TWO_TIMES_A_MONTH = "One_to_Two_times_a_month",
|
|
790
|
-
LESS_OFTEN = "Less_often"
|
|
791
|
-
}
|
|
792
|
-
declare enum OrganizerMarketFrequency {
|
|
793
|
-
WEEKLY = "Weekly",
|
|
794
|
-
FORTNIGHTLY = "Fortnightly",
|
|
795
|
-
MONTHLY = "Monthly",
|
|
796
|
-
SEASONAL = "Seasonal"
|
|
797
|
-
}
|
|
798
|
-
type TesterVendor = {
|
|
799
|
-
categories: Category[];
|
|
800
|
-
marketsAttended: {
|
|
801
|
-
name: string;
|
|
802
|
-
city: string;
|
|
803
|
-
}[];
|
|
804
|
-
productsOrServices: string;
|
|
805
|
-
sellingFrequency: VendorSellingFrequency;
|
|
806
|
-
yearlySellingApprox: number;
|
|
807
|
-
questionary: {
|
|
808
|
-
appearInVideoIntroduction?: boolean;
|
|
809
|
-
applyToAtLeastOneMarket: boolean;
|
|
810
|
-
completeFeedbackQuestionnaire: boolean;
|
|
811
|
-
excitementAboutApp?: string;
|
|
812
|
-
sendPhotoForSocialMedia?: boolean;
|
|
813
|
-
socialMediaFeatureReason?: string;
|
|
814
|
-
testingPeriodConcerns?: string;
|
|
815
|
-
tryVisitorFeatures: boolean;
|
|
816
|
-
uploadStallProfileFirstWeek: boolean;
|
|
817
|
-
usefulnessExpectations?: string;
|
|
818
|
-
};
|
|
819
|
-
};
|
|
820
|
-
type TesterEvent = {
|
|
821
|
-
/** Organizer background */
|
|
822
|
-
organizedMarketCount: OrganizedMarketCount;
|
|
823
|
-
markets: {
|
|
824
|
-
name: string;
|
|
825
|
-
cityOrVenue: string;
|
|
826
|
-
frequency: OrganizerMarketFrequency;
|
|
827
|
-
averageStallCount: number;
|
|
828
|
-
}[];
|
|
829
|
-
questionary: {
|
|
830
|
-
allowMarketingAppearance?: boolean;
|
|
831
|
-
completeFinalQuestionnaire: boolean;
|
|
832
|
-
interestedInCharityInitiative?: boolean;
|
|
833
|
-
inviteStallholders: boolean;
|
|
834
|
-
manageApplicationsAndCommunication: boolean;
|
|
835
|
-
completeMarketProfileFirstWeek: boolean;
|
|
836
|
-
spaceForClueMart?: boolean;
|
|
837
|
-
uploadStallList: boolean;
|
|
838
|
-
organizerExpectations?: string;
|
|
839
|
-
dailyCoordinationNeeds?: string;
|
|
840
|
-
};
|
|
841
|
-
};
|
|
842
|
-
interface TesterFormData {
|
|
843
|
-
businessName: string;
|
|
844
|
-
consents: {
|
|
845
|
-
privacyConsent: boolean;
|
|
846
|
-
betaTestConsent: boolean;
|
|
847
|
-
};
|
|
848
|
-
email: string;
|
|
849
|
-
event?: TesterEvent | null;
|
|
850
|
-
firstName: string;
|
|
851
|
-
lastName: string;
|
|
852
|
-
mobilePhone: string;
|
|
853
|
-
osType: EnumOSPlatform;
|
|
854
|
-
region: string;
|
|
855
|
-
resourceType: EnumResourceType;
|
|
856
|
-
vendor?: TesterVendor | null;
|
|
857
|
-
}
|
|
858
|
-
type CreateTesterFormData = CreateFormData<TesterFormData>;
|
|
859
|
-
interface TesterType extends TesterFormData {
|
|
860
|
-
_id: string;
|
|
861
|
-
active: boolean;
|
|
862
|
-
approved: boolean;
|
|
863
|
-
createdAt: Date;
|
|
864
|
-
updatedAt: Date | null;
|
|
865
|
-
}
|
|
866
|
-
|
|
867
779
|
type UserFormData = {
|
|
868
780
|
_id?: string;
|
|
869
781
|
active: boolean;
|
|
@@ -1246,8 +1158,6 @@ declare const availableCategories: Category[];
|
|
|
1246
1158
|
|
|
1247
1159
|
declare const socialMediaFields: FormField[];
|
|
1248
1160
|
|
|
1249
|
-
declare const testersFields: FormField[];
|
|
1250
|
-
|
|
1251
1161
|
declare const contactUsFields: FormField[];
|
|
1252
1162
|
|
|
1253
1163
|
declare const emailField: FormField;
|
|
@@ -1270,26 +1180,6 @@ declare const useAdminUpdateResourceType: () => {
|
|
|
1270
1180
|
error: _apollo_client.ApolloError | undefined;
|
|
1271
1181
|
loading: boolean;
|
|
1272
1182
|
};
|
|
1273
|
-
declare const useAdminUpdateTester: () => {
|
|
1274
|
-
adminUpdateTester: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1275
|
-
adminUpdateTester: {
|
|
1276
|
-
_id: string;
|
|
1277
|
-
approved: boolean;
|
|
1278
|
-
};
|
|
1279
|
-
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1280
|
-
adminUpdateTester: {
|
|
1281
|
-
_id: string;
|
|
1282
|
-
approved: boolean;
|
|
1283
|
-
};
|
|
1284
|
-
}>>;
|
|
1285
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1286
|
-
loading: boolean;
|
|
1287
|
-
};
|
|
1288
|
-
declare const useAdminResendTesterVerificationEmail: () => {
|
|
1289
|
-
adminResendTesterVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1290
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1291
|
-
loading: boolean;
|
|
1292
|
-
};
|
|
1293
1183
|
declare const useAdminResendUserVerificationEmail: () => {
|
|
1294
1184
|
adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1295
1185
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -1806,41 +1696,6 @@ declare const useGetUnregisteredVendor: (_id: string) => {
|
|
|
1806
1696
|
unregisteredVendor: UnregisteredVendorType | undefined;
|
|
1807
1697
|
};
|
|
1808
1698
|
|
|
1809
|
-
declare const useCreateTester: () => {
|
|
1810
|
-
createTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1811
|
-
data: any;
|
|
1812
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1813
|
-
loading: boolean;
|
|
1814
|
-
};
|
|
1815
|
-
declare const useUpdateTester: () => {
|
|
1816
|
-
data: any;
|
|
1817
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1818
|
-
loading: boolean;
|
|
1819
|
-
updateTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1820
|
-
};
|
|
1821
|
-
declare const useDeleteTester: () => {
|
|
1822
|
-
deleteTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1823
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1824
|
-
loading: boolean;
|
|
1825
|
-
};
|
|
1826
|
-
|
|
1827
|
-
declare const useGetTesters: () => {
|
|
1828
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1829
|
-
loading: boolean;
|
|
1830
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1831
|
-
testers: TesterType[];
|
|
1832
|
-
}>>;
|
|
1833
|
-
testers: TesterType[];
|
|
1834
|
-
};
|
|
1835
|
-
declare const useGetTester: (_id: string) => {
|
|
1836
|
-
error: _apollo_client.ApolloError | undefined;
|
|
1837
|
-
loading: boolean;
|
|
1838
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1839
|
-
tester: TesterType;
|
|
1840
|
-
}>>;
|
|
1841
|
-
tester: TesterType | undefined;
|
|
1842
|
-
};
|
|
1843
|
-
|
|
1844
1699
|
declare const useCreateUser: () => {
|
|
1845
1700
|
createUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1846
1701
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -2308,8 +2163,6 @@ declare const defaultUnregisteredVendorFormValues: UnregisteredVendorFormData;
|
|
|
2308
2163
|
declare const defaultVendorInfoFormValues: VendorInfoFormData;
|
|
2309
2164
|
declare function mapBaseResourceTypeToFormData(data: BaseResourceTypeFormData): BaseResourceTypeFormData;
|
|
2310
2165
|
|
|
2311
|
-
declare function useTesterForm(data?: TesterFormData): CreateTesterFormData;
|
|
2312
|
-
|
|
2313
2166
|
declare function useContactUsForm(data?: ContactUsFormData): CreateContactUsFormData;
|
|
2314
2167
|
|
|
2315
2168
|
declare function useAdForm(data?: AdFormData): CreateAdFormData;
|
|
@@ -2427,4 +2280,4 @@ declare const cluemartSocialMedia: SocialMediaType[];
|
|
|
2427
2280
|
declare const IOS_URL = "https://apps.apple.com/nz/app/cluemart/id6747251008";
|
|
2428
2281
|
declare const ANDROID_URL = "https://play.google.com/store/apps/details?id=com.timardex.cluemart";
|
|
2429
2282
|
|
|
2430
|
-
export { ANDROID_URL, type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, 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
|
|
2283
|
+
export { ANDROID_URL, type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, 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 CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GoogleAddressComponent, type GoogleImportedMarket, IOS_URL, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentData, type PostContentFormData, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostType, type PosterInputType, type PosterUsageType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, type TermsAgreement, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultUnregisteredVendorFormValues, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, licenseNiceNames, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAppSettingsForm, useCancelSubscription, useContactUs, useContactUsForm, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, useVendorForm, useVendorInfoForm, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorMultiLocation, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|