@opexa/portal-sdk 0.59.135 → 0.59.136

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/README.md CHANGED
@@ -1255,6 +1255,8 @@ chooses which field to supply; no SDK feature flag is required.
1255
1255
  minimumBonusAmount?: number;
1256
1256
  maximumBonusAmount?: number;
1257
1257
  minimumDepositAmount?: number;
1258
+ turnoverRequirementContributionPercentageSettings?: PromoTurnoverRequirementContributionPercentageSettings;
1259
+ /** @deprecated Use turnoverRequirementContributionPercentageSettings instead. */
1258
1260
  turnoverRequirementContributionPercentagePerGameProvider?: JSON;
1259
1261
  maximumDepositAmount?: number;
1260
1262
  activationStartDateTime: Date;
@@ -1263,6 +1265,18 @@ chooses which field to supply; no SDK feature flag is required.
1263
1265
  dateTimeLastUpdated: Date;
1264
1266
  }
1265
1267
 
1268
+ interface PromoTurnoverRequirementContributionPercentageSettings {
1269
+ gameCategories: {
1270
+ gameProvider: GameProvider;
1271
+ gameType: GameType;
1272
+ percentage: number;
1273
+ }[];
1274
+ games: {
1275
+ game: string;
1276
+ percentage: number;
1277
+ }[];
1278
+ }
1279
+
1266
1280
  type PromosReturn =
1267
1281
  | {
1268
1282
  ok: true;
@@ -1305,6 +1319,9 @@ chooses which field to supply; no SDK feature flag is required.
1305
1319
  turnoverRequirement: number;
1306
1320
  currentTurnoverRequirementContribution: number;
1307
1321
  currentTurnoverRequirementContributionPercentage: number;
1322
+ turnoverRequirementContributionPercentageSettings?: PromoTurnoverRequirementContributionPercentageSettings;
1323
+ /** @deprecated Use turnoverRequirementContributionPercentageSettings instead. */
1324
+ turnoverRequirementContributionPercentagePerGameProvider: JSON;
1308
1325
  expiration: Date;
1309
1326
  dateTimeCreated: Date;
1310
1327
  dateTimeLastUpdated: Date;
@@ -1555,6 +1555,17 @@ var PROMO_FRAGMENT = gql`
1555
1555
  depositBonusAmountPercentage
1556
1556
  activationStartDateTime
1557
1557
  turnoverRequirementContributionPercentagePerGameProvider
1558
+ turnoverRequirementContributionPercentageSettings {
1559
+ gameCategories {
1560
+ gameProvider
1561
+ gameType
1562
+ percentage
1563
+ }
1564
+ games {
1565
+ game
1566
+ percentage
1567
+ }
1568
+ }
1558
1569
  activationEndDateTime
1559
1570
  dateTimeCreated
1560
1571
  dateTimeLastUpdated
@@ -1590,6 +1601,17 @@ var SPOT_BONUS_FRAGMENT = gql`
1590
1601
  turnoverRequirementType
1591
1602
  minimumTicketOddFactorPerSportsGameProvider
1592
1603
  turnoverRequirementContributionPercentagePerGameProvider
1604
+ turnoverRequirementContributionPercentageSettings {
1605
+ gameCategories {
1606
+ gameProvider
1607
+ gameType
1608
+ percentage
1609
+ }
1610
+ games {
1611
+ game
1612
+ percentage
1613
+ }
1614
+ }
1593
1615
  bonusAmount
1594
1616
  enabledGameProviders
1595
1617
  activationStartDateTime
@@ -1693,6 +1715,17 @@ var PROMOS_AND_CASHBACKS_QUERY = gql`
1693
1715
  depositBonusAmountPercentage
1694
1716
  activationStartDateTime
1695
1717
  turnoverRequirementContributionPercentagePerGameProvider
1718
+ turnoverRequirementContributionPercentageSettings {
1719
+ gameCategories {
1720
+ gameProvider
1721
+ gameType
1722
+ percentage
1723
+ }
1724
+ games {
1725
+ game
1726
+ percentage
1727
+ }
1728
+ }
1696
1729
  activationEndDateTime
1697
1730
  dateTimeCreated
1698
1731
  dateTimeLastUpdated
@@ -1725,6 +1758,17 @@ var BONUS_QUERY = gql`
1725
1758
  balance
1726
1759
  turnoverRequirement
1727
1760
  turnoverRequirementContributionPercentagePerGameProvider
1761
+ turnoverRequirementContributionPercentageSettings {
1762
+ gameCategories {
1763
+ gameProvider
1764
+ gameType
1765
+ percentage
1766
+ }
1767
+ games {
1768
+ game
1769
+ percentage
1770
+ }
1771
+ }
1728
1772
  currentTurnoverRequirementContribution
1729
1773
  currentTurnoverRequirementContributionPercentage
1730
1774
  expiration
@@ -1761,6 +1805,17 @@ var BONUSES_QUERY = gql`
1761
1805
  currentTurnoverRequirementContribution
1762
1806
  currentTurnoverRequirementContributionPercentage
1763
1807
  turnoverRequirementContributionPercentagePerGameProvider
1808
+ turnoverRequirementContributionPercentageSettings {
1809
+ gameCategories {
1810
+ gameProvider
1811
+ gameType
1812
+ percentage
1813
+ }
1814
+ games {
1815
+ game
1816
+ percentage
1817
+ }
1818
+ }
1764
1819
  enabledGameProviders
1765
1820
  expiration
1766
1821
  dateTimeCreated
@@ -7142,5 +7197,5 @@ var ExtensionService = class {
7142
7197
  };
7143
7198
 
7144
7199
  export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint, isIOSPlatform };
7145
- //# sourceMappingURL=chunk-N4FAQNKD.js.map
7146
- //# sourceMappingURL=chunk-N4FAQNKD.js.map
7200
+ //# sourceMappingURL=chunk-WR5RNSY2.js.map
7201
+ //# sourceMappingURL=chunk-WR5RNSY2.js.map