@timardex/cluemart-shared 1.2.49 → 1.2.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/{ad-DPP5n_ZS.d.mts → ad-C98yzFdy.d.mts} +19 -6
  2. package/dist/{ad-BBJMdfCl.d.ts → ad-CPL59gj7.d.ts} +19 -6
  3. package/dist/{auth-CQPRj4DB.d.mts → auth-D636FFnJ.d.mts} +1 -1
  4. package/dist/{auth-OLWCR6Zr.d.ts → auth-D6Rg-cEc.d.ts} +1 -1
  5. package/dist/{chunk-HFYQRL77.mjs → chunk-IRQ365TO.mjs} +2 -2
  6. package/dist/{chunk-XXZPSRMS.mjs → chunk-N625BZKR.mjs} +3 -2
  7. package/dist/chunk-N625BZKR.mjs.map +1 -0
  8. package/dist/{chunk-WNRV4DSZ.mjs → chunk-V3BTJQHJ.mjs} +11 -4
  9. package/dist/chunk-V3BTJQHJ.mjs.map +1 -0
  10. package/dist/enums/index.cjs +11 -3
  11. package/dist/enums/index.cjs.map +1 -1
  12. package/dist/enums/index.d.mts +11 -6
  13. package/dist/enums/index.d.ts +11 -6
  14. package/dist/enums/index.mjs +3 -1
  15. package/dist/formFields/index.cjs +94 -82
  16. package/dist/formFields/index.cjs.map +1 -1
  17. package/dist/formFields/index.d.mts +4 -3
  18. package/dist/formFields/index.d.ts +4 -3
  19. package/dist/formFields/index.mjs +24 -10
  20. package/dist/formFields/index.mjs.map +1 -1
  21. package/dist/{global-qg1lwtYo.d.mts → global-Czf4z7aN.d.mts} +3 -3
  22. package/dist/{global-Be5v6emI.d.ts → global-dQyePynY.d.ts} +3 -3
  23. package/dist/graphql/index.cjs +393 -189
  24. package/dist/graphql/index.cjs.map +1 -1
  25. package/dist/graphql/index.d.mts +44 -3
  26. package/dist/graphql/index.d.ts +44 -3
  27. package/dist/graphql/index.mjs +292 -95
  28. package/dist/graphql/index.mjs.map +1 -1
  29. package/dist/hooks/index.cjs +135 -28
  30. package/dist/hooks/index.cjs.map +1 -1
  31. package/dist/hooks/index.d.mts +13 -4
  32. package/dist/hooks/index.d.ts +13 -4
  33. package/dist/hooks/index.mjs +128 -29
  34. package/dist/hooks/index.mjs.map +1 -1
  35. package/dist/index.cjs +688 -361
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.mts +81 -12
  38. package/dist/index.d.ts +81 -12
  39. package/dist/index.mjs +562 -245
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/types/index.cjs +2 -1
  42. package/dist/types/index.cjs.map +1 -1
  43. package/dist/types/index.d.mts +3 -3
  44. package/dist/types/index.d.ts +3 -3
  45. package/dist/types/index.mjs +1 -1
  46. package/dist/utils/index.cjs.map +1 -1
  47. package/dist/utils/index.d.mts +1 -1
  48. package/dist/utils/index.d.ts +1 -1
  49. package/dist/utils/index.mjs +2 -2
  50. package/package.json +1 -1
  51. package/dist/chunk-WNRV4DSZ.mjs.map +0 -1
  52. package/dist/chunk-XXZPSRMS.mjs.map +0 -1
  53. /package/dist/{chunk-HFYQRL77.mjs.map → chunk-IRQ365TO.mjs.map} +0 -0
package/dist/index.d.mts CHANGED
@@ -69,7 +69,8 @@ declare enum EnumFoodType {
69
69
  }
70
70
  declare enum EnumResourceType {
71
71
  EVENT = "event",
72
- VENDOR = "vendor"
72
+ VENDOR = "vendor",
73
+ PARTNER = "partner"
73
74
  }
74
75
  declare enum EnumEventType {
75
76
  MARKET = "Market",
@@ -79,8 +80,12 @@ declare enum EnumEventType {
79
80
  }
80
81
  declare enum EnumVendorType {
81
82
  STALLHOLDER = "Stallholder",
82
- SHOP = "Shop",
83
- CHARITY = "Charity"
83
+ SHOP = "Shop"
84
+ }
85
+ declare enum EnumPartnerType {
86
+ CHARITY_PARTNER = "Charity_Partner",
87
+ MEDIA_PARTNER = "Media_Partner",
88
+ SUPPORTING_PARTNER = "Supporting_Partner"
84
89
  }
85
90
  declare enum EnumOSPlatform {
86
91
  ANDROID = "android",
@@ -92,8 +97,8 @@ declare enum EnumRelationResource {
92
97
  VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
93
98
  }
94
99
  declare enum EnumNotificationResourceType {
95
- ADDED_AS_PARTNER_EVENT = "added_as_partner_event",
96
- ADDED_AS_PARTNER_VENDOR = "added_as_partner_vendor",
100
+ ADDED_AS_ASSOCIATE_EVENT = "added_as_associate_event",
101
+ ADDED_AS_ASSOCIATE_VENDOR = "added_as_associate_vendor",
97
102
  APPROVED_EVENT = "approved_event",
98
103
  APPROVED_VENDOR = "approved_vendor",
99
104
  CREATED_EVENT = "created_event",
@@ -369,7 +374,7 @@ type SocialMediaType = {
369
374
  name?: EnumSocialMedia;
370
375
  link?: string;
371
376
  };
372
- type PartnerType = {
377
+ type AssociateType = {
373
378
  email: string;
374
379
  resourceId: string;
375
380
  resourceType: EnumResourceType;
@@ -382,6 +387,7 @@ type OwnerType = {
382
387
  interface BaseResourceTypeFormData {
383
388
  _id?: string;
384
389
  active: boolean;
390
+ associates?: AssociateType[] | null;
385
391
  contactDetails?: ResourceContactDetailsType | null;
386
392
  cover: ResourceImageType;
387
393
  coverUpload?: ResourceImageType | null;
@@ -392,7 +398,6 @@ interface BaseResourceTypeFormData {
392
398
  logoUpload?: ResourceImageType | null;
393
399
  name: string;
394
400
  owner?: OwnerType | null;
395
- partners?: PartnerType[] | null;
396
401
  promoCodes?: string[] | null;
397
402
  region: string;
398
403
  socialMedia?: SocialMediaType[] | null;
@@ -511,7 +516,6 @@ declare const vendorEndDateFields: FormDateField[];
511
516
  declare const vendorAvailability: FormField[];
512
517
  declare const vendorLocationDescription: FormField;
513
518
  declare const vendorMenuFields: FormField[];
514
- declare const availableCityOptions: OptionItem[];
515
519
  declare const productLabelGroups: {
516
520
  category: string;
517
521
  items: {
@@ -709,6 +713,7 @@ type UserActivity = {
709
713
  interface UserType {
710
714
  _id: string;
711
715
  active: boolean;
716
+ associates?: AssociateType[] | null;
712
717
  avatar: ResourceImageType | null;
713
718
  createdAt: string;
714
719
  deletedAt: string | null;
@@ -718,22 +723,22 @@ interface UserType {
718
723
  isTester: boolean;
719
724
  lastName: string;
720
725
  licences: EnumUserLicence[] | null;
721
- partners?: PartnerType[] | null;
722
726
  password: string;
723
727
  platform: EnumOSPlatform | null;
724
728
  preferredRegion: string;
725
729
  refreshToken: string | null;
726
730
  role: EnumUserRole;
731
+ stripe?: StripeSubscription;
727
732
  termsAgreement?: TermsAgreement | null;
728
733
  updatedAt: string;
729
734
  userActivity: UserActivity | null;
730
735
  vendor: string | null;
731
- stripe?: StripeSubscription;
732
736
  }
733
737
 
734
738
  declare enum EnumAdShowOn {
735
- FRONT_PAGE = "Front_page",
736
739
  EVENTS_PAGE = "Events_page",
740
+ FRONT_PAGE = "Front_page",
741
+ PARTNERS_PAGE = "Partners_page",
737
742
  VENDORS_PAGE = "Vendors_page"
738
743
  }
739
744
  declare enum EnumAdStatus {
@@ -810,6 +815,18 @@ type ResourceActivityInputType = {
810
815
  activity: Omit<ResourceActivityEntry, "timestamp">;
811
816
  };
812
817
 
818
+ interface PartnerFormData extends BaseResourceTypeFormData {
819
+ location: LocationType;
820
+ nzbn: string;
821
+ partnerType: EnumPartnerType;
822
+ }
823
+ type CreatePartnerFormData = CreateFormData<PartnerFormData>;
824
+ interface PartnerType extends BaseResourceType {
825
+ location: LocationType;
826
+ nzbn: string;
827
+ partnerType: EnumPartnerType;
828
+ }
829
+
813
830
  declare const vendorElectricity: {
814
831
  details: FormField;
815
832
  isRequired: FormField;
@@ -872,6 +889,8 @@ declare const contactUsFields: FormField[];
872
889
  declare const emailField: FormField;
873
890
  declare const companyContactFields: FormField[];
874
891
 
892
+ declare const partnerBasicInfoFields: FormField[];
893
+
875
894
  declare const useAdminUpdateResourceType: () => {
876
895
  adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
877
896
  error: _apollo_client.ApolloError | undefined;
@@ -1410,6 +1429,47 @@ declare const useGetSubscriptionStatus: () => {
1410
1429
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1411
1430
  };
1412
1431
 
1432
+ declare const useCreatePartner: () => {
1433
+ createPartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1434
+ error: _apollo_client.ApolloError | undefined;
1435
+ loading: boolean;
1436
+ };
1437
+ declare const useUpdatePartner: () => {
1438
+ error: _apollo_client.ApolloError | undefined;
1439
+ loading: boolean;
1440
+ updatePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1441
+ };
1442
+ declare const useDeletePartner: () => {
1443
+ deletePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1444
+ error: _apollo_client.ApolloError | undefined;
1445
+ loading: boolean;
1446
+ };
1447
+
1448
+ declare const useGetPartners: () => {
1449
+ error: _apollo_client.ApolloError | undefined;
1450
+ loading: boolean;
1451
+ partners: PartnerType[];
1452
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1453
+ };
1454
+ declare const useGetPartner: (_id: string) => {
1455
+ error: _apollo_client.ApolloError | undefined;
1456
+ loading: boolean;
1457
+ partner: PartnerType;
1458
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1459
+ };
1460
+ declare const useGetPartnersByRegion: (region: string) => {
1461
+ error: _apollo_client.ApolloError | undefined;
1462
+ loading: boolean;
1463
+ partnersByRegion: PartnerType[];
1464
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1465
+ };
1466
+ declare const useSearchPartners: (search: string, region: string) => {
1467
+ error: _apollo_client.ApolloError | undefined;
1468
+ loading: boolean;
1469
+ partnerSearch: PartnerType[];
1470
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1471
+ };
1472
+
1413
1473
  interface PlacePrediction {
1414
1474
  place_id: string;
1415
1475
  description: string;
@@ -1480,6 +1540,7 @@ declare function useValidateVerificationTokenForm(): CreateValidateVerificationT
1480
1540
  declare function useResetPasswordForm(): CreateResetPasswordFormData;
1481
1541
 
1482
1542
  declare const globalDefaultValues: BaseResourceTypeFormData;
1543
+ declare const defaultPartnerFormValues: PartnerFormData;
1483
1544
  declare const defaultEventFormValues: EventFormData;
1484
1545
  declare const defaultEventInfoFormValues: EventInfoFormData;
1485
1546
  declare const defaultVendorFormValues: VendorFormData;
@@ -1492,6 +1553,14 @@ declare function useContactUsForm(data?: ContactUsFormData): CreateContactUsForm
1492
1553
 
1493
1554
  declare function useAdForm(data?: AdFormData): CreateAdFormData;
1494
1555
 
1556
+ /**
1557
+ * Custom hook to manage the partner form state and validation.
1558
+ *
1559
+ * @param {PartnerFormData} data - The initial form data.
1560
+ * @returns {CreatePartnerFormData} - The form methods and state.
1561
+ */
1562
+ declare function usePartnerForm(data?: PartnerFormData): CreatePartnerFormData;
1563
+
1495
1564
  declare const SAVED_PASSWORD_KEY = "savedPassword";
1496
1565
  declare const SAVED_EMAIL_KEY = "savedEmail";
1497
1566
  declare const SAVED_TOKEN_KEY = "savedToken";
@@ -1594,4 +1663,4 @@ declare const availableRegionOptions: OptionItem[];
1594
1663
  declare const paymentMethodOptions: OptionItem[];
1595
1664
  declare function normalizeUrl(url: string): string;
1596
1665
 
1597
- export { type AdFormData, type AdType, type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, 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, type OwnerType, type ParticipantType, type PartnerType, type PaymentInfoType, type PlacePrediction, 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 TesterType, type TestersFormData, USER_STORAGE_KEY, type UserActivity, type UserActivityEvent, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeleteRelation, useDeleteTester, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivities, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchVendors, useSelectPackage, useSendChatMessage, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, 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 };
1666
+ export { type AdFormData, type AdType, type AdminUpdateResourceType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, 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, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, 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 TesterType, type TestersFormData, USER_STORAGE_KEY, type UserActivity, type UserActivityEvent, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeleteRelation, useDeleteTester, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivities, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, usePartnerForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, 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
@@ -69,7 +69,8 @@ declare enum EnumFoodType {
69
69
  }
70
70
  declare enum EnumResourceType {
71
71
  EVENT = "event",
72
- VENDOR = "vendor"
72
+ VENDOR = "vendor",
73
+ PARTNER = "partner"
73
74
  }
74
75
  declare enum EnumEventType {
75
76
  MARKET = "Market",
@@ -79,8 +80,12 @@ declare enum EnumEventType {
79
80
  }
80
81
  declare enum EnumVendorType {
81
82
  STALLHOLDER = "Stallholder",
82
- SHOP = "Shop",
83
- CHARITY = "Charity"
83
+ SHOP = "Shop"
84
+ }
85
+ declare enum EnumPartnerType {
86
+ CHARITY_PARTNER = "Charity_Partner",
87
+ MEDIA_PARTNER = "Media_Partner",
88
+ SUPPORTING_PARTNER = "Supporting_Partner"
84
89
  }
85
90
  declare enum EnumOSPlatform {
86
91
  ANDROID = "android",
@@ -92,8 +97,8 @@ declare enum EnumRelationResource {
92
97
  VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
93
98
  }
94
99
  declare enum EnumNotificationResourceType {
95
- ADDED_AS_PARTNER_EVENT = "added_as_partner_event",
96
- ADDED_AS_PARTNER_VENDOR = "added_as_partner_vendor",
100
+ ADDED_AS_ASSOCIATE_EVENT = "added_as_associate_event",
101
+ ADDED_AS_ASSOCIATE_VENDOR = "added_as_associate_vendor",
97
102
  APPROVED_EVENT = "approved_event",
98
103
  APPROVED_VENDOR = "approved_vendor",
99
104
  CREATED_EVENT = "created_event",
@@ -369,7 +374,7 @@ type SocialMediaType = {
369
374
  name?: EnumSocialMedia;
370
375
  link?: string;
371
376
  };
372
- type PartnerType = {
377
+ type AssociateType = {
373
378
  email: string;
374
379
  resourceId: string;
375
380
  resourceType: EnumResourceType;
@@ -382,6 +387,7 @@ type OwnerType = {
382
387
  interface BaseResourceTypeFormData {
383
388
  _id?: string;
384
389
  active: boolean;
390
+ associates?: AssociateType[] | null;
385
391
  contactDetails?: ResourceContactDetailsType | null;
386
392
  cover: ResourceImageType;
387
393
  coverUpload?: ResourceImageType | null;
@@ -392,7 +398,6 @@ interface BaseResourceTypeFormData {
392
398
  logoUpload?: ResourceImageType | null;
393
399
  name: string;
394
400
  owner?: OwnerType | null;
395
- partners?: PartnerType[] | null;
396
401
  promoCodes?: string[] | null;
397
402
  region: string;
398
403
  socialMedia?: SocialMediaType[] | null;
@@ -511,7 +516,6 @@ declare const vendorEndDateFields: FormDateField[];
511
516
  declare const vendorAvailability: FormField[];
512
517
  declare const vendorLocationDescription: FormField;
513
518
  declare const vendorMenuFields: FormField[];
514
- declare const availableCityOptions: OptionItem[];
515
519
  declare const productLabelGroups: {
516
520
  category: string;
517
521
  items: {
@@ -709,6 +713,7 @@ type UserActivity = {
709
713
  interface UserType {
710
714
  _id: string;
711
715
  active: boolean;
716
+ associates?: AssociateType[] | null;
712
717
  avatar: ResourceImageType | null;
713
718
  createdAt: string;
714
719
  deletedAt: string | null;
@@ -718,22 +723,22 @@ interface UserType {
718
723
  isTester: boolean;
719
724
  lastName: string;
720
725
  licences: EnumUserLicence[] | null;
721
- partners?: PartnerType[] | null;
722
726
  password: string;
723
727
  platform: EnumOSPlatform | null;
724
728
  preferredRegion: string;
725
729
  refreshToken: string | null;
726
730
  role: EnumUserRole;
731
+ stripe?: StripeSubscription;
727
732
  termsAgreement?: TermsAgreement | null;
728
733
  updatedAt: string;
729
734
  userActivity: UserActivity | null;
730
735
  vendor: string | null;
731
- stripe?: StripeSubscription;
732
736
  }
733
737
 
734
738
  declare enum EnumAdShowOn {
735
- FRONT_PAGE = "Front_page",
736
739
  EVENTS_PAGE = "Events_page",
740
+ FRONT_PAGE = "Front_page",
741
+ PARTNERS_PAGE = "Partners_page",
737
742
  VENDORS_PAGE = "Vendors_page"
738
743
  }
739
744
  declare enum EnumAdStatus {
@@ -810,6 +815,18 @@ type ResourceActivityInputType = {
810
815
  activity: Omit<ResourceActivityEntry, "timestamp">;
811
816
  };
812
817
 
818
+ interface PartnerFormData extends BaseResourceTypeFormData {
819
+ location: LocationType;
820
+ nzbn: string;
821
+ partnerType: EnumPartnerType;
822
+ }
823
+ type CreatePartnerFormData = CreateFormData<PartnerFormData>;
824
+ interface PartnerType extends BaseResourceType {
825
+ location: LocationType;
826
+ nzbn: string;
827
+ partnerType: EnumPartnerType;
828
+ }
829
+
813
830
  declare const vendorElectricity: {
814
831
  details: FormField;
815
832
  isRequired: FormField;
@@ -872,6 +889,8 @@ declare const contactUsFields: FormField[];
872
889
  declare const emailField: FormField;
873
890
  declare const companyContactFields: FormField[];
874
891
 
892
+ declare const partnerBasicInfoFields: FormField[];
893
+
875
894
  declare const useAdminUpdateResourceType: () => {
876
895
  adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
877
896
  error: _apollo_client.ApolloError | undefined;
@@ -1410,6 +1429,47 @@ declare const useGetSubscriptionStatus: () => {
1410
1429
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1411
1430
  };
1412
1431
 
1432
+ declare const useCreatePartner: () => {
1433
+ createPartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1434
+ error: _apollo_client.ApolloError | undefined;
1435
+ loading: boolean;
1436
+ };
1437
+ declare const useUpdatePartner: () => {
1438
+ error: _apollo_client.ApolloError | undefined;
1439
+ loading: boolean;
1440
+ updatePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1441
+ };
1442
+ declare const useDeletePartner: () => {
1443
+ deletePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1444
+ error: _apollo_client.ApolloError | undefined;
1445
+ loading: boolean;
1446
+ };
1447
+
1448
+ declare const useGetPartners: () => {
1449
+ error: _apollo_client.ApolloError | undefined;
1450
+ loading: boolean;
1451
+ partners: PartnerType[];
1452
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1453
+ };
1454
+ declare const useGetPartner: (_id: string) => {
1455
+ error: _apollo_client.ApolloError | undefined;
1456
+ loading: boolean;
1457
+ partner: PartnerType;
1458
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1459
+ };
1460
+ declare const useGetPartnersByRegion: (region: string) => {
1461
+ error: _apollo_client.ApolloError | undefined;
1462
+ loading: boolean;
1463
+ partnersByRegion: PartnerType[];
1464
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1465
+ };
1466
+ declare const useSearchPartners: (search: string, region: string) => {
1467
+ error: _apollo_client.ApolloError | undefined;
1468
+ loading: boolean;
1469
+ partnerSearch: PartnerType[];
1470
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1471
+ };
1472
+
1413
1473
  interface PlacePrediction {
1414
1474
  place_id: string;
1415
1475
  description: string;
@@ -1480,6 +1540,7 @@ declare function useValidateVerificationTokenForm(): CreateValidateVerificationT
1480
1540
  declare function useResetPasswordForm(): CreateResetPasswordFormData;
1481
1541
 
1482
1542
  declare const globalDefaultValues: BaseResourceTypeFormData;
1543
+ declare const defaultPartnerFormValues: PartnerFormData;
1483
1544
  declare const defaultEventFormValues: EventFormData;
1484
1545
  declare const defaultEventInfoFormValues: EventInfoFormData;
1485
1546
  declare const defaultVendorFormValues: VendorFormData;
@@ -1492,6 +1553,14 @@ declare function useContactUsForm(data?: ContactUsFormData): CreateContactUsForm
1492
1553
 
1493
1554
  declare function useAdForm(data?: AdFormData): CreateAdFormData;
1494
1555
 
1556
+ /**
1557
+ * Custom hook to manage the partner form state and validation.
1558
+ *
1559
+ * @param {PartnerFormData} data - The initial form data.
1560
+ * @returns {CreatePartnerFormData} - The form methods and state.
1561
+ */
1562
+ declare function usePartnerForm(data?: PartnerFormData): CreatePartnerFormData;
1563
+
1495
1564
  declare const SAVED_PASSWORD_KEY = "savedPassword";
1496
1565
  declare const SAVED_EMAIL_KEY = "savedEmail";
1497
1566
  declare const SAVED_TOKEN_KEY = "savedToken";
@@ -1594,4 +1663,4 @@ declare const availableRegionOptions: OptionItem[];
1594
1663
  declare const paymentMethodOptions: OptionItem[];
1595
1664
  declare function normalizeUrl(url: string): string;
1596
1665
 
1597
- export { type AdFormData, type AdType, type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, 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, type OwnerType, type ParticipantType, type PartnerType, type PaymentInfoType, type PlacePrediction, 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 TesterType, type TestersFormData, USER_STORAGE_KEY, type UserActivity, type UserActivityEvent, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeleteRelation, useDeleteTester, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivities, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchVendors, useSelectPackage, useSendChatMessage, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, 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 };
1666
+ export { type AdFormData, type AdType, type AdminUpdateResourceType, type AssociateType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, 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, type OwnerType, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PlacePrediction, 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 TesterType, type TestersFormData, USER_STORAGE_KEY, type UserActivity, type UserActivityEvent, type UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultPartnerFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, foodFlavourOptions, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeleteRelation, useDeleteTester, useDeleteUser, useDeleteVendor, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivities, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, usePartnerForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, 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 };