lm_admin 2.0.32 → 2.0.34

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.
@@ -29,11 +29,11 @@ export declare class LmOrder extends Serializable {
29
29
  }
30
30
  export declare namespace LmOrder {
31
31
  /**
32
- * ��� ������ ������
32
+ * Тип оплаты заказа
33
33
  * Unknown = 0
34
- * Online = 1 ������ online �� �����
35
- * UponReceiptBank = 2 ������ ��� ��������� ������(������ ��� �����)
36
- * UponReceiptCash = 3 ������ ��� ��������� ��������(������ ��� �����)
34
+ * Online = 1 оплата online на сайте
35
+ * UponReceiptBank = 2 оплата при получении безнал(только для Омска)
36
+ * UponReceiptCash = 3 оплата при получении наличные(только для Омска)
37
37
  */
38
38
  enum PaymentType {
39
39
  All = -1,
@@ -43,10 +43,10 @@ export declare namespace LmOrder {
43
43
  UponReceiptCash = 3
44
44
  }
45
45
  /**
46
- * ������ ������ ������
46
+ * Статус оплаты заказа
47
47
  * Unknown = 0
48
- * Paid = 1 - ��������
49
- * UnPaid = 2 - �� ��������
48
+ * Paid = 1 - оплачено
49
+ * UnPaid = 2 - не оплачено
50
50
  */
51
51
  enum Status {
52
52
  All = -1,
@@ -55,11 +55,11 @@ export declare namespace LmOrder {
55
55
  UnPaid = 2
56
56
  }
57
57
  /**
58
- * ������������� ������
59
- * Unknown = 0 - ����� �� �����������
60
- * Done = 1 - ����� �����������
61
- * Invoice = 2 - ����� ������������
62
- * Delivery = 3 - ����� ���������
58
+ * Подтверждение заказа
59
+ * Unknown = 0 - заказ не подтвержден
60
+ * Done = 1 - заказ подтвержден
61
+ * Invoice = 2 - заказ доставляется
62
+ * Delivery = 3 - заказ доставлен
63
63
  */
64
64
  enum Accept {
65
65
  Unknown = 0,
@@ -145,11 +145,11 @@ exports.LmOrder = LmOrder = LmOrder_1 = __decorate([
145
145
  ], LmOrder);
146
146
  (function (LmOrder) {
147
147
  /**
148
- * ��� ������ ������
148
+ * Тип оплаты заказа
149
149
  * Unknown = 0
150
- * Online = 1 ������ online �� �����
151
- * UponReceiptBank = 2 ������ ��� ��������� ������(������ ��� �����)
152
- * UponReceiptCash = 3 ������ ��� ��������� ��������(������ ��� �����)
150
+ * Online = 1 оплата online на сайте
151
+ * UponReceiptBank = 2 оплата при получении безнал(только для Омска)
152
+ * UponReceiptCash = 3 оплата при получении наличные(только для Омска)
153
153
  */
154
154
  let PaymentType;
155
155
  (function (PaymentType) {
@@ -160,10 +160,10 @@ exports.LmOrder = LmOrder = LmOrder_1 = __decorate([
160
160
  PaymentType[PaymentType["UponReceiptCash"] = 3] = "UponReceiptCash";
161
161
  })(PaymentType = LmOrder.PaymentType || (LmOrder.PaymentType = {}));
162
162
  /**
163
- * ������ ������ ������
163
+ * Статус оплаты заказа
164
164
  * Unknown = 0
165
- * Paid = 1 - ��������
166
- * UnPaid = 2 - �� ��������
165
+ * Paid = 1 - оплачено
166
+ * UnPaid = 2 - не оплачено
167
167
  */
168
168
  let Status;
169
169
  (function (Status) {
@@ -173,11 +173,11 @@ exports.LmOrder = LmOrder = LmOrder_1 = __decorate([
173
173
  Status[Status["UnPaid"] = 2] = "UnPaid";
174
174
  })(Status = LmOrder.Status || (LmOrder.Status = {}));
175
175
  /**
176
- * ������������� ������
177
- * Unknown = 0 - ����� �� �����������
178
- * Done = 1 - ����� �����������
179
- * Invoice = 2 - ����� ������������
180
- * Delivery = 3 - ����� ���������
176
+ * Подтверждение заказа
177
+ * Unknown = 0 - заказ не подтвержден
178
+ * Done = 1 - заказ подтвержден
179
+ * Invoice = 2 - заказ доставляется
180
+ * Delivery = 3 - заказ доставлен
181
181
  */
182
182
  let Accept;
183
183
  (function (Accept) {
@@ -1 +1 @@
1
- {"version":3,"file":"LmOrder.js","sourceRoot":"","sources":["LmOrder.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,iDAA2E;AAC3E,qDAAkD;AAG3C,IAAM,OAAO,eAAb,MAAM,OAAQ,SAAQ,4BAAY;IA0ExC;QAEC,K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,WAAW;QACnB,4CAAQ,CAAA;QACR,mDAAW,CAAA;QACX,iDAAU,CAAA;QACV,mEAAmB,CAAA;QACnB,mEAAmB,CAAA;IACvB,CAAC,EANW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAMtB;IAED;;;;;OAKG;IACH,IAAY,MAKX;IALD,WAAY,MAAM;QACd,kCAAQ,CAAA;QACR,yCAAW,CAAA;QACX,mCAAQ,CAAA;QACR,uCAAU,CAAA;IACd,CAAC,EALW,MAAM,GAAN,cAAM,KAAN,cAAM,QAKjB;IAED;;;;;;OAMG;IACH,IAAY,MAKX;IALD,WAAY,MAAM;QACd,yCAAW,CAAA;QACX,mCAAQ,CAAA;QACR,yCAAW,CAAA;QACX,2CAAY,CAAA;IAChB,CAAC,EALW,MAAM,GAAN,cAAM,KAAN,cAAM,QAKjB;AACL,CAAC,EA1CgB,OAAO,uBAAP,OAAO,QA0CvB"}
@@ -2,155 +2,149 @@ import { Serializable, Serialize, SerializeProperty } from "ts-serializer";
2
2
  import { LmOrderAddData } from "./LmOrderAddData";
3
3
 
4
4
  @Serialize({})
5
- export class LmOrder extends Serializable
6
- {
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: "uuid", optional: true })
59
- public Uuid: string;
60
-
61
- @SerializeProperty({ map: "dateEdit", optional: true })
62
- public DateEdit: Date;
63
-
64
- @SerializeProperty({ map: "dateCreate", optional: true })
65
- public DateCreate: Date;
66
-
67
- @SerializeProperty({ map: "editor", optional: true })
68
- public Editor: number;
69
-
70
- @SerializeProperty({ map: "creator", optional: true })
71
- public Creator: number;
72
-
73
- @SerializeProperty({ map: "accept", optional: true })
74
- public Accept: LmOrder.Accept;
75
-
76
- @SerializeProperty({ map: "additionalData", type: LmOrderAddData, optional: true })
77
- public AdditionalData: LmOrderAddData;
78
-
79
- constructor()
80
- {
81
- super();
82
- this.LinkAgent = 0;
83
- this.Amount = 0;
84
- this.DeliveryAmount = 0;
85
- this.DateOrder = new Date("1913-01-01T00:00:00.000Z");
86
- this.DateDelivery = new Date("1913-01-01T00:00:00.000Z");
87
- this.DateDone = new Date("1913-01-01T00:00:00.000Z");
88
- this.Address = "";
89
- this.Note = "";
90
- this.PaymentType = LmOrder.PaymentType.Unknown;
91
- this.Cancel = "";
92
- this.LinkDelivery = 0;
93
- this.TrackingCode = "";
94
- this.JsonPvz = "";
95
- this.Interval = "";
96
- this.Status = LmOrder.Status.Unknown;
97
- this.Id = 0;
98
- this.Json = "";
99
- this.Uuid = "";
100
- this.DateEdit = new Date();
101
- this.DateCreate = new Date();
102
- this.Editor = 0;
103
- this.Creator = 0;
104
- this.Accept = LmOrder.Accept.Unknown;
105
- this.AdditionalData = new LmOrderAddData();
106
- }
5
+ export class LmOrder extends Serializable {
6
+ @SerializeProperty({ map: "id" })
7
+ public Id: number;
8
+
9
+ @SerializeProperty({ map: "linkAgent", optional: true })
10
+ public LinkAgent: number;
11
+
12
+ @SerializeProperty({ map: "amount", optional: true })
13
+ public Amount: number;
14
+
15
+ @SerializeProperty({ map: "deliveryAmount", optional: true })
16
+ public DeliveryAmount: number;
17
+
18
+ @SerializeProperty({ map: "dateOrder", optional: true })
19
+ public DateOrder: Date;
20
+
21
+ @SerializeProperty({ map: "dateDelivery", optional: true })
22
+ public DateDelivery: Date;
23
+
24
+ @SerializeProperty({ map: "dateDone", optional: true })
25
+ public DateDone: Date;
26
+
27
+ @SerializeProperty({ map: "address", optional: true })
28
+ public Address: string;
29
+
30
+ @SerializeProperty({ map: "note", optional: true })
31
+ public Note: string;
32
+
33
+ @SerializeProperty({ map: "paymentType", optional: true })
34
+ public PaymentType: LmOrder.PaymentType;
35
+
36
+ @SerializeProperty({ map: "cancel", optional: true })
37
+ public Cancel: string;
38
+
39
+ @SerializeProperty({ map: "linkDelivery", optional: true })
40
+ public LinkDelivery: number;
41
+
42
+ @SerializeProperty({ map: "trackingCode", optional: true })
43
+ public TrackingCode: string;
44
+
45
+ @SerializeProperty({ map: "jsonPvz", optional: true })
46
+ public JsonPvz: string;
47
+
48
+ @SerializeProperty({ map: "interval", optional: true })
49
+ public Interval: string;
50
+
51
+ @SerializeProperty({ map: "status", optional: true })
52
+ public Status: LmOrder.Status;
53
+
54
+ @SerializeProperty({ map: "json", optional: true })
55
+ public Json: string;
56
+
57
+ @SerializeProperty({ map: "uuid", optional: true })
58
+ public Uuid: string;
59
+
60
+ @SerializeProperty({ map: "dateEdit", optional: true })
61
+ public DateEdit: Date;
62
+
63
+ @SerializeProperty({ map: "dateCreate", optional: true })
64
+ public DateCreate: Date;
65
+
66
+ @SerializeProperty({ map: "editor", optional: true })
67
+ public Editor: number;
68
+
69
+ @SerializeProperty({ map: "creator", optional: true })
70
+ public Creator: number;
71
+
72
+ @SerializeProperty({ map: "accept", optional: true })
73
+ public Accept: LmOrder.Accept;
74
+
75
+ @SerializeProperty({ map: "additionalData", type: LmOrderAddData, optional: true })
76
+ public AdditionalData: LmOrderAddData;
77
+
78
+ constructor() {
79
+ super();
80
+ this.LinkAgent = 0;
81
+ this.Amount = 0;
82
+ this.DeliveryAmount = 0;
83
+ this.DateOrder = new Date("1913-01-01T00:00:00.000Z");
84
+ this.DateDelivery = new Date("1913-01-01T00:00:00.000Z");
85
+ this.DateDone = new Date("1913-01-01T00:00:00.000Z");
86
+ this.Address = "";
87
+ this.Note = "";
88
+ this.PaymentType = LmOrder.PaymentType.Unknown;
89
+ this.Cancel = "";
90
+ this.LinkDelivery = 0;
91
+ this.TrackingCode = "";
92
+ this.JsonPvz = "";
93
+ this.Interval = "";
94
+ this.Status = LmOrder.Status.Unknown;
95
+ this.Id = 0;
96
+ this.Json = "";
97
+ this.Uuid = "";
98
+ this.DateEdit = new Date();
99
+ this.DateCreate = new Date();
100
+ this.Editor = 0;
101
+ this.Creator = 0;
102
+ this.Accept = LmOrder.Accept.Unknown;
103
+ this.AdditionalData = new LmOrderAddData();
104
+ }
107
105
  }
108
106
 
109
- export namespace LmOrder
110
- {
111
- /**
112
- * ��� ������ ������
113
- * Unknown = 0
114
- * Online = 1 ������ online �� �����
115
- * UponReceiptBank = 2 ������ ��� ��������� ������(������ ��� �����)
116
- * UponReceiptCash = 3 ������ ��� ��������� ��������(������ ��� �����)
117
- */
118
- export enum PaymentType
119
- {
120
- All = -1,
121
- Unknown = 0,
122
- Online = 1,
123
- UponReceiptBank = 2,
124
- UponReceiptCash = 3
125
- }
126
-
127
- /**
128
- * ������ ������ ������
129
- * Unknown = 0
130
- * Paid = 1 - ��������
131
- * UnPaid = 2 - �� ��������
132
- */
133
- export enum Status
134
- {
135
- All = -1,
136
- Unknown = 0,
137
- Paid = 1,
138
- UnPaid = 2
139
- }
140
-
141
- /**
142
- * ������������� ������
143
- * Unknown = 0 - ����� �� �����������
144
- * Done = 1 - ����� �����������
145
- * Invoice = 2 - ����� ������������
146
- * Delivery = 3 - ����� ���������
147
- */
148
- export enum Accept
149
- {
150
- Unknown = 0,
151
- Done = 1,
152
- Invoice = 2,
153
- Delivery = 3
154
- }
107
+ export namespace LmOrder {
108
+ /**
109
+ * Тип оплаты заказа
110
+ * Unknown = 0
111
+ * Online = 1 оплата online на сайте
112
+ * UponReceiptBank = 2 оплата при получении безнал(только для Омска)
113
+ * UponReceiptCash = 3 оплата при получении наличные(только для Омска)
114
+ */
115
+ export enum PaymentType {
116
+ All = -1,
117
+ Unknown = 0,
118
+ Online = 1,
119
+ UponReceiptBank = 2,
120
+ UponReceiptCash = 3
121
+ }
122
+
123
+ /**
124
+ * Статус оплаты заказа
125
+ * Unknown = 0
126
+ * Paid = 1 - оплачено
127
+ * UnPaid = 2 - не оплачено
128
+ */
129
+ export enum Status {
130
+ All = -1,
131
+ Unknown = 0,
132
+ Paid = 1,
133
+ UnPaid = 2
134
+ }
135
+
136
+ /**
137
+ * Подтверждение заказа
138
+ * Unknown = 0 - заказ не подтвержден
139
+ * Done = 1 - заказ подтвержден
140
+ * Invoice = 2 - заказ доставляется
141
+ * Delivery = 3 - заказ доставлен
142
+ */
143
+ export enum Accept {
144
+ Unknown = 0,
145
+ Done = 1,
146
+ Invoice = 2,
147
+ Delivery = 3
148
+ }
155
149
  }
156
150
 
@@ -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,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AE,IAAI,EAAE,CAAC;;iDAC/B;AAGrB;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC/B;AAGhB;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CAC/B;AAGjB;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACvB;AAGvB;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,MAAM,EAAE,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.32",
3
+ "version": "2.0.34",
4
4
  "description": "lm_admin",
5
5
  "main": "SqlApiLib/index.js",
6
6
  "types": "SqlApiLib/index.d.ts",