@opexa/portal-sdk 0.59.45 → 0.59.46
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/{chunk-IX2MIQGU.js → chunk-LRFLE5E6.js} +12 -32
- package/dist/chunk-LRFLE5E6.js.map +1 -0
- package/dist/index.cjs +10 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +1 -9
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +10 -30
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +3 -4
- package/dist/services/index.d.ts +3 -4
- package/dist/services/index.js +1 -1
- package/dist/{types-DvDyLFZr.d.cts → types-Eg2izf63.d.cts} +1 -22
- package/dist/{types-DvDyLFZr.d.ts → types-Eg2izf63.d.ts} +1 -22
- package/package.json +1 -1
- package/dist/chunk-IX2MIQGU.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1766,6 +1766,16 @@ var MEMBER_ACCOUNT_FRAGMENT = gql`
|
|
|
1766
1766
|
newMonthlyBetLimit
|
|
1767
1767
|
newDailyDepositLimit
|
|
1768
1768
|
newMonthlyDepositLimit
|
|
1769
|
+
agent {
|
|
1770
|
+
code
|
|
1771
|
+
}
|
|
1772
|
+
gigRewardsQuestDetails {
|
|
1773
|
+
gigUserId
|
|
1774
|
+
}
|
|
1775
|
+
cellxpertDetails {
|
|
1776
|
+
cxd
|
|
1777
|
+
dateTimeLastUpdated
|
|
1778
|
+
}
|
|
1769
1779
|
}
|
|
1770
1780
|
`;
|
|
1771
1781
|
var MEMBER_ACCOUNT_QUERY = gql`
|
|
@@ -1773,9 +1783,6 @@ var MEMBER_ACCOUNT_QUERY = gql`
|
|
|
1773
1783
|
memberAccount: self {
|
|
1774
1784
|
... on MemberAccount {
|
|
1775
1785
|
...MemberAccountCoreData
|
|
1776
|
-
gigRewardsQuestDetails {
|
|
1777
|
-
gigUserId
|
|
1778
|
-
}
|
|
1779
1786
|
}
|
|
1780
1787
|
}
|
|
1781
1788
|
}
|
|
@@ -1787,31 +1794,12 @@ var MEMBER_ACCOUNT_QUERY__DEVELOPMENT = gql`
|
|
|
1787
1794
|
memberAccount: self {
|
|
1788
1795
|
... on MemberAccount {
|
|
1789
1796
|
...MemberAccountCoreData
|
|
1790
|
-
agent {
|
|
1791
|
-
code
|
|
1792
|
-
}
|
|
1793
|
-
gigRewardsQuestDetails {
|
|
1794
|
-
gigUserId
|
|
1795
|
-
}
|
|
1796
1797
|
}
|
|
1797
1798
|
}
|
|
1798
1799
|
}
|
|
1799
1800
|
|
|
1800
1801
|
${MEMBER_ACCOUNT_FRAGMENT}
|
|
1801
1802
|
`;
|
|
1802
|
-
var MEMBER_WITH_CELLXPERT_DETAILS_QUERY = gql`
|
|
1803
|
-
query MemberAccountCelleExpertId {
|
|
1804
|
-
memberAccount: self {
|
|
1805
|
-
... on MemberAccount {
|
|
1806
|
-
id
|
|
1807
|
-
cellxpertDetails {
|
|
1808
|
-
cxd
|
|
1809
|
-
dateTimeLastUpdated
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
|
-
}
|
|
1813
|
-
}
|
|
1814
|
-
`;
|
|
1815
1803
|
var MEMBER_VERIFICATION_QUERY = gql`
|
|
1816
1804
|
${FILE_FRAGMENT}
|
|
1817
1805
|
|
|
@@ -3700,14 +3688,6 @@ var AccountService = class {
|
|
|
3700
3688
|
data: res.data.memberAccount
|
|
3701
3689
|
};
|
|
3702
3690
|
}
|
|
3703
|
-
async memberWithCellxpertDetails() {
|
|
3704
|
-
const res = await this.client.request(MEMBER_WITH_CELLXPERT_DETAILS_QUERY);
|
|
3705
|
-
if (!res.ok) return res;
|
|
3706
|
-
return {
|
|
3707
|
-
ok: true,
|
|
3708
|
-
data: res.data.node
|
|
3709
|
-
};
|
|
3710
|
-
}
|
|
3711
3691
|
async registerMemberAccount(variables) {
|
|
3712
3692
|
const { reCAPTCHAResponse, domain, ...others } = variables;
|
|
3713
3693
|
const res = await this.client.request(REGISTER_MEMBER_ACCOUNT_MUTATION, others, {
|
|
@@ -9942,14 +9922,6 @@ var Sdk = class {
|
|
|
9942
9922
|
data: this.transformer.transform.account({ ...a.data, ...c })
|
|
9943
9923
|
};
|
|
9944
9924
|
}
|
|
9945
|
-
async memberWithCellxpertDetails() {
|
|
9946
|
-
const res = await this.accountService.memberWithCellxpertDetails();
|
|
9947
|
-
if (!res.ok) return res;
|
|
9948
|
-
return {
|
|
9949
|
-
ok: true,
|
|
9950
|
-
data: res.data ?? null
|
|
9951
|
-
};
|
|
9952
|
-
}
|
|
9953
9925
|
/**
|
|
9954
9926
|
* @deprecated use `createAccount__next`
|
|
9955
9927
|
*/
|