@smartico/public-api 0.0.347 → 0.0.348

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.
@@ -115,6 +115,10 @@ export declare enum ClassId {
115
115
  RAF_CLAIM_PRIZE_RESPONSE = 909,
116
116
  RAF_OPTIN_REQUEST = 916,
117
117
  RAF_OPTIN_RESPONSE = 917,
118
+ BNR_GET_BANNER_PLACEMENTS_REQUEST = 950,
119
+ BNR_GET_BANNER_PLACEMENTS_RESPONSE = 951,
120
+ BNR_GET_BANNER_CONTENT_REQUEST = 952,
121
+ BNR_GET_BANNER_CONTENT_RESPONSE = 953,
118
122
  REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ = 1003,
119
123
  REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP = 2003,
120
124
  CLIENT_DEBUG_REQUEST = 77777,
@@ -77,7 +77,7 @@ export declare class WSAPI {
77
77
  * **Visitor mode: not supported**
78
78
  */
79
79
  getCurrentLevel(): Promise<TLevelCurrent>;
80
- /** Returns all the missions available the current user.
80
+ /** Returns all the missions configured for the current user (server-side scoped, not filtered by Widget visibility).
81
81
  * The returned missions are cached for 30 seconds. But you can pass the onUpdate callback as a parameter.
82
82
  * Note that each time you call getMissions with a new onUpdate callback, the old one will be overwritten by the new one.
83
83
  * The onUpdate callback will be called on mission OptIn and the updated missions will be passed to it.
@@ -257,7 +257,7 @@ export declare class WSAPI {
257
257
  * */
258
258
  getCustomSections(): Promise<TUICustomSection[]>;
259
259
  /**
260
- * Returns the list of mini-games available for user
260
+ * Returns the list of mini-games configured for the current user (not filtered by spin availability or Widget visibility).
261
261
  * The returned list of mini-games is cached for 30 seconds. But you can pass the onUpdate callback as a parameter. Note that each time you call getMiniGames with a new onUpdate callback, the old one will be overwritten by the new one.
262
262
  * The onUpdate callback will be called on available spin count change, if mini-game has increasing jackpot per spin or wined prize is spin/jackpot and if max count of the available user spin equal one, also if the spins were issued to the user manually in the BO. Updated templates will be passed to onUpdate callback.
263
263
  *
package/dist/index.js CHANGED
@@ -144,6 +144,10 @@ exports.ClassId = void 0;
144
144
  RAF_GET_TICKETS_RESPONSE = 903,
145
145
  RAF_CLAIM_PRIZE_REQUEST = 906,
146
146
  */
147
+ ClassId[ClassId["BNR_GET_BANNER_PLACEMENTS_REQUEST"] = 950] = "BNR_GET_BANNER_PLACEMENTS_REQUEST";
148
+ ClassId[ClassId["BNR_GET_BANNER_PLACEMENTS_RESPONSE"] = 951] = "BNR_GET_BANNER_PLACEMENTS_RESPONSE";
149
+ ClassId[ClassId["BNR_GET_BANNER_CONTENT_REQUEST"] = 952] = "BNR_GET_BANNER_CONTENT_REQUEST";
150
+ ClassId[ClassId["BNR_GET_BANNER_CONTENT_RESPONSE"] = 953] = "BNR_GET_BANNER_CONTENT_RESPONSE";
147
151
  /*
148
152
  !Important, if adding new messages that are 'acting' on behalf of the client,
149
153
  you need to include them in the CLASS_ID_IGNORE_FOR_SIMULATION
@@ -2368,7 +2372,7 @@ var WSAPI = /*#__PURE__*/function () {
2368
2372
  return Promise.reject(e);
2369
2373
  }
2370
2374
  }
2371
- /** Returns all the missions available the current user.
2375
+ /** Returns all the missions configured for the current user (server-side scoped, not filtered by Widget visibility).
2372
2376
  * The returned missions are cached for 30 seconds. But you can pass the onUpdate callback as a parameter.
2373
2377
  * Note that each time you call getMissions with a new onUpdate callback, the old one will be overwritten by the new one.
2374
2378
  * The onUpdate callback will be called on mission OptIn and the updated missions will be passed to it.
@@ -2679,7 +2683,7 @@ var WSAPI = /*#__PURE__*/function () {
2679
2683
  }
2680
2684
  }
2681
2685
  /**
2682
- * Returns the list of mini-games available for user
2686
+ * Returns the list of mini-games configured for the current user (not filtered by spin availability or Widget visibility).
2683
2687
  * The returned list of mini-games is cached for 30 seconds. But you can pass the onUpdate callback as a parameter. Note that each time you call getMiniGames with a new onUpdate callback, the old one will be overwritten by the new one.
2684
2688
  * The onUpdate callback will be called on available spin count change, if mini-game has increasing jackpot per spin or wined prize is spin/jackpot and if max count of the available user spin equal one, also if the spins were issued to the user manually in the BO. Updated templates will be passed to onUpdate callback.
2685
2689
  *