@opexa/portal-sdk 0.59.72 → 0.59.74
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-MQC7EE6J.js → chunk-MU66ORJN.js} +17 -2
- package/dist/chunk-MU66ORJN.js.map +1 -0
- package/dist/index.cjs +113 -88
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +99 -89
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +15 -0
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +4 -3
- package/dist/services/index.d.ts +4 -3
- package/dist/services/index.js +1 -1
- package/dist/{types-BqFODW6R.d.cts → types-CN0_FZew.d.cts} +16 -1
- package/dist/{types-B8RFcTu9.d.ts → types-DEyr_e0e.d.ts} +16 -1
- package/package.json +1 -1
- package/dist/chunk-MQC7EE6J.js.map +0 -1
package/dist/services/index.cjs
CHANGED
|
@@ -66,6 +66,14 @@ var MEMBER_WALLET_ACCOUNT_QUERY = gql`
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
`;
|
|
69
|
+
var MEMBER_LEVEL_HISTORY_QUERY = gql`
|
|
70
|
+
query MemberLevelHistory {
|
|
71
|
+
self {
|
|
72
|
+
id
|
|
73
|
+
memberLevelHistory
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
`;
|
|
69
77
|
var POINTS_WALLET_QUERY = gql`
|
|
70
78
|
query PointsWallet {
|
|
71
79
|
pointsWallet {
|
|
@@ -2734,6 +2742,7 @@ var REFERRAL_FRAGMENT = gql`
|
|
|
2734
2742
|
id
|
|
2735
2743
|
name
|
|
2736
2744
|
realName
|
|
2745
|
+
mobileNumber
|
|
2737
2746
|
}
|
|
2738
2747
|
level
|
|
2739
2748
|
turnover
|
|
@@ -5633,6 +5642,12 @@ var WalletService = class {
|
|
|
5633
5642
|
);
|
|
5634
5643
|
return res.ok ? { ok: res.ok, data: res.data.self } : res;
|
|
5635
5644
|
}
|
|
5645
|
+
async memberLevelHistory() {
|
|
5646
|
+
const res = await this.client.request(
|
|
5647
|
+
MEMBER_LEVEL_HISTORY_QUERY
|
|
5648
|
+
);
|
|
5649
|
+
return res.ok ? { ok: res.ok, data: res.data.self } : res;
|
|
5650
|
+
}
|
|
5636
5651
|
async deposit(variables) {
|
|
5637
5652
|
const res = await this.client.request(
|
|
5638
5653
|
DEPOSIT_QUERY,
|