ntk-cms-api 1.2.107 → 1.2.109

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.
Files changed (25) hide show
  1. package/bundles/ntk-cms-api.umd.js +52 -4
  2. package/bundles/ntk-cms-api.umd.js.map +1 -1
  3. package/bundles/ntk-cms-api.umd.min.js +1 -1
  4. package/bundles/ntk-cms-api.umd.min.js.map +1 -1
  5. package/esm2015/lib/common/accessHelper.js +5 -5
  6. package/esm2015/lib/models/entity/estate/estatePropertyHistoryModel.js +1 -1
  7. package/esm2015/lib/models/entity/estate/estatePropertyModel.js +1 -1
  8. package/esm2015/lib/models/entity/estate/estatePropertyShareAgencyModel.js +1 -1
  9. package/esm2015/lib/models/entity/estate/estatePropertyShareAgentModel.js +1 -1
  10. package/esm2015/lib/models/entity/estate/estatePropertyShareSiteModel.js +1 -1
  11. package/esm2015/lib/service/estate/estatePropertyShareAgency.service.js +13 -1
  12. package/esm2015/lib/service/estate/estatePropertyShareAgent.service.js +13 -1
  13. package/esm2015/lib/service/estate/estatePropertyShareSite.service.js +24 -1
  14. package/fesm2015/ntk-cms-api.js +48 -4
  15. package/fesm2015/ntk-cms-api.js.map +1 -1
  16. package/lib/models/entity/estate/estatePropertyHistoryModel.d.ts +1 -0
  17. package/lib/models/entity/estate/estatePropertyModel.d.ts +1 -0
  18. package/lib/models/entity/estate/estatePropertyShareAgencyModel.d.ts +1 -0
  19. package/lib/models/entity/estate/estatePropertyShareAgentModel.d.ts +1 -0
  20. package/lib/models/entity/estate/estatePropertyShareSiteModel.d.ts +1 -0
  21. package/lib/service/estate/estatePropertyShareAgency.service.d.ts +3 -0
  22. package/lib/service/estate/estatePropertyShareAgent.service.d.ts +3 -0
  23. package/lib/service/estate/estatePropertyShareSite.service.d.ts +4 -0
  24. package/ntk-cms-api.metadata.json +1 -1
  25. package/package.json +1 -1
@@ -519,10 +519,10 @@
519
519
  this.AccessWatchFields = {};
520
520
  this.AccessSearchFields = {};
521
521
  access.fieldsInfo.filter(function (item) {
522
- _this.AccessAddFields[item.fieldName] = item.accessAddField;
523
- _this.AccessEditFields[item.fieldName] = item.accessEditField;
524
- _this.AccessWatchFields[item.fieldName] = item.accessWatchField;
525
- _this.AccessSearchFields[item.fieldName] = item.accessSearchField;
522
+ _this.AccessAddFields[item.fieldName.toLowerCase()] = item.accessAddField;
523
+ _this.AccessEditFields[item.fieldName.toLowerCase()] = item.accessEditField;
524
+ _this.AccessWatchFields[item.fieldName.toLowerCase()] = item.accessWatchField;
525
+ _this.AccessSearchFields[item.fieldName.toLowerCase()] = item.accessSearchField;
526
526
  });
527
527
  };
528
528
  return AccessHelper;
@@ -12556,6 +12556,18 @@
12556
12556
  EstatePropertyShareAgencyService.prototype.getModuleControllerUrl = function () {
12557
12557
  return 'EstatePropertyShareAgency';
12558
12558
  };
12559
+ EstatePropertyShareAgencyService.prototype.ServiceJoin = function (linkEstateAgencyId, shareKey) {
12560
+ var _this = this;
12561
+ return this.http
12562
+ .get(this.getBaseUrl() + this.getModuleControllerUrl() + '/Join/' + linkEstateAgencyId + "/" + shareKey, {
12563
+ headers: this.getHeaders(),
12564
+ })
12565
+ .pipe(operators.retry(this.configApiRetry),
12566
+ // catchError(this.handleError)
12567
+ operators.map(function (ret) {
12568
+ return _this.errorExceptionResultCheck(ret);
12569
+ }));
12570
+ };
12559
12571
  return EstatePropertyShareAgencyService;
12560
12572
  }(ApiCmsServerBase));
12561
12573
  EstatePropertyShareAgencyService.decorators = [
@@ -12570,6 +12582,18 @@
12570
12582
  EstatePropertyShareAgentService.prototype.getModuleControllerUrl = function () {
12571
12583
  return 'EstatePropertyShareAgent';
12572
12584
  };
12585
+ EstatePropertyShareAgentService.prototype.ServiceJoin = function (linkEstateAgentId, shareKey) {
12586
+ var _this = this;
12587
+ return this.http
12588
+ .get(this.getBaseUrl() + this.getModuleControllerUrl() + '/Join/' + linkEstateAgentId + "/" + shareKey, {
12589
+ headers: this.getHeaders(),
12590
+ })
12591
+ .pipe(operators.retry(this.configApiRetry),
12592
+ // catchError(this.handleError)
12593
+ operators.map(function (ret) {
12594
+ return _this.errorExceptionResultCheck(ret);
12595
+ }));
12596
+ };
12573
12597
  return EstatePropertyShareAgentService;
12574
12598
  }(ApiCmsServerBase));
12575
12599
  EstatePropertyShareAgentService.decorators = [
@@ -12584,6 +12608,30 @@
12584
12608
  EstatePropertyShareSiteService.prototype.getModuleControllerUrl = function () {
12585
12609
  return 'EstatePropertyShareSite';
12586
12610
  };
12611
+ EstatePropertyShareSiteService.prototype.ServiceJoinBySiteId = function (linkSitId, shareKey) {
12612
+ var _this = this;
12613
+ return this.http
12614
+ .get(this.getBaseUrl() + this.getModuleControllerUrl() + '/Join/' + linkSitId + "/" + shareKey, {
12615
+ headers: this.getHeaders(),
12616
+ })
12617
+ .pipe(operators.retry(this.configApiRetry),
12618
+ // catchError(this.handleError)
12619
+ operators.map(function (ret) {
12620
+ return _this.errorExceptionResultCheck(ret);
12621
+ }));
12622
+ };
12623
+ EstatePropertyShareSiteService.prototype.ServiceJoin = function (shareKey) {
12624
+ var _this = this;
12625
+ return this.http
12626
+ .get(this.getBaseUrl() + this.getModuleControllerUrl() + '/Join/' + shareKey, {
12627
+ headers: this.getHeaders(),
12628
+ })
12629
+ .pipe(operators.retry(this.configApiRetry),
12630
+ // catchError(this.handleError)
12631
+ operators.map(function (ret) {
12632
+ return _this.errorExceptionResultCheck(ret);
12633
+ }));
12634
+ };
12587
12635
  return EstatePropertyShareSiteService;
12588
12636
  }(ApiCmsServerBase));
12589
12637
  EstatePropertyShareSiteService.decorators = [