@smartico/public-api 0.0.156 → 0.0.158

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.156",
3
+ "version": "0.0.158",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,6 +1,6 @@
1
- import { ProtocolMessage } from 'src/Base/ProtocolMessage'
1
+ import { ProtocolRequest } from '../Base/ProtocolRequest'
2
2
 
3
- export interface SAWAcknowledgeSpinPushRequest extends ProtocolMessage {
3
+ export interface SAWAcknowledgeSpinPushRequest extends ProtocolRequest {
4
4
  pending_message_id: number
5
5
  saw_template_id: number
6
6
  }
@@ -114,7 +114,7 @@ export const marketsInfo = [
114
114
  type: SAWGPMarketType.Corners1x2,
115
115
  name: 'Corners 1x2',
116
116
  question: { text: 'Which team will have more corners in the match?', trKey: 'quizQuestion_corners1x2' },
117
- answers: homeAwayAnswers,
117
+ answers: homeAwayDrawAnswers,
118
118
  },
119
119
  {
120
120
  type: SAWGPMarketType.One_Two,
@@ -189,5 +189,17 @@ export const marketsInfo = [
189
189
  name: 'Player Two Wins One Set',
190
190
  question: { text: 'Will Player Two win at least one set?', trKey: 'quizQuestion_playerTwoWinsOneSet' },
191
191
  answers: yesNoAnswers,
192
+ },
193
+ {
194
+ type: SAWGPMarketType.CustomNonSport,
195
+ name: 'Custom question (non sport)',
196
+ question: null,
197
+ answers: null,
198
+ },
199
+ {
200
+ type: SAWGPMarketType.CustomSport,
201
+ name: 'Custom question (sport)',
202
+ question: null,
203
+ answers: null,
192
204
  },
193
205
  ]