@antchain/realperson 1.16.0 → 1.19.4
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 +372 -0
- package/dist/client.js +605 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +955 -41
package/src/client.ts
CHANGED
|
@@ -1824,6 +1824,16 @@ export class RecognizeDocIndividualcardRequest extends $tea.Model {
|
|
|
1824
1824
|
encToken?: string;
|
|
1825
1825
|
// 是否启用防伪检测,如果启用,出参会输出riskInfo字段。不填默认不启用防伪。取值约束:0(不启用);1(启用)
|
|
1826
1826
|
riskInfoType?: string;
|
|
1827
|
+
// 是否返回身份证头像照片
|
|
1828
|
+
// 0:否
|
|
1829
|
+
// 1:是
|
|
1830
|
+
// 不填默认不返回。
|
|
1831
|
+
returnPhoto?: string;
|
|
1832
|
+
// 是否返回身份证图片
|
|
1833
|
+
// 0:否
|
|
1834
|
+
// 1:是
|
|
1835
|
+
// 不填默认不返回。
|
|
1836
|
+
returnImage?: string;
|
|
1827
1837
|
// 扩展信息JSON串。
|
|
1828
1838
|
externParam?: string;
|
|
1829
1839
|
static names(): { [key: string]: string } {
|
|
@@ -1838,6 +1848,8 @@ export class RecognizeDocIndividualcardRequest extends $tea.Model {
|
|
|
1838
1848
|
respEncType: 'resp_enc_type',
|
|
1839
1849
|
encToken: 'enc_token',
|
|
1840
1850
|
riskInfoType: 'risk_info_type',
|
|
1851
|
+
returnPhoto: 'return_photo',
|
|
1852
|
+
returnImage: 'return_image',
|
|
1841
1853
|
externParam: 'extern_param',
|
|
1842
1854
|
};
|
|
1843
1855
|
}
|
|
@@ -1854,6 +1866,8 @@ export class RecognizeDocIndividualcardRequest extends $tea.Model {
|
|
|
1854
1866
|
respEncType: 'string',
|
|
1855
1867
|
encToken: 'string',
|
|
1856
1868
|
riskInfoType: 'string',
|
|
1869
|
+
returnPhoto: 'string',
|
|
1870
|
+
returnImage: 'string',
|
|
1857
1871
|
externParam: 'string',
|
|
1858
1872
|
};
|
|
1859
1873
|
}
|
|
@@ -3569,6 +3583,8 @@ export class InitCarrierRepairmobileRequest extends $tea.Model {
|
|
|
3569
3583
|
encryptType?: string;
|
|
3570
3584
|
// 失联修复身份证号,使用入参加密模式加密
|
|
3571
3585
|
certNo: string;
|
|
3586
|
+
// 用户姓名,明文
|
|
3587
|
+
name: string;
|
|
3572
3588
|
// 曾用手机号码,使用入参加密模式加密
|
|
3573
3589
|
mobile?: string;
|
|
3574
3590
|
static names(): { [key: string]: string } {
|
|
@@ -3580,6 +3596,7 @@ export class InitCarrierRepairmobileRequest extends $tea.Model {
|
|
|
3580
3596
|
carrier: 'carrier',
|
|
3581
3597
|
encryptType: 'encrypt_type',
|
|
3582
3598
|
certNo: 'cert_no',
|
|
3599
|
+
name: 'name',
|
|
3583
3600
|
mobile: 'mobile',
|
|
3584
3601
|
};
|
|
3585
3602
|
}
|
|
@@ -3593,6 +3610,7 @@ export class InitCarrierRepairmobileRequest extends $tea.Model {
|
|
|
3593
3610
|
carrier: 'string',
|
|
3594
3611
|
encryptType: 'string',
|
|
3595
3612
|
certNo: 'string',
|
|
3613
|
+
name: 'string',
|
|
3596
3614
|
mobile: 'string',
|
|
3597
3615
|
};
|
|
3598
3616
|
}
|
|
@@ -3625,7 +3643,669 @@ export class InitCarrierRepairmobileResponse extends $tea.Model {
|
|
|
3625
3643
|
reqMsgId: 'string',
|
|
3626
3644
|
resultCode: 'string',
|
|
3627
3645
|
resultMsg: 'string',
|
|
3628
|
-
processId: 'string',
|
|
3646
|
+
processId: 'string',
|
|
3647
|
+
};
|
|
3648
|
+
}
|
|
3649
|
+
|
|
3650
|
+
constructor(map?: { [key: string]: any }) {
|
|
3651
|
+
super(map);
|
|
3652
|
+
}
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
export class QueryCarrierRepairmobileRequest extends $tea.Model {
|
|
3656
|
+
// OAuth模式下的授权token
|
|
3657
|
+
authToken?: string;
|
|
3658
|
+
productInstanceId?: string;
|
|
3659
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
3660
|
+
outerOrderNo: string;
|
|
3661
|
+
// 失联修复初始化的流程ID
|
|
3662
|
+
processId: string;
|
|
3663
|
+
static names(): { [key: string]: string } {
|
|
3664
|
+
return {
|
|
3665
|
+
authToken: 'auth_token',
|
|
3666
|
+
productInstanceId: 'product_instance_id',
|
|
3667
|
+
outerOrderNo: 'outer_order_no',
|
|
3668
|
+
processId: 'process_id',
|
|
3669
|
+
};
|
|
3670
|
+
}
|
|
3671
|
+
|
|
3672
|
+
static types(): { [key: string]: any } {
|
|
3673
|
+
return {
|
|
3674
|
+
authToken: 'string',
|
|
3675
|
+
productInstanceId: 'string',
|
|
3676
|
+
outerOrderNo: 'string',
|
|
3677
|
+
processId: 'string',
|
|
3678
|
+
};
|
|
3679
|
+
}
|
|
3680
|
+
|
|
3681
|
+
constructor(map?: { [key: string]: any }) {
|
|
3682
|
+
super(map);
|
|
3683
|
+
}
|
|
3684
|
+
}
|
|
3685
|
+
|
|
3686
|
+
export class QueryCarrierRepairmobileResponse extends $tea.Model {
|
|
3687
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
3688
|
+
reqMsgId?: string;
|
|
3689
|
+
// 结果码,一般OK表示调用成功
|
|
3690
|
+
resultCode?: string;
|
|
3691
|
+
// 异常信息的文本描述
|
|
3692
|
+
resultMsg?: string;
|
|
3693
|
+
// 失联人手机号修复数量
|
|
3694
|
+
count?: string;
|
|
3695
|
+
static names(): { [key: string]: string } {
|
|
3696
|
+
return {
|
|
3697
|
+
reqMsgId: 'req_msg_id',
|
|
3698
|
+
resultCode: 'result_code',
|
|
3699
|
+
resultMsg: 'result_msg',
|
|
3700
|
+
count: 'count',
|
|
3701
|
+
};
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
static types(): { [key: string]: any } {
|
|
3705
|
+
return {
|
|
3706
|
+
reqMsgId: 'string',
|
|
3707
|
+
resultCode: 'string',
|
|
3708
|
+
resultMsg: 'string',
|
|
3709
|
+
count: 'string',
|
|
3710
|
+
};
|
|
3711
|
+
}
|
|
3712
|
+
|
|
3713
|
+
constructor(map?: { [key: string]: any }) {
|
|
3714
|
+
super(map);
|
|
3715
|
+
}
|
|
3716
|
+
}
|
|
3717
|
+
|
|
3718
|
+
export class BindCarrierRepairmobileRequest extends $tea.Model {
|
|
3719
|
+
// OAuth模式下的授权token
|
|
3720
|
+
authToken?: string;
|
|
3721
|
+
productInstanceId?: string;
|
|
3722
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
3723
|
+
outerOrderNo: string;
|
|
3724
|
+
// 失联修复初始化的流程ID
|
|
3725
|
+
processId: string;
|
|
3726
|
+
// 身份证号,和失联修复初始化接口身份证号加密方式保持一致
|
|
3727
|
+
certNo: string;
|
|
3728
|
+
// 修复的手机号排序,例如绑定第一个修复手机号填入1
|
|
3729
|
+
mobileNum: string;
|
|
3730
|
+
// 主叫号码
|
|
3731
|
+
mobileA: string;
|
|
3732
|
+
// 主叫类型1-手机号码 2-固话
|
|
3733
|
+
// 默认为1
|
|
3734
|
+
mobileType?: string;
|
|
3735
|
+
static names(): { [key: string]: string } {
|
|
3736
|
+
return {
|
|
3737
|
+
authToken: 'auth_token',
|
|
3738
|
+
productInstanceId: 'product_instance_id',
|
|
3739
|
+
outerOrderNo: 'outer_order_no',
|
|
3740
|
+
processId: 'process_id',
|
|
3741
|
+
certNo: 'cert_no',
|
|
3742
|
+
mobileNum: 'mobile_num',
|
|
3743
|
+
mobileA: 'mobile_a',
|
|
3744
|
+
mobileType: 'mobile_type',
|
|
3745
|
+
};
|
|
3746
|
+
}
|
|
3747
|
+
|
|
3748
|
+
static types(): { [key: string]: any } {
|
|
3749
|
+
return {
|
|
3750
|
+
authToken: 'string',
|
|
3751
|
+
productInstanceId: 'string',
|
|
3752
|
+
outerOrderNo: 'string',
|
|
3753
|
+
processId: 'string',
|
|
3754
|
+
certNo: 'string',
|
|
3755
|
+
mobileNum: 'string',
|
|
3756
|
+
mobileA: 'string',
|
|
3757
|
+
mobileType: 'string',
|
|
3758
|
+
};
|
|
3759
|
+
}
|
|
3760
|
+
|
|
3761
|
+
constructor(map?: { [key: string]: any }) {
|
|
3762
|
+
super(map);
|
|
3763
|
+
}
|
|
3764
|
+
}
|
|
3765
|
+
|
|
3766
|
+
export class BindCarrierRepairmobileResponse extends $tea.Model {
|
|
3767
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
3768
|
+
reqMsgId?: string;
|
|
3769
|
+
// 结果码,一般OK表示调用成功
|
|
3770
|
+
resultCode?: string;
|
|
3771
|
+
// 异常信息的文本描述
|
|
3772
|
+
resultMsg?: string;
|
|
3773
|
+
// 小号(实际拨打返回的虚拟小号)
|
|
3774
|
+
mobileX?: string;
|
|
3775
|
+
static names(): { [key: string]: string } {
|
|
3776
|
+
return {
|
|
3777
|
+
reqMsgId: 'req_msg_id',
|
|
3778
|
+
resultCode: 'result_code',
|
|
3779
|
+
resultMsg: 'result_msg',
|
|
3780
|
+
mobileX: 'mobile_x',
|
|
3781
|
+
};
|
|
3782
|
+
}
|
|
3783
|
+
|
|
3784
|
+
static types(): { [key: string]: any } {
|
|
3785
|
+
return {
|
|
3786
|
+
reqMsgId: 'string',
|
|
3787
|
+
resultCode: 'string',
|
|
3788
|
+
resultMsg: 'string',
|
|
3789
|
+
mobileX: 'string',
|
|
3790
|
+
};
|
|
3791
|
+
}
|
|
3792
|
+
|
|
3793
|
+
constructor(map?: { [key: string]: any }) {
|
|
3794
|
+
super(map);
|
|
3795
|
+
}
|
|
3796
|
+
}
|
|
3797
|
+
|
|
3798
|
+
export class ApplyExtOrgdataRequest extends $tea.Model {
|
|
3799
|
+
// OAuth模式下的授权token
|
|
3800
|
+
authToken?: string;
|
|
3801
|
+
productInstanceId?: string;
|
|
3802
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
3803
|
+
outerOrderNo: string;
|
|
3804
|
+
// 是 入参加密模式:
|
|
3805
|
+
// "0"(默认值):不加密;
|
|
3806
|
+
// "4":RSA加密
|
|
3807
|
+
encryptType: string;
|
|
3808
|
+
// 星火保
|
|
3809
|
+
orgName: string;
|
|
3810
|
+
// 外部机构数据类型,取值如下: AXINSUR_BANK_LIVENESS:星火保蚂蚁推荐卡
|
|
3811
|
+
dataType: string;
|
|
3812
|
+
// 机构上报数据,json数组
|
|
3813
|
+
dataContent: string;
|
|
3814
|
+
static names(): { [key: string]: string } {
|
|
3815
|
+
return {
|
|
3816
|
+
authToken: 'auth_token',
|
|
3817
|
+
productInstanceId: 'product_instance_id',
|
|
3818
|
+
outerOrderNo: 'outer_order_no',
|
|
3819
|
+
encryptType: 'encrypt_type',
|
|
3820
|
+
orgName: 'org_name',
|
|
3821
|
+
dataType: 'data_type',
|
|
3822
|
+
dataContent: 'data_content',
|
|
3823
|
+
};
|
|
3824
|
+
}
|
|
3825
|
+
|
|
3826
|
+
static types(): { [key: string]: any } {
|
|
3827
|
+
return {
|
|
3828
|
+
authToken: 'string',
|
|
3829
|
+
productInstanceId: 'string',
|
|
3830
|
+
outerOrderNo: 'string',
|
|
3831
|
+
encryptType: 'string',
|
|
3832
|
+
orgName: 'string',
|
|
3833
|
+
dataType: 'string',
|
|
3834
|
+
dataContent: 'string',
|
|
3835
|
+
};
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
constructor(map?: { [key: string]: any }) {
|
|
3839
|
+
super(map);
|
|
3840
|
+
}
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3843
|
+
export class ApplyExtOrgdataResponse extends $tea.Model {
|
|
3844
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
3845
|
+
reqMsgId?: string;
|
|
3846
|
+
// 结果码,一般OK表示调用成功
|
|
3847
|
+
resultCode?: string;
|
|
3848
|
+
// 异常信息的文本描述
|
|
3849
|
+
resultMsg?: string;
|
|
3850
|
+
// 上报结果
|
|
3851
|
+
result?: string;
|
|
3852
|
+
static names(): { [key: string]: string } {
|
|
3853
|
+
return {
|
|
3854
|
+
reqMsgId: 'req_msg_id',
|
|
3855
|
+
resultCode: 'result_code',
|
|
3856
|
+
resultMsg: 'result_msg',
|
|
3857
|
+
result: 'result',
|
|
3858
|
+
};
|
|
3859
|
+
}
|
|
3860
|
+
|
|
3861
|
+
static types(): { [key: string]: any } {
|
|
3862
|
+
return {
|
|
3863
|
+
reqMsgId: 'string',
|
|
3864
|
+
resultCode: 'string',
|
|
3865
|
+
resultMsg: 'string',
|
|
3866
|
+
result: 'string',
|
|
3867
|
+
};
|
|
3868
|
+
}
|
|
3869
|
+
|
|
3870
|
+
constructor(map?: { [key: string]: any }) {
|
|
3871
|
+
super(map);
|
|
3872
|
+
}
|
|
3873
|
+
}
|
|
3874
|
+
|
|
3875
|
+
export class CreateFaceverifyServerRequest extends $tea.Model {
|
|
3876
|
+
// OAuth模式下的授权token
|
|
3877
|
+
authToken?: string;
|
|
3878
|
+
productInstanceId?: string;
|
|
3879
|
+
// 外部唯一标识。用于定位。 值为32位长度的字母数字组合前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列
|
|
3880
|
+
outerOrderNo: string;
|
|
3881
|
+
// 认证模式码
|
|
3882
|
+
bizCode: string;
|
|
3883
|
+
// 场景ID
|
|
3884
|
+
sceneId: string;
|
|
3885
|
+
// 身份信息来源类型,如证件
|
|
3886
|
+
identityType: string;
|
|
3887
|
+
// 证件类型,如身份证
|
|
3888
|
+
certType: string;
|
|
3889
|
+
// 真实姓名
|
|
3890
|
+
certName: string;
|
|
3891
|
+
// 证件号码
|
|
3892
|
+
certNo: string;
|
|
3893
|
+
// h5认证完成后,服务端回调此地址通知商户认证结果
|
|
3894
|
+
callbackUrl?: string;
|
|
3895
|
+
// cert_name、cert_no两个字段的传入模式。0:明文1:密文
|
|
3896
|
+
encType?: string;
|
|
3897
|
+
// 预留扩展参数
|
|
3898
|
+
externParam?: string;
|
|
3899
|
+
// 自定义比对源人脸图像,base64编码格式
|
|
3900
|
+
facialPictureRef?: string;
|
|
3901
|
+
// metainfo 环境参数,需要通过客户端 SDK 获取
|
|
3902
|
+
metaInfo?: string;
|
|
3903
|
+
// 回跳地址
|
|
3904
|
+
returnUrl?: string;
|
|
3905
|
+
// 商户自定义的用户ID
|
|
3906
|
+
userId?: string;
|
|
3907
|
+
// 用户的IP
|
|
3908
|
+
userIp?: string;
|
|
3909
|
+
// 用户的手机号
|
|
3910
|
+
userMobile?: string;
|
|
3911
|
+
// callbackUrl回调时是否需要重试,默认false(不需要重试)
|
|
3912
|
+
callbackNeedRetry?: string;
|
|
3913
|
+
// 活体检测的类型
|
|
3914
|
+
model?: string;
|
|
3915
|
+
static names(): { [key: string]: string } {
|
|
3916
|
+
return {
|
|
3917
|
+
authToken: 'auth_token',
|
|
3918
|
+
productInstanceId: 'product_instance_id',
|
|
3919
|
+
outerOrderNo: 'outer_order_no',
|
|
3920
|
+
bizCode: 'biz_code',
|
|
3921
|
+
sceneId: 'scene_id',
|
|
3922
|
+
identityType: 'identity_type',
|
|
3923
|
+
certType: 'cert_type',
|
|
3924
|
+
certName: 'cert_name',
|
|
3925
|
+
certNo: 'cert_no',
|
|
3926
|
+
callbackUrl: 'callback_url',
|
|
3927
|
+
encType: 'enc_type',
|
|
3928
|
+
externParam: 'extern_param',
|
|
3929
|
+
facialPictureRef: 'facial_picture_ref',
|
|
3930
|
+
metaInfo: 'meta_info',
|
|
3931
|
+
returnUrl: 'return_url',
|
|
3932
|
+
userId: 'user_id',
|
|
3933
|
+
userIp: 'user_ip',
|
|
3934
|
+
userMobile: 'user_mobile',
|
|
3935
|
+
callbackNeedRetry: 'callback_need_retry',
|
|
3936
|
+
model: 'model',
|
|
3937
|
+
};
|
|
3938
|
+
}
|
|
3939
|
+
|
|
3940
|
+
static types(): { [key: string]: any } {
|
|
3941
|
+
return {
|
|
3942
|
+
authToken: 'string',
|
|
3943
|
+
productInstanceId: 'string',
|
|
3944
|
+
outerOrderNo: 'string',
|
|
3945
|
+
bizCode: 'string',
|
|
3946
|
+
sceneId: 'string',
|
|
3947
|
+
identityType: 'string',
|
|
3948
|
+
certType: 'string',
|
|
3949
|
+
certName: 'string',
|
|
3950
|
+
certNo: 'string',
|
|
3951
|
+
callbackUrl: 'string',
|
|
3952
|
+
encType: 'string',
|
|
3953
|
+
externParam: 'string',
|
|
3954
|
+
facialPictureRef: 'string',
|
|
3955
|
+
metaInfo: 'string',
|
|
3956
|
+
returnUrl: 'string',
|
|
3957
|
+
userId: 'string',
|
|
3958
|
+
userIp: 'string',
|
|
3959
|
+
userMobile: 'string',
|
|
3960
|
+
callbackNeedRetry: 'string',
|
|
3961
|
+
model: 'string',
|
|
3962
|
+
};
|
|
3963
|
+
}
|
|
3964
|
+
|
|
3965
|
+
constructor(map?: { [key: string]: any }) {
|
|
3966
|
+
super(map);
|
|
3967
|
+
}
|
|
3968
|
+
}
|
|
3969
|
+
|
|
3970
|
+
export class CreateFaceverifyServerResponse extends $tea.Model {
|
|
3971
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
3972
|
+
reqMsgId?: string;
|
|
3973
|
+
// 结果码,一般OK表示调用成功
|
|
3974
|
+
resultCode?: string;
|
|
3975
|
+
// 异常信息的文本描述
|
|
3976
|
+
resultMsg?: string;
|
|
3977
|
+
// 实人认证唯一标识
|
|
3978
|
+
certifyId?: string;
|
|
3979
|
+
// 认证地址。只在特定场景返回。
|
|
3980
|
+
certifyUrl?: string;
|
|
3981
|
+
static names(): { [key: string]: string } {
|
|
3982
|
+
return {
|
|
3983
|
+
reqMsgId: 'req_msg_id',
|
|
3984
|
+
resultCode: 'result_code',
|
|
3985
|
+
resultMsg: 'result_msg',
|
|
3986
|
+
certifyId: 'certify_id',
|
|
3987
|
+
certifyUrl: 'certify_url',
|
|
3988
|
+
};
|
|
3989
|
+
}
|
|
3990
|
+
|
|
3991
|
+
static types(): { [key: string]: any } {
|
|
3992
|
+
return {
|
|
3993
|
+
reqMsgId: 'string',
|
|
3994
|
+
resultCode: 'string',
|
|
3995
|
+
resultMsg: 'string',
|
|
3996
|
+
certifyId: 'string',
|
|
3997
|
+
certifyUrl: 'string',
|
|
3998
|
+
};
|
|
3999
|
+
}
|
|
4000
|
+
|
|
4001
|
+
constructor(map?: { [key: string]: any }) {
|
|
4002
|
+
super(map);
|
|
4003
|
+
}
|
|
4004
|
+
}
|
|
4005
|
+
|
|
4006
|
+
export class QueryFaceverifyServerRequest extends $tea.Model {
|
|
4007
|
+
// OAuth模式下的授权token
|
|
4008
|
+
authToken?: string;
|
|
4009
|
+
productInstanceId?: string;
|
|
4010
|
+
// 实人认证唯一标识
|
|
4011
|
+
certifyId: string;
|
|
4012
|
+
// 外部唯一标识。用于定位。 值为32位长度的字母数字组合前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列
|
|
4013
|
+
outerOrderNo: string;
|
|
4014
|
+
// 场景ID
|
|
4015
|
+
sceneId: string;
|
|
4016
|
+
// 预留扩展业务参数
|
|
4017
|
+
externParam?: string;
|
|
4018
|
+
// 认证材料(如人脸图像)的哈希
|
|
4019
|
+
materialHash?: string;
|
|
4020
|
+
static names(): { [key: string]: string } {
|
|
4021
|
+
return {
|
|
4022
|
+
authToken: 'auth_token',
|
|
4023
|
+
productInstanceId: 'product_instance_id',
|
|
4024
|
+
certifyId: 'certify_id',
|
|
4025
|
+
outerOrderNo: 'outer_order_no',
|
|
4026
|
+
sceneId: 'scene_id',
|
|
4027
|
+
externParam: 'extern_param',
|
|
4028
|
+
materialHash: 'material_hash',
|
|
4029
|
+
};
|
|
4030
|
+
}
|
|
4031
|
+
|
|
4032
|
+
static types(): { [key: string]: any } {
|
|
4033
|
+
return {
|
|
4034
|
+
authToken: 'string',
|
|
4035
|
+
productInstanceId: 'string',
|
|
4036
|
+
certifyId: 'string',
|
|
4037
|
+
outerOrderNo: 'string',
|
|
4038
|
+
sceneId: 'string',
|
|
4039
|
+
externParam: 'string',
|
|
4040
|
+
materialHash: 'string',
|
|
4041
|
+
};
|
|
4042
|
+
}
|
|
4043
|
+
|
|
4044
|
+
constructor(map?: { [key: string]: any }) {
|
|
4045
|
+
super(map);
|
|
4046
|
+
}
|
|
4047
|
+
}
|
|
4048
|
+
|
|
4049
|
+
export class QueryFaceverifyServerResponse extends $tea.Model {
|
|
4050
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
4051
|
+
reqMsgId?: string;
|
|
4052
|
+
// 结果码,一般OK表示调用成功
|
|
4053
|
+
resultCode?: string;
|
|
4054
|
+
// 异常信息的文本描述
|
|
4055
|
+
resultMsg?: string;
|
|
4056
|
+
// 认证的主体信息,一般的认证场景返回为空
|
|
4057
|
+
identityInfo?: string;
|
|
4058
|
+
// 认证主体附件信息,一般的认证场景都是返回空
|
|
4059
|
+
materialInfo?: string;
|
|
4060
|
+
// 认证材料哈希是否匹配
|
|
4061
|
+
materialMatched?: string;
|
|
4062
|
+
// 是否通过,通过为T,不通过为F
|
|
4063
|
+
passed?: string;
|
|
4064
|
+
// 业务失败原因
|
|
4065
|
+
reason?: string;
|
|
4066
|
+
static names(): { [key: string]: string } {
|
|
4067
|
+
return {
|
|
4068
|
+
reqMsgId: 'req_msg_id',
|
|
4069
|
+
resultCode: 'result_code',
|
|
4070
|
+
resultMsg: 'result_msg',
|
|
4071
|
+
identityInfo: 'identity_info',
|
|
4072
|
+
materialInfo: 'material_info',
|
|
4073
|
+
materialMatched: 'material_matched',
|
|
4074
|
+
passed: 'passed',
|
|
4075
|
+
reason: 'reason',
|
|
4076
|
+
};
|
|
4077
|
+
}
|
|
4078
|
+
|
|
4079
|
+
static types(): { [key: string]: any } {
|
|
4080
|
+
return {
|
|
4081
|
+
reqMsgId: 'string',
|
|
4082
|
+
resultCode: 'string',
|
|
4083
|
+
resultMsg: 'string',
|
|
4084
|
+
identityInfo: 'string',
|
|
4085
|
+
materialInfo: 'string',
|
|
4086
|
+
materialMatched: 'string',
|
|
4087
|
+
passed: 'string',
|
|
4088
|
+
reason: 'string',
|
|
4089
|
+
};
|
|
4090
|
+
}
|
|
4091
|
+
|
|
4092
|
+
constructor(map?: { [key: string]: any }) {
|
|
4093
|
+
super(map);
|
|
4094
|
+
}
|
|
4095
|
+
}
|
|
4096
|
+
|
|
4097
|
+
export class QueryBankLivenessplusRequest extends $tea.Model {
|
|
4098
|
+
// OAuth模式下的授权token
|
|
4099
|
+
authToken?: string;
|
|
4100
|
+
productInstanceId?: string;
|
|
4101
|
+
// 请求ID
|
|
4102
|
+
outerOrderNo: string;
|
|
4103
|
+
// 加密方式
|
|
4104
|
+
encryptType: string;
|
|
4105
|
+
// 身份证号
|
|
4106
|
+
certNo: string;
|
|
4107
|
+
// 银行编码
|
|
4108
|
+
bankCode: string;
|
|
4109
|
+
// 1=借记卡+贷记卡(默认);2=借记卡
|
|
4110
|
+
bankCardType?: string;
|
|
4111
|
+
// 姓名
|
|
4112
|
+
certName?: string;
|
|
4113
|
+
// 手机号码
|
|
4114
|
+
mobile?: string;
|
|
4115
|
+
// 扩展信息,预留字段
|
|
4116
|
+
externParam?: string;
|
|
4117
|
+
static names(): { [key: string]: string } {
|
|
4118
|
+
return {
|
|
4119
|
+
authToken: 'auth_token',
|
|
4120
|
+
productInstanceId: 'product_instance_id',
|
|
4121
|
+
outerOrderNo: 'outer_order_no',
|
|
4122
|
+
encryptType: 'encrypt_type',
|
|
4123
|
+
certNo: 'cert_no',
|
|
4124
|
+
bankCode: 'bank_code',
|
|
4125
|
+
bankCardType: 'bank_card_type',
|
|
4126
|
+
certName: 'cert_name',
|
|
4127
|
+
mobile: 'mobile',
|
|
4128
|
+
externParam: 'extern_param',
|
|
4129
|
+
};
|
|
4130
|
+
}
|
|
4131
|
+
|
|
4132
|
+
static types(): { [key: string]: any } {
|
|
4133
|
+
return {
|
|
4134
|
+
authToken: 'string',
|
|
4135
|
+
productInstanceId: 'string',
|
|
4136
|
+
outerOrderNo: 'string',
|
|
4137
|
+
encryptType: 'string',
|
|
4138
|
+
certNo: 'string',
|
|
4139
|
+
bankCode: 'string',
|
|
4140
|
+
bankCardType: 'string',
|
|
4141
|
+
certName: 'string',
|
|
4142
|
+
mobile: 'string',
|
|
4143
|
+
externParam: 'string',
|
|
4144
|
+
};
|
|
4145
|
+
}
|
|
4146
|
+
|
|
4147
|
+
constructor(map?: { [key: string]: any }) {
|
|
4148
|
+
super(map);
|
|
4149
|
+
}
|
|
4150
|
+
}
|
|
4151
|
+
|
|
4152
|
+
export class QueryBankLivenessplusResponse extends $tea.Model {
|
|
4153
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
4154
|
+
reqMsgId?: string;
|
|
4155
|
+
// 结果码,一般OK表示调用成功
|
|
4156
|
+
resultCode?: string;
|
|
4157
|
+
// 异常信息的文本描述
|
|
4158
|
+
resultMsg?: string;
|
|
4159
|
+
// 银行活跃度详情,可解析为JSONArray。
|
|
4160
|
+
livenessInfo?: string;
|
|
4161
|
+
// 扩展信息,预留字段
|
|
4162
|
+
externInfo?: string;
|
|
4163
|
+
static names(): { [key: string]: string } {
|
|
4164
|
+
return {
|
|
4165
|
+
reqMsgId: 'req_msg_id',
|
|
4166
|
+
resultCode: 'result_code',
|
|
4167
|
+
resultMsg: 'result_msg',
|
|
4168
|
+
livenessInfo: 'liveness_info',
|
|
4169
|
+
externInfo: 'extern_info',
|
|
4170
|
+
};
|
|
4171
|
+
}
|
|
4172
|
+
|
|
4173
|
+
static types(): { [key: string]: any } {
|
|
4174
|
+
return {
|
|
4175
|
+
reqMsgId: 'string',
|
|
4176
|
+
resultCode: 'string',
|
|
4177
|
+
resultMsg: 'string',
|
|
4178
|
+
livenessInfo: 'string',
|
|
4179
|
+
externInfo: 'string',
|
|
4180
|
+
};
|
|
4181
|
+
}
|
|
4182
|
+
|
|
4183
|
+
constructor(map?: { [key: string]: any }) {
|
|
4184
|
+
super(map);
|
|
4185
|
+
}
|
|
4186
|
+
}
|
|
4187
|
+
|
|
4188
|
+
export class ExecFaceverifyServermodeRequest extends $tea.Model {
|
|
4189
|
+
// OAuth模式下的授权token
|
|
4190
|
+
authToken?: string;
|
|
4191
|
+
productInstanceId?: string;
|
|
4192
|
+
// 真实姓名
|
|
4193
|
+
certName?: string;
|
|
4194
|
+
// 证件号码
|
|
4195
|
+
certNo?: string;
|
|
4196
|
+
// cert_name、cert_no两个字段的传入模式0:明文 1:密文
|
|
4197
|
+
encType?: string;
|
|
4198
|
+
// 证件类型,如身份证
|
|
4199
|
+
certType?: string;
|
|
4200
|
+
// 预留扩展参数
|
|
4201
|
+
externParam?: string;
|
|
4202
|
+
// 自定义比对源人脸图像,base64编码格式
|
|
4203
|
+
facialPictureRef?: string;
|
|
4204
|
+
// 身份信息来源类型,如证件
|
|
4205
|
+
identityType: string;
|
|
4206
|
+
// 外部唯一标识。用于定位。 值为32位长度的字母数字组合前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列
|
|
4207
|
+
outerOrderNo: string;
|
|
4208
|
+
// 场景ID
|
|
4209
|
+
sceneId: string;
|
|
4210
|
+
// 商户自定义的用户ID
|
|
4211
|
+
userId?: string;
|
|
4212
|
+
// 用户的IP
|
|
4213
|
+
userIp?: string;
|
|
4214
|
+
// 用户的手机号(或其哈希值)
|
|
4215
|
+
userMobile?: string;
|
|
4216
|
+
// 待认证的人脸图像,base64编码格式
|
|
4217
|
+
facialPictureAuth?: string;
|
|
4218
|
+
// 视频文件
|
|
4219
|
+
fileObject?: Readable;
|
|
4220
|
+
fileObjectName?: string;
|
|
4221
|
+
fileId?: string;
|
|
4222
|
+
static names(): { [key: string]: string } {
|
|
4223
|
+
return {
|
|
4224
|
+
authToken: 'auth_token',
|
|
4225
|
+
productInstanceId: 'product_instance_id',
|
|
4226
|
+
certName: 'cert_name',
|
|
4227
|
+
certNo: 'cert_no',
|
|
4228
|
+
encType: 'enc_type',
|
|
4229
|
+
certType: 'cert_type',
|
|
4230
|
+
externParam: 'extern_param',
|
|
4231
|
+
facialPictureRef: 'facial_picture_ref',
|
|
4232
|
+
identityType: 'identity_type',
|
|
4233
|
+
outerOrderNo: 'outer_order_no',
|
|
4234
|
+
sceneId: 'scene_id',
|
|
4235
|
+
userId: 'user_id',
|
|
4236
|
+
userIp: 'user_ip',
|
|
4237
|
+
userMobile: 'user_mobile',
|
|
4238
|
+
facialPictureAuth: 'facial_picture_auth',
|
|
4239
|
+
fileObject: 'fileObject',
|
|
4240
|
+
fileObjectName: 'fileObjectName',
|
|
4241
|
+
fileId: 'file_id',
|
|
4242
|
+
};
|
|
4243
|
+
}
|
|
4244
|
+
|
|
4245
|
+
static types(): { [key: string]: any } {
|
|
4246
|
+
return {
|
|
4247
|
+
authToken: 'string',
|
|
4248
|
+
productInstanceId: 'string',
|
|
4249
|
+
certName: 'string',
|
|
4250
|
+
certNo: 'string',
|
|
4251
|
+
encType: 'string',
|
|
4252
|
+
certType: 'string',
|
|
4253
|
+
externParam: 'string',
|
|
4254
|
+
facialPictureRef: 'string',
|
|
4255
|
+
identityType: 'string',
|
|
4256
|
+
outerOrderNo: 'string',
|
|
4257
|
+
sceneId: 'string',
|
|
4258
|
+
userId: 'string',
|
|
4259
|
+
userIp: 'string',
|
|
4260
|
+
userMobile: 'string',
|
|
4261
|
+
facialPictureAuth: 'string',
|
|
4262
|
+
fileObject: 'Readable',
|
|
4263
|
+
fileObjectName: 'string',
|
|
4264
|
+
fileId: 'string',
|
|
4265
|
+
};
|
|
4266
|
+
}
|
|
4267
|
+
|
|
4268
|
+
constructor(map?: { [key: string]: any }) {
|
|
4269
|
+
super(map);
|
|
4270
|
+
}
|
|
4271
|
+
}
|
|
4272
|
+
|
|
4273
|
+
export class ExecFaceverifyServermodeResponse extends $tea.Model {
|
|
4274
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
4275
|
+
reqMsgId?: string;
|
|
4276
|
+
// 结果码,一般OK表示调用成功
|
|
4277
|
+
resultCode?: string;
|
|
4278
|
+
// 异常信息的文本描述
|
|
4279
|
+
resultMsg?: string;
|
|
4280
|
+
// 认证ID
|
|
4281
|
+
certifyId?: string;
|
|
4282
|
+
// 是否通过,通过为T,不通过为F
|
|
4283
|
+
passed?: string;
|
|
4284
|
+
// 业务失败原因
|
|
4285
|
+
reason?: string;
|
|
4286
|
+
// 认证主体附件信息,包含共计类型等
|
|
4287
|
+
materialInfo?: string;
|
|
4288
|
+
static names(): { [key: string]: string } {
|
|
4289
|
+
return {
|
|
4290
|
+
reqMsgId: 'req_msg_id',
|
|
4291
|
+
resultCode: 'result_code',
|
|
4292
|
+
resultMsg: 'result_msg',
|
|
4293
|
+
certifyId: 'certify_id',
|
|
4294
|
+
passed: 'passed',
|
|
4295
|
+
reason: 'reason',
|
|
4296
|
+
materialInfo: 'material_info',
|
|
4297
|
+
};
|
|
4298
|
+
}
|
|
4299
|
+
|
|
4300
|
+
static types(): { [key: string]: any } {
|
|
4301
|
+
return {
|
|
4302
|
+
reqMsgId: 'string',
|
|
4303
|
+
resultCode: 'string',
|
|
4304
|
+
resultMsg: 'string',
|
|
4305
|
+
certifyId: 'string',
|
|
4306
|
+
passed: 'string',
|
|
4307
|
+
reason: 'string',
|
|
4308
|
+
materialInfo: 'string',
|
|
3629
4309
|
};
|
|
3630
4310
|
}
|
|
3631
4311
|
|
|
@@ -3634,20 +4314,68 @@ export class InitCarrierRepairmobileResponse extends $tea.Model {
|
|
|
3634
4314
|
}
|
|
3635
4315
|
}
|
|
3636
4316
|
|
|
3637
|
-
export class
|
|
4317
|
+
export class CreateAlipayverifyServerRequest extends $tea.Model {
|
|
3638
4318
|
// OAuth模式下的授权token
|
|
3639
4319
|
authToken?: string;
|
|
3640
4320
|
productInstanceId?: string;
|
|
3641
|
-
//
|
|
4321
|
+
// 外部唯一标识。用于定位。 值为32位长度的字母数字组合前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列
|
|
3642
4322
|
outerOrderNo: string;
|
|
3643
|
-
//
|
|
3644
|
-
|
|
4323
|
+
// 认证模式码
|
|
4324
|
+
bizCode: string;
|
|
4325
|
+
// 场景ID
|
|
4326
|
+
sceneId: string;
|
|
4327
|
+
// 身份信息来源类型,如证件
|
|
4328
|
+
identityType: string;
|
|
4329
|
+
// 证件类型,如身份证
|
|
4330
|
+
certType: string;
|
|
4331
|
+
// 真实姓名
|
|
4332
|
+
certName: string;
|
|
4333
|
+
// 证件号码
|
|
4334
|
+
certNo: string;
|
|
4335
|
+
// h5认证完成后,服务端回调此地址通知商户认证结果
|
|
4336
|
+
callbackUrl?: string;
|
|
4337
|
+
// cert_name、cert_no两个字段的传入模式。0:明文1:密文
|
|
4338
|
+
encType?: string;
|
|
4339
|
+
// 预留扩展参数
|
|
4340
|
+
externParam?: string;
|
|
4341
|
+
// 自定义比对源人脸图像,base64编码格式
|
|
4342
|
+
facialPictureRef?: string;
|
|
4343
|
+
// metainfo 环境参数,需要通过客户端 SDK 获取
|
|
4344
|
+
metaInfo?: string;
|
|
4345
|
+
// 回跳地址
|
|
4346
|
+
returnUrl?: string;
|
|
4347
|
+
// 商户自定义的用户ID
|
|
4348
|
+
userId?: string;
|
|
4349
|
+
// 用户的IP
|
|
4350
|
+
userIp?: string;
|
|
4351
|
+
// 用户的手机号
|
|
4352
|
+
userMobile?: string;
|
|
4353
|
+
// callbackUrl回调时是否需要重试,默认false(不需要重试)
|
|
4354
|
+
callbackNeedRetry?: string;
|
|
4355
|
+
// 活体检测的类型
|
|
4356
|
+
model?: string;
|
|
3645
4357
|
static names(): { [key: string]: string } {
|
|
3646
4358
|
return {
|
|
3647
4359
|
authToken: 'auth_token',
|
|
3648
4360
|
productInstanceId: 'product_instance_id',
|
|
3649
4361
|
outerOrderNo: 'outer_order_no',
|
|
3650
|
-
|
|
4362
|
+
bizCode: 'biz_code',
|
|
4363
|
+
sceneId: 'scene_id',
|
|
4364
|
+
identityType: 'identity_type',
|
|
4365
|
+
certType: 'cert_type',
|
|
4366
|
+
certName: 'cert_name',
|
|
4367
|
+
certNo: 'cert_no',
|
|
4368
|
+
callbackUrl: 'callback_url',
|
|
4369
|
+
encType: 'enc_type',
|
|
4370
|
+
externParam: 'extern_param',
|
|
4371
|
+
facialPictureRef: 'facial_picture_ref',
|
|
4372
|
+
metaInfo: 'meta_info',
|
|
4373
|
+
returnUrl: 'return_url',
|
|
4374
|
+
userId: 'user_id',
|
|
4375
|
+
userIp: 'user_ip',
|
|
4376
|
+
userMobile: 'user_mobile',
|
|
4377
|
+
callbackNeedRetry: 'callback_need_retry',
|
|
4378
|
+
model: 'model',
|
|
3651
4379
|
};
|
|
3652
4380
|
}
|
|
3653
4381
|
|
|
@@ -3656,7 +4384,23 @@ export class QueryCarrierRepairmobileRequest extends $tea.Model {
|
|
|
3656
4384
|
authToken: 'string',
|
|
3657
4385
|
productInstanceId: 'string',
|
|
3658
4386
|
outerOrderNo: 'string',
|
|
3659
|
-
|
|
4387
|
+
bizCode: 'string',
|
|
4388
|
+
sceneId: 'string',
|
|
4389
|
+
identityType: 'string',
|
|
4390
|
+
certType: 'string',
|
|
4391
|
+
certName: 'string',
|
|
4392
|
+
certNo: 'string',
|
|
4393
|
+
callbackUrl: 'string',
|
|
4394
|
+
encType: 'string',
|
|
4395
|
+
externParam: 'string',
|
|
4396
|
+
facialPictureRef: 'string',
|
|
4397
|
+
metaInfo: 'string',
|
|
4398
|
+
returnUrl: 'string',
|
|
4399
|
+
userId: 'string',
|
|
4400
|
+
userIp: 'string',
|
|
4401
|
+
userMobile: 'string',
|
|
4402
|
+
callbackNeedRetry: 'string',
|
|
4403
|
+
model: 'string',
|
|
3660
4404
|
};
|
|
3661
4405
|
}
|
|
3662
4406
|
|
|
@@ -3665,21 +4409,24 @@ export class QueryCarrierRepairmobileRequest extends $tea.Model {
|
|
|
3665
4409
|
}
|
|
3666
4410
|
}
|
|
3667
4411
|
|
|
3668
|
-
export class
|
|
4412
|
+
export class CreateAlipayverifyServerResponse extends $tea.Model {
|
|
3669
4413
|
// 请求唯一ID,用于链路跟踪和问题排查
|
|
3670
4414
|
reqMsgId?: string;
|
|
3671
4415
|
// 结果码,一般OK表示调用成功
|
|
3672
4416
|
resultCode?: string;
|
|
3673
4417
|
// 异常信息的文本描述
|
|
3674
4418
|
resultMsg?: string;
|
|
3675
|
-
//
|
|
3676
|
-
|
|
4419
|
+
// 实人认证唯一标识
|
|
4420
|
+
certifyId?: string;
|
|
4421
|
+
// 认证地址。只在特定场景返回。
|
|
4422
|
+
certifyUrl?: string;
|
|
3677
4423
|
static names(): { [key: string]: string } {
|
|
3678
4424
|
return {
|
|
3679
4425
|
reqMsgId: 'req_msg_id',
|
|
3680
4426
|
resultCode: 'result_code',
|
|
3681
4427
|
resultMsg: 'result_msg',
|
|
3682
|
-
|
|
4428
|
+
certifyId: 'certify_id',
|
|
4429
|
+
certifyUrl: 'certify_url',
|
|
3683
4430
|
};
|
|
3684
4431
|
}
|
|
3685
4432
|
|
|
@@ -3688,7 +4435,8 @@ export class QueryCarrierRepairmobileResponse extends $tea.Model {
|
|
|
3688
4435
|
reqMsgId: 'string',
|
|
3689
4436
|
resultCode: 'string',
|
|
3690
4437
|
resultMsg: 'string',
|
|
3691
|
-
|
|
4438
|
+
certifyId: 'string',
|
|
4439
|
+
certifyUrl: 'string',
|
|
3692
4440
|
};
|
|
3693
4441
|
}
|
|
3694
4442
|
|
|
@@ -3697,33 +4445,29 @@ export class QueryCarrierRepairmobileResponse extends $tea.Model {
|
|
|
3697
4445
|
}
|
|
3698
4446
|
}
|
|
3699
4447
|
|
|
3700
|
-
export class
|
|
4448
|
+
export class QueryAlipayverifyServerRequest extends $tea.Model {
|
|
3701
4449
|
// OAuth模式下的授权token
|
|
3702
4450
|
authToken?: string;
|
|
3703
4451
|
productInstanceId?: string;
|
|
3704
|
-
//
|
|
4452
|
+
// 实人认证唯一标识
|
|
4453
|
+
certifyId: string;
|
|
4454
|
+
// 外部唯一标识。用于定位。 值为32位长度的字母数字组合前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列
|
|
3705
4455
|
outerOrderNo: string;
|
|
3706
|
-
//
|
|
3707
|
-
|
|
3708
|
-
//
|
|
3709
|
-
|
|
3710
|
-
//
|
|
3711
|
-
|
|
3712
|
-
// 主叫号码
|
|
3713
|
-
mobileA: string;
|
|
3714
|
-
// 主叫类型1-手机号码 2-固话
|
|
3715
|
-
// 默认为1
|
|
3716
|
-
mobileType?: string;
|
|
4456
|
+
// 场景ID
|
|
4457
|
+
sceneId: string;
|
|
4458
|
+
// 预留扩展业务参数
|
|
4459
|
+
externParam?: string;
|
|
4460
|
+
// 认证材料(如人脸图像)的哈希
|
|
4461
|
+
materialHash?: string;
|
|
3717
4462
|
static names(): { [key: string]: string } {
|
|
3718
4463
|
return {
|
|
3719
4464
|
authToken: 'auth_token',
|
|
3720
4465
|
productInstanceId: 'product_instance_id',
|
|
4466
|
+
certifyId: 'certify_id',
|
|
3721
4467
|
outerOrderNo: 'outer_order_no',
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
mobileA: 'mobile_a',
|
|
3726
|
-
mobileType: 'mobile_type',
|
|
4468
|
+
sceneId: 'scene_id',
|
|
4469
|
+
externParam: 'extern_param',
|
|
4470
|
+
materialHash: 'material_hash',
|
|
3727
4471
|
};
|
|
3728
4472
|
}
|
|
3729
4473
|
|
|
@@ -3731,12 +4475,11 @@ export class BindCarrierRepairmobileRequest extends $tea.Model {
|
|
|
3731
4475
|
return {
|
|
3732
4476
|
authToken: 'string',
|
|
3733
4477
|
productInstanceId: 'string',
|
|
4478
|
+
certifyId: 'string',
|
|
3734
4479
|
outerOrderNo: 'string',
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
mobileA: 'string',
|
|
3739
|
-
mobileType: 'string',
|
|
4480
|
+
sceneId: 'string',
|
|
4481
|
+
externParam: 'string',
|
|
4482
|
+
materialHash: 'string',
|
|
3740
4483
|
};
|
|
3741
4484
|
}
|
|
3742
4485
|
|
|
@@ -3745,21 +4488,33 @@ export class BindCarrierRepairmobileRequest extends $tea.Model {
|
|
|
3745
4488
|
}
|
|
3746
4489
|
}
|
|
3747
4490
|
|
|
3748
|
-
export class
|
|
4491
|
+
export class QueryAlipayverifyServerResponse extends $tea.Model {
|
|
3749
4492
|
// 请求唯一ID,用于链路跟踪和问题排查
|
|
3750
4493
|
reqMsgId?: string;
|
|
3751
4494
|
// 结果码,一般OK表示调用成功
|
|
3752
4495
|
resultCode?: string;
|
|
3753
4496
|
// 异常信息的文本描述
|
|
3754
4497
|
resultMsg?: string;
|
|
3755
|
-
//
|
|
3756
|
-
|
|
4498
|
+
// 认证的主体信息,一般的认证场景返回为空
|
|
4499
|
+
identityInfo?: string;
|
|
4500
|
+
// 认证主体附件信息,一般的认证场景都是返回空
|
|
4501
|
+
materialInfo?: string;
|
|
4502
|
+
// 是否通过,通过为T,不通过为F
|
|
4503
|
+
materialMatched?: string;
|
|
4504
|
+
// 是否通过,通过为T,不通过为F
|
|
4505
|
+
passed?: string;
|
|
4506
|
+
// 业务失败原因
|
|
4507
|
+
reason?: string;
|
|
3757
4508
|
static names(): { [key: string]: string } {
|
|
3758
4509
|
return {
|
|
3759
4510
|
reqMsgId: 'req_msg_id',
|
|
3760
4511
|
resultCode: 'result_code',
|
|
3761
4512
|
resultMsg: 'result_msg',
|
|
3762
|
-
|
|
4513
|
+
identityInfo: 'identity_info',
|
|
4514
|
+
materialInfo: 'material_info',
|
|
4515
|
+
materialMatched: 'material_matched',
|
|
4516
|
+
passed: 'passed',
|
|
4517
|
+
reason: 'reason',
|
|
3763
4518
|
};
|
|
3764
4519
|
}
|
|
3765
4520
|
|
|
@@ -3768,7 +4523,11 @@ export class BindCarrierRepairmobileResponse extends $tea.Model {
|
|
|
3768
4523
|
reqMsgId: 'string',
|
|
3769
4524
|
resultCode: 'string',
|
|
3770
4525
|
resultMsg: 'string',
|
|
3771
|
-
|
|
4526
|
+
identityInfo: 'string',
|
|
4527
|
+
materialInfo: 'string',
|
|
4528
|
+
materialMatched: 'string',
|
|
4529
|
+
passed: 'string',
|
|
4530
|
+
reason: 'string',
|
|
3772
4531
|
};
|
|
3773
4532
|
}
|
|
3774
4533
|
|
|
@@ -3978,7 +4737,7 @@ export default class Client {
|
|
|
3978
4737
|
req_msg_id: AntchainUtil.getNonce(),
|
|
3979
4738
|
access_key: this._accessKeyId,
|
|
3980
4739
|
base_sdk_version: "TeaSDK-2.0",
|
|
3981
|
-
sdk_version: "1.
|
|
4740
|
+
sdk_version: "1.19.4",
|
|
3982
4741
|
_prod_code: "REALPERSON",
|
|
3983
4742
|
_prod_channel: "undefined",
|
|
3984
4743
|
};
|
|
@@ -4849,6 +5608,161 @@ export default class Client {
|
|
|
4849
5608
|
return $tea.cast<BindCarrierRepairmobileResponse>(await this.doRequest("1.0", "di.realperson.carrier.repairmobile.bind", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BindCarrierRepairmobileResponse({}));
|
|
4850
5609
|
}
|
|
4851
5610
|
|
|
5611
|
+
/**
|
|
5612
|
+
* Description: 外部机构数据上报
|
|
5613
|
+
* Summary: 外部机构数据上报
|
|
5614
|
+
*/
|
|
5615
|
+
async applyExtOrgdata(request: ApplyExtOrgdataRequest): Promise<ApplyExtOrgdataResponse> {
|
|
5616
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5617
|
+
let headers : {[key: string ]: string} = { };
|
|
5618
|
+
return await this.applyExtOrgdataEx(request, headers, runtime);
|
|
5619
|
+
}
|
|
5620
|
+
|
|
5621
|
+
/**
|
|
5622
|
+
* Description: 外部机构数据上报
|
|
5623
|
+
* Summary: 外部机构数据上报
|
|
5624
|
+
*/
|
|
5625
|
+
async applyExtOrgdataEx(request: ApplyExtOrgdataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyExtOrgdataResponse> {
|
|
5626
|
+
Util.validateModel(request);
|
|
5627
|
+
return $tea.cast<ApplyExtOrgdataResponse>(await this.doRequest("1.0", "di.realperson.ext.orgdata.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyExtOrgdataResponse({}));
|
|
5628
|
+
}
|
|
5629
|
+
|
|
5630
|
+
/**
|
|
5631
|
+
* Description: 数科刷脸服务端初始化接口
|
|
5632
|
+
* Summary: 数科刷脸服务端初始化接口
|
|
5633
|
+
*/
|
|
5634
|
+
async createFaceverifyServer(request: CreateFaceverifyServerRequest): Promise<CreateFaceverifyServerResponse> {
|
|
5635
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5636
|
+
let headers : {[key: string ]: string} = { };
|
|
5637
|
+
return await this.createFaceverifyServerEx(request, headers, runtime);
|
|
5638
|
+
}
|
|
5639
|
+
|
|
5640
|
+
/**
|
|
5641
|
+
* Description: 数科刷脸服务端初始化接口
|
|
5642
|
+
* Summary: 数科刷脸服务端初始化接口
|
|
5643
|
+
*/
|
|
5644
|
+
async createFaceverifyServerEx(request: CreateFaceverifyServerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateFaceverifyServerResponse> {
|
|
5645
|
+
Util.validateModel(request);
|
|
5646
|
+
return $tea.cast<CreateFaceverifyServerResponse>(await this.doRequest("1.0", "di.realperson.faceverify.server.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateFaceverifyServerResponse({}));
|
|
5647
|
+
}
|
|
5648
|
+
|
|
5649
|
+
/**
|
|
5650
|
+
* Description: 查询认证的结果和相关信息
|
|
5651
|
+
* Summary: 认证查询
|
|
5652
|
+
*/
|
|
5653
|
+
async queryFaceverifyServer(request: QueryFaceverifyServerRequest): Promise<QueryFaceverifyServerResponse> {
|
|
5654
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5655
|
+
let headers : {[key: string ]: string} = { };
|
|
5656
|
+
return await this.queryFaceverifyServerEx(request, headers, runtime);
|
|
5657
|
+
}
|
|
5658
|
+
|
|
5659
|
+
/**
|
|
5660
|
+
* Description: 查询认证的结果和相关信息
|
|
5661
|
+
* Summary: 认证查询
|
|
5662
|
+
*/
|
|
5663
|
+
async queryFaceverifyServerEx(request: QueryFaceverifyServerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryFaceverifyServerResponse> {
|
|
5664
|
+
Util.validateModel(request);
|
|
5665
|
+
return $tea.cast<QueryFaceverifyServerResponse>(await this.doRequest("1.0", "di.realperson.faceverify.server.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFaceverifyServerResponse({}));
|
|
5666
|
+
}
|
|
5667
|
+
|
|
5668
|
+
/**
|
|
5669
|
+
* Description: 个人银行卡状态增强版
|
|
5670
|
+
* Summary: 个人银行卡状态增强版
|
|
5671
|
+
*/
|
|
5672
|
+
async queryBankLivenessplus(request: QueryBankLivenessplusRequest): Promise<QueryBankLivenessplusResponse> {
|
|
5673
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5674
|
+
let headers : {[key: string ]: string} = { };
|
|
5675
|
+
return await this.queryBankLivenessplusEx(request, headers, runtime);
|
|
5676
|
+
}
|
|
5677
|
+
|
|
5678
|
+
/**
|
|
5679
|
+
* Description: 个人银行卡状态增强版
|
|
5680
|
+
* Summary: 个人银行卡状态增强版
|
|
5681
|
+
*/
|
|
5682
|
+
async queryBankLivenessplusEx(request: QueryBankLivenessplusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryBankLivenessplusResponse> {
|
|
5683
|
+
Util.validateModel(request);
|
|
5684
|
+
return $tea.cast<QueryBankLivenessplusResponse>(await this.doRequest("1.0", "di.realperson.bank.livenessplus.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryBankLivenessplusResponse({}));
|
|
5685
|
+
}
|
|
5686
|
+
|
|
5687
|
+
/**
|
|
5688
|
+
* Description: 纯服务端比对基础版本,直接输入待比对的图片,返回比对结果
|
|
5689
|
+
* Summary: 纯服务端比对基础版
|
|
5690
|
+
*/
|
|
5691
|
+
async execFaceverifyServermode(request: ExecFaceverifyServermodeRequest): Promise<ExecFaceverifyServermodeResponse> {
|
|
5692
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5693
|
+
let headers : {[key: string ]: string} = { };
|
|
5694
|
+
return await this.execFaceverifyServermodeEx(request, headers, runtime);
|
|
5695
|
+
}
|
|
5696
|
+
|
|
5697
|
+
/**
|
|
5698
|
+
* Description: 纯服务端比对基础版本,直接输入待比对的图片,返回比对结果
|
|
5699
|
+
* Summary: 纯服务端比对基础版
|
|
5700
|
+
*/
|
|
5701
|
+
async execFaceverifyServermodeEx(request: ExecFaceverifyServermodeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ExecFaceverifyServermodeResponse> {
|
|
5702
|
+
if (!Util.isUnset(request.fileObject)) {
|
|
5703
|
+
let uploadReq = new CreateAntcloudGatewayxFileUploadRequest({
|
|
5704
|
+
authToken: request.authToken,
|
|
5705
|
+
apiCode: "di.realperson.faceverify.servermode.exec",
|
|
5706
|
+
fileName: request.fileObjectName,
|
|
5707
|
+
});
|
|
5708
|
+
let uploadResp = await this.createAntcloudGatewayxFileUploadEx(uploadReq, headers, runtime);
|
|
5709
|
+
if (!AntchainUtil.isSuccess(uploadResp.resultCode, "ok")) {
|
|
5710
|
+
let execFaceverifyServermodeResponse = new ExecFaceverifyServermodeResponse({
|
|
5711
|
+
reqMsgId: uploadResp.reqMsgId,
|
|
5712
|
+
resultCode: uploadResp.resultCode,
|
|
5713
|
+
resultMsg: uploadResp.resultMsg,
|
|
5714
|
+
});
|
|
5715
|
+
return execFaceverifyServermodeResponse;
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5718
|
+
let uploadHeaders = AntchainUtil.parseUploadHeaders(uploadResp.uploadHeaders);
|
|
5719
|
+
await AntchainUtil.putObject(request.fileObject, uploadHeaders, uploadResp.uploadUrl);
|
|
5720
|
+
request.fileId = uploadResp.fileId;
|
|
5721
|
+
request.fileObject = null;
|
|
5722
|
+
}
|
|
5723
|
+
|
|
5724
|
+
Util.validateModel(request);
|
|
5725
|
+
return $tea.cast<ExecFaceverifyServermodeResponse>(await this.doRequest("1.0", "di.realperson.faceverify.servermode.exec", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ExecFaceverifyServermodeResponse({}));
|
|
5726
|
+
}
|
|
5727
|
+
|
|
5728
|
+
/**
|
|
5729
|
+
* Description: 支付宝实人认证初始化接口
|
|
5730
|
+
* Summary: 支付宝实人认证初始化接口
|
|
5731
|
+
*/
|
|
5732
|
+
async createAlipayverifyServer(request: CreateAlipayverifyServerRequest): Promise<CreateAlipayverifyServerResponse> {
|
|
5733
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5734
|
+
let headers : {[key: string ]: string} = { };
|
|
5735
|
+
return await this.createAlipayverifyServerEx(request, headers, runtime);
|
|
5736
|
+
}
|
|
5737
|
+
|
|
5738
|
+
/**
|
|
5739
|
+
* Description: 支付宝实人认证初始化接口
|
|
5740
|
+
* Summary: 支付宝实人认证初始化接口
|
|
5741
|
+
*/
|
|
5742
|
+
async createAlipayverifyServerEx(request: CreateAlipayverifyServerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateAlipayverifyServerResponse> {
|
|
5743
|
+
Util.validateModel(request);
|
|
5744
|
+
return $tea.cast<CreateAlipayverifyServerResponse>(await this.doRequest("1.0", "di.realperson.alipayverify.server.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateAlipayverifyServerResponse({}));
|
|
5745
|
+
}
|
|
5746
|
+
|
|
5747
|
+
/**
|
|
5748
|
+
* Description: 支付宝实人认证查询接口
|
|
5749
|
+
* Summary: 支付宝实人认证查询接口
|
|
5750
|
+
*/
|
|
5751
|
+
async queryAlipayverifyServer(request: QueryAlipayverifyServerRequest): Promise<QueryAlipayverifyServerResponse> {
|
|
5752
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5753
|
+
let headers : {[key: string ]: string} = { };
|
|
5754
|
+
return await this.queryAlipayverifyServerEx(request, headers, runtime);
|
|
5755
|
+
}
|
|
5756
|
+
|
|
5757
|
+
/**
|
|
5758
|
+
* Description: 支付宝实人认证查询接口
|
|
5759
|
+
* Summary: 支付宝实人认证查询接口
|
|
5760
|
+
*/
|
|
5761
|
+
async queryAlipayverifyServerEx(request: QueryAlipayverifyServerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryAlipayverifyServerResponse> {
|
|
5762
|
+
Util.validateModel(request);
|
|
5763
|
+
return $tea.cast<QueryAlipayverifyServerResponse>(await this.doRequest("1.0", "di.realperson.alipayverify.server.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryAlipayverifyServerResponse({}));
|
|
5764
|
+
}
|
|
5765
|
+
|
|
4852
5766
|
/**
|
|
4853
5767
|
* Description: 创建HTTP PUT提交的文件上传
|
|
4854
5768
|
* Summary: 文件上传创建
|