ntk-cms-api 1.0.319 → 1.0.323
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 +155 -1
- 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/estate/_export.js +5 -0
- package/esm2015/lib/models/dto/estate/estateModuleSaleAccountAgencyAdsCalculateDtoModel.js +3 -0
- package/esm2015/lib/models/dto/estate/estateModuleSaleAccountAgencyAdsPaymentDtoModel.js +3 -0
- package/esm2015/lib/models/dto/estate/estateModuleSalePropertyAdsCalculateDtoModel.js +3 -0
- package/esm2015/lib/models/dto/estate/estateModuleSalePropertyAdsPaymentDtoModel.js +3 -0
- package/esm2015/lib/models/entity/estate/_export.js +2 -1
- package/esm2015/lib/models/entity/estate/estateAccountAgencyAdsModel.js +4 -0
- package/esm2015/lib/models/entity/estate/estateAdsTypeModel.js +1 -1
- package/esm2015/lib/service/core-main/coreConfiguration.service.js +2 -2
- package/esm2015/lib/service/estate/_export.js +2 -1
- package/esm2015/lib/service/estate/estateAccountAgencyAds.service.js +48 -0
- package/esm2015/lib/service/estate/estateAdsType.service.js +39 -1
- package/esm2015/lib/service/estate/estatePropertyAds.service.js +32 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/ntk-cms-api.js +121 -2
- package/fesm2015/ntk-cms-api.js.map +1 -1
- package/lib/models/dto/estate/_export.d.ts +4 -0
- package/lib/models/dto/estate/estateModuleSaleAccountAgencyAdsCalculateDtoModel.d.ts +5 -0
- package/lib/models/dto/estate/estateModuleSaleAccountAgencyAdsPaymentDtoModel.d.ts +6 -0
- package/lib/models/dto/estate/estateModuleSalePropertyAdsCalculateDtoModel.d.ts +5 -0
- package/lib/models/dto/estate/estateModuleSalePropertyAdsPaymentDtoModel.d.ts +6 -0
- package/lib/models/entity/estate/_export.d.ts +1 -0
- package/lib/models/entity/estate/estateAccountAgencyAdsModel.d.ts +17 -0
- package/lib/models/entity/estate/estateAdsTypeModel.d.ts +3 -3
- package/lib/service/estate/_export.d.ts +1 -0
- package/lib/service/estate/estateAccountAgencyAds.service.d.ts +13 -0
- package/lib/service/estate/estateAdsType.service.d.ts +7 -0
- package/lib/service/estate/estatePropertyAds.service.d.ts +8 -0
- package/ntk-cms-api.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1723,7 +1723,7 @@
|
|
|
1723
1723
|
CoreConfigurationService.prototype.ServiceUserMembershipRule = function () {
|
|
1724
1724
|
var _this = this;
|
|
1725
1725
|
return this.http
|
|
1726
|
-
.get(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/UserMembershipRule', {
|
|
1726
|
+
.get(this.getBaseUrl() + this.getModuleCotrolerUrl() + 'Configuration/UserMembershipRule', {
|
|
1727
1727
|
headers: this.getHeaders(),
|
|
1728
1728
|
})
|
|
1729
1729
|
.pipe(
|
|
@@ -9400,6 +9400,65 @@
|
|
|
9400
9400
|
},] }
|
|
9401
9401
|
];
|
|
9402
9402
|
|
|
9403
|
+
var EstateModuleSaleAccountAgencyAdsPaymentDtoModel = /** @class */ (function () {
|
|
9404
|
+
function EstateModuleSaleAccountAgencyAdsPaymentDtoModel() {
|
|
9405
|
+
}
|
|
9406
|
+
return EstateModuleSaleAccountAgencyAdsPaymentDtoModel;
|
|
9407
|
+
}());
|
|
9408
|
+
|
|
9409
|
+
var EstateModuleSaleAccountAgencyAdsCalculateDtoModel = /** @class */ (function () {
|
|
9410
|
+
function EstateModuleSaleAccountAgencyAdsCalculateDtoModel() {
|
|
9411
|
+
}
|
|
9412
|
+
return EstateModuleSaleAccountAgencyAdsCalculateDtoModel;
|
|
9413
|
+
}());
|
|
9414
|
+
|
|
9415
|
+
var EstateAccountAgencyAdsService = /** @class */ (function (_super) {
|
|
9416
|
+
__extends(EstateAccountAgencyAdsService, _super);
|
|
9417
|
+
function EstateAccountAgencyAdsService() {
|
|
9418
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9419
|
+
}
|
|
9420
|
+
EstateAccountAgencyAdsService.prototype.getModuleCotrolerUrl = function () {
|
|
9421
|
+
return 'EstateAccountAgencyAds';
|
|
9422
|
+
};
|
|
9423
|
+
EstateAccountAgencyAdsService.prototype.ServiceOrderCalculate = function (model) {
|
|
9424
|
+
var _this = this;
|
|
9425
|
+
if (!model) {
|
|
9426
|
+
model = new EstateModuleSaleAccountAgencyAdsCalculateDtoModel();
|
|
9427
|
+
}
|
|
9428
|
+
return this.http
|
|
9429
|
+
.post(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/OrderCalculate', model, {
|
|
9430
|
+
headers: this.getHeaders(),
|
|
9431
|
+
})
|
|
9432
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
9433
|
+
// catchError(this.handleError)
|
|
9434
|
+
operators.map(function (ret) {
|
|
9435
|
+
return _this.errorExceptionResultCheck(ret);
|
|
9436
|
+
}));
|
|
9437
|
+
};
|
|
9438
|
+
EstateAccountAgencyAdsService.prototype.ServiceOrderPayment = function (model) {
|
|
9439
|
+
var _this = this;
|
|
9440
|
+
if (!model) {
|
|
9441
|
+
model = new EstateModuleSaleAccountAgencyAdsPaymentDtoModel();
|
|
9442
|
+
}
|
|
9443
|
+
return this.http
|
|
9444
|
+
.post(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/OrderPayment', model, {
|
|
9445
|
+
headers: this.getHeaders(),
|
|
9446
|
+
})
|
|
9447
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
9448
|
+
// catchError(this.handleError)
|
|
9449
|
+
operators.map(function (ret) {
|
|
9450
|
+
return _this.errorExceptionResultCheck(ret);
|
|
9451
|
+
}));
|
|
9452
|
+
};
|
|
9453
|
+
return EstateAccountAgencyAdsService;
|
|
9454
|
+
}(ApiCmsServerBase));
|
|
9455
|
+
EstateAccountAgencyAdsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function EstateAccountAgencyAdsService_Factory() { return new EstateAccountAgencyAdsService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(NtkCmsApiStoreService)); }, token: EstateAccountAgencyAdsService, providedIn: "root" });
|
|
9456
|
+
EstateAccountAgencyAdsService.decorators = [
|
|
9457
|
+
{ type: i0.Injectable, args: [{
|
|
9458
|
+
providedIn: 'root',
|
|
9459
|
+
},] }
|
|
9460
|
+
];
|
|
9461
|
+
|
|
9403
9462
|
var EstateAccountAgencyTypeUserService = /** @class */ (function (_super) {
|
|
9404
9463
|
__extends(EstateAccountAgencyTypeUserService, _super);
|
|
9405
9464
|
function EstateAccountAgencyTypeUserService() {
|
|
@@ -9566,6 +9625,18 @@
|
|
|
9566
9625
|
},] }
|
|
9567
9626
|
];
|
|
9568
9627
|
|
|
9628
|
+
var EstateModuleSalePropertyAdsPaymentDtoModel = /** @class */ (function () {
|
|
9629
|
+
function EstateModuleSalePropertyAdsPaymentDtoModel() {
|
|
9630
|
+
}
|
|
9631
|
+
return EstateModuleSalePropertyAdsPaymentDtoModel;
|
|
9632
|
+
}());
|
|
9633
|
+
|
|
9634
|
+
var EstateModuleSalePropertyAdsCalculateDtoModel = /** @class */ (function () {
|
|
9635
|
+
function EstateModuleSalePropertyAdsCalculateDtoModel() {
|
|
9636
|
+
}
|
|
9637
|
+
return EstateModuleSalePropertyAdsCalculateDtoModel;
|
|
9638
|
+
}());
|
|
9639
|
+
|
|
9569
9640
|
var EstatePropertyAdsService = /** @class */ (function (_super) {
|
|
9570
9641
|
__extends(EstatePropertyAdsService, _super);
|
|
9571
9642
|
function EstatePropertyAdsService() {
|
|
@@ -9574,6 +9645,36 @@
|
|
|
9574
9645
|
EstatePropertyAdsService.prototype.getModuleCotrolerUrl = function () {
|
|
9575
9646
|
return 'EstatePropertyAds';
|
|
9576
9647
|
};
|
|
9648
|
+
EstatePropertyAdsService.prototype.ServiceOrderCalculate = function (model) {
|
|
9649
|
+
var _this = this;
|
|
9650
|
+
if (!model) {
|
|
9651
|
+
model = new EstateModuleSalePropertyAdsCalculateDtoModel();
|
|
9652
|
+
}
|
|
9653
|
+
return this.http
|
|
9654
|
+
.post(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/OrderCalculate', model, {
|
|
9655
|
+
headers: this.getHeaders(),
|
|
9656
|
+
})
|
|
9657
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
9658
|
+
// catchError(this.handleError)
|
|
9659
|
+
operators.map(function (ret) {
|
|
9660
|
+
return _this.errorExceptionResultCheck(ret);
|
|
9661
|
+
}));
|
|
9662
|
+
};
|
|
9663
|
+
EstatePropertyAdsService.prototype.ServiceOrderPayment = function (model) {
|
|
9664
|
+
var _this = this;
|
|
9665
|
+
if (!model) {
|
|
9666
|
+
model = new EstateModuleSalePropertyAdsPaymentDtoModel();
|
|
9667
|
+
}
|
|
9668
|
+
return this.http
|
|
9669
|
+
.post(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/OrderPayment', model, {
|
|
9670
|
+
headers: this.getHeaders(),
|
|
9671
|
+
})
|
|
9672
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
9673
|
+
// catchError(this.handleError)
|
|
9674
|
+
operators.map(function (ret) {
|
|
9675
|
+
return _this.errorExceptionResultCheck(ret);
|
|
9676
|
+
}));
|
|
9677
|
+
};
|
|
9577
9678
|
return EstatePropertyAdsService;
|
|
9578
9679
|
}(ApiCmsServerBase));
|
|
9579
9680
|
EstatePropertyAdsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function EstatePropertyAdsService_Factory() { return new EstatePropertyAdsService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(NtkCmsApiStoreService)); }, token: EstatePropertyAdsService, providedIn: "root" });
|
|
@@ -9591,6 +9692,45 @@
|
|
|
9591
9692
|
EstateAdsTypeService.prototype.getModuleCotrolerUrl = function () {
|
|
9592
9693
|
return 'EstateAdsType';
|
|
9593
9694
|
};
|
|
9695
|
+
EstateAdsTypeService.prototype.ServiceGetAllSale = function (model) {
|
|
9696
|
+
var _this = this;
|
|
9697
|
+
if (!model) {
|
|
9698
|
+
model = new FilterModel();
|
|
9699
|
+
}
|
|
9700
|
+
return this.http
|
|
9701
|
+
.post(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/GetAllSale', model, {
|
|
9702
|
+
headers: this.getHeaders(),
|
|
9703
|
+
})
|
|
9704
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
9705
|
+
// catchError(this.handleError)
|
|
9706
|
+
operators.map(function (ret) {
|
|
9707
|
+
return _this.errorExceptionResultCheck(ret);
|
|
9708
|
+
}));
|
|
9709
|
+
};
|
|
9710
|
+
EstateAdsTypeService.prototype.ServiceCheckUseAdsForProperty = function (AdsTypeId, id) {
|
|
9711
|
+
var _this = this;
|
|
9712
|
+
return this.http
|
|
9713
|
+
.get(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/CheckUseAdsForProperty/' + AdsTypeId + '/' + id, {
|
|
9714
|
+
headers: this.getHeaders(),
|
|
9715
|
+
})
|
|
9716
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
9717
|
+
// catchError(this.handleError)
|
|
9718
|
+
operators.map(function (ret) {
|
|
9719
|
+
return _this.errorExceptionResultCheck(ret);
|
|
9720
|
+
}));
|
|
9721
|
+
};
|
|
9722
|
+
EstateAdsTypeService.prototype.ServiceCheckUseAdsForAccountAgency = function (AdsTypeId, id) {
|
|
9723
|
+
var _this = this;
|
|
9724
|
+
return this.http
|
|
9725
|
+
.get(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/CheckUseAdsForAccountAgency/' + AdsTypeId + '/' + id, {
|
|
9726
|
+
headers: this.getHeaders(),
|
|
9727
|
+
})
|
|
9728
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
9729
|
+
// catchError(this.handleError)
|
|
9730
|
+
operators.map(function (ret) {
|
|
9731
|
+
return _this.errorExceptionResultCheck(ret);
|
|
9732
|
+
}));
|
|
9733
|
+
};
|
|
9594
9734
|
return EstateAdsTypeService;
|
|
9595
9735
|
}(ApiCmsServerBase));
|
|
9596
9736
|
EstateAdsTypeService.ɵprov = i0.ɵɵdefineInjectable({ factory: function EstateAdsTypeService_Factory() { return new EstateAdsTypeService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(NtkCmsApiStoreService)); }, token: EstateAdsTypeService, providedIn: "root" });
|
|
@@ -9801,6 +9941,14 @@
|
|
|
9801
9941
|
return EstateAccountAgencyModel;
|
|
9802
9942
|
}(BaseModuleEntity));
|
|
9803
9943
|
|
|
9944
|
+
var EstateAccountAgencyAdsModel = /** @class */ (function (_super) {
|
|
9945
|
+
__extends(EstateAccountAgencyAdsModel, _super);
|
|
9946
|
+
function EstateAccountAgencyAdsModel() {
|
|
9947
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9948
|
+
}
|
|
9949
|
+
return EstateAccountAgencyAdsModel;
|
|
9950
|
+
}(BaseModuleEntity));
|
|
9951
|
+
|
|
9804
9952
|
var EstateAccountAgencyTypeUserModel = /** @class */ (function (_super) {
|
|
9805
9953
|
__extends(EstateAccountAgencyTypeUserModel, _super);
|
|
9806
9954
|
function EstateAccountAgencyTypeUserModel() {
|
|
@@ -11590,6 +11738,8 @@
|
|
|
11590
11738
|
exports.ErrorExceptionResult = ErrorExceptionResult;
|
|
11591
11739
|
exports.ErrorExceptionResultBase = ErrorExceptionResultBase;
|
|
11592
11740
|
exports.ErrorExceptionResultExportFile = ErrorExceptionResultExportFile;
|
|
11741
|
+
exports.EstateAccountAgencyAdsModel = EstateAccountAgencyAdsModel;
|
|
11742
|
+
exports.EstateAccountAgencyAdsService = EstateAccountAgencyAdsService;
|
|
11593
11743
|
exports.EstateAccountAgencyModel = EstateAccountAgencyModel;
|
|
11594
11744
|
exports.EstateAccountAgencyService = EstateAccountAgencyService;
|
|
11595
11745
|
exports.EstateAccountAgencyTypeUserModel = EstateAccountAgencyTypeUserModel;
|
|
@@ -11607,6 +11757,10 @@
|
|
|
11607
11757
|
exports.EstateModuleConfigAdminMainValuesModel = EstateModuleConfigAdminMainValuesModel;
|
|
11608
11758
|
exports.EstateModuleConfigSiteAccessValuesModel = EstateModuleConfigSiteAccessValuesModel;
|
|
11609
11759
|
exports.EstateModuleConfigSiteValuesModel = EstateModuleConfigSiteValuesModel;
|
|
11760
|
+
exports.EstateModuleSaleAccountAgencyAdsCalculateDtoModel = EstateModuleSaleAccountAgencyAdsCalculateDtoModel;
|
|
11761
|
+
exports.EstateModuleSaleAccountAgencyAdsPaymentDtoModel = EstateModuleSaleAccountAgencyAdsPaymentDtoModel;
|
|
11762
|
+
exports.EstateModuleSalePropertyAdsCalculateDtoModel = EstateModuleSalePropertyAdsCalculateDtoModel;
|
|
11763
|
+
exports.EstateModuleSalePropertyAdsPaymentDtoModel = EstateModuleSalePropertyAdsPaymentDtoModel;
|
|
11610
11764
|
exports.EstateModuleSiteStorageValuesModel = EstateModuleSiteStorageValuesModel;
|
|
11611
11765
|
exports.EstatePropertyAccountTypeUserModel = EstatePropertyAccountTypeUserModel;
|
|
11612
11766
|
exports.EstatePropertyAccountTypeUserService = EstatePropertyAccountTypeUserService;
|