@antchain/realperson 1.22.0 → 1.22.6
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/client.d.ts +514 -0
- package/dist/client.js +968 -184
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1316 -141
package/dist/client.js
CHANGED
|
@@ -22,7 +22,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
22
22
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.CreateAntcloudGatewayxFileUploadResponse = exports.CreateAntcloudGatewayxFileUploadRequest = exports.QueryCarinfoBriefResponse = exports.QueryCarinfoBriefRequest = exports.QueryCarinfoDetailResponse = exports.QueryCarinfoDetailRequest = exports.CheckIdcardFourmetaResponse = exports.CheckIdcardFourmetaRequest = exports.RecognizeOcrIndividualcardResponse = exports.RecognizeOcrIndividualcardRequest = exports.ScaleinImageResponse = exports.ScaleinImageRequest = exports.QueryFaceverifyServermaterialResponse = exports.QueryFaceverifyServermaterialRequest = exports.QueryBankLivenessfourResponse = exports.QueryBankLivenessfourRequest = exports.QueryEducationBackgroundResponse = exports.QueryEducationBackgroundRequest = exports.CheckCarTwometaResponse = exports.CheckCarTwometaRequest = exports.QueryAlipayverifyServerResponse = exports.QueryAlipayverifyServerRequest = exports.CreateAlipayverifyServerResponse = exports.CreateAlipayverifyServerRequest = exports.ExecFaceverifyServermodeResponse = exports.ExecFaceverifyServermodeRequest = exports.QueryBankLivenessplusResponse = exports.QueryBankLivenessplusRequest = exports.QueryFaceverifyServerResponse = exports.QueryFaceverifyServerRequest = exports.CreateFaceverifyServerResponse = exports.CreateFaceverifyServerRequest = exports.ApplyExtOrgdataResponse = exports.ApplyExtOrgdataRequest = exports.BindCarrierRepairmobileResponse = exports.BindCarrierRepairmobileRequest = exports.QueryCarrierRepairmobileResponse = exports.QueryCarrierRepairmobileRequest = exports.InitCarrierRepairmobileResponse = exports.InitCarrierRepairmobileRequest = exports.DeleteConsoleDomainResponse = exports.DeleteConsoleDomainRequest = exports.CreateConsoleDomainResponse = exports.CreateConsoleDomainRequest = exports.QueryBankLivenessResponse = exports.QueryBankLivenessRequest = exports.ExecFacevrfServermodeResponse = exports.ExecFacevrfServermodeRequest = exports.QuerySocialriskTobriskResponse = exports.QuerySocialriskTobriskRequest = exports.QuerySocialriskBriefResponse = exports.QuerySocialriskBriefRequest = exports.QueryCarrierNetstatusResponse = exports.QueryCarrierNetstatusRequest = exports.QuerySocialriskDetailResponse = exports.QuerySocialriskDetailRequest = exports.QueryNfcServerResponse = exports.QueryNfcServerRequest = exports.CreateNfcServerResponse = exports.CreateNfcServerRequest = exports.CheckCarrierTwometaResponse = exports.CheckCarrierTwometaRequest = exports.CheckBankcardTwometaResponse = exports.CheckBankcardTwometaRequest = exports.QueryDemoInfoResponse = exports.QueryDemoInfoRequest = exports.QueryEducationInfoResponse = exports.QueryEducationInfoRequest = exports.QueryTscenterDeviceResponse = exports.QueryTscenterDeviceRequest = exports.QueryThreemetaPhonereuseResponse = exports.QueryThreemetaPhonereuseRequest = exports.QueryDeepsecTsbmrqResponse = exports.QueryDeepsecTsbmrqRequest = exports.QueryDeepsecRiskResponse = exports.QueryDeepsecRiskRequest = exports.CheckThreemetaBankcardResponse = exports.CheckThreemetaBankcardRequest = exports.RecognizeDocIndividualcardResponse = exports.RecognizeDocIndividualcardRequest = exports.VerifyFacevrfZimResponse = exports.VerifyFacevrfZimRequest = exports.InitFacevrfZimResponse = exports.InitFacevrfZimRequest = exports.QueryThreemetaOnlinetimeResponse = exports.QueryThreemetaOnlinetimeRequest = exports.CheckTwometaHashResponse = exports.CheckTwometaHashRequest = exports.CheckAnticheatPersonalResponse = exports.CheckAnticheatPersonalRequest = exports.DetailFacevrfServerResponse = exports.DetailFacevrfServerRequest = exports.QueryMobileRiskResponse = exports.QueryMobileRiskRequest = exports.CheckRouteTwometaResponse = exports.CheckRouteTwometaRequest = exports.VerifyVoiceprintServermodeResponse = exports.VerifyVoiceprintServermodeRequest = exports.CreateVoiceprintServermodeResponse = exports.CreateVoiceprintServermodeRequest = exports.CheckRouteThreemetaResponse = exports.CheckRouteThreemetaRequest = exports.CheckIndividualidFourmetaResponse = exports.CheckIndividualidFourmetaRequest = exports.CheckIndividualidThreemetaResponse = exports.CheckIndividualidThreemetaRequest = exports.CheckIndividualidTwometaResponse = exports.CheckIndividualidTwometaRequest = exports.GetFacevrfEvidenceResponse = exports.GetFacevrfEvidenceRequest = exports.ExecFacevrfServerResponse = exports.ExecFacevrfServerRequest = exports.CreateFacevrfServerResponse = exports.CreateFacevrfServerRequest = exports.QueryFacevrfServerResponse = exports.QueryFacevrfServerRequest = exports.XNameValuePair = exports.CarInfoBrief = exports.CarInfoDetail = exports.OcrInfo = exports.Audio = exports.AudioMeta = exports.RiskInfo = exports.CardQuality = exports.OcrLocation = exports.Config = void 0;
|
|
25
|
+
exports.CreateAntcloudGatewayxFileUploadResponse = exports.CreateAntcloudGatewayxFileUploadRequest = exports.ExecFaceThreemetaResponse = exports.ExecFaceThreemetaRequest = exports.QueryCutpaymentStatementResponse = exports.QueryCutpaymentStatementRequest = exports.QueryCutpaymentRefundResponse = exports.QueryCutpaymentRefundRequest = exports.ApplyCutpaymentRefundResponse = exports.ApplyCutpaymentRefundRequest = exports.QueryCutpaymentPaymentResponse = exports.QueryCutpaymentPaymentRequest = exports.ApplyCutpaymentPaymentResponse = exports.ApplyCutpaymentPaymentRequest = exports.QueryCutpaymentBindResponse = exports.QueryCutpaymentBindRequest = exports.UnbindCutpaymentSignResponse = exports.UnbindCutpaymentSignRequest = exports.BindCutpaymentSignResponse = exports.BindCutpaymentSignRequest = exports.BindCutpaymentPreResponse = exports.BindCutpaymentPreRequest = exports.QueryCarinfoBriefResponse = exports.QueryCarinfoBriefRequest = exports.QueryCarinfoDetailResponse = exports.QueryCarinfoDetailRequest = exports.CheckIdcardFourmetaResponse = exports.CheckIdcardFourmetaRequest = exports.RecognizeOcrIndividualcardResponse = exports.RecognizeOcrIndividualcardRequest = exports.ScaleinImageResponse = exports.ScaleinImageRequest = exports.QueryFaceverifyServermaterialResponse = exports.QueryFaceverifyServermaterialRequest = exports.QueryBankLivenessfourResponse = exports.QueryBankLivenessfourRequest = exports.QueryEducationBackgroundResponse = exports.QueryEducationBackgroundRequest = exports.CheckCarTwometaResponse = exports.CheckCarTwometaRequest = exports.QueryAlipayverifyServerResponse = exports.QueryAlipayverifyServerRequest = exports.CreateAlipayverifyServerResponse = exports.CreateAlipayverifyServerRequest = exports.ExecFaceverifyServermodeResponse = exports.ExecFaceverifyServermodeRequest = exports.QueryBankLivenessplusResponse = exports.QueryBankLivenessplusRequest = exports.QueryFaceverifyServerResponse = exports.QueryFaceverifyServerRequest = exports.CreateFaceverifyServerResponse = exports.CreateFaceverifyServerRequest = exports.ApplyExtOrgdataResponse = exports.ApplyExtOrgdataRequest = exports.BindCarrierRepairmobileResponse = exports.BindCarrierRepairmobileRequest = exports.QueryCarrierRepairmobileResponse = exports.QueryCarrierRepairmobileRequest = exports.InitCarrierRepairmobileResponse = exports.InitCarrierRepairmobileRequest = exports.DeleteConsoleDomainResponse = exports.DeleteConsoleDomainRequest = exports.CreateConsoleDomainResponse = exports.CreateConsoleDomainRequest = exports.QueryBankLivenessResponse = exports.QueryBankLivenessRequest = exports.ExecFacevrfServermodeResponse = exports.ExecFacevrfServermodeRequest = exports.QuerySocialriskTobriskResponse = exports.QuerySocialriskTobriskRequest = exports.QuerySocialriskBriefResponse = exports.QuerySocialriskBriefRequest = exports.QueryCarrierNetstatusResponse = exports.QueryCarrierNetstatusRequest = exports.QuerySocialriskDetailResponse = exports.QuerySocialriskDetailRequest = exports.QueryNfcServerResponse = exports.QueryNfcServerRequest = exports.CreateNfcServerResponse = exports.CreateNfcServerRequest = exports.CheckCarrierTwometaResponse = exports.CheckCarrierTwometaRequest = exports.CheckBankcardTwometaResponse = exports.CheckBankcardTwometaRequest = exports.QueryDemoInfoResponse = exports.QueryDemoInfoRequest = exports.QueryEducationInfoResponse = exports.QueryEducationInfoRequest = exports.QueryTscenterDeviceResponse = exports.QueryTscenterDeviceRequest = exports.QueryThreemetaPhonereuseResponse = exports.QueryThreemetaPhonereuseRequest = exports.QueryDeepsecTsbmrqResponse = exports.QueryDeepsecTsbmrqRequest = exports.QueryDeepsecRiskResponse = exports.QueryDeepsecRiskRequest = exports.CheckThreemetaBankcardResponse = exports.CheckThreemetaBankcardRequest = exports.RecognizeDocIndividualcardResponse = exports.RecognizeDocIndividualcardRequest = exports.VerifyFacevrfZimResponse = exports.VerifyFacevrfZimRequest = exports.InitFacevrfZimResponse = exports.InitFacevrfZimRequest = exports.QueryThreemetaOnlinetimeResponse = exports.QueryThreemetaOnlinetimeRequest = exports.CheckTwometaHashResponse = exports.CheckTwometaHashRequest = exports.CheckAnticheatPersonalResponse = exports.CheckAnticheatPersonalRequest = exports.DetailFacevrfServerResponse = exports.DetailFacevrfServerRequest = exports.QueryMobileRiskResponse = exports.QueryMobileRiskRequest = exports.CheckRouteTwometaResponse = exports.CheckRouteTwometaRequest = exports.VerifyVoiceprintServermodeResponse = exports.VerifyVoiceprintServermodeRequest = exports.CreateVoiceprintServermodeResponse = exports.CreateVoiceprintServermodeRequest = exports.CheckRouteThreemetaResponse = exports.CheckRouteThreemetaRequest = exports.CheckIndividualidFourmetaResponse = exports.CheckIndividualidFourmetaRequest = exports.CheckIndividualidThreemetaResponse = exports.CheckIndividualidThreemetaRequest = exports.CheckIndividualidTwometaResponse = exports.CheckIndividualidTwometaRequest = exports.GetFacevrfEvidenceResponse = exports.GetFacevrfEvidenceRequest = exports.ExecFacevrfServerResponse = exports.ExecFacevrfServerRequest = exports.CreateFacevrfServerResponse = exports.CreateFacevrfServerRequest = exports.QueryFacevrfServerResponse = exports.QueryFacevrfServerRequest = exports.XNameValuePair = exports.CarInfoBrief = exports.CarInfoDetail = exports.OcrInfo = exports.Audio = exports.ShareInfo = exports.ShareRefundInfo = exports.AudioMeta = exports.RiskInfo = exports.CardQuality = exports.OcrLocation = exports.Config = void 0;
|
|
26
26
|
// This file is auto-generated, don't edit it
|
|
27
27
|
const alipay_util_1 = __importDefault(require("@antchain/alipay-util"));
|
|
28
28
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
@@ -181,6 +181,44 @@ class AudioMeta extends $tea.Model {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
exports.AudioMeta = AudioMeta;
|
|
184
|
+
// 分账退款信息
|
|
185
|
+
class ShareRefundInfo extends $tea.Model {
|
|
186
|
+
constructor(map) {
|
|
187
|
+
super(map);
|
|
188
|
+
}
|
|
189
|
+
static names() {
|
|
190
|
+
return {
|
|
191
|
+
merchantId: 'merchant_id',
|
|
192
|
+
amount: 'amount',
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
static types() {
|
|
196
|
+
return {
|
|
197
|
+
merchantId: 'string',
|
|
198
|
+
amount: 'string',
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
exports.ShareRefundInfo = ShareRefundInfo;
|
|
203
|
+
// 分账信息
|
|
204
|
+
class ShareInfo extends $tea.Model {
|
|
205
|
+
constructor(map) {
|
|
206
|
+
super(map);
|
|
207
|
+
}
|
|
208
|
+
static names() {
|
|
209
|
+
return {
|
|
210
|
+
merchantId: 'merchant_id',
|
|
211
|
+
amount: 'amount',
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
static types() {
|
|
215
|
+
return {
|
|
216
|
+
merchantId: 'string',
|
|
217
|
+
amount: 'string',
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
exports.ShareInfo = ShareInfo;
|
|
184
222
|
// 音频文件
|
|
185
223
|
class Audio extends $tea.Model {
|
|
186
224
|
constructor(map) {
|
|
@@ -3686,35 +3724,51 @@ class QueryCarinfoBriefResponse extends $tea.Model {
|
|
|
3686
3724
|
}
|
|
3687
3725
|
}
|
|
3688
3726
|
exports.QueryCarinfoBriefResponse = QueryCarinfoBriefResponse;
|
|
3689
|
-
class
|
|
3727
|
+
class BindCutpaymentPreRequest extends $tea.Model {
|
|
3690
3728
|
constructor(map) {
|
|
3691
3729
|
super(map);
|
|
3692
3730
|
}
|
|
3693
3731
|
static names() {
|
|
3694
3732
|
return {
|
|
3695
3733
|
authToken: 'auth_token',
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3734
|
+
productInstanceId: 'product_instance_id',
|
|
3735
|
+
outerOrderNo: 'outer_order_no',
|
|
3736
|
+
encryptType: 'encrypt_type',
|
|
3737
|
+
encryptToken: 'encrypt_token',
|
|
3738
|
+
userId: 'user_id',
|
|
3739
|
+
cardType: 'card_type',
|
|
3740
|
+
cardPro: 'card_pro',
|
|
3741
|
+
cardNo: 'card_no',
|
|
3742
|
+
idCardType: 'id_card_type',
|
|
3743
|
+
certName: 'cert_name',
|
|
3744
|
+
certNo: 'cert_no',
|
|
3745
|
+
mobile: 'mobile',
|
|
3746
|
+
securityCode: 'security_code',
|
|
3747
|
+
validDate: 'valid_date',
|
|
3702
3748
|
};
|
|
3703
3749
|
}
|
|
3704
3750
|
static types() {
|
|
3705
3751
|
return {
|
|
3706
3752
|
authToken: 'string',
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3753
|
+
productInstanceId: 'string',
|
|
3754
|
+
outerOrderNo: 'string',
|
|
3755
|
+
encryptType: 'string',
|
|
3756
|
+
encryptToken: 'string',
|
|
3757
|
+
userId: 'string',
|
|
3758
|
+
cardType: 'string',
|
|
3759
|
+
cardPro: 'string',
|
|
3760
|
+
cardNo: 'string',
|
|
3761
|
+
idCardType: 'string',
|
|
3762
|
+
certName: 'string',
|
|
3763
|
+
certNo: 'string',
|
|
3764
|
+
mobile: 'string',
|
|
3765
|
+
securityCode: 'string',
|
|
3766
|
+
validDate: 'string',
|
|
3713
3767
|
};
|
|
3714
3768
|
}
|
|
3715
3769
|
}
|
|
3716
|
-
exports.
|
|
3717
|
-
class
|
|
3770
|
+
exports.BindCutpaymentPreRequest = BindCutpaymentPreRequest;
|
|
3771
|
+
class BindCutpaymentPreResponse extends $tea.Model {
|
|
3718
3772
|
constructor(map) {
|
|
3719
3773
|
super(map);
|
|
3720
3774
|
}
|
|
@@ -3723,10 +3777,7 @@ class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
|
|
|
3723
3777
|
reqMsgId: 'req_msg_id',
|
|
3724
3778
|
resultCode: 'result_code',
|
|
3725
3779
|
resultMsg: 'result_msg',
|
|
3726
|
-
|
|
3727
|
-
fileId: 'file_id',
|
|
3728
|
-
uploadHeaders: 'upload_headers',
|
|
3729
|
-
uploadUrl: 'upload_url',
|
|
3780
|
+
preBindSn: 'pre_bind_sn',
|
|
3730
3781
|
};
|
|
3731
3782
|
}
|
|
3732
3783
|
static types() {
|
|
@@ -3734,180 +3785,743 @@ class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
|
|
|
3734
3785
|
reqMsgId: 'string',
|
|
3735
3786
|
resultCode: 'string',
|
|
3736
3787
|
resultMsg: 'string',
|
|
3737
|
-
|
|
3738
|
-
fileId: 'string',
|
|
3739
|
-
uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
|
|
3740
|
-
uploadUrl: 'string',
|
|
3788
|
+
preBindSn: 'string',
|
|
3741
3789
|
};
|
|
3742
3790
|
}
|
|
3743
3791
|
}
|
|
3744
|
-
exports.
|
|
3745
|
-
class
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
* @param config config contains the necessary information to create a client
|
|
3749
|
-
*/
|
|
3750
|
-
constructor(config) {
|
|
3751
|
-
if (tea_util_1.default.isUnset(config)) {
|
|
3752
|
-
throw $tea.newError({
|
|
3753
|
-
code: "ParameterMissing",
|
|
3754
|
-
message: "'config' can not be unset",
|
|
3755
|
-
});
|
|
3756
|
-
}
|
|
3757
|
-
this._accessKeyId = config.accessKeyId;
|
|
3758
|
-
this._accessKeySecret = config.accessKeySecret;
|
|
3759
|
-
this._securityToken = config.securityToken;
|
|
3760
|
-
this._endpoint = config.endpoint;
|
|
3761
|
-
this._protocol = config.protocol;
|
|
3762
|
-
this._userAgent = config.userAgent;
|
|
3763
|
-
this._readTimeout = tea_util_1.default.defaultNumber(config.readTimeout, 20000);
|
|
3764
|
-
this._connectTimeout = tea_util_1.default.defaultNumber(config.connectTimeout, 20000);
|
|
3765
|
-
this._httpProxy = config.httpProxy;
|
|
3766
|
-
this._httpsProxy = config.httpsProxy;
|
|
3767
|
-
this._noProxy = config.noProxy;
|
|
3768
|
-
this._socks5Proxy = config.socks5Proxy;
|
|
3769
|
-
this._socks5NetWork = config.socks5NetWork;
|
|
3770
|
-
this._maxIdleConns = tea_util_1.default.defaultNumber(config.maxIdleConns, 60000);
|
|
3771
|
-
this._maxIdleTimeMillis = tea_util_1.default.defaultNumber(config.maxIdleTimeMillis, 5);
|
|
3772
|
-
this._keepAliveDurationMillis = tea_util_1.default.defaultNumber(config.keepAliveDurationMillis, 5000);
|
|
3773
|
-
this._maxRequests = tea_util_1.default.defaultNumber(config.maxRequests, 100);
|
|
3774
|
-
this._maxRequestsPerHost = tea_util_1.default.defaultNumber(config.maxRequestsPerHost, 100);
|
|
3792
|
+
exports.BindCutpaymentPreResponse = BindCutpaymentPreResponse;
|
|
3793
|
+
class BindCutpaymentSignRequest extends $tea.Model {
|
|
3794
|
+
constructor(map) {
|
|
3795
|
+
super(map);
|
|
3775
3796
|
}
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
async doRequest(version, action, protocol, method, pathname, request, headers, runtime) {
|
|
3787
|
-
let _runtime = {
|
|
3788
|
-
timeouted: "retry",
|
|
3789
|
-
readTimeout: tea_util_1.default.defaultNumber(runtime.readTimeout, this._readTimeout),
|
|
3790
|
-
connectTimeout: tea_util_1.default.defaultNumber(runtime.connectTimeout, this._connectTimeout),
|
|
3791
|
-
httpProxy: tea_util_1.default.defaultString(runtime.httpProxy, this._httpProxy),
|
|
3792
|
-
httpsProxy: tea_util_1.default.defaultString(runtime.httpsProxy, this._httpsProxy),
|
|
3793
|
-
noProxy: tea_util_1.default.defaultString(runtime.noProxy, this._noProxy),
|
|
3794
|
-
maxIdleConns: tea_util_1.default.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
|
|
3795
|
-
maxIdleTimeMillis: this._maxIdleTimeMillis,
|
|
3796
|
-
keepAliveDuration: this._keepAliveDurationMillis,
|
|
3797
|
-
maxRequests: this._maxRequests,
|
|
3798
|
-
maxRequestsPerHost: this._maxRequestsPerHost,
|
|
3799
|
-
retry: {
|
|
3800
|
-
retryable: runtime.autoretry,
|
|
3801
|
-
maxAttempts: tea_util_1.default.defaultNumber(runtime.maxAttempts, 3),
|
|
3802
|
-
},
|
|
3803
|
-
backoff: {
|
|
3804
|
-
policy: tea_util_1.default.defaultString(runtime.backoffPolicy, "no"),
|
|
3805
|
-
period: tea_util_1.default.defaultNumber(runtime.backoffPeriod, 1),
|
|
3806
|
-
},
|
|
3807
|
-
ignoreSSL: runtime.ignoreSSL,
|
|
3797
|
+
static names() {
|
|
3798
|
+
return {
|
|
3799
|
+
authToken: 'auth_token',
|
|
3800
|
+
productInstanceId: 'product_instance_id',
|
|
3801
|
+
outerOrderNo: 'outer_order_no',
|
|
3802
|
+
encryptType: 'encrypt_type',
|
|
3803
|
+
encryptToken: 'encrypt_token',
|
|
3804
|
+
userId: 'user_id',
|
|
3805
|
+
preBindSn: 'pre_bind_sn',
|
|
3806
|
+
smsCode: 'sms_code',
|
|
3808
3807
|
};
|
|
3809
|
-
let _lastRequest = null;
|
|
3810
|
-
let _now = Date.now();
|
|
3811
|
-
let _retryTimes = 0;
|
|
3812
|
-
while ($tea.allowRetry(_runtime['retry'], _retryTimes, _now)) {
|
|
3813
|
-
if (_retryTimes > 0) {
|
|
3814
|
-
let _backoffTime = $tea.getBackoffTime(_runtime['backoff'], _retryTimes);
|
|
3815
|
-
if (_backoffTime > 0) {
|
|
3816
|
-
await $tea.sleep(_backoffTime);
|
|
3817
|
-
}
|
|
3818
|
-
}
|
|
3819
|
-
_retryTimes = _retryTimes + 1;
|
|
3820
|
-
try {
|
|
3821
|
-
let request_ = new $tea.Request();
|
|
3822
|
-
request_.protocol = tea_util_1.default.defaultString(this._protocol, protocol);
|
|
3823
|
-
request_.method = method;
|
|
3824
|
-
request_.pathname = pathname;
|
|
3825
|
-
request_.query = {
|
|
3826
|
-
method: action,
|
|
3827
|
-
version: version,
|
|
3828
|
-
sign_type: "HmacSHA1",
|
|
3829
|
-
req_time: alipay_util_1.default.getTimestamp(),
|
|
3830
|
-
req_msg_id: alipay_util_1.default.getNonce(),
|
|
3831
|
-
access_key: this._accessKeyId,
|
|
3832
|
-
base_sdk_version: "TeaSDK-2.0",
|
|
3833
|
-
sdk_version: "1.22.0",
|
|
3834
|
-
_prod_code: "REALPERSON",
|
|
3835
|
-
_prod_channel: "undefined",
|
|
3836
|
-
};
|
|
3837
|
-
if (!tea_util_1.default.empty(this._securityToken)) {
|
|
3838
|
-
request_.query["security_token"] = this._securityToken;
|
|
3839
|
-
}
|
|
3840
|
-
request_.headers = Object.assign({ host: tea_util_1.default.defaultString(this._endpoint, "openapi.antchain.antgroup.com"), 'user-agent': tea_util_1.default.getUserAgent(this._userAgent) }, headers);
|
|
3841
|
-
let tmp = tea_util_1.default.anyifyMapValue(rpc_util_1.default.query(request));
|
|
3842
|
-
request_.body = new $tea.BytesReadable(tea_util_1.default.toFormString(tmp));
|
|
3843
|
-
request_.headers["content-type"] = "application/x-www-form-urlencoded";
|
|
3844
|
-
let signedParam = Object.assign(Object.assign({}, request_.query), rpc_util_1.default.query(request));
|
|
3845
|
-
request_.query["sign"] = alipay_util_1.default.getSignature(signedParam, this._accessKeySecret);
|
|
3846
|
-
_lastRequest = request_;
|
|
3847
|
-
let response_ = await $tea.doAction(request_, _runtime);
|
|
3848
|
-
let raw = await tea_util_1.default.readAsString(response_.body);
|
|
3849
|
-
let obj = tea_util_1.default.parseJSON(raw);
|
|
3850
|
-
let res = tea_util_1.default.assertAsMap(obj);
|
|
3851
|
-
let resp = tea_util_1.default.assertAsMap(res["response"]);
|
|
3852
|
-
if (alipay_util_1.default.hasError(raw, this._accessKeySecret)) {
|
|
3853
|
-
throw $tea.newError({
|
|
3854
|
-
message: resp["result_msg"],
|
|
3855
|
-
data: resp,
|
|
3856
|
-
code: resp["result_code"],
|
|
3857
|
-
});
|
|
3858
|
-
}
|
|
3859
|
-
return resp;
|
|
3860
|
-
}
|
|
3861
|
-
catch (ex) {
|
|
3862
|
-
if ($tea.isRetryable(ex)) {
|
|
3863
|
-
continue;
|
|
3864
|
-
}
|
|
3865
|
-
throw ex;
|
|
3866
|
-
}
|
|
3867
|
-
}
|
|
3868
|
-
throw $tea.newUnretryableError(_lastRequest);
|
|
3869
3808
|
}
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3809
|
+
static types() {
|
|
3810
|
+
return {
|
|
3811
|
+
authToken: 'string',
|
|
3812
|
+
productInstanceId: 'string',
|
|
3813
|
+
outerOrderNo: 'string',
|
|
3814
|
+
encryptType: 'string',
|
|
3815
|
+
encryptToken: 'string',
|
|
3816
|
+
userId: 'string',
|
|
3817
|
+
preBindSn: 'string',
|
|
3818
|
+
smsCode: 'string',
|
|
3819
|
+
};
|
|
3878
3820
|
}
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
tea_util_1.default.validateModel(request);
|
|
3885
|
-
return $tea.cast(await this.doRequest("1.0", "di.realperson.facevrf.server.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFacevrfServerResponse({}));
|
|
3821
|
+
}
|
|
3822
|
+
exports.BindCutpaymentSignRequest = BindCutpaymentSignRequest;
|
|
3823
|
+
class BindCutpaymentSignResponse extends $tea.Model {
|
|
3824
|
+
constructor(map) {
|
|
3825
|
+
super(map);
|
|
3886
3826
|
}
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3827
|
+
static names() {
|
|
3828
|
+
return {
|
|
3829
|
+
reqMsgId: 'req_msg_id',
|
|
3830
|
+
resultCode: 'result_code',
|
|
3831
|
+
resultMsg: 'result_msg',
|
|
3832
|
+
protocolNo: 'protocol_no',
|
|
3833
|
+
signBindSn: 'sign_bind_sn',
|
|
3834
|
+
};
|
|
3895
3835
|
}
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3836
|
+
static types() {
|
|
3837
|
+
return {
|
|
3838
|
+
reqMsgId: 'string',
|
|
3839
|
+
resultCode: 'string',
|
|
3840
|
+
resultMsg: 'string',
|
|
3841
|
+
protocolNo: 'string',
|
|
3842
|
+
signBindSn: 'string',
|
|
3843
|
+
};
|
|
3903
3844
|
}
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3845
|
+
}
|
|
3846
|
+
exports.BindCutpaymentSignResponse = BindCutpaymentSignResponse;
|
|
3847
|
+
class UnbindCutpaymentSignRequest extends $tea.Model {
|
|
3848
|
+
constructor(map) {
|
|
3849
|
+
super(map);
|
|
3850
|
+
}
|
|
3851
|
+
static names() {
|
|
3852
|
+
return {
|
|
3853
|
+
authToken: 'auth_token',
|
|
3854
|
+
productInstanceId: 'product_instance_id',
|
|
3855
|
+
outerOrderNo: 'outer_order_no',
|
|
3856
|
+
encryptType: 'encrypt_type',
|
|
3857
|
+
encryptToken: 'encrypt_token',
|
|
3858
|
+
userId: 'user_id',
|
|
3859
|
+
protocolNo: 'protocol_no',
|
|
3860
|
+
};
|
|
3861
|
+
}
|
|
3862
|
+
static types() {
|
|
3863
|
+
return {
|
|
3864
|
+
authToken: 'string',
|
|
3865
|
+
productInstanceId: 'string',
|
|
3866
|
+
outerOrderNo: 'string',
|
|
3867
|
+
encryptType: 'string',
|
|
3868
|
+
encryptToken: 'string',
|
|
3869
|
+
userId: 'string',
|
|
3870
|
+
protocolNo: 'string',
|
|
3871
|
+
};
|
|
3872
|
+
}
|
|
3873
|
+
}
|
|
3874
|
+
exports.UnbindCutpaymentSignRequest = UnbindCutpaymentSignRequest;
|
|
3875
|
+
class UnbindCutpaymentSignResponse extends $tea.Model {
|
|
3876
|
+
constructor(map) {
|
|
3877
|
+
super(map);
|
|
3878
|
+
}
|
|
3879
|
+
static names() {
|
|
3880
|
+
return {
|
|
3881
|
+
reqMsgId: 'req_msg_id',
|
|
3882
|
+
resultCode: 'result_code',
|
|
3883
|
+
resultMsg: 'result_msg',
|
|
3884
|
+
unbindSn: 'unbind_sn',
|
|
3885
|
+
};
|
|
3886
|
+
}
|
|
3887
|
+
static types() {
|
|
3888
|
+
return {
|
|
3889
|
+
reqMsgId: 'string',
|
|
3890
|
+
resultCode: 'string',
|
|
3891
|
+
resultMsg: 'string',
|
|
3892
|
+
unbindSn: 'string',
|
|
3893
|
+
};
|
|
3894
|
+
}
|
|
3895
|
+
}
|
|
3896
|
+
exports.UnbindCutpaymentSignResponse = UnbindCutpaymentSignResponse;
|
|
3897
|
+
class QueryCutpaymentBindRequest extends $tea.Model {
|
|
3898
|
+
constructor(map) {
|
|
3899
|
+
super(map);
|
|
3900
|
+
}
|
|
3901
|
+
static names() {
|
|
3902
|
+
return {
|
|
3903
|
+
authToken: 'auth_token',
|
|
3904
|
+
productInstanceId: 'product_instance_id',
|
|
3905
|
+
outerOrderNo: 'outer_order_no',
|
|
3906
|
+
encryptType: 'encrypt_type',
|
|
3907
|
+
encryptToken: 'encrypt_token',
|
|
3908
|
+
userId: 'user_id',
|
|
3909
|
+
cardNo: 'card_no',
|
|
3910
|
+
signBindSn: 'sign_bind_sn',
|
|
3911
|
+
};
|
|
3912
|
+
}
|
|
3913
|
+
static types() {
|
|
3914
|
+
return {
|
|
3915
|
+
authToken: 'string',
|
|
3916
|
+
productInstanceId: 'string',
|
|
3917
|
+
outerOrderNo: 'string',
|
|
3918
|
+
encryptType: 'string',
|
|
3919
|
+
encryptToken: 'string',
|
|
3920
|
+
userId: 'string',
|
|
3921
|
+
cardNo: 'string',
|
|
3922
|
+
signBindSn: 'string',
|
|
3923
|
+
};
|
|
3924
|
+
}
|
|
3925
|
+
}
|
|
3926
|
+
exports.QueryCutpaymentBindRequest = QueryCutpaymentBindRequest;
|
|
3927
|
+
class QueryCutpaymentBindResponse extends $tea.Model {
|
|
3928
|
+
constructor(map) {
|
|
3929
|
+
super(map);
|
|
3930
|
+
}
|
|
3931
|
+
static names() {
|
|
3932
|
+
return {
|
|
3933
|
+
reqMsgId: 'req_msg_id',
|
|
3934
|
+
resultCode: 'result_code',
|
|
3935
|
+
resultMsg: 'result_msg',
|
|
3936
|
+
protocolNo: 'protocol_no',
|
|
3937
|
+
bankCode: 'bank_code',
|
|
3938
|
+
bankCard: 'bank_card',
|
|
3939
|
+
userId: 'user_id',
|
|
3940
|
+
};
|
|
3941
|
+
}
|
|
3942
|
+
static types() {
|
|
3943
|
+
return {
|
|
3944
|
+
reqMsgId: 'string',
|
|
3945
|
+
resultCode: 'string',
|
|
3946
|
+
resultMsg: 'string',
|
|
3947
|
+
protocolNo: 'string',
|
|
3948
|
+
bankCode: 'string',
|
|
3949
|
+
bankCard: 'string',
|
|
3950
|
+
userId: 'string',
|
|
3951
|
+
};
|
|
3952
|
+
}
|
|
3953
|
+
}
|
|
3954
|
+
exports.QueryCutpaymentBindResponse = QueryCutpaymentBindResponse;
|
|
3955
|
+
class ApplyCutpaymentPaymentRequest extends $tea.Model {
|
|
3956
|
+
constructor(map) {
|
|
3957
|
+
super(map);
|
|
3958
|
+
}
|
|
3959
|
+
static names() {
|
|
3960
|
+
return {
|
|
3961
|
+
authToken: 'auth_token',
|
|
3962
|
+
productInstanceId: 'product_instance_id',
|
|
3963
|
+
outerOrderNo: 'outer_order_no',
|
|
3964
|
+
encryptType: 'encrypt_type',
|
|
3965
|
+
encryptToken: 'encrypt_token',
|
|
3966
|
+
transId: 'trans_id',
|
|
3967
|
+
protocolNo: 'protocol_no',
|
|
3968
|
+
cardNo: 'card_no',
|
|
3969
|
+
certName: 'cert_name',
|
|
3970
|
+
txnAmt: 'txn_amt',
|
|
3971
|
+
userId: 'user_id',
|
|
3972
|
+
securityCode: 'security_code',
|
|
3973
|
+
validDate: 'valid_date',
|
|
3974
|
+
shareInfo: 'share_info',
|
|
3975
|
+
};
|
|
3976
|
+
}
|
|
3977
|
+
static types() {
|
|
3978
|
+
return {
|
|
3979
|
+
authToken: 'string',
|
|
3980
|
+
productInstanceId: 'string',
|
|
3981
|
+
outerOrderNo: 'string',
|
|
3982
|
+
encryptType: 'string',
|
|
3983
|
+
encryptToken: 'string',
|
|
3984
|
+
transId: 'string',
|
|
3985
|
+
protocolNo: 'string',
|
|
3986
|
+
cardNo: 'string',
|
|
3987
|
+
certName: 'string',
|
|
3988
|
+
txnAmt: 'string',
|
|
3989
|
+
userId: 'string',
|
|
3990
|
+
securityCode: 'string',
|
|
3991
|
+
validDate: 'string',
|
|
3992
|
+
shareInfo: { 'type': 'array', 'itemType': ShareInfo },
|
|
3993
|
+
};
|
|
3994
|
+
}
|
|
3995
|
+
}
|
|
3996
|
+
exports.ApplyCutpaymentPaymentRequest = ApplyCutpaymentPaymentRequest;
|
|
3997
|
+
class ApplyCutpaymentPaymentResponse extends $tea.Model {
|
|
3998
|
+
constructor(map) {
|
|
3999
|
+
super(map);
|
|
4000
|
+
}
|
|
4001
|
+
static names() {
|
|
4002
|
+
return {
|
|
4003
|
+
reqMsgId: 'req_msg_id',
|
|
4004
|
+
resultCode: 'result_code',
|
|
4005
|
+
resultMsg: 'result_msg',
|
|
4006
|
+
succAmt: 'succ_amt',
|
|
4007
|
+
succTime: 'succ_time',
|
|
4008
|
+
orderId: 'order_id',
|
|
4009
|
+
transId: 'trans_id',
|
|
4010
|
+
};
|
|
4011
|
+
}
|
|
4012
|
+
static types() {
|
|
4013
|
+
return {
|
|
4014
|
+
reqMsgId: 'string',
|
|
4015
|
+
resultCode: 'string',
|
|
4016
|
+
resultMsg: 'string',
|
|
4017
|
+
succAmt: 'string',
|
|
4018
|
+
succTime: 'string',
|
|
4019
|
+
orderId: 'string',
|
|
4020
|
+
transId: 'string',
|
|
4021
|
+
};
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
exports.ApplyCutpaymentPaymentResponse = ApplyCutpaymentPaymentResponse;
|
|
4025
|
+
class QueryCutpaymentPaymentRequest extends $tea.Model {
|
|
4026
|
+
constructor(map) {
|
|
4027
|
+
super(map);
|
|
4028
|
+
}
|
|
4029
|
+
static names() {
|
|
4030
|
+
return {
|
|
4031
|
+
authToken: 'auth_token',
|
|
4032
|
+
productInstanceId: 'product_instance_id',
|
|
4033
|
+
outerOrderNo: 'outer_order_no',
|
|
4034
|
+
encryptType: 'encrypt_type',
|
|
4035
|
+
encryptToken: 'encrypt_token',
|
|
4036
|
+
protocolNo: 'protocol_no',
|
|
4037
|
+
transId: 'trans_id',
|
|
4038
|
+
origTradeDate: 'orig_trade_date',
|
|
4039
|
+
userId: 'user_id',
|
|
4040
|
+
};
|
|
4041
|
+
}
|
|
4042
|
+
static types() {
|
|
4043
|
+
return {
|
|
4044
|
+
authToken: 'string',
|
|
4045
|
+
productInstanceId: 'string',
|
|
4046
|
+
outerOrderNo: 'string',
|
|
4047
|
+
encryptType: 'string',
|
|
4048
|
+
encryptToken: 'string',
|
|
4049
|
+
protocolNo: 'string',
|
|
4050
|
+
transId: 'string',
|
|
4051
|
+
origTradeDate: 'string',
|
|
4052
|
+
userId: 'string',
|
|
4053
|
+
};
|
|
4054
|
+
}
|
|
4055
|
+
}
|
|
4056
|
+
exports.QueryCutpaymentPaymentRequest = QueryCutpaymentPaymentRequest;
|
|
4057
|
+
class QueryCutpaymentPaymentResponse extends $tea.Model {
|
|
4058
|
+
constructor(map) {
|
|
4059
|
+
super(map);
|
|
4060
|
+
}
|
|
4061
|
+
static names() {
|
|
4062
|
+
return {
|
|
4063
|
+
reqMsgId: 'req_msg_id',
|
|
4064
|
+
resultCode: 'result_code',
|
|
4065
|
+
resultMsg: 'result_msg',
|
|
4066
|
+
succAmt: 'succ_amt',
|
|
4067
|
+
succTime: 'succ_time',
|
|
4068
|
+
orderId: 'order_id',
|
|
4069
|
+
transId: 'trans_id',
|
|
4070
|
+
orderState: 'order_state',
|
|
4071
|
+
shareState: 'share_state',
|
|
4072
|
+
};
|
|
4073
|
+
}
|
|
4074
|
+
static types() {
|
|
4075
|
+
return {
|
|
4076
|
+
reqMsgId: 'string',
|
|
4077
|
+
resultCode: 'string',
|
|
4078
|
+
resultMsg: 'string',
|
|
4079
|
+
succAmt: 'string',
|
|
4080
|
+
succTime: 'string',
|
|
4081
|
+
orderId: 'string',
|
|
4082
|
+
transId: 'string',
|
|
4083
|
+
orderState: 'string',
|
|
4084
|
+
shareState: 'string',
|
|
4085
|
+
};
|
|
4086
|
+
}
|
|
4087
|
+
}
|
|
4088
|
+
exports.QueryCutpaymentPaymentResponse = QueryCutpaymentPaymentResponse;
|
|
4089
|
+
class ApplyCutpaymentRefundRequest extends $tea.Model {
|
|
4090
|
+
constructor(map) {
|
|
4091
|
+
super(map);
|
|
4092
|
+
}
|
|
4093
|
+
static names() {
|
|
4094
|
+
return {
|
|
4095
|
+
authToken: 'auth_token',
|
|
4096
|
+
productInstanceId: 'product_instance_id',
|
|
4097
|
+
outerOrderNo: 'outer_order_no',
|
|
4098
|
+
encryptType: 'encrypt_type',
|
|
4099
|
+
encryptToken: 'encrypt_token',
|
|
4100
|
+
paymentTransId: 'payment_trans_id',
|
|
4101
|
+
protocolNo: 'protocol_no',
|
|
4102
|
+
refundTransId: 'refund_trans_id',
|
|
4103
|
+
userId: 'user_id',
|
|
4104
|
+
refundSerialNo: 'refund_serial_no',
|
|
4105
|
+
refundReason: 'refund_reason',
|
|
4106
|
+
refundAmt: 'refund_amt',
|
|
4107
|
+
shareRefundInfo: 'share_refund_info',
|
|
4108
|
+
};
|
|
4109
|
+
}
|
|
4110
|
+
static types() {
|
|
4111
|
+
return {
|
|
4112
|
+
authToken: 'string',
|
|
4113
|
+
productInstanceId: 'string',
|
|
4114
|
+
outerOrderNo: 'string',
|
|
4115
|
+
encryptType: 'string',
|
|
4116
|
+
encryptToken: 'string',
|
|
4117
|
+
paymentTransId: 'string',
|
|
4118
|
+
protocolNo: 'string',
|
|
4119
|
+
refundTransId: 'string',
|
|
4120
|
+
userId: 'string',
|
|
4121
|
+
refundSerialNo: 'string',
|
|
4122
|
+
refundReason: 'string',
|
|
4123
|
+
refundAmt: 'string',
|
|
4124
|
+
shareRefundInfo: { 'type': 'array', 'itemType': ShareRefundInfo },
|
|
4125
|
+
};
|
|
4126
|
+
}
|
|
4127
|
+
}
|
|
4128
|
+
exports.ApplyCutpaymentRefundRequest = ApplyCutpaymentRefundRequest;
|
|
4129
|
+
class ApplyCutpaymentRefundResponse extends $tea.Model {
|
|
4130
|
+
constructor(map) {
|
|
4131
|
+
super(map);
|
|
4132
|
+
}
|
|
4133
|
+
static names() {
|
|
4134
|
+
return {
|
|
4135
|
+
reqMsgId: 'req_msg_id',
|
|
4136
|
+
resultCode: 'result_code',
|
|
4137
|
+
resultMsg: 'result_msg',
|
|
4138
|
+
refundTransId: 'refund_trans_id',
|
|
4139
|
+
refundSerialNo: 'refund_serial_no',
|
|
4140
|
+
refundAmt: 'refund_amt',
|
|
4141
|
+
};
|
|
4142
|
+
}
|
|
4143
|
+
static types() {
|
|
4144
|
+
return {
|
|
4145
|
+
reqMsgId: 'string',
|
|
4146
|
+
resultCode: 'string',
|
|
4147
|
+
resultMsg: 'string',
|
|
4148
|
+
refundTransId: 'string',
|
|
4149
|
+
refundSerialNo: 'string',
|
|
4150
|
+
refundAmt: 'string',
|
|
4151
|
+
};
|
|
4152
|
+
}
|
|
4153
|
+
}
|
|
4154
|
+
exports.ApplyCutpaymentRefundResponse = ApplyCutpaymentRefundResponse;
|
|
4155
|
+
class QueryCutpaymentRefundRequest extends $tea.Model {
|
|
4156
|
+
constructor(map) {
|
|
4157
|
+
super(map);
|
|
4158
|
+
}
|
|
4159
|
+
static names() {
|
|
4160
|
+
return {
|
|
4161
|
+
authToken: 'auth_token',
|
|
4162
|
+
productInstanceId: 'product_instance_id',
|
|
4163
|
+
outerOrderNo: 'outer_order_no',
|
|
4164
|
+
encryptType: 'encrypt_type',
|
|
4165
|
+
encryptToken: 'encrypt_token',
|
|
4166
|
+
userId: 'user_id',
|
|
4167
|
+
protocolNo: 'protocol_no',
|
|
4168
|
+
refundTransId: 'refund_trans_id',
|
|
4169
|
+
refundSerialNo: 'refund_serial_no',
|
|
4170
|
+
};
|
|
4171
|
+
}
|
|
4172
|
+
static types() {
|
|
4173
|
+
return {
|
|
4174
|
+
authToken: 'string',
|
|
4175
|
+
productInstanceId: 'string',
|
|
4176
|
+
outerOrderNo: 'string',
|
|
4177
|
+
encryptType: 'string',
|
|
4178
|
+
encryptToken: 'string',
|
|
4179
|
+
userId: 'string',
|
|
4180
|
+
protocolNo: 'string',
|
|
4181
|
+
refundTransId: 'string',
|
|
4182
|
+
refundSerialNo: 'string',
|
|
4183
|
+
};
|
|
4184
|
+
}
|
|
4185
|
+
}
|
|
4186
|
+
exports.QueryCutpaymentRefundRequest = QueryCutpaymentRefundRequest;
|
|
4187
|
+
class QueryCutpaymentRefundResponse extends $tea.Model {
|
|
4188
|
+
constructor(map) {
|
|
4189
|
+
super(map);
|
|
4190
|
+
}
|
|
4191
|
+
static names() {
|
|
4192
|
+
return {
|
|
4193
|
+
reqMsgId: 'req_msg_id',
|
|
4194
|
+
resultCode: 'result_code',
|
|
4195
|
+
resultMsg: 'result_msg',
|
|
4196
|
+
refundAmt: 'refund_amt',
|
|
4197
|
+
};
|
|
4198
|
+
}
|
|
4199
|
+
static types() {
|
|
4200
|
+
return {
|
|
4201
|
+
reqMsgId: 'string',
|
|
4202
|
+
resultCode: 'string',
|
|
4203
|
+
resultMsg: 'string',
|
|
4204
|
+
refundAmt: 'string',
|
|
4205
|
+
};
|
|
4206
|
+
}
|
|
4207
|
+
}
|
|
4208
|
+
exports.QueryCutpaymentRefundResponse = QueryCutpaymentRefundResponse;
|
|
4209
|
+
class QueryCutpaymentStatementRequest extends $tea.Model {
|
|
4210
|
+
constructor(map) {
|
|
4211
|
+
super(map);
|
|
4212
|
+
}
|
|
4213
|
+
static names() {
|
|
4214
|
+
return {
|
|
4215
|
+
authToken: 'auth_token',
|
|
4216
|
+
productInstanceId: 'product_instance_id',
|
|
4217
|
+
outerOrderNo: 'outer_order_no',
|
|
4218
|
+
settleDate: 'settle_date',
|
|
4219
|
+
};
|
|
4220
|
+
}
|
|
4221
|
+
static types() {
|
|
4222
|
+
return {
|
|
4223
|
+
authToken: 'string',
|
|
4224
|
+
productInstanceId: 'string',
|
|
4225
|
+
outerOrderNo: 'string',
|
|
4226
|
+
settleDate: 'string',
|
|
4227
|
+
};
|
|
4228
|
+
}
|
|
4229
|
+
}
|
|
4230
|
+
exports.QueryCutpaymentStatementRequest = QueryCutpaymentStatementRequest;
|
|
4231
|
+
class QueryCutpaymentStatementResponse extends $tea.Model {
|
|
4232
|
+
constructor(map) {
|
|
4233
|
+
super(map);
|
|
4234
|
+
}
|
|
4235
|
+
static names() {
|
|
4236
|
+
return {
|
|
4237
|
+
reqMsgId: 'req_msg_id',
|
|
4238
|
+
resultCode: 'result_code',
|
|
4239
|
+
resultMsg: 'result_msg',
|
|
4240
|
+
fileUrl: 'file_url',
|
|
4241
|
+
};
|
|
4242
|
+
}
|
|
4243
|
+
static types() {
|
|
4244
|
+
return {
|
|
4245
|
+
reqMsgId: 'string',
|
|
4246
|
+
resultCode: 'string',
|
|
4247
|
+
resultMsg: 'string',
|
|
4248
|
+
fileUrl: 'string',
|
|
4249
|
+
};
|
|
4250
|
+
}
|
|
4251
|
+
}
|
|
4252
|
+
exports.QueryCutpaymentStatementResponse = QueryCutpaymentStatementResponse;
|
|
4253
|
+
class ExecFaceThreemetaRequest extends $tea.Model {
|
|
4254
|
+
constructor(map) {
|
|
4255
|
+
super(map);
|
|
4256
|
+
}
|
|
4257
|
+
static names() {
|
|
4258
|
+
return {
|
|
4259
|
+
authToken: 'auth_token',
|
|
4260
|
+
productInstanceId: 'product_instance_id',
|
|
4261
|
+
certName: 'cert_name',
|
|
4262
|
+
certNo: 'cert_no',
|
|
4263
|
+
outerOrderNo: 'outer_order_no',
|
|
4264
|
+
fileType: 'file_type',
|
|
4265
|
+
facialPictureAuth: 'facial_picture_auth',
|
|
4266
|
+
};
|
|
4267
|
+
}
|
|
4268
|
+
static types() {
|
|
4269
|
+
return {
|
|
4270
|
+
authToken: 'string',
|
|
4271
|
+
productInstanceId: 'string',
|
|
4272
|
+
certName: 'string',
|
|
4273
|
+
certNo: 'string',
|
|
4274
|
+
outerOrderNo: 'string',
|
|
4275
|
+
fileType: 'string',
|
|
4276
|
+
facialPictureAuth: 'string',
|
|
4277
|
+
};
|
|
4278
|
+
}
|
|
4279
|
+
}
|
|
4280
|
+
exports.ExecFaceThreemetaRequest = ExecFaceThreemetaRequest;
|
|
4281
|
+
class ExecFaceThreemetaResponse extends $tea.Model {
|
|
4282
|
+
constructor(map) {
|
|
4283
|
+
super(map);
|
|
4284
|
+
}
|
|
4285
|
+
static names() {
|
|
4286
|
+
return {
|
|
4287
|
+
reqMsgId: 'req_msg_id',
|
|
4288
|
+
resultCode: 'result_code',
|
|
4289
|
+
resultMsg: 'result_msg',
|
|
4290
|
+
score: 'score',
|
|
4291
|
+
};
|
|
4292
|
+
}
|
|
4293
|
+
static types() {
|
|
4294
|
+
return {
|
|
4295
|
+
reqMsgId: 'string',
|
|
4296
|
+
resultCode: 'string',
|
|
4297
|
+
resultMsg: 'string',
|
|
4298
|
+
score: 'string',
|
|
4299
|
+
};
|
|
4300
|
+
}
|
|
4301
|
+
}
|
|
4302
|
+
exports.ExecFaceThreemetaResponse = ExecFaceThreemetaResponse;
|
|
4303
|
+
class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
4304
|
+
constructor(map) {
|
|
4305
|
+
super(map);
|
|
4306
|
+
}
|
|
4307
|
+
static names() {
|
|
4308
|
+
return {
|
|
4309
|
+
authToken: 'auth_token',
|
|
4310
|
+
apiCode: 'api_code',
|
|
4311
|
+
fileLabel: 'file_label',
|
|
4312
|
+
fileMetadata: 'file_metadata',
|
|
4313
|
+
fileName: 'file_name',
|
|
4314
|
+
mimeType: 'mime_type',
|
|
4315
|
+
apiCluster: 'api_cluster',
|
|
4316
|
+
};
|
|
4317
|
+
}
|
|
4318
|
+
static types() {
|
|
4319
|
+
return {
|
|
4320
|
+
authToken: 'string',
|
|
4321
|
+
apiCode: 'string',
|
|
4322
|
+
fileLabel: 'string',
|
|
4323
|
+
fileMetadata: 'string',
|
|
4324
|
+
fileName: 'string',
|
|
4325
|
+
mimeType: 'string',
|
|
4326
|
+
apiCluster: 'string',
|
|
4327
|
+
};
|
|
4328
|
+
}
|
|
4329
|
+
}
|
|
4330
|
+
exports.CreateAntcloudGatewayxFileUploadRequest = CreateAntcloudGatewayxFileUploadRequest;
|
|
4331
|
+
class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
|
|
4332
|
+
constructor(map) {
|
|
4333
|
+
super(map);
|
|
4334
|
+
}
|
|
4335
|
+
static names() {
|
|
4336
|
+
return {
|
|
4337
|
+
reqMsgId: 'req_msg_id',
|
|
4338
|
+
resultCode: 'result_code',
|
|
4339
|
+
resultMsg: 'result_msg',
|
|
4340
|
+
expiredTime: 'expired_time',
|
|
4341
|
+
fileId: 'file_id',
|
|
4342
|
+
uploadHeaders: 'upload_headers',
|
|
4343
|
+
uploadUrl: 'upload_url',
|
|
4344
|
+
};
|
|
4345
|
+
}
|
|
4346
|
+
static types() {
|
|
4347
|
+
return {
|
|
4348
|
+
reqMsgId: 'string',
|
|
4349
|
+
resultCode: 'string',
|
|
4350
|
+
resultMsg: 'string',
|
|
4351
|
+
expiredTime: 'string',
|
|
4352
|
+
fileId: 'string',
|
|
4353
|
+
uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
|
|
4354
|
+
uploadUrl: 'string',
|
|
4355
|
+
};
|
|
4356
|
+
}
|
|
4357
|
+
}
|
|
4358
|
+
exports.CreateAntcloudGatewayxFileUploadResponse = CreateAntcloudGatewayxFileUploadResponse;
|
|
4359
|
+
class Client {
|
|
4360
|
+
/**
|
|
4361
|
+
* Init client with Config
|
|
4362
|
+
* @param config config contains the necessary information to create a client
|
|
4363
|
+
*/
|
|
4364
|
+
constructor(config) {
|
|
4365
|
+
if (tea_util_1.default.isUnset(config)) {
|
|
4366
|
+
throw $tea.newError({
|
|
4367
|
+
code: "ParameterMissing",
|
|
4368
|
+
message: "'config' can not be unset",
|
|
4369
|
+
});
|
|
4370
|
+
}
|
|
4371
|
+
this._accessKeyId = config.accessKeyId;
|
|
4372
|
+
this._accessKeySecret = config.accessKeySecret;
|
|
4373
|
+
this._securityToken = config.securityToken;
|
|
4374
|
+
this._endpoint = config.endpoint;
|
|
4375
|
+
this._protocol = config.protocol;
|
|
4376
|
+
this._userAgent = config.userAgent;
|
|
4377
|
+
this._readTimeout = tea_util_1.default.defaultNumber(config.readTimeout, 20000);
|
|
4378
|
+
this._connectTimeout = tea_util_1.default.defaultNumber(config.connectTimeout, 20000);
|
|
4379
|
+
this._httpProxy = config.httpProxy;
|
|
4380
|
+
this._httpsProxy = config.httpsProxy;
|
|
4381
|
+
this._noProxy = config.noProxy;
|
|
4382
|
+
this._socks5Proxy = config.socks5Proxy;
|
|
4383
|
+
this._socks5NetWork = config.socks5NetWork;
|
|
4384
|
+
this._maxIdleConns = tea_util_1.default.defaultNumber(config.maxIdleConns, 60000);
|
|
4385
|
+
this._maxIdleTimeMillis = tea_util_1.default.defaultNumber(config.maxIdleTimeMillis, 5);
|
|
4386
|
+
this._keepAliveDurationMillis = tea_util_1.default.defaultNumber(config.keepAliveDurationMillis, 5000);
|
|
4387
|
+
this._maxRequests = tea_util_1.default.defaultNumber(config.maxRequests, 100);
|
|
4388
|
+
this._maxRequestsPerHost = tea_util_1.default.defaultNumber(config.maxRequestsPerHost, 100);
|
|
4389
|
+
}
|
|
4390
|
+
/**
|
|
4391
|
+
* Encapsulate the request and invoke the network
|
|
4392
|
+
* @param action api name
|
|
4393
|
+
* @param protocol http or https
|
|
4394
|
+
* @param method e.g. GET
|
|
4395
|
+
* @param pathname pathname of every api
|
|
4396
|
+
* @param request which contains request params
|
|
4397
|
+
* @param runtime which controls some details of call api, such as retry times
|
|
4398
|
+
* @return the response
|
|
4399
|
+
*/
|
|
4400
|
+
async doRequest(version, action, protocol, method, pathname, request, headers, runtime) {
|
|
4401
|
+
let _runtime = {
|
|
4402
|
+
timeouted: "retry",
|
|
4403
|
+
readTimeout: tea_util_1.default.defaultNumber(runtime.readTimeout, this._readTimeout),
|
|
4404
|
+
connectTimeout: tea_util_1.default.defaultNumber(runtime.connectTimeout, this._connectTimeout),
|
|
4405
|
+
httpProxy: tea_util_1.default.defaultString(runtime.httpProxy, this._httpProxy),
|
|
4406
|
+
httpsProxy: tea_util_1.default.defaultString(runtime.httpsProxy, this._httpsProxy),
|
|
4407
|
+
noProxy: tea_util_1.default.defaultString(runtime.noProxy, this._noProxy),
|
|
4408
|
+
maxIdleConns: tea_util_1.default.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
|
|
4409
|
+
maxIdleTimeMillis: this._maxIdleTimeMillis,
|
|
4410
|
+
keepAliveDuration: this._keepAliveDurationMillis,
|
|
4411
|
+
maxRequests: this._maxRequests,
|
|
4412
|
+
maxRequestsPerHost: this._maxRequestsPerHost,
|
|
4413
|
+
retry: {
|
|
4414
|
+
retryable: runtime.autoretry,
|
|
4415
|
+
maxAttempts: tea_util_1.default.defaultNumber(runtime.maxAttempts, 3),
|
|
4416
|
+
},
|
|
4417
|
+
backoff: {
|
|
4418
|
+
policy: tea_util_1.default.defaultString(runtime.backoffPolicy, "no"),
|
|
4419
|
+
period: tea_util_1.default.defaultNumber(runtime.backoffPeriod, 1),
|
|
4420
|
+
},
|
|
4421
|
+
ignoreSSL: runtime.ignoreSSL,
|
|
4422
|
+
};
|
|
4423
|
+
let _lastRequest = null;
|
|
4424
|
+
let _now = Date.now();
|
|
4425
|
+
let _retryTimes = 0;
|
|
4426
|
+
while ($tea.allowRetry(_runtime['retry'], _retryTimes, _now)) {
|
|
4427
|
+
if (_retryTimes > 0) {
|
|
4428
|
+
let _backoffTime = $tea.getBackoffTime(_runtime['backoff'], _retryTimes);
|
|
4429
|
+
if (_backoffTime > 0) {
|
|
4430
|
+
await $tea.sleep(_backoffTime);
|
|
4431
|
+
}
|
|
4432
|
+
}
|
|
4433
|
+
_retryTimes = _retryTimes + 1;
|
|
4434
|
+
try {
|
|
4435
|
+
let request_ = new $tea.Request();
|
|
4436
|
+
request_.protocol = tea_util_1.default.defaultString(this._protocol, protocol);
|
|
4437
|
+
request_.method = method;
|
|
4438
|
+
request_.pathname = pathname;
|
|
4439
|
+
request_.query = {
|
|
4440
|
+
method: action,
|
|
4441
|
+
version: version,
|
|
4442
|
+
sign_type: "HmacSHA1",
|
|
4443
|
+
req_time: alipay_util_1.default.getTimestamp(),
|
|
4444
|
+
req_msg_id: alipay_util_1.default.getNonce(),
|
|
4445
|
+
access_key: this._accessKeyId,
|
|
4446
|
+
base_sdk_version: "TeaSDK-2.0",
|
|
4447
|
+
sdk_version: "1.22.6",
|
|
4448
|
+
_prod_code: "REALPERSON",
|
|
4449
|
+
_prod_channel: "undefined",
|
|
4450
|
+
};
|
|
4451
|
+
if (!tea_util_1.default.empty(this._securityToken)) {
|
|
4452
|
+
request_.query["security_token"] = this._securityToken;
|
|
4453
|
+
}
|
|
4454
|
+
request_.headers = Object.assign({ host: tea_util_1.default.defaultString(this._endpoint, "openapi.antchain.antgroup.com"), 'user-agent': tea_util_1.default.getUserAgent(this._userAgent) }, headers);
|
|
4455
|
+
let tmp = tea_util_1.default.anyifyMapValue(rpc_util_1.default.query(request));
|
|
4456
|
+
request_.body = new $tea.BytesReadable(tea_util_1.default.toFormString(tmp));
|
|
4457
|
+
request_.headers["content-type"] = "application/x-www-form-urlencoded";
|
|
4458
|
+
let signedParam = Object.assign(Object.assign({}, request_.query), rpc_util_1.default.query(request));
|
|
4459
|
+
request_.query["sign"] = alipay_util_1.default.getSignature(signedParam, this._accessKeySecret);
|
|
4460
|
+
_lastRequest = request_;
|
|
4461
|
+
let response_ = await $tea.doAction(request_, _runtime);
|
|
4462
|
+
let raw = await tea_util_1.default.readAsString(response_.body);
|
|
4463
|
+
let obj = tea_util_1.default.parseJSON(raw);
|
|
4464
|
+
let res = tea_util_1.default.assertAsMap(obj);
|
|
4465
|
+
let resp = tea_util_1.default.assertAsMap(res["response"]);
|
|
4466
|
+
if (alipay_util_1.default.hasError(raw, this._accessKeySecret)) {
|
|
4467
|
+
throw $tea.newError({
|
|
4468
|
+
message: resp["result_msg"],
|
|
4469
|
+
data: resp,
|
|
4470
|
+
code: resp["result_code"],
|
|
4471
|
+
});
|
|
4472
|
+
}
|
|
4473
|
+
return resp;
|
|
4474
|
+
}
|
|
4475
|
+
catch (ex) {
|
|
4476
|
+
if ($tea.isRetryable(ex)) {
|
|
4477
|
+
continue;
|
|
4478
|
+
}
|
|
4479
|
+
throw ex;
|
|
4480
|
+
}
|
|
4481
|
+
}
|
|
4482
|
+
throw $tea.newUnretryableError(_lastRequest);
|
|
4483
|
+
}
|
|
4484
|
+
/**
|
|
4485
|
+
* Description: 查询认证的结果和相关信息
|
|
4486
|
+
* Summary: 认证查询
|
|
4487
|
+
*/
|
|
4488
|
+
async queryFacevrfServer(request) {
|
|
4489
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4490
|
+
let headers = {};
|
|
4491
|
+
return await this.queryFacevrfServerEx(request, headers, runtime);
|
|
4492
|
+
}
|
|
4493
|
+
/**
|
|
4494
|
+
* Description: 查询认证的结果和相关信息
|
|
4495
|
+
* Summary: 认证查询
|
|
4496
|
+
*/
|
|
4497
|
+
async queryFacevrfServerEx(request, headers, runtime) {
|
|
4498
|
+
tea_util_1.default.validateModel(request);
|
|
4499
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.facevrf.server.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFacevrfServerResponse({}));
|
|
4500
|
+
}
|
|
4501
|
+
/**
|
|
4502
|
+
* Description: 服务端认证创建,传入认证信息,获取认证ID(和url)
|
|
4503
|
+
* Summary: 认证创建
|
|
4504
|
+
*/
|
|
4505
|
+
async createFacevrfServer(request) {
|
|
4506
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4507
|
+
let headers = {};
|
|
4508
|
+
return await this.createFacevrfServerEx(request, headers, runtime);
|
|
4509
|
+
}
|
|
4510
|
+
/**
|
|
4511
|
+
* Description: 服务端认证创建,传入认证信息,获取认证ID(和url)
|
|
4512
|
+
* Summary: 认证创建
|
|
4513
|
+
*/
|
|
4514
|
+
async createFacevrfServerEx(request, headers, runtime) {
|
|
4515
|
+
tea_util_1.default.validateModel(request);
|
|
4516
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.facevrf.server.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateFacevrfServerResponse({}));
|
|
4517
|
+
}
|
|
4518
|
+
/**
|
|
4519
|
+
* Description: 纯服务端比对,直接输入待比对的图片,返回比对结果
|
|
4520
|
+
* Summary: 纯服务端比对
|
|
4521
|
+
*/
|
|
4522
|
+
async execFacevrfServer(request) {
|
|
4523
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4524
|
+
let headers = {};
|
|
3911
4525
|
return await this.execFacevrfServerEx(request, headers, runtime);
|
|
3912
4526
|
}
|
|
3913
4527
|
/**
|
|
@@ -4976,6 +5590,176 @@ class Client {
|
|
|
4976
5590
|
tea_util_1.default.validateModel(request);
|
|
4977
5591
|
return $tea.cast(await this.doRequest("1.0", "di.realperson.carinfo.brief.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCarinfoBriefResponse({}));
|
|
4978
5592
|
}
|
|
5593
|
+
/**
|
|
5594
|
+
* Description: 银行卡代扣预绑定
|
|
5595
|
+
* Summary: 银行卡代扣预绑定
|
|
5596
|
+
*/
|
|
5597
|
+
async bindCutpaymentPre(request) {
|
|
5598
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5599
|
+
let headers = {};
|
|
5600
|
+
return await this.bindCutpaymentPreEx(request, headers, runtime);
|
|
5601
|
+
}
|
|
5602
|
+
/**
|
|
5603
|
+
* Description: 银行卡代扣预绑定
|
|
5604
|
+
* Summary: 银行卡代扣预绑定
|
|
5605
|
+
*/
|
|
5606
|
+
async bindCutpaymentPreEx(request, headers, runtime) {
|
|
5607
|
+
tea_util_1.default.validateModel(request);
|
|
5608
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.cutpayment.pre.bind", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BindCutpaymentPreResponse({}));
|
|
5609
|
+
}
|
|
5610
|
+
/**
|
|
5611
|
+
* Description: 银行卡代扣绑卡签约
|
|
5612
|
+
* Summary: 银行卡代扣绑卡签约
|
|
5613
|
+
*/
|
|
5614
|
+
async bindCutpaymentSign(request) {
|
|
5615
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5616
|
+
let headers = {};
|
|
5617
|
+
return await this.bindCutpaymentSignEx(request, headers, runtime);
|
|
5618
|
+
}
|
|
5619
|
+
/**
|
|
5620
|
+
* Description: 银行卡代扣绑卡签约
|
|
5621
|
+
* Summary: 银行卡代扣绑卡签约
|
|
5622
|
+
*/
|
|
5623
|
+
async bindCutpaymentSignEx(request, headers, runtime) {
|
|
5624
|
+
tea_util_1.default.validateModel(request);
|
|
5625
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.cutpayment.sign.bind", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BindCutpaymentSignResponse({}));
|
|
5626
|
+
}
|
|
5627
|
+
/**
|
|
5628
|
+
* Description: 银行卡代扣解绑
|
|
5629
|
+
* Summary: 银行卡代扣解绑
|
|
5630
|
+
*/
|
|
5631
|
+
async unbindCutpaymentSign(request) {
|
|
5632
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5633
|
+
let headers = {};
|
|
5634
|
+
return await this.unbindCutpaymentSignEx(request, headers, runtime);
|
|
5635
|
+
}
|
|
5636
|
+
/**
|
|
5637
|
+
* Description: 银行卡代扣解绑
|
|
5638
|
+
* Summary: 银行卡代扣解绑
|
|
5639
|
+
*/
|
|
5640
|
+
async unbindCutpaymentSignEx(request, headers, runtime) {
|
|
5641
|
+
tea_util_1.default.validateModel(request);
|
|
5642
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.cutpayment.sign.unbind", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UnbindCutpaymentSignResponse({}));
|
|
5643
|
+
}
|
|
5644
|
+
/**
|
|
5645
|
+
* Description: 银行卡代扣绑定结果查询
|
|
5646
|
+
* Summary: 银行卡代扣绑定结果查询
|
|
5647
|
+
*/
|
|
5648
|
+
async queryCutpaymentBind(request) {
|
|
5649
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5650
|
+
let headers = {};
|
|
5651
|
+
return await this.queryCutpaymentBindEx(request, headers, runtime);
|
|
5652
|
+
}
|
|
5653
|
+
/**
|
|
5654
|
+
* Description: 银行卡代扣绑定结果查询
|
|
5655
|
+
* Summary: 银行卡代扣绑定结果查询
|
|
5656
|
+
*/
|
|
5657
|
+
async queryCutpaymentBindEx(request, headers, runtime) {
|
|
5658
|
+
tea_util_1.default.validateModel(request);
|
|
5659
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.cutpayment.bind.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCutpaymentBindResponse({}));
|
|
5660
|
+
}
|
|
5661
|
+
/**
|
|
5662
|
+
* Description: 银行卡代扣支付分账扣款
|
|
5663
|
+
* Summary: 银行卡代扣支付分账扣款
|
|
5664
|
+
*/
|
|
5665
|
+
async applyCutpaymentPayment(request) {
|
|
5666
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5667
|
+
let headers = {};
|
|
5668
|
+
return await this.applyCutpaymentPaymentEx(request, headers, runtime);
|
|
5669
|
+
}
|
|
5670
|
+
/**
|
|
5671
|
+
* Description: 银行卡代扣支付分账扣款
|
|
5672
|
+
* Summary: 银行卡代扣支付分账扣款
|
|
5673
|
+
*/
|
|
5674
|
+
async applyCutpaymentPaymentEx(request, headers, runtime) {
|
|
5675
|
+
tea_util_1.default.validateModel(request);
|
|
5676
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.cutpayment.payment.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyCutpaymentPaymentResponse({}));
|
|
5677
|
+
}
|
|
5678
|
+
/**
|
|
5679
|
+
* Description: 银行卡代扣支付分账查询
|
|
5680
|
+
* Summary: 银行卡代扣支付分账查询
|
|
5681
|
+
*/
|
|
5682
|
+
async queryCutpaymentPayment(request) {
|
|
5683
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5684
|
+
let headers = {};
|
|
5685
|
+
return await this.queryCutpaymentPaymentEx(request, headers, runtime);
|
|
5686
|
+
}
|
|
5687
|
+
/**
|
|
5688
|
+
* Description: 银行卡代扣支付分账查询
|
|
5689
|
+
* Summary: 银行卡代扣支付分账查询
|
|
5690
|
+
*/
|
|
5691
|
+
async queryCutpaymentPaymentEx(request, headers, runtime) {
|
|
5692
|
+
tea_util_1.default.validateModel(request);
|
|
5693
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.cutpayment.payment.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCutpaymentPaymentResponse({}));
|
|
5694
|
+
}
|
|
5695
|
+
/**
|
|
5696
|
+
* Description: 银行卡代扣退款申请
|
|
5697
|
+
* Summary: 银行卡代扣退款申请
|
|
5698
|
+
*/
|
|
5699
|
+
async applyCutpaymentRefund(request) {
|
|
5700
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5701
|
+
let headers = {};
|
|
5702
|
+
return await this.applyCutpaymentRefundEx(request, headers, runtime);
|
|
5703
|
+
}
|
|
5704
|
+
/**
|
|
5705
|
+
* Description: 银行卡代扣退款申请
|
|
5706
|
+
* Summary: 银行卡代扣退款申请
|
|
5707
|
+
*/
|
|
5708
|
+
async applyCutpaymentRefundEx(request, headers, runtime) {
|
|
5709
|
+
tea_util_1.default.validateModel(request);
|
|
5710
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.cutpayment.refund.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyCutpaymentRefundResponse({}));
|
|
5711
|
+
}
|
|
5712
|
+
/**
|
|
5713
|
+
* Description: 银行卡代扣退款查询
|
|
5714
|
+
* Summary: 银行卡代扣退款查询
|
|
5715
|
+
*/
|
|
5716
|
+
async queryCutpaymentRefund(request) {
|
|
5717
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5718
|
+
let headers = {};
|
|
5719
|
+
return await this.queryCutpaymentRefundEx(request, headers, runtime);
|
|
5720
|
+
}
|
|
5721
|
+
/**
|
|
5722
|
+
* Description: 银行卡代扣退款查询
|
|
5723
|
+
* Summary: 银行卡代扣退款查询
|
|
5724
|
+
*/
|
|
5725
|
+
async queryCutpaymentRefundEx(request, headers, runtime) {
|
|
5726
|
+
tea_util_1.default.validateModel(request);
|
|
5727
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.cutpayment.refund.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCutpaymentRefundResponse({}));
|
|
5728
|
+
}
|
|
5729
|
+
/**
|
|
5730
|
+
* Description: 银行卡代扣对账
|
|
5731
|
+
* Summary: 银行卡代扣对账
|
|
5732
|
+
*/
|
|
5733
|
+
async queryCutpaymentStatement(request) {
|
|
5734
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5735
|
+
let headers = {};
|
|
5736
|
+
return await this.queryCutpaymentStatementEx(request, headers, runtime);
|
|
5737
|
+
}
|
|
5738
|
+
/**
|
|
5739
|
+
* Description: 银行卡代扣对账
|
|
5740
|
+
* Summary: 银行卡代扣对账
|
|
5741
|
+
*/
|
|
5742
|
+
async queryCutpaymentStatementEx(request, headers, runtime) {
|
|
5743
|
+
tea_util_1.default.validateModel(request);
|
|
5744
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.cutpayment.statement.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCutpaymentStatementResponse({}));
|
|
5745
|
+
}
|
|
5746
|
+
/**
|
|
5747
|
+
* Description: 人像、证件号、姓名比对接口
|
|
5748
|
+
* Summary: 人像、证件号、姓名比对
|
|
5749
|
+
*/
|
|
5750
|
+
async execFaceThreemeta(request) {
|
|
5751
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5752
|
+
let headers = {};
|
|
5753
|
+
return await this.execFaceThreemetaEx(request, headers, runtime);
|
|
5754
|
+
}
|
|
5755
|
+
/**
|
|
5756
|
+
* Description: 人像、证件号、姓名比对接口
|
|
5757
|
+
* Summary: 人像、证件号、姓名比对
|
|
5758
|
+
*/
|
|
5759
|
+
async execFaceThreemetaEx(request, headers, runtime) {
|
|
5760
|
+
tea_util_1.default.validateModel(request);
|
|
5761
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.face.threemeta.exec", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ExecFaceThreemetaResponse({}));
|
|
5762
|
+
}
|
|
4979
5763
|
/**
|
|
4980
5764
|
* Description: 创建HTTP PUT提交的文件上传
|
|
4981
5765
|
* Summary: 文件上传创建
|