@smartico/public-api 0.0.232 → 0.0.234

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.
@@ -24,4 +24,5 @@ export interface SAWPrizeUI {
24
24
  prize_modifiers?: PrizeModifiers[];
25
25
  allow_split_decimal?: boolean;
26
26
  hide_prize_from_history?: boolean;
27
+ hide_prize_till_won?: boolean;
27
28
  }
@@ -1,5 +1,8 @@
1
1
  import { ProtocolMessage } from "../Base/ProtocolMessage";
2
2
  export interface GetRaffleDrawRunsHistoryRequest extends ProtocolMessage {
3
3
  raffle_id: number;
4
+ /**
5
+ * If draw_id is not passed all draw runs that belong to raffle with passed raffle_id will be returned.
6
+ */
4
7
  draw_id: number;
5
8
  }
@@ -95,7 +95,7 @@ interface RafflePrize {
95
95
  /**
96
96
  * Shows if the prize has been claimed
97
97
  */
98
- is_claimed: boolean;
98
+ should_claim: boolean;
99
99
  winners: RafflePrizeWinner[];
100
100
  }
101
101
  export { RafflePrize };
@@ -5,6 +5,6 @@ interface RafflePrizeWinner {
5
5
  avatar_id: string;
6
6
  avatar_url?: string;
7
7
  ticket: RaffleTicket;
8
- won_ids: number[];
8
+ won_id: number;
9
9
  }
10
10
  export { RafflePrizeWinner };