@smartico/public-api 0.0.267 → 0.0.269

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.267",
3
+ "version": "0.0.269",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,6 +14,8 @@ export interface SAWPrizeUI {
14
14
  font_size?: number;
15
15
  font_size_mobile?: number;
16
16
  sound_type?: SAWWinSoundType;
17
+ second_btn?: string
18
+ second_btn_action_title?: string
17
19
  acknowledge_dp_additional?: string;
18
20
  acknowledge_action_title_additional?: string;
19
21
  icon?: string;
@@ -9,7 +9,8 @@ export interface GetDrawRunResponse extends ProtocolResponse {
9
9
 
10
10
 
11
11
  export const drawRunTransform = (res: GetDrawRunResponse): TRaffleDraw => {
12
- return {id: res.draw.draw_id,
12
+ return {
13
+ id: res.draw.draw_id,
13
14
  name: res.draw.public_meta.name,
14
15
  description: res.draw.public_meta.description,
15
16
  image_url:res.draw.public_meta.image_url,
@@ -29,8 +30,6 @@ export const drawRunTransform = (res: GetDrawRunResponse): TRaffleDraw => {
29
30
  allow_multi_prize_per_ticket: res.draw.allow_multi_prize_per_ticket,
30
31
  total_tickets_count: res.draw.total_tickets_count,
31
32
  my_tickets_count: res.draw.my_tickets_count,
32
- my_last_tickets: ticketsTransform(res.draw.my_last_tickets)}
33
-
34
-
35
-
33
+ my_last_tickets: ticketsTransform(res.draw.my_last_tickets)
34
+ }
36
35
  };
@@ -12,7 +12,8 @@ interface RafflePublicMeta {
12
12
  image_url: string;
13
13
  /** URL of the mobile image that represents the raffle */
14
14
  image_url_mobile: string;
15
-
15
+ /** Text for Terms and Conditions */
16
+ hint_text:string;
16
17
  /**
17
18
  * Custom data as string or JSON string that can be used in API to build custom UI
18
19
  * You can request from Smartico to define fields for your specific case that will be managed from Smartico BackOffice