@timardex/cluemart-shared 1.2.27 → 1.2.29

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 (52) hide show
  1. package/dist/ad-Crq-z5Wt.d.mts +69 -0
  2. package/dist/ad-DHetF-th.d.ts +69 -0
  3. package/dist/{auth-BVGs-5Vm.d.mts → auth-Ci6Uskch.d.mts} +1 -1
  4. package/dist/{auth-BhUIvvZ2.d.ts → auth-CzEdRDf1.d.ts} +1 -1
  5. package/dist/chunk-BO3HICLR.mjs +24 -0
  6. package/dist/chunk-BO3HICLR.mjs.map +1 -0
  7. package/dist/chunk-CQ7TCXMI.mjs +68 -0
  8. package/dist/chunk-CQ7TCXMI.mjs.map +1 -0
  9. package/dist/formFields/index.d.mts +2 -1
  10. package/dist/formFields/index.d.ts +2 -1
  11. package/dist/{global-BA84KF8J.d.ts → global-2Jk7sRkL.d.ts} +128 -2
  12. package/dist/{global-BEqzo5Z2.d.mts → global-DWuTxnJ8.d.mts} +128 -2
  13. package/dist/graphql/index.d.mts +5 -3
  14. package/dist/graphql/index.d.ts +5 -3
  15. package/dist/hooks/index.d.mts +5 -3
  16. package/dist/hooks/index.d.ts +5 -3
  17. package/dist/hooks/index.mjs +5 -5
  18. package/dist/index.cjs +1132 -17
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.mts +695 -300
  21. package/dist/index.d.ts +695 -300
  22. package/dist/index.mjs +1117 -17
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/mongoose/index.cjs +1068 -0
  25. package/dist/mongoose/index.cjs.map +1 -0
  26. package/dist/mongoose/index.d.mts +318 -0
  27. package/dist/mongoose/index.d.ts +318 -0
  28. package/dist/mongoose/index.mjs +855 -0
  29. package/dist/mongoose/index.mjs.map +1 -0
  30. package/dist/resourceActivities-B4roVKtQ.d.ts +34 -0
  31. package/dist/resourceActivities-BIjtlOGp.d.mts +34 -0
  32. package/dist/service/index.cjs +336 -0
  33. package/dist/service/index.cjs.map +1 -0
  34. package/dist/service/index.d.mts +27 -0
  35. package/dist/service/index.d.ts +27 -0
  36. package/dist/service/index.mjs +214 -0
  37. package/dist/service/index.mjs.map +1 -0
  38. package/dist/types/index.cjs +13 -2
  39. package/dist/types/index.cjs.map +1 -1
  40. package/dist/types/index.d.mts +6 -4
  41. package/dist/types/index.d.ts +6 -4
  42. package/dist/types/index.mjs +6 -11
  43. package/dist/types/index.mjs.map +1 -1
  44. package/dist/user-DbEEY7fv.d.ts +64 -0
  45. package/dist/user-OPY5EOqR.d.mts +64 -0
  46. package/dist/utils/index.d.mts +2 -1
  47. package/dist/utils/index.d.ts +2 -1
  48. package/package.json +13 -1
  49. package/dist/ad-Bv5fLkN0.d.mts +0 -129
  50. package/dist/ad-DDPNpx02.d.ts +0 -129
  51. package/dist/resourceActivities-DWC-Btmf.d.ts +0 -96
  52. package/dist/resourceActivities-DoLx4lPo.d.mts +0 -96
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import mongoose from 'mongoose';
1
2
  import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
2
3
  import * as _apollo_client from '@apollo/client';
3
4
 
@@ -117,6 +118,87 @@ declare enum EnumSocialMedia {
117
118
  YOUTUBE = "youtube"
118
119
  }
119
120
 
121
+ interface AdminUpdateResourceType {
122
+ active: boolean;
123
+ resourceId: string;
124
+ resourceType: EnumResourceType;
125
+ }
126
+
127
+ type LoginFormData = {
128
+ email: string;
129
+ isAdminPage?: boolean;
130
+ password: string;
131
+ platform?: EnumOSPlatform;
132
+ };
133
+ type CreateLoginFormData = CreateFormData<LoginFormData>;
134
+ type RegisterFormData = {
135
+ email: string;
136
+ firstName: string;
137
+ lastName: string;
138
+ password: string;
139
+ platform?: EnumOSPlatform;
140
+ preferredRegion: string;
141
+ termsAgreement?: TermsAgreement | null;
142
+ };
143
+ type CreateRegisterFormData = CreateFormData<RegisterFormData>;
144
+ type RequestPasswordResetFormData = {
145
+ email: string;
146
+ };
147
+ type CreateRequestPasswordResetFormData = CreateFormData<RequestPasswordResetFormData>;
148
+ type ResetPasswordFormData = {
149
+ confirmPassword: string;
150
+ email: string;
151
+ password: string;
152
+ };
153
+ type CreateResetPasswordFormData = CreateFormData<ResetPasswordFormData>;
154
+ type ValidateVerificationTokenFormData = {
155
+ email: string;
156
+ verificationToken: string;
157
+ };
158
+ type CreateValidateVerificationTokenFormData = CreateFormData<ValidateVerificationTokenFormData>;
159
+
160
+ type ParticipantType = {
161
+ active: boolean;
162
+ email: string;
163
+ userId: string;
164
+ };
165
+ interface ChatMessageInput {
166
+ content: string;
167
+ senderId: string;
168
+ }
169
+ interface ChatMessageType {
170
+ _id?: string;
171
+ content: string;
172
+ createdAt?: string;
173
+ senderAvatar: string | null;
174
+ senderId: string;
175
+ senderName: string;
176
+ updatedAt?: string;
177
+ }
178
+ interface ChatType {
179
+ _id: string;
180
+ active: boolean;
181
+ chatType: EnumChatType;
182
+ chatName: string;
183
+ createdAt: string;
184
+ messages: ChatMessageType[];
185
+ participants: ParticipantType[];
186
+ resourceInfo: {
187
+ eventId: string;
188
+ vendorId: string;
189
+ } | null;
190
+ updatedAt: string;
191
+ deletedAt: string | null;
192
+ }
193
+
194
+ type ContactUsFormData = {
195
+ email: string;
196
+ firstName: string;
197
+ lastName: string;
198
+ message: string;
199
+ };
200
+ type CreateContactUsFormData = CreateFormData<ContactUsFormData>;
201
+
120
202
  type StallType = {
121
203
  label: string;
122
204
  price: number;
@@ -175,6 +257,41 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
175
257
  _id: string;
176
258
  };
177
259
 
260
+ interface NotificationDataType {
261
+ resourceId: string;
262
+ resourceName: string;
263
+ resourceType: EnumNotificationResourceType;
264
+ }
265
+ type NotificationType = {
266
+ _id: string;
267
+ userId: string;
268
+ title: string;
269
+ message: string;
270
+ isRead: boolean;
271
+ type: EnumNotificationType;
272
+ data: NotificationDataType | null;
273
+ createdAt: string;
274
+ updatedAt: string;
275
+ };
276
+ type NotificationCount = {
277
+ total: number;
278
+ unread: number;
279
+ };
280
+ type CreateBulkNotificationInput = {
281
+ userIds: string[];
282
+ title: string;
283
+ message: string;
284
+ type: EnumNotificationType;
285
+ data: NotificationDataType | null;
286
+ };
287
+
288
+ interface PosterInputType {
289
+ description: string;
290
+ posterName: string;
291
+ resourceId: string;
292
+ resourceType: EnumResourceType;
293
+ }
294
+
178
295
  type RelationDate = {
179
296
  lastUpdateBy: {
180
297
  resourceId: string;
@@ -278,305 +395,7 @@ interface VendorType extends BaseResourceType {
278
395
  }
279
396
  type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
280
397
  _id: string;
281
- };
282
-
283
- type Nullable<T> = {
284
- [K in keyof T]: T[K] | null | undefined;
285
- };
286
- type DeviceInfo = {
287
- appBuildNumber: string;
288
- appId: string;
289
- appVersion: string;
290
- brand: string;
291
- deviceName: string;
292
- installationId: string;
293
- manufacturer: string;
294
- modelName: string;
295
- osName: string;
296
- osVersion: string;
297
- timestamp: string;
298
- };
299
- type TermsAgreement = DeviceInfo & {
300
- termVersion: string;
301
- };
302
- type ResourceContactDetailsType = {
303
- email?: string | null;
304
- landlinePhone?: string | null;
305
- mobilePhone?: string | null;
306
- };
307
- type ResourceImageType = {
308
- source: string;
309
- title: string;
310
- };
311
- type SocialMediaType = {
312
- name?: EnumSocialMedia;
313
- link?: string;
314
- };
315
- type PartnerType = {
316
- email: string;
317
- resourceId: string;
318
- resourceType: EnumResourceType;
319
- licence: EnumUserLicence;
320
- };
321
- type OwnerType = {
322
- email: string;
323
- userId: string;
324
- };
325
- interface BaseResourceTypeFormData {
326
- _id?: string;
327
- active: boolean;
328
- contactDetails?: ResourceContactDetailsType | null;
329
- cover: ResourceImageType;
330
- coverUpload?: ResourceImageType | null;
331
- description: string;
332
- images?: ResourceImageType[] | null;
333
- imagesUpload?: ResourceImageType[] | null;
334
- logo?: ResourceImageType | null;
335
- logoUpload?: ResourceImageType | null;
336
- name: string;
337
- owner?: OwnerType | null;
338
- partners?: PartnerType[] | null;
339
- promoCodes?: string[] | null;
340
- region: string;
341
- socialMedia?: SocialMediaType[] | null;
342
- termsAgreement?: TermsAgreement | null;
343
- }
344
- type PosterUsageType = {
345
- month: string;
346
- count: number;
347
- };
348
- type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
349
- _id: string;
350
- adIds?: string[] | null;
351
- createdAt: string;
352
- deletedAt: string | null;
353
- owner: OwnerType;
354
- posterUsage?: PosterUsageType | null;
355
- relations: {
356
- relationId: string | null;
357
- relationDates: RelationDate[] | null;
358
- }[] | null;
359
- updatedAt: string;
360
- };
361
- type LocationType = {
362
- city: string;
363
- coordinates: number[];
364
- country: string;
365
- fullAddress: string;
366
- latitude: number;
367
- longitude: number;
368
- region: string;
369
- type: "Point";
370
- };
371
- type DateTimeType = {
372
- endDate: string;
373
- endTime: string;
374
- startDate: string;
375
- startTime: string;
376
- };
377
- type Region = {
378
- latitude: number;
379
- latitudeDelta: number;
380
- longitude: number;
381
- longitudeDelta: number;
382
- };
383
- type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
384
- type MapMultiLocation = {
385
- dateTime: DateTimeType | null;
386
- location: LocationType | null;
387
- resourceId?: string;
388
- resourceName?: string;
389
- resourceType?: EnumResourceType;
390
- };
391
- interface FormField {
392
- disabled?: boolean;
393
- helperText?: string;
394
- isTextArea?: boolean;
395
- keyboardType?: "default" | "email-address" | "number-pad" | "url" | "decimal-pad" | "phone-pad";
396
- name: string;
397
- placeholder: string;
398
- secureTextEntry?: boolean;
399
- }
400
- interface FormDateField {
401
- dateMode: "date" | "time";
402
- helperText?: string;
403
- name: "endDate" | "endTime" | "startDate" | "startTime";
404
- placeholder: string;
405
- }
406
- interface SubcategoryItems {
407
- id: string;
408
- name: string;
409
- description?: string | null;
410
- }
411
- interface Subcategory {
412
- id: string;
413
- name: string;
414
- items?: SubcategoryItems[] | null;
415
- }
416
- interface Category {
417
- color?: string | null;
418
- description?: string | null;
419
- id: string;
420
- name: string;
421
- subcategories: Subcategory[];
422
- }
423
- type OptionItem = {
424
- value: string;
425
- label: string;
426
- };
427
- type ImageObjectType = {
428
- uri: string;
429
- type: string;
430
- name: string;
431
- };
432
- interface ResourceConnectionsType {
433
- events: EventType[] | null;
434
- vendors: VendorType[] | null;
435
- }
436
- interface CreateFormData<T extends FieldValues> {
437
- control: Control<T, any>;
438
- fields: T;
439
- formState: {
440
- errors: FieldErrors<T>;
441
- };
442
- handleSubmit: UseFormHandleSubmit<T, any>;
443
- reset: UseFormReset<T>;
444
- setValue: UseFormSetValue<T>;
445
- watch: UseFormWatch<T>;
446
- }
447
-
448
- declare const vendorBasicInfoFields: FormField[];
449
- declare const vendorMultiLocation: FormField;
450
- declare const vendorFullAddress: FormField;
451
- declare const vendorStartDateFields: FormDateField[];
452
- declare const vendorEndDateFields: FormDateField[];
453
- declare const vendorAvailability: FormField[];
454
- declare const vendorLocationDescription: FormField;
455
- declare const vendorMenuFields: FormField[];
456
- declare const availableCityOptions: OptionItem[];
457
- declare const productLabelGroups: {
458
- category: string;
459
- items: {
460
- abbreviation: string;
461
- fullName: string;
462
- }[];
463
- }[];
464
-
465
- interface AdminUpdateResourceType {
466
- active: boolean;
467
- resourceId: string;
468
- resourceType: EnumResourceType;
469
- }
470
-
471
- type LoginFormData = {
472
- email: string;
473
- isAdminPage?: boolean;
474
- password: string;
475
- platform?: EnumOSPlatform;
476
- };
477
- type CreateLoginFormData = CreateFormData<LoginFormData>;
478
- type RegisterFormData = {
479
- email: string;
480
- firstName: string;
481
- lastName: string;
482
- password: string;
483
- platform?: EnumOSPlatform;
484
- preferredRegion: string;
485
- termsAgreement?: TermsAgreement | null;
486
- };
487
- type CreateRegisterFormData = CreateFormData<RegisterFormData>;
488
- type RequestPasswordResetFormData = {
489
- email: string;
490
- };
491
- type CreateRequestPasswordResetFormData = CreateFormData<RequestPasswordResetFormData>;
492
- type ResetPasswordFormData = {
493
- confirmPassword: string;
494
- email: string;
495
- password: string;
496
- };
497
- type CreateResetPasswordFormData = CreateFormData<ResetPasswordFormData>;
498
- type ValidateVerificationTokenFormData = {
499
- email: string;
500
- verificationToken: string;
501
- };
502
- type CreateValidateVerificationTokenFormData = CreateFormData<ValidateVerificationTokenFormData>;
503
-
504
- type ParticipantType = {
505
- active: boolean;
506
- email: string;
507
- userId: string;
508
- };
509
- interface ChatMessageInput {
510
- content: string;
511
- senderId: string;
512
- }
513
- interface ChatMessageType {
514
- _id?: string;
515
- content: string;
516
- createdAt?: string;
517
- senderAvatar: string | null;
518
- senderId: string;
519
- senderName: string;
520
- updatedAt?: string;
521
- }
522
- interface ChatType {
523
- _id: string;
524
- active: boolean;
525
- chatType: EnumChatType;
526
- chatName: string;
527
- createdAt: string;
528
- messages: ChatMessageType[];
529
- participants: ParticipantType[];
530
- resourceInfo: {
531
- eventId: string;
532
- vendorId: string;
533
- } | null;
534
- updatedAt: string;
535
- deletedAt: string | null;
536
- }
537
-
538
- type ContactUsFormData = {
539
- email: string;
540
- firstName: string;
541
- lastName: string;
542
- message: string;
543
- };
544
- type CreateContactUsFormData = CreateFormData<ContactUsFormData>;
545
-
546
- interface NotificationDataType {
547
- resourceId: string;
548
- resourceName: string;
549
- resourceType: EnumNotificationResourceType;
550
- }
551
- type NotificationType = {
552
- _id: string;
553
- userId: string;
554
- title: string;
555
- message: string;
556
- isRead: boolean;
557
- type: EnumNotificationType;
558
- data: NotificationDataType | null;
559
- createdAt: string;
560
- updatedAt: string;
561
- };
562
- type NotificationCount = {
563
- total: number;
564
- unread: number;
565
- };
566
- type CreateBulkNotificationInput = {
567
- userIds: string[];
568
- title: string;
569
- message: string;
570
- type: EnumNotificationType;
571
- data: NotificationDataType | null;
572
- };
573
-
574
- interface PosterInputType {
575
- description: string;
576
- posterName: string;
577
- resourceId: string;
578
- resourceType: EnumResourceType;
579
- }
398
+ };
580
399
 
581
400
  interface TestersFormData {
582
401
  categories?: Category[] | null;
@@ -734,6 +553,251 @@ type ResourceActivityInputType = {
734
553
  activity: Omit<ResourceActivityEntry, "timestamp">;
735
554
  };
736
555
 
556
+ type SchemaChatMessageType = Omit<ChatMessageType, "senderId"> & {
557
+ senderId: ObjectId;
558
+ };
559
+ type SchemaParticipantType = Omit<ParticipantType, "userId"> & {
560
+ userId: ObjectId;
561
+ };
562
+ type SchemaChatType = Omit<ChatType, "participants" | "messages" | "resourceInfo"> & {
563
+ participants: SchemaParticipantType[];
564
+ messages: SchemaChatMessageType[];
565
+ resourceInfo: {
566
+ eventId: ObjectId;
567
+ vendorId: ObjectId;
568
+ } | null;
569
+ };
570
+ declare const ParticipantSchema: mongoose.Schema<SchemaParticipantType, mongoose.Model<SchemaParticipantType, any, any, any, mongoose.Document<unknown, any, SchemaParticipantType, any, {}> & Omit<ParticipantType, "userId"> & {
571
+ userId: ObjectId;
572
+ } & {
573
+ _id: mongoose.Types.ObjectId;
574
+ } & {
575
+ __v: number;
576
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SchemaParticipantType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SchemaParticipantType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SchemaParticipantType> & {
577
+ _id: mongoose.Types.ObjectId;
578
+ } & {
579
+ __v: number;
580
+ }>;
581
+
582
+ type SchemaCreateBulkNotificationInput = Omit<CreateBulkNotificationInput, "userIds"> & {
583
+ userIds: ObjectId[];
584
+ };
585
+ type SchemaNotificationType = Omit<NotificationType, "userId"> & {
586
+ userId: ObjectId;
587
+ };
588
+
589
+ type Nullable<T> = {
590
+ [K in keyof T]: T[K] | null | undefined;
591
+ };
592
+ type DeviceInfo = {
593
+ appBuildNumber: string;
594
+ appId: string;
595
+ appVersion: string;
596
+ brand: string;
597
+ deviceName: string;
598
+ installationId: string;
599
+ manufacturer: string;
600
+ modelName: string;
601
+ osName: string;
602
+ osVersion: string;
603
+ timestamp: string;
604
+ };
605
+ type TermsAgreement = DeviceInfo & {
606
+ termVersion: string;
607
+ };
608
+ type ResourceContactDetailsType = {
609
+ email?: string | null;
610
+ landlinePhone?: string | null;
611
+ mobilePhone?: string | null;
612
+ };
613
+ type ResourceImageType = {
614
+ source: string;
615
+ title: string;
616
+ };
617
+ type SocialMediaType = {
618
+ name?: EnumSocialMedia;
619
+ link?: string;
620
+ };
621
+ type PartnerType = {
622
+ email: string;
623
+ resourceId: string;
624
+ resourceType: EnumResourceType;
625
+ licence: EnumUserLicence;
626
+ };
627
+ type OwnerType = {
628
+ email: string;
629
+ userId: string;
630
+ };
631
+ interface BaseResourceTypeFormData {
632
+ _id?: string;
633
+ active: boolean;
634
+ contactDetails?: ResourceContactDetailsType | null;
635
+ cover: ResourceImageType;
636
+ coverUpload?: ResourceImageType | null;
637
+ description: string;
638
+ images?: ResourceImageType[] | null;
639
+ imagesUpload?: ResourceImageType[] | null;
640
+ logo?: ResourceImageType | null;
641
+ logoUpload?: ResourceImageType | null;
642
+ name: string;
643
+ owner?: OwnerType | null;
644
+ partners?: PartnerType[] | null;
645
+ promoCodes?: string[] | null;
646
+ region: string;
647
+ socialMedia?: SocialMediaType[] | null;
648
+ termsAgreement?: TermsAgreement | null;
649
+ }
650
+ type PosterUsageType = {
651
+ month: string;
652
+ count: number;
653
+ };
654
+ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
655
+ _id: string;
656
+ adIds?: string[] | null;
657
+ createdAt: string;
658
+ deletedAt: string | null;
659
+ owner: OwnerType;
660
+ posterUsage?: PosterUsageType | null;
661
+ relations: {
662
+ relationId: string | null;
663
+ relationDates: RelationDate[] | null;
664
+ }[] | null;
665
+ updatedAt: string;
666
+ };
667
+ type LocationType = {
668
+ city: string;
669
+ coordinates: number[];
670
+ country: string;
671
+ fullAddress: string;
672
+ latitude: number;
673
+ longitude: number;
674
+ region: string;
675
+ type: "Point";
676
+ };
677
+ type DateTimeType = {
678
+ endDate: string;
679
+ endTime: string;
680
+ startDate: string;
681
+ startTime: string;
682
+ };
683
+ type Region = {
684
+ latitude: number;
685
+ latitudeDelta: number;
686
+ longitude: number;
687
+ longitudeDelta: number;
688
+ };
689
+ type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
690
+ type MapMultiLocation = {
691
+ dateTime: DateTimeType | null;
692
+ location: LocationType | null;
693
+ resourceId?: string;
694
+ resourceName?: string;
695
+ resourceType?: EnumResourceType;
696
+ };
697
+ interface FormField {
698
+ disabled?: boolean;
699
+ helperText?: string;
700
+ isTextArea?: boolean;
701
+ keyboardType?: "default" | "email-address" | "number-pad" | "url" | "decimal-pad" | "phone-pad";
702
+ name: string;
703
+ placeholder: string;
704
+ secureTextEntry?: boolean;
705
+ }
706
+ interface FormDateField {
707
+ dateMode: "date" | "time";
708
+ helperText?: string;
709
+ name: "endDate" | "endTime" | "startDate" | "startTime";
710
+ placeholder: string;
711
+ }
712
+ interface SubcategoryItems {
713
+ id: string;
714
+ name: string;
715
+ description?: string | null;
716
+ }
717
+ interface Subcategory {
718
+ id: string;
719
+ name: string;
720
+ items?: SubcategoryItems[] | null;
721
+ }
722
+ interface Category {
723
+ color?: string | null;
724
+ description?: string | null;
725
+ id: string;
726
+ name: string;
727
+ subcategories: Subcategory[];
728
+ }
729
+ type OptionItem = {
730
+ value: string;
731
+ label: string;
732
+ };
733
+ type ImageObjectType = {
734
+ uri: string;
735
+ type: string;
736
+ name: string;
737
+ };
738
+ interface ResourceConnectionsType {
739
+ events: EventType[] | null;
740
+ vendors: VendorType[] | null;
741
+ }
742
+ interface CreateFormData<T extends FieldValues> {
743
+ control: Control<T, any>;
744
+ fields: T;
745
+ formState: {
746
+ errors: FieldErrors<T>;
747
+ };
748
+ handleSubmit: UseFormHandleSubmit<T, any>;
749
+ reset: UseFormReset<T>;
750
+ setValue: UseFormSetValue<T>;
751
+ watch: UseFormWatch<T>;
752
+ }
753
+ type ObjectId = mongoose.Schema.Types.ObjectId;
754
+ declare enum EnumPubSubEvents {
755
+ GET_CHAT_MESSAGE = "GET_CHAT_MESSAGE",
756
+ GET_NOTIFICATIONS = "GET_NOTIFICATIONS",
757
+ GET_NOTIFICATIONS_COUNT = "GET_NOTIFICATIONS_COUNT",
758
+ USER_TYPING = "USER_TYPING"
759
+ }
760
+ interface AuthUser {
761
+ email: string;
762
+ role: string;
763
+ userId: ObjectId;
764
+ }
765
+ interface SubscriptionPayload {
766
+ getChatMessage?: SchemaChatType;
767
+ userTyping?: SchemaChatType;
768
+ getNotifications?: SchemaNotificationType[];
769
+ getNotificationsUserId?: ObjectId;
770
+ getNotificationsCount?: NotificationCount & {
771
+ userId: ObjectId;
772
+ };
773
+ }
774
+ interface GraphQLContext {
775
+ user: AuthUser | null;
776
+ pubsub: {
777
+ publish: (eventName: EnumPubSubEvents, payload: SubscriptionPayload) => void;
778
+ subscribe: (eventName: EnumPubSubEvents) => AsyncIterable<any>;
779
+ };
780
+ request: Request;
781
+ response: Response;
782
+ }
783
+
784
+ declare const vendorBasicInfoFields: FormField[];
785
+ declare const vendorMultiLocation: FormField;
786
+ declare const vendorFullAddress: FormField;
787
+ declare const vendorStartDateFields: FormDateField[];
788
+ declare const vendorEndDateFields: FormDateField[];
789
+ declare const vendorAvailability: FormField[];
790
+ declare const vendorLocationDescription: FormField;
791
+ declare const vendorMenuFields: FormField[];
792
+ declare const availableCityOptions: OptionItem[];
793
+ declare const productLabelGroups: {
794
+ category: string;
795
+ items: {
796
+ abbreviation: string;
797
+ fullName: string;
798
+ }[];
799
+ }[];
800
+
737
801
  declare const vendorElectricity: {
738
802
  details: FormField;
739
803
  isRequired: FormField;
@@ -1393,6 +1457,337 @@ declare function useContactUsForm(data?: ContactUsFormData): CreateContactUsForm
1393
1457
 
1394
1458
  declare function useAdForm(data?: AdFormData): CreateAdFormData;
1395
1459
 
1460
+ type SchemaOwnerType = Omit<OwnerType, "userId"> & {
1461
+ userId: ObjectId;
1462
+ };
1463
+ declare const SocialMediaTypeSchema: mongoose.Schema<SocialMediaType, mongoose.Model<SocialMediaType, any, any, any, mongoose.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
1464
+ _id: mongoose.Types.ObjectId;
1465
+ } & {
1466
+ __v: number;
1467
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SocialMediaType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SocialMediaType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SocialMediaType> & {
1468
+ _id: mongoose.Types.ObjectId;
1469
+ } & {
1470
+ __v: number;
1471
+ }>;
1472
+ declare const ResourceImageTypeSchema: mongoose.Schema<ResourceImageType, mongoose.Model<ResourceImageType, any, any, any, mongoose.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
1473
+ _id: mongoose.Types.ObjectId;
1474
+ } & {
1475
+ __v: number;
1476
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ResourceImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<ResourceImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ResourceImageType> & {
1477
+ _id: mongoose.Types.ObjectId;
1478
+ } & {
1479
+ __v: number;
1480
+ }>;
1481
+ declare const CategorySchema: mongoose.Schema<Category, mongoose.Model<Category, any, any, any, mongoose.Document<unknown, any, Category, any, {}> & Category & {
1482
+ _id: mongoose.Types.ObjectId;
1483
+ } & {
1484
+ __v: number;
1485
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, Category, mongoose.Document<unknown, {}, mongoose.FlatRecord<Category>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<Category> & {
1486
+ _id: mongoose.Types.ObjectId;
1487
+ } & {
1488
+ __v: number;
1489
+ }>;
1490
+ declare const partnersSchema: mongoose.Schema<PartnerType, mongoose.Model<PartnerType, any, any, any, mongoose.Document<unknown, any, PartnerType, any, {}> & PartnerType & {
1491
+ _id: mongoose.Types.ObjectId;
1492
+ } & {
1493
+ __v: number;
1494
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, PartnerType, mongoose.Document<unknown, {}, mongoose.FlatRecord<PartnerType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<PartnerType> & {
1495
+ _id: mongoose.Types.ObjectId;
1496
+ } & {
1497
+ __v: number;
1498
+ }>;
1499
+ declare const termsAgreementSchema: mongoose.Schema<TermsAgreement, mongoose.Model<TermsAgreement, any, any, any, mongoose.Document<unknown, any, TermsAgreement, any, {}> & DeviceInfo & {
1500
+ termVersion: string;
1501
+ } & {
1502
+ _id: mongoose.Types.ObjectId;
1503
+ } & {
1504
+ __v: number;
1505
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, TermsAgreement, mongoose.Document<unknown, {}, mongoose.FlatRecord<TermsAgreement>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<TermsAgreement> & {
1506
+ _id: mongoose.Types.ObjectId;
1507
+ } & {
1508
+ __v: number;
1509
+ }>;
1510
+ declare const baseResourceFields: {
1511
+ active: {
1512
+ default: boolean;
1513
+ required: boolean;
1514
+ type: BooleanConstructor;
1515
+ };
1516
+ adIds: {
1517
+ ref: string;
1518
+ required: boolean;
1519
+ type: (typeof mongoose.Schema.Types.ObjectId)[];
1520
+ };
1521
+ contactDetails: mongoose.Schema<ResourceContactDetailsType, mongoose.Model<ResourceContactDetailsType, any, any, any, mongoose.Document<unknown, any, ResourceContactDetailsType, any, {}> & ResourceContactDetailsType & {
1522
+ _id: mongoose.Types.ObjectId;
1523
+ } & {
1524
+ __v: number;
1525
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ResourceContactDetailsType, mongoose.Document<unknown, {}, mongoose.FlatRecord<ResourceContactDetailsType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ResourceContactDetailsType> & {
1526
+ _id: mongoose.Types.ObjectId;
1527
+ } & {
1528
+ __v: number;
1529
+ }>;
1530
+ cover: mongoose.Schema<ResourceImageType, mongoose.Model<ResourceImageType, any, any, any, mongoose.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
1531
+ _id: mongoose.Types.ObjectId;
1532
+ } & {
1533
+ __v: number;
1534
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ResourceImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<ResourceImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ResourceImageType> & {
1535
+ _id: mongoose.Types.ObjectId;
1536
+ } & {
1537
+ __v: number;
1538
+ }>;
1539
+ deletedAt: {
1540
+ default: null;
1541
+ required: boolean;
1542
+ type: DateConstructor;
1543
+ };
1544
+ description: {
1545
+ required: boolean;
1546
+ type: StringConstructor;
1547
+ };
1548
+ images: mongoose.Schema<ResourceImageType, mongoose.Model<ResourceImageType, any, any, any, mongoose.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
1549
+ _id: mongoose.Types.ObjectId;
1550
+ } & {
1551
+ __v: number;
1552
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ResourceImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<ResourceImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ResourceImageType> & {
1553
+ _id: mongoose.Types.ObjectId;
1554
+ } & {
1555
+ __v: number;
1556
+ }>[];
1557
+ logo: mongoose.Schema<ResourceImageType, mongoose.Model<ResourceImageType, any, any, any, mongoose.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
1558
+ _id: mongoose.Types.ObjectId;
1559
+ } & {
1560
+ __v: number;
1561
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ResourceImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<ResourceImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ResourceImageType> & {
1562
+ _id: mongoose.Types.ObjectId;
1563
+ } & {
1564
+ __v: number;
1565
+ }>;
1566
+ name: {
1567
+ required: boolean;
1568
+ type: StringConstructor;
1569
+ };
1570
+ owner: mongoose.Schema<SchemaOwnerType, mongoose.Model<SchemaOwnerType, any, any, any, mongoose.Document<unknown, any, SchemaOwnerType, any, {}> & Omit<OwnerType, "userId"> & {
1571
+ userId: ObjectId;
1572
+ } & {
1573
+ _id: mongoose.Types.ObjectId;
1574
+ } & {
1575
+ __v: number;
1576
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SchemaOwnerType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SchemaOwnerType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SchemaOwnerType> & {
1577
+ _id: mongoose.Types.ObjectId;
1578
+ } & {
1579
+ __v: number;
1580
+ }>;
1581
+ partners: {
1582
+ required: boolean;
1583
+ type: mongoose.Schema<PartnerType, mongoose.Model<PartnerType, any, any, any, mongoose.Document<unknown, any, PartnerType, any, {}> & PartnerType & {
1584
+ _id: mongoose.Types.ObjectId;
1585
+ } & {
1586
+ __v: number;
1587
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, PartnerType, mongoose.Document<unknown, {}, mongoose.FlatRecord<PartnerType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<PartnerType> & {
1588
+ _id: mongoose.Types.ObjectId;
1589
+ } & {
1590
+ __v: number;
1591
+ }>[];
1592
+ };
1593
+ posterUsage: mongoose.Schema<PosterUsageType, mongoose.Model<PosterUsageType, any, any, any, mongoose.Document<unknown, any, PosterUsageType, any, {}> & PosterUsageType & {
1594
+ _id: mongoose.Types.ObjectId;
1595
+ } & {
1596
+ __v: number;
1597
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, PosterUsageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<PosterUsageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<PosterUsageType> & {
1598
+ _id: mongoose.Types.ObjectId;
1599
+ } & {
1600
+ __v: number;
1601
+ }>;
1602
+ promoCodes: {
1603
+ required: boolean;
1604
+ type: StringConstructor[];
1605
+ };
1606
+ region: {
1607
+ required: boolean;
1608
+ type: StringConstructor;
1609
+ };
1610
+ relations: {
1611
+ default: never[];
1612
+ required: boolean;
1613
+ type: mongoose.Schema<{
1614
+ relationId: ObjectId;
1615
+ relationDates: RelationDate[];
1616
+ }, mongoose.Model<{
1617
+ relationId: ObjectId;
1618
+ relationDates: RelationDate[];
1619
+ }, any, any, any, mongoose.Document<unknown, any, {
1620
+ relationId: ObjectId;
1621
+ relationDates: RelationDate[];
1622
+ }, any, {}> & {
1623
+ relationId: ObjectId;
1624
+ relationDates: RelationDate[];
1625
+ } & {
1626
+ _id: mongoose.Types.ObjectId;
1627
+ } & {
1628
+ __v: number;
1629
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
1630
+ relationId: ObjectId;
1631
+ relationDates: RelationDate[];
1632
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
1633
+ relationId: ObjectId;
1634
+ relationDates: RelationDate[];
1635
+ }>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<{
1636
+ relationId: ObjectId;
1637
+ relationDates: RelationDate[];
1638
+ }> & {
1639
+ _id: mongoose.Types.ObjectId;
1640
+ } & {
1641
+ __v: number;
1642
+ }>[];
1643
+ };
1644
+ socialMedia: mongoose.Schema<SocialMediaType, mongoose.Model<SocialMediaType, any, any, any, mongoose.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
1645
+ _id: mongoose.Types.ObjectId;
1646
+ } & {
1647
+ __v: number;
1648
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SocialMediaType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SocialMediaType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SocialMediaType> & {
1649
+ _id: mongoose.Types.ObjectId;
1650
+ } & {
1651
+ __v: number;
1652
+ }>[];
1653
+ termsAgreement: mongoose.Schema<TermsAgreement, mongoose.Model<TermsAgreement, any, any, any, mongoose.Document<unknown, any, TermsAgreement, any, {}> & DeviceInfo & {
1654
+ termVersion: string;
1655
+ } & {
1656
+ _id: mongoose.Types.ObjectId;
1657
+ } & {
1658
+ __v: number;
1659
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, TermsAgreement, mongoose.Document<unknown, {}, mongoose.FlatRecord<TermsAgreement>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<TermsAgreement> & {
1660
+ _id: mongoose.Types.ObjectId;
1661
+ } & {
1662
+ __v: number;
1663
+ }>;
1664
+ };
1665
+
1666
+ type PushTokenType = {
1667
+ _id: string;
1668
+ createdAt: Date;
1669
+ platform: EnumOSPlatform;
1670
+ token: string;
1671
+ updatedAt: Date;
1672
+ userId: string;
1673
+ };
1674
+ type SchemaPushTokenType = Omit<PushTokenType, "userId"> & {
1675
+ userId: ObjectId;
1676
+ };
1677
+
1678
+ declare const relationDatesSchema: mongoose.Schema<RelationDate, mongoose.Model<RelationDate, any, any, any, mongoose.Document<unknown, any, RelationDate, any, {}> & RelationDate & {
1679
+ _id: mongoose.Types.ObjectId;
1680
+ } & {
1681
+ __v: number;
1682
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RelationDate, mongoose.Document<unknown, {}, mongoose.FlatRecord<RelationDate>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<RelationDate> & {
1683
+ _id: mongoose.Types.ObjectId;
1684
+ } & {
1685
+ __v: number;
1686
+ }>;
1687
+ type SchemaRelationType = Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
1688
+ chatId: ObjectId;
1689
+ eventId: ObjectId;
1690
+ vendorId: ObjectId;
1691
+ };
1692
+ /**
1693
+ * This is the schema for the relation type.
1694
+ * It is used to define the structure of the relation type in the database.
1695
+ * The schema is used by Mongoose to create a model for the relation type.
1696
+ */
1697
+ declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "eventId" | "vendorId" | "chatId"> & {
1698
+ chatId: ObjectId;
1699
+ eventId: ObjectId;
1700
+ vendorId: ObjectId;
1701
+ } & Required<{
1702
+ _id: string;
1703
+ }> & {
1704
+ __v: number;
1705
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SchemaRelationType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SchemaRelationType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SchemaRelationType> & Required<{
1706
+ _id: string;
1707
+ }> & {
1708
+ __v: number;
1709
+ }>;
1710
+
1711
+ type SchemaUserActivityEvent = Omit<UserActivityEvent, "resourceId"> & {
1712
+ resourceId: ObjectId;
1713
+ };
1714
+ type SchemaUserType = Omit<UserType, "vendor" | "events" | "userActivity" | "_id"> & {
1715
+ _id: ObjectId;
1716
+ vendor: ObjectId;
1717
+ events: ObjectId[];
1718
+ userActivity: {
1719
+ favourites: {
1720
+ events: ObjectId[];
1721
+ vendors: ObjectId[];
1722
+ };
1723
+ interested: {
1724
+ events: SchemaUserActivityEvent[];
1725
+ };
1726
+ going: {
1727
+ events: SchemaUserActivityEvent[];
1728
+ };
1729
+ present: {
1730
+ events: SchemaUserActivityEvent[];
1731
+ };
1732
+ };
1733
+ };
1734
+
1735
+ interface VerificationTokenType {
1736
+ email: string;
1737
+ verificationToken: string;
1738
+ createdAt: Date;
1739
+ }
1740
+
1741
+ type SchemaVendorType = Omit<VendorType, "vendorInfoId" | "owner" | "adIds"> & {
1742
+ adIds?: ObjectId[];
1743
+ owner: SchemaOwnerType;
1744
+ vendorInfoId: ObjectId;
1745
+ };
1746
+
1747
+ type SchemaVendorInfoType = Omit<VendorInfoType, "vendorId"> & {
1748
+ vendorId: ObjectId;
1749
+ };
1750
+
1751
+ type SchemaEventType = Omit<EventType, "eventInfoId" | "owner" | "adIds"> & {
1752
+ adIds?: ObjectId[];
1753
+ eventInfoId: ObjectId;
1754
+ owner: SchemaOwnerType;
1755
+ };
1756
+
1757
+ declare const StallTypeSchema: mongoose.Schema<StallType, mongoose.Model<StallType, any, any, any, mongoose.Document<unknown, any, StallType, any, {}> & StallType & {
1758
+ _id: mongoose.Types.ObjectId;
1759
+ } & {
1760
+ __v: number;
1761
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, StallType, mongoose.Document<unknown, {}, mongoose.FlatRecord<StallType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<StallType> & {
1762
+ _id: mongoose.Types.ObjectId;
1763
+ } & {
1764
+ __v: number;
1765
+ }>;
1766
+ type SchemaEventInfoType = Omit<EventInfoType, "eventId"> & {
1767
+ eventId: ObjectId;
1768
+ };
1769
+
1770
+ /**
1771
+ * Connect to MongoDB using Mongoose.
1772
+ * Supports both local MongoDB (via MONGODB_URI) and MongoDB Atlas (via individual env vars).
1773
+ */
1774
+ declare const connectToDatabase: () => Promise<void>;
1775
+
1776
+ declare function publishNotificationEvents(userId: ObjectId, context: GraphQLContext): Promise<void>;
1777
+ /**
1778
+ * Create notifications in the database for multiple users
1779
+ * This is typically called when sending push notifications
1780
+ */
1781
+ declare function createNotifications(payload: SchemaCreateBulkNotificationInput, context: GraphQLContext): Promise<SchemaNotificationType[]>;
1782
+
1783
+ interface SendPushNotificationOptions {
1784
+ data: NotificationDataType;
1785
+ message: string;
1786
+ title: string;
1787
+ userIds: ObjectId[];
1788
+ }
1789
+ declare function sendPushNotification({ data, message, title, userIds, }: SendPushNotificationOptions): Promise<void>;
1790
+
1396
1791
  declare const SAVED_PASSWORD_KEY = "savedPassword";
1397
1792
  declare const SAVED_EMAIL_KEY = "savedEmail";
1398
1793
  declare const SAVED_TOKEN_KEY = "savedToken";
@@ -1495,4 +1890,4 @@ declare const availableRegionOptions: OptionItem[];
1495
1890
  declare const paymentMethodOptions: OptionItem[];
1496
1891
  declare function normalizeUrl(url: string): string;
1497
1892
 
1498
- 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, EnumEventType, EnumFoodFlavor, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, 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 Subcategory, type SubcategoryItems, 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, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, 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, 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, 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 };
1893
+ export { type AdFormData, type AdType, type AdminUpdateResourceType, type AuthUser, type BaseResourceType, type BaseResourceTypeFormData, type Category, CategorySchema, 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, EnumEventType, EnumFoodFlavor, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, EnumPubSubEvents, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumUserLicence, EnumUserRole, EnumVendorType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventType, type FormDateField, type FormField, type GeocodeLocation, type GraphQLContext, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type ObjectId, type OptionItem, type OwnerType, ParticipantSchema, type ParticipantType, type PartnerType, type PaymentInfoType, type PlacePrediction, type PosterInputType, type PosterUsageType, type Region, type RegisterFormData, type RelationDate, type RelationType, RelationTypeSchema, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, ResourceImageTypeSchema, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SchemaChatMessageType, type SchemaChatType, type SchemaCreateBulkNotificationInput, type SchemaEventInfoType, type SchemaEventType, type SchemaNotificationType, type SchemaOwnerType, type SchemaParticipantType, type SchemaPushTokenType, type SchemaRelationType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, type SocialMediaType, SocialMediaTypeSchema, type StallType, StallTypeSchema, type Subcategory, type SubcategoryItems, type SubscriptionPayload, 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, type VerificationTokenType, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, baseResourceFields, capitalizeFirstLetter, categoryColors, companyContactFields, connectToDatabase, contactUsFields, createNotifications, 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, partnersSchema, paymentMethodOptions, producedIngOptions, productLabelGroups, profileFields, publishNotificationEvents, registerFields, relationDatesSchema, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, sendPushNotification, socialMediaFields, sortDatesChronologically, stallTypeOptions, statusOptions, tagOptions, termsAgreementSchema, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, 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, 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, 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 };