@opexa/portal-sdk 0.59.40 → 0.59.42
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 +1634 -1634
- package/dist/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1920,8 +1920,8 @@ var REGISTER_MEMBER_ACCOUNT_MUTATION__NEXT = gql`
|
|
|
1920
1920
|
}
|
|
1921
1921
|
`;
|
|
1922
1922
|
var REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER_MUTATION__NEXT = gql`
|
|
1923
|
-
mutation RegisterMemberAccountByMobileNumber($input: _RegisterMemberAccountByMobileNumberInput
|
|
1924
|
-
registerMemberAccountByMobileNumber: _registerMemberAccountByMobileNumber(input: $input) {
|
|
1923
|
+
mutation RegisterMemberAccountByMobileNumber($input: _RegisterMemberAccountByMobileNumberInput!, $referralCode: String) {
|
|
1924
|
+
registerMemberAccountByMobileNumber: _registerMemberAccountByMobileNumber(input: $input, referralCode: $referralCode) {
|
|
1925
1925
|
... on MobileNumberNotAvailableError {
|
|
1926
1926
|
__typename
|
|
1927
1927
|
}
|
|
@@ -1937,6 +1937,9 @@ var REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER_MUTATION__NEXT = gql`
|
|
|
1937
1937
|
... on InvalidPlatformError {
|
|
1938
1938
|
__typename
|
|
1939
1939
|
}
|
|
1940
|
+
... on Error {
|
|
1941
|
+
__typename
|
|
1942
|
+
}
|
|
1940
1943
|
}
|
|
1941
1944
|
}
|
|
1942
1945
|
`;
|
|
@@ -9979,7 +9982,10 @@ var Sdk = class {
|
|
|
9979
9982
|
emailAddress: input.emailAddress,
|
|
9980
9983
|
branchCode: input.branchCode,
|
|
9981
9984
|
agentCode: input.agentCode,
|
|
9982
|
-
gigRewardsQuestDetails: input.gigRewardsQuestDetails
|
|
9985
|
+
gigRewardsQuestDetails: input.gigRewardsQuestDetails,
|
|
9986
|
+
...this.cxd && {
|
|
9987
|
+
cellxpertCxd: this.cxd
|
|
9988
|
+
}
|
|
9983
9989
|
},
|
|
9984
9990
|
testPass: input.testPass,
|
|
9985
9991
|
reCAPTCHAResponse: input.reCAPTCHAResponse,
|
|
@@ -9988,6 +9994,9 @@ var Sdk = class {
|
|
|
9988
9994
|
},
|
|
9989
9995
|
...input.fingerprint && {
|
|
9990
9996
|
fingerprint: input.fingerprint
|
|
9997
|
+
},
|
|
9998
|
+
...input.referralCode && {
|
|
9999
|
+
referralCode: input.referralCode
|
|
9991
10000
|
}
|
|
9992
10001
|
});
|
|
9993
10002
|
return res2.ok ? { ok: true, data: { id } } : res2;
|