ntk-cms-api 1.0.427 → 1.0.428

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.
@@ -487,6 +487,7 @@
487
487
  }
488
488
  var SET_LOADING_STATE = 'SET_LOADING_STATE';
489
489
  var SET_TOKEN_INFO = 'SET_TOKEN_INFO';
490
+ var SET_TOKEN_DEVICE = 'SET_TOKEN_DEVICE';
490
491
  var SET_IN_PROCESSING_LIST = 'SET_IN_PROCESSING_LIST';
491
492
  var SetLoadingState = /** @class */ (function () {
492
493
  function SetLoadingState() {
@@ -500,6 +501,12 @@
500
501
  }
501
502
  return SetTokenInfoState;
502
503
  }());
504
+ var SetDeviceTokenState = /** @class */ (function () {
505
+ function SetDeviceTokenState() {
506
+ this.type = SET_TOKEN_DEVICE;
507
+ }
508
+ return SetDeviceTokenState;
509
+ }());
503
510
  var SetInProcessingList = /** @class */ (function () {
504
511
  function SetInProcessingList() {
505
512
  this.type = SET_IN_PROCESSING_LIST;
@@ -3446,7 +3453,7 @@
3446
3453
  // catchError(this.handleError)
3447
3454
  operators.map(function (ret) {
3448
3455
  if (ret.IsSuccess) {
3449
- _this.SetCurrentTokenInfo(ret.Item);
3456
+ _this.setToken('', ret.DeviceToken, '');
3450
3457
  }
3451
3458
  return ret;
3452
3459
  }));
@@ -12943,11 +12950,13 @@
12943
12950
  exports.RessellerChartModel = RessellerChartModel;
12944
12951
  exports.SET_IN_PROCESSING_LIST = SET_IN_PROCESSING_LIST;
12945
12952
  exports.SET_LOADING_STATE = SET_LOADING_STATE;
12953
+ exports.SET_TOKEN_DEVICE = SET_TOKEN_DEVICE;
12946
12954
  exports.SET_TOKEN_INFO = SET_TOKEN_INFO;
12947
12955
  exports.ScoreClickDtoModel = ScoreClickDtoModel;
12948
12956
  exports.ScoreClickInfoModel = ScoreClickInfoModel;
12949
12957
  exports.SearchTagModel = SearchTagModel;
12950
12958
  exports.SendNotificationModel = SendNotificationModel;
12959
+ exports.SetDeviceTokenState = SetDeviceTokenState;
12951
12960
  exports.SetInProcessingList = SetInProcessingList;
12952
12961
  exports.SetLoadingState = SetLoadingState;
12953
12962
  exports.SetTokenInfoState = SetTokenInfoState;