@smartico/public-api 0.0.278 → 0.0.280

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 (64) hide show
  1. package/dist/MiniGames/SAWBuyInType.d.ts +0 -1
  2. package/dist/MiniGames/SAWGameType.d.ts +0 -1
  3. package/dist/MiniGames/SAWPrizeType.d.ts +0 -1
  4. package/dist/Missions/index.d.ts +1 -0
  5. package/dist/Tournaments/Tournament.d.ts +3 -2
  6. package/dist/Tournaments/TournamentRegistrationStatus.d.ts +0 -1
  7. package/dist/Tournaments/TournamentRegistrationType.d.ts +0 -1
  8. package/dist/WSAPI/WSAPI.d.ts +4 -0
  9. package/dist/WSAPI/WSAPITypes.d.ts +26 -1
  10. package/dist/index.js +109 -98
  11. package/dist/index.js.map +1 -1
  12. package/dist/index.modern.mjs +61 -58
  13. package/dist/index.modern.mjs.map +1 -1
  14. package/docs/README.md +103 -0
  15. package/docs/classes/SAWUtils.md +27 -0
  16. package/docs/classes/WSAPI.md +5 -2
  17. package/docs/enums/AchCustomLayoutTheme.md +25 -0
  18. package/docs/enums/AchMissionsTabsOptions.md +19 -0
  19. package/docs/enums/AchOverviewMissionsFilter.md +31 -0
  20. package/docs/enums/BonusStatus-1.md +49 -0
  21. package/docs/enums/BonusStatus.md +37 -0
  22. package/docs/enums/SAWAcknowledgeType.md +25 -0
  23. package/docs/enums/SAWBuyInType.md +31 -0
  24. package/docs/enums/SAWGameType.md +61 -0
  25. package/docs/enums/SAWPrizeType.md +61 -0
  26. package/docs/enums/SAWWheelLayout.md +25 -0
  27. package/docs/enums/SAWWinSoundType.md +31 -0
  28. package/docs/enums/TournamentRegistrationStatus.md +43 -0
  29. package/docs/enums/TournamentRegistrationType.md +43 -0
  30. package/docs/interfaces/BonusMetaMap.md +9 -0
  31. package/docs/interfaces/BonusTemplateMetaMap.md +25 -0
  32. package/docs/interfaces/SAWAcknowledgeSpinPushRequest.md +79 -0
  33. package/docs/interfaces/SAWDoAknowledgeRequest.md +43 -0
  34. package/docs/interfaces/SAWDoAknowledgeResponse.md +43 -0
  35. package/docs/interfaces/SAWDoSpinRequest.md +79 -0
  36. package/docs/interfaces/SAWDoSpinResponse.md +87 -0
  37. package/docs/interfaces/SAWEventSawPush.md +55 -0
  38. package/docs/interfaces/SAWGetTemplatesRequest.md +79 -0
  39. package/docs/interfaces/SAWGetTemplatesResponse.md +63 -0
  40. package/docs/interfaces/SAWPrize.md +107 -0
  41. package/docs/interfaces/SAWPrizeDropAknowledgeRequest.md +55 -0
  42. package/docs/interfaces/SAWPrizeDropAknowledgeResponse.md +43 -0
  43. package/docs/interfaces/SAWPrizeDropWinPush.md +67 -0
  44. package/docs/interfaces/SAWPrizeUI.md +157 -0
  45. package/docs/interfaces/SAWPrizesHistory.md +49 -0
  46. package/docs/interfaces/SAWSpinsCountPush.md +49 -0
  47. package/docs/interfaces/SAWTemplate.md +154 -0
  48. package/docs/interfaces/SAWTemplateUI.md +1 -1
  49. package/docs/interfaces/SAWWinningHistoryRequest.md +61 -0
  50. package/docs/interfaces/SAWWinningHistoryResponse.md +69 -0
  51. package/docs/interfaces/TBonus.md +3 -3
  52. package/docs/interfaces/TSawHistory.md +1 -1
  53. package/docs/interfaces/TUICustomSection.md +3 -3
  54. package/package.json +1 -1
  55. package/src/MiniGames/SAWBuyInType.ts +0 -1
  56. package/src/MiniGames/SAWGameType.ts +0 -2
  57. package/src/MiniGames/SAWGetTemplatesResponse.ts +1 -1
  58. package/src/MiniGames/SAWPrizeType.ts +0 -1
  59. package/src/Missions/index.ts +1 -0
  60. package/src/Tournaments/Tournament.ts +4 -2
  61. package/src/Tournaments/TournamentRegistrationStatus.ts +0 -1
  62. package/src/Tournaments/TournamentRegistrationType.ts +0 -1
  63. package/src/WSAPI/WSAPI.ts +10 -16
  64. package/src/WSAPI/WSAPITypes.ts +30 -6
@@ -0,0 +1,25 @@
1
+ # Interface: BonusTemplateMetaMap
2
+
3
+ ## Properties
4
+
5
+ ### description
6
+
7
+ • **description**: `string`
8
+
9
+ Description of the bonus template
10
+
11
+ ___
12
+
13
+ ### acknowledge
14
+
15
+ • **acknowledge**: `string`
16
+
17
+ Acknowledge message setup in the bonus template
18
+
19
+ ___
20
+
21
+ ### image\_url
22
+
23
+ • **image\_url**: `string`
24
+
25
+ Image URL of the bonus template
@@ -0,0 +1,79 @@
1
+ # Interface: SAWAcknowledgeSpinPushRequest
2
+
3
+ ## Hierarchy
4
+
5
+ - `ProtocolRequest`
6
+
7
+ ↳ **`SAWAcknowledgeSpinPushRequest`**
8
+
9
+ ## Properties
10
+
11
+ ### cid
12
+
13
+ • **cid**: `number`
14
+
15
+ #### Inherited from
16
+
17
+ ProtocolRequest.cid
18
+
19
+ ___
20
+
21
+ ### ts
22
+
23
+ • `Optional` **ts**: `number`
24
+
25
+ #### Inherited from
26
+
27
+ ProtocolRequest.ts
28
+
29
+ ___
30
+
31
+ ### uuid
32
+
33
+ • `Optional` **uuid**: `string`
34
+
35
+ #### Inherited from
36
+
37
+ ProtocolRequest.uuid
38
+
39
+ ___
40
+
41
+ ### api\_key
42
+
43
+ • **api\_key**: `string`
44
+
45
+ #### Inherited from
46
+
47
+ ProtocolRequest.api\_key
48
+
49
+ ___
50
+
51
+ ### brand\_key
52
+
53
+ • **brand\_key**: `string`
54
+
55
+ #### Inherited from
56
+
57
+ ProtocolRequest.brand\_key
58
+
59
+ ___
60
+
61
+ ### ext\_user\_id
62
+
63
+ • **ext\_user\_id**: `string`
64
+
65
+ #### Inherited from
66
+
67
+ ProtocolRequest.ext\_user\_id
68
+
69
+ ___
70
+
71
+ ### pending\_message\_id
72
+
73
+ • **pending\_message\_id**: `number`
74
+
75
+ ___
76
+
77
+ ### saw\_template\_id
78
+
79
+ • **saw\_template\_id**: `number`
@@ -0,0 +1,43 @@
1
+ # Interface: SAWDoAknowledgeRequest
2
+
3
+ ## Hierarchy
4
+
5
+ - `ProtocolMessage`
6
+
7
+ ↳ **`SAWDoAknowledgeRequest`**
8
+
9
+ ## Properties
10
+
11
+ ### cid
12
+
13
+ • **cid**: `number`
14
+
15
+ #### Inherited from
16
+
17
+ ProtocolMessage.cid
18
+
19
+ ___
20
+
21
+ ### ts
22
+
23
+ • `Optional` **ts**: `number`
24
+
25
+ #### Inherited from
26
+
27
+ ProtocolMessage.ts
28
+
29
+ ___
30
+
31
+ ### uuid
32
+
33
+ • `Optional` **uuid**: `string`
34
+
35
+ #### Inherited from
36
+
37
+ ProtocolMessage.uuid
38
+
39
+ ___
40
+
41
+ ### request\_id
42
+
43
+ • **request\_id**: `string`
@@ -0,0 +1,43 @@
1
+ # Interface: SAWDoAknowledgeResponse
2
+
3
+ ## Hierarchy
4
+
5
+ - `ProtocolMessage`
6
+
7
+ ↳ **`SAWDoAknowledgeResponse`**
8
+
9
+ ## Properties
10
+
11
+ ### cid
12
+
13
+ • **cid**: `number`
14
+
15
+ #### Inherited from
16
+
17
+ ProtocolMessage.cid
18
+
19
+ ___
20
+
21
+ ### ts
22
+
23
+ • `Optional` **ts**: `number`
24
+
25
+ #### Inherited from
26
+
27
+ ProtocolMessage.ts
28
+
29
+ ___
30
+
31
+ ### uuid
32
+
33
+ • `Optional` **uuid**: `string`
34
+
35
+ #### Inherited from
36
+
37
+ ProtocolMessage.uuid
38
+
39
+ ___
40
+
41
+ ### request\_id
42
+
43
+ • **request\_id**: `string`
@@ -0,0 +1,79 @@
1
+ # Interface: SAWDoSpinRequest
2
+
3
+ ## Hierarchy
4
+
5
+ - `ProtocolRequest`
6
+
7
+ ↳ **`SAWDoSpinRequest`**
8
+
9
+ ## Properties
10
+
11
+ ### cid
12
+
13
+ • **cid**: `number`
14
+
15
+ #### Inherited from
16
+
17
+ ProtocolRequest.cid
18
+
19
+ ___
20
+
21
+ ### ts
22
+
23
+ • `Optional` **ts**: `number`
24
+
25
+ #### Inherited from
26
+
27
+ ProtocolRequest.ts
28
+
29
+ ___
30
+
31
+ ### uuid
32
+
33
+ • `Optional` **uuid**: `string`
34
+
35
+ #### Inherited from
36
+
37
+ ProtocolRequest.uuid
38
+
39
+ ___
40
+
41
+ ### api\_key
42
+
43
+ • **api\_key**: `string`
44
+
45
+ #### Inherited from
46
+
47
+ ProtocolRequest.api\_key
48
+
49
+ ___
50
+
51
+ ### brand\_key
52
+
53
+ • **brand\_key**: `string`
54
+
55
+ #### Inherited from
56
+
57
+ ProtocolRequest.brand\_key
58
+
59
+ ___
60
+
61
+ ### ext\_user\_id
62
+
63
+ • **ext\_user\_id**: `string`
64
+
65
+ #### Inherited from
66
+
67
+ ProtocolRequest.ext\_user\_id
68
+
69
+ ___
70
+
71
+ ### request\_id
72
+
73
+ • **request\_id**: `string`
74
+
75
+ ___
76
+
77
+ ### saw\_template\_id
78
+
79
+ • **saw\_template\_id**: `number`
@@ -0,0 +1,87 @@
1
+ # Interface: SAWDoSpinResponse
2
+
3
+ ## Hierarchy
4
+
5
+ - `ProtocolResponse`
6
+
7
+ ↳ **`SAWDoSpinResponse`**
8
+
9
+ ## Properties
10
+
11
+ ### cid
12
+
13
+ • **cid**: `number`
14
+
15
+ #### Inherited from
16
+
17
+ ProtocolResponse.cid
18
+
19
+ ___
20
+
21
+ ### ts
22
+
23
+ • `Optional` **ts**: `number`
24
+
25
+ #### Inherited from
26
+
27
+ ProtocolResponse.ts
28
+
29
+ ___
30
+
31
+ ### uuid
32
+
33
+ • `Optional` **uuid**: `string`
34
+
35
+ #### Inherited from
36
+
37
+ ProtocolResponse.uuid
38
+
39
+ ___
40
+
41
+ ### errCode
42
+
43
+ • **errCode**: [`SAWSpinErrorCode`](../enums/SAWSpinErrorCode.md)
44
+
45
+ #### Overrides
46
+
47
+ ProtocolResponse.errCode
48
+
49
+ ___
50
+
51
+ ### errMsg
52
+
53
+ • `Optional` **errMsg**: `string`
54
+
55
+ #### Overrides
56
+
57
+ ProtocolResponse.errMsg
58
+
59
+ ___
60
+
61
+ ### request\_id
62
+
63
+ • **request\_id**: `string`
64
+
65
+ ___
66
+
67
+ ### saw\_prize\_id
68
+
69
+ • **saw\_prize\_id**: `number`
70
+
71
+ ___
72
+
73
+ ### jackpot\_amount
74
+
75
+ • `Optional` **jackpot\_amount**: `number`
76
+
77
+ ___
78
+
79
+ ### first\_spin\_in\_period
80
+
81
+ • **first\_spin\_in\_period**: `number`
82
+
83
+ ___
84
+
85
+ ### visitor\_win\_uuid
86
+
87
+ • `Optional` **visitor\_win\_uuid**: `string`
@@ -0,0 +1,55 @@
1
+ # Interface: SAWEventSawPush
2
+
3
+ ## Hierarchy
4
+
5
+ - `ProtocolMessage`
6
+
7
+ ↳ **`SAWEventSawPush`**
8
+
9
+ ## Properties
10
+
11
+ ### cid
12
+
13
+ • **cid**: `number`
14
+
15
+ #### Inherited from
16
+
17
+ ProtocolMessage.cid
18
+
19
+ ___
20
+
21
+ ### ts
22
+
23
+ • `Optional` **ts**: `number`
24
+
25
+ #### Inherited from
26
+
27
+ ProtocolMessage.ts
28
+
29
+ ___
30
+
31
+ ### uuid
32
+
33
+ • `Optional` **uuid**: `string`
34
+
35
+ #### Inherited from
36
+
37
+ ProtocolMessage.uuid
38
+
39
+ ___
40
+
41
+ ### pending\_message\_id
42
+
43
+ • **pending\_message\_id**: `number`
44
+
45
+ ___
46
+
47
+ ### saw\_template\_id
48
+
49
+ • **saw\_template\_id**: `number`
50
+
51
+ ___
52
+
53
+ ### saw\_game\_type\_id
54
+
55
+ • **saw\_game\_type\_id**: [`SAWGameType`](../enums/SAWGameType.md)
@@ -0,0 +1,79 @@
1
+ # Interface: SAWGetTemplatesRequest
2
+
3
+ ## Hierarchy
4
+
5
+ - `ProtocolRequest`
6
+
7
+ ↳ **`SAWGetTemplatesRequest`**
8
+
9
+ ## Properties
10
+
11
+ ### cid
12
+
13
+ • **cid**: `number`
14
+
15
+ #### Inherited from
16
+
17
+ ProtocolRequest.cid
18
+
19
+ ___
20
+
21
+ ### ts
22
+
23
+ • `Optional` **ts**: `number`
24
+
25
+ #### Inherited from
26
+
27
+ ProtocolRequest.ts
28
+
29
+ ___
30
+
31
+ ### uuid
32
+
33
+ • `Optional` **uuid**: `string`
34
+
35
+ #### Inherited from
36
+
37
+ ProtocolRequest.uuid
38
+
39
+ ___
40
+
41
+ ### api\_key
42
+
43
+ • **api\_key**: `string`
44
+
45
+ #### Inherited from
46
+
47
+ ProtocolRequest.api\_key
48
+
49
+ ___
50
+
51
+ ### brand\_key
52
+
53
+ • **brand\_key**: `string`
54
+
55
+ #### Inherited from
56
+
57
+ ProtocolRequest.brand\_key
58
+
59
+ ___
60
+
61
+ ### ext\_user\_id
62
+
63
+ • **ext\_user\_id**: `string`
64
+
65
+ #### Inherited from
66
+
67
+ ProtocolRequest.ext\_user\_id
68
+
69
+ ___
70
+
71
+ ### force\_language
72
+
73
+ • `Optional` **force\_language**: `string`
74
+
75
+ ___
76
+
77
+ ### is\_visitor\_mode
78
+
79
+ • `Optional` **is\_visitor\_mode**: `boolean`
@@ -0,0 +1,63 @@
1
+ # Interface: SAWGetTemplatesResponse
2
+
3
+ ## Hierarchy
4
+
5
+ - `ProtocolResponse`
6
+
7
+ ↳ **`SAWGetTemplatesResponse`**
8
+
9
+ ## Properties
10
+
11
+ ### cid
12
+
13
+ • **cid**: `number`
14
+
15
+ #### Inherited from
16
+
17
+ ProtocolResponse.cid
18
+
19
+ ___
20
+
21
+ ### ts
22
+
23
+ • `Optional` **ts**: `number`
24
+
25
+ #### Inherited from
26
+
27
+ ProtocolResponse.ts
28
+
29
+ ___
30
+
31
+ ### uuid
32
+
33
+ • `Optional` **uuid**: `string`
34
+
35
+ #### Inherited from
36
+
37
+ ProtocolResponse.uuid
38
+
39
+ ___
40
+
41
+ ### errCode
42
+
43
+ • `Optional` **errCode**: `number`
44
+
45
+ #### Inherited from
46
+
47
+ ProtocolResponse.errCode
48
+
49
+ ___
50
+
51
+ ### errMsg
52
+
53
+ • `Optional` **errMsg**: `string`
54
+
55
+ #### Inherited from
56
+
57
+ ProtocolResponse.errMsg
58
+
59
+ ___
60
+
61
+ ### templates
62
+
63
+ • **templates**: [`SAWTemplate`](SAWTemplate.md)[]
@@ -0,0 +1,107 @@
1
+ # Interface: SAWPrize
2
+
3
+ ## Properties
4
+
5
+ ### saw\_prize\_id
6
+
7
+ • **saw\_prize\_id**: `number`
8
+
9
+ ___
10
+
11
+ ### saw\_prize\_ui\_definition
12
+
13
+ • **saw\_prize\_ui\_definition**: [`SAWPrizeUI`](SAWPrizeUI.md)
14
+
15
+ ___
16
+
17
+ ### prize\_value
18
+
19
+ • `Optional` **prize\_value**: `number`
20
+
21
+ ___
22
+
23
+ ### prize\_type\_id
24
+
25
+ • **prize\_type\_id**: [`SAWPrizeType`](../enums/SAWPrizeType.md)
26
+
27
+ ___
28
+
29
+ ### place\_from
30
+
31
+ • `Optional` **place\_from**: `number`
32
+
33
+ ___
34
+
35
+ ### place\_to
36
+
37
+ • `Optional` **place\_to**: `number`
38
+
39
+ ___
40
+
41
+ ### sawUniqueWinId
42
+
43
+ • `Optional` **sawUniqueWinId**: `string`
44
+
45
+ ___
46
+
47
+ ### pool
48
+
49
+ • `Optional` **pool**: `number`
50
+
51
+ ___
52
+
53
+ ### pool\_initial
54
+
55
+ • `Optional` **pool\_initial**: `number`
56
+
57
+ ___
58
+
59
+ ### wins\_count
60
+
61
+ • `Optional` **wins\_count**: `number`
62
+
63
+ ___
64
+
65
+ ### weekdays
66
+
67
+ • `Optional` **weekdays**: `number`[]
68
+
69
+ ___
70
+
71
+ ### active\_from\_ts
72
+
73
+ • `Optional` **active\_from\_ts**: `number`
74
+
75
+ ___
76
+
77
+ ### active\_till\_ts
78
+
79
+ • `Optional` **active\_till\_ts**: `number`
80
+
81
+ ___
82
+
83
+ ### relative\_period\_timezone
84
+
85
+ • `Optional` **relative\_period\_timezone**: `number`
86
+
87
+ ___
88
+
89
+ ### is\_surcharge
90
+
91
+ • `Optional` **is\_surcharge**: `boolean`
92
+
93
+ ___
94
+
95
+ ### is\_deleted
96
+
97
+ • `Optional` **is\_deleted**: `boolean`
98
+
99
+ ___
100
+
101
+ ### prize\_details\_json
102
+
103
+ • `Optional` **prize\_details\_json**: `Object`
104
+
105
+ #### Index signature
106
+
107
+ ▪ [key: `string`]: `any`
@@ -0,0 +1,55 @@
1
+ # Interface: SAWPrizeDropAknowledgeRequest
2
+
3
+ ## Hierarchy
4
+
5
+ - `ProtocolMessage`
6
+
7
+ ↳ **`SAWPrizeDropAknowledgeRequest`**
8
+
9
+ ## Properties
10
+
11
+ ### cid
12
+
13
+ • **cid**: `number`
14
+
15
+ #### Inherited from
16
+
17
+ ProtocolMessage.cid
18
+
19
+ ___
20
+
21
+ ### ts
22
+
23
+ • `Optional` **ts**: `number`
24
+
25
+ #### Inherited from
26
+
27
+ ProtocolMessage.ts
28
+
29
+ ___
30
+
31
+ ### uuid
32
+
33
+ • `Optional` **uuid**: `string`
34
+
35
+ #### Inherited from
36
+
37
+ ProtocolMessage.uuid
38
+
39
+ ___
40
+
41
+ ### request\_id
42
+
43
+ • **request\_id**: `string`
44
+
45
+ ___
46
+
47
+ ### pending\_message\_id
48
+
49
+ • **pending\_message\_id**: `number`
50
+
51
+ ___
52
+
53
+ ### claim\_required
54
+
55
+ • **claim\_required**: `boolean`