@opexa/portal-sdk 0.59.91 → 0.59.93
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/dist/{chunk-5DPGJBK3.js → chunk-4TI5IXXM.js} +82 -2
- package/dist/chunk-4TI5IXXM.js.map +1 -0
- package/dist/index.cjs +106 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.js +27 -3
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +80 -0
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +8 -3
- package/dist/services/index.d.ts +8 -3
- package/dist/services/index.js +1 -1
- package/dist/{types-DZdI2ruq.d.ts → types-CFrQAxhE.d.ts} +39 -1
- package/dist/{types-CPRTXKkO.d.cts → types-CNyq_tWA.d.cts} +39 -1
- package/package.json +1 -1
- package/dist/chunk-5DPGJBK3.js.map +0 -1
|
@@ -3672,6 +3672,13 @@ var MEMBER_VERIFICATION_REQUEST_QUERY = gql`
|
|
|
3672
3672
|
|
|
3673
3673
|
${MEMBER_VERIFICATION_REQUEST_FRAGMENT}
|
|
3674
3674
|
`;
|
|
3675
|
+
var MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION_QUERY = gql`
|
|
3676
|
+
query MemberVerificationRequestFaceLivenessSession {
|
|
3677
|
+
memberVerificationRequest {
|
|
3678
|
+
faceLivenessSession
|
|
3679
|
+
}
|
|
3680
|
+
}
|
|
3681
|
+
`;
|
|
3675
3682
|
var MEMBER_VERIFICATION_REQUEST_BY_ID_QUERY = gql`
|
|
3676
3683
|
query MemberVerificationRequestById($id: ObjectId!) {
|
|
3677
3684
|
node(id: $id) {
|
|
@@ -3709,6 +3716,30 @@ var MEMBER_VERIFICATION_REQUEST_AUTOMATIC_APPROVAL_ENABLED_QUERY = gql`
|
|
|
3709
3716
|
memberVerificationRequestAutomaticApprovalEnabled
|
|
3710
3717
|
}
|
|
3711
3718
|
`;
|
|
3719
|
+
var SUBMIT_MEMBER_VERIFICATION_REQUEST_IMAGE_DETAILS_MUTATION__NEXT = gql`
|
|
3720
|
+
mutation SubmitMemberVerificationRequestImageDetails(
|
|
3721
|
+
$input: SubmitMemberVerificationRequestImageDetailsInput!
|
|
3722
|
+
) {
|
|
3723
|
+
_submitMemberVerificationRequestImageDetails(input: $input)
|
|
3724
|
+
}
|
|
3725
|
+
`;
|
|
3726
|
+
var START_MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION = gql`
|
|
3727
|
+
mutation StartMemberVerificationRequestFaceLivenessSession {
|
|
3728
|
+
startMemberVerificationRequestFaceLivenessSession
|
|
3729
|
+
}
|
|
3730
|
+
`;
|
|
3731
|
+
var VERIFY_MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION = gql`
|
|
3732
|
+
mutation VerifyMemberVerificationRequestFaceLivenessSession(
|
|
3733
|
+
$input: VerifyMemberVerificationRequestFaceLivenessSessionInput!
|
|
3734
|
+
) {
|
|
3735
|
+
verifyMemberVerificationRequestFaceLivenessSession(input: $input)
|
|
3736
|
+
}
|
|
3737
|
+
`;
|
|
3738
|
+
var FINALIZE_MEMBER_VERIFICATION_REQUEST_SESSION = gql`
|
|
3739
|
+
mutation FinalizeMemberVerificationRequest {
|
|
3740
|
+
finalizeMemberVerificationRequest
|
|
3741
|
+
}
|
|
3742
|
+
`;
|
|
3712
3743
|
var CANCEL_FREE_BET_DROP_MUTATION = gql`
|
|
3713
3744
|
mutation CancelFreeBetDrop($input: CancelFreeBetDropInput!) {
|
|
3714
3745
|
cancelFreeBetDrop(input: $input)
|
|
@@ -4547,6 +4578,55 @@ var AccountService = class {
|
|
|
4547
4578
|
data: res.data.submitMemberVerificationRequestImageDetails
|
|
4548
4579
|
};
|
|
4549
4580
|
}
|
|
4581
|
+
async memberVerificationRequestFaceLivenessSession() {
|
|
4582
|
+
const res = await this.client.request(
|
|
4583
|
+
MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION_QUERY
|
|
4584
|
+
);
|
|
4585
|
+
if (!res.ok) return res;
|
|
4586
|
+
return {
|
|
4587
|
+
ok: true,
|
|
4588
|
+
data: res.data.memberVerificationRequest?.faceLivenessSession ?? null
|
|
4589
|
+
};
|
|
4590
|
+
}
|
|
4591
|
+
async submitMemberVerificationRequestImageDetails__next(variables) {
|
|
4592
|
+
const res = await this.client.request(
|
|
4593
|
+
SUBMIT_MEMBER_VERIFICATION_REQUEST_IMAGE_DETAILS_MUTATION__NEXT,
|
|
4594
|
+
variables
|
|
4595
|
+
);
|
|
4596
|
+
if (!res.ok) return res;
|
|
4597
|
+
return {
|
|
4598
|
+
ok: true,
|
|
4599
|
+
data: res.data._submitMemberVerificationRequestImageDetails
|
|
4600
|
+
};
|
|
4601
|
+
}
|
|
4602
|
+
async startMemberVerificationRequestFaceLivenessSession() {
|
|
4603
|
+
const res = await this.client.request(
|
|
4604
|
+
START_MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION
|
|
4605
|
+
);
|
|
4606
|
+
if (!res.ok) return res;
|
|
4607
|
+
return {
|
|
4608
|
+
ok: true,
|
|
4609
|
+
data: res.data.startMemberVerificationRequestFaceLivenessSession
|
|
4610
|
+
};
|
|
4611
|
+
}
|
|
4612
|
+
async verifyMemberVerificationRequestFaceLivenessSession(variables) {
|
|
4613
|
+
const res = await this.client.request(VERIFY_MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION, variables);
|
|
4614
|
+
if (!res.ok) return res;
|
|
4615
|
+
return {
|
|
4616
|
+
ok: true,
|
|
4617
|
+
data: res.data.verifyMemberVerificationRequestFaceLivenessSession
|
|
4618
|
+
};
|
|
4619
|
+
}
|
|
4620
|
+
async finalizeMemberVerificationRequest() {
|
|
4621
|
+
const res = await this.client.request(
|
|
4622
|
+
FINALIZE_MEMBER_VERIFICATION_REQUEST_SESSION
|
|
4623
|
+
);
|
|
4624
|
+
if (!res.ok) return res;
|
|
4625
|
+
return {
|
|
4626
|
+
ok: true,
|
|
4627
|
+
data: res.data.finalizeMemberVerificationRequest
|
|
4628
|
+
};
|
|
4629
|
+
}
|
|
4550
4630
|
async submitMemberVerificationRequestPersonalDetails(variables) {
|
|
4551
4631
|
const res = await this.client.request(SUBMIT_MEMBER_VERIFICATION_REQUEST_PERSONAL_DETAILS_MUTATION, variables);
|
|
4552
4632
|
if (!res.ok) return res;
|
|
@@ -6779,5 +6859,5 @@ var ExtensionService = class {
|
|
|
6779
6859
|
};
|
|
6780
6860
|
|
|
6781
6861
|
export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint };
|
|
6782
|
-
//# sourceMappingURL=chunk-
|
|
6783
|
-
//# sourceMappingURL=chunk-
|
|
6862
|
+
//# sourceMappingURL=chunk-4TI5IXXM.js.map
|
|
6863
|
+
//# sourceMappingURL=chunk-4TI5IXXM.js.map
|