@timardex/cluemart-shared 1.2.11 → 1.2.12

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.
@@ -1,5 +1,5 @@
1
1
  import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.mjs';
2
- import { C as Category, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-CAQkxPc3.mjs';
2
+ import { C as Category, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-BpCkzdeB.mjs';
3
3
 
4
4
  interface TestersFormData {
5
5
  categories?: Category[] | null;
@@ -1,5 +1,5 @@
1
1
  import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.js';
2
- import { C as Category, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-B0ogdRmU.js';
2
+ import { C as Category, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-DfRb-Tdc.js';
3
3
 
4
4
  interface TestersFormData {
5
5
  categories?: Category[] | null;
@@ -1,4 +1,4 @@
1
- import { x as CreateFormData, T as TermsAgreement } from './global-B0ogdRmU.js';
1
+ import { x as CreateFormData, T as TermsAgreement } from './global-DfRb-Tdc.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { x as CreateFormData, T as TermsAgreement } from './global-CAQkxPc3.mjs';
1
+ import { x as CreateFormData, T as TermsAgreement } from './global-BpCkzdeB.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-CAQkxPc3.mjs';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-BpCkzdeB.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-B0ogdRmU.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-DfRb-Tdc.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -1,31 +1,5 @@
1
1
  import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
2
- import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
3
-
4
- type RelationDate = {
5
- lastUpdateBy: {
6
- resourceId: string;
7
- userEmail: string;
8
- };
9
- paymentReference?: string;
10
- stallType: StallType | null;
11
- startDate: string;
12
- startTime: string;
13
- status: EnumInviteStatus;
14
- };
15
- interface RelationType {
16
- _id?: string;
17
- active: boolean;
18
- apiMessage?: string;
19
- chatId?: string;
20
- createdAt?: string;
21
- deletedAt?: string | null;
22
- lastUpdateBy: EnumResourceType;
23
- eventId: string;
24
- relationDates: RelationDate[];
25
- relationType: EnumRelationResource;
26
- vendorId: string;
27
- updatedAt?: string;
28
- }
2
+ import { EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
29
3
 
30
4
  type StallType = {
31
5
  label: string;
@@ -84,8 +58,31 @@ interface EventType extends BaseResourceType {
84
58
  type EventInfoType = Omit<EventInfoFormData, "_id"> & {
85
59
  _id: string;
86
60
  };
87
- interface EventWithConnectionDatesType extends EventType {
88
- relationDates: RelationDate[] | undefined;
61
+
62
+ type RelationDate = {
63
+ lastUpdateBy: {
64
+ resourceId: string;
65
+ userEmail: string;
66
+ };
67
+ paymentReference?: string;
68
+ stallType: StallType | null;
69
+ startDate: string;
70
+ startTime: string;
71
+ status: EnumInviteStatus;
72
+ };
73
+ interface RelationType {
74
+ _id?: string;
75
+ active: boolean;
76
+ apiMessage?: string;
77
+ chatId?: string;
78
+ createdAt?: string;
79
+ deletedAt?: string | null;
80
+ lastUpdateBy: EnumResourceType;
81
+ eventId: string;
82
+ relationDates: RelationDate[];
83
+ relationType: EnumRelationResource;
84
+ vendorId: string;
85
+ updatedAt?: string;
89
86
  }
90
87
 
91
88
  type VendorLocation = {
@@ -166,9 +163,6 @@ interface VendorType extends BaseResourceType {
166
163
  type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
167
164
  _id: string;
168
165
  };
169
- interface VendorWithConnectionDatesType extends VendorType {
170
- relationDates: RelationDate[] | undefined;
171
- }
172
166
 
173
167
  type Nullable<T> = {
174
168
  [K in keyof T]: T[K] | null | undefined;
@@ -318,8 +312,8 @@ type ImageObjectType = {
318
312
  name: string;
319
313
  };
320
314
  interface ResourceConnectionsType {
321
- events: EventWithConnectionDatesType[] | null;
322
- vendors: VendorWithConnectionDatesType[] | null;
315
+ events: EventType[] | null;
316
+ vendors: VendorType[] | null;
323
317
  }
324
318
  interface CreateFormData<T extends FieldValues> {
325
319
  control: Control<T, any>;
@@ -333,4 +327,4 @@ interface CreateFormData<T extends FieldValues> {
333
327
  watch: UseFormWatch<T>;
334
328
  }
335
329
 
336
- export type { EventWithConnectionDatesType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, RelationDate as H, ImageObjectType as I, VendorLocation as J, VendorMenuType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, VendorAttributes as Q, Requirement as R, StallType as S, TermsAgreement as T, VendorWithConnectionDatesType as U, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, DateTimeType as t, Region as u, SubcategoryItems as v, Subcategory as w, CreateFormData as x, DateTimeWithPriceType as y, PaymentInfoType as z };
330
+ export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, VendorLocation as H, ImageObjectType as I, VendorMenuType as J, VendorAttributes as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, Requirement as R, StallType as S, TermsAgreement as T, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, DateTimeType as t, Region as u, SubcategoryItems as v, Subcategory as w, CreateFormData as x, DateTimeWithPriceType as y, PaymentInfoType as z };
@@ -1,31 +1,5 @@
1
1
  import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
2
- import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
3
-
4
- type RelationDate = {
5
- lastUpdateBy: {
6
- resourceId: string;
7
- userEmail: string;
8
- };
9
- paymentReference?: string;
10
- stallType: StallType | null;
11
- startDate: string;
12
- startTime: string;
13
- status: EnumInviteStatus;
14
- };
15
- interface RelationType {
16
- _id?: string;
17
- active: boolean;
18
- apiMessage?: string;
19
- chatId?: string;
20
- createdAt?: string;
21
- deletedAt?: string | null;
22
- lastUpdateBy: EnumResourceType;
23
- eventId: string;
24
- relationDates: RelationDate[];
25
- relationType: EnumRelationResource;
26
- vendorId: string;
27
- updatedAt?: string;
28
- }
2
+ import { EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
29
3
 
30
4
  type StallType = {
31
5
  label: string;
@@ -84,8 +58,31 @@ interface EventType extends BaseResourceType {
84
58
  type EventInfoType = Omit<EventInfoFormData, "_id"> & {
85
59
  _id: string;
86
60
  };
87
- interface EventWithConnectionDatesType extends EventType {
88
- relationDates: RelationDate[] | undefined;
61
+
62
+ type RelationDate = {
63
+ lastUpdateBy: {
64
+ resourceId: string;
65
+ userEmail: string;
66
+ };
67
+ paymentReference?: string;
68
+ stallType: StallType | null;
69
+ startDate: string;
70
+ startTime: string;
71
+ status: EnumInviteStatus;
72
+ };
73
+ interface RelationType {
74
+ _id?: string;
75
+ active: boolean;
76
+ apiMessage?: string;
77
+ chatId?: string;
78
+ createdAt?: string;
79
+ deletedAt?: string | null;
80
+ lastUpdateBy: EnumResourceType;
81
+ eventId: string;
82
+ relationDates: RelationDate[];
83
+ relationType: EnumRelationResource;
84
+ vendorId: string;
85
+ updatedAt?: string;
89
86
  }
90
87
 
91
88
  type VendorLocation = {
@@ -166,9 +163,6 @@ interface VendorType extends BaseResourceType {
166
163
  type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
167
164
  _id: string;
168
165
  };
169
- interface VendorWithConnectionDatesType extends VendorType {
170
- relationDates: RelationDate[] | undefined;
171
- }
172
166
 
173
167
  type Nullable<T> = {
174
168
  [K in keyof T]: T[K] | null | undefined;
@@ -318,8 +312,8 @@ type ImageObjectType = {
318
312
  name: string;
319
313
  };
320
314
  interface ResourceConnectionsType {
321
- events: EventWithConnectionDatesType[] | null;
322
- vendors: VendorWithConnectionDatesType[] | null;
315
+ events: EventType[] | null;
316
+ vendors: VendorType[] | null;
323
317
  }
324
318
  interface CreateFormData<T extends FieldValues> {
325
319
  control: Control<T, any>;
@@ -333,4 +327,4 @@ interface CreateFormData<T extends FieldValues> {
333
327
  watch: UseFormWatch<T>;
334
328
  }
335
329
 
336
- export type { EventWithConnectionDatesType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, RelationDate as H, ImageObjectType as I, VendorLocation as J, VendorMenuType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, VendorAttributes as Q, Requirement as R, StallType as S, TermsAgreement as T, VendorWithConnectionDatesType as U, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, DateTimeType as t, Region as u, SubcategoryItems as v, Subcategory as w, CreateFormData as x, DateTimeWithPriceType as y, PaymentInfoType as z };
330
+ export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, VendorLocation as H, ImageObjectType as I, VendorMenuType as J, VendorAttributes as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, Requirement as R, StallType as S, TermsAgreement as T, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, DateTimeType as t, Region as u, SubcategoryItems as v, Subcategory as w, CreateFormData as x, DateTimeWithPriceType as y, PaymentInfoType as z };
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceViewsType } from '../resourceViews-B-u5nH1M.mjs';
3
- import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-CAQkxPc3.mjs';
3
+ import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-BpCkzdeB.mjs';
4
4
  import { EnumResourceType } from '../enums/index.mjs';
5
- import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-DIIPz6Cg.mjs';
5
+ import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-D6PyfsyB.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceViewsType } from '../resourceViews-BZZt3kvl.js';
3
- import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-B0ogdRmU.js';
3
+ import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-DfRb-Tdc.js';
4
4
  import { EnumResourceType } from '../enums/index.js';
5
- import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-iOu_E7DP.js';
5
+ import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-vOHYPnqC.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -1,6 +1,6 @@
1
- import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-CAQkxPc3.mjs';
2
- import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-DIIPz6Cg.mjs';
3
- import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-zj4ldAg5.mjs';
1
+ import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-BpCkzdeB.mjs';
2
+ import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-D6PyfsyB.mjs';
3
+ import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-DETM5FhC.mjs';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
- import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-B0ogdRmU.js';
2
- import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-iOu_E7DP.js';
3
- import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-b59uXZAI.js';
1
+ import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-DfRb-Tdc.js';
2
+ import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-vOHYPnqC.js';
3
+ import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-CS7JARU5.js';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.js';
6
6
 
package/dist/index.d.mts CHANGED
@@ -113,32 +113,6 @@ declare enum EnumSocialMedia {
113
113
  YOUTUBE = "youtube"
114
114
  }
115
115
 
116
- type RelationDate = {
117
- lastUpdateBy: {
118
- resourceId: string;
119
- userEmail: string;
120
- };
121
- paymentReference?: string;
122
- stallType: StallType | null;
123
- startDate: string;
124
- startTime: string;
125
- status: EnumInviteStatus;
126
- };
127
- interface RelationType {
128
- _id?: string;
129
- active: boolean;
130
- apiMessage?: string;
131
- chatId?: string;
132
- createdAt?: string;
133
- deletedAt?: string | null;
134
- lastUpdateBy: EnumResourceType;
135
- eventId: string;
136
- relationDates: RelationDate[];
137
- relationType: EnumRelationResource;
138
- vendorId: string;
139
- updatedAt?: string;
140
- }
141
-
142
116
  type StallType = {
143
117
  label: string;
144
118
  price: number;
@@ -196,8 +170,31 @@ interface EventType extends BaseResourceType {
196
170
  type EventInfoType = Omit<EventInfoFormData, "_id"> & {
197
171
  _id: string;
198
172
  };
199
- interface EventWithConnectionDatesType extends EventType {
200
- relationDates: RelationDate[] | undefined;
173
+
174
+ type RelationDate = {
175
+ lastUpdateBy: {
176
+ resourceId: string;
177
+ userEmail: string;
178
+ };
179
+ paymentReference?: string;
180
+ stallType: StallType | null;
181
+ startDate: string;
182
+ startTime: string;
183
+ status: EnumInviteStatus;
184
+ };
185
+ interface RelationType {
186
+ _id?: string;
187
+ active: boolean;
188
+ apiMessage?: string;
189
+ chatId?: string;
190
+ createdAt?: string;
191
+ deletedAt?: string | null;
192
+ lastUpdateBy: EnumResourceType;
193
+ eventId: string;
194
+ relationDates: RelationDate[];
195
+ relationType: EnumRelationResource;
196
+ vendorId: string;
197
+ updatedAt?: string;
201
198
  }
202
199
 
203
200
  type VendorLocation = {
@@ -278,9 +275,6 @@ interface VendorType extends BaseResourceType {
278
275
  type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
279
276
  _id: string;
280
277
  };
281
- interface VendorWithConnectionDatesType extends VendorType {
282
- relationDates: RelationDate[] | undefined;
283
- }
284
278
 
285
279
  type Nullable<T> = {
286
280
  [K in keyof T]: T[K] | null | undefined;
@@ -430,8 +424,8 @@ type ImageObjectType = {
430
424
  name: string;
431
425
  };
432
426
  interface ResourceConnectionsType {
433
- events: EventWithConnectionDatesType[] | null;
434
- vendors: VendorWithConnectionDatesType[] | null;
427
+ events: EventType[] | null;
428
+ vendors: VendorType[] | null;
435
429
  }
436
430
  interface CreateFormData<T extends FieldValues> {
437
431
  control: Control<T, any>;
@@ -1429,4 +1423,4 @@ declare const availableRegionOptions: OptionItem[];
1429
1423
  declare const paymentMethodOptions: OptionItem[];
1430
1424
  declare function normalizeUrl(url: string): string;
1431
1425
 
1432
- 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, 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 EventWithConnectionDatesType, 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 ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, type ResourceViewEntry, type ResourceViewInputType, type ResourceViewsType, 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 UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, type VendorWithConnectionDatesType, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, 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, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, 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, useGetResourceConnections, useGetResourceViews, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserEvents, useGetUserFavourites, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, 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 };
1426
+ 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, 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 ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, type ResourceViewEntry, type ResourceViewInputType, type ResourceViewsType, 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 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, 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, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, 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, useGetResourceConnections, useGetResourceViews, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserEvents, useGetUserFavourites, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, 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 };
package/dist/index.d.ts CHANGED
@@ -113,32 +113,6 @@ declare enum EnumSocialMedia {
113
113
  YOUTUBE = "youtube"
114
114
  }
115
115
 
116
- type RelationDate = {
117
- lastUpdateBy: {
118
- resourceId: string;
119
- userEmail: string;
120
- };
121
- paymentReference?: string;
122
- stallType: StallType | null;
123
- startDate: string;
124
- startTime: string;
125
- status: EnumInviteStatus;
126
- };
127
- interface RelationType {
128
- _id?: string;
129
- active: boolean;
130
- apiMessage?: string;
131
- chatId?: string;
132
- createdAt?: string;
133
- deletedAt?: string | null;
134
- lastUpdateBy: EnumResourceType;
135
- eventId: string;
136
- relationDates: RelationDate[];
137
- relationType: EnumRelationResource;
138
- vendorId: string;
139
- updatedAt?: string;
140
- }
141
-
142
116
  type StallType = {
143
117
  label: string;
144
118
  price: number;
@@ -196,8 +170,31 @@ interface EventType extends BaseResourceType {
196
170
  type EventInfoType = Omit<EventInfoFormData, "_id"> & {
197
171
  _id: string;
198
172
  };
199
- interface EventWithConnectionDatesType extends EventType {
200
- relationDates: RelationDate[] | undefined;
173
+
174
+ type RelationDate = {
175
+ lastUpdateBy: {
176
+ resourceId: string;
177
+ userEmail: string;
178
+ };
179
+ paymentReference?: string;
180
+ stallType: StallType | null;
181
+ startDate: string;
182
+ startTime: string;
183
+ status: EnumInviteStatus;
184
+ };
185
+ interface RelationType {
186
+ _id?: string;
187
+ active: boolean;
188
+ apiMessage?: string;
189
+ chatId?: string;
190
+ createdAt?: string;
191
+ deletedAt?: string | null;
192
+ lastUpdateBy: EnumResourceType;
193
+ eventId: string;
194
+ relationDates: RelationDate[];
195
+ relationType: EnumRelationResource;
196
+ vendorId: string;
197
+ updatedAt?: string;
201
198
  }
202
199
 
203
200
  type VendorLocation = {
@@ -278,9 +275,6 @@ interface VendorType extends BaseResourceType {
278
275
  type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
279
276
  _id: string;
280
277
  };
281
- interface VendorWithConnectionDatesType extends VendorType {
282
- relationDates: RelationDate[] | undefined;
283
- }
284
278
 
285
279
  type Nullable<T> = {
286
280
  [K in keyof T]: T[K] | null | undefined;
@@ -430,8 +424,8 @@ type ImageObjectType = {
430
424
  name: string;
431
425
  };
432
426
  interface ResourceConnectionsType {
433
- events: EventWithConnectionDatesType[] | null;
434
- vendors: VendorWithConnectionDatesType[] | null;
427
+ events: EventType[] | null;
428
+ vendors: VendorType[] | null;
435
429
  }
436
430
  interface CreateFormData<T extends FieldValues> {
437
431
  control: Control<T, any>;
@@ -1429,4 +1423,4 @@ declare const availableRegionOptions: OptionItem[];
1429
1423
  declare const paymentMethodOptions: OptionItem[];
1430
1424
  declare function normalizeUrl(url: string): string;
1431
1425
 
1432
- 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, 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 EventWithConnectionDatesType, 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 ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, type ResourceViewEntry, type ResourceViewInputType, type ResourceViewsType, 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 UserFormData, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorLocation, type VendorMenuType, type VendorType, type VendorWithConnectionDatesType, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultVendorFormValues, defaultVendorInfoFormValues, 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, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, 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, useGetResourceConnections, useGetResourceViews, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserEvents, useGetUserFavourites, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, 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 };
1426
+ 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, 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 ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, type ResourceViewEntry, type ResourceViewInputType, type ResourceViewsType, 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 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, 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, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, 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, useGetResourceConnections, useGetResourceViews, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserEvents, useGetUserFavourites, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, 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 };
@@ -1,8 +1,8 @@
1
1
  import { EnumResourceType } from '../enums/index.mjs';
2
- export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-zj4ldAg5.mjs';
2
+ export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-DETM5FhC.mjs';
3
3
  export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceViewEntry, g as ResourceViewInputType, R as ResourceViewsType } from '../resourceViews-B-u5nH1M.mjs';
4
- export { s as BaseResourceType, B as BaseResourceTypeFormData, C as Category, k as CreateEventFormData, m as CreateEventInfoFormData, x as CreateFormData, g as CreateVendorFormData, i as CreateVendorInfoFormData, t as DateTimeType, y as DateTimeWithPriceType, D as DeviceInfo, j as EventFormData, l as EventInfoFormData, b as EventInfoType, E as EventType, A as EventWithConnectionDatesType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, M as MapMultiLocation, N as Nullable, O as OptionItem, q as OwnerType, P as PartnerType, z as PaymentInfoType, r as PosterUsageType, u as Region, H as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, n as ResourceContactDetailsType, o as ResourceImageType, p as SocialMediaType, S as StallType, w as Subcategory, v as SubcategoryItems, T as TermsAgreement, Q as VendorAttributes, f as VendorFormData, h as VendorInfoFormData, e as VendorInfoType, J as VendorLocation, K as VendorMenuType, V as VendorType, U as VendorWithConnectionDatesType } from '../global-CAQkxPc3.mjs';
5
- export { d as AdFormData, A as AdType, e as CreateAdFormData, c as CreateTestersFormData, C as CreateUserFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, T as TesterType, b as TestersFormData, a as UserFormData, U as UserType } from '../ad-DIIPz6Cg.mjs';
4
+ export { s as BaseResourceType, B as BaseResourceTypeFormData, C as Category, k as CreateEventFormData, m as CreateEventInfoFormData, x as CreateFormData, g as CreateVendorFormData, i as CreateVendorInfoFormData, t as DateTimeType, y as DateTimeWithPriceType, D as DeviceInfo, j as EventFormData, l as EventInfoFormData, b as EventInfoType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, M as MapMultiLocation, N as Nullable, O as OptionItem, q as OwnerType, P as PartnerType, z as PaymentInfoType, r as PosterUsageType, u as Region, A as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, n as ResourceContactDetailsType, o as ResourceImageType, p as SocialMediaType, S as StallType, w as Subcategory, v as SubcategoryItems, T as TermsAgreement, K as VendorAttributes, f as VendorFormData, h as VendorInfoFormData, e as VendorInfoType, H as VendorLocation, J as VendorMenuType, V as VendorType } from '../global-BpCkzdeB.mjs';
5
+ export { d as AdFormData, A as AdType, e as CreateAdFormData, c as CreateTestersFormData, C as CreateUserFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, T as TesterType, b as TestersFormData, a as UserFormData, U as UserType } from '../ad-D6PyfsyB.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  interface AdminUpdateResourceType {
@@ -1,8 +1,8 @@
1
1
  import { EnumResourceType } from '../enums/index.js';
2
- export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-b59uXZAI.js';
2
+ export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-CS7JARU5.js';
3
3
  export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceViewEntry, g as ResourceViewInputType, R as ResourceViewsType } from '../resourceViews-BZZt3kvl.js';
4
- export { s as BaseResourceType, B as BaseResourceTypeFormData, C as Category, k as CreateEventFormData, m as CreateEventInfoFormData, x as CreateFormData, g as CreateVendorFormData, i as CreateVendorInfoFormData, t as DateTimeType, y as DateTimeWithPriceType, D as DeviceInfo, j as EventFormData, l as EventInfoFormData, b as EventInfoType, E as EventType, A as EventWithConnectionDatesType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, M as MapMultiLocation, N as Nullable, O as OptionItem, q as OwnerType, P as PartnerType, z as PaymentInfoType, r as PosterUsageType, u as Region, H as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, n as ResourceContactDetailsType, o as ResourceImageType, p as SocialMediaType, S as StallType, w as Subcategory, v as SubcategoryItems, T as TermsAgreement, Q as VendorAttributes, f as VendorFormData, h as VendorInfoFormData, e as VendorInfoType, J as VendorLocation, K as VendorMenuType, V as VendorType, U as VendorWithConnectionDatesType } from '../global-B0ogdRmU.js';
5
- export { d as AdFormData, A as AdType, e as CreateAdFormData, c as CreateTestersFormData, C as CreateUserFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, T as TesterType, b as TestersFormData, a as UserFormData, U as UserType } from '../ad-iOu_E7DP.js';
4
+ export { s as BaseResourceType, B as BaseResourceTypeFormData, C as Category, k as CreateEventFormData, m as CreateEventInfoFormData, x as CreateFormData, g as CreateVendorFormData, i as CreateVendorInfoFormData, t as DateTimeType, y as DateTimeWithPriceType, D as DeviceInfo, j as EventFormData, l as EventInfoFormData, b as EventInfoType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, M as MapMultiLocation, N as Nullable, O as OptionItem, q as OwnerType, P as PartnerType, z as PaymentInfoType, r as PosterUsageType, u as Region, A as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, n as ResourceContactDetailsType, o as ResourceImageType, p as SocialMediaType, S as StallType, w as Subcategory, v as SubcategoryItems, T as TermsAgreement, K as VendorAttributes, f as VendorFormData, h as VendorInfoFormData, e as VendorInfoType, H as VendorLocation, J as VendorMenuType, V as VendorType } from '../global-DfRb-Tdc.js';
5
+ export { d as AdFormData, A as AdType, e as CreateAdFormData, c as CreateTestersFormData, C as CreateUserFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, T as TesterType, b as TestersFormData, a as UserFormData, U as UserType } from '../ad-vOHYPnqC.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  interface AdminUpdateResourceType {
@@ -1,5 +1,5 @@
1
1
  import { EnumInviteStatus, EnumRegions } from '../enums/index.mjs';
2
- import { u as Region, O as OptionItem } from '../global-CAQkxPc3.mjs';
2
+ import { u as Region, O as OptionItem } from '../global-BpCkzdeB.mjs';
3
3
  import 'react-hook-form';
4
4
 
5
5
  declare const dateFormat = "DD-MM-YYYY";
@@ -1,5 +1,5 @@
1
1
  import { EnumInviteStatus, EnumRegions } from '../enums/index.js';
2
- import { u as Region, O as OptionItem } from '../global-B0ogdRmU.js';
2
+ import { u as Region, O as OptionItem } from '../global-DfRb-Tdc.js';
3
3
  import 'react-hook-form';
4
4
 
5
5
  declare const dateFormat = "DD-MM-YYYY";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timardex/cluemart-shared",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",