ntk-cms-api 1.0.396 → 1.0.400

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.
@@ -4957,6 +4957,90 @@
4957
4957
  { type: i0.Injectable }
4958
4958
  ];
4959
4959
 
4960
+ var ApiTelegramBotConfigService = /** @class */ (function (_super) {
4961
+ __extends(ApiTelegramBotConfigService, _super);
4962
+ function ApiTelegramBotConfigService() {
4963
+ return _super !== null && _super.apply(this, arguments) || this;
4964
+ }
4965
+ ApiTelegramBotConfigService.prototype.getModuleCotrolerUrl = function () {
4966
+ return 'ApiTelegramBotConfig';
4967
+ };
4968
+ ApiTelegramBotConfigService.prototype.ServiceSendMessage = function (model) {
4969
+ var _this = this;
4970
+ return this.http
4971
+ .post(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/SendMessage', model, { headers: this.getHeaders(), })
4972
+ .pipe(operators.retry(this.configApiRetry),
4973
+ // catchError(this.handleError)
4974
+ operators.map(function (ret) {
4975
+ return _this.errorExceptionResultBaseCheck(ret);
4976
+ }));
4977
+ };
4978
+ ApiTelegramBotConfigService.prototype.ServiceGetUpdatesAsync = function (id) {
4979
+ var _this = this;
4980
+ return this.http
4981
+ .get(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/GetUpdatesAsync/' + id, { headers: this.getHeaders(), })
4982
+ .pipe(operators.retry(this.configApiRetry),
4983
+ // catchError(this.handleError)
4984
+ operators.map(function (ret) {
4985
+ return _this.errorExceptionResultCheck(ret);
4986
+ }));
4987
+ };
4988
+ ApiTelegramBotConfigService.prototype.ServiceGetUpdatesAsyncLast = function (id) {
4989
+ var _this = this;
4990
+ return this.http
4991
+ .get(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/GetUpdatesAsyncLast/' + id, { headers: this.getHeaders(), })
4992
+ .pipe(operators.retry(this.configApiRetry),
4993
+ // catchError(this.handleError)
4994
+ operators.map(function (ret) {
4995
+ return _this.errorExceptionResultCheck(ret);
4996
+ }));
4997
+ };
4998
+ ApiTelegramBotConfigService.prototype.ServiceGetMeAsync = function (id) {
4999
+ var _this = this;
5000
+ return this.http
5001
+ .get(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/GetMeAsync/' + id, { headers: this.getHeaders(), })
5002
+ .pipe(operators.retry(this.configApiRetry),
5003
+ // catchError(this.handleError)
5004
+ operators.map(function (ret) {
5005
+ return _this.errorExceptionResultCheck(ret);
5006
+ }));
5007
+ };
5008
+ ApiTelegramBotConfigService.prototype.ServiceSetWebhookAsync = function (id) {
5009
+ var _this = this;
5010
+ return this.http
5011
+ .get(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/SetWebhookAsync/' + id, { headers: this.getHeaders(), })
5012
+ .pipe(operators.retry(this.configApiRetry),
5013
+ // catchError(this.handleError)
5014
+ operators.map(function (ret) {
5015
+ return _this.errorExceptionResultCheck(ret);
5016
+ }));
5017
+ };
5018
+ ApiTelegramBotConfigService.prototype.ServiceSetWebhookAsyncEmpty = function (id) {
5019
+ var _this = this;
5020
+ return this.http
5021
+ .get(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/SetWebhookAsyncEmpty/' + id, { headers: this.getHeaders(), })
5022
+ .pipe(operators.retry(this.configApiRetry),
5023
+ // catchError(this.handleError)
5024
+ operators.map(function (ret) {
5025
+ return _this.errorExceptionResultCheck(ret);
5026
+ }));
5027
+ };
5028
+ ApiTelegramBotConfigService.prototype.ServiceSetAllWebhookUpdate = function () {
5029
+ var _this = this;
5030
+ return this.http
5031
+ .get(this.getBaseUrl() + this.getModuleCotrolerUrl() + '/SetAllWebhookUpdate/', { headers: this.getHeaders(), })
5032
+ .pipe(operators.retry(this.configApiRetry),
5033
+ // catchError(this.handleError)
5034
+ operators.map(function (ret) {
5035
+ return _this.errorExceptionResultCheck(ret);
5036
+ }));
5037
+ };
5038
+ return ApiTelegramBotConfigService;
5039
+ }(ApiCmsServerBase));
5040
+ ApiTelegramBotConfigService.decorators = [
5041
+ { type: i0.Injectable }
5042
+ ];
5043
+
4960
5044
  var ApiTelegramEnumService = /** @class */ (function (_super) {
4961
5045
  __extends(ApiTelegramEnumService, _super);
4962
5046
  function ApiTelegramEnumService() {
@@ -12061,6 +12145,7 @@
12061
12145
  exports.AccessModel = AccessModel;
12062
12146
  exports.ApiServerBase = ApiServerBase;
12063
12147
  exports.ApiTelegramBotConfigModel = ApiTelegramBotConfigModel;
12148
+ exports.ApiTelegramBotConfigService = ApiTelegramBotConfigService;
12064
12149
  exports.ApiTelegramConfigurationService = ApiTelegramConfigurationService;
12065
12150
  exports.ApiTelegramEnumService = ApiTelegramEnumService;
12066
12151
  exports.ApiTelegramLogInputModel = ApiTelegramLogInputModel;