fansunited-sdk-esm 1.2.9 → 1.3.0

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.
@@ -13,6 +13,7 @@ export default class MatchQuizFacade {
13
13
  private idMapping;
14
14
  private clientHttps;
15
15
  private featureConfigRemapper;
16
+ readonly invalidPredictionModelErrorMessage = "The prediction is invalid. Please check again have you passed appropriate prediction model. For more information please visit our offical documentation: \n https://docs.fansunitedmedia.com/sdks/js/match.quiz#gamerelatedoperations";
16
17
  constructor(config: SDKConfigurationModel);
17
18
  getConfig: () => Promise<FeaturesConfigModels>;
18
19
  play: (matchQuizPrediction: PredictionRequestModel) => Promise<PredictionResponseModel>;
@@ -33,3 +33,4 @@ export declare enum MarketEnum {
33
33
  export declare const MarketsOverGoals: MarketEnum[];
34
34
  export declare const MarketsOverCorners: MarketEnum[];
35
35
  export declare const playerMarkets: MarketEnum[];
36
+ export declare const playerMarketNobodyPrediction = MarketEnum.PLAYER_SCORE_FIRST_GOAL;
@@ -14,6 +14,7 @@ export default class PredictorFacade {
14
14
  readonly idMapping: IdMappingService;
15
15
  readonly predictorConfigRemapper: FeatureConfigRemapper;
16
16
  readonly predictorService: PredictorService;
17
+ readonly invalidPredictionMessage = "The prediction is invalid. Please check again have you passed appropriate prediction argument. For more information visit our official documentation: \n https://docs.fansunitedmedia.com/sdks/js/predictor#matchrelatedoperations";
17
18
  constructor(config: SDKConfigurationModel, predictorHttps: PredictorHttps, clientHttps: ClientHttps, idMapping: IdMappingService);
18
19
  /**
19
20
  * Exposing PredictorService for two operations:
@@ -4,4 +4,5 @@ export default class ResultModel {
4
4
  resettledAt: string;
5
5
  status: string;
6
6
  outcome: OutcomeEnum;
7
+ points: number;
7
8
  }