@opexa/portal-sdk 0.58.4 → 0.59.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.
- package/dist/index.cjs +49 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +49 -66
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1605,86 +1605,69 @@ var MEMBER_QUERY = gql`
|
|
|
1605
1605
|
}
|
|
1606
1606
|
}
|
|
1607
1607
|
`;
|
|
1608
|
-
var
|
|
1608
|
+
var MEMBER_ACCOUNT_FRAGMENT = gql`
|
|
1609
|
+
fragment MemberAccountCoreData on MemberAccount {
|
|
1610
|
+
id
|
|
1611
|
+
name
|
|
1612
|
+
status
|
|
1613
|
+
realName
|
|
1614
|
+
emailAddress
|
|
1615
|
+
mobileNumber
|
|
1616
|
+
birthDay
|
|
1617
|
+
verified
|
|
1618
|
+
verificationStatus
|
|
1619
|
+
nickName
|
|
1620
|
+
validId
|
|
1621
|
+
mobileNumberVerified
|
|
1622
|
+
mobileNumberVerificationRequired
|
|
1623
|
+
currentMonthlyAchievementPoints
|
|
1624
|
+
achievementPointsLevelUpProgressPercentage
|
|
1625
|
+
currentUniqueGamesCount
|
|
1626
|
+
currentNewGamesCount
|
|
1627
|
+
currentBetsCount
|
|
1628
|
+
currentActiveDaysCount
|
|
1629
|
+
dateTimeLastLeveledUp
|
|
1630
|
+
currentMonthlyTurnover
|
|
1631
|
+
turnoverLevelUpProgressPercentage
|
|
1632
|
+
transactionPassword
|
|
1633
|
+
secretAnswerSubmitted
|
|
1634
|
+
dateTimeCreated
|
|
1635
|
+
dateTimeLastUpdated
|
|
1636
|
+
domain
|
|
1637
|
+
branchCode
|
|
1638
|
+
partition
|
|
1639
|
+
}
|
|
1640
|
+
`;
|
|
1641
|
+
var MEMBER_ACCOUNT_QUERY = gql`
|
|
1609
1642
|
query MemberAccount {
|
|
1610
1643
|
memberAccount: self {
|
|
1611
1644
|
... on MemberAccount {
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
status
|
|
1615
|
-
realName
|
|
1616
|
-
emailAddress
|
|
1617
|
-
mobileNumber
|
|
1618
|
-
birthDay
|
|
1619
|
-
verified
|
|
1620
|
-
verificationStatus
|
|
1621
|
-
nickName
|
|
1622
|
-
validId
|
|
1623
|
-
mobileNumberVerified
|
|
1624
|
-
mobileNumberVerificationRequired
|
|
1625
|
-
currentMonthlyAchievementPoints
|
|
1626
|
-
achievementPointsLevelUpProgressPercentage
|
|
1627
|
-
currentUniqueGamesCount
|
|
1628
|
-
currentNewGamesCount
|
|
1629
|
-
currentBetsCount
|
|
1630
|
-
currentActiveDaysCount
|
|
1631
|
-
currentAchievements
|
|
1632
|
-
dateTimeLastLeveledUp
|
|
1633
|
-
currentMonthlyTurnover
|
|
1634
|
-
turnoverLevelUpProgressPercentage
|
|
1635
|
-
transactionPassword
|
|
1636
|
-
secretAnswerSubmitted
|
|
1637
|
-
dateTimeCreated
|
|
1638
|
-
dateTimeLastUpdated
|
|
1639
|
-
domain
|
|
1640
|
-
branchCode
|
|
1641
|
-
partition
|
|
1642
|
-
agent {
|
|
1643
|
-
code
|
|
1644
|
-
}
|
|
1645
|
-
gigRewardsQuestDetails {
|
|
1645
|
+
...MemberAccountCoreData
|
|
1646
|
+
gigRewardsQuestDetails {
|
|
1646
1647
|
gigUserId
|
|
1647
1648
|
}
|
|
1648
1649
|
}
|
|
1649
1650
|
}
|
|
1650
1651
|
}
|
|
1652
|
+
|
|
1653
|
+
${MEMBER_ACCOUNT_FRAGMENT}
|
|
1651
1654
|
`;
|
|
1652
|
-
var
|
|
1655
|
+
var MEMBER_ACCOUNT_QUERY__DEVELOPMENT = gql`
|
|
1653
1656
|
query MemberAccount {
|
|
1654
1657
|
memberAccount: self {
|
|
1655
1658
|
... on MemberAccount {
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
verified
|
|
1664
|
-
verificationStatus
|
|
1665
|
-
nickName
|
|
1666
|
-
validId
|
|
1667
|
-
mobileNumberVerified
|
|
1668
|
-
mobileNumberVerificationRequired
|
|
1669
|
-
currentMonthlyAchievementPoints
|
|
1670
|
-
achievementPointsLevelUpProgressPercentage
|
|
1671
|
-
currentUniqueGamesCount
|
|
1672
|
-
currentNewGamesCount
|
|
1673
|
-
currentBetsCount
|
|
1674
|
-
currentActiveDaysCount
|
|
1675
|
-
dateTimeLastLeveledUp
|
|
1676
|
-
currentMonthlyTurnover
|
|
1677
|
-
turnoverLevelUpProgressPercentage
|
|
1678
|
-
transactionPassword
|
|
1679
|
-
secretAnswerSubmitted
|
|
1680
|
-
dateTimeCreated
|
|
1681
|
-
dateTimeLastUpdated
|
|
1682
|
-
domain
|
|
1683
|
-
branchCode
|
|
1684
|
-
partition
|
|
1659
|
+
...MemberAccountCoreData
|
|
1660
|
+
agent {
|
|
1661
|
+
code
|
|
1662
|
+
}
|
|
1663
|
+
gigRewardsQuestDetails {
|
|
1664
|
+
gigUserId
|
|
1665
|
+
}
|
|
1685
1666
|
}
|
|
1686
1667
|
}
|
|
1687
1668
|
}
|
|
1669
|
+
|
|
1670
|
+
${MEMBER_ACCOUNT_FRAGMENT}
|
|
1688
1671
|
`;
|
|
1689
1672
|
var MEMBER_WITH_CELLXPERT_DETAILS_QUERY = gql`
|
|
1690
1673
|
query MemberAccountCelleExpertId {
|
|
@@ -3500,7 +3483,7 @@ var AccountService = class {
|
|
|
3500
3483
|
/** aka `Query.self` */
|
|
3501
3484
|
async memberAccount() {
|
|
3502
3485
|
const res = await this.client.request(
|
|
3503
|
-
this.environment === "production" ? MEMBER_ACCOUNT_QUERY :
|
|
3486
|
+
this.environment === "production" ? MEMBER_ACCOUNT_QUERY : MEMBER_ACCOUNT_QUERY__DEVELOPMENT
|
|
3504
3487
|
);
|
|
3505
3488
|
if (!res.ok) return res;
|
|
3506
3489
|
return {
|