|
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
};
|
|
|
})();
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
-exports.ResendFacturyPostHistoryRequest = exports.RemoveFacturyPostHistoryRequest = exports.GetFacturyPostHistoryByPageRequest = exports.GetFacturyPostHistoryRequest = exports.FacturyPostHistoryDTO = exports.CreateFacturyPostHistoryRequest = void 0;
|
|
|
+exports.CreateJingQiReportPostHistoryRequest = exports.CreateJingQiExamPostHistoryRequest = exports.ResendFacturyPostHistoryRequest = exports.RemoveFacturyPostHistoryRequest = exports.GetFacturyPostHistoryByPageRequest = exports.GetFacturyPostHistoryRequest = exports.FacturyPostHistoryDTO = exports.CreateFacturyPostHistoryRequest = void 0;
|
|
|
var authentication_m_1 = require("./authentication.m");
|
|
|
var healthExamBooking_m_1 = require("./healthExamBooking.m");
|
|
|
var JsonRpcUtils_1 = require("../JsonRpcUtils");
|
|
@@ -266,3 +266,65 @@ var ResendFacturyPostHistoryRequest = /** @class */ (function (_super) {
|
|
|
return ResendFacturyPostHistoryRequest;
|
|
|
}(authentication_m_1.TokenRequest));
|
|
|
exports.ResendFacturyPostHistoryRequest = ResendFacturyPostHistoryRequest;
|
|
|
+var CreateJingQiExamPostHistoryRequest = /** @class */ (function (_super) {
|
|
|
+ __extends(CreateJingQiExamPostHistoryRequest, _super);
|
|
|
+ function CreateJingQiExamPostHistoryRequest(_a) {
|
|
|
+ var physicalExamNumber = _a.physicalExamNumber, examKey = _a.examKey, examData = _a.examData, examTime = _a.examTime, token = _a.token;
|
|
|
+ var _this = _super.call(this, {
|
|
|
+ token: token,
|
|
|
+ }) || this;
|
|
|
+ _this.physicalExamNumber = physicalExamNumber;
|
|
|
+ _this.examKey = examKey;
|
|
|
+ _this.examData = examData;
|
|
|
+ _this.examTime = examTime;
|
|
|
+ _this.token = token;
|
|
|
+ return _this;
|
|
|
+ }
|
|
|
+ CreateJingQiExamPostHistoryRequest.fromJson = function (map) {
|
|
|
+ return new CreateJingQiExamPostHistoryRequest({ physicalExamNumber: map['PhysicalExamNumber'],
|
|
|
+ examKey: map['ExamKey'],
|
|
|
+ examData: map['ExamData'] ? Object.assign({}, map['ExamData']) : undefined,
|
|
|
+ examTime: map['ExamTime'] !== null ? new Date(map['ExamTime']) : null,
|
|
|
+ token: map['Token'],
|
|
|
+ });
|
|
|
+ };
|
|
|
+ CreateJingQiExamPostHistoryRequest.prototype.toJson = function () {
|
|
|
+ var map = _super.prototype.toJson.call(this);
|
|
|
+ if (this.physicalExamNumber != null)
|
|
|
+ map['PhysicalExamNumber'] = this.physicalExamNumber;
|
|
|
+ if (this.examKey != null)
|
|
|
+ map['ExamKey'] = this.examKey;
|
|
|
+ if (this.examData != null)
|
|
|
+ map['ExamData'] = this.examData;
|
|
|
+ if (this.examTime != null)
|
|
|
+ map['ExamTime'] = JsonRpcUtils_1.default.dateFormat(this.examTime);
|
|
|
+ return map;
|
|
|
+ };
|
|
|
+ return CreateJingQiExamPostHistoryRequest;
|
|
|
+}(authentication_m_1.TokenRequest));
|
|
|
+exports.CreateJingQiExamPostHistoryRequest = CreateJingQiExamPostHistoryRequest;
|
|
|
+var CreateJingQiReportPostHistoryRequest = /** @class */ (function (_super) {
|
|
|
+ __extends(CreateJingQiReportPostHistoryRequest, _super);
|
|
|
+ function CreateJingQiReportPostHistoryRequest(_a) {
|
|
|
+ var reportCode = _a.reportCode, token = _a.token;
|
|
|
+ var _this = _super.call(this, {
|
|
|
+ token: token,
|
|
|
+ }) || this;
|
|
|
+ _this.reportCode = reportCode;
|
|
|
+ _this.token = token;
|
|
|
+ return _this;
|
|
|
+ }
|
|
|
+ CreateJingQiReportPostHistoryRequest.fromJson = function (map) {
|
|
|
+ return new CreateJingQiReportPostHistoryRequest({ reportCode: map['ReportCode'],
|
|
|
+ token: map['Token'],
|
|
|
+ });
|
|
|
+ };
|
|
|
+ CreateJingQiReportPostHistoryRequest.prototype.toJson = function () {
|
|
|
+ var map = _super.prototype.toJson.call(this);
|
|
|
+ if (this.reportCode != null)
|
|
|
+ map['ReportCode'] = this.reportCode;
|
|
|
+ return map;
|
|
|
+ };
|
|
|
+ return CreateJingQiReportPostHistoryRequest;
|
|
|
+}(authentication_m_1.TokenRequest));
|
|
|
+exports.CreateJingQiReportPostHistoryRequest = CreateJingQiReportPostHistoryRequest;
|