@opexa/portal-sdk 0.59.132 → 0.59.133

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.
@@ -4202,6 +4202,11 @@ var AccountService = class {
4202
4202
  }
4203
4203
  async registerMemberAccountViaMobile(variables) {
4204
4204
  const { reCAPTCHAResponse, domain, testPass, ...others } = variables;
4205
+ const { branch, branchCode, ...input } = others.input;
4206
+ others.input = {
4207
+ ...input,
4208
+ ...branch?.trim() ? { branch } : { branchCode }
4209
+ };
4205
4210
  const res = await this.client.request(REGISTER_MEMBER_ACCOUNT_VIA_MOBILE_MUTATION, others, {
4206
4211
  headers: {
4207
4212
  ...reCAPTCHAResponse && {
@@ -4643,6 +4648,11 @@ var AccountService = class {
4643
4648
  }
4644
4649
  async registerMemberAccountByMobileNumber__next(variables) {
4645
4650
  const { reCAPTCHAResponse, domain, testPass, fingerprint, ...others } = variables;
4651
+ const { branch, branchCode, ...input } = others.input;
4652
+ others.input = {
4653
+ ...input,
4654
+ ...branch?.trim() ? { branch } : { branchCode }
4655
+ };
4646
4656
  const res = await this.client.request(REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER_MUTATION__NEXT, others, {
4647
4657
  headers: {
4648
4658
  ...reCAPTCHAResponse && {