@smartico/public-api 0.0.198 → 0.0.200

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.
@@ -1,5 +1,6 @@
1
1
  import { TInboxMessageBody } from '../WSAPI/WSAPITypes';
2
2
  import { InboxMessageType } from './InboxMessageType';
3
+ import { OpenLinksType } from './OpenLinksType';
3
4
  export interface InboxMessageBody {
4
5
  action: string;
5
6
  body: string;
@@ -13,6 +14,8 @@ export interface InboxMessageBody {
13
14
  }[];
14
15
  show_preview?: boolean;
15
16
  show_duration_sec?: number;
17
+ enable_zoom_mode?: boolean;
18
+ open_links?: OpenLinksType;
16
19
  }
17
20
  export interface InboxMessage {
18
21
  createDate: string;
@@ -0,0 +1,4 @@
1
+ export declare enum OpenLinksType {
2
+ NewWindow = 1,
3
+ CurrentWindow = 2
4
+ }
@@ -8,3 +8,4 @@ export * from './MarkInboxMessageStarredRequest';
8
8
  export * from './MarkInboxMessageStarredResponse';
9
9
  export * from './MarkInboxMessageDeletedRequest';
10
10
  export * from './MarkInboxMessageDeletedResponse';
11
+ export * from './OpenLinksType';
@@ -24,3 +24,4 @@ export * from './SAWEventSawPush';
24
24
  export * from './SAWAcknowledgeSpinPushRequest';
25
25
  export * from './SAWWinningHistoryRequest';
26
26
  export * from './SAWWinningHistoryResponse';
27
+ export * from './SAWGameLayout';
package/dist/index.js CHANGED
@@ -488,6 +488,12 @@ var SAWHistoryTransform = function SAWHistoryTransform(items) {
488
488
  });
489
489
  };
490
490
 
491
+ exports.SAWGameLayout = void 0;
492
+ (function (SAWGameLayout) {
493
+ SAWGameLayout[SAWGameLayout["Horizontal"] = 1] = "Horizontal";
494
+ SAWGameLayout[SAWGameLayout["VerticalMap"] = 2] = "VerticalMap";
495
+ })(exports.SAWGameLayout || (exports.SAWGameLayout = {}));
496
+
491
497
  var NodeCache = /*#__PURE__*/function () {
492
498
  function NodeCache() {
493
499
  if (NodeCache.ttlChecker === undefined) {
@@ -753,6 +759,12 @@ exports.InboxMessageType = void 0;
753
759
  })(exports.InboxMessageType || (exports.InboxMessageType = {}));
754
760
  // keep in sync with BO enum
755
761
 
762
+ exports.OpenLinksType = void 0;
763
+ (function (OpenLinksType) {
764
+ OpenLinksType[OpenLinksType["NewWindow"] = 1] = "NewWindow";
765
+ OpenLinksType[OpenLinksType["CurrentWindow"] = 2] = "CurrentWindow";
766
+ })(exports.OpenLinksType || (exports.OpenLinksType = {}));
767
+
756
768
  exports.BuyStoreItemErrorCode = void 0;
757
769
  (function (BuyStoreItemErrorCode) {
758
770
  BuyStoreItemErrorCode[BuyStoreItemErrorCode["FAILED_TO_BUY_SHOP_ITEM"] = 121] = "FAILED_TO_BUY_SHOP_ITEM";