@leavittsoftware/lg-core-typescript 5.1502.0 → 5.1504.0
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/api4.leavitt.com.js +6 -0
- package/api4.leavitt.com.js.map +1 -1
- package/api4.leavitt.com.ts +117 -1
- package/package.json +1 -1
package/api4.leavitt.com.js
CHANGED
|
@@ -144,4 +144,10 @@ export var BadDataStatisticsRequestType;
|
|
|
144
144
|
BadDataStatisticsRequestType[BadDataStatisticsRequestType["Weekly"] = 1] = "Weekly";
|
|
145
145
|
BadDataStatisticsRequestType[BadDataStatisticsRequestType["Monthly"] = 2] = "Monthly";
|
|
146
146
|
})(BadDataStatisticsRequestType || (BadDataStatisticsRequestType = {}));
|
|
147
|
+
export var CoursePerformanceStatsType;
|
|
148
|
+
(function (CoursePerformanceStatsType) {
|
|
149
|
+
CoursePerformanceStatsType[CoursePerformanceStatsType["TestPassed"] = 0] = "TestPassed";
|
|
150
|
+
CoursePerformanceStatsType[CoursePerformanceStatsType["TestFailed"] = 1] = "TestFailed";
|
|
151
|
+
CoursePerformanceStatsType[CoursePerformanceStatsType["LessonCompleted"] = 2] = "LessonCompleted";
|
|
152
|
+
})(CoursePerformanceStatsType || (CoursePerformanceStatsType = {}));
|
|
147
153
|
//# sourceMappingURL=api4.leavitt.com.js.map
|
package/api4.leavitt.com.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api4.leavitt.com.js","sourceRoot":"","sources":["api4.leavitt.com.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api4.leavitt.com.js","sourceRoot":"","sources":["api4.leavitt.com.ts"],"names":[],"mappings":"AAuwHA,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAChC,2FAAkB,CAAA;IAClB,qFAAe,CAAA;AACnB,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,QAGnC;AAID,MAAM,CAAN,IAAY,qBAOX;AAP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AAiB,CAAA;IACjB,uDAAU,CAAA;IACV,2DAAY,CAAA;IACZ,qDAAS,CAAA;IACT,qEAAiB,CAAA;IACjB,yEAAmB,CAAA;AACvB,CAAC,EAPW,cAAc,KAAd,cAAc,QAOzB;AAID,MAAM,CAAN,IAAY,yBASX;AATD,WAAY,yBAAyB;IACjC,uEAAO,CAAA;IACP,2FAAiB,CAAA;IACjB,+FAAmB,CAAA;IACnB,6GAA0B,CAAA;IAC1B,iFAAY,CAAA;IACZ,yEAAQ,CAAA;IACR,6EAAU,CAAA;IACV,mGAAqB,CAAA;AACzB,CAAC,EATW,yBAAyB,KAAzB,yBAAyB,QASpC;AAID,MAAM,CAAN,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,yDAAK,CAAA;IACL,yDAAK,CAAA;IACL,yDAAK,CAAA;AACT,CAAC,EAJW,oBAAoB,KAApB,oBAAoB,QAI/B;AAID,MAAM,CAAN,IAAY,4BAIX;AAJD,WAAY,4BAA4B;IACpC,iFAAS,CAAA;IACT,mFAAU,CAAA;IACV,qFAAW,CAAA;AACf,CAAC,EAJW,4BAA4B,KAA5B,4BAA4B,QAIvC;AAID,MAAM,CAAN,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IAClC,uFAAc,CAAA;IACd,uFAAc,CAAA;IACd,iGAAmB,CAAA;AACvB,CAAC,EAJW,0BAA0B,KAA1B,0BAA0B,QAIrC"}
|
package/api4.leavitt.com.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { UnionConcat } from './enum-helpers'
|
|
7
7
|
import { CLIENT_STATUSString, BUSINESS_TYPEString, PHONE_TYPEString, PLAN_STATUSString, SPLIT_TYPE_VALUESString } from './lg.net.benefitpoint.datalake.warehouse'
|
|
8
8
|
import { IDatabaseAttachment } from './lg.net.system'
|
|
9
|
-
import { VehicleReservationStatusString, VehicleUnavailableReasonString, TaskStatusTypeString, TimelineEnabledPage, PolicyTypeString, ProducerCommissionRate, FailReason, DifferedCompensation, Expectation, SalesExpectationStatusTypeString, Person, LifestyleEnhancement, TangibleGift, IncreaseTypeString, Company, LogoHeightTypeString, QuotingPromptTypeString, PersonalPropertyLineOfBusinessString, PersonalPropertyQuoteTypeString, JobRole, EmployeeChangeTransaction, DistanceUnitTypeString, ApplicationToApplicationTag, EmailTemplateRecipient, EmailTemplateLog, DocumentFieldValueTypeString, EmploymentTypeString, QuoteRequestContactMethodString, CFCQuoteTypeString, CarrierAppointmentStatusString, BartInstanceAdminAccessLevelString, BartBillingFrequencyString, BartBillingCycleStatusString, BartBankAccountTypeString, BartDependentRelationshipTypeString, BartEmployeeStatusString, BartCoverageTierString, BartCollectionMethodString, BartDeductionTypeString, BartDeductionRoleString, BartAgeBasisString, BartAgeCalculationBasisString, BartSalaryBasisString, BartPlanTypeString, BartRateTypeString, Ams360PolicyFieldsTypeString, Ams360CustomerFieldsExclusionTypeString, Ams360CustomerFieldsTypeString, Ams360PolicyStatusTypeString, CourseEffectiveAssigneePerson, CourseItem,
|
|
9
|
+
import { VehicleReservationStatusString, VehicleUnavailableReasonString, TaskStatusTypeString, TimelineEnabledPage, PolicyTypeString, ProducerCommissionRate, FailReason, DifferedCompensation, Expectation, SalesExpectationStatusTypeString, Person, LifestyleEnhancement, TangibleGift, IncreaseTypeString, Company, LogoHeightTypeString, QuotingPromptTypeString, PersonalPropertyLineOfBusinessString, PersonalPropertyQuoteTypeString, JobRole, EmployeeChangeTransaction, DistanceUnitTypeString, ApplicationToApplicationTag, EmailTemplateRecipient, EmailTemplateLog, DocumentFieldValueTypeString, EmploymentTypeString, QuoteRequestContactMethodString, CFCQuoteTypeString, CarrierAppointmentStatusString, BartInstanceAdminAccessLevelString, BartBillingFrequencyString, BartBillingCycleStatusString, BartBankAccountTypeString, BartDependentRelationshipTypeString, BartEmployeeStatusString, BartCoverageTierString, BartCollectionMethodString, BartDeductionTypeString, BartDeductionRoleString, BartAgeBasisString, BartAgeCalculationBasisString, BartSalaryBasisString, BartPlanTypeString, BartRateTypeString, Ams360PolicyFieldsTypeString, Ams360CustomerFieldsExclusionTypeString, Ams360CustomerFieldsTypeString, Ams360PolicyStatusTypeString, CourseImage, CourseEffectiveAssigneePerson, CourseItem, CourseSourceTypeString, QuestionTypeString, CourseTopicImage } from './lg.net.core'
|
|
10
10
|
|
|
11
11
|
export interface ICompanySelect {
|
|
12
12
|
Id: number;
|
|
@@ -3545,6 +3545,70 @@ export interface DomoBookedData {
|
|
|
3545
3545
|
TotalBooked: number;
|
|
3546
3546
|
}
|
|
3547
3547
|
|
|
3548
|
+
export interface AcademyReportingPersonLessonDto {
|
|
3549
|
+
GradePercentage?: number | null ;
|
|
3550
|
+
HasPassed?: boolean;
|
|
3551
|
+
HasVideo?: boolean;
|
|
3552
|
+
Id: number;
|
|
3553
|
+
IsRequired?: boolean;
|
|
3554
|
+
Name?: string | null ;
|
|
3555
|
+
NumberOfAttempts?: number | null ;
|
|
3556
|
+
PercentComplete: number;
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
export interface AcademyUserLessonPerformanceStatsDto {
|
|
3560
|
+
AverageTestPercentageCorrect?: number | null ;
|
|
3561
|
+
Id: number;
|
|
3562
|
+
PersonCompany?: string | null ;
|
|
3563
|
+
PersonFirstName?: string | null ;
|
|
3564
|
+
PersonFullName?: string | null ;
|
|
3565
|
+
PersonJobTitle?: string | null ;
|
|
3566
|
+
ProfileCdnFileName?: string | null ;
|
|
3567
|
+
TotalAvailableLessons: number;
|
|
3568
|
+
TotalCompletedLessons: number;
|
|
3569
|
+
TotalInProgressLessons: number;
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3572
|
+
export interface CoursePerformanceStatsDto {
|
|
3573
|
+
AverageTestPercentageCorrect?: number | null ;
|
|
3574
|
+
CompletedCourseCount: number;
|
|
3575
|
+
Id: number;
|
|
3576
|
+
InProgressCourseCount: number;
|
|
3577
|
+
PersonCompany?: string | null ;
|
|
3578
|
+
PersonFirstName?: string | null ;
|
|
3579
|
+
PersonFullName?: string | null ;
|
|
3580
|
+
PersonJobTitle?: string | null ;
|
|
3581
|
+
ProfileCdnFileName?: string | null ;
|
|
3582
|
+
RecentActivities: Array<Partial<CoursePerformanceStatsGraphActivityDto>>;
|
|
3583
|
+
RecentActivitiesLastFive: Array<Partial<CoursePerformanceStatsActivityDto>>;
|
|
3584
|
+
TotalCourseCount: number;
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
export interface CoursePerformanceStatsActivityDto {
|
|
3588
|
+
ActivityCount?: number | null ;
|
|
3589
|
+
ActivityDate: string;
|
|
3590
|
+
Id: number;
|
|
3591
|
+
LessonName?: string | null ;
|
|
3592
|
+
Type: CoursePerformanceStatsTypeString;
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3595
|
+
export interface CoursePerformanceStatsGraphActivityDto {
|
|
3596
|
+
ActivityDate?: string | null ;
|
|
3597
|
+
Count: number;
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
export interface GetPersonCourseStatsDto {
|
|
3601
|
+
CompletedDate?: string | null ;
|
|
3602
|
+
Description?: string | null ;
|
|
3603
|
+
DueDate?: string | null ;
|
|
3604
|
+
Id: number;
|
|
3605
|
+
Image?: Partial<CourseImage> | null ;
|
|
3606
|
+
IsRequired?: boolean;
|
|
3607
|
+
LessonsCompleted: number;
|
|
3608
|
+
Name?: string | null ;
|
|
3609
|
+
TotalLessons: number;
|
|
3610
|
+
}
|
|
3611
|
+
|
|
3548
3612
|
export interface AddCourseAssigneePeopleGroupDto extends GroupMemberDto {
|
|
3549
3613
|
IsRequired?: boolean;
|
|
3550
3614
|
OnlyMembersAfterDate?: string | null ;
|
|
@@ -3703,6 +3767,38 @@ export interface GetCourseTopicDto {
|
|
|
3703
3767
|
Name?: string | null ;
|
|
3704
3768
|
}
|
|
3705
3769
|
|
|
3770
|
+
export interface GetLessonTestDto {
|
|
3771
|
+
Id: number;
|
|
3772
|
+
IsActive?: boolean;
|
|
3773
|
+
IsReviewable?: boolean;
|
|
3774
|
+
LessonId: number;
|
|
3775
|
+
PassingPercentage: number;
|
|
3776
|
+
Questions: Array<Partial<LessonTestQuestionDto>>;
|
|
3777
|
+
RequiredToTake?: boolean;
|
|
3778
|
+
UserGrade?: Partial<LessonTestUserGradeDto> | null ;
|
|
3779
|
+
}
|
|
3780
|
+
|
|
3781
|
+
export interface LessonTestQuestionDto {
|
|
3782
|
+
AnswerOptions: Array<Partial<LessonTestAnswerOptionDto>>;
|
|
3783
|
+
Id: number;
|
|
3784
|
+
Sequence: number;
|
|
3785
|
+
Text?: string | null ;
|
|
3786
|
+
Type: QuestionTypeString;
|
|
3787
|
+
}
|
|
3788
|
+
|
|
3789
|
+
export interface LessonTestAnswerOptionDto {
|
|
3790
|
+
Id: number;
|
|
3791
|
+
Sequence: number;
|
|
3792
|
+
Text: string;
|
|
3793
|
+
}
|
|
3794
|
+
|
|
3795
|
+
export interface LessonTestUserGradeDto {
|
|
3796
|
+
ActivityDate: string;
|
|
3797
|
+
Attempts: number;
|
|
3798
|
+
Grade: number;
|
|
3799
|
+
HasPassed?: boolean;
|
|
3800
|
+
}
|
|
3801
|
+
|
|
3706
3802
|
export interface GetRequiredCoursesDto {
|
|
3707
3803
|
CompletedDate?: string | null ;
|
|
3708
3804
|
CompletedLessons: number;
|
|
@@ -3732,6 +3828,18 @@ export interface GetTopicsDto {
|
|
|
3732
3828
|
TotalLessons: number;
|
|
3733
3829
|
}
|
|
3734
3830
|
|
|
3831
|
+
export interface GradeLessonTestDto {
|
|
3832
|
+
Answers: Array<number>;
|
|
3833
|
+
}
|
|
3834
|
+
|
|
3835
|
+
export interface GradeLessonTestResponseDto {
|
|
3836
|
+
Attempts: number;
|
|
3837
|
+
Grade: number;
|
|
3838
|
+
HasPassed?: boolean;
|
|
3839
|
+
IncorrectResponses: Array<number>;
|
|
3840
|
+
IsRetake?: boolean;
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3735
3843
|
export interface MarkCompleteResultDto {
|
|
3736
3844
|
IncompleteReason?: string | null ;
|
|
3737
3845
|
IsComplete?: boolean;
|
|
@@ -3910,3 +4018,11 @@ export enum BadDataStatisticsRequestType {
|
|
|
3910
4018
|
|
|
3911
4019
|
export type BadDataStatisticsRequestTypeString = keyof typeof BadDataStatisticsRequestType;
|
|
3912
4020
|
|
|
4021
|
+
export enum CoursePerformanceStatsType {
|
|
4022
|
+
TestPassed = 0,
|
|
4023
|
+
TestFailed = 1,
|
|
4024
|
+
LessonCompleted = 2
|
|
4025
|
+
}
|
|
4026
|
+
|
|
4027
|
+
export type CoursePerformanceStatsTypeString = keyof typeof CoursePerformanceStatsType;
|
|
4028
|
+
|