@smartico/public-api 0.0.426 → 0.0.428

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.
Files changed (43) hide show
  1. package/dist/Core/PublicLabelSettings.d.ts +2 -0
  2. package/dist/Missions/BadgesTimeLimitStates.d.ts +6 -1
  3. package/dist/Raffle/RaffleDraw.d.ts +10 -4
  4. package/dist/SmarticoAPI.d.ts +4 -1
  5. package/dist/SmarticoGlobal.d.ts +2 -0
  6. package/dist/WSAPI/WSAPILeaderBoard.d.ts +49 -1
  7. package/dist/WSAPI/WSAPIMissions.d.ts +5 -1
  8. package/dist/WSAPI/WSAPIRaffles.d.ts +6 -2
  9. package/dist/WSAPI/WSAPITournaments.d.ts +14 -5
  10. package/dist/WSAPI/WSAPITypes.d.ts +30 -0
  11. package/dist/index.d.ts +1 -1
  12. package/dist/index.js +140 -16
  13. package/dist/index.js.map +1 -1
  14. package/dist/index.modern.mjs +142 -19
  15. package/dist/index.modern.mjs.map +1 -1
  16. package/docs/SmarticoObject.md +9 -4
  17. package/docs/ui/leaderboard/UIGuide_getLeaderBoard.md +18 -3
  18. package/docs/ui/missions/UIGuide_getBadges.md +6 -0
  19. package/docs/ui/raffles/UIGuide_getRaffles.md +18 -1
  20. package/docs/ui/tournaments/UIGuide_getTournamentsList.md +12 -6
  21. package/package.json +1 -1
  22. package/src/Core/PublicLabelSettings.ts +2 -0
  23. package/src/Missions/BadgesTimeLimitStates.ts +5 -0
  24. package/src/Missions/MissionsUtils.ts +2 -2
  25. package/src/Raffle/GetRafflesResponse.ts +2 -0
  26. package/src/Raffle/RaffleDraw.ts +10 -4
  27. package/src/SmarticoAPI.ts +50 -0
  28. package/src/SmarticoGlobal.ts +2 -0
  29. package/src/Tournaments/Tournament.ts +1 -0
  30. package/src/WSAPI/WSAPILeaderBoard.ts +52 -0
  31. package/src/WSAPI/WSAPIMissions.ts +5 -1
  32. package/src/WSAPI/WSAPIRaffles.ts +6 -2
  33. package/src/WSAPI/WSAPITournaments.ts +14 -5
  34. package/src/WSAPI/WSAPITypes.ts +31 -0
  35. package/src/index.ts +1 -1
  36. package/dist/ActivityLog/ActivityLogMapper.d.ts +0 -4
  37. package/dist/Quiz/MarketsAnswers.d.ts +0 -40
  38. package/dist/Quiz/MarketsInfo.d.ts +0 -14
  39. package/dist/Quiz/MarketsPerSport.d.ts +0 -6
  40. package/dist/Quiz/MarketsType.d.ts +0 -28
  41. package/dist/Quiz/ScoreResultTypes.d.ts +0 -28
  42. package/dist/Quiz/SportTypes.d.ts +0 -6
  43. package/dist/Quiz/index.d.ts +0 -6
@@ -1,28 +0,0 @@
1
- type TeamType = 'Home' | 'Away';
2
- type CardType = 'Yellow' | 'Red' | 'YellowRed';
3
- type TimeType = 'FT' | '1st Half' | '2nd Half';
4
- export type OverHalfFullTimeScoreType = {
5
- home: number;
6
- away: number;
7
- };
8
- export type CardScoreType = {
9
- time: 'string';
10
- type: CardType;
11
- player: string;
12
- };
13
- export type CornerScoreType = {
14
- team: TeamType;
15
- timeType: TimeType;
16
- totalCount: number;
17
- };
18
- export type GoalScoreType = {
19
- team: TeamType;
20
- time: string;
21
- player: string;
22
- matchScore: OverHalfFullTimeScoreType;
23
- };
24
- export type SetsScoreType = {
25
- set: number;
26
- setScore: OverHalfFullTimeScoreType;
27
- };
28
- export {};
@@ -1,6 +0,0 @@
1
- export declare enum QuizSportType {
2
- Soccer = 1,
3
- Basketball = 2,
4
- Tennis = 5
5
- }
6
- export declare const quizSupportedSports: QuizSportType[];
@@ -1,6 +0,0 @@
1
- export * from './SportTypes';
2
- export * from './MarketsType';
3
- export * from './ScoreResultTypes';
4
- export * from './MarketsInfo';
5
- export * from './MarketsPerSport';
6
- export * from './MarketsAnswers';