@opexa/portal-sdk 0.0.166 → 0.0.168

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/dist/index.mjs CHANGED
@@ -1541,6 +1541,7 @@ const vt = i`
1541
1541
  id
1542
1542
  name
1543
1543
  description
1544
+ type
1544
1545
  program {
1545
1546
  ...QuestProgramFragment
1546
1547
  ... on DailyCheckInQuestProgram {
@@ -1570,12 +1571,17 @@ const vt = i`
1570
1571
  lastCheckInDate
1571
1572
  startDateTime
1572
1573
  checkInStreak
1574
+
1575
+ thirdDayBonusAmount
1576
+ seventhDayBonusAmount
1577
+ sixthDayBonusAmount
1573
1578
  }
1574
1579
  `, gr = i`
1575
1580
  fragment WageringQuestFragment on WageringQuest {
1576
1581
  bonus
1577
1582
  id
1578
1583
  name
1584
+ type
1579
1585
  description
1580
1586
  program {
1581
1587
  ...QuestProgramFragment
@@ -1611,11 +1617,13 @@ const vt = i`
1611
1617
 
1612
1618
  query AvailableQuests {
1613
1619
  availableQuests {
1614
- ... on WageringQuest {
1615
- ...WageringQuestFragment
1616
- }
1617
- ... on DailyCheckInQuest {
1618
- ...DailyCheckinQuestFragment
1620
+ ... on Quest {
1621
+ ... on WageringQuest {
1622
+ ...WageringQuestFragment
1623
+ }
1624
+ ... on DailyCheckInQuest {
1625
+ ...DailyCheckinQuestFragment
1626
+ }
1619
1627
  }
1620
1628
  }
1621
1629
  }
@@ -3967,7 +3975,12 @@ class Wr {
3967
3975
  lastCheckInDate: e != null && e.lastCheckInDate ? new Date(e.lastCheckInDate) : void 0,
3968
3976
  member: e.member,
3969
3977
  startDateTime: e != null && e.startDateTime ? new Date(e.startDateTime) : void 0,
3970
- type: e.type
3978
+ type: e.type,
3979
+ ...e.type === "DAILY_CHECKIN" && {
3980
+ seventhDayBonusAmount: n(e.seventhDayBonusAmount, 0),
3981
+ sixthDayBonusAmount: n(e.sixthDayBonusAmount, 0),
3982
+ thirdDayBonusAmount: n(e.thirdDayBonusAmount, 0)
3983
+ }
3971
3984
  };
3972
3985
  }
3973
3986
  }