@timardex/cluemart-shared 1.2.65 → 1.2.66

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,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-DaiySFU6.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-BBzFtZee.mjs';
3
3
  export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceActivityEntry, g as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-DO97TmNs.mjs';
4
- export { A as AssociateType, r as BaseResourceType, B as BaseResourceTypeFormData, C as Category, k as CreateEventFormData, m as CreateEventInfoFormData, w as CreateFormData, g as CreateVendorFormData, i as CreateVendorInfoFormData, s as DateTimeType, x 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, y as PaymentInfoType, P as PosterUsageType, t as Region, z as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, n as ResourceContactDetailsType, o as ResourceImageType, p as SocialMediaType, S as StallType, v as Subcategory, u 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-CKf55A-q.mjs';
5
- export { e as AdFormData, A as AdType, f as CreateAdFormData, g as CreatePartnerFormData, d as CreateTestersFormData, C as CreateUserFormData, l as EnumAdShowOn, E as EnumAdStatus, n as EnumAdStyle, m as EnumAdType, b as PartnerFormData, P as PartnerType, i as StripeSubscription, S as SubscriptionStatusData, T as TesterType, c as TestersFormData, j as UserActivity, h as UserActivityEvent, a as UserFormData, k as UserLicenceType, U as UserType } from '../ad-VhDIYwfz.mjs';
4
+ export { A as AssociateType, u as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateEventFormData, n as CreateEventInfoFormData, z as CreateFormData, p as CreateUserFormData, h as CreateVendorFormData, j as CreateVendorInfoFormData, v as DateTimeType, H as DateTimeWithPriceType, D as DeviceInfo, k as EventFormData, m 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, t as OwnerType, J as PaymentInfoType, P as PosterUsageType, w as Region, K as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceContactDetailsType, r as ResourceImageType, s as SocialMediaType, S as StallType, Z as StripeSubscription, y as Subcategory, x as SubcategoryItems, f as SubscriptionStatusData, T as TermsAgreement, _ as UserActivity, Y as UserActivityEvent, o as UserFormData, $ as UserLicenceType, U as UserType, X as VendorAttributes, g as VendorFormData, i as VendorInfoFormData, e as VendorInfoType, Q as VendorLocation, W as VendorMenuType, V as VendorType } from '../global-WNM-jttW.mjs';
5
+ export { c as AdFormData, A as AdType, d as CreateAdFormData, e as CreatePartnerFormData, C as CreateTestersFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, a as PartnerFormData, P as PartnerType, T as TesterType, b as TestersFormData } from '../ad-DC4CQ8Gp.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-BwtjPUgO.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-DqNTAngW.js';
3
3
  export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceActivityEntry, g as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-BkGGnxjl.js';
4
- export { A as AssociateType, r as BaseResourceType, B as BaseResourceTypeFormData, C as Category, k as CreateEventFormData, m as CreateEventInfoFormData, w as CreateFormData, g as CreateVendorFormData, i as CreateVendorInfoFormData, s as DateTimeType, x 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, y as PaymentInfoType, P as PosterUsageType, t as Region, z as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, n as ResourceContactDetailsType, o as ResourceImageType, p as SocialMediaType, S as StallType, v as Subcategory, u 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-BY8seqWN.js';
5
- export { e as AdFormData, A as AdType, f as CreateAdFormData, g as CreatePartnerFormData, d as CreateTestersFormData, C as CreateUserFormData, l as EnumAdShowOn, E as EnumAdStatus, n as EnumAdStyle, m as EnumAdType, b as PartnerFormData, P as PartnerType, i as StripeSubscription, S as SubscriptionStatusData, T as TesterType, c as TestersFormData, j as UserActivity, h as UserActivityEvent, a as UserFormData, k as UserLicenceType, U as UserType } from '../ad-CogBHjto.js';
4
+ export { A as AssociateType, u as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateEventFormData, n as CreateEventInfoFormData, z as CreateFormData, p as CreateUserFormData, h as CreateVendorFormData, j as CreateVendorInfoFormData, v as DateTimeType, H as DateTimeWithPriceType, D as DeviceInfo, k as EventFormData, m 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, t as OwnerType, J as PaymentInfoType, P as PosterUsageType, w as Region, K as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceContactDetailsType, r as ResourceImageType, s as SocialMediaType, S as StallType, Z as StripeSubscription, y as Subcategory, x as SubcategoryItems, f as SubscriptionStatusData, T as TermsAgreement, _ as UserActivity, Y as UserActivityEvent, o as UserFormData, $ as UserLicenceType, U as UserType, X as VendorAttributes, g as VendorFormData, i as VendorInfoFormData, e as VendorInfoType, Q as VendorLocation, W as VendorMenuType, V as VendorType } from '../global-JXYCto5-.js';
5
+ export { c as AdFormData, A as AdType, d as CreateAdFormData, e as CreatePartnerFormData, C as CreateTestersFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, a as PartnerFormData, P as PartnerType, T as TesterType, b as TestersFormData } from '../ad-BChCn4Ka.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 { t as Region, O as OptionItem } from '../global-CKf55A-q.mjs';
2
+ import { w as Region, O as OptionItem } from '../global-WNM-jttW.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 { t as Region, O as OptionItem } from '../global-BY8seqWN.js';
2
+ import { w as Region, O as OptionItem } from '../global-JXYCto5-.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.65",
3
+ "version": "1.2.66",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -1,166 +0,0 @@
1
- import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole, EnumSubscriptionStatus, EnumEventDateStatus, EnumPartnerType } from './enums/index.js';
2
- import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-BY8seqWN.js';
3
-
4
- interface TestersFormData {
5
- categories?: Category[] | null;
6
- companyName: string;
7
- email: string;
8
- firstName: string;
9
- lastName: string;
10
- osType: EnumOSPlatform;
11
- region: string;
12
- resourceType: EnumResourceType;
13
- }
14
- type CreateTestersFormData = CreateFormData<TestersFormData>;
15
- interface TesterType extends TestersFormData {
16
- _id: string;
17
- active: boolean;
18
- createdAt: string;
19
- updatedAt: string;
20
- }
21
-
22
- type UserFormData = {
23
- _id?: string;
24
- active: boolean;
25
- avatar?: ResourceImageType | null;
26
- avatarUpload?: ResourceImageType | null;
27
- confirmPassword?: string | null;
28
- email: string;
29
- firstName: string;
30
- isTester: boolean;
31
- lastName: string;
32
- password?: string | null;
33
- platform?: EnumOSPlatform;
34
- preferredRegion: string;
35
- role: EnumUserRole;
36
- termsAgreement?: TermsAgreement | null;
37
- };
38
- type CreateUserFormData = CreateFormData<UserFormData>;
39
- type UserActivityEvent = {
40
- dateStatus: EnumEventDateStatus;
41
- resourceId: string;
42
- startDate: string;
43
- startTime: string;
44
- };
45
- type StripeSubscription = {
46
- customerId?: string;
47
- subscriptionId?: string;
48
- status?: EnumSubscriptionStatus;
49
- currentPlan?: EnumUserLicence;
50
- startDate?: string;
51
- endDate?: string;
52
- };
53
- type SubscriptionStatusData = {
54
- subscriptionId: string | null;
55
- status: EnumSubscriptionStatus;
56
- priceId: string | null;
57
- currentPlan: EnumUserLicence | null;
58
- };
59
- type UserActivity = {
60
- favourites: {
61
- events: string[];
62
- vendors: string[];
63
- partners: string[];
64
- };
65
- going: {
66
- events: UserActivityEvent[];
67
- };
68
- interested: {
69
- events: UserActivityEvent[];
70
- };
71
- present: {
72
- events: UserActivityEvent[];
73
- };
74
- };
75
- type UserLicenceType = {
76
- expiryDate: string | null;
77
- issuedDate: string | null;
78
- licenceType: EnumUserLicence;
79
- };
80
- interface UserType {
81
- _id: string;
82
- active: boolean;
83
- associates?: AssociateType[] | null;
84
- avatar: ResourceImageType | null;
85
- createdAt: string;
86
- deletedAt: string | null;
87
- email: string;
88
- events: string[] | null;
89
- firstName: string;
90
- isTester: boolean;
91
- lastName: string;
92
- licences: UserLicenceType[] | null;
93
- partner: string | null;
94
- password: string;
95
- platform: EnumOSPlatform | null;
96
- preferredRegion: string;
97
- refreshToken: string | null;
98
- role: EnumUserRole;
99
- stripe?: StripeSubscription;
100
- termsAgreement?: TermsAgreement | null;
101
- updatedAt: string;
102
- userActivity: UserActivity | null;
103
- vendor: string | null;
104
- }
105
-
106
- interface PartnerFormData extends BaseResourceTypeFormData {
107
- location: LocationType;
108
- nzbn: string;
109
- partnerType: EnumPartnerType;
110
- }
111
- type CreatePartnerFormData = CreateFormData<PartnerFormData>;
112
- interface PartnerType extends BaseResourceType {
113
- location: LocationType;
114
- nzbn: string;
115
- partnerType: EnumPartnerType;
116
- }
117
-
118
- declare enum EnumAdShowOn {
119
- EVENTS_PAGE = "Events_page",
120
- FRONT_PAGE = "Front_page",
121
- PARTNERS_PAGE = "Partners_page",
122
- VENDORS_PAGE = "Vendors_page"
123
- }
124
- declare enum EnumAdStatus {
125
- ACTIVE = "Active",
126
- PAUSED = "Paused",
127
- EXPIRED = "Expired"
128
- }
129
- declare enum EnumAdType {
130
- SPONSORED = "Sponsored",
131
- FREE = "Free"
132
- }
133
- declare enum EnumAdStyle {
134
- BLOOM = "Bloom",
135
- RISE = "Rise"
136
- }
137
- interface AdFormData {
138
- active: boolean;
139
- adStyle: EnumAdStyle;
140
- adType: EnumAdType;
141
- clui?: string | null;
142
- end: Date;
143
- resourceCover: string;
144
- resourceDescription: string;
145
- resourceId: string;
146
- resourceLogo?: string | null;
147
- resourceName: string;
148
- resourceRegion: string;
149
- resourceType: EnumResourceType;
150
- showOn: EnumAdShowOn;
151
- socialMedia?: SocialMediaType[] | null;
152
- start?: Date;
153
- status: EnumAdStatus;
154
- targetRegion?: string | null;
155
- }
156
- type CreateAdFormData = CreateFormData<AdFormData>;
157
- interface AdType extends AdFormData {
158
- _id: string;
159
- clicks?: number;
160
- createdAt: Date;
161
- impressions?: number;
162
- start: Date;
163
- updatedAt: Date;
164
- }
165
-
166
- export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, type PartnerType as P, type SubscriptionStatusData as S, type TesterType as T, type UserType as U, type UserFormData as a, type PartnerFormData as b, type TestersFormData as c, type CreateTestersFormData as d, type AdFormData as e, type CreateAdFormData as f, type CreatePartnerFormData as g, type UserActivityEvent as h, type StripeSubscription as i, type UserActivity as j, type UserLicenceType as k, EnumAdShowOn as l, EnumAdType as m, EnumAdStyle as n };
@@ -1,166 +0,0 @@
1
- import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole, EnumSubscriptionStatus, EnumEventDateStatus, EnumPartnerType } from './enums/index.mjs';
2
- import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-CKf55A-q.mjs';
3
-
4
- interface TestersFormData {
5
- categories?: Category[] | null;
6
- companyName: string;
7
- email: string;
8
- firstName: string;
9
- lastName: string;
10
- osType: EnumOSPlatform;
11
- region: string;
12
- resourceType: EnumResourceType;
13
- }
14
- type CreateTestersFormData = CreateFormData<TestersFormData>;
15
- interface TesterType extends TestersFormData {
16
- _id: string;
17
- active: boolean;
18
- createdAt: string;
19
- updatedAt: string;
20
- }
21
-
22
- type UserFormData = {
23
- _id?: string;
24
- active: boolean;
25
- avatar?: ResourceImageType | null;
26
- avatarUpload?: ResourceImageType | null;
27
- confirmPassword?: string | null;
28
- email: string;
29
- firstName: string;
30
- isTester: boolean;
31
- lastName: string;
32
- password?: string | null;
33
- platform?: EnumOSPlatform;
34
- preferredRegion: string;
35
- role: EnumUserRole;
36
- termsAgreement?: TermsAgreement | null;
37
- };
38
- type CreateUserFormData = CreateFormData<UserFormData>;
39
- type UserActivityEvent = {
40
- dateStatus: EnumEventDateStatus;
41
- resourceId: string;
42
- startDate: string;
43
- startTime: string;
44
- };
45
- type StripeSubscription = {
46
- customerId?: string;
47
- subscriptionId?: string;
48
- status?: EnumSubscriptionStatus;
49
- currentPlan?: EnumUserLicence;
50
- startDate?: string;
51
- endDate?: string;
52
- };
53
- type SubscriptionStatusData = {
54
- subscriptionId: string | null;
55
- status: EnumSubscriptionStatus;
56
- priceId: string | null;
57
- currentPlan: EnumUserLicence | null;
58
- };
59
- type UserActivity = {
60
- favourites: {
61
- events: string[];
62
- vendors: string[];
63
- partners: string[];
64
- };
65
- going: {
66
- events: UserActivityEvent[];
67
- };
68
- interested: {
69
- events: UserActivityEvent[];
70
- };
71
- present: {
72
- events: UserActivityEvent[];
73
- };
74
- };
75
- type UserLicenceType = {
76
- expiryDate: string | null;
77
- issuedDate: string | null;
78
- licenceType: EnumUserLicence;
79
- };
80
- interface UserType {
81
- _id: string;
82
- active: boolean;
83
- associates?: AssociateType[] | null;
84
- avatar: ResourceImageType | null;
85
- createdAt: string;
86
- deletedAt: string | null;
87
- email: string;
88
- events: string[] | null;
89
- firstName: string;
90
- isTester: boolean;
91
- lastName: string;
92
- licences: UserLicenceType[] | null;
93
- partner: string | null;
94
- password: string;
95
- platform: EnumOSPlatform | null;
96
- preferredRegion: string;
97
- refreshToken: string | null;
98
- role: EnumUserRole;
99
- stripe?: StripeSubscription;
100
- termsAgreement?: TermsAgreement | null;
101
- updatedAt: string;
102
- userActivity: UserActivity | null;
103
- vendor: string | null;
104
- }
105
-
106
- interface PartnerFormData extends BaseResourceTypeFormData {
107
- location: LocationType;
108
- nzbn: string;
109
- partnerType: EnumPartnerType;
110
- }
111
- type CreatePartnerFormData = CreateFormData<PartnerFormData>;
112
- interface PartnerType extends BaseResourceType {
113
- location: LocationType;
114
- nzbn: string;
115
- partnerType: EnumPartnerType;
116
- }
117
-
118
- declare enum EnumAdShowOn {
119
- EVENTS_PAGE = "Events_page",
120
- FRONT_PAGE = "Front_page",
121
- PARTNERS_PAGE = "Partners_page",
122
- VENDORS_PAGE = "Vendors_page"
123
- }
124
- declare enum EnumAdStatus {
125
- ACTIVE = "Active",
126
- PAUSED = "Paused",
127
- EXPIRED = "Expired"
128
- }
129
- declare enum EnumAdType {
130
- SPONSORED = "Sponsored",
131
- FREE = "Free"
132
- }
133
- declare enum EnumAdStyle {
134
- BLOOM = "Bloom",
135
- RISE = "Rise"
136
- }
137
- interface AdFormData {
138
- active: boolean;
139
- adStyle: EnumAdStyle;
140
- adType: EnumAdType;
141
- clui?: string | null;
142
- end: Date;
143
- resourceCover: string;
144
- resourceDescription: string;
145
- resourceId: string;
146
- resourceLogo?: string | null;
147
- resourceName: string;
148
- resourceRegion: string;
149
- resourceType: EnumResourceType;
150
- showOn: EnumAdShowOn;
151
- socialMedia?: SocialMediaType[] | null;
152
- start?: Date;
153
- status: EnumAdStatus;
154
- targetRegion?: string | null;
155
- }
156
- type CreateAdFormData = CreateFormData<AdFormData>;
157
- interface AdType extends AdFormData {
158
- _id: string;
159
- clicks?: number;
160
- createdAt: Date;
161
- impressions?: number;
162
- start: Date;
163
- updatedAt: Date;
164
- }
165
-
166
- export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, type PartnerType as P, type SubscriptionStatusData as S, type TesterType as T, type UserType as U, type UserFormData as a, type PartnerFormData as b, type TestersFormData as c, type CreateTestersFormData as d, type AdFormData as e, type CreateAdFormData as f, type CreatePartnerFormData as g, type UserActivityEvent as h, type StripeSubscription as i, type UserActivity as j, type UserLicenceType as k, EnumAdShowOn as l, EnumAdType as m, EnumAdStyle as n };