@opexa/portal-sdk 0.56.0 → 0.56.1
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/index.cjs +23 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3203,6 +3203,13 @@ var SUBMIT_MEMBER_VERIFICATION_REQUEST_PERSONAL_DETAILS_MUTATION = gql`
|
|
|
3203
3203
|
submitMemberVerificationRequestPersonalDetails(input: $input)
|
|
3204
3204
|
}
|
|
3205
3205
|
`;
|
|
3206
|
+
var MEMBER_VERIFICATION_REQUEST_AUTOMATIC_APPROVAL_ENABLED_QUERY = gql`
|
|
3207
|
+
query MemberVerificationRequestAutomaticApprovalEnabled {
|
|
3208
|
+
platform {
|
|
3209
|
+
memberVerificationRequestAutomaticApprovalEnabled
|
|
3210
|
+
}
|
|
3211
|
+
}
|
|
3212
|
+
`;
|
|
3206
3213
|
|
|
3207
3214
|
// src/services/utils.ts
|
|
3208
3215
|
function createOperationError(code) {
|
|
@@ -3719,7 +3726,9 @@ var AccountService = class {
|
|
|
3719
3726
|
return { ok: true };
|
|
3720
3727
|
}
|
|
3721
3728
|
async memberVerificationRequest() {
|
|
3722
|
-
const res = await this.client.request(
|
|
3729
|
+
const res = await this.client.request(
|
|
3730
|
+
MEMBER_VERIFICATION_REQUEST_QUERY
|
|
3731
|
+
);
|
|
3723
3732
|
if (!res.ok) return res;
|
|
3724
3733
|
return {
|
|
3725
3734
|
ok: true,
|
|
@@ -3750,6 +3759,16 @@ var AccountService = class {
|
|
|
3750
3759
|
data: res.data.submitMemberVerificationRequestPersonalDetails
|
|
3751
3760
|
};
|
|
3752
3761
|
}
|
|
3762
|
+
async memberVerificationRequestAutomaticApprovalEnabled() {
|
|
3763
|
+
const res = await this.client.request(
|
|
3764
|
+
MEMBER_VERIFICATION_REQUEST_AUTOMATIC_APPROVAL_ENABLED_QUERY
|
|
3765
|
+
);
|
|
3766
|
+
if (!res.ok) return res;
|
|
3767
|
+
return {
|
|
3768
|
+
ok: true,
|
|
3769
|
+
data: res.data.memberVerificationRequestAutomaticApprovalEnabled
|
|
3770
|
+
};
|
|
3771
|
+
}
|
|
3753
3772
|
};
|
|
3754
3773
|
|
|
3755
3774
|
// src/utils/status-code-to-operation-error.ts
|
|
@@ -10613,6 +10632,9 @@ var Sdk = class {
|
|
|
10613
10632
|
{ input }
|
|
10614
10633
|
);
|
|
10615
10634
|
}
|
|
10635
|
+
async memberVerificationRequestAutomaticApprovalEnabled() {
|
|
10636
|
+
return await this.accountService.memberVerificationRequestAutomaticApprovalEnabled();
|
|
10637
|
+
}
|
|
10616
10638
|
/*
|
|
10617
10639
|
*=============================================
|
|
10618
10640
|
* UTILS
|