@smartico/public-api 0.0.273 → 0.0.275

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.
@@ -338,7 +338,7 @@ var SAWGameType;
338
338
  SAWGameType[SAWGameType["LootboxWeekdays"] = 7] = "LootboxWeekdays";
339
339
  SAWGameType[SAWGameType["LootboxCalendarDays"] = 8] = "LootboxCalendarDays";
340
340
  SAWGameType[SAWGameType["TreasureHunt"] = 9] = "TreasureHunt";
341
- SAWGameType[SAWGameType["Mario"] = 10] = "Mario";
341
+ SAWGameType[SAWGameType["Voyager"] = 10] = "Voyager";
342
342
  })(SAWGameType || (SAWGameType = {}));
343
343
  var SAWGameTypeName;
344
344
  (function (SAWGameTypeName) {
@@ -351,7 +351,7 @@ var SAWGameTypeName;
351
351
  SAWGameTypeName["LootboxWeekdays"] = "lootbox_weekdays";
352
352
  SAWGameTypeName["LootboxCalendarDays"] = "lootbox_calendar_days";
353
353
  SAWGameTypeName["TreasureHunt"] = "treasure_hunt";
354
- SAWGameTypeName["Mario"] = "mario";
354
+ SAWGameTypeName["Voyager"] = "voyager";
355
355
  SAWGameTypeName["Unknown"] = "unknown";
356
356
  })(SAWGameTypeName || (SAWGameTypeName = {}));
357
357
  /** @hidden */
@@ -366,7 +366,7 @@ const SAWGameTypeNamed = type => {
366
366
  [SAWGameType.LootboxWeekdays]: SAWGameTypeName.LootboxWeekdays,
367
367
  [SAWGameType.LootboxCalendarDays]: SAWGameTypeName.LootboxCalendarDays,
368
368
  [SAWGameType.TreasureHunt]: SAWGameTypeName.TreasureHunt,
369
- [SAWGameType.Mario]: SAWGameTypeName.Mario
369
+ [SAWGameType.Voyager]: SAWGameTypeName.Voyager
370
370
  }[type] || SAWGameTypeName.Unknown;
371
371
  };
372
372
 
@@ -511,6 +511,10 @@ var SAWSpinErrorCode;
511
511
  SAWSpinErrorCode[SAWSpinErrorCode["SAW_VISITOR_STOP_SPIN_REQUEST"] = -40001] = "SAW_VISITOR_STOP_SPIN_REQUEST";
512
512
  /** User is not in the segment */
513
513
  SAWSpinErrorCode[SAWSpinErrorCode["SAW_NOT_IN_SEGMENT"] = 40009] = "SAW_NOT_IN_SEGMENT";
514
+ /** User doesn't have enough gems to play. In case buy in type for the game is 'gems' based */
515
+ SAWSpinErrorCode[SAWSpinErrorCode["SAW_NO_BALANCE_GEMS"] = 40011] = "SAW_NO_BALANCE_GEMS";
516
+ /** User doesn't have enough diamonds to play. In case buy in type for the game is 'diamonds' based */
517
+ SAWSpinErrorCode[SAWSpinErrorCode["SAW_NO_BALANCE_DIAMONDS"] = 40012] = "SAW_NO_BALANCE_DIAMONDS";
514
518
  })(SAWSpinErrorCode || (SAWSpinErrorCode = {}));
515
519
 
516
520
  var SAWWinSoundType;
@@ -862,6 +866,10 @@ var BuyStoreItemErrorCode;
862
866
  BuyStoreItemErrorCode[BuyStoreItemErrorCode["SHOP_FAILED_MAX_BOUGHT_ITEMS_REACHED"] = 11006] = "SHOP_FAILED_MAX_BOUGHT_ITEMS_REACHED";
863
867
  /** Failed to buy item because no more items are available */
864
868
  BuyStoreItemErrorCode[BuyStoreItemErrorCode["SHOP_FAILED_POOL_EMPTY"] = 11009] = "SHOP_FAILED_POOL_EMPTY";
869
+ /** User doesn't have enough gems on balance */
870
+ BuyStoreItemErrorCode[BuyStoreItemErrorCode["SHOP_NO_BALANCE_GEMS"] = 11011] = "SHOP_NO_BALANCE_GEMS";
871
+ /** User doesn't have enough diamonds on balance */
872
+ BuyStoreItemErrorCode[BuyStoreItemErrorCode["SHOP_NO_BALANCE_DIAMONDS"] = 11012] = "SHOP_NO_BALANCE_DIAMONDS";
865
873
  })(BuyStoreItemErrorCode || (BuyStoreItemErrorCode = {}));
866
874
 
867
875
  const StoreCategoryTransform = items => {