@aldb2b/common 1.0.2151 → 1.0.2154

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/build/entities/models/common/common.provider.d.ts +6 -12
  2. package/build/entities/models/common/entities/audit-trail.entity.d.ts +2 -4
  3. package/build/entities/models/common/entities/location.entity.d.ts +2 -4
  4. package/build/entities/models/common/entities/preference-customization.entity.d.ts +2 -4
  5. package/build/entities/models/common/entities/tracing.entity.d.ts +2 -4
  6. package/build/entities/models/companies/companies.provider.d.ts +16 -32
  7. package/build/entities/models/companies/entities/categories/category.schema.d.ts +2 -4
  8. package/build/entities/models/companies/entities/cities/city.schema.d.ts +2 -4
  9. package/build/entities/models/companies/entities/companies/company.entity.d.ts +2 -4
  10. package/build/entities/models/companies/entities/contacts/contact.entity.d.ts +2 -4
  11. package/build/entities/models/companies/entities/countries/country.schema.d.ts +2 -4
  12. package/build/entities/models/companies/entities/itps/itp.entity.d.ts +2 -4
  13. package/build/entities/models/events/entities/event/event.entity.d.ts +2 -4
  14. package/build/entities/models/events/entities/eventProfile/company-profile-item.entity.d.ts +2 -4
  15. package/build/entities/models/events/entities/eventProfile/event-profile.entity.d.ts +2 -4
  16. package/build/entities/models/events/entities/eventType/event-type.entity.d.ts +2 -4
  17. package/build/entities/models/events/entities/timestamp.entity.d.ts +2 -4
  18. package/build/entities/models/events/events.provider.d.ts +6 -12
  19. package/build/entities/models/meetings/entities/meetingRequests/meeting-request.entity.d.ts +2 -4
  20. package/build/entities/models/meetings/entities/meetings/meeting.entity.d.ts +2 -4
  21. package/build/entities/models/meetings/entities/userAvailabilities/user-availability-timeslot.entity.d.ts +2 -4
  22. package/build/entities/models/meetings/entities/userAvailabilities/user-availability.entity.d.ts +2 -4
  23. package/build/entities/models/meetings/meetings.provider.d.ts +6 -12
  24. package/build/entities/models/model.providers.d.ts +44 -88
  25. package/build/entities/models/subscriptions/entities/companySubscriptions/company-subscription.entity.d.ts +2 -4
  26. package/build/entities/models/subscriptions/entities/eventSubscriptions/event-subscription.entity.d.ts +2 -4
  27. package/build/entities/models/subscriptions/entities/features/feature.entity.d.ts +2 -4
  28. package/build/entities/models/subscriptions/entities/managedServiceSubscriptions/managed-service-subscription.entity.d.ts +2 -4
  29. package/build/entities/models/subscriptions/entities/subscription/subscription.entity.d.ts +2 -4
  30. package/build/entities/models/subscriptions/entities/subscriptionLogs/subscription-log.entity.d.ts +2 -4
  31. package/build/entities/models/subscriptions/subscriptions.provider.d.ts +12 -24
  32. package/build/entities/models/users/entities/rolePermissions/permission.entity.d.ts +2 -4
  33. package/build/entities/models/users/entities/rolePermissions/role-permission.entity.d.ts +2 -4
  34. package/build/entities/models/users/entities/users/chat-info.entity.d.ts +2 -4
  35. package/build/entities/models/users/entities/users/user.entity.d.ts +2 -4
  36. package/build/entities/models/users/users.provider.d.ts +4 -8
  37. package/build/events/send-emails.interface.d.ts +7 -1
  38. package/build/tsconfig.tsbuildinfo +1 -1
  39. package/build/types/notification-event.enum.d.ts +4 -1
  40. package/build/types/notification-event.enum.js +3 -0
  41. package/build/types/notification-event.enum.js.map +1 -1
  42. package/build/utils/rmq/client/rabbitmq.client.js +16 -2
  43. package/build/utils/rmq/client/rabbitmq.client.js.map +1 -1
  44. package/build/utils/rmq/server/rabbitmq.server.js +8 -1
  45. package/build/utils/rmq/server/rabbitmq.server.js.map +1 -1
  46. package/package.json +46 -46
@@ -13,11 +13,9 @@ import { Tracing } from "./entities/tracing.entity";
13
13
  import { TracingRepository } from "./repositories/tracing.repository";
14
14
  export declare const commonProviders: ({
15
15
  provide: DatabaseModel;
16
- useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<AuditTrail, {}, {}, {}, import("mongoose").Document<unknown, {}, AuditTrail, {}, {}> & AuditTrail & Required<{
16
+ useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<AuditTrail, {}, {}, {}, import("mongoose").Document<unknown, {}, AuditTrail> & AuditTrail & Required<{
17
17
  _id: string;
18
- }> & {
19
- __v: number;
20
- }, any>;
18
+ }>, any>;
21
19
  inject: DatabaseConnection[];
22
20
  } | {
23
21
  provide: RepositoryProvider;
@@ -29,11 +27,9 @@ export declare const commonProviders: ({
29
27
  useFactory: (auditLogRepository: AuditTrailRepository, userModel: CustomModel<User>) => AuditTrailService;
30
28
  } | {
31
29
  provide: DatabaseModel;
32
- useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, companyConnection: import("mongoose").Connection) => import("mongoose").Model<PreferenceCustomization, {}, {}, {}, import("mongoose").Document<unknown, {}, PreferenceCustomization, {}, {}> & PreferenceCustomization & Required<{
30
+ useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, companyConnection: import("mongoose").Connection) => import("mongoose").Model<PreferenceCustomization, {}, {}, {}, import("mongoose").Document<unknown, {}, PreferenceCustomization> & PreferenceCustomization & Required<{
33
31
  _id: string;
34
- }> & {
35
- __v: number;
36
- }, any>;
32
+ }>, any>;
37
33
  inject: DatabaseConnection[];
38
34
  } | {
39
35
  provide: RepositoryProvider;
@@ -41,11 +37,9 @@ export declare const commonProviders: ({
41
37
  useFactory: (preferenceCustomizationModel: CustomModel<PreferenceCustomization>) => PreferenceCustomizationRepository;
42
38
  } | {
43
39
  provide: DatabaseModel;
44
- useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<Tracing, {}, {}, {}, import("mongoose").Document<unknown, {}, Tracing, {}, {}> & Tracing & Required<{
40
+ useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<Tracing, {}, {}, {}, import("mongoose").Document<unknown, {}, Tracing> & Tracing & Required<{
45
41
  _id: string;
46
- }> & {
47
- __v: number;
48
- }, any>;
42
+ }>, any>;
49
43
  inject: DatabaseConnection[];
50
44
  } | {
51
45
  provide: RepositoryProvider;
@@ -18,8 +18,6 @@ export declare class AuditTrail {
18
18
  performedByName: string;
19
19
  performedAt: Date;
20
20
  }
21
- export declare const auditTrailFactory: (connection: Connection, eventConnection: Connection, userConnection: Connection) => import("mongoose").Model<AuditTrail, {}, {}, {}, import("mongoose").Document<unknown, {}, AuditTrail, {}, {}> & AuditTrail & Required<{
21
+ export declare const auditTrailFactory: (connection: Connection, eventConnection: Connection, userConnection: Connection) => import("mongoose").Model<AuditTrail, {}, {}, {}, import("mongoose").Document<unknown, {}, AuditTrail> & AuditTrail & Required<{
22
22
  _id: string;
23
- }> & {
24
- __v: number;
25
- }, any>;
23
+ }>, any>;
@@ -6,8 +6,6 @@ export declare class Location {
6
6
  type: string;
7
7
  coordinates: number[];
8
8
  }
9
- export declare const LocationSchema: Schema<Location, LocationModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Location, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Location>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<Location> & Required<{
9
+ export declare const LocationSchema: Schema<Location, LocationModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Location, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Location>> & import("mongoose").FlatRecord<Location> & Required<{
10
10
  _id: string;
11
- }> & {
12
- __v: number;
13
- }>;
11
+ }>>;
@@ -22,8 +22,6 @@ export declare class PreferenceCustomization {
22
22
  createdAt: Date;
23
23
  updatedAt: Date;
24
24
  }
25
- export declare const preferenceCustomizationFactory: (connection: Connection, eventConnection: Connection, companyConnection: Connection) => import("mongoose").Model<PreferenceCustomization, {}, {}, {}, import("mongoose").Document<unknown, {}, PreferenceCustomization, {}, {}> & PreferenceCustomization & Required<{
25
+ export declare const preferenceCustomizationFactory: (connection: Connection, eventConnection: Connection, companyConnection: Connection) => import("mongoose").Model<PreferenceCustomization, {}, {}, {}, import("mongoose").Document<unknown, {}, PreferenceCustomization> & PreferenceCustomization & Required<{
26
26
  _id: string;
27
- }> & {
28
- __v: number;
29
- }, any>;
27
+ }>, any>;
@@ -19,8 +19,6 @@ export declare class Tracing {
19
19
  createdAt: Date;
20
20
  updatedAt: Date;
21
21
  }
22
- export declare const TracingFactory: (connection: Connection, eventConnection: Connection, userConnection: Connection) => import("mongoose").Model<Tracing, {}, {}, {}, import("mongoose").Document<unknown, {}, Tracing, {}, {}> & Tracing & Required<{
22
+ export declare const TracingFactory: (connection: Connection, eventConnection: Connection, userConnection: Connection) => import("mongoose").Model<Tracing, {}, {}, {}, import("mongoose").Document<unknown, {}, Tracing> & Tracing & Required<{
23
23
  _id: string;
24
- }> & {
25
- __v: number;
26
- }, any>;
24
+ }>, any>;
@@ -14,67 +14,51 @@ import { SubscriptionLog } from "../subscriptions";
14
14
  import { ContactCommonRepository } from "./repositories/contact-common.repository";
15
15
  export declare const companiesProviders: ({
16
16
  provide: DatabaseModel;
17
- useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/countries/country.schema").Country, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/countries/country.schema").Country, {}, {}> & import("./entities/countries/country.schema").Country & Required<{
17
+ useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/countries/country.schema").Country, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/countries/country.schema").Country> & import("./entities/countries/country.schema").Country & Required<{
18
18
  _id: string;
19
- }> & {
20
- __v: number;
21
- }, any>;
19
+ }>, any>;
22
20
  inject: DatabaseConnection[];
23
21
  } | {
24
22
  provide: DatabaseModel;
25
- useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/categories/category.schema").Category, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/categories/category.schema").Category, {}, {}> & import("./entities/categories/category.schema").Category & Required<{
23
+ useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/categories/category.schema").Category, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/categories/category.schema").Category> & import("./entities/categories/category.schema").Category & Required<{
26
24
  _id: string;
27
- }> & {
28
- __v: number;
29
- }, any>;
25
+ }>, any>;
30
26
  inject: DatabaseConnection[];
31
27
  } | {
32
28
  provide: DatabaseModel;
33
- useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/cities/city.schema").City, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/cities/city.schema").City, {}, {}> & import("./entities/cities/city.schema").City & Required<{
29
+ useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/cities/city.schema").City, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/cities/city.schema").City> & import("./entities/cities/city.schema").City & Required<{
34
30
  _id: string;
35
- }> & {
36
- __v: number;
37
- }, any>;
31
+ }>, any>;
38
32
  inject: DatabaseConnection[];
39
33
  } | {
40
34
  provide: DatabaseModel;
41
- useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<Company, {}, {}, {}, import("mongoose").Document<unknown, {}, Company, {}, {}> & Company & Required<{
35
+ useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<Company, {}, {}, {}, import("mongoose").Document<unknown, {}, Company> & Company & Required<{
42
36
  _id: string;
43
- }> & {
44
- __v: number;
45
- }, any>;
37
+ }>, any>;
46
38
  inject: DatabaseConnection[];
47
39
  } | {
48
40
  provide: DatabaseModel;
49
- useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/contacts/contact.entity").Contact, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/contacts/contact.entity").Contact, {}, {}> & import("./entities/contacts/contact.entity").Contact & Required<{
41
+ useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/contacts/contact.entity").Contact, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/contacts/contact.entity").Contact> & import("./entities/contacts/contact.entity").Contact & Required<{
50
42
  _id: string;
51
- }> & {
52
- __v: number;
53
- }, any>;
43
+ }>, any>;
54
44
  inject: DatabaseConnection[];
55
45
  } | {
56
46
  provide: DatabaseModel;
57
- useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<MeetingRequest, {}, {}, {}, import("mongoose").Document<unknown, {}, MeetingRequest, {}, {}> & MeetingRequest & Required<{
47
+ useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<MeetingRequest, {}, {}, {}, import("mongoose").Document<unknown, {}, MeetingRequest> & MeetingRequest & Required<{
58
48
  _id: string;
59
- }> & {
60
- __v: number;
61
- }, any>;
49
+ }>, any>;
62
50
  inject: DatabaseConnection[];
63
51
  } | {
64
52
  provide: DatabaseModel;
65
- useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, subscriptionConnection: import("mongoose").Connection) => import("mongoose").Model<Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, Meeting, {}, {}> & Meeting & Required<{
53
+ useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, subscriptionConnection: import("mongoose").Connection) => import("mongoose").Model<Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, Meeting> & Meeting & Required<{
66
54
  _id: string;
67
- }> & {
68
- __v: number;
69
- }, any>;
55
+ }>, any>;
70
56
  inject: DatabaseConnection[];
71
57
  } | {
72
58
  provide: DatabaseModel;
73
- useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<SubscriptionLog, {}, {}, {}, import("mongoose").Document<unknown, {}, SubscriptionLog, {}, {}> & SubscriptionLog & Required<{
59
+ useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<SubscriptionLog, {}, {}, {}, import("mongoose").Document<unknown, {}, SubscriptionLog> & SubscriptionLog & Required<{
74
60
  _id: string;
75
- }> & {
76
- __v: number;
77
- }, any>;
61
+ }>, any>;
78
62
  inject: DatabaseConnection[];
79
63
  } | {
80
64
  provide: RepositoryProvider;
@@ -16,8 +16,6 @@ export declare class Category {
16
16
  createdAt: Date;
17
17
  updatedAt: Date;
18
18
  }
19
- export declare const categoryFactory: (connection: Connection, eventConnection: Connection) => import("mongoose").Model<Category, {}, {}, {}, import("mongoose").Document<unknown, {}, Category, {}, {}> & Category & Required<{
19
+ export declare const categoryFactory: (connection: Connection, eventConnection: Connection) => import("mongoose").Model<Category, {}, {}, {}, import("mongoose").Document<unknown, {}, Category> & Category & Required<{
20
20
  _id: string;
21
- }> & {
22
- __v: number;
23
- }, any>;
21
+ }>, any>;
@@ -10,8 +10,6 @@ export declare class City {
10
10
  createdAt: Date;
11
11
  updatedAt: Date;
12
12
  }
13
- export declare const cityFactory: (connection: Connection) => import("mongoose").Model<City, {}, {}, {}, import("mongoose").Document<unknown, {}, City, {}, {}> & City & Required<{
13
+ export declare const cityFactory: (connection: Connection) => import("mongoose").Model<City, {}, {}, {}, import("mongoose").Document<unknown, {}, City> & City & Required<{
14
14
  _id: string;
15
- }> & {
16
- __v: number;
17
- }, any>;
15
+ }>, any>;
@@ -136,9 +136,7 @@ export declare class Company {
136
136
  groups?: any[];
137
137
  assignee?: Assignee[];
138
138
  }
139
- export declare const companyFactory: (connection: Connection, eventConnection: Connection) => import("mongoose").Model<Company, {}, {}, {}, import("mongoose").Document<unknown, {}, Company, {}, {}> & Company & Required<{
139
+ export declare const companyFactory: (connection: Connection, eventConnection: Connection) => import("mongoose").Model<Company, {}, {}, {}, import("mongoose").Document<unknown, {}, Company> & Company & Required<{
140
140
  _id: string;
141
- }> & {
142
- __v: number;
143
- }, any>;
141
+ }>, any>;
144
142
  export declare const CompanyProperties: string[];
@@ -95,9 +95,7 @@ export declare class Contact {
95
95
  dataCode: string;
96
96
  groups: any[];
97
97
  }
98
- export declare const contactFactory: (connection: Connection, eventConnection: Connection) => import("mongoose").Model<Contact, {}, {}, {}, import("mongoose").Document<unknown, {}, Contact, {}, {}> & Contact & Required<{
98
+ export declare const contactFactory: (connection: Connection, eventConnection: Connection) => import("mongoose").Model<Contact, {}, {}, {}, import("mongoose").Document<unknown, {}, Contact> & Contact & Required<{
99
99
  _id: string;
100
- }> & {
101
- __v: number;
102
- }, any>;
100
+ }>, any>;
103
101
  export declare const ContactProperties: string[];
@@ -16,8 +16,6 @@ export declare class Country {
16
16
  createdAt: Date;
17
17
  updatedAt: Date;
18
18
  }
19
- export declare const countryFactory: (connection: Connection) => import("mongoose").Model<Country, {}, {}, {}, import("mongoose").Document<unknown, {}, Country, {}, {}> & Country & Required<{
19
+ export declare const countryFactory: (connection: Connection) => import("mongoose").Model<Country, {}, {}, {}, import("mongoose").Document<unknown, {}, Country> & Country & Required<{
20
20
  _id: string;
21
- }> & {
22
- __v: number;
23
- }, any>;
21
+ }>, any>;
@@ -5,8 +5,6 @@ export declare class ITP {
5
5
  _id: string;
6
6
  title: string;
7
7
  }
8
- export declare const itpFactory: (connection: Connection) => import("mongoose").Model<ITP, {}, {}, {}, import("mongoose").Document<unknown, {}, ITP, {}, {}> & ITP & Required<{
8
+ export declare const itpFactory: (connection: Connection) => import("mongoose").Model<ITP, {}, {}, {}, import("mongoose").Document<unknown, {}, ITP> & ITP & Required<{
9
9
  _id: string;
10
- }> & {
11
- __v: number;
12
- }, any>;
10
+ }>, any>;
@@ -38,8 +38,6 @@ export declare class Event {
38
38
  createdAt: Date;
39
39
  updatedAt: Date;
40
40
  }
41
- export declare const eventFactory: (connection: Connection, companyConnection: Connection, userConnection: Connection) => import("mongoose").Model<Event, {}, {}, {}, import("mongoose").Document<unknown, {}, Event, {}, {}> & Event & Required<{
41
+ export declare const eventFactory: (connection: Connection, companyConnection: Connection, userConnection: Connection) => import("mongoose").Model<Event, {}, {}, {}, import("mongoose").Document<unknown, {}, Event> & Event & Required<{
42
42
  _id: string;
43
- }> & {
44
- __v: number;
45
- }, any>;
43
+ }>, any>;
@@ -19,8 +19,6 @@ export declare class CompanyProfileItem {
19
19
  createdAt: Date;
20
20
  updatedAt: Date;
21
21
  }
22
- export declare const CompanyProfileItemSchema: Schema<CompanyProfileItem, CompanyProfileItemModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, CompanyProfileItem, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<CompanyProfileItem>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<CompanyProfileItem> & Required<{
22
+ export declare const CompanyProfileItemSchema: Schema<CompanyProfileItem, CompanyProfileItemModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, CompanyProfileItem, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<CompanyProfileItem>> & import("mongoose").FlatRecord<CompanyProfileItem> & Required<{
23
23
  _id: string;
24
- }> & {
25
- __v: number;
26
- }>;
24
+ }>>;
@@ -11,8 +11,6 @@ export declare class EventProfile {
11
11
  createdAt: Date;
12
12
  updatedAt: Date;
13
13
  }
14
- export declare const eventProfileFactory: (connection: Connection) => import("mongoose").Model<EventProfile, {}, {}, {}, import("mongoose").Document<unknown, {}, EventProfile, {}, {}> & EventProfile & Required<{
14
+ export declare const eventProfileFactory: (connection: Connection) => import("mongoose").Model<EventProfile, {}, {}, {}, import("mongoose").Document<unknown, {}, EventProfile> & EventProfile & Required<{
15
15
  _id: string;
16
- }> & {
17
- __v: number;
18
- }, any>;
16
+ }>, any>;
@@ -9,8 +9,6 @@ export declare class EventType {
9
9
  createdAt: Date;
10
10
  updatedAt: Date;
11
11
  }
12
- export declare const eventTypeFactory: (connection: Connection) => import("mongoose").Model<EventType, {}, {}, {}, import("mongoose").Document<unknown, {}, EventType, {}, {}> & EventType & Required<{
12
+ export declare const eventTypeFactory: (connection: Connection) => import("mongoose").Model<EventType, {}, {}, {}, import("mongoose").Document<unknown, {}, EventType> & EventType & Required<{
13
13
  _id: string;
14
- }> & {
15
- __v: number;
16
- }, any>;
14
+ }>, any>;
@@ -6,8 +6,6 @@ export declare class Timestamp {
6
6
  startDate: Date;
7
7
  endDate: Date;
8
8
  }
9
- export declare const TimestampSchema: Schema<Timestamp, TimestampModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Timestamp, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Timestamp>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<Timestamp> & Required<{
9
+ export declare const TimestampSchema: Schema<Timestamp, TimestampModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Timestamp, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Timestamp>> & import("mongoose").FlatRecord<Timestamp> & Required<{
10
10
  _id: string;
11
- }> & {
12
- __v: number;
13
- }>;
11
+ }>>;
@@ -6,27 +6,21 @@ import { CustomModel } from "../../../db/CustomModel";
6
6
  import { EventProfileRepository } from "./repositories/event-profile.repository";
7
7
  export declare const eventProviders: ({
8
8
  provide: DatabaseModel;
9
- useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/eventType/event-type.entity").EventType, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/eventType/event-type.entity").EventType, {}, {}> & import("./entities/eventType/event-type.entity").EventType & Required<{
9
+ useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/eventType/event-type.entity").EventType, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/eventType/event-type.entity").EventType> & import("./entities/eventType/event-type.entity").EventType & Required<{
10
10
  _id: string;
11
- }> & {
12
- __v: number;
13
- }, any>;
11
+ }>, any>;
14
12
  inject: DatabaseConnection[];
15
13
  } | {
16
14
  provide: DatabaseModel;
17
- useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<EventProfile, {}, {}, {}, import("mongoose").Document<unknown, {}, EventProfile, {}, {}> & EventProfile & Required<{
15
+ useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<EventProfile, {}, {}, {}, import("mongoose").Document<unknown, {}, EventProfile> & EventProfile & Required<{
18
16
  _id: string;
19
- }> & {
20
- __v: number;
21
- }, any>;
17
+ }>, any>;
22
18
  inject: DatabaseConnection[];
23
19
  } | {
24
20
  provide: DatabaseModel;
25
- useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/event/event.entity").Event, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/event/event.entity").Event, {}, {}> & import("./entities/event/event.entity").Event & Required<{
21
+ useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/event/event.entity").Event, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/event/event.entity").Event> & import("./entities/event/event.entity").Event & Required<{
26
22
  _id: string;
27
- }> & {
28
- __v: number;
29
- }, any>;
23
+ }>, any>;
30
24
  inject: DatabaseConnection[];
31
25
  } | {
32
26
  provide: RepositoryProvider;
@@ -41,8 +41,6 @@ export declare class MeetingRequest {
41
41
  updatedAt: Date;
42
42
  hostType: CompanyUserType;
43
43
  }
44
- export declare const meetingRequestFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<MeetingRequest, {}, {}, {}, import("mongoose").Document<unknown, {}, MeetingRequest, {}, {}> & MeetingRequest & Required<{
44
+ export declare const meetingRequestFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<MeetingRequest, {}, {}, {}, import("mongoose").Document<unknown, {}, MeetingRequest> & MeetingRequest & Required<{
45
45
  _id: string;
46
- }> & {
47
- __v: number;
48
- }, any>;
46
+ }>, any>;
@@ -56,8 +56,6 @@ export declare class Meeting {
56
56
  hostType: CompanyUserType;
57
57
  creationSource?: CreationSourceEnum;
58
58
  }
59
- export declare const meetingFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection, subscriptionConnection: Connection) => import("mongoose").Model<Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, Meeting, {}, {}> & Meeting & Required<{
59
+ export declare const meetingFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection, subscriptionConnection: Connection) => import("mongoose").Model<Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, Meeting> & Meeting & Required<{
60
60
  _id: string;
61
- }> & {
62
- __v: number;
63
- }, any>;
61
+ }>, any>;
@@ -9,8 +9,6 @@ export declare class UserAvailabilityTimeSlot {
9
9
  startTime: string;
10
10
  endTime: string;
11
11
  }
12
- export declare const UserAvailabilityTimeSlotSchema: Schema<UserAvailabilityTimeSlot, UserAvailabilityTimeSlotModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, UserAvailabilityTimeSlot, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<UserAvailabilityTimeSlot>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<UserAvailabilityTimeSlot> & Required<{
12
+ export declare const UserAvailabilityTimeSlotSchema: Schema<UserAvailabilityTimeSlot, UserAvailabilityTimeSlotModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, UserAvailabilityTimeSlot, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<UserAvailabilityTimeSlot>> & import("mongoose").FlatRecord<UserAvailabilityTimeSlot> & Required<{
13
13
  _id: string;
14
- }> & {
15
- __v: number;
16
- }>;
14
+ }>>;
@@ -24,8 +24,6 @@ export declare class UserAvailability {
24
24
  createdAt: Date;
25
25
  updatedAt: Date;
26
26
  }
27
- export declare const userAvailabilityFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<UserAvailability, {}, {}, {}, import("mongoose").Document<unknown, {}, UserAvailability, {}, {}> & UserAvailability & Required<{
27
+ export declare const userAvailabilityFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<UserAvailability, {}, {}, {}, import("mongoose").Document<unknown, {}, UserAvailability> & UserAvailability & Required<{
28
28
  _id: string;
29
- }> & {
30
- __v: number;
31
- }, any>;
29
+ }>, any>;
@@ -2,26 +2,20 @@ import { DatabaseModel } from '../../../enums/database-model.enum';
2
2
  import { DatabaseConnection } from '../../../enums/database-connection.enum';
3
3
  export declare const meetingProviders: ({
4
4
  provide: DatabaseModel;
5
- useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, subscriptionConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/meetings").Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/meetings").Meeting, {}, {}> & import("./entities/meetings").Meeting & Required<{
5
+ useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, subscriptionConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/meetings").Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/meetings").Meeting> & import("./entities/meetings").Meeting & Required<{
6
6
  _id: string;
7
- }> & {
8
- __v: number;
9
- }, any>;
7
+ }>, any>;
10
8
  inject: DatabaseConnection[];
11
9
  } | {
12
10
  provide: DatabaseModel;
13
- useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/meetingRequests").MeetingRequest, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/meetingRequests").MeetingRequest, {}, {}> & import("./entities/meetingRequests").MeetingRequest & Required<{
11
+ useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/meetingRequests").MeetingRequest, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/meetingRequests").MeetingRequest> & import("./entities/meetingRequests").MeetingRequest & Required<{
14
12
  _id: string;
15
- }> & {
16
- __v: number;
17
- }, any>;
13
+ }>, any>;
18
14
  inject: DatabaseConnection[];
19
15
  } | {
20
16
  provide: DatabaseModel;
21
- useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/userAvailabilities").UserAvailability, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/userAvailabilities").UserAvailability, {}, {}> & import("./entities/userAvailabilities").UserAvailability & Required<{
17
+ useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/userAvailabilities").UserAvailability, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/userAvailabilities").UserAvailability> & import("./entities/userAvailabilities").UserAvailability & Required<{
22
18
  _id: string;
23
- }> & {
24
- __v: number;
25
- }, any>;
19
+ }>, any>;
26
20
  inject: DatabaseConnection[];
27
21
  })[];