ntk-cms-api 1.0.321 → 1.0.322

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.
@@ -9583,6 +9583,18 @@
9583
9583
  },] }
9584
9584
  ];
9585
9585
 
9586
+ var EstateModuleSalePropertyAdsCalculateDtoModel = /** @class */ (function () {
9587
+ function EstateModuleSalePropertyAdsCalculateDtoModel() {
9588
+ }
9589
+ return EstateModuleSalePropertyAdsCalculateDtoModel;
9590
+ }());
9591
+
9592
+ var EstateModuleSalePropertyAdsPaymentDtoModel = /** @class */ (function () {
9593
+ function EstateModuleSalePropertyAdsPaymentDtoModel() {
9594
+ }
9595
+ return EstateModuleSalePropertyAdsPaymentDtoModel;
9596
+ }());
9597
+
9586
9598
  var EstateAdsTypeService = /** @class */ (function (_super) {
9587
9599
  __extends(EstateAdsTypeService, _super);
9588
9600
  function EstateAdsTypeService() {
@@ -9606,6 +9618,48 @@
9606
9618
  return _this.errorExceptionResultCheck(ret);
9607
9619
  }));
9608
9620
  };
9621
+ EstateAdsTypeService.prototype.ServiceCheckUseAdsForProperty = function (id) {
9622
+ var _this = this;
9623
+ return this.http
9624
+ .get(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/CheckUseAdsForProperty/' + id, {
9625
+ headers: this.getHeaders(),
9626
+ })
9627
+ .pipe(operators.retry(this.configApiRetry),
9628
+ // catchError(this.handleError)
9629
+ operators.map(function (ret) {
9630
+ return _this.errorExceptionResultCheck(ret);
9631
+ }));
9632
+ };
9633
+ EstateAdsTypeService.prototype.ServiceOrderCalculate = function (model) {
9634
+ var _this = this;
9635
+ if (!model) {
9636
+ model = new EstateModuleSalePropertyAdsCalculateDtoModel();
9637
+ }
9638
+ return this.http
9639
+ .post(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/OrderCalculate', model, {
9640
+ headers: this.getHeaders(),
9641
+ })
9642
+ .pipe(operators.retry(this.configApiRetry),
9643
+ // catchError(this.handleError)
9644
+ operators.map(function (ret) {
9645
+ return _this.errorExceptionResultCheck(ret);
9646
+ }));
9647
+ };
9648
+ EstateAdsTypeService.prototype.ServiceOrderPayment = function (model) {
9649
+ var _this = this;
9650
+ if (!model) {
9651
+ model = new EstateModuleSalePropertyAdsPaymentDtoModel();
9652
+ }
9653
+ return this.http
9654
+ .post(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/OrderPayment', 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
+ };
9609
9663
  return EstateAdsTypeService;
9610
9664
  }(ApiCmsServerBase));
9611
9665
  EstateAdsTypeService.ɵprov = i0.ɵɵdefineInjectable({ factory: function EstateAdsTypeService_Factory() { return new EstateAdsTypeService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(NtkCmsApiStoreService)); }, token: EstateAdsTypeService, providedIn: "root" });
@@ -11622,6 +11676,8 @@
11622
11676
  exports.EstateModuleConfigAdminMainValuesModel = EstateModuleConfigAdminMainValuesModel;
11623
11677
  exports.EstateModuleConfigSiteAccessValuesModel = EstateModuleConfigSiteAccessValuesModel;
11624
11678
  exports.EstateModuleConfigSiteValuesModel = EstateModuleConfigSiteValuesModel;
11679
+ exports.EstateModuleSalePropertyAdsCalculateDtoModel = EstateModuleSalePropertyAdsCalculateDtoModel;
11680
+ exports.EstateModuleSalePropertyAdsPaymentDtoModel = EstateModuleSalePropertyAdsPaymentDtoModel;
11625
11681
  exports.EstateModuleSiteStorageValuesModel = EstateModuleSiteStorageValuesModel;
11626
11682
  exports.EstatePropertyAccountTypeUserModel = EstatePropertyAccountTypeUserModel;
11627
11683
  exports.EstatePropertyAccountTypeUserService = EstatePropertyAccountTypeUserService;