easywork-common-lib 1.0.647 → 1.0.649

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 (34) hide show
  1. package/dist/entities/capacitation/course-assigned.entity.d.ts +4 -0
  2. package/dist/entities/{helpers/sales/agent/h_agent_recruiment_stage.entity.js → capacitation/course-assigned.entity.js} +11 -23
  3. package/dist/entities/capacitation/course-assigned.entity.js.map +1 -0
  4. package/dist/entities/capacitation/course-folder-page.entity.d.ts +4 -2
  5. package/dist/entities/capacitation/course-folder-page.entity.js +7 -1
  6. package/dist/entities/capacitation/course-folder-page.entity.js.map +1 -1
  7. package/dist/entities/capacitation/course-progress.entity.d.ts +14 -0
  8. package/dist/entities/capacitation/course-progress.entity.js +53 -0
  9. package/dist/entities/capacitation/course-progress.entity.js.map +1 -0
  10. package/dist/entities/capacitation/course.entity.d.ts +7 -1
  11. package/dist/entities/capacitation/course.entity.js +25 -1
  12. package/dist/entities/capacitation/course.entity.js.map +1 -1
  13. package/dist/entities/capacitation/folder-page.entity.d.ts +11 -0
  14. package/dist/entities/capacitation/folder-page.entity.js +57 -0
  15. package/dist/entities/capacitation/folder-page.entity.js.map +1 -0
  16. package/dist/entities/capacitation/index.d.ts +1 -0
  17. package/dist/entities/capacitation/index.js +3 -1
  18. package/dist/entities/capacitation/index.js.map +1 -1
  19. package/dist/entities/group.entity.d.ts +4 -2
  20. package/dist/entities/group.entity.js +8 -2
  21. package/dist/entities/group.entity.js.map +1 -1
  22. package/dist/entities/sales/contact.entity.d.ts +2 -1
  23. package/dist/entities/sales/contact.entity.js +17 -3
  24. package/dist/entities/sales/contact.entity.js.map +1 -1
  25. package/dist/entities/user.entity.d.ts +13 -10
  26. package/dist/entities/user.entity.js +67 -46
  27. package/dist/entities/user.entity.js.map +1 -1
  28. package/package.json +1 -1
  29. package/tsconfig.tsbuildinfo +1 -1
  30. package/dist/entities/helpers/sales/agent/h_agent_recruiment_stage.entity.d.ts +0 -5
  31. package/dist/entities/helpers/sales/agent/h_agent_recruiment_stage.entity.js.map +0 -1
  32. package/dist/entities/helpers/sales/poliza/poliza_file.entity.d.ts +0 -11
  33. package/dist/entities/helpers/sales/poliza/poliza_file.entity.js +0 -68
  34. package/dist/entities/helpers/sales/poliza/poliza_file.entity.js.map +0 -1
@@ -23,6 +23,7 @@ const group_entity_1 = require("./group.entity");
23
23
  const menu_permissions_entity_1 = require("./menu-permissions.entity");
24
24
  const sales_1 = require("./sales");
25
25
  const tools_enum_1 = require("../common/enums/tools.enum");
26
+ const capacitation_1 = require("./capacitation");
26
27
  let User = class User extends base_entity_1.EntityBase {
27
28
  username;
28
29
  email;
@@ -46,57 +47,59 @@ let User = class User extends base_entity_1.EntityBase {
46
47
  cua;
47
48
  contact;
48
49
  get name() {
49
- return `${this.profile?.firstName ?? ""} ${this.profile?.lastName ?? ""}`.trim();
50
+ return `${this.profile?.firstName ?? ''} ${this.profile?.lastName ?? ''}`.trim();
50
51
  }
51
52
  agentProfile;
53
+ createdCourses;
54
+ courseProgress;
52
55
  };
53
56
  exports.User = User;
54
57
  __decorate([
55
- (0, swagger_1.ApiProperty)({ type: String, description: "Unique username" }),
58
+ (0, swagger_1.ApiProperty)({ type: String, description: 'Unique username' }),
56
59
  (0, typeorm_1.Column)({ unique: true }),
57
60
  __metadata("design:type", String)
58
61
  ], User.prototype, "username", void 0);
59
62
  __decorate([
60
- (0, swagger_1.ApiProperty)({ type: String, description: "Unique email address" }),
63
+ (0, swagger_1.ApiProperty)({ type: String, description: 'Unique email address' }),
61
64
  (0, typeorm_1.Column)({ unique: true }),
62
65
  __metadata("design:type", String)
63
66
  ], User.prototype, "email", void 0);
64
67
  __decorate([
65
- (0, swagger_1.ApiProperty)({ type: String, description: "User bio", nullable: true }),
66
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
68
+ (0, swagger_1.ApiProperty)({ type: String, description: 'User bio', nullable: true }),
69
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
67
70
  __metadata("design:type", String)
68
71
  ], User.prototype, "bio", void 0);
69
72
  __decorate([
70
- (0, swagger_1.ApiProperty)({ type: String, description: "User avatar URL", nullable: true }),
71
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
73
+ (0, swagger_1.ApiProperty)({ type: String, description: 'User avatar URL', nullable: true }),
74
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
72
75
  __metadata("design:type", String)
73
76
  ], User.prototype, "avatar", void 0);
74
77
  __decorate([
75
- (0, swagger_1.ApiProperty)({ enum: tools_enum_1.UserStatus, description: "User status" }),
76
- (0, typeorm_1.Column)({ type: "enum", enum: tools_enum_1.UserStatus, default: tools_enum_1.UserStatus.offline }),
78
+ (0, swagger_1.ApiProperty)({ enum: tools_enum_1.UserStatus, description: 'User status' }),
79
+ (0, typeorm_1.Column)({ type: 'enum', enum: tools_enum_1.UserStatus, default: tools_enum_1.UserStatus.offline }),
77
80
  __metadata("design:type", String)
78
81
  ], User.prototype, "status", void 0);
79
82
  __decorate([
80
- (0, swagger_1.ApiProperty)({ enum: tools_enum_1.UserStatus, description: "User status" }),
81
- (0, typeorm_1.Column)({ type: "enum", enum: tools_enum_1.UserStatus, default: tools_enum_1.UserStatus.working }),
83
+ (0, swagger_1.ApiProperty)({ enum: tools_enum_1.UserStatus, description: 'User status' }),
84
+ (0, typeorm_1.Column)({ type: 'enum', enum: tools_enum_1.UserStatus, default: tools_enum_1.UserStatus.working }),
82
85
  __metadata("design:type", String)
83
86
  ], User.prototype, "savedStatus", void 0);
84
87
  __decorate([
85
88
  (0, class_transformer_1.Exclude)(),
86
89
  (0, swagger_1.ApiProperty)({
87
90
  type: String,
88
- description: "Password hash",
91
+ description: 'Password hash',
89
92
  writeOnly: true,
90
93
  nullable: true,
91
94
  }),
92
- (0, typeorm_1.Column)({ type: "text", nullable: true }),
95
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
93
96
  __metadata("design:type", String)
94
97
  ], User.prototype, "hash", void 0);
95
98
  __decorate([
96
99
  (0, class_transformer_1.Exclude)(),
97
100
  (0, swagger_1.ApiProperty)({
98
101
  type: String,
99
- description: "Two-factor authentication secret",
102
+ description: 'Two-factor authentication secret',
100
103
  required: false,
101
104
  writeOnly: true,
102
105
  }),
@@ -106,7 +109,7 @@ __decorate([
106
109
  __decorate([
107
110
  (0, swagger_1.ApiProperty)({
108
111
  type: Boolean,
109
- description: "Is two-factor authentication enabled",
112
+ description: 'Is two-factor authentication enabled',
110
113
  default: false,
111
114
  }),
112
115
  (0, typeorm_1.Column)({ default: false }),
@@ -115,7 +118,7 @@ __decorate([
115
118
  __decorate([
116
119
  (0, swagger_1.ApiProperty)({
117
120
  type: String,
118
- description: "User phone number",
121
+ description: 'User phone number',
119
122
  required: false,
120
123
  }),
121
124
  (0, typeorm_1.Column)({ unique: true }),
@@ -124,7 +127,7 @@ __decorate([
124
127
  __decorate([
125
128
  (0, swagger_1.ApiProperty)({
126
129
  type: Boolean,
127
- description: "Is user verified",
130
+ description: 'Is user verified',
128
131
  default: false,
129
132
  }),
130
133
  (0, typeorm_1.Column)({ default: false }),
@@ -133,17 +136,17 @@ __decorate([
133
136
  __decorate([
134
137
  (0, swagger_1.ApiProperty)({
135
138
  type: Date,
136
- description: "Last login timestamp",
139
+ description: 'Last login timestamp',
137
140
  required: false,
138
141
  }),
139
- (0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
142
+ (0, typeorm_1.Column)({ type: 'timestamp', nullable: true }),
140
143
  __metadata("design:type", Date)
141
144
  ], User.prototype, "lastLogin", void 0);
142
145
  __decorate([
143
- (0, swagger_1.ApiProperty)({ type: () => profile_entity_1.Profile, description: "User profile" }),
146
+ (0, swagger_1.ApiProperty)({ type: () => profile_entity_1.Profile, description: 'User profile' }),
144
147
  (0, typeorm_1.OneToOne)(() => profile_entity_1.Profile, {
145
- onDelete: "CASCADE",
146
- onUpdate: "CASCADE",
148
+ onDelete: 'CASCADE',
149
+ onUpdate: 'CASCADE',
147
150
  eager: true,
148
151
  }),
149
152
  (0, typeorm_1.JoinColumn)(),
@@ -152,11 +155,11 @@ __decorate([
152
155
  __decorate([
153
156
  (0, swagger_1.ApiProperty)({
154
157
  type: () => [role_entity_1.Role],
155
- description: "Roles assigned to the user",
158
+ description: 'Roles assigned to the user',
156
159
  }),
157
160
  (0, typeorm_1.ManyToMany)(() => role_entity_1.Role, {
158
- onDelete: "CASCADE",
159
- onUpdate: "CASCADE",
161
+ onDelete: 'CASCADE',
162
+ onUpdate: 'CASCADE',
160
163
  }),
161
164
  (0, typeorm_1.JoinTable)(),
162
165
  __metadata("design:type", Array)
@@ -164,80 +167,98 @@ __decorate([
164
167
  __decorate([
165
168
  (0, swagger_1.ApiProperty)({
166
169
  type: () => [tag_entity_1.Tag],
167
- description: "Tags associated with the user",
170
+ description: 'Tags associated with the user',
168
171
  }),
169
- (0, typeorm_1.OneToMany)(() => tag_entity_1.Tag, (tag) => tag.user),
172
+ (0, typeorm_1.OneToMany)(() => tag_entity_1.Tag, tag => tag.user),
170
173
  __metadata("design:type", Array)
171
174
  ], User.prototype, "tags", void 0);
172
175
  __decorate([
173
176
  (0, swagger_1.ApiProperty)({
174
177
  type: () => [push_token_entity_1.PushToken],
175
- description: "Push tokens associated with the user",
178
+ description: 'Push tokens associated with the user',
176
179
  }),
177
- (0, typeorm_1.OneToMany)(() => push_token_entity_1.PushToken, (pushToken) => pushToken.user),
180
+ (0, typeorm_1.OneToMany)(() => push_token_entity_1.PushToken, pushToken => pushToken.user),
178
181
  __metadata("design:type", Array)
179
182
  ], User.prototype, "pushTokens", void 0);
180
183
  __decorate([
181
184
  (0, swagger_1.ApiProperty)({
182
185
  type: () => [user_email_relation_entity_1.UserEmailRelation],
183
- description: "Email relations associated with the user",
186
+ description: 'Email relations associated with the user',
184
187
  }),
185
- (0, typeorm_1.OneToMany)(() => user_email_relation_entity_1.UserEmailRelation, (relation) => relation.user),
188
+ (0, typeorm_1.OneToMany)(() => user_email_relation_entity_1.UserEmailRelation, relation => relation.user),
186
189
  __metadata("design:type", Array)
187
190
  ], User.prototype, "emailRelations", void 0);
188
191
  __decorate([
189
192
  (0, swagger_1.ApiProperty)({
190
193
  type: () => [group_entity_1.Group],
191
- description: "Groups assigned to the user",
194
+ description: 'Groups assigned to the user',
192
195
  }),
193
- (0, typeorm_1.ManyToMany)(() => group_entity_1.Group, (group) => group.users, {
194
- onDelete: "CASCADE",
195
- onUpdate: "CASCADE",
196
+ (0, typeorm_1.ManyToMany)(() => group_entity_1.Group, group => group.users, {
197
+ onDelete: 'CASCADE',
198
+ onUpdate: 'CASCADE',
196
199
  }),
197
200
  (0, typeorm_1.JoinTable)(),
198
201
  __metadata("design:type", Array)
199
202
  ], User.prototype, "groups", void 0);
200
203
  __decorate([
201
- (0, swagger_1.ApiProperty)({ type: () => menu_permissions_entity_1.MenuPermissions, description: "Menu Permissions" }),
204
+ (0, swagger_1.ApiProperty)({ type: () => menu_permissions_entity_1.MenuPermissions, description: 'Menu Permissions' }),
202
205
  (0, typeorm_1.OneToOne)(() => menu_permissions_entity_1.MenuPermissions, {
203
- onDelete: "CASCADE",
204
- onUpdate: "CASCADE",
206
+ onDelete: 'CASCADE',
207
+ onUpdate: 'CASCADE',
205
208
  eager: true,
206
209
  }),
207
210
  (0, typeorm_1.JoinColumn)(),
208
211
  __metadata("design:type", menu_permissions_entity_1.MenuPermissions)
209
212
  ], User.prototype, "menuPermissions", void 0);
210
213
  __decorate([
211
- (0, swagger_1.ApiProperty)({ type: String, description: "CUA", required: false }),
214
+ (0, swagger_1.ApiProperty)({ type: String, description: 'CUA', required: false }),
212
215
  (0, typeorm_1.Column)({ nullable: true }),
213
216
  __metadata("design:type", String)
214
217
  ], User.prototype, "cua", void 0);
215
218
  __decorate([
216
219
  (0, swagger_1.ApiProperty)({
217
220
  type: () => User,
218
- description: "User associated with the contact",
221
+ description: 'User associated with the contact',
219
222
  required: false,
220
223
  }),
221
- (0, typeorm_1.OneToOne)(() => sales_1.Contact, (contact) => contact.user, {
222
- onDelete: "SET NULL",
223
- onUpdate: "CASCADE",
224
+ (0, typeorm_1.OneToOne)(() => sales_1.Contact, contact => contact.user, {
225
+ onDelete: 'SET NULL',
226
+ onUpdate: 'CASCADE',
224
227
  }),
225
228
  __metadata("design:type", sales_1.Contact)
226
229
  ], User.prototype, "contact", void 0);
227
230
  __decorate([
228
- (0, swagger_1.ApiProperty)({ type: String, description: "Full name of the user" }),
231
+ (0, swagger_1.ApiProperty)({ type: String, description: 'Full name of the user' }),
229
232
  __metadata("design:type", String),
230
233
  __metadata("design:paramtypes", [])
231
234
  ], User.prototype, "name", null);
232
235
  __decorate([
233
236
  (0, swagger_1.ApiProperty)({
234
237
  type: () => sales_1.Agent,
235
- description: "Agent associated with the user",
238
+ description: 'Agent associated with the user',
236
239
  required: false,
237
240
  }),
238
- (0, typeorm_1.OneToOne)(() => sales_1.Agent, (agent) => agent.user),
241
+ (0, typeorm_1.OneToOne)(() => sales_1.Agent, agent => agent.user),
239
242
  __metadata("design:type", sales_1.Agent)
240
243
  ], User.prototype, "agentProfile", void 0);
244
+ __decorate([
245
+ (0, swagger_1.ApiProperty)({
246
+ type: () => capacitation_1.Course,
247
+ description: 'Courses created',
248
+ required: false,
249
+ }),
250
+ (0, typeorm_1.OneToMany)(() => capacitation_1.Course, course => course.createdBy),
251
+ __metadata("design:type", Array)
252
+ ], User.prototype, "createdCourses", void 0);
253
+ __decorate([
254
+ (0, swagger_1.ApiProperty)({
255
+ type: () => capacitation_1.CourseProgress,
256
+ description: 'Progress of assigned courses',
257
+ required: false,
258
+ }),
259
+ (0, typeorm_1.OneToMany)(() => capacitation_1.CourseProgress, courseProgress => courseProgress.user),
260
+ __metadata("design:type", Array)
261
+ ], User.prototype, "courseProgress", void 0);
241
262
  exports.User = User = __decorate([
242
263
  (0, typeorm_1.Entity)()
243
264
  ], User);
@@ -1 +1 @@
1
- {"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gEAA4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gCAAgC;QAC7C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,aAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;8BAC5B,aAAK;0CAAC;AAQrB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,qBAAM;QAClB,WAAW,EAAE,iBAAiB;QAC9B,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC;;4CAC1B;AAQ1B;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,6BAAc;QAC1B,WAAW,EAAE,8BAA8B;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6BAAc,EAAE,cAAc,CAAC,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC;;4CACrC;eArLvB,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAsLhB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.647",
3
+ "version": "1.0.649",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {