@timardex/cluemart-shared 1.3.53 → 1.3.55
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-DRTR-N6y.d.ts → auth-BD8pG4QE.d.ts} +1 -11
- package/dist/{auth-D2Xc44z-.d.mts → auth-Cp-vzzpW.d.mts} +1 -11
- package/dist/{chunk-T4ZRRNJA.mjs → chunk-IXPWY6CU.mjs} +2 -1
- package/dist/chunk-IXPWY6CU.mjs.map +1 -0
- package/dist/{chunk-6DQPQJ2R.mjs → chunk-O3WF2I56.mjs} +2 -2
- package/dist/enums/index.cjs +1 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +1 -0
- package/dist/enums/index.d.ts +1 -0
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.cjs +62 -13
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +18 -4
- package/dist/graphql/index.d.ts +18 -4
- package/dist/graphql/index.mjs +59 -12
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +63 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.mjs +59 -11
- package/dist/index.mjs.map +1 -1
- package/dist/{post-D83V8snF.d.ts → post-Ccnm8wXU.d.ts} +12 -1
- package/dist/{post-CLTR6oRS.d.mts → post-DMNuE0Ba.d.mts} +12 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-T4ZRRNJA.mjs.map +0 -1
- /package/dist/{chunk-6DQPQJ2R.mjs.map → chunk-O3WF2I56.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -106,6 +106,7 @@ declare enum EnumNotificationResourceType {
|
|
|
106
106
|
EVENT_INVITE_VENDOR = "event_invite_vendor",
|
|
107
107
|
EVENT_STARTING_SOON = "event_starting_soon",
|
|
108
108
|
NEW_CHAT_MESSAGE = "new_chat_message",
|
|
109
|
+
SYSTEM_ALERT = "system_alert",
|
|
109
110
|
VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
|
|
110
111
|
}
|
|
111
112
|
declare enum EnumNotificationType {
|
|
@@ -1019,6 +1020,7 @@ type CreateAppSettingsFormData = CreateFormData<AppSettingsFormData>;
|
|
|
1019
1020
|
type AppSettingsType = AppSettingsFormData & {
|
|
1020
1021
|
_id: string;
|
|
1021
1022
|
createdAt: Date;
|
|
1023
|
+
key: string;
|
|
1022
1024
|
updatedAt: Date | null;
|
|
1023
1025
|
};
|
|
1024
1026
|
|
|
@@ -1121,6 +1123,11 @@ declare const useAdminResendTesterVerificationEmail: () => {
|
|
|
1121
1123
|
error: _apollo_client.ApolloError | undefined;
|
|
1122
1124
|
loading: boolean;
|
|
1123
1125
|
};
|
|
1126
|
+
declare const useAdminResendUserVerificationEmail: () => {
|
|
1127
|
+
adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1128
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1129
|
+
loading: boolean;
|
|
1130
|
+
};
|
|
1124
1131
|
|
|
1125
1132
|
declare const useRegister: () => {
|
|
1126
1133
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -1938,10 +1945,19 @@ declare const useGetPostsByType: (postType: EnumPostType) => {
|
|
|
1938
1945
|
}>>;
|
|
1939
1946
|
};
|
|
1940
1947
|
|
|
1941
|
-
declare const
|
|
1942
|
-
appVersionCheck: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1948
|
+
declare const useUpdateAppSettings: () => {
|
|
1943
1949
|
error: _apollo_client.ApolloError | undefined;
|
|
1944
1950
|
loading: boolean;
|
|
1951
|
+
updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1952
|
+
};
|
|
1953
|
+
|
|
1954
|
+
declare const useGetAppSettings: () => {
|
|
1955
|
+
appSettings: AppSettingsType | null;
|
|
1956
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1957
|
+
loading: boolean;
|
|
1958
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1959
|
+
appSettings: AppSettingsType;
|
|
1960
|
+
}>>;
|
|
1945
1961
|
};
|
|
1946
1962
|
|
|
1947
1963
|
interface PlacePrediction {
|
|
@@ -2139,4 +2155,4 @@ declare const paymentMethodOptions: OptionItem[];
|
|
|
2139
2155
|
declare function normalizeUrl(url: string): string;
|
|
2140
2156
|
declare const licenseNiceNames: Record<EnumUserLicence, string>;
|
|
2141
2157
|
|
|
2142
|
-
export { type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, 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 CreateTesterFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, OrganizedMarketCount, OrganizerMarketFrequency, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentCover, 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 Region, type RegisterFormData, type RelationDate, type RelationType, 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 SubscriptionStatusData, type TermsAgreement, type TesterEvent, type TesterFormData, type TesterType, type TesterVendor, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserActivityEventType, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, VendorSellingFrequency, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultRegion, 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, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendTesterVerificationEmail, useAdminUpdateResourceType, useAdminUpdateTester, useAppSettingsForm,
|
|
2158
|
+
export { type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, 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 CreateTesterFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, OrganizedMarketCount, OrganizerMarketFrequency, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentCover, 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 Region, type RegisterFormData, type RelationDate, type RelationType, 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 SubscriptionStatusData, type TermsAgreement, type TesterEvent, type TesterFormData, type TesterType, type TesterVendor, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserActivityEventType, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, VendorSellingFrequency, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultRegion, 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, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendTesterVerificationEmail, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateTester, useAppSettingsForm, useCancelSubscription, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteTester, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useTesterForm, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, 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
|
@@ -106,6 +106,7 @@ declare enum EnumNotificationResourceType {
|
|
|
106
106
|
EVENT_INVITE_VENDOR = "event_invite_vendor",
|
|
107
107
|
EVENT_STARTING_SOON = "event_starting_soon",
|
|
108
108
|
NEW_CHAT_MESSAGE = "new_chat_message",
|
|
109
|
+
SYSTEM_ALERT = "system_alert",
|
|
109
110
|
VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
|
|
110
111
|
}
|
|
111
112
|
declare enum EnumNotificationType {
|
|
@@ -1019,6 +1020,7 @@ type CreateAppSettingsFormData = CreateFormData<AppSettingsFormData>;
|
|
|
1019
1020
|
type AppSettingsType = AppSettingsFormData & {
|
|
1020
1021
|
_id: string;
|
|
1021
1022
|
createdAt: Date;
|
|
1023
|
+
key: string;
|
|
1022
1024
|
updatedAt: Date | null;
|
|
1023
1025
|
};
|
|
1024
1026
|
|
|
@@ -1121,6 +1123,11 @@ declare const useAdminResendTesterVerificationEmail: () => {
|
|
|
1121
1123
|
error: _apollo_client.ApolloError | undefined;
|
|
1122
1124
|
loading: boolean;
|
|
1123
1125
|
};
|
|
1126
|
+
declare const useAdminResendUserVerificationEmail: () => {
|
|
1127
|
+
adminResendUserVerificationEmail: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1128
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1129
|
+
loading: boolean;
|
|
1130
|
+
};
|
|
1124
1131
|
|
|
1125
1132
|
declare const useRegister: () => {
|
|
1126
1133
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -1938,10 +1945,19 @@ declare const useGetPostsByType: (postType: EnumPostType) => {
|
|
|
1938
1945
|
}>>;
|
|
1939
1946
|
};
|
|
1940
1947
|
|
|
1941
|
-
declare const
|
|
1942
|
-
appVersionCheck: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1948
|
+
declare const useUpdateAppSettings: () => {
|
|
1943
1949
|
error: _apollo_client.ApolloError | undefined;
|
|
1944
1950
|
loading: boolean;
|
|
1951
|
+
updateAppSettings: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
1952
|
+
};
|
|
1953
|
+
|
|
1954
|
+
declare const useGetAppSettings: () => {
|
|
1955
|
+
appSettings: AppSettingsType | null;
|
|
1956
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1957
|
+
loading: boolean;
|
|
1958
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1959
|
+
appSettings: AppSettingsType;
|
|
1960
|
+
}>>;
|
|
1945
1961
|
};
|
|
1946
1962
|
|
|
1947
1963
|
interface PlacePrediction {
|
|
@@ -2139,4 +2155,4 @@ declare const paymentMethodOptions: OptionItem[];
|
|
|
2139
2155
|
declare function normalizeUrl(url: string): string;
|
|
2140
2156
|
declare const licenseNiceNames: Record<EnumUserLicence, string>;
|
|
2141
2157
|
|
|
2142
|
-
export { type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, 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 CreateTesterFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, OrganizedMarketCount, OrganizerMarketFrequency, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentCover, 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 Region, type RegisterFormData, type RelationDate, type RelationType, 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 SubscriptionStatusData, type TermsAgreement, type TesterEvent, type TesterFormData, type TesterType, type TesterVendor, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserActivityEventType, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, VendorSellingFrequency, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultRegion, 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, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendTesterVerificationEmail, useAdminUpdateResourceType, useAdminUpdateTester, useAppSettingsForm,
|
|
2158
|
+
export { type AdFormData, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, 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 CreateTesterFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, OrganizedMarketCount, OrganizerMarketFrequency, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, type PostContentCover, 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 Region, type RegisterFormData, type RelationDate, type RelationType, 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 SubscriptionStatusData, type TermsAgreement, type TesterEvent, type TesterFormData, type TesterType, type TesterVendor, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UserActivity, type UserActivityEvent, type UserActivityEventType, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, VendorSellingFrequency, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultRegion, 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, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, toNZTime, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminResendTesterVerificationEmail, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useAdminUpdateTester, useAppSettingsForm, useCancelSubscription, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteTester, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, usePartnerForm, usePostForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useTesterForm, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, 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.mjs
CHANGED
|
@@ -115,6 +115,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
115
115
|
EnumNotificationResourceType2["EVENT_INVITE_VENDOR"] = "event_invite_vendor" /* EVENT_INVITE_VENDOR */;
|
|
116
116
|
EnumNotificationResourceType2["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
117
117
|
EnumNotificationResourceType2["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
118
|
+
EnumNotificationResourceType2["SYSTEM_ALERT"] = "system_alert";
|
|
118
119
|
EnumNotificationResourceType2["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event" /* VENDOR_APPLICATION_TO_EVENT */;
|
|
119
120
|
return EnumNotificationResourceType2;
|
|
120
121
|
})(EnumNotificationResourceType || {});
|
|
@@ -2191,6 +2192,11 @@ var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
|
2191
2192
|
adminResendTesterVerificationEmail(testerId: $testerId)
|
|
2192
2193
|
}
|
|
2193
2194
|
`;
|
|
2195
|
+
var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
|
|
2196
|
+
mutation adminResendUserVerificationEmail($userId: ID!) {
|
|
2197
|
+
adminResendUserVerificationEmail(userId: $userId)
|
|
2198
|
+
}
|
|
2199
|
+
`;
|
|
2194
2200
|
|
|
2195
2201
|
// src/graphql/queries/event.ts
|
|
2196
2202
|
import { gql as gql3 } from "@apollo/client";
|
|
@@ -2954,6 +2960,16 @@ var useAdminResendTesterVerificationEmail = () => {
|
|
|
2954
2960
|
loading
|
|
2955
2961
|
};
|
|
2956
2962
|
};
|
|
2963
|
+
var useAdminResendUserVerificationEmail = () => {
|
|
2964
|
+
const [adminResendUserVerificationEmail, { loading, error }] = useMutation(
|
|
2965
|
+
ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION
|
|
2966
|
+
);
|
|
2967
|
+
return {
|
|
2968
|
+
adminResendUserVerificationEmail,
|
|
2969
|
+
error,
|
|
2970
|
+
loading
|
|
2971
|
+
};
|
|
2972
|
+
};
|
|
2957
2973
|
|
|
2958
2974
|
// src/graphql/hooks/auth.ts
|
|
2959
2975
|
import { useMutation as useMutation2 } from "@apollo/client";
|
|
@@ -5403,22 +5419,52 @@ import { useMutation as useMutation18 } from "@apollo/client";
|
|
|
5403
5419
|
|
|
5404
5420
|
// src/graphql/mutations/appSettings.ts
|
|
5405
5421
|
import { gql as gql33 } from "@apollo/client";
|
|
5406
|
-
var
|
|
5407
|
-
mutation
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5422
|
+
var UPDATE_APP_SETTINGS_MUTATION = gql33`
|
|
5423
|
+
mutation updateAppSettings($input: AppSettingsInputType!) {
|
|
5424
|
+
updateAppSettings(input: $input)
|
|
5425
|
+
}
|
|
5426
|
+
`;
|
|
5427
|
+
|
|
5428
|
+
// src/graphql/queries/appSettings.ts
|
|
5429
|
+
import { gql as gql34 } from "@apollo/client";
|
|
5430
|
+
var APP_SETTINGS_FIELDS_FRAGMENT = gql34`
|
|
5431
|
+
fragment AppSettingsFields on AppSettingsType {
|
|
5432
|
+
_id
|
|
5433
|
+
appVersion
|
|
5434
|
+
createdAt
|
|
5435
|
+
key
|
|
5436
|
+
updatedAt
|
|
5437
|
+
}
|
|
5438
|
+
`;
|
|
5439
|
+
var GET_APP_SETTINGS = gql34`
|
|
5440
|
+
query getAppSettings {
|
|
5441
|
+
appSettings {
|
|
5442
|
+
...AppSettingsFields
|
|
5412
5443
|
}
|
|
5413
5444
|
}
|
|
5445
|
+
${APP_SETTINGS_FIELDS_FRAGMENT}
|
|
5414
5446
|
`;
|
|
5415
5447
|
|
|
5416
5448
|
// src/graphql/hooks/appSettings/hooksMutation.ts
|
|
5417
|
-
var
|
|
5418
|
-
const [
|
|
5419
|
-
|
|
5449
|
+
var useUpdateAppSettings = () => {
|
|
5450
|
+
const [updateAppSettings, { loading, error }] = useMutation18(
|
|
5451
|
+
UPDATE_APP_SETTINGS_MUTATION,
|
|
5452
|
+
{
|
|
5453
|
+
awaitRefetchQueries: true,
|
|
5454
|
+
refetchQueries: [{ query: GET_APP_SETTINGS }]
|
|
5455
|
+
}
|
|
5420
5456
|
);
|
|
5421
|
-
return {
|
|
5457
|
+
return { error, loading, updateAppSettings };
|
|
5458
|
+
};
|
|
5459
|
+
|
|
5460
|
+
// src/graphql/hooks/appSettings/hooksQuery.ts
|
|
5461
|
+
import { useQuery as useQuery13 } from "@apollo/client";
|
|
5462
|
+
var useGetAppSettings = () => {
|
|
5463
|
+
const { loading, error, data, refetch } = useQuery13(GET_APP_SETTINGS, {
|
|
5464
|
+
fetchPolicy: "network-only"
|
|
5465
|
+
});
|
|
5466
|
+
const appSettings = data?.appSettings || null;
|
|
5467
|
+
return { appSettings, error, loading, refetch };
|
|
5422
5468
|
};
|
|
5423
5469
|
|
|
5424
5470
|
// src/hooks/useLocationSearch.ts
|
|
@@ -7452,10 +7498,10 @@ export {
|
|
|
7452
7498
|
useAddUserInterestResource,
|
|
7453
7499
|
useAddUserPresentResource,
|
|
7454
7500
|
useAdminResendTesterVerificationEmail,
|
|
7501
|
+
useAdminResendUserVerificationEmail,
|
|
7455
7502
|
useAdminUpdateResourceType,
|
|
7456
7503
|
useAdminUpdateTester,
|
|
7457
7504
|
useAppSettingsForm,
|
|
7458
|
-
useAppVersionCheck,
|
|
7459
7505
|
useCancelSubscription,
|
|
7460
7506
|
useContactUs,
|
|
7461
7507
|
useContactUsForm,
|
|
@@ -7493,6 +7539,7 @@ export {
|
|
|
7493
7539
|
useGetAd,
|
|
7494
7540
|
useGetAds,
|
|
7495
7541
|
useGetAdsByRegion,
|
|
7542
|
+
useGetAppSettings,
|
|
7496
7543
|
useGetChat,
|
|
7497
7544
|
useGetChatSubscription,
|
|
7498
7545
|
useGetEvent,
|
|
@@ -7558,6 +7605,7 @@ export {
|
|
|
7558
7605
|
useSendChatMessage,
|
|
7559
7606
|
useTesterForm,
|
|
7560
7607
|
useUpdateAd,
|
|
7608
|
+
useUpdateAppSettings,
|
|
7561
7609
|
useUpdateEvent,
|
|
7562
7610
|
useUpdateEventInfo,
|
|
7563
7611
|
useUpdatePartner,
|