@opexa/portal-sdk 0.59.130 → 0.59.132

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.
@@ -1816,6 +1816,16 @@ var CLAIM_REBATE_MUTATION = gql`
1816
1816
  }
1817
1817
  }
1818
1818
  `;
1819
+ var BRANCHES_QUERY = gql`
1820
+ query GetBranches {
1821
+ branches {
1822
+ id
1823
+ name
1824
+ code
1825
+ description
1826
+ }
1827
+ }
1828
+ `;
1819
1829
  var MEMBER_QUERY = gql`
1820
1830
  query Member {
1821
1831
  member {
@@ -2329,6 +2339,9 @@ var REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER_MUTATION = gql`
2329
2339
  `;
2330
2340
  var PLATFORM_QUERY = gql`
2331
2341
  fragment DepositGatewaySettingsCoreData on DepositGatewaySettings {
2342
+ suspended
2343
+ suspensionStartDateTime
2344
+ suspensionEndDateTime
2332
2345
  minimumAmount
2333
2346
  maximumAmount
2334
2347
  fixedFee
@@ -2344,6 +2357,9 @@ var PLATFORM_QUERY = gql`
2344
2357
  }
2345
2358
 
2346
2359
  fragment WithdrawalGatewaySettingsCoreData on WithdrawalGatewaySettings {
2360
+ suspended
2361
+ suspensionStartDateTime
2362
+ suspensionEndDateTime
2347
2363
  minimumAmount
2348
2364
  maximumAmount
2349
2365
  fixedFee
@@ -4157,6 +4173,10 @@ var AccountService = class {
4157
4173
  data: res.data.memberAccount
4158
4174
  };
4159
4175
  }
4176
+ async branches() {
4177
+ const res = await this.client.request(BRANCHES_QUERY);
4178
+ return res.ok ? { ok: true, data: res.data.branches } : res;
4179
+ }
4160
4180
  async registerMemberAccount(variables) {
4161
4181
  const { reCAPTCHAResponse, domain, ...others } = variables;
4162
4182
  const res = await this.client.request(REGISTER_MEMBER_ACCOUNT_MUTATION, others, {