@timardex/cluemart-shared 1.2.60 → 1.2.62

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, 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-Fgweq_ct.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
3
 
4
4
  interface TestersFormData {
5
5
  categories?: Category[] | null;
@@ -72,6 +72,11 @@ type UserActivity = {
72
72
  events: UserActivityEvent[];
73
73
  };
74
74
  };
75
+ type LicenceType = {
76
+ licence: EnumUserLicence;
77
+ issuedDate: string;
78
+ expiryDate: string;
79
+ };
75
80
  interface UserType {
76
81
  _id: string;
77
82
  active: boolean;
@@ -84,7 +89,7 @@ interface UserType {
84
89
  firstName: string;
85
90
  isTester: boolean;
86
91
  lastName: string;
87
- licences: EnumUserLicence[] | null;
92
+ licences: LicenceType[] | null;
88
93
  partner: string | null;
89
94
  password: string;
90
95
  platform: EnumOSPlatform | null;
@@ -158,4 +163,4 @@ interface AdType extends AdFormData {
158
163
  updatedAt: Date;
159
164
  }
160
165
 
161
- 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, EnumAdShowOn as k, EnumAdType as l, EnumAdStyle as m };
166
+ export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, type LicenceType as L, 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, EnumAdShowOn as k, EnumAdType as l, EnumAdStyle as m };
@@ -1,5 +1,5 @@
1
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-RAEmLq2G.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
3
 
4
4
  interface TestersFormData {
5
5
  categories?: Category[] | null;
@@ -72,6 +72,11 @@ type UserActivity = {
72
72
  events: UserActivityEvent[];
73
73
  };
74
74
  };
75
+ type LicenceType = {
76
+ licence: EnumUserLicence;
77
+ issuedDate: string;
78
+ expiryDate: string;
79
+ };
75
80
  interface UserType {
76
81
  _id: string;
77
82
  active: boolean;
@@ -84,7 +89,7 @@ interface UserType {
84
89
  firstName: string;
85
90
  isTester: boolean;
86
91
  lastName: string;
87
- licences: EnumUserLicence[] | null;
92
+ licences: LicenceType[] | null;
88
93
  partner: string | null;
89
94
  password: string;
90
95
  platform: EnumOSPlatform | null;
@@ -158,4 +163,4 @@ interface AdType extends AdFormData {
158
163
  updatedAt: Date;
159
164
  }
160
165
 
161
- 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, EnumAdShowOn as k, EnumAdType as l, EnumAdStyle as m };
166
+ export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, type LicenceType as L, 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, EnumAdShowOn as k, EnumAdType as l, EnumAdStyle as m };
@@ -1,4 +1,4 @@
1
- import { w as CreateFormData, T as TermsAgreement } from './global-Fgweq_ct.js';
1
+ import { w as CreateFormData, T as TermsAgreement } from './global-BY8seqWN.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { w as CreateFormData, T as TermsAgreement } from './global-RAEmLq2G.mjs';
1
+ import { w as CreateFormData, T as TermsAgreement } from './global-CKf55A-q.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {