ntk-cms-api 1.2.206 → 1.2.207

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.
@@ -1063,8 +1063,9 @@ var EnumNotificationModuleType;
1063
1063
  var EnumNotificationConnectionType;
1064
1064
  (function (EnumNotificationConnectionType) {
1065
1065
  EnumNotificationConnectionType[EnumNotificationConnectionType["restApi"] = 0] = "restApi";
1066
- EnumNotificationConnectionType[EnumNotificationConnectionType["signalr"] = 1] = "signalr";
1067
- EnumNotificationConnectionType[EnumNotificationConnectionType["webSoocket"] = 2] = "webSoocket";
1066
+ EnumNotificationConnectionType[EnumNotificationConnectionType["Signalr"] = 1] = "Signalr";
1067
+ EnumNotificationConnectionType[EnumNotificationConnectionType["FireBase"] = 2] = "FireBase";
1068
+ EnumNotificationConnectionType[EnumNotificationConnectionType["WebSoocket"] = 3] = "WebSoocket";
1068
1069
  })(EnumNotificationConnectionType || (EnumNotificationConnectionType = {}));
1069
1070
 
1070
1071
  var EnumNotificationConnectionStatus;
@@ -3530,12 +3531,12 @@ class CoreTokenNotificationService extends ApiCmsServerBase {
3530
3531
  getModuleControllerUrl() {
3531
3532
  return 'CoreTokenNotification';
3532
3533
  }
3533
- ServiceSendMessage(model) {
3534
+ ServiceSendNotification(model) {
3534
3535
  if (!model) {
3535
3536
  model = new CmsNotificationSendDtoModel();
3536
3537
  }
3537
3538
  return this.http
3538
- .post(this.getBaseUrl() + this.getModuleControllerUrl() + '/SendMessage', model, {
3539
+ .post(this.getBaseUrl() + this.getModuleControllerUrl() + '/SendNotification', model, {
3539
3540
  headers: this.getHeaders(),
3540
3541
  })
3541
3542
  .pipe(retry(this.configApiRetry),