@leavittsoftware/lg-core-typescript 2.152.0 → 2.154.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.
@@ -13,6 +13,12 @@ export var AccountStatus;
13
13
  AccountStatus[AccountStatus["Active"] = 3] = "Active";
14
14
  AccountStatus[AccountStatus["NeverLoggedIn"] = 4] = "NeverLoggedIn";
15
15
  })(AccountStatus || (AccountStatus = {}));
16
+ export var CourseMemberStatus;
17
+ (function (CourseMemberStatus) {
18
+ CourseMemberStatus[CourseMemberStatus["ENROLLED"] = 1] = "ENROLLED";
19
+ CourseMemberStatus[CourseMemberStatus["UNENROLLED"] = 2] = "UNENROLLED";
20
+ CourseMemberStatus[CourseMemberStatus["GROUPENROLLED"] = 3] = "GROUPENROLLED";
21
+ })(CourseMemberStatus || (CourseMemberStatus = {}));
16
22
  export var SearchSource;
17
23
  (function (SearchSource) {
18
24
  SearchSource[SearchSource["BenefitPoint"] = 0] = "BenefitPoint";
@@ -1 +1 @@
1
- {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AAqhEA,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,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":"AAgiEA,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"}
@@ -1455,6 +1455,17 @@ export interface ReorderEducationSequenceDto {
1455
1455
  NewOrder: Array<Partial<SequenceDto>> | null;
1456
1456
  }
1457
1457
 
1458
+ export interface UpsertCourseDto {
1459
+ CategoryId: number | null;
1460
+ Description: string | null;
1461
+ Id: number | null;
1462
+ Reviewable: boolean;
1463
+ ShortDescription: string | null;
1464
+ Title: string | null;
1465
+ UpdateCertificate: boolean;
1466
+ UpdateImage: boolean;
1467
+ }
1468
+
1458
1469
  export interface UpsertQuestionsDto {
1459
1470
  Questions: Array<Partial<EducationQuestion>> | null;
1460
1471
  }
@@ -1471,7 +1482,7 @@ export interface CourseMemberDto {
1471
1482
  Description: string | null;
1472
1483
  IsRequired: boolean;
1473
1484
  PersonId: number;
1474
- Status: string | null;
1485
+ Status: CourseMemberStatusString;
1475
1486
  }
1476
1487
 
1477
1488
  export interface EducationAnswersDto {
@@ -2086,6 +2097,14 @@ export enum AccountStatus {
2086
2097
 
2087
2098
  export type AccountStatusString = keyof typeof AccountStatus;
2088
2099
 
2100
+ export enum CourseMemberStatus {
2101
+ ENROLLED = 1,
2102
+ UNENROLLED = 2,
2103
+ GROUPENROLLED = 3
2104
+ }
2105
+
2106
+ export type CourseMemberStatusString = keyof typeof CourseMemberStatus;
2107
+
2089
2108
  export enum SearchSource {
2090
2109
  BenefitPoint = 0,
2091
2110
  AMS360 = 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.152.0",
3
+ "version": "2.154.0",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [