@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.d.cts
CHANGED
|
@@ -826,6 +826,7 @@ interface MobileNumberCreateAccountInput__next {
|
|
|
826
826
|
testPass?: boolean;
|
|
827
827
|
fingerprint?: string;
|
|
828
828
|
gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
|
|
829
|
+
referralCode?: string;
|
|
829
830
|
}
|
|
830
831
|
type CreateAccountInput__Next = NameAndPasswordCreateAccountInput | MobileNumberCreateAccountInput | MobileNumberCreateAccountInput__next | MobileNumberInrCreateAccountInput | NameCreateAccountInput;
|
|
831
832
|
type CreateAccountError = UnionAlias<RegisterMemberAccountError>;
|
package/dist/index.d.ts
CHANGED
|
@@ -826,6 +826,7 @@ interface MobileNumberCreateAccountInput__next {
|
|
|
826
826
|
testPass?: boolean;
|
|
827
827
|
fingerprint?: string;
|
|
828
828
|
gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
|
|
829
|
+
referralCode?: string;
|
|
829
830
|
}
|
|
830
831
|
type CreateAccountInput__Next = NameAndPasswordCreateAccountInput | MobileNumberCreateAccountInput | MobileNumberCreateAccountInput__next | MobileNumberInrCreateAccountInput | NameCreateAccountInput;
|
|
831
832
|
type CreateAccountError = UnionAlias<RegisterMemberAccountError>;
|
package/dist/index.js
CHANGED
|
@@ -1915,8 +1915,8 @@ var REGISTER_MEMBER_ACCOUNT_MUTATION__NEXT = gql`
|
|
|
1915
1915
|
}
|
|
1916
1916
|
`;
|
|
1917
1917
|
var REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER_MUTATION__NEXT = gql`
|
|
1918
|
-
mutation RegisterMemberAccountByMobileNumber($input: _RegisterMemberAccountByMobileNumberInput
|
|
1919
|
-
registerMemberAccountByMobileNumber: _registerMemberAccountByMobileNumber(input: $input) {
|
|
1918
|
+
mutation RegisterMemberAccountByMobileNumber($input: _RegisterMemberAccountByMobileNumberInput!, $referralCode: String) {
|
|
1919
|
+
registerMemberAccountByMobileNumber: _registerMemberAccountByMobileNumber(input: $input, referralCode: $referralCode) {
|
|
1920
1920
|
... on MobileNumberNotAvailableError {
|
|
1921
1921
|
__typename
|
|
1922
1922
|
}
|
|
@@ -1932,6 +1932,9 @@ var REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER_MUTATION__NEXT = gql`
|
|
|
1932
1932
|
... on InvalidPlatformError {
|
|
1933
1933
|
__typename
|
|
1934
1934
|
}
|
|
1935
|
+
... on Error {
|
|
1936
|
+
__typename
|
|
1937
|
+
}
|
|
1935
1938
|
}
|
|
1936
1939
|
}
|
|
1937
1940
|
`;
|
|
@@ -9974,7 +9977,10 @@ var Sdk = class {
|
|
|
9974
9977
|
emailAddress: input.emailAddress,
|
|
9975
9978
|
branchCode: input.branchCode,
|
|
9976
9979
|
agentCode: input.agentCode,
|
|
9977
|
-
gigRewardsQuestDetails: input.gigRewardsQuestDetails
|
|
9980
|
+
gigRewardsQuestDetails: input.gigRewardsQuestDetails,
|
|
9981
|
+
...this.cxd && {
|
|
9982
|
+
cellxpertCxd: this.cxd
|
|
9983
|
+
}
|
|
9978
9984
|
},
|
|
9979
9985
|
testPass: input.testPass,
|
|
9980
9986
|
reCAPTCHAResponse: input.reCAPTCHAResponse,
|
|
@@ -9983,6 +9989,9 @@ var Sdk = class {
|
|
|
9983
9989
|
},
|
|
9984
9990
|
...input.fingerprint && {
|
|
9985
9991
|
fingerprint: input.fingerprint
|
|
9992
|
+
},
|
|
9993
|
+
...input.referralCode && {
|
|
9994
|
+
referralCode: input.referralCode
|
|
9986
9995
|
}
|
|
9987
9996
|
});
|
|
9988
9997
|
return res2.ok ? { ok: true, data: { id } } : res2;
|