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.
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"LmAgentEdit.js","sourceRoot":"","sources":["LmAgentEdit.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA2E;AAC3E,uCAAoC;AAG7B,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,4BAAY;IAkCzC;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;QACZ,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QACh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EAAC,EAAE,GAAG,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC/B;AAGnB;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCAC/B;AAGb;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCAC/B;AAGb;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACtC,IAAI;6CAAC;AAGf;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACvB;sBAhCrB,WAAW;IADvB,IAAA,yBAAS,EAAC,EAAE,CAAC;;GACD,WAAW,CAoDvB"}
|
|
@@ -2,57 +2,58 @@ import { SerializeProperty, Serializable, Serialize } from 'ts-serializer';
|
|
|
2
2
|
import { LmAgent } from './LmAgent';
|
|
3
3
|
|
|
4
4
|
@Serialize({})
|
|
5
|
-
export class LmAgentEdit extends Serializable
|
|
6
|
-
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
|