@opexa/portal-sdk 0.59.72 → 0.59.73

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.
@@ -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 {
@@ -5633,6 +5641,12 @@ var WalletService = class {
5633
5641
  );
5634
5642
  return res.ok ? { ok: res.ok, data: res.data.self } : res;
5635
5643
  }
5644
+ async memberLevelHistory() {
5645
+ const res = await this.client.request(
5646
+ MEMBER_LEVEL_HISTORY_QUERY
5647
+ );
5648
+ return res.ok ? { ok: res.ok, data: res.data.self } : res;
5649
+ }
5636
5650
  async deposit(variables) {
5637
5651
  const res = await this.client.request(
5638
5652
  DEPOSIT_QUERY,