@opexa/portal-sdk 0.59.91 → 0.59.92

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.
@@ -3683,6 +3683,13 @@ var MEMBER_VERIFICATION_REQUEST_QUERY = gql`
3683
3683
 
3684
3684
  ${MEMBER_VERIFICATION_REQUEST_FRAGMENT}
3685
3685
  `;
3686
+ var MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION_QUERY = gql`
3687
+ query MemberVerificationRequestFaceLivenessSession {
3688
+ memberVerificationRequest {
3689
+ faceLivenessSession
3690
+ }
3691
+ }
3692
+ `;
3686
3693
  var MEMBER_VERIFICATION_REQUEST_BY_ID_QUERY = gql`
3687
3694
  query MemberVerificationRequestById($id: ObjectId!) {
3688
3695
  node(id: $id) {
@@ -3720,6 +3727,30 @@ var MEMBER_VERIFICATION_REQUEST_AUTOMATIC_APPROVAL_ENABLED_QUERY = gql`
3720
3727
  memberVerificationRequestAutomaticApprovalEnabled
3721
3728
  }
3722
3729
  `;
3730
+ var SUBMIT_MEMBER_VERIFICATION_REQUEST_IMAGE_DETAILS_MUTATION__NEXT = gql`
3731
+ mutation SubmitMemberVerificationRequestImageDetails(
3732
+ $input: SubmitMemberVerificationRequestImageDetailsInput!
3733
+ ) {
3734
+ _submitMemberVerificationRequestImageDetails(input: $input)
3735
+ }
3736
+ `;
3737
+ var START_MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION = gql`
3738
+ mutation StartMemberVerificationRequestFaceLivenessSession {
3739
+ startMemberVerificationRequestFaceLivenessSession
3740
+ }
3741
+ `;
3742
+ var VERIFY_MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION = gql`
3743
+ mutation VerifyMemberVerificationRequestFaceLivenessSession(
3744
+ $input: VerifyMemberVerificationRequestFaceLivenessSessionInput!
3745
+ ) {
3746
+ verifyMemberVerificationRequestFaceLivenessSession(input: $input)
3747
+ }
3748
+ `;
3749
+ var FINALIZE_MEMBER_VERIFICATION_REQUEST_SESSION = gql`
3750
+ mutation FinalizeMemberVerificationRequest {
3751
+ finalizeMemberVerificationRequest
3752
+ }
3753
+ `;
3723
3754
  var CANCEL_FREE_BET_DROP_MUTATION = gql`
3724
3755
  mutation CancelFreeBetDrop($input: CancelFreeBetDropInput!) {
3725
3756
  cancelFreeBetDrop(input: $input)
@@ -4558,6 +4589,55 @@ var AccountService = class {
4558
4589
  data: res.data.submitMemberVerificationRequestImageDetails
4559
4590
  };
4560
4591
  }
4592
+ async memberVerificationRequestFaceLivenessSession() {
4593
+ const res = await this.client.request(
4594
+ MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION_QUERY
4595
+ );
4596
+ if (!res.ok) return res;
4597
+ return {
4598
+ ok: true,
4599
+ data: res.data.memberVerificationRequest?.faceLivenessSession ?? null
4600
+ };
4601
+ }
4602
+ async submitMemberVerificationRequestImageDetails__next(variables) {
4603
+ const res = await this.client.request(
4604
+ SUBMIT_MEMBER_VERIFICATION_REQUEST_IMAGE_DETAILS_MUTATION__NEXT,
4605
+ variables
4606
+ );
4607
+ if (!res.ok) return res;
4608
+ return {
4609
+ ok: true,
4610
+ data: res.data._submitMemberVerificationRequestImageDetails
4611
+ };
4612
+ }
4613
+ async startMemberVerificationRequestFaceLivenessSession() {
4614
+ const res = await this.client.request(
4615
+ START_MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION
4616
+ );
4617
+ if (!res.ok) return res;
4618
+ return {
4619
+ ok: true,
4620
+ data: res.data.startMemberVerificationRequestFaceLivenessSession
4621
+ };
4622
+ }
4623
+ async verifyMemberVerificationRequestFaceLivenessSession(variables) {
4624
+ const res = await this.client.request(VERIFY_MEMBER_VERIFICATION_REQUEST_FACE_LIVENESS_SESSION, variables);
4625
+ if (!res.ok) return res;
4626
+ return {
4627
+ ok: true,
4628
+ data: res.data.verifyMemberVerificationRequestFaceLivenessSession
4629
+ };
4630
+ }
4631
+ async finalizeMemberVerificationRequest() {
4632
+ const res = await this.client.request(
4633
+ FINALIZE_MEMBER_VERIFICATION_REQUEST_SESSION
4634
+ );
4635
+ if (!res.ok) return res;
4636
+ return {
4637
+ ok: true,
4638
+ data: res.data.finalizeMemberVerificationRequest
4639
+ };
4640
+ }
4561
4641
  async submitMemberVerificationRequestPersonalDetails(variables) {
4562
4642
  const res = await this.client.request(SUBMIT_MEMBER_VERIFICATION_REQUEST_PERSONAL_DETAILS_MUTATION, variables);
4563
4643
  if (!res.ok) return res;