ntk-cms-api 1.2.10 → 1.2.13

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 (40) hide show
  1. package/bundles/ntk-cms-api.umd.js +172 -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/contact/_export.js +4 -0
  6. package/esm2015/lib/models/entity/contact/contactCategoryModel.js +4 -0
  7. package/esm2015/lib/models/entity/contact/contactConfigurationModel.js +17 -0
  8. package/esm2015/lib/models/entity/contact/contactContentModel.js +4 -0
  9. package/esm2015/lib/models/entity/core-main/coreCpMainMenuModel.js +1 -1
  10. package/esm2015/lib/models/entity/sms/_export.js +3 -1
  11. package/esm2015/lib/models/entity/sms/smsMainMessageCategoryModel.js +4 -0
  12. package/esm2015/lib/models/entity/sms/smsMainMessageContentModel.js +4 -0
  13. package/esm2015/lib/service/contact/_export.js +4 -0
  14. package/esm2015/lib/service/contact/contactCategory.service.js +23 -0
  15. package/esm2015/lib/service/contact/contactConfiguration.service.js +11 -0
  16. package/esm2015/lib/service/contact/contactContent.service.js +11 -0
  17. package/esm2015/lib/service/sms/_export.js +3 -1
  18. package/esm2015/lib/service/sms/smsMainMessageCategory.service.js +23 -0
  19. package/esm2015/lib/service/sms/smsMainMessageContent.service.js +11 -0
  20. package/esm2015/public-api.js +5 -1
  21. package/fesm2015/ntk-cms-api.js +93 -1
  22. package/fesm2015/ntk-cms-api.js.map +1 -1
  23. package/lib/models/entity/contact/_export.d.ts +3 -0
  24. package/lib/models/entity/contact/contactCategoryModel.d.ts +17 -0
  25. package/lib/models/entity/contact/contactConfigurationModel.d.ts +12 -0
  26. package/lib/models/entity/contact/contactContentModel.d.ts +11 -0
  27. package/lib/models/entity/core-main/coreCpMainMenuModel.d.ts +0 -1
  28. package/lib/models/entity/sms/_export.d.ts +2 -0
  29. package/lib/models/entity/sms/smsMainMessageCategoryModel.d.ts +17 -0
  30. package/lib/models/entity/sms/smsMainMessageContentModel.d.ts +11 -0
  31. package/lib/service/contact/_export.d.ts +3 -0
  32. package/lib/service/contact/contactCategory.service.d.ts +8 -0
  33. package/lib/service/contact/contactConfiguration.service.d.ts +5 -0
  34. package/lib/service/contact/contactContent.service.d.ts +5 -0
  35. package/lib/service/sms/_export.d.ts +2 -0
  36. package/lib/service/sms/smsMainMessageCategory.service.d.ts +8 -0
  37. package/lib/service/sms/smsMainMessageContent.service.d.ts +5 -0
  38. package/ntk-cms-api.metadata.json +1 -1
  39. package/package.json +1 -1
  40. package/public-api.d.ts +2 -0
@@ -8510,6 +8510,22 @@
8510
8510
  return SmsMainCustomerCreditModel;
8511
8511
  }(BaseModuleEntity));
8512
8512
 
8513
+ var SmsMainMessageCategoryModel = /** @class */ (function (_super) {
8514
+ __extends(SmsMainMessageCategoryModel, _super);
8515
+ function SmsMainMessageCategoryModel() {
8516
+ return _super !== null && _super.apply(this, arguments) || this;
8517
+ }
8518
+ return SmsMainMessageCategoryModel;
8519
+ }(BaseModuleEntity));
8520
+
8521
+ var SmsMainMessageContentModel = /** @class */ (function (_super) {
8522
+ __extends(SmsMainMessageContentModel, _super);
8523
+ function SmsMainMessageContentModel() {
8524
+ return _super !== null && _super.apply(this, arguments) || this;
8525
+ }
8526
+ return SmsMainMessageContentModel;
8527
+ }(BaseModuleEntity));
8528
+
8513
8529
  var SmsConfigurationService = /** @class */ (function (_super) {
8514
8530
  __extends(SmsConfigurationService, _super);
8515
8531
  function SmsConfigurationService() {
@@ -8948,6 +8964,46 @@
8948
8964
  { type: i0.Injectable }
8949
8965
  ];
8950
8966
 
8967
+ var SmsMainMessageContentService = /** @class */ (function (_super) {
8968
+ __extends(SmsMainMessageContentService, _super);
8969
+ function SmsMainMessageContentService() {
8970
+ return _super !== null && _super.apply(this, arguments) || this;
8971
+ }
8972
+ SmsMainMessageContentService.prototype.getModuleControllerUrl = function () {
8973
+ return 'SmsMainMessageContent';
8974
+ };
8975
+ return SmsMainMessageContentService;
8976
+ }(ApiCmsServerBase));
8977
+ SmsMainMessageContentService.decorators = [
8978
+ { type: i0.Injectable }
8979
+ ];
8980
+
8981
+ var SmsMainMessageCategoryService = /** @class */ (function (_super) {
8982
+ __extends(SmsMainMessageCategoryService, _super);
8983
+ function SmsMainMessageCategoryService() {
8984
+ return _super !== null && _super.apply(this, arguments) || this;
8985
+ }
8986
+ SmsMainMessageCategoryService.prototype.getModuleControllerUrl = function () {
8987
+ return 'SmsMainMessageCategory';
8988
+ };
8989
+ SmsMainMessageCategoryService.prototype.ServiceMove = function (OldId, NewId) {
8990
+ var _this = this;
8991
+ return this.http
8992
+ .post(this.getBaseUrl() + this.getModuleControllerUrl() + '/Move', { Old: OldId, New: NewId }, {
8993
+ headers: this.getHeaders(),
8994
+ })
8995
+ .pipe(operators.retry(this.configApiRetry),
8996
+ // catchError(this.handleError)
8997
+ operators.map(function (ret) {
8998
+ return _this.errorExceptionResultCheck(ret);
8999
+ }));
9000
+ };
9001
+ return SmsMainMessageCategoryService;
9002
+ }(ApiCmsServerBase));
9003
+ SmsMainMessageCategoryService.decorators = [
9004
+ { type: i0.Injectable }
9005
+ ];
9006
+
8951
9007
  var SmsApiSendResultModel = /** @class */ (function () {
8952
9008
  function SmsApiSendResultModel() {
8953
9009
  }
@@ -9634,6 +9690,109 @@
9634
9690
  return PollingVoteModel;
9635
9691
  }(BaseModuleEntity));
9636
9692
 
9693
+ var ContactConfigurationService = /** @class */ (function (_super) {
9694
+ __extends(ContactConfigurationService, _super);
9695
+ function ContactConfigurationService() {
9696
+ return _super !== null && _super.apply(this, arguments) || this;
9697
+ }
9698
+ ContactConfigurationService.prototype.getModuleControllerUrl = function () {
9699
+ return 'contact';
9700
+ };
9701
+ return ContactConfigurationService;
9702
+ }(ApiServerConfigSiteBase));
9703
+ ContactConfigurationService.decorators = [
9704
+ { type: i0.Injectable }
9705
+ ];
9706
+
9707
+ var ContactCategoryService = /** @class */ (function (_super) {
9708
+ __extends(ContactCategoryService, _super);
9709
+ function ContactCategoryService() {
9710
+ return _super !== null && _super.apply(this, arguments) || this;
9711
+ }
9712
+ ContactCategoryService.prototype.getModuleControllerUrl = function () {
9713
+ return 'ContactCategory';
9714
+ };
9715
+ ContactCategoryService.prototype.ServiceMove = function (OldId, NewId) {
9716
+ var _this = this;
9717
+ return this.http
9718
+ .post(this.getBaseUrl() + this.getModuleControllerUrl() + '/Move', { Old: OldId, New: NewId }, {
9719
+ headers: this.getHeaders(),
9720
+ })
9721
+ .pipe(operators.retry(this.configApiRetry),
9722
+ // catchError(this.handleError)
9723
+ operators.map(function (ret) {
9724
+ return _this.errorExceptionResultCheck(ret);
9725
+ }));
9726
+ };
9727
+ return ContactCategoryService;
9728
+ }(ApiCmsServerBase));
9729
+ ContactCategoryService.decorators = [
9730
+ { type: i0.Injectable }
9731
+ ];
9732
+
9733
+ var ContactContentService = /** @class */ (function (_super) {
9734
+ __extends(ContactContentService, _super);
9735
+ function ContactContentService() {
9736
+ return _super !== null && _super.apply(this, arguments) || this;
9737
+ }
9738
+ ContactContentService.prototype.getModuleControllerUrl = function () {
9739
+ return 'ContactContent';
9740
+ };
9741
+ return ContactContentService;
9742
+ }(ApiCmsServerBase));
9743
+ ContactContentService.decorators = [
9744
+ { type: i0.Injectable }
9745
+ ];
9746
+
9747
+ var ContactModuleConfigAdminMainValuesModel = /** @class */ (function (_super) {
9748
+ __extends(ContactModuleConfigAdminMainValuesModel, _super);
9749
+ function ContactModuleConfigAdminMainValuesModel() {
9750
+ return _super !== null && _super.apply(this, arguments) || this;
9751
+ }
9752
+ return ContactModuleConfigAdminMainValuesModel;
9753
+ }(BaseModuleConfigAdminMainValuesModel));
9754
+ var ContactModuleConfigSiteAccessValuesModel = /** @class */ (function (_super) {
9755
+ __extends(ContactModuleConfigSiteAccessValuesModel, _super);
9756
+ function ContactModuleConfigSiteAccessValuesModel() {
9757
+ return _super !== null && _super.apply(this, arguments) || this;
9758
+ }
9759
+ return ContactModuleConfigSiteAccessValuesModel;
9760
+ }(BaseModuleConfigSiteAccessValuesModel));
9761
+ /// <summary>
9762
+ /// با ثبت یک هایپر شاپ باید یک ردیف خام با مقادیر اولیه در بانک ثبت شود
9763
+ /// این کار باید از سمت سرور انجام شود و کلاینت اجازه ویرایش یا حذف این ردیف را نداشته باشد
9764
+ /// </summary>
9765
+ var ContactModuleConfigSiteValuesModel = /** @class */ (function (_super) {
9766
+ __extends(ContactModuleConfigSiteValuesModel, _super);
9767
+ function ContactModuleConfigSiteValuesModel() {
9768
+ return _super !== null && _super.apply(this, arguments) || this;
9769
+ }
9770
+ return ContactModuleConfigSiteValuesModel;
9771
+ }(BaseModuleConfigSiteValuesModel));
9772
+ var ContactModuleSiteStorageValuesModel = /** @class */ (function (_super) {
9773
+ __extends(ContactModuleSiteStorageValuesModel, _super);
9774
+ function ContactModuleSiteStorageValuesModel() {
9775
+ return _super !== null && _super.apply(this, arguments) || this;
9776
+ }
9777
+ return ContactModuleSiteStorageValuesModel;
9778
+ }(BaseModuleSiteStorageValuesModel));
9779
+
9780
+ var ContactCategoryModel = /** @class */ (function (_super) {
9781
+ __extends(ContactCategoryModel, _super);
9782
+ function ContactCategoryModel() {
9783
+ return _super !== null && _super.apply(this, arguments) || this;
9784
+ }
9785
+ return ContactCategoryModel;
9786
+ }(BaseModuleEntity));
9787
+
9788
+ var ContactContentModel = /** @class */ (function (_super) {
9789
+ __extends(ContactContentModel, _super);
9790
+ function ContactContentModel() {
9791
+ return _super !== null && _super.apply(this, arguments) || this;
9792
+ }
9793
+ return ContactContentModel;
9794
+ }(BaseModuleEntity));
9795
+
9637
9796
  var TicketingConfigurationService = /** @class */ (function (_super) {
9638
9797
  __extends(TicketingConfigurationService, _super);
9639
9798
  function TicketingConfigurationService() {
@@ -13796,6 +13955,15 @@
13796
13955
  exports.CheckStatusActionModel = CheckStatusActionModel;
13797
13956
  exports.CmsPageUtilityToolsDtoModel = CmsPageUtilityToolsDtoModel;
13798
13957
  exports.CmsStore = CmsStore;
13958
+ exports.ContactCategoryModel = ContactCategoryModel;
13959
+ exports.ContactCategoryService = ContactCategoryService;
13960
+ exports.ContactConfigurationService = ContactConfigurationService;
13961
+ exports.ContactContentModel = ContactContentModel;
13962
+ exports.ContactContentService = ContactContentService;
13963
+ exports.ContactModuleConfigAdminMainValuesModel = ContactModuleConfigAdminMainValuesModel;
13964
+ exports.ContactModuleConfigSiteAccessValuesModel = ContactModuleConfigSiteAccessValuesModel;
13965
+ exports.ContactModuleConfigSiteValuesModel = ContactModuleConfigSiteValuesModel;
13966
+ exports.ContactModuleSiteStorageValuesModel = ContactModuleSiteStorageValuesModel;
13799
13967
  exports.CoreAuthService = CoreAuthService;
13800
13968
  exports.CoreConfigurationService = CoreConfigurationService;
13801
13969
  exports.CoreCpMainMenuCmsUserGroupModel = CoreCpMainMenuCmsUserGroupModel;
@@ -14217,6 +14385,10 @@
14217
14385
  exports.SmsMainApiPathSuperSederService = SmsMainApiPathSuperSederService;
14218
14386
  exports.SmsMainCustomerCreditModel = SmsMainCustomerCreditModel;
14219
14387
  exports.SmsMainCustomerCreditService = SmsMainCustomerCreditService;
14388
+ exports.SmsMainMessageCategoryModel = SmsMainMessageCategoryModel;
14389
+ exports.SmsMainMessageCategoryService = SmsMainMessageCategoryService;
14390
+ exports.SmsMainMessageContentModel = SmsMainMessageContentModel;
14391
+ exports.SmsMainMessageContentService = SmsMainMessageContentService;
14220
14392
  exports.SmsModuleConfigAdminMainValuesModel = SmsModuleConfigAdminMainValuesModel;
14221
14393
  exports.SmsModuleConfigSiteAccessValuesModel = SmsModuleConfigSiteAccessValuesModel;
14222
14394
  exports.SmsModuleConfigSiteValuesModel = SmsModuleConfigSiteValuesModel;