ntk-cms-api 1.0.446 → 1.0.449
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.
- package/bundles/ntk-cms-api.umd.js +68 -0
- package/bundles/ntk-cms-api.umd.js.map +1 -1
- package/bundles/ntk-cms-api.umd.min.js +1 -1
- package/bundles/ntk-cms-api.umd.min.js.map +1 -1
- package/esm2015/lib/models/dto/donate/_export.js +3 -0
- package/esm2015/lib/models/dto/donate/donateModuleCalculateDtoModel.js +3 -0
- package/esm2015/lib/models/dto/donate/donateModulePaymentDtoModel.js +3 -0
- package/esm2015/lib/models/entity/core-token/tokenInfoModel.js +1 -1
- package/esm2015/lib/models/entity/donate/donateTargetPeriodModel.js +1 -1
- package/esm2015/lib/service/donate/donateTransaction.service.js +32 -1
- package/esm2015/lib/service/web-designer/webDesignerMainPage.service.js +12 -1
- package/esm2015/lib/service/web-designer/webDesignerMainPageDependency.service.js +12 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/ntk-cms-api.js +57 -1
- package/fesm2015/ntk-cms-api.js.map +1 -1
- package/lib/models/dto/donate/_export.d.ts +2 -0
- package/lib/models/dto/donate/donateModuleCalculateDtoModel.d.ts +5 -0
- package/lib/models/dto/donate/donateModulePaymentDtoModel.d.ts +6 -0
- package/lib/models/entity/core-token/tokenInfoModel.d.ts +1 -0
- package/lib/models/entity/donate/donateTargetPeriodModel.d.ts +5 -0
- package/lib/service/donate/donateTransaction.service.d.ts +8 -0
- package/lib/service/web-designer/webDesignerMainPage.service.d.ts +1 -0
- package/lib/service/web-designer/webDesignerMainPageDependency.service.d.ts +2 -0
- package/ntk-cms-api.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -12004,6 +12004,18 @@
|
|
|
12004
12004
|
return _this.errorExceptionResultBaseCheck(ret);
|
|
12005
12005
|
}));
|
|
12006
12006
|
};
|
|
12007
|
+
WebDesignerMainPageService.prototype.ServiceWebRoute = function (id) {
|
|
12008
|
+
var _this = this;
|
|
12009
|
+
return this.http
|
|
12010
|
+
.get(this.getBaseUrl() + this.getModuleControllerUrl() + '/WebRoute/' + id, {
|
|
12011
|
+
headers: this.getHeaders(),
|
|
12012
|
+
})
|
|
12013
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
12014
|
+
// catchError(this.handleError)
|
|
12015
|
+
operators.map(function (ret) {
|
|
12016
|
+
return _this.errorExceptionResultCheck(ret);
|
|
12017
|
+
}));
|
|
12018
|
+
};
|
|
12007
12019
|
WebDesignerMainPageService.prototype.ServiceGetAllDefaultPagesBySiteCategory = function (model) {
|
|
12008
12020
|
var _this = this;
|
|
12009
12021
|
if (model == null) {
|
|
@@ -12072,6 +12084,18 @@
|
|
|
12072
12084
|
return _this.errorExceptionResultBaseCheck(ret);
|
|
12073
12085
|
}));
|
|
12074
12086
|
};
|
|
12087
|
+
WebDesignerMainPageDependencyService.prototype.ServiceWebRoute = function (id) {
|
|
12088
|
+
var _this = this;
|
|
12089
|
+
return this.http
|
|
12090
|
+
.get(this.getBaseUrl() + this.getModuleControllerUrl() + '/WebRoute/' + id, {
|
|
12091
|
+
headers: this.getHeaders(),
|
|
12092
|
+
})
|
|
12093
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
12094
|
+
// catchError(this.handleError)
|
|
12095
|
+
operators.map(function (ret) {
|
|
12096
|
+
return _this.errorExceptionResultCheck(ret);
|
|
12097
|
+
}));
|
|
12098
|
+
};
|
|
12075
12099
|
return WebDesignerMainPageDependencyService;
|
|
12076
12100
|
}(ApiCmsServerBase));
|
|
12077
12101
|
WebDesignerMainPageDependencyService.decorators = [
|
|
@@ -12949,6 +12973,18 @@
|
|
|
12949
12973
|
return DonateLogViewModel;
|
|
12950
12974
|
}(BaseModuleEntity));
|
|
12951
12975
|
|
|
12976
|
+
var DonateModuleCalculateDtoModel = /** @class */ (function () {
|
|
12977
|
+
function DonateModuleCalculateDtoModel() {
|
|
12978
|
+
}
|
|
12979
|
+
return DonateModuleCalculateDtoModel;
|
|
12980
|
+
}());
|
|
12981
|
+
|
|
12982
|
+
var DonateModulePaymentDtoModel = /** @class */ (function () {
|
|
12983
|
+
function DonateModulePaymentDtoModel() {
|
|
12984
|
+
}
|
|
12985
|
+
return DonateModulePaymentDtoModel;
|
|
12986
|
+
}());
|
|
12987
|
+
|
|
12952
12988
|
(function (EnumTransactionLogPublicType) {
|
|
12953
12989
|
EnumTransactionLogPublicType[EnumTransactionLogPublicType["none"] = 0] = "none";
|
|
12954
12990
|
EnumTransactionLogPublicType[EnumTransactionLogPublicType["All"] = 1] = "All";
|
|
@@ -13088,6 +13124,36 @@
|
|
|
13088
13124
|
DonateTransactionService.prototype.getModuleControllerUrl = function () {
|
|
13089
13125
|
return 'DonateTransaction';
|
|
13090
13126
|
};
|
|
13127
|
+
DonateTransactionService.prototype.ServiceOrderCalculate = function (model) {
|
|
13128
|
+
var _this = this;
|
|
13129
|
+
if (!model) {
|
|
13130
|
+
model = new DonateModuleCalculateDtoModel();
|
|
13131
|
+
}
|
|
13132
|
+
return this.http
|
|
13133
|
+
.post(this.getBaseUrl() + this.getModuleControllerUrl() + '/OrderCalculate', model, {
|
|
13134
|
+
headers: this.getHeaders(),
|
|
13135
|
+
})
|
|
13136
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
13137
|
+
// catchError(this.handleError)
|
|
13138
|
+
operators.map(function (ret) {
|
|
13139
|
+
return _this.errorExceptionResultCheck(ret);
|
|
13140
|
+
}));
|
|
13141
|
+
};
|
|
13142
|
+
DonateTransactionService.prototype.ServiceOrderPayment = function (model) {
|
|
13143
|
+
var _this = this;
|
|
13144
|
+
if (!model) {
|
|
13145
|
+
model = new DonateModulePaymentDtoModel();
|
|
13146
|
+
}
|
|
13147
|
+
return this.http
|
|
13148
|
+
.post(this.getBaseUrl() + this.getModuleControllerUrl() + '/OrderPayment', model, {
|
|
13149
|
+
headers: this.getHeaders(),
|
|
13150
|
+
})
|
|
13151
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
13152
|
+
// catchError(this.handleError)
|
|
13153
|
+
operators.map(function (ret) {
|
|
13154
|
+
return _this.errorExceptionResultCheck(ret);
|
|
13155
|
+
}));
|
|
13156
|
+
};
|
|
13091
13157
|
return DonateTransactionService;
|
|
13092
13158
|
}(ApiCmsServerBase));
|
|
13093
13159
|
DonateTransactionService.decorators = [
|
|
@@ -13442,9 +13508,11 @@
|
|
|
13442
13508
|
exports.DonateEnumService = DonateEnumService;
|
|
13443
13509
|
exports.DonateLogViewModel = DonateLogViewModel;
|
|
13444
13510
|
exports.DonateLogViewService = DonateLogViewService;
|
|
13511
|
+
exports.DonateModuleCalculateDtoModel = DonateModuleCalculateDtoModel;
|
|
13445
13512
|
exports.DonateModuleConfigAdminMainValuesModel = DonateModuleConfigAdminMainValuesModel;
|
|
13446
13513
|
exports.DonateModuleConfigSiteAccessValuesModel = DonateModuleConfigSiteAccessValuesModel;
|
|
13447
13514
|
exports.DonateModuleConfigSiteValuesModel = DonateModuleConfigSiteValuesModel;
|
|
13515
|
+
exports.DonateModulePaymentDtoModel = DonateModulePaymentDtoModel;
|
|
13448
13516
|
exports.DonateModuleSiteStorageValuesModel = DonateModuleSiteStorageValuesModel;
|
|
13449
13517
|
exports.DonateSponsorModel = DonateSponsorModel;
|
|
13450
13518
|
exports.DonateSponsorService = DonateSponsorService;
|