@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.
- package/README.md +29 -0
- package/dist/{chunk-OVFU2CHD.js → chunk-ISVV44MD.js} +12 -2
- package/dist/chunk-ISVV44MD.js.map +1 -0
- package/dist/index.cjs +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +10 -0
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +2 -2
- package/dist/services/index.d.ts +2 -2
- package/dist/services/index.js +1 -1
- package/dist/{types-Dob6RZ3W.d.ts → types-DOm8J_aC.d.ts} +6 -0
- package/dist/{types-G9IODIto.d.cts → types-Lu2ILDtj.d.cts} +6 -0
- package/package.json +1 -1
- package/dist/chunk-OVFU2CHD.js.map +0 -1
package/dist/services/index.cjs
CHANGED
|
@@ -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 && {
|