@timardex/cluemart-shared 1.2.26 → 1.2.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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;
@@ -280,357 +397,59 @@ type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
280
397
  _id: string;
281
398
  };
282
399
 
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 = {
400
+ interface TestersFormData {
401
+ categories?: Category[] | null;
402
+ companyName: string;
322
403
  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;
404
+ firstName: string;
405
+ lastName: string;
406
+ osType: EnumOSPlatform;
340
407
  region: string;
341
- socialMedia?: SocialMediaType[] | null;
342
- termsAgreement?: TermsAgreement | null;
408
+ resourceType: EnumResourceType;
343
409
  }
344
- type PosterUsageType = {
345
- month: string;
346
- count: number;
347
- };
348
- type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
410
+ type CreateTestersFormData = CreateFormData<TestersFormData>;
411
+ interface TesterType extends TestersFormData {
349
412
  _id: string;
350
- adIds?: string[] | null;
413
+ active: boolean;
351
414
  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
415
  updatedAt: string;
416
+ }
417
+
418
+ type UserFormData = {
419
+ _id?: string;
420
+ active: boolean;
421
+ avatar?: ResourceImageType | null;
422
+ avatarUpload?: ResourceImageType | null;
423
+ confirmPassword: string;
424
+ email: string;
425
+ firstName: string;
426
+ lastName: string;
427
+ password: string;
428
+ platform?: EnumOSPlatform;
429
+ preferredRegion: string;
430
+ role: EnumUserRole;
431
+ termsAgreement?: TermsAgreement | null;
360
432
  };
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;
433
+ type CreateUserFormData = CreateFormData<UserFormData>;
434
+ type UserActivityEvent = {
435
+ resourceId: string;
374
436
  startDate: string;
375
437
  startTime: string;
376
438
  };
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
- }
580
-
581
- interface TestersFormData {
582
- categories?: Category[] | null;
583
- companyName: string;
584
- email: string;
585
- firstName: string;
586
- lastName: string;
587
- osType: EnumOSPlatform;
588
- region: string;
589
- resourceType: EnumResourceType;
590
- }
591
- type CreateTestersFormData = CreateFormData<TestersFormData>;
592
- interface TesterType extends TestersFormData {
593
- _id: string;
594
- active: boolean;
595
- createdAt: string;
596
- updatedAt: string;
597
- }
598
-
599
- type UserFormData = {
600
- _id?: string;
601
- active: boolean;
602
- avatar?: ResourceImageType | null;
603
- avatarUpload?: ResourceImageType | null;
604
- confirmPassword: string;
605
- email: string;
606
- firstName: string;
607
- lastName: string;
608
- password: string;
609
- platform?: EnumOSPlatform;
610
- preferredRegion: string;
611
- role: EnumUserRole;
612
- termsAgreement?: TermsAgreement | null;
613
- };
614
- type CreateUserFormData = CreateFormData<UserFormData>;
615
- type UserActivityEvent = {
616
- resourceId: string;
617
- startDate: string;
618
- startTime: string;
619
- };
620
- type UserActivity = {
621
- favourites: {
622
- events: string[];
623
- vendors: string[];
624
- };
625
- going: {
626
- events: UserActivityEvent[];
627
- };
628
- interested: {
629
- events: UserActivityEvent[];
630
- };
631
- present: {
632
- events: UserActivityEvent[];
633
- };
439
+ type UserActivity = {
440
+ favourites: {
441
+ events: string[];
442
+ vendors: string[];
443
+ };
444
+ going: {
445
+ events: UserActivityEvent[];
446
+ };
447
+ interested: {
448
+ events: UserActivityEvent[];
449
+ };
450
+ present: {
451
+ events: UserActivityEvent[];
452
+ };
634
453
  };
635
454
  interface UserType {
636
455
  _id: string;
@@ -734,6 +553,237 @@ 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
+
571
+ type SchemaNotificationType = Omit<NotificationType, "userId"> & {
572
+ userId: ObjectId;
573
+ };
574
+
575
+ type Nullable<T> = {
576
+ [K in keyof T]: T[K] | null | undefined;
577
+ };
578
+ type DeviceInfo = {
579
+ appBuildNumber: string;
580
+ appId: string;
581
+ appVersion: string;
582
+ brand: string;
583
+ deviceName: string;
584
+ installationId: string;
585
+ manufacturer: string;
586
+ modelName: string;
587
+ osName: string;
588
+ osVersion: string;
589
+ timestamp: string;
590
+ };
591
+ type TermsAgreement = DeviceInfo & {
592
+ termVersion: string;
593
+ };
594
+ type ResourceContactDetailsType = {
595
+ email?: string | null;
596
+ landlinePhone?: string | null;
597
+ mobilePhone?: string | null;
598
+ };
599
+ type ResourceImageType = {
600
+ source: string;
601
+ title: string;
602
+ };
603
+ type SocialMediaType = {
604
+ name?: EnumSocialMedia;
605
+ link?: string;
606
+ };
607
+ type PartnerType = {
608
+ email: string;
609
+ resourceId: string;
610
+ resourceType: EnumResourceType;
611
+ licence: EnumUserLicence;
612
+ };
613
+ type OwnerType = {
614
+ email: string;
615
+ userId: string;
616
+ };
617
+ interface BaseResourceTypeFormData {
618
+ _id?: string;
619
+ active: boolean;
620
+ contactDetails?: ResourceContactDetailsType | null;
621
+ cover: ResourceImageType;
622
+ coverUpload?: ResourceImageType | null;
623
+ description: string;
624
+ images?: ResourceImageType[] | null;
625
+ imagesUpload?: ResourceImageType[] | null;
626
+ logo?: ResourceImageType | null;
627
+ logoUpload?: ResourceImageType | null;
628
+ name: string;
629
+ owner?: OwnerType | null;
630
+ partners?: PartnerType[] | null;
631
+ promoCodes?: string[] | null;
632
+ region: string;
633
+ socialMedia?: SocialMediaType[] | null;
634
+ termsAgreement?: TermsAgreement | null;
635
+ }
636
+ type PosterUsageType = {
637
+ month: string;
638
+ count: number;
639
+ };
640
+ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
641
+ _id: string;
642
+ adIds?: string[] | null;
643
+ createdAt: string;
644
+ deletedAt: string | null;
645
+ owner: OwnerType;
646
+ posterUsage?: PosterUsageType | null;
647
+ relations: {
648
+ relationId: string | null;
649
+ relationDates: RelationDate[] | null;
650
+ }[] | null;
651
+ updatedAt: string;
652
+ };
653
+ type LocationType = {
654
+ city: string;
655
+ coordinates: number[];
656
+ country: string;
657
+ fullAddress: string;
658
+ latitude: number;
659
+ longitude: number;
660
+ region: string;
661
+ type: "Point";
662
+ };
663
+ type DateTimeType = {
664
+ endDate: string;
665
+ endTime: string;
666
+ startDate: string;
667
+ startTime: string;
668
+ };
669
+ type Region = {
670
+ latitude: number;
671
+ latitudeDelta: number;
672
+ longitude: number;
673
+ longitudeDelta: number;
674
+ };
675
+ type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
676
+ type MapMultiLocation = {
677
+ dateTime: DateTimeType | null;
678
+ location: LocationType | null;
679
+ resourceId?: string;
680
+ resourceName?: string;
681
+ resourceType?: EnumResourceType;
682
+ };
683
+ interface FormField {
684
+ disabled?: boolean;
685
+ helperText?: string;
686
+ isTextArea?: boolean;
687
+ keyboardType?: "default" | "email-address" | "number-pad" | "url" | "decimal-pad" | "phone-pad";
688
+ name: string;
689
+ placeholder: string;
690
+ secureTextEntry?: boolean;
691
+ }
692
+ interface FormDateField {
693
+ dateMode: "date" | "time";
694
+ helperText?: string;
695
+ name: "endDate" | "endTime" | "startDate" | "startTime";
696
+ placeholder: string;
697
+ }
698
+ interface SubcategoryItems {
699
+ id: string;
700
+ name: string;
701
+ description?: string | null;
702
+ }
703
+ interface Subcategory {
704
+ id: string;
705
+ name: string;
706
+ items?: SubcategoryItems[] | null;
707
+ }
708
+ interface Category {
709
+ color?: string | null;
710
+ description?: string | null;
711
+ id: string;
712
+ name: string;
713
+ subcategories: Subcategory[];
714
+ }
715
+ type OptionItem = {
716
+ value: string;
717
+ label: string;
718
+ };
719
+ type ImageObjectType = {
720
+ uri: string;
721
+ type: string;
722
+ name: string;
723
+ };
724
+ interface ResourceConnectionsType {
725
+ events: EventType[] | null;
726
+ vendors: VendorType[] | null;
727
+ }
728
+ interface CreateFormData<T extends FieldValues> {
729
+ control: Control<T, any>;
730
+ fields: T;
731
+ formState: {
732
+ errors: FieldErrors<T>;
733
+ };
734
+ handleSubmit: UseFormHandleSubmit<T, any>;
735
+ reset: UseFormReset<T>;
736
+ setValue: UseFormSetValue<T>;
737
+ watch: UseFormWatch<T>;
738
+ }
739
+ type ObjectId = mongoose.Schema.Types.ObjectId;
740
+ declare enum EnumPubSubEvents {
741
+ GET_CHAT_MESSAGE = "GET_CHAT_MESSAGE",
742
+ GET_NOTIFICATIONS = "GET_NOTIFICATIONS",
743
+ GET_NOTIFICATIONS_COUNT = "GET_NOTIFICATIONS_COUNT",
744
+ USER_TYPING = "USER_TYPING"
745
+ }
746
+ interface AuthUser {
747
+ email: string;
748
+ role: string;
749
+ userId: ObjectId;
750
+ }
751
+ interface SubscriptionPayload {
752
+ getChatMessage?: SchemaChatType;
753
+ userTyping?: SchemaChatType;
754
+ getNotifications?: SchemaNotificationType[];
755
+ getNotificationsUserId?: ObjectId;
756
+ getNotificationsCount?: NotificationCount & {
757
+ userId: ObjectId;
758
+ };
759
+ }
760
+ interface GraphQLContext {
761
+ user: AuthUser | null;
762
+ pubsub: {
763
+ publish: (eventName: EnumPubSubEvents, payload: SubscriptionPayload) => void;
764
+ subscribe: (eventName: EnumPubSubEvents) => AsyncIterable<any>;
765
+ };
766
+ request: Request;
767
+ response: Response;
768
+ }
769
+
770
+ declare const vendorBasicInfoFields: FormField[];
771
+ declare const vendorMultiLocation: FormField;
772
+ declare const vendorFullAddress: FormField;
773
+ declare const vendorStartDateFields: FormDateField[];
774
+ declare const vendorEndDateFields: FormDateField[];
775
+ declare const vendorAvailability: FormField[];
776
+ declare const vendorLocationDescription: FormField;
777
+ declare const vendorMenuFields: FormField[];
778
+ declare const availableCityOptions: OptionItem[];
779
+ declare const productLabelGroups: {
780
+ category: string;
781
+ items: {
782
+ abbreviation: string;
783
+ fullName: string;
784
+ }[];
785
+ }[];
786
+
737
787
  declare const vendorElectricity: {
738
788
  details: FormField;
739
789
  isRequired: FormField;
@@ -1495,4 +1545,4 @@ declare const availableRegionOptions: OptionItem[];
1495
1545
  declare const paymentMethodOptions: OptionItem[];
1496
1546
  declare function normalizeUrl(url: string): string;
1497
1547
 
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 };
1548
+ export { type AdFormData, type AdType, type AdminUpdateResourceType, type AuthUser, 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, 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, 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 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, 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 };