lm_admin 2.0.30 → 2.0.32

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.
@@ -7,6 +7,7 @@ export declare class LmAgentEdit extends Serializable {
7
7
  Password: string;
8
8
  FirstName: string;
9
9
  LastName: string;
10
+ MiddleName: string;
10
11
  Hash: string;
11
12
  Json: string;
12
13
  DateBorn: Date;
@@ -20,6 +20,7 @@ let LmAgentEdit = class LmAgentEdit extends ts_serializer_1.Serializable {
20
20
  this.Email = "";
21
21
  this.LastName = "";
22
22
  this.FirstName = "";
23
+ this.MiddleName = "";
23
24
  this.Password = "";
24
25
  this.Hash = "";
25
26
  this.Json = "";
@@ -55,6 +56,10 @@ __decorate([
55
56
  (0, ts_serializer_1.SerializeProperty)({ map: "lastName", optional: true }),
56
57
  __metadata("design:type", String)
57
58
  ], LmAgentEdit.prototype, "LastName", void 0);
59
+ __decorate([
60
+ (0, ts_serializer_1.SerializeProperty)({ map: "middleName", optional: true }),
61
+ __metadata("design:type", String)
62
+ ], LmAgentEdit.prototype, "MiddleName", void 0);
58
63
  __decorate([
59
64
  (0, ts_serializer_1.SerializeProperty)({ map: "hash", optional: true }),
60
65
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"LmAgentEdit.js","sourceRoot":"","sources":["LmAgentEdit.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA2E;AAC3E,uCAAoC;AAG7B,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,4BAAY;IAgC5C;QAEC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;QACZ,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,IAAI,CAAC,QAAQ,GAAG,EAAE,CA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ize({})
5
- export class LmAgentEdit extends Serializable
6
- {
7
- @SerializeProperty({ map: "id" })
8
- public Id: number;
9
-
10
- @SerializeProperty({ map: "phone", optional: true })
11
- public Phone: string;
12
-
13
- @SerializeProperty({ map: "email", optional: true })
14
- public Email: string;
15
-
16
- @SerializeProperty({ map: "password", optional: true })
17
- public Password: string;
18
-
19
- @SerializeProperty({ map: "firstName", optional: true })
20
- public FirstName: string;
21
-
22
- @SerializeProperty({ map: "lastName", optional: true })
23
- public LastName: string;
24
-
25
- @SerializeProperty({ map: "hash", optional: true })
26
- public Hash: string;
27
-
28
- @SerializeProperty({ map: "json", optional: true })
29
- public Json: string;
30
-
31
- @SerializeProperty({ map: "dateBorn", optional: true })
32
- public DateBorn: Date;
33
-
34
- @SerializeProperty({ map: "status", optional: true })
35
- public Status: LmAgent.Status;
36
-
37
- constructor()
38
- {
39
- super();
40
- this.Id = 0;
41
- this.Phone = "";
42
- this.Email = "";
43
- this.LastName = "";
44
- this.FirstName = "";
45
- this.Password = "";
46
- this.Hash = "";
47
- this.Json = "";
48
- this.DateBorn = new Date();
49
- this.Status = LmAgent.Status.Enabled;
50
- }
51
-
52
- public static ConvertToJson(lmAgentEdit: LmAgentEdit): string
53
- {
54
- return JSON.stringify(lmAgentEdit.serialize()).replace(/\:null/gi, "\:\"\"");
55
- }
5
+ export class LmAgentEdit extends Serializable {
6
+ @SerializeProperty({ map: "id" })
7
+ public Id: number;
8
+
9
+ @SerializeProperty({ map: "phone", optional: true })
10
+ public Phone: string;
11
+
12
+ @SerializeProperty({ map: "email", optional: true })
13
+ public Email: string;
14
+
15
+ @SerializeProperty({ map: "password", optional: true })
16
+ public Password: string;
17
+
18
+ @SerializeProperty({ map: "firstName", optional: true })
19
+ public FirstName: string;
20
+
21
+ @SerializeProperty({ map: "lastName", optional: true })
22
+ public LastName: string;
23
+
24
+ @SerializeProperty({ map: "middleName", optional: true })
25
+ public MiddleName: string;
26
+
27
+ @SerializeProperty({ map: "hash", optional: true })
28
+ public Hash: string;
29
+
30
+ @SerializeProperty({ map: "json", optional: true })
31
+ public Json: string;
32
+
33
+ @SerializeProperty({ map: "dateBorn", optional: true })
34
+ public DateBorn: Date;
35
+
36
+ @SerializeProperty({ map: "status", optional: true })
37
+ public Status: LmAgent.Status;
38
+
39
+ constructor() {
40
+ super();
41
+ this.Id = 0;
42
+ this.Phone = "";
43
+ this.Email = "";
44
+ this.LastName = "";
45
+ this.FirstName = "";
46
+ this.MiddleName = "";
47
+ this.Password = "";
48
+ this.Hash = "";
49
+ this.Json = "";
50
+ this.DateBorn = new Date();
51
+ this.Status = LmAgent.Status.Enabled;
52
+ }
53
+
54
+ public static ConvertToJson(lmAgentEdit: LmAgentEdit): string {
55
+ return JSON.stringify(lmAgentEdit.serialize()).replace(/\:null/gi, "\:\"\"");
56
+ }
56
57
  }
57
58
 
58
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lm_admin",
3
- "version": "2.0.30",
3
+ "version": "2.0.32",
4
4
  "description": "lm_admin",
5
5
  "main": "SqlApiLib/index.js",
6
6
  "types": "SqlApiLib/index.d.ts",