@leavittsoftware/lg-core-typescript 2.169.0 → 2.171.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.
@@ -1 +1 @@
1
- {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AAgqEA,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IAClB,2CAAQ,CAAA;IACR,uDAAc,CAAA;IACd,mEAAoB,CAAA;IACpB,mDAAY,CAAA;AAChB,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAID,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,qDAAU,CAAA;IACV,yDAAY,CAAA;IACZ,uEAAmB,CAAA;IACnB,qDAAU,CAAA;IACV,mEAAiB,CAAA;AACrB,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAID,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,mEAAY,CAAA;IACZ,uEAAc,CAAA;IACd,6EAAiB,CAAA;AACrB,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B;AAID,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,+DAAgB,CAAA;IAChB,mDAAU,CAAA;IACV,6CAAO,CAAA;AACX,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAID,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,yEAAkB,CAAA;IAClB,iEAAc,CAAA;IACd,iFAAsB,CAAA;AAC1B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
1
+ {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AAgsEA,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IAClB,2CAAQ,CAAA;IACR,uDAAc,CAAA;IACd,mEAAoB,CAAA;IACpB,mDAAY,CAAA;AAChB,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAID,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,qDAAU,CAAA;IACV,yDAAY,CAAA;IACZ,uEAAmB,CAAA;IACnB,qDAAU,CAAA;IACV,mEAAiB,CAAA;AACrB,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAID,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,mEAAY,CAAA;IACZ,uEAAc,CAAA;IACd,6EAAiB,CAAA;AACrB,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B;AAID,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,+DAAgB,CAAA;IAChB,mDAAU,CAAA;IACV,6CAAO,CAAA;AACX,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAID,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,yEAAkB,CAAA;IAClB,iEAAc,CAAA;IACd,iFAAsB,CAAA;AAC1B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
@@ -7,7 +7,7 @@ import { new_AccountTypeString,Opportunity_new_LineofBusinessString,Opportunity_
7
7
  import { IDatabaseAttachment } from './lg.net.system'
8
8
  import { AutoDriver,AutoVehicle,EducationTypeString,OccupantTypeString,HomeStyleString,ResidenceTypeString,CoApplicantRelationshipToInsuredString,ConstructionTypeString,FoundationTypeString,NumberOfStoriesString,HeatTypeString,RoofTypeString,OverallQualityString,PersonalPropertyLastPageVisitedString,PersonalPropertyLineOfBusinessString,PersonalPropertySiteSeedString,LifeQuoteRequestStatusString,GenderTypeString,ProductTypeString,TobaccoTypeString,HealthRatingTypeString } from './lg.net.leavittlink'
9
9
  import { ManualEntryBudget,ManualEntryGeneralLedger,ManualEntryProduction } from './lg.net.ams360datawarehouse'
10
- import { StationeryPrice,Stationery,Ams360PersonRole,Ams360SupplementalCode,AgencyLOBPercentage,Company,CustomerLineOfCoverageString,PLGamePointToCustomQuestionValue,PLGameTeamPersonRole,PLGamePointTypeString,PLGameScoreboardToPlayerGroup,PrizeDistributionOptionString,PLGamePrize,ApplicationToApplicationTag,Person,PermissionToApplication,EmploymentTypeString,CompanyAddress,JobRole,SignatureValue,SignatureTemplateToCompany,EducationQuestion,LessonAttemptStatusString,EducationCourseCertificate,EducationCourseImage,DocumentType,Document,ServiceToChampion,ServiceToCompany,ConnectedStatusString,CompanyLogo,CompanyOwnership,CLGamePoint,CLGameSegment,CLGameScoreboardToPlayerGroup,CLGamePrize } from './lg.net.core'
10
+ import { StationeryPrice,Stationery,Ams360PersonRole,Ams360SupplementalCode,AgencyLOBPercentage,Company,CustomerLineOfCoverageString,PLGamePointToCustomQuestionValue,PLGameTeamPersonRole,PLGamePointTypeString,PLGameScoreboardToPlayerGroup,PrizeDistributionOptionString,PLGamePrize,ApplicationToApplicationTag,Person,PermissionToApplication,EmploymentTypeString,CompanyAddress,JobRole,SignatureValue,SignatureTemplateToCompany,EducationCourseImage,EducationQuestion,LessonAttemptStatusString,EducationCourseCertificate,DocumentType,Document,ServiceToChampion,ServiceToCompany,ConnectedStatusString,CompanyLogo,CompanyOwnership,CLGamePoint,CLGameSegment,CLGameScoreboardToPlayerGroup,CLGamePrize } from './lg.net.core'
11
11
 
12
12
  export interface BookedByPersonId {
13
13
  Booked_TTM: Partial<number>;
@@ -1535,6 +1535,22 @@ export interface EducationLessonsDto {
1535
1535
  Lessons: Array<Partial<AdminEducationLessonDto>> | null;
1536
1536
  }
1537
1537
 
1538
+ export interface GetCourseLessonDto {
1539
+ Id: number;
1540
+ Name: string | null;
1541
+ }
1542
+
1543
+ export interface GetCoursesDto {
1544
+ Categories: Array<Partial<CourseCategoryDto>> | null;
1545
+ CourseId: number;
1546
+ CourseName: string | null;
1547
+ CreatedDate: string;
1548
+ LastAttemptedDate: string | null;
1549
+ Lessons: Array<Partial<GetCourseLessonDto>> | null;
1550
+ UsersPassed: number;
1551
+ UsersStarted: number;
1552
+ }
1553
+
1538
1554
  export interface GetMembersDto {
1539
1555
  FirstName: string | null;
1540
1556
  IsRequired: boolean;
@@ -1542,6 +1558,15 @@ export interface GetMembersDto {
1542
1558
  PersonId: number;
1543
1559
  }
1544
1560
 
1561
+ export interface GetPeopleCoursesDto {
1562
+ CourseName: string | null;
1563
+ Id: number;
1564
+ Image: Partial<EducationCourseImage> | null;
1565
+ IsRequired: boolean;
1566
+ LessonsPassed: number;
1567
+ TotalLessons: number;
1568
+ }
1569
+
1545
1570
  export interface ReorderEducationSequenceDto {
1546
1571
  NewOrder: Array<Partial<SequenceDto>> | null;
1547
1572
  }
@@ -1578,6 +1603,11 @@ export interface CopyEducationCourseDto {
1578
1603
  CourseName: string | null;
1579
1604
  }
1580
1605
 
1606
+ export interface CourseCategoryDto {
1607
+ Id: number;
1608
+ Name: string | null;
1609
+ }
1610
+
1581
1611
  export interface CourseMemberDto {
1582
1612
  Category: string | null;
1583
1613
  CategoryId: number | null;
@@ -1599,6 +1629,7 @@ export interface EducationLessonDto {
1599
1629
  Name: string | null;
1600
1630
  NumberOfFiles: number | null;
1601
1631
  NumberOfQuestions: number | null;
1632
+ Sequence: number;
1602
1633
  Status: LessonAttemptStatusString | null;
1603
1634
  VideoLength: string | null;
1604
1635
  }
@@ -1624,13 +1655,14 @@ export interface GradeResponseDto {
1624
1655
  }
1625
1656
 
1626
1657
  export interface MyCoursesDto {
1627
- Categories: Array<string> | null;
1658
+ Categories: Array<Partial<CourseCategoryDto>> | null;
1628
1659
  Certificate: Partial<EducationCourseCertificate> | null;
1629
1660
  CompletionPercent: number | null;
1630
1661
  CreatedDate: string | null;
1631
1662
  Description: string | null;
1632
1663
  Id: number;
1633
1664
  Image: Partial<EducationCourseImage> | null;
1665
+ IsCompleted: boolean | null;
1634
1666
  Lessons: Array<Partial<EducationLessonDto>> | null;
1635
1667
  Name: string | null;
1636
1668
  Required: boolean | null;
package/lg.net.core.ts CHANGED
@@ -2890,7 +2890,7 @@ export interface EducationCourseImage extends IDatabaseAttachment {
2890
2890
 
2891
2891
  export interface EducationCourseToCategory {
2892
2892
  Category: Partial<CourseCategory> | null;
2893
- CategoryId: number | null;
2893
+ CategoryId: number;
2894
2894
  Course: Partial<EducationCourse> | null;
2895
2895
  CourseId: number;
2896
2896
  Id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.169.0",
3
+ "version": "2.171.0",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [