@smartico/public-api 0.0.223 → 0.0.224
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.
|
@@ -7,6 +7,10 @@ interface RaffleDrawPublicMeta {
|
|
|
7
7
|
description: string;
|
|
8
8
|
/** URL of the image that represents the draw */
|
|
9
9
|
image_url: string;
|
|
10
|
+
/** URL of the icon that represents the draw */
|
|
11
|
+
icon_url: string;
|
|
12
|
+
/** URL of the background image that will be used in the draw list item */
|
|
13
|
+
background_image_url: string;
|
|
10
14
|
}
|
|
11
15
|
declare enum RaffleDrawInstanceState {
|
|
12
16
|
/** Draw is open for the tickets collection */
|
package/package.json
CHANGED
package/src/Raffle/RaffleDraw.ts
CHANGED
|
@@ -8,6 +8,10 @@ interface RaffleDrawPublicMeta {
|
|
|
8
8
|
description: string;
|
|
9
9
|
/** URL of the image that represents the draw */
|
|
10
10
|
image_url: string;
|
|
11
|
+
/** URL of the icon that represents the draw */
|
|
12
|
+
icon_url: string;
|
|
13
|
+
/** URL of the background image that will be used in the draw list item */
|
|
14
|
+
background_image_url: string;
|
|
11
15
|
}
|
|
12
16
|
|
|
13
17
|
enum RaffleDrawInstanceState {
|
package/src/SmarticoLib/index.ts
CHANGED
|
@@ -475,6 +475,13 @@ declare enum TournamentRegistrationType {
|
|
|
475
475
|
MANUAL_APPROVAL = 4,
|
|
476
476
|
REQUIRES_QUALIFICATION = 5,
|
|
477
477
|
}
|
|
478
|
+
/*
|
|
479
|
+
AUTO – The user is automatically registered upon their first qualifying action; no manual action is required.
|
|
480
|
+
OPT_IN – Free registration; the user simply needs to click "Join."
|
|
481
|
+
BUY_IN_POINTS – Registration requires points; the required amount is specified in the registration_cost_points field.
|
|
482
|
+
MANUAL_APPROVAL – The user must join, but the operator must approve the registration from the back office.
|
|
483
|
+
REQUIRES_QUALIFICATION – The user must join and complete the required qualification action specified for the tournament.
|
|
484
|
+
*/
|
|
478
485
|
export type TournamentRegistrationTypeName =
|
|
479
486
|
| 'AUTO'
|
|
480
487
|
| 'OPT_IN'
|