ntk-cms-api 1.2.9 → 1.2.12

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 (30) hide show
  1. package/bundles/ntk-cms-api.umd.js +112 -0
  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/models/entity/base/accessModel.js +1 -1
  6. package/esm2015/lib/models/entity/contact/_export.js +4 -0
  7. package/esm2015/lib/models/entity/contact/contactCategoryModel.js +4 -0
  8. package/esm2015/lib/models/entity/contact/contactConfigurationModel.js +17 -0
  9. package/esm2015/lib/models/entity/contact/contactContentModel.js +4 -0
  10. package/esm2015/lib/models/entity/core-main/coreCpMainMenuModel.js +1 -1
  11. package/esm2015/lib/service/contact/_export.js +4 -0
  12. package/esm2015/lib/service/contact/contactCategory.service.js +23 -0
  13. package/esm2015/lib/service/contact/contactConfiguration.service.js +11 -0
  14. package/esm2015/lib/service/contact/contactContent.service.js +11 -0
  15. package/esm2015/public-api.js +5 -1
  16. package/fesm2015/ntk-cms-api.js +58 -1
  17. package/fesm2015/ntk-cms-api.js.map +1 -1
  18. package/lib/models/entity/base/accessModel.d.ts +2 -0
  19. package/lib/models/entity/contact/_export.d.ts +3 -0
  20. package/lib/models/entity/contact/contactCategoryModel.d.ts +17 -0
  21. package/lib/models/entity/contact/contactConfigurationModel.d.ts +12 -0
  22. package/lib/models/entity/contact/contactContentModel.d.ts +11 -0
  23. package/lib/models/entity/core-main/coreCpMainMenuModel.d.ts +0 -1
  24. package/lib/service/contact/_export.d.ts +3 -0
  25. package/lib/service/contact/contactCategory.service.d.ts +8 -0
  26. package/lib/service/contact/contactConfiguration.service.d.ts +5 -0
  27. package/lib/service/contact/contactContent.service.d.ts +5 -0
  28. package/ntk-cms-api.metadata.json +1 -1
  29. package/package.json +1 -1
  30. package/public-api.d.ts +2 -0
@@ -9634,6 +9634,109 @@
9634
9634
  return PollingVoteModel;
9635
9635
  }(BaseModuleEntity));
9636
9636
 
9637
+ var ContactConfigurationService = /** @class */ (function (_super) {
9638
+ __extends(ContactConfigurationService, _super);
9639
+ function ContactConfigurationService() {
9640
+ return _super !== null && _super.apply(this, arguments) || this;
9641
+ }
9642
+ ContactConfigurationService.prototype.getModuleControllerUrl = function () {
9643
+ return 'contact';
9644
+ };
9645
+ return ContactConfigurationService;
9646
+ }(ApiServerConfigSiteBase));
9647
+ ContactConfigurationService.decorators = [
9648
+ { type: i0.Injectable }
9649
+ ];
9650
+
9651
+ var ContactCategoryService = /** @class */ (function (_super) {
9652
+ __extends(ContactCategoryService, _super);
9653
+ function ContactCategoryService() {
9654
+ return _super !== null && _super.apply(this, arguments) || this;
9655
+ }
9656
+ ContactCategoryService.prototype.getModuleControllerUrl = function () {
9657
+ return 'ContactCategory';
9658
+ };
9659
+ ContactCategoryService.prototype.ServiceMove = function (OldId, NewId) {
9660
+ var _this = this;
9661
+ return this.http
9662
+ .post(this.getBaseUrl() + this.getModuleControllerUrl() + '/Move', { Old: OldId, New: NewId }, {
9663
+ headers: this.getHeaders(),
9664
+ })
9665
+ .pipe(operators.retry(this.configApiRetry),
9666
+ // catchError(this.handleError)
9667
+ operators.map(function (ret) {
9668
+ return _this.errorExceptionResultCheck(ret);
9669
+ }));
9670
+ };
9671
+ return ContactCategoryService;
9672
+ }(ApiCmsServerBase));
9673
+ ContactCategoryService.decorators = [
9674
+ { type: i0.Injectable }
9675
+ ];
9676
+
9677
+ var ContactContentService = /** @class */ (function (_super) {
9678
+ __extends(ContactContentService, _super);
9679
+ function ContactContentService() {
9680
+ return _super !== null && _super.apply(this, arguments) || this;
9681
+ }
9682
+ ContactContentService.prototype.getModuleControllerUrl = function () {
9683
+ return 'ContactContent';
9684
+ };
9685
+ return ContactContentService;
9686
+ }(ApiCmsServerBase));
9687
+ ContactContentService.decorators = [
9688
+ { type: i0.Injectable }
9689
+ ];
9690
+
9691
+ var ContactModuleConfigAdminMainValuesModel = /** @class */ (function (_super) {
9692
+ __extends(ContactModuleConfigAdminMainValuesModel, _super);
9693
+ function ContactModuleConfigAdminMainValuesModel() {
9694
+ return _super !== null && _super.apply(this, arguments) || this;
9695
+ }
9696
+ return ContactModuleConfigAdminMainValuesModel;
9697
+ }(BaseModuleConfigAdminMainValuesModel));
9698
+ var ContactModuleConfigSiteAccessValuesModel = /** @class */ (function (_super) {
9699
+ __extends(ContactModuleConfigSiteAccessValuesModel, _super);
9700
+ function ContactModuleConfigSiteAccessValuesModel() {
9701
+ return _super !== null && _super.apply(this, arguments) || this;
9702
+ }
9703
+ return ContactModuleConfigSiteAccessValuesModel;
9704
+ }(BaseModuleConfigSiteAccessValuesModel));
9705
+ /// <summary>
9706
+ /// با ثبت یک هایپر شاپ باید یک ردیف خام با مقادیر اولیه در بانک ثبت شود
9707
+ /// این کار باید از سمت سرور انجام شود و کلاینت اجازه ویرایش یا حذف این ردیف را نداشته باشد
9708
+ /// </summary>
9709
+ var ContactModuleConfigSiteValuesModel = /** @class */ (function (_super) {
9710
+ __extends(ContactModuleConfigSiteValuesModel, _super);
9711
+ function ContactModuleConfigSiteValuesModel() {
9712
+ return _super !== null && _super.apply(this, arguments) || this;
9713
+ }
9714
+ return ContactModuleConfigSiteValuesModel;
9715
+ }(BaseModuleConfigSiteValuesModel));
9716
+ var ContactModuleSiteStorageValuesModel = /** @class */ (function (_super) {
9717
+ __extends(ContactModuleSiteStorageValuesModel, _super);
9718
+ function ContactModuleSiteStorageValuesModel() {
9719
+ return _super !== null && _super.apply(this, arguments) || this;
9720
+ }
9721
+ return ContactModuleSiteStorageValuesModel;
9722
+ }(BaseModuleSiteStorageValuesModel));
9723
+
9724
+ var ContactCategoryModel = /** @class */ (function (_super) {
9725
+ __extends(ContactCategoryModel, _super);
9726
+ function ContactCategoryModel() {
9727
+ return _super !== null && _super.apply(this, arguments) || this;
9728
+ }
9729
+ return ContactCategoryModel;
9730
+ }(BaseModuleEntity));
9731
+
9732
+ var ContactContentModel = /** @class */ (function (_super) {
9733
+ __extends(ContactContentModel, _super);
9734
+ function ContactContentModel() {
9735
+ return _super !== null && _super.apply(this, arguments) || this;
9736
+ }
9737
+ return ContactContentModel;
9738
+ }(BaseModuleEntity));
9739
+
9637
9740
  var TicketingConfigurationService = /** @class */ (function (_super) {
9638
9741
  __extends(TicketingConfigurationService, _super);
9639
9742
  function TicketingConfigurationService() {
@@ -13796,6 +13899,15 @@
13796
13899
  exports.CheckStatusActionModel = CheckStatusActionModel;
13797
13900
  exports.CmsPageUtilityToolsDtoModel = CmsPageUtilityToolsDtoModel;
13798
13901
  exports.CmsStore = CmsStore;
13902
+ exports.ContactCategoryModel = ContactCategoryModel;
13903
+ exports.ContactCategoryService = ContactCategoryService;
13904
+ exports.ContactConfigurationService = ContactConfigurationService;
13905
+ exports.ContactContentModel = ContactContentModel;
13906
+ exports.ContactContentService = ContactContentService;
13907
+ exports.ContactModuleConfigAdminMainValuesModel = ContactModuleConfigAdminMainValuesModel;
13908
+ exports.ContactModuleConfigSiteAccessValuesModel = ContactModuleConfigSiteAccessValuesModel;
13909
+ exports.ContactModuleConfigSiteValuesModel = ContactModuleConfigSiteValuesModel;
13910
+ exports.ContactModuleSiteStorageValuesModel = ContactModuleSiteStorageValuesModel;
13799
13911
  exports.CoreAuthService = CoreAuthService;
13800
13912
  exports.CoreConfigurationService = CoreConfigurationService;
13801
13913
  exports.CoreCpMainMenuCmsUserGroupModel = CoreCpMainMenuCmsUserGroupModel;