@acorex-platform/module-learning-management-client 0.0.21
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/fesm2022/acorex-platform-module-learning-management-client-contracts.mjs +321 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client.mjs +1097 -0
- package/fesm2022/acorex-platform-module-learning-management-client.mjs.map +1 -0
- package/package.json +28 -0
- package/types/acorex-platform-module-learning-management-client-contracts.d.ts +532 -0
- package/types/acorex-platform-module-learning-management-client.d.ts +209 -0
|
@@ -0,0 +1,532 @@
|
|
|
1
|
+
import { AXPEntityModel } from '@acorex-platform/framework-shared/entity';
|
|
2
|
+
import { AXPMultiLanguageString, AXPCategoryListItem } from '@acorex-platform/framework-shared/core';
|
|
3
|
+
|
|
4
|
+
declare const AXMLearningManagementMenuKeys: {
|
|
5
|
+
readonly Root: "learning-management:menu";
|
|
6
|
+
readonly ConfigurationRoot: "learning-management:menu:configuration";
|
|
7
|
+
readonly Skills: "learning-management:menu:skills";
|
|
8
|
+
readonly Courses: "learning-management:menu:courses";
|
|
9
|
+
readonly Trainings: "learning-management:menu:trainings";
|
|
10
|
+
readonly Enrollments: "learning-management:menu:enrollments";
|
|
11
|
+
readonly Certificates: "learning-management:menu:certificates";
|
|
12
|
+
readonly Licenses: "learning-management:menu:licenses";
|
|
13
|
+
readonly LearningPaths: "learning-management:menu:learning-paths";
|
|
14
|
+
readonly Compliance: "learning-management:menu:compliance";
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Learning capabilities used by this module.
|
|
19
|
+
* Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
|
|
20
|
+
*/
|
|
21
|
+
declare const AXPLearningPermissionKeys: {
|
|
22
|
+
readonly Access: "Learning:Permission:Access";
|
|
23
|
+
readonly MaintainLearning: "Learning:Permission:MaintainLearning";
|
|
24
|
+
readonly Setup: "Learning:Permission:Setup";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated Prefer {@link AXPLearningPermissionKeys}.
|
|
28
|
+
* Legacy nested shape kept so existing imports compile during migration.
|
|
29
|
+
*/
|
|
30
|
+
declare const AXMLearningManagementPermissionKeys: {
|
|
31
|
+
readonly LearningManagement: {
|
|
32
|
+
readonly Management: "Learning:Permission:MaintainLearning";
|
|
33
|
+
readonly SkillCategory: {
|
|
34
|
+
readonly Management: "Learning:Permission:Setup";
|
|
35
|
+
readonly View: "Learning:Permission:Setup";
|
|
36
|
+
readonly Create: "Learning:Permission:Setup";
|
|
37
|
+
readonly Update: "Learning:Permission:Setup";
|
|
38
|
+
readonly Delete: "Learning:Permission:Setup";
|
|
39
|
+
};
|
|
40
|
+
readonly Skill: {
|
|
41
|
+
readonly Management: "Learning:Permission:Setup";
|
|
42
|
+
readonly View: "Learning:Permission:Setup";
|
|
43
|
+
readonly Create: "Learning:Permission:Setup";
|
|
44
|
+
readonly Update: "Learning:Permission:Setup";
|
|
45
|
+
readonly Delete: "Learning:Permission:Setup";
|
|
46
|
+
};
|
|
47
|
+
readonly SkillLevel: {
|
|
48
|
+
readonly Management: "Learning:Permission:Setup";
|
|
49
|
+
readonly View: "Learning:Permission:Setup";
|
|
50
|
+
readonly Create: "Learning:Permission:Setup";
|
|
51
|
+
readonly Update: "Learning:Permission:Setup";
|
|
52
|
+
readonly Delete: "Learning:Permission:Setup";
|
|
53
|
+
};
|
|
54
|
+
readonly CourseType: {
|
|
55
|
+
readonly Management: "Learning:Permission:Setup";
|
|
56
|
+
readonly View: "Learning:Permission:Setup";
|
|
57
|
+
readonly Create: "Learning:Permission:Setup";
|
|
58
|
+
readonly Update: "Learning:Permission:Setup";
|
|
59
|
+
readonly Delete: "Learning:Permission:Setup";
|
|
60
|
+
};
|
|
61
|
+
readonly Course: {
|
|
62
|
+
readonly Management: "Learning:Permission:MaintainLearning";
|
|
63
|
+
readonly View: "Learning:Permission:MaintainLearning";
|
|
64
|
+
readonly Create: "Learning:Permission:MaintainLearning";
|
|
65
|
+
readonly Update: "Learning:Permission:MaintainLearning";
|
|
66
|
+
readonly Delete: "Learning:Permission:MaintainLearning";
|
|
67
|
+
readonly Publish: "Learning:Permission:MaintainLearning";
|
|
68
|
+
};
|
|
69
|
+
readonly TrainingType: {
|
|
70
|
+
readonly Management: "Learning:Permission:Setup";
|
|
71
|
+
readonly View: "Learning:Permission:Setup";
|
|
72
|
+
readonly Create: "Learning:Permission:Setup";
|
|
73
|
+
readonly Update: "Learning:Permission:Setup";
|
|
74
|
+
readonly Delete: "Learning:Permission:Setup";
|
|
75
|
+
};
|
|
76
|
+
readonly TrainingDefinition: {
|
|
77
|
+
readonly Management: "Learning:Permission:Setup";
|
|
78
|
+
readonly View: "Learning:Permission:Setup";
|
|
79
|
+
readonly Create: "Learning:Permission:Setup";
|
|
80
|
+
readonly Update: "Learning:Permission:Setup";
|
|
81
|
+
readonly Delete: "Learning:Permission:Setup";
|
|
82
|
+
readonly Publish: "Learning:Permission:Setup";
|
|
83
|
+
};
|
|
84
|
+
readonly Training: {
|
|
85
|
+
readonly Management: "Learning:Permission:MaintainLearning";
|
|
86
|
+
readonly View: "Learning:Permission:MaintainLearning";
|
|
87
|
+
readonly Create: "Learning:Permission:MaintainLearning";
|
|
88
|
+
readonly Update: "Learning:Permission:MaintainLearning";
|
|
89
|
+
readonly Delete: "Learning:Permission:MaintainLearning";
|
|
90
|
+
readonly Schedule: "Learning:Permission:MaintainLearning";
|
|
91
|
+
readonly Close: "Learning:Permission:MaintainLearning";
|
|
92
|
+
};
|
|
93
|
+
readonly Enrollment: {
|
|
94
|
+
readonly Management: "Learning:Permission:MaintainLearning";
|
|
95
|
+
readonly View: "Learning:Permission:MaintainLearning";
|
|
96
|
+
readonly Create: "Learning:Permission:MaintainLearning";
|
|
97
|
+
readonly Update: "Learning:Permission:MaintainLearning";
|
|
98
|
+
readonly Delete: "Learning:Permission:MaintainLearning";
|
|
99
|
+
readonly Process: "Learning:Permission:MaintainLearning";
|
|
100
|
+
};
|
|
101
|
+
readonly Attendance: {
|
|
102
|
+
readonly Management: "Learning:Permission:MaintainLearning";
|
|
103
|
+
readonly View: "Learning:Permission:MaintainLearning";
|
|
104
|
+
readonly Create: "Learning:Permission:MaintainLearning";
|
|
105
|
+
readonly Update: "Learning:Permission:MaintainLearning";
|
|
106
|
+
readonly Delete: "Learning:Permission:MaintainLearning";
|
|
107
|
+
readonly Record: "Learning:Permission:MaintainLearning";
|
|
108
|
+
};
|
|
109
|
+
readonly CertificateType: {
|
|
110
|
+
readonly Management: "Learning:Permission:Setup";
|
|
111
|
+
readonly View: "Learning:Permission:Setup";
|
|
112
|
+
readonly Create: "Learning:Permission:Setup";
|
|
113
|
+
readonly Update: "Learning:Permission:Setup";
|
|
114
|
+
readonly Delete: "Learning:Permission:Setup";
|
|
115
|
+
};
|
|
116
|
+
readonly CertificateDefinition: {
|
|
117
|
+
readonly Management: "Learning:Permission:Setup";
|
|
118
|
+
readonly View: "Learning:Permission:Setup";
|
|
119
|
+
readonly Create: "Learning:Permission:Setup";
|
|
120
|
+
readonly Update: "Learning:Permission:Setup";
|
|
121
|
+
readonly Delete: "Learning:Permission:Setup";
|
|
122
|
+
readonly Publish: "Learning:Permission:Setup";
|
|
123
|
+
};
|
|
124
|
+
readonly Certificate: {
|
|
125
|
+
readonly Management: "Learning:Permission:MaintainLearning";
|
|
126
|
+
readonly View: "Learning:Permission:MaintainLearning";
|
|
127
|
+
readonly Create: "Learning:Permission:MaintainLearning";
|
|
128
|
+
readonly Update: "Learning:Permission:MaintainLearning";
|
|
129
|
+
readonly Delete: "Learning:Permission:MaintainLearning";
|
|
130
|
+
readonly Issue: "Learning:Permission:MaintainLearning";
|
|
131
|
+
readonly Renew: "Learning:Permission:MaintainLearning";
|
|
132
|
+
};
|
|
133
|
+
readonly LearningPath: {
|
|
134
|
+
readonly Management: "Learning:Permission:MaintainLearning";
|
|
135
|
+
readonly View: "Learning:Permission:MaintainLearning";
|
|
136
|
+
readonly Create: "Learning:Permission:MaintainLearning";
|
|
137
|
+
readonly Update: "Learning:Permission:MaintainLearning";
|
|
138
|
+
readonly Delete: "Learning:Permission:MaintainLearning";
|
|
139
|
+
readonly Publish: "Learning:Permission:MaintainLearning";
|
|
140
|
+
readonly Assign: "Learning:Permission:MaintainLearning";
|
|
141
|
+
};
|
|
142
|
+
readonly MandatoryTrainingRule: {
|
|
143
|
+
readonly Management: "Learning:Permission:MaintainLearning";
|
|
144
|
+
readonly View: "Learning:Permission:MaintainLearning";
|
|
145
|
+
readonly Create: "Learning:Permission:MaintainLearning";
|
|
146
|
+
readonly Update: "Learning:Permission:MaintainLearning";
|
|
147
|
+
readonly Delete: "Learning:Permission:MaintainLearning";
|
|
148
|
+
readonly Activate: "Learning:Permission:MaintainLearning";
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
declare const RootConfig: {
|
|
154
|
+
readonly config: {
|
|
155
|
+
readonly i18n: "learning-management";
|
|
156
|
+
readonly module: "LearningManagement";
|
|
157
|
+
};
|
|
158
|
+
readonly module: {
|
|
159
|
+
readonly module: "learning-management";
|
|
160
|
+
readonly name: "LearningManagement";
|
|
161
|
+
readonly title: "@learning-management:module.title";
|
|
162
|
+
readonly icon: "fa-light fa-graduation-cap";
|
|
163
|
+
};
|
|
164
|
+
readonly entities: {
|
|
165
|
+
readonly skillCategory: {
|
|
166
|
+
readonly name: "SkillCategory";
|
|
167
|
+
readonly title: "@learning-management:skills.entities.skill-category.title";
|
|
168
|
+
readonly titlePlural: "@learning-management:skills.entities.skill-category.plural";
|
|
169
|
+
readonly icon: "fa-light fa-layer-group";
|
|
170
|
+
};
|
|
171
|
+
readonly skill: {
|
|
172
|
+
readonly name: "Skill";
|
|
173
|
+
readonly title: "@learning-management:skills.entities.skill.title";
|
|
174
|
+
readonly titlePlural: "@learning-management:skills.entities.skill.plural";
|
|
175
|
+
readonly icon: "fa-light fa-lightbulb";
|
|
176
|
+
};
|
|
177
|
+
readonly skillLevel: {
|
|
178
|
+
readonly name: "SkillLevel";
|
|
179
|
+
readonly title: "@learning-management:skills.entities.skill-level.title";
|
|
180
|
+
readonly titlePlural: "@learning-management:skills.entities.skill-level.plural";
|
|
181
|
+
readonly icon: "fa-light fa-stairs";
|
|
182
|
+
};
|
|
183
|
+
readonly courseType: {
|
|
184
|
+
readonly name: "CourseType";
|
|
185
|
+
readonly title: "@learning-management:courses.entities.course-type.title";
|
|
186
|
+
readonly titlePlural: "@learning-management:courses.entities.course-type.plural";
|
|
187
|
+
readonly icon: "fa-light fa-diagram-project";
|
|
188
|
+
};
|
|
189
|
+
readonly trainingDefinition: {
|
|
190
|
+
readonly name: "TrainingDefinition";
|
|
191
|
+
readonly title: "@learning-management:trainings.entities.training-definition.title";
|
|
192
|
+
readonly titlePlural: "@learning-management:trainings.entities.training-definition.plural";
|
|
193
|
+
readonly icon: "fa-light fa-clipboard-list-check";
|
|
194
|
+
};
|
|
195
|
+
readonly course: {
|
|
196
|
+
readonly name: "Course";
|
|
197
|
+
readonly title: "@learning-management:courses.entities.course.title";
|
|
198
|
+
readonly titlePlural: "@learning-management:courses.entities.course.plural";
|
|
199
|
+
readonly icon: "fa-light fa-book-open";
|
|
200
|
+
};
|
|
201
|
+
readonly trainingType: {
|
|
202
|
+
readonly name: "TrainingType";
|
|
203
|
+
readonly title: "@learning-management:trainings.entities.training-type.title";
|
|
204
|
+
readonly titlePlural: "@learning-management:trainings.entities.training-type.plural";
|
|
205
|
+
readonly icon: "fa-light fa-clipboard-list";
|
|
206
|
+
};
|
|
207
|
+
readonly training: {
|
|
208
|
+
readonly name: "Training";
|
|
209
|
+
readonly title: "@learning-management:trainings.entities.training.title";
|
|
210
|
+
readonly titlePlural: "@learning-management:trainings.entities.training.plural";
|
|
211
|
+
readonly icon: "fa-light fa-chalkboard-teacher";
|
|
212
|
+
};
|
|
213
|
+
readonly enrollment: {
|
|
214
|
+
readonly name: "Enrollment";
|
|
215
|
+
readonly title: "@learning-management:enrollments.entities.enrollment.title";
|
|
216
|
+
readonly titlePlural: "@learning-management:enrollments.entities.enrollment.plural";
|
|
217
|
+
readonly icon: "fa-light fa-user-plus";
|
|
218
|
+
};
|
|
219
|
+
readonly attendance: {
|
|
220
|
+
readonly name: "Attendance";
|
|
221
|
+
readonly title: "@learning-management:enrollments.entities.attendance.title";
|
|
222
|
+
readonly titlePlural: "@learning-management:enrollments.entities.attendance.plural";
|
|
223
|
+
readonly icon: "fa-light fa-calendar-check";
|
|
224
|
+
};
|
|
225
|
+
readonly certificateType: {
|
|
226
|
+
readonly name: "CertificateType";
|
|
227
|
+
readonly title: "@learning-management:certificates.entities.certificate-type.title";
|
|
228
|
+
readonly titlePlural: "@learning-management:certificates.entities.certificate-type.plural";
|
|
229
|
+
readonly icon: "fa-light fa-stamp";
|
|
230
|
+
};
|
|
231
|
+
readonly certificateDefinition: {
|
|
232
|
+
readonly name: "CertificateDefinition";
|
|
233
|
+
readonly title: "@learning-management:certificates.entities.certificate-definition.title";
|
|
234
|
+
readonly titlePlural: "@learning-management:certificates.entities.certificate-definition.plural";
|
|
235
|
+
readonly icon: "fa-light fa-scroll";
|
|
236
|
+
};
|
|
237
|
+
readonly certificate: {
|
|
238
|
+
readonly name: "Certificate";
|
|
239
|
+
readonly title: "@learning-management:certificates.entities.certificate.title";
|
|
240
|
+
readonly titlePlural: "@learning-management:certificates.entities.certificate.plural";
|
|
241
|
+
readonly icon: "fa-light fa-award";
|
|
242
|
+
};
|
|
243
|
+
readonly learningPath: {
|
|
244
|
+
readonly name: "LearningPath";
|
|
245
|
+
readonly title: "@learning-management:learning-paths.entities.learning-path.title";
|
|
246
|
+
readonly titlePlural: "@learning-management:learning-paths.entities.learning-path.plural";
|
|
247
|
+
readonly icon: "fa-light fa-route";
|
|
248
|
+
};
|
|
249
|
+
readonly learningPathCourse: {
|
|
250
|
+
readonly name: "LearningPathCourse";
|
|
251
|
+
readonly title: "@learning-management:learning-paths.entities.learning-path-course.title";
|
|
252
|
+
readonly titlePlural: "@learning-management:learning-paths.entities.learning-path-course.plural";
|
|
253
|
+
readonly icon: "fa-light fa-list-ol";
|
|
254
|
+
};
|
|
255
|
+
readonly mandatoryTrainingRule: {
|
|
256
|
+
readonly name: "MandatoryTrainingRule";
|
|
257
|
+
readonly title: "@learning-management:compliance.entities.mandatory-training-rule.title";
|
|
258
|
+
readonly titlePlural: "@learning-management:compliance.entities.mandatory-training-rule.plural";
|
|
259
|
+
readonly icon: "fa-light fa-clipboard-check";
|
|
260
|
+
};
|
|
261
|
+
readonly licenseType: {
|
|
262
|
+
readonly name: "LicenseType";
|
|
263
|
+
readonly title: "@learning-management:licenses.entities.license-type.title";
|
|
264
|
+
readonly titlePlural: "@learning-management:licenses.entities.license-type.plural";
|
|
265
|
+
readonly icon: "fa-light fa-tags";
|
|
266
|
+
};
|
|
267
|
+
readonly license: {
|
|
268
|
+
readonly name: "License";
|
|
269
|
+
readonly title: "@learning-management:licenses.entities.license.title";
|
|
270
|
+
readonly titlePlural: "@learning-management:licenses.entities.license.plural";
|
|
271
|
+
readonly icon: "fa-light fa-id-card";
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
readonly queries: {
|
|
275
|
+
readonly dashboard: {
|
|
276
|
+
readonly trainingDueKpi: "LearningManagement:Dashboard:TrainingDueKpi";
|
|
277
|
+
readonly trainingComplianceGauge: "LearningManagement:Dashboard:TrainingComplianceGauge";
|
|
278
|
+
readonly trainingStatusDonut: "LearningManagement:Dashboard:TrainingStatusDonut";
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
type AttendanceStatus = 'Present' | 'Absent' | 'Late';
|
|
284
|
+
interface AXMLearningManagementAttendanceEntityModel extends AXPEntityModel<string> {
|
|
285
|
+
enrollmentId: string;
|
|
286
|
+
sessionDate: string;
|
|
287
|
+
status: AttendanceStatus;
|
|
288
|
+
enrollment?: {
|
|
289
|
+
id: string;
|
|
290
|
+
employeeId: string;
|
|
291
|
+
trainingId: string;
|
|
292
|
+
};
|
|
293
|
+
notes?: string | null;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
interface AXMLearningManagementCertificateEntityModel extends AXPEntityModel<string> {
|
|
297
|
+
certificateDefinitionId: string;
|
|
298
|
+
certificateTypeId: string;
|
|
299
|
+
employeeId: string;
|
|
300
|
+
courseId?: string | null;
|
|
301
|
+
issueDate: string;
|
|
302
|
+
expiryDate?: string | null;
|
|
303
|
+
fileId?: string | null;
|
|
304
|
+
notes?: string | null;
|
|
305
|
+
certificateDefinition?: {
|
|
306
|
+
id: string;
|
|
307
|
+
title: AXPMultiLanguageString;
|
|
308
|
+
};
|
|
309
|
+
certificateType?: {
|
|
310
|
+
id: string;
|
|
311
|
+
title: AXPMultiLanguageString;
|
|
312
|
+
};
|
|
313
|
+
employee?: {
|
|
314
|
+
id: string;
|
|
315
|
+
displayName: string;
|
|
316
|
+
};
|
|
317
|
+
course?: {
|
|
318
|
+
id: string;
|
|
319
|
+
title: AXPMultiLanguageString;
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
interface AXMLearningManagementCertificateDefinitionEntityModel extends AXPEntityModel<string> {
|
|
324
|
+
title: AXPMultiLanguageString;
|
|
325
|
+
description?: AXPMultiLanguageString | null;
|
|
326
|
+
certificateTypeId: string;
|
|
327
|
+
certificateType?: {
|
|
328
|
+
id: string;
|
|
329
|
+
title: AXPMultiLanguageString;
|
|
330
|
+
};
|
|
331
|
+
courseId?: string | null;
|
|
332
|
+
course?: {
|
|
333
|
+
id: string;
|
|
334
|
+
title: AXPMultiLanguageString;
|
|
335
|
+
};
|
|
336
|
+
validityDays?: number | null;
|
|
337
|
+
templateId?: string | null;
|
|
338
|
+
isActive: boolean;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
interface AXMLearningManagementCertificateTypeEntityModel extends AXPEntityModel<string> {
|
|
342
|
+
code: string;
|
|
343
|
+
title: AXPMultiLanguageString;
|
|
344
|
+
description?: AXPMultiLanguageString | null;
|
|
345
|
+
validityDays?: number | null;
|
|
346
|
+
templateId?: string | null;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
interface AXMLearningManagementCourseEntityModel extends AXPEntityModel<string> {
|
|
350
|
+
code: string;
|
|
351
|
+
title: AXPMultiLanguageString;
|
|
352
|
+
description?: AXPMultiLanguageString | null;
|
|
353
|
+
courseTypeId: string;
|
|
354
|
+
durationHours?: number | null;
|
|
355
|
+
relatedSkillIds: string[];
|
|
356
|
+
certificateDefinitionIds?: string[];
|
|
357
|
+
courseType?: {
|
|
358
|
+
id: string;
|
|
359
|
+
title: AXPMultiLanguageString;
|
|
360
|
+
};
|
|
361
|
+
skills?: Array<{
|
|
362
|
+
id: string;
|
|
363
|
+
title: AXPMultiLanguageString;
|
|
364
|
+
}>;
|
|
365
|
+
certificateDefinitions?: Array<{
|
|
366
|
+
id: string;
|
|
367
|
+
title: AXPMultiLanguageString;
|
|
368
|
+
}>;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
interface AXMLearningManagementCourseTypeEntityModel extends AXPEntityModel<string> {
|
|
372
|
+
code: string;
|
|
373
|
+
title: AXPMultiLanguageString;
|
|
374
|
+
description?: AXPMultiLanguageString | null;
|
|
375
|
+
deliveryMode?: string | null;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
type EnrollmentStatus = 'Requested' | 'Approved' | 'Enrolled' | 'Completed' | 'Failed' | 'Cancelled';
|
|
379
|
+
interface AXMLearningManagementEnrollmentEntityModel extends AXPEntityModel<string> {
|
|
380
|
+
employeeId: string;
|
|
381
|
+
trainingId: string;
|
|
382
|
+
status: EnrollmentStatus;
|
|
383
|
+
notes?: string | null;
|
|
384
|
+
employee?: {
|
|
385
|
+
id: string;
|
|
386
|
+
displayName: string;
|
|
387
|
+
};
|
|
388
|
+
training?: {
|
|
389
|
+
id: string;
|
|
390
|
+
title: AXPMultiLanguageString;
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
interface AXMLearningManagementLearningPathEntityModel extends AXPEntityModel<string> {
|
|
395
|
+
code: string;
|
|
396
|
+
title: AXPMultiLanguageString;
|
|
397
|
+
description?: AXPMultiLanguageString | null;
|
|
398
|
+
isActive: boolean;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
interface AXMLearningManagementLearningPathCourseEntityModel extends AXPEntityModel<string> {
|
|
402
|
+
learningPathId: string;
|
|
403
|
+
courseId: string;
|
|
404
|
+
orderIndex: number;
|
|
405
|
+
course?: {
|
|
406
|
+
id: string;
|
|
407
|
+
title: AXPMultiLanguageString;
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
type AXMLearningManagementLicenseValidityPeriodUnit = 'day' | 'month' | 'year';
|
|
412
|
+
interface AXMLearningManagementLicenseEntityModel extends AXPEntityModel<string> {
|
|
413
|
+
code: string;
|
|
414
|
+
title: AXPMultiLanguageString;
|
|
415
|
+
description?: AXPMultiLanguageString | null;
|
|
416
|
+
licenseTypeId: string;
|
|
417
|
+
licenseType?: {
|
|
418
|
+
id: string;
|
|
419
|
+
title: AXPMultiLanguageString;
|
|
420
|
+
};
|
|
421
|
+
validityPeriod?: number | null;
|
|
422
|
+
validityPeriodUnit?: AXMLearningManagementLicenseValidityPeriodUnit | null;
|
|
423
|
+
requiresRenewal: boolean;
|
|
424
|
+
requiresLicenseNumber: boolean;
|
|
425
|
+
requiresDocument: boolean;
|
|
426
|
+
requiresVerification: boolean;
|
|
427
|
+
renewalNoticeDays?: number | null;
|
|
428
|
+
issuingAuthorityName?: string | null;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
interface AXMLearningManagementLicenseTypeEntityModel extends AXPEntityModel<string> {
|
|
432
|
+
code: string;
|
|
433
|
+
title: AXPMultiLanguageString;
|
|
434
|
+
description?: AXPMultiLanguageString;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
interface AXMLearningManagementMandatoryTrainingRuleEntityModel extends AXPEntityModel<string> {
|
|
438
|
+
positionId: string;
|
|
439
|
+
courseId: string;
|
|
440
|
+
frequencyMonths?: number | null;
|
|
441
|
+
position?: {
|
|
442
|
+
id: string;
|
|
443
|
+
title: AXPMultiLanguageString;
|
|
444
|
+
};
|
|
445
|
+
course?: {
|
|
446
|
+
id: string;
|
|
447
|
+
title: AXPMultiLanguageString;
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
interface AXMLearningManagementSkillEntityModel extends AXPEntityModel<string> {
|
|
452
|
+
/** Unique programmatic key for expressions and integrations (identifier-style). */
|
|
453
|
+
name: string;
|
|
454
|
+
title: AXPMultiLanguageString;
|
|
455
|
+
description?: AXPMultiLanguageString | null;
|
|
456
|
+
code?: string | null;
|
|
457
|
+
categoryIds: string[];
|
|
458
|
+
categories?: AXPCategoryListItem[];
|
|
459
|
+
relatedCourseIds?: string[];
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
interface AXMLearningManagementSkillLevelEntityModel extends AXPEntityModel<string> {
|
|
463
|
+
title: AXPMultiLanguageString;
|
|
464
|
+
levelNumber: number;
|
|
465
|
+
description?: AXPMultiLanguageString | null;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
type TrainingStatus = 'Draft' | 'Open' | 'Closed' | 'Cancelled';
|
|
469
|
+
interface AXMLearningManagementTrainingEntityModel extends AXPEntityModel<string> {
|
|
470
|
+
trainingDefinitionId: string;
|
|
471
|
+
courseId: string;
|
|
472
|
+
trainingTypeId: string;
|
|
473
|
+
startDate: string;
|
|
474
|
+
endDate: string;
|
|
475
|
+
locationId?: string | null;
|
|
476
|
+
instructorId?: string | null;
|
|
477
|
+
capacity?: number | null;
|
|
478
|
+
status: TrainingStatus;
|
|
479
|
+
notes?: string | null;
|
|
480
|
+
trainingDefinition?: {
|
|
481
|
+
id: string;
|
|
482
|
+
title: AXPMultiLanguageString;
|
|
483
|
+
};
|
|
484
|
+
course?: {
|
|
485
|
+
id: string;
|
|
486
|
+
title: AXPMultiLanguageString;
|
|
487
|
+
};
|
|
488
|
+
trainingType?: {
|
|
489
|
+
id: string;
|
|
490
|
+
title: AXPMultiLanguageString;
|
|
491
|
+
};
|
|
492
|
+
location?: {
|
|
493
|
+
id: string;
|
|
494
|
+
title: string;
|
|
495
|
+
};
|
|
496
|
+
instructor?: {
|
|
497
|
+
id: string;
|
|
498
|
+
displayName: string;
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
interface AXMLearningManagementTrainingDefinitionEntityModel extends AXPEntityModel<string> {
|
|
503
|
+
title: AXPMultiLanguageString;
|
|
504
|
+
description?: AXPMultiLanguageString | null;
|
|
505
|
+
courseId: string;
|
|
506
|
+
course?: {
|
|
507
|
+
id: string;
|
|
508
|
+
title: AXPMultiLanguageString;
|
|
509
|
+
};
|
|
510
|
+
trainingTypeId: string;
|
|
511
|
+
trainingType?: {
|
|
512
|
+
id: string;
|
|
513
|
+
title: AXPMultiLanguageString;
|
|
514
|
+
};
|
|
515
|
+
defaultDurationHours?: number | null;
|
|
516
|
+
defaultCapacity?: number | null;
|
|
517
|
+
defaultLocationId?: string | null;
|
|
518
|
+
defaultLocation?: {
|
|
519
|
+
id: string;
|
|
520
|
+
title: string;
|
|
521
|
+
};
|
|
522
|
+
isActive: boolean;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
interface AXMLearningManagementTrainingTypeEntityModel extends AXPEntityModel<string> {
|
|
526
|
+
code: string;
|
|
527
|
+
title: AXPMultiLanguageString;
|
|
528
|
+
description?: AXPMultiLanguageString | null;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
export { AXMLearningManagementMenuKeys, AXMLearningManagementPermissionKeys, AXPLearningPermissionKeys, RootConfig };
|
|
532
|
+
export type { AXMLearningManagementAttendanceEntityModel, AXMLearningManagementCertificateDefinitionEntityModel, AXMLearningManagementCertificateEntityModel, AXMLearningManagementCertificateTypeEntityModel, AXMLearningManagementCourseEntityModel, AXMLearningManagementCourseTypeEntityModel, AXMLearningManagementEnrollmentEntityModel, AXMLearningManagementLearningPathCourseEntityModel, AXMLearningManagementLearningPathEntityModel, AXMLearningManagementLicenseEntityModel, AXMLearningManagementLicenseTypeEntityModel, AXMLearningManagementLicenseValidityPeriodUnit, AXMLearningManagementMandatoryTrainingRuleEntityModel, AXMLearningManagementSkillEntityModel, AXMLearningManagementSkillLevelEntityModel, AXMLearningManagementTrainingDefinitionEntityModel, AXMLearningManagementTrainingEntityModel, AXMLearningManagementTrainingTypeEntityModel, AttendanceStatus, EnrollmentStatus, TrainingStatus };
|