@smartico/public-api 0.0.292 → 0.0.294

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.
@@ -3,5 +3,6 @@ import { ProtocolResponse } from '../Base/ProtocolResponse';
3
3
  import { InboxMessage } from './InboxMessage';
4
4
  export interface GetInboxMessagesResponse extends ProtocolResponse {
5
5
  log: InboxMessage[];
6
+ unread_count: number;
6
7
  }
7
8
  export declare const InboxMessagesTransform: (items: InboxMessage[]) => TInboxMessage[];
package/dist/index.js CHANGED
@@ -1784,6 +1784,7 @@ var raffleTransform = function raffleTransform(items) {
1784
1784
 
1785
1785
  /** @hidden */
1786
1786
  var drawRunTransform = function drawRunTransform(res) {
1787
+ var _res$draw$ticket_star;
1787
1788
  return {
1788
1789
  id: res.draw.draw_id,
1789
1790
  name: res.draw.public_meta.name,
@@ -1801,7 +1802,7 @@ var drawRunTransform = function drawRunTransform(res) {
1801
1802
  execution_ts: res.draw.execution_ts,
1802
1803
  previous_run_ts: res.draw.previous_run_ts,
1803
1804
  previous_run_id: res.draw.previous_run_id,
1804
- ticket_start_ts: res.draw.ticket_start_ts,
1805
+ ticket_start_ts: (_res$draw$ticket_star = res.draw.ticket_start_ts) != null ? _res$draw$ticket_star : res.draw['ticket_start_date'],
1805
1806
  allow_multi_prize_per_ticket: res.draw.allow_multi_prize_per_ticket,
1806
1807
  total_tickets_count: res.draw.total_tickets_count,
1807
1808
  my_tickets_count: res.draw.my_tickets_count,