|
@@ -177,13 +177,14 @@ exports.GetFacturyPostHistoryRequest = GetFacturyPostHistoryRequest;
|
|
|
var GetFacturyPostHistoryByPageRequest = /** @class */ (function (_super) {
|
|
|
__extends(GetFacturyPostHistoryByPageRequest, _super);
|
|
|
function GetFacturyPostHistoryByPageRequest(_a) {
|
|
|
- var keyword = _a.keyword, startTime = _a.startTime, endTime = _a.endTime, _b = _a.pageIndex, pageIndex = _b === void 0 ? 0 : _b, _c = _a.pageSize, pageSize = _c === void 0 ? 0 : _c, token = _a.token;
|
|
|
+ var keyword = _a.keyword, status = _a.status, startTime = _a.startTime, endTime = _a.endTime, _b = _a.pageIndex, pageIndex = _b === void 0 ? 0 : _b, _c = _a.pageSize, pageSize = _c === void 0 ? 0 : _c, token = _a.token;
|
|
|
var _this = _super.call(this, {
|
|
|
pageIndex: pageIndex,
|
|
|
pageSize: pageSize,
|
|
|
token: token,
|
|
|
}) || this;
|
|
|
_this.keyword = keyword;
|
|
|
+ _this.status = status || 0;
|
|
|
_this.startTime = startTime;
|
|
|
_this.endTime = endTime;
|
|
|
_this.pageIndex = pageIndex || 0;
|
|
@@ -193,6 +194,7 @@ var GetFacturyPostHistoryByPageRequest = /** @class */ (function (_super) {
|
|
|
}
|
|
|
GetFacturyPostHistoryByPageRequest.fromJson = function (map) {
|
|
|
return new GetFacturyPostHistoryByPageRequest({ keyword: map['Keyword'],
|
|
|
+ status: map['Status'],
|
|
|
startTime: map['StartTime'] !== null ? new Date(map['StartTime']) : null,
|
|
|
endTime: map['EndTime'] !== null ? new Date(map['EndTime']) : null,
|
|
|
pageIndex: map['PageIndex'],
|
|
@@ -204,6 +206,7 @@ var GetFacturyPostHistoryByPageRequest = /** @class */ (function (_super) {
|
|
|
var map = _super.prototype.toJson.call(this);
|
|
|
if (this.keyword != null)
|
|
|
map['Keyword'] = this.keyword;
|
|
|
+ map['Status'] = this.status;
|
|
|
if (this.startTime != null)
|
|
|
map['StartTime'] = JsonRpcUtils_1.default.dateFormat(this.startTime);
|
|
|
if (this.endTime != null)
|