lm_admin 2.0.30 → 2.0.33

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
 
@@ -20,5 +20,6 @@ export declare class LmOrderEdit extends Serializable {
20
20
  Status: LmOrder.Status;
21
21
  Json: string;
22
22
  AdditionalData: LmOrderAddData;
23
+ Accept: LmOrder.Accept;
23
24
  constructor();
24
25
  }
@@ -34,6 +34,7 @@ let LmOrderEdit = class LmOrderEdit extends ts_serializer_1.Serializable {
34
34
  this.Id = 0;
35
35
  this.Json = "";
36
36
  this.AdditionalData = new LmOrderAddData_1.LmOrderAddData();
37
+ this.Accept = LmOrder_1.LmOrder.Accept.Unknown;
37
38
  }
38
39
  };
39
40
  exports.LmOrderEdit = LmOrderEdit;
@@ -109,6 +110,10 @@ __decorate([
109
110
  (0, ts_serializer_1.SerializeProperty)({ map: "additionalData", type: LmOrderAddData_1.LmOrderAddData, optional: true }),
110
111
  __metadata("design:type", LmOrderAddData_1.LmOrderAddData)
111
112
  ], LmOrderEdit.prototype, "AdditionalData", void 0);
113
+ __decorate([
114
+ (0, ts_serializer_1.SerializeProperty)({ map: "accept", optional: true }),
115
+ __metadata("design:type", Number)
116
+ ], LmOrderEdit.prototype, "Accept", void 0);
112
117
  exports.LmOrderEdit = LmOrderEdit = __decorate([
113
118
  (0, ts_serializer_1.Serialize)({}),
114
119
  __metadata("design:paramtypes", [])
@@ -1 +1 @@
1
- {"version":3,"file":"LmOrderEdit.js","sourceRoot":"","sources":["LmOrderEdit.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA2E;AAC3E,uCAAoC;AACpC,qDAAkD;AAG3C,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,4BAAY;IAwD5C;QAEC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAChB,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QACtD,IAAI,CAAC,YAAY,GAAG,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QACzD,IAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QACrD,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,IAAI,CAAC,WAAW,GAAG,iBAAO,CAAC,WAAW,CAAC,OAAO,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;QACtB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QAClB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,iBAAO,CAAC,MAAM,CAAC,OAAO,CAAC;QACrC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;QACZ,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,IAAI,CAAC,cAAc,GAAG,IAAI,+BAAc,EAAE,CAAC;IAC5C,CAAC;CACD,CAAA;AA9EY,kC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,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCAC/B;AAGb;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,gBAAgB,EAAE,IAAI,EAAE,+BAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC5D,+BAAc;mDAAC;AAG/B;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACvB;sBAxDrB,WAAW;IADvB,IAAA,yBAAS,EAAC,EAAE,CAAC;;GACD,WAAW,CAgFvB"}
@@ -3,82 +3,84 @@ import { LmOrder } from "./LmOrder";
3
3
  import { LmOrderAddData } from "./LmOrderAddData";
4
4
 
5
5
  @Serialize({})
6
- export class LmOrderEdit extends Serializable
7
- {
8
- @SerializeProperty({ map: "id" })
9
- public Id: number;
10
-
11
- @SerializeProperty({ map: "linkAgent", optional: true })
12
- public LinkAgent: number;
13
-
14
- @SerializeProperty({ map: "amount", optional: true })
15
- public Amount: number;
16
-
17
- @SerializeProperty({ map: "deliveryAmount", optional: true })
18
- public DeliveryAmount: number;
19
-
20
- @SerializeProperty({ map: "dateOrder", optional: true })
21
- public DateOrder: Date;
22
-
23
- @SerializeProperty({ map: "dateDelivery", optional: true })
24
- public DateDelivery: Date;
25
-
26
- @SerializeProperty({ map: "dateDone", optional: true })
27
- public DateDone: Date;
28
-
29
- @SerializeProperty({ map: "address", optional: true })
30
- public Address: string;
31
-
32
- @SerializeProperty({ map: "note", optional: true })
33
- public Note: string;
34
-
35
- @SerializeProperty({ map: "paymentType", optional: true })
36
- public PaymentType: LmOrder.PaymentType;
37
-
38
- @SerializeProperty({ map: "cancel", optional: true })
39
- public Cancel: string;
40
-
41
- @SerializeProperty({ map: "linkDelivery", optional: true })
42
- public LinkDelivery: number;
43
-
44
- @SerializeProperty({ map: "trackingCode", optional: true })
45
- public TrackingCode: string;
46
-
47
- @SerializeProperty({ map: "jsonPvz", optional: true })
48
- public JsonPvz: string;
49
-
50
- @SerializeProperty({ map: "interval", optional: true })
51
- public Interval: string;
52
-
53
- @SerializeProperty({ map: "status", optional: true })
54
- public Status: LmOrder.Status;
55
-
56
- @SerializeProperty({ map: "json", optional: true })
57
- public Json: string;
58
-
59
- @SerializeProperty({ map: "additionalData", type: LmOrderAddData, optional: true })
60
- public AdditionalData: LmOrderAddData;
61
-
62
- constructor()
63
- {
64
- super();
65
- this.LinkAgent = 0;
66
- this.Amount = 0;
67
- this.DeliveryAmount = 0;
68
- this.DateOrder = new Date("1913-01-01T00:00:00.000Z");
69
- this.DateDelivery = new Date("1913-01-01T00:00:00.000Z");
70
- this.DateDone = new Date("1913-01-01T00:00:00.000Z");
71
- this.Address = "";
72
- this.Note = "";
73
- this.PaymentType = LmOrder.PaymentType.Unknown;
74
- this.Cancel = "";
75
- this.LinkDelivery = 0;
76
- this.TrackingCode = "";
77
- this.JsonPvz = "";
78
- this.Interval = "";
79
- this.Status = LmOrder.Status.Unknown;
80
- this.Id = 0;
81
- this.Json = "";
82
- this.AdditionalData = new LmOrderAddData();
83
- }
6
+ export class LmOrderEdit extends Serializable {
7
+ @SerializeProperty({ map: "id" })
8
+ public Id: number;
9
+
10
+ @SerializeProperty({ map: "linkAgent", optional: true })
11
+ public LinkAgent: number;
12
+
13
+ @SerializeProperty({ map: "amount", optional: true })
14
+ public Amount: number;
15
+
16
+ @SerializeProperty({ map: "deliveryAmount", optional: true })
17
+ public DeliveryAmount: number;
18
+
19
+ @SerializeProperty({ map: "dateOrder", optional: true })
20
+ public DateOrder: Date;
21
+
22
+ @SerializeProperty({ map: "dateDelivery", optional: true })
23
+ public DateDelivery: Date;
24
+
25
+ @SerializeProperty({ map: "dateDone", optional: true })
26
+ public DateDone: Date;
27
+
28
+ @SerializeProperty({ map: "address", optional: true })
29
+ public Address: string;
30
+
31
+ @SerializeProperty({ map: "note", optional: true })
32
+ public Note: string;
33
+
34
+ @SerializeProperty({ map: "paymentType", optional: true })
35
+ public PaymentType: LmOrder.PaymentType;
36
+
37
+ @SerializeProperty({ map: "cancel", optional: true })
38
+ public Cancel: string;
39
+
40
+ @SerializeProperty({ map: "linkDelivery", optional: true })
41
+ public LinkDelivery: number;
42
+
43
+ @SerializeProperty({ map: "trackingCode", optional: true })
44
+ public TrackingCode: string;
45
+
46
+ @SerializeProperty({ map: "jsonPvz", optional: true })
47
+ public JsonPvz: string;
48
+
49
+ @SerializeProperty({ map: "interval", optional: true })
50
+ public Interval: string;
51
+
52
+ @SerializeProperty({ map: "status", optional: true })
53
+ public Status: LmOrder.Status;
54
+
55
+ @SerializeProperty({ map: "json", optional: true })
56
+ public Json: string;
57
+
58
+ @SerializeProperty({ map: "additionalData", type: LmOrderAddData, optional: true })
59
+ public AdditionalData: LmOrderAddData;
60
+
61
+ @SerializeProperty({ map: "accept", optional: true })
62
+ public Accept: LmOrder.Accept;
63
+
64
+ constructor() {
65
+ super();
66
+ this.LinkAgent = 0;
67
+ this.Amount = 0;
68
+ this.DeliveryAmount = 0;
69
+ this.DateOrder = new Date("1913-01-01T00:00:00.000Z");
70
+ this.DateDelivery = new Date("1913-01-01T00:00:00.000Z");
71
+ this.DateDone = new Date("1913-01-01T00:00:00.000Z");
72
+ this.Address = "";
73
+ this.Note = "";
74
+ this.PaymentType = LmOrder.PaymentType.Unknown;
75
+ this.Cancel = "";
76
+ this.LinkDelivery = 0;
77
+ this.TrackingCode = "";
78
+ this.JsonPvz = "";
79
+ this.Interval = "";
80
+ this.Status = LmOrder.Status.Unknown;
81
+ this.Id = 0;
82
+ this.Json = "";
83
+ this.AdditionalData = new LmOrderAddData();
84
+ this.Accept = LmOrder.Accept.Unknown;
85
+ }
84
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lm_admin",
3
- "version": "2.0.30",
3
+ "version": "2.0.33",
4
4
  "description": "lm_admin",
5
5
  "main": "SqlApiLib/index.js",
6
6
  "types": "SqlApiLib/index.d.ts",