@aldb2b/common 1.0.2146 → 1.0.2147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/entities/models/common/common.provider.d.ts +12 -6
- package/build/entities/models/common/entities/audit-trail.entity.d.ts +4 -2
- package/build/entities/models/common/entities/location.entity.d.ts +4 -2
- package/build/entities/models/common/entities/preference-customization.entity.d.ts +4 -2
- package/build/entities/models/common/entities/tracing.entity.d.ts +4 -2
- package/build/entities/models/companies/companies.provider.d.ts +32 -16
- package/build/entities/models/companies/entities/categories/category.schema.d.ts +4 -2
- package/build/entities/models/companies/entities/cities/city.schema.d.ts +4 -2
- package/build/entities/models/companies/entities/companies/company.entity.d.ts +4 -2
- package/build/entities/models/companies/entities/contacts/contact.entity.d.ts +6 -3
- package/build/entities/models/companies/entities/contacts/contact.entity.js +2 -0
- package/build/entities/models/companies/entities/contacts/contact.entity.js.map +1 -1
- package/build/entities/models/companies/entities/countries/country.schema.d.ts +4 -2
- package/build/entities/models/companies/entities/itps/itp.entity.d.ts +4 -2
- package/build/entities/models/events/entities/event/event.entity.d.ts +4 -2
- package/build/entities/models/events/entities/eventProfile/company-profile-item.entity.d.ts +4 -2
- package/build/entities/models/events/entities/eventProfile/event-profile.entity.d.ts +4 -2
- package/build/entities/models/events/entities/eventType/event-type.entity.d.ts +4 -2
- package/build/entities/models/events/entities/timestamp.entity.d.ts +4 -2
- package/build/entities/models/events/events.provider.d.ts +12 -6
- package/build/entities/models/meetings/entities/meetingRequests/meeting-request.entity.d.ts +4 -2
- package/build/entities/models/meetings/entities/meetings/meeting.entity.d.ts +4 -2
- package/build/entities/models/meetings/entities/userAvailabilities/user-availability-timeslot.entity.d.ts +4 -2
- package/build/entities/models/meetings/entities/userAvailabilities/user-availability.entity.d.ts +4 -2
- package/build/entities/models/meetings/meetings.provider.d.ts +12 -6
- package/build/entities/models/model.providers.d.ts +121 -77
- package/build/entities/models/subscriptions/entities/companySubscriptions/company-subscription.entity.d.ts +4 -2
- package/build/entities/models/subscriptions/entities/eventSubscriptions/event-subscription.entity.d.ts +4 -2
- package/build/entities/models/subscriptions/entities/features/feature.entity.d.ts +4 -2
- package/build/entities/models/subscriptions/entities/managedServiceSubscriptions/managed-service-subscription.entity.d.ts +4 -2
- package/build/entities/models/subscriptions/entities/subscription/subscription.entity.d.ts +4 -2
- package/build/entities/models/subscriptions/entities/subscriptionLogs/subscription-log.entity.d.ts +4 -2
- package/build/entities/models/subscriptions/subscriptions.provider.d.ts +24 -12
- package/build/entities/models/users/entities/rolePermissions/permission.entity.d.ts +4 -2
- package/build/entities/models/users/entities/rolePermissions/role-permission.entity.d.ts +4 -2
- package/build/entities/models/users/entities/users/chat-info.entity.d.ts +4 -2
- package/build/entities/models/users/entities/users/user.entity.d.ts +4 -2
- package/build/entities/models/users/users.provider.d.ts +8 -4
- package/build/events/send-notifications.interface.d.ts +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +46 -46
|
@@ -1,168 +1,206 @@
|
|
|
1
1
|
export declare const modelProviders: ({
|
|
2
2
|
provide: import("../..").DatabaseModel;
|
|
3
|
-
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./
|
|
3
|
+
useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<import("./common").AuditTrail, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./common").AuditTrail, {}, {}> & import("./common").AuditTrail & Required<{
|
|
4
4
|
_id: string;
|
|
5
|
-
}
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
6
8
|
inject: import("../..").DatabaseConnection[];
|
|
9
|
+
} | {
|
|
10
|
+
provide: import("../..").RepositoryProvider;
|
|
11
|
+
inject: import("../..").DatabaseModel[];
|
|
12
|
+
useFactory: (auditModel: import("../..").CustomModel<import("./common").AuditTrail>) => import("./common").AuditTrailRepository;
|
|
13
|
+
} | {
|
|
14
|
+
provide: import("../..").ServiceProvider;
|
|
15
|
+
inject: (import("../..").DatabaseModel | import("../..").RepositoryProvider)[];
|
|
16
|
+
useFactory: (auditLogRepository: import("./common").AuditTrailRepository, userModel: import("../..").CustomModel<import("./users").User>) => import("./common").AuditTrailService;
|
|
7
17
|
} | {
|
|
8
18
|
provide: import("../..").DatabaseModel;
|
|
9
|
-
useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./
|
|
19
|
+
useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, companyConnection: import("mongoose").Connection) => import("mongoose").Model<import("./common").PreferenceCustomization, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./common").PreferenceCustomization, {}, {}> & import("./common").PreferenceCustomization & Required<{
|
|
10
20
|
_id: string;
|
|
11
|
-
}
|
|
21
|
+
}> & {
|
|
22
|
+
__v: number;
|
|
23
|
+
}, any>;
|
|
12
24
|
inject: import("../..").DatabaseConnection[];
|
|
25
|
+
} | {
|
|
26
|
+
provide: import("../..").RepositoryProvider;
|
|
27
|
+
inject: import("../..").DatabaseModel[];
|
|
28
|
+
useFactory: (preferenceCustomizationModel: import("../..").CustomModel<import("./common").PreferenceCustomization>) => import("./common").PreferenceCustomizationRepository;
|
|
13
29
|
} | {
|
|
14
30
|
provide: import("../..").DatabaseModel;
|
|
15
|
-
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./
|
|
31
|
+
useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<import("./common").Tracing, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./common").Tracing, {}, {}> & import("./common").Tracing & Required<{
|
|
16
32
|
_id: string;
|
|
17
|
-
}
|
|
33
|
+
}> & {
|
|
34
|
+
__v: number;
|
|
35
|
+
}, any>;
|
|
18
36
|
inject: import("../..").DatabaseConnection[];
|
|
37
|
+
} | {
|
|
38
|
+
provide: import("../..").RepositoryProvider;
|
|
39
|
+
inject: import("../..").DatabaseModel[];
|
|
40
|
+
useFactory: (tracingModel: import("../..").CustomModel<import("./common").Tracing>) => import("./common").TracingRepository;
|
|
19
41
|
} | {
|
|
20
42
|
provide: import("../..").DatabaseModel;
|
|
21
|
-
useFactory: (connection: import("mongoose").Connection
|
|
43
|
+
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./subscriptions").Subscription, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./subscriptions").Subscription, {}, {}> & import("./subscriptions").Subscription & Required<{
|
|
22
44
|
_id: string;
|
|
23
|
-
}
|
|
45
|
+
}> & {
|
|
46
|
+
__v: number;
|
|
47
|
+
}, any>;
|
|
24
48
|
inject: import("../..").DatabaseConnection[];
|
|
25
49
|
} | {
|
|
26
50
|
provide: import("../..").DatabaseModel;
|
|
27
|
-
useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./
|
|
51
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./subscriptions").ManagedServiceSubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./subscriptions").ManagedServiceSubscription, {}, {}> & import("./subscriptions").ManagedServiceSubscription & Required<{
|
|
28
52
|
_id: string;
|
|
29
|
-
}
|
|
53
|
+
}> & {
|
|
54
|
+
__v: number;
|
|
55
|
+
}, any>;
|
|
30
56
|
inject: import("../..").DatabaseConnection[];
|
|
31
57
|
} | {
|
|
32
58
|
provide: import("../..").DatabaseModel;
|
|
33
|
-
useFactory: (connection: import("mongoose").Connection
|
|
59
|
+
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./subscriptions").Feature, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./subscriptions").Feature, {}, {}> & import("./subscriptions").Feature & Required<{
|
|
34
60
|
_id: string;
|
|
35
|
-
}
|
|
61
|
+
}> & {
|
|
62
|
+
__v: number;
|
|
63
|
+
}, any>;
|
|
36
64
|
inject: import("../..").DatabaseConnection[];
|
|
37
65
|
} | {
|
|
38
66
|
provide: import("../..").DatabaseModel;
|
|
39
|
-
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection
|
|
67
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./subscriptions").CompanySubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./subscriptions").CompanySubscription, {}, {}> & import("./subscriptions").CompanySubscription & Required<{
|
|
40
68
|
_id: string;
|
|
41
|
-
}
|
|
69
|
+
}> & {
|
|
70
|
+
__v: number;
|
|
71
|
+
}, any>;
|
|
42
72
|
inject: import("../..").DatabaseConnection[];
|
|
43
73
|
} | {
|
|
44
74
|
provide: import("../..").DatabaseModel;
|
|
45
|
-
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection,
|
|
75
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./subscriptions").EventSubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./subscriptions").EventSubscription, {}, {}> & import("./subscriptions").EventSubscription & Required<{
|
|
46
76
|
_id: string;
|
|
47
|
-
}
|
|
77
|
+
}> & {
|
|
78
|
+
__v: number;
|
|
79
|
+
}, any>;
|
|
48
80
|
inject: import("../..").DatabaseConnection[];
|
|
49
81
|
} | {
|
|
50
|
-
provide: import("../..").
|
|
51
|
-
|
|
52
|
-
|
|
82
|
+
provide: import("../..").DatabaseModel;
|
|
83
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<import("./subscriptions").SubscriptionLog, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./subscriptions").SubscriptionLog, {}, {}> & import("./subscriptions").SubscriptionLog & Required<{
|
|
84
|
+
_id: string;
|
|
85
|
+
}> & {
|
|
86
|
+
__v: number;
|
|
87
|
+
}, any>;
|
|
88
|
+
inject: import("../..").DatabaseConnection[];
|
|
53
89
|
} | {
|
|
54
90
|
provide: import("../..").RepositoryProvider;
|
|
55
91
|
inject: import("../..").DatabaseModel[];
|
|
56
|
-
useFactory: (
|
|
92
|
+
useFactory: (companySubscription: import("../..").CustomModel<import("./subscriptions").ManagedServiceSubscription>) => import("./subscriptions").ManagedServiceSubscriptionCommonRepository;
|
|
57
93
|
} | {
|
|
58
94
|
provide: import("../..").RepositoryProvider;
|
|
59
95
|
inject: import("../..").DatabaseModel[];
|
|
60
|
-
useFactory: (
|
|
96
|
+
useFactory: (companySubscription: import("../..").CustomModel<import("./subscriptions").CompanySubscription>) => import("./subscriptions").CompanySubscriptionCommonRepository;
|
|
61
97
|
} | {
|
|
62
98
|
provide: import("../..").RepositoryProvider;
|
|
63
99
|
inject: import("../..").DatabaseModel[];
|
|
64
|
-
useFactory: (
|
|
100
|
+
useFactory: (eventSubscription: import("../..").CustomModel<import("./subscriptions").EventSubscription>) => import("./subscriptions").EventSubscriptionCommonRepository;
|
|
65
101
|
} | {
|
|
66
102
|
provide: import("../..").RepositoryProvider;
|
|
67
103
|
inject: import("../..").DatabaseModel[];
|
|
68
|
-
useFactory: (
|
|
69
|
-
} | {
|
|
70
|
-
provide: import("../..").ServiceProvider;
|
|
71
|
-
inject: import("../..").RepositoryProvider[];
|
|
72
|
-
useFactory: (companyCommonRepository: import("./companies").CompanyCommonRepository, meetingRequestCommonRepository: import("./meetings").MeetingRequestCommonRepository, meetingCommonRepository: import("./meetings").MeetingCommonRepository, subscriptionLogRepository: import("./subscriptions").SubscriptionLogRepository) => import("./companies").CompanyCommonService;
|
|
104
|
+
useFactory: (subscriptionLog: import("../..").CustomModel<import("./subscriptions").SubscriptionLog>) => import("./subscriptions").SubscriptionLogRepository;
|
|
73
105
|
} | {
|
|
74
106
|
provide: import("../..").DatabaseModel;
|
|
75
|
-
useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection,
|
|
107
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, subscriptionConnection: import("mongoose").Connection) => import("mongoose").Model<import("./meetings").Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./meetings").Meeting, {}, {}> & import("./meetings").Meeting & Required<{
|
|
76
108
|
_id: string;
|
|
77
|
-
}
|
|
109
|
+
}> & {
|
|
110
|
+
__v: number;
|
|
111
|
+
}, any>;
|
|
78
112
|
inject: import("../..").DatabaseConnection[];
|
|
79
|
-
} | {
|
|
80
|
-
provide: import("../..").RepositoryProvider;
|
|
81
|
-
inject: import("../..").DatabaseModel[];
|
|
82
|
-
useFactory: (auditModel: import("../..").CustomModel<import("./common").AuditTrail>) => import("./common").AuditTrailRepository;
|
|
83
|
-
} | {
|
|
84
|
-
provide: import("../..").ServiceProvider;
|
|
85
|
-
inject: (import("../..").DatabaseModel | import("../..").RepositoryProvider)[];
|
|
86
|
-
useFactory: (auditLogRepository: import("./common").AuditTrailRepository, userModel: import("../..").CustomModel<import("./users").User>) => import("./common").AuditTrailService;
|
|
87
113
|
} | {
|
|
88
114
|
provide: import("../..").DatabaseModel;
|
|
89
|
-
useFactory: (connection: import("mongoose").Connection,
|
|
115
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./meetings").MeetingRequest, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./meetings").MeetingRequest, {}, {}> & import("./meetings").MeetingRequest & Required<{
|
|
90
116
|
_id: string;
|
|
91
|
-
}
|
|
117
|
+
}> & {
|
|
118
|
+
__v: number;
|
|
119
|
+
}, any>;
|
|
92
120
|
inject: import("../..").DatabaseConnection[];
|
|
93
|
-
} | {
|
|
94
|
-
provide: import("../..").RepositoryProvider;
|
|
95
|
-
inject: import("../..").DatabaseModel[];
|
|
96
|
-
useFactory: (preferenceCustomizationModel: import("../..").CustomModel<import("./common").PreferenceCustomization>) => import("./common").PreferenceCustomizationRepository;
|
|
97
121
|
} | {
|
|
98
122
|
provide: import("../..").DatabaseModel;
|
|
99
|
-
useFactory: (connection: import("mongoose").Connection,
|
|
123
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./meetings").UserAvailability, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./meetings").UserAvailability, {}, {}> & import("./meetings").UserAvailability & Required<{
|
|
100
124
|
_id: string;
|
|
101
|
-
}
|
|
125
|
+
}> & {
|
|
126
|
+
__v: number;
|
|
127
|
+
}, any>;
|
|
102
128
|
inject: import("../..").DatabaseConnection[];
|
|
103
|
-
} | {
|
|
104
|
-
provide: import("../..").RepositoryProvider;
|
|
105
|
-
inject: import("../..").DatabaseModel[];
|
|
106
|
-
useFactory: (tracingModel: import("../..").CustomModel<import("./common").Tracing>) => import("./common").TracingRepository;
|
|
107
129
|
} | {
|
|
108
130
|
provide: import("../..").DatabaseModel;
|
|
109
|
-
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./
|
|
131
|
+
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./companies").Country, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./companies").Country, {}, {}> & import("./companies").Country & Required<{
|
|
110
132
|
_id: string;
|
|
111
|
-
}
|
|
133
|
+
}> & {
|
|
134
|
+
__v: number;
|
|
135
|
+
}, any>;
|
|
112
136
|
inject: import("../..").DatabaseConnection[];
|
|
113
137
|
} | {
|
|
114
138
|
provide: import("../..").DatabaseModel;
|
|
115
|
-
useFactory: (connection: import("mongoose").Connection,
|
|
139
|
+
useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./companies").Category, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./companies").Category, {}, {}> & import("./companies").Category & Required<{
|
|
116
140
|
_id: string;
|
|
117
|
-
}
|
|
141
|
+
}> & {
|
|
142
|
+
__v: number;
|
|
143
|
+
}, any>;
|
|
118
144
|
inject: import("../..").DatabaseConnection[];
|
|
119
145
|
} | {
|
|
120
146
|
provide: import("../..").DatabaseModel;
|
|
121
|
-
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./
|
|
147
|
+
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./companies").City, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./companies").City, {}, {}> & import("./companies").City & Required<{
|
|
122
148
|
_id: string;
|
|
123
|
-
}
|
|
149
|
+
}> & {
|
|
150
|
+
__v: number;
|
|
151
|
+
}, any>;
|
|
124
152
|
inject: import("../..").DatabaseConnection[];
|
|
125
153
|
} | {
|
|
126
154
|
provide: import("../..").DatabaseModel;
|
|
127
|
-
useFactory: (connection: import("mongoose").Connection,
|
|
155
|
+
useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./companies").Company, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./companies").Company, {}, {}> & import("./companies").Company & Required<{
|
|
128
156
|
_id: string;
|
|
129
|
-
}
|
|
157
|
+
}> & {
|
|
158
|
+
__v: number;
|
|
159
|
+
}, any>;
|
|
130
160
|
inject: import("../..").DatabaseConnection[];
|
|
131
161
|
} | {
|
|
132
162
|
provide: import("../..").DatabaseModel;
|
|
133
|
-
useFactory: (connection: import("mongoose").Connection,
|
|
163
|
+
useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./companies").Contact, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./companies").Contact, {}, {}> & import("./companies").Contact & Required<{
|
|
134
164
|
_id: string;
|
|
135
|
-
}
|
|
165
|
+
}> & {
|
|
166
|
+
__v: number;
|
|
167
|
+
}, any>;
|
|
136
168
|
inject: import("../..").DatabaseConnection[];
|
|
137
169
|
} | {
|
|
138
170
|
provide: import("../..").RepositoryProvider;
|
|
139
171
|
inject: import("../..").DatabaseModel[];
|
|
140
|
-
useFactory: (
|
|
172
|
+
useFactory: (companyModel: import("../..").CustomModel<import("./companies").Company>) => import("./companies").CompanyCommonRepository;
|
|
141
173
|
} | {
|
|
142
174
|
provide: import("../..").RepositoryProvider;
|
|
143
175
|
inject: import("../..").DatabaseModel[];
|
|
144
|
-
useFactory: (
|
|
176
|
+
useFactory: (meetingRequestModel: import("../..").CustomModel<import("./meetings").MeetingRequest>) => import("./meetings").MeetingRequestCommonRepository;
|
|
145
177
|
} | {
|
|
146
178
|
provide: import("../..").RepositoryProvider;
|
|
147
179
|
inject: import("../..").DatabaseModel[];
|
|
148
|
-
useFactory: (
|
|
180
|
+
useFactory: (meetingModel: import("../..").CustomModel<import("./meetings").Meeting>) => import("./meetings").MeetingCommonRepository;
|
|
149
181
|
} | {
|
|
150
|
-
provide: import("../..").
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
182
|
+
provide: import("../..").RepositoryProvider;
|
|
183
|
+
inject: import("../..").DatabaseModel[];
|
|
184
|
+
useFactory: (contactModel: import("../..").CustomModel<import("./companies").ContactModel>) => import("./companies").ContactCommonRepository;
|
|
185
|
+
} | {
|
|
186
|
+
provide: import("../..").ServiceProvider;
|
|
187
|
+
inject: import("../..").RepositoryProvider[];
|
|
188
|
+
useFactory: (companyCommonRepository: import("./companies").CompanyCommonRepository, meetingRequestCommonRepository: import("./meetings").MeetingRequestCommonRepository, meetingCommonRepository: import("./meetings").MeetingCommonRepository, subscriptionLogRepository: import("./subscriptions").SubscriptionLogRepository) => import("./companies").CompanyCommonService;
|
|
155
189
|
} | {
|
|
156
190
|
provide: import("../..").DatabaseModel;
|
|
157
|
-
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./users").RolePermission, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./users").RolePermission> & import("./users").RolePermission & Required<{
|
|
191
|
+
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./users").RolePermission, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./users").RolePermission, {}, {}> & import("./users").RolePermission & Required<{
|
|
158
192
|
_id: string;
|
|
159
|
-
}
|
|
193
|
+
}> & {
|
|
194
|
+
__v: number;
|
|
195
|
+
}, any>;
|
|
160
196
|
inject: import("../..").DatabaseConnection[];
|
|
161
197
|
} | {
|
|
162
198
|
provide: import("../..").DatabaseModel;
|
|
163
|
-
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./users").User, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./users").User> & import("./users").User & Required<{
|
|
199
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./users").User, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./users").User, {}, {}> & import("./users").User & Required<{
|
|
164
200
|
_id: string;
|
|
165
|
-
}
|
|
201
|
+
}> & {
|
|
202
|
+
__v: number;
|
|
203
|
+
}, any>;
|
|
166
204
|
inject: import("../..").DatabaseConnection[];
|
|
167
205
|
} | {
|
|
168
206
|
provide: import("../..").RepositoryProvider;
|
|
@@ -170,21 +208,27 @@ export declare const modelProviders: ({
|
|
|
170
208
|
useFactory: (userRepositoryService: import("../..").CustomModel<import("./users").User>) => import("./users").UserCommonRepository;
|
|
171
209
|
} | {
|
|
172
210
|
provide: import("../..").DatabaseModel;
|
|
173
|
-
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./events").EventType, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./events").EventType> & import("./events").EventType & Required<{
|
|
211
|
+
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./events").EventType, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./events").EventType, {}, {}> & import("./events").EventType & Required<{
|
|
174
212
|
_id: string;
|
|
175
|
-
}
|
|
213
|
+
}> & {
|
|
214
|
+
__v: number;
|
|
215
|
+
}, any>;
|
|
176
216
|
inject: import("../..").DatabaseConnection[];
|
|
177
217
|
} | {
|
|
178
218
|
provide: import("../..").DatabaseModel;
|
|
179
|
-
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./events").EventProfile, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./events").EventProfile> & import("./events").EventProfile & Required<{
|
|
219
|
+
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./events").EventProfile, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./events").EventProfile, {}, {}> & import("./events").EventProfile & Required<{
|
|
180
220
|
_id: string;
|
|
181
|
-
}
|
|
221
|
+
}> & {
|
|
222
|
+
__v: number;
|
|
223
|
+
}, any>;
|
|
182
224
|
inject: import("../..").DatabaseConnection[];
|
|
183
225
|
} | {
|
|
184
226
|
provide: import("../..").DatabaseModel;
|
|
185
|
-
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<import("./events").Event, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./events").Event> & import("./events").Event & Required<{
|
|
227
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<import("./events").Event, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./events").Event, {}, {}> & import("./events").Event & Required<{
|
|
186
228
|
_id: string;
|
|
187
|
-
}
|
|
229
|
+
}> & {
|
|
230
|
+
__v: number;
|
|
231
|
+
}, any>;
|
|
188
232
|
inject: import("../..").DatabaseConnection[];
|
|
189
233
|
} | {
|
|
190
234
|
provide: import("../..").RepositoryProvider;
|
|
@@ -30,6 +30,8 @@ export declare class CompanySubscription {
|
|
|
30
30
|
stripeSubscriptionId?: string;
|
|
31
31
|
}
|
|
32
32
|
export declare const getCompanySubscriptionSchema: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => Schema<CompanySubscription, CompanySubscriptionModel>;
|
|
33
|
-
export declare const companySubscriptionFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<CompanySubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, CompanySubscription> & CompanySubscription & Required<{
|
|
33
|
+
export declare const companySubscriptionFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<CompanySubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, CompanySubscription, {}, {}> & CompanySubscription & Required<{
|
|
34
34
|
_id: string;
|
|
35
|
-
}
|
|
35
|
+
}> & {
|
|
36
|
+
__v: number;
|
|
37
|
+
}, any>;
|
|
@@ -21,6 +21,8 @@ export declare class EventSubscription {
|
|
|
21
21
|
updatedAt: Date;
|
|
22
22
|
badges: any[];
|
|
23
23
|
}
|
|
24
|
-
export declare const eventSubscriptionFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<EventSubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, EventSubscription> & EventSubscription & Required<{
|
|
24
|
+
export declare const eventSubscriptionFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<EventSubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, EventSubscription, {}, {}> & EventSubscription & Required<{
|
|
25
25
|
_id: string;
|
|
26
|
-
}
|
|
26
|
+
}> & {
|
|
27
|
+
__v: number;
|
|
28
|
+
}, any>;
|
|
@@ -16,6 +16,8 @@ export declare class Feature {
|
|
|
16
16
|
assessmentFeature: boolean;
|
|
17
17
|
}
|
|
18
18
|
export declare const getFeatureSchema: () => Schema<Feature, FeatureModel>;
|
|
19
|
-
export declare const featureFactory: (connection: Connection) => import("mongoose").Model<Feature, {}, {}, {}, import("mongoose").Document<unknown, {}, Feature> & Feature & Required<{
|
|
19
|
+
export declare const featureFactory: (connection: Connection) => import("mongoose").Model<Feature, {}, {}, {}, import("mongoose").Document<unknown, {}, Feature, {}, {}> & Feature & Required<{
|
|
20
20
|
_id: string;
|
|
21
|
-
}
|
|
21
|
+
}> & {
|
|
22
|
+
__v: number;
|
|
23
|
+
}, any>;
|
|
@@ -30,6 +30,8 @@ export declare class ManagedServiceSubscription {
|
|
|
30
30
|
stripeSubscriptionId?: string;
|
|
31
31
|
}
|
|
32
32
|
export declare const getManagedServiceSubscriptionSchema: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => Schema<ManagedServiceSubscription, ManagedServiceSubscriptionModel>;
|
|
33
|
-
export declare const managedServiceSubscriptionFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<ManagedServiceSubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, ManagedServiceSubscription> & ManagedServiceSubscription & Required<{
|
|
33
|
+
export declare const managedServiceSubscriptionFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<ManagedServiceSubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, ManagedServiceSubscription, {}, {}> & ManagedServiceSubscription & Required<{
|
|
34
34
|
_id: string;
|
|
35
|
-
}
|
|
35
|
+
}> & {
|
|
36
|
+
__v: number;
|
|
37
|
+
}, any>;
|
|
@@ -35,6 +35,8 @@ export declare class Subscription {
|
|
|
35
35
|
updatedAt?: Date;
|
|
36
36
|
}
|
|
37
37
|
export declare const getSubscriptionSchema: (connection: Connection) => Schema<Subscription, SubscriptionModel>;
|
|
38
|
-
export declare const subscriptionFactory: (connection: Connection) => import("mongoose").Model<Subscription, {}, {}, {}, import("mongoose").Document<unknown, {}, Subscription> & Subscription & Required<{
|
|
38
|
+
export declare const subscriptionFactory: (connection: Connection) => import("mongoose").Model<Subscription, {}, {}, {}, import("mongoose").Document<unknown, {}, Subscription, {}, {}> & Subscription & Required<{
|
|
39
39
|
_id: string;
|
|
40
|
-
}
|
|
40
|
+
}> & {
|
|
41
|
+
__v: number;
|
|
42
|
+
}, any>;
|
package/build/entities/models/subscriptions/entities/subscriptionLogs/subscription-log.entity.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ export declare class SubscriptionLog {
|
|
|
21
21
|
relatedRecordId?: any;
|
|
22
22
|
createdAt: Date;
|
|
23
23
|
}
|
|
24
|
-
export declare const subscriptionLogFactory: (connection: Connection, companyConnection: Connection, userConnection: Connection) => import("mongoose").Model<SubscriptionLog, {}, {}, {}, import("mongoose").Document<unknown, {}, SubscriptionLog> & SubscriptionLog & Required<{
|
|
24
|
+
export declare const subscriptionLogFactory: (connection: Connection, companyConnection: Connection, userConnection: Connection) => import("mongoose").Model<SubscriptionLog, {}, {}, {}, import("mongoose").Document<unknown, {}, SubscriptionLog, {}, {}> & SubscriptionLog & Required<{
|
|
25
25
|
_id: string;
|
|
26
|
-
}
|
|
26
|
+
}> & {
|
|
27
|
+
__v: number;
|
|
28
|
+
}, any>;
|
|
@@ -9,39 +9,51 @@ import { CompanySubscriptionCommonRepository, EventSubscriptionCommonRepository,
|
|
|
9
9
|
import { CustomModel } from "../../../db/CustomModel";
|
|
10
10
|
export declare const subscriptionProviders: ({
|
|
11
11
|
provide: DatabaseModel;
|
|
12
|
-
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/subscription/subscription.entity").Subscription, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/subscription/subscription.entity").Subscription> & import("./entities/subscription/subscription.entity").Subscription & Required<{
|
|
12
|
+
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/subscription/subscription.entity").Subscription, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/subscription/subscription.entity").Subscription, {}, {}> & import("./entities/subscription/subscription.entity").Subscription & Required<{
|
|
13
13
|
_id: string;
|
|
14
|
-
}
|
|
14
|
+
}> & {
|
|
15
|
+
__v: number;
|
|
16
|
+
}, any>;
|
|
15
17
|
inject: DatabaseConnection[];
|
|
16
18
|
} | {
|
|
17
19
|
provide: DatabaseModel;
|
|
18
|
-
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<ManagedServiceSubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, ManagedServiceSubscription> & ManagedServiceSubscription & Required<{
|
|
20
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<ManagedServiceSubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, ManagedServiceSubscription, {}, {}> & ManagedServiceSubscription & Required<{
|
|
19
21
|
_id: string;
|
|
20
|
-
}
|
|
22
|
+
}> & {
|
|
23
|
+
__v: number;
|
|
24
|
+
}, any>;
|
|
21
25
|
inject: DatabaseConnection[];
|
|
22
26
|
} | {
|
|
23
27
|
provide: DatabaseModel;
|
|
24
|
-
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/features").Feature, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/features").Feature> & import("./entities/features").Feature & Required<{
|
|
28
|
+
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/features").Feature, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/features").Feature, {}, {}> & import("./entities/features").Feature & Required<{
|
|
25
29
|
_id: string;
|
|
26
|
-
}
|
|
30
|
+
}> & {
|
|
31
|
+
__v: number;
|
|
32
|
+
}, any>;
|
|
27
33
|
inject: DatabaseConnection[];
|
|
28
34
|
} | {
|
|
29
35
|
provide: DatabaseModel;
|
|
30
|
-
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<CompanySubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, CompanySubscription> & CompanySubscription & Required<{
|
|
36
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<CompanySubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, CompanySubscription, {}, {}> & CompanySubscription & Required<{
|
|
31
37
|
_id: string;
|
|
32
|
-
}
|
|
38
|
+
}> & {
|
|
39
|
+
__v: number;
|
|
40
|
+
}, any>;
|
|
33
41
|
inject: DatabaseConnection[];
|
|
34
42
|
} | {
|
|
35
43
|
provide: DatabaseModel;
|
|
36
|
-
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<EventSubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, EventSubscription> & EventSubscription & Required<{
|
|
44
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<EventSubscription, {}, {}, {}, import("mongoose").Document<unknown, {}, EventSubscription, {}, {}> & EventSubscription & Required<{
|
|
37
45
|
_id: string;
|
|
38
|
-
}
|
|
46
|
+
}> & {
|
|
47
|
+
__v: number;
|
|
48
|
+
}, any>;
|
|
39
49
|
inject: DatabaseConnection[];
|
|
40
50
|
} | {
|
|
41
51
|
provide: DatabaseModel;
|
|
42
|
-
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<SubscriptionLog, {}, {}, {}, import("mongoose").Document<unknown, {}, SubscriptionLog> & SubscriptionLog & Required<{
|
|
52
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<SubscriptionLog, {}, {}, {}, import("mongoose").Document<unknown, {}, SubscriptionLog, {}, {}> & SubscriptionLog & Required<{
|
|
43
53
|
_id: string;
|
|
44
|
-
}
|
|
54
|
+
}> & {
|
|
55
|
+
__v: number;
|
|
56
|
+
}, any>;
|
|
45
57
|
inject: DatabaseConnection[];
|
|
46
58
|
} | {
|
|
47
59
|
provide: RepositoryProvider;
|
|
@@ -9,6 +9,8 @@ export declare class Permission {
|
|
|
9
9
|
route: string;
|
|
10
10
|
isAllowed: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare const PermissionSchema: Schema<Permission, PermissionModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Permission, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Permission
|
|
12
|
+
export declare const PermissionSchema: Schema<Permission, PermissionModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Permission, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Permission>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<Permission> & Required<{
|
|
13
13
|
_id: string;
|
|
14
|
-
}
|
|
14
|
+
}> & {
|
|
15
|
+
__v: number;
|
|
16
|
+
}>;
|
|
@@ -12,6 +12,8 @@ export declare class RolePermission {
|
|
|
12
12
|
createdAt: Date;
|
|
13
13
|
updatedAt: Date;
|
|
14
14
|
}
|
|
15
|
-
export declare const rolePermissionFactory: (connection: Connection) => import("mongoose").Model<RolePermission, {}, {}, {}, import("mongoose").Document<unknown, {}, RolePermission> & RolePermission & Required<{
|
|
15
|
+
export declare const rolePermissionFactory: (connection: Connection) => import("mongoose").Model<RolePermission, {}, {}, {}, import("mongoose").Document<unknown, {}, RolePermission, {}, {}> & RolePermission & Required<{
|
|
16
16
|
_id: string;
|
|
17
|
-
}
|
|
17
|
+
}> & {
|
|
18
|
+
__v: number;
|
|
19
|
+
}, any>;
|
|
@@ -6,6 +6,8 @@ export declare class ChatInfo {
|
|
|
6
6
|
password: string;
|
|
7
7
|
token: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const ChatInfoSchema: Schema<ChatInfo, ChatInfoModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ChatInfo, Document<unknown, {}, import("mongoose").FlatRecord<ChatInfo
|
|
9
|
+
export declare const ChatInfoSchema: Schema<ChatInfo, ChatInfoModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ChatInfo, Document<unknown, {}, import("mongoose").FlatRecord<ChatInfo>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<ChatInfo> & Required<{
|
|
10
10
|
_id: string;
|
|
11
|
-
}
|
|
11
|
+
}> & {
|
|
12
|
+
__v: number;
|
|
13
|
+
}>;
|
|
@@ -41,6 +41,8 @@ export declare class User {
|
|
|
41
41
|
createdAt: Date;
|
|
42
42
|
updatedAt: Date;
|
|
43
43
|
}
|
|
44
|
-
export declare const userFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<User, {}, {}, {}, import("mongoose").Document<unknown, {}, User> & User & Required<{
|
|
44
|
+
export declare const userFactory: (connection: Connection, companyConnection: Connection, eventConnection: Connection) => import("mongoose").Model<User, {}, {}, {}, import("mongoose").Document<unknown, {}, User, {}, {}> & User & Required<{
|
|
45
45
|
_id: string;
|
|
46
|
-
}
|
|
46
|
+
}> & {
|
|
47
|
+
__v: number;
|
|
48
|
+
}, any>;
|
|
@@ -6,15 +6,19 @@ import { CustomModel } from "../../../db/CustomModel";
|
|
|
6
6
|
import { UserCommonRepository } from "./repositories";
|
|
7
7
|
export declare const userProviders: ({
|
|
8
8
|
provide: DatabaseModel;
|
|
9
|
-
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/rolePermissions").RolePermission, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/rolePermissions").RolePermission> & import("./entities/rolePermissions").RolePermission & Required<{
|
|
9
|
+
useFactory: (connection: import("mongoose").Connection) => import("mongoose").Model<import("./entities/rolePermissions").RolePermission, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./entities/rolePermissions").RolePermission, {}, {}> & import("./entities/rolePermissions").RolePermission & Required<{
|
|
10
10
|
_id: string;
|
|
11
|
-
}
|
|
11
|
+
}> & {
|
|
12
|
+
__v: number;
|
|
13
|
+
}, any>;
|
|
12
14
|
inject: DatabaseConnection[];
|
|
13
15
|
} | {
|
|
14
16
|
provide: DatabaseModel;
|
|
15
|
-
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<User, {}, {}, {}, import("mongoose").Document<unknown, {}, User> & User & Required<{
|
|
17
|
+
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<User, {}, {}, {}, import("mongoose").Document<unknown, {}, User, {}, {}> & User & Required<{
|
|
16
18
|
_id: string;
|
|
17
|
-
}
|
|
19
|
+
}> & {
|
|
20
|
+
__v: number;
|
|
21
|
+
}, any>;
|
|
18
22
|
inject: DatabaseConnection[];
|
|
19
23
|
} | {
|
|
20
24
|
provide: RepositoryProvider;
|