@antchain/realperson 1.15.4 → 1.15.18
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 +191 -0
- package/dist/client.js +310 -7
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +441 -5
package/src/client.ts
CHANGED
|
@@ -894,6 +894,10 @@ export class CheckRouteThreemetaResponse extends $tea.Model {
|
|
|
894
894
|
resultMsg?: string;
|
|
895
895
|
// true:匹配成功 false:匹配失败
|
|
896
896
|
match?: string;
|
|
897
|
+
// CHINA_TELECOM:中国电信
|
|
898
|
+
// CHINA_MOBILE:中国移动
|
|
899
|
+
// CHINA_UNICOM:中国联通
|
|
900
|
+
carrier?: string;
|
|
897
901
|
// 扩展信息,预留字段
|
|
898
902
|
externInfo?: string;
|
|
899
903
|
static names(): { [key: string]: string } {
|
|
@@ -902,6 +906,7 @@ export class CheckRouteThreemetaResponse extends $tea.Model {
|
|
|
902
906
|
resultCode: 'result_code',
|
|
903
907
|
resultMsg: 'result_msg',
|
|
904
908
|
match: 'match',
|
|
909
|
+
carrier: 'carrier',
|
|
905
910
|
externInfo: 'extern_info',
|
|
906
911
|
};
|
|
907
912
|
}
|
|
@@ -912,6 +917,7 @@ export class CheckRouteThreemetaResponse extends $tea.Model {
|
|
|
912
917
|
resultCode: 'string',
|
|
913
918
|
resultMsg: 'string',
|
|
914
919
|
match: 'string',
|
|
920
|
+
carrier: 'string',
|
|
915
921
|
externInfo: 'string',
|
|
916
922
|
};
|
|
917
923
|
}
|
|
@@ -1508,6 +1514,10 @@ export class QueryThreemetaOnlinetimeRequest extends $tea.Model {
|
|
|
1508
1514
|
divCarrier?: boolean;
|
|
1509
1515
|
// 运营商类型
|
|
1510
1516
|
carrier?: string;
|
|
1517
|
+
// 加密类型,填写时「支持加密」字段需要对应加密后赋值。默认使用明文模式
|
|
1518
|
+
// 0:明文
|
|
1519
|
+
// 1:MD5
|
|
1520
|
+
encryptType?: string;
|
|
1511
1521
|
// 扩展参数
|
|
1512
1522
|
externParam?: string;
|
|
1513
1523
|
static names(): { [key: string]: string } {
|
|
@@ -1520,6 +1530,7 @@ export class QueryThreemetaOnlinetimeRequest extends $tea.Model {
|
|
|
1520
1530
|
phoneNo: 'phone_no',
|
|
1521
1531
|
divCarrier: 'div_carrier',
|
|
1522
1532
|
carrier: 'carrier',
|
|
1533
|
+
encryptType: 'encrypt_type',
|
|
1523
1534
|
externParam: 'extern_param',
|
|
1524
1535
|
};
|
|
1525
1536
|
}
|
|
@@ -1534,6 +1545,7 @@ export class QueryThreemetaOnlinetimeRequest extends $tea.Model {
|
|
|
1534
1545
|
phoneNo: 'string',
|
|
1535
1546
|
divCarrier: 'boolean',
|
|
1536
1547
|
carrier: 'string',
|
|
1548
|
+
encryptType: 'string',
|
|
1537
1549
|
externParam: 'string',
|
|
1538
1550
|
};
|
|
1539
1551
|
}
|
|
@@ -1557,6 +1569,10 @@ export class QueryThreemetaOnlinetimeResponse extends $tea.Model {
|
|
|
1557
1569
|
// 4: [12,24)表示在⽹时⻓是 12~24 ⽉
|
|
1558
1570
|
// 5: [24,+)表示在⽹时⻓是 24个⽉及以上
|
|
1559
1571
|
lengthCode?: string;
|
|
1572
|
+
// CHINA_TELECOM:中国电信
|
|
1573
|
+
// CHINA_MOBILE:中国移动
|
|
1574
|
+
// CHINA_UNICOM:中国联通
|
|
1575
|
+
carrier?: string;
|
|
1560
1576
|
// 扩展信息,json格式
|
|
1561
1577
|
externInfo?: string;
|
|
1562
1578
|
static names(): { [key: string]: string } {
|
|
@@ -1565,6 +1581,7 @@ export class QueryThreemetaOnlinetimeResponse extends $tea.Model {
|
|
|
1565
1581
|
resultCode: 'result_code',
|
|
1566
1582
|
resultMsg: 'result_msg',
|
|
1567
1583
|
lengthCode: 'length_code',
|
|
1584
|
+
carrier: 'carrier',
|
|
1568
1585
|
externInfo: 'extern_info',
|
|
1569
1586
|
};
|
|
1570
1587
|
}
|
|
@@ -1575,6 +1592,7 @@ export class QueryThreemetaOnlinetimeResponse extends $tea.Model {
|
|
|
1575
1592
|
resultCode: 'string',
|
|
1576
1593
|
resultMsg: 'string',
|
|
1577
1594
|
lengthCode: 'string',
|
|
1595
|
+
carrier: 'string',
|
|
1578
1596
|
externInfo: 'string',
|
|
1579
1597
|
};
|
|
1580
1598
|
}
|
|
@@ -2556,15 +2574,19 @@ export class CheckCarrierTwometaRequest extends $tea.Model {
|
|
|
2556
2574
|
productInstanceId?: string;
|
|
2557
2575
|
// 外部请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位。
|
|
2558
2576
|
outerOrderNo: string;
|
|
2577
|
+
// 加密类型,填写时「支持加密」字段需要对应加密后赋值。默认使用明文模式
|
|
2578
|
+
// 0:明文
|
|
2579
|
+
// 1:MD5
|
|
2580
|
+
encryptType?: string;
|
|
2559
2581
|
// 要素入参模式:
|
|
2560
2582
|
// 1:手机号+姓名
|
|
2561
2583
|
// 2:手机号+身份证号
|
|
2562
2584
|
metaMode: string;
|
|
2563
|
-
//
|
|
2585
|
+
// 手机号码「支持加密」
|
|
2564
2586
|
mobile: string;
|
|
2565
|
-
//
|
|
2587
|
+
// 姓名「支持加密」
|
|
2566
2588
|
certName?: string;
|
|
2567
|
-
//
|
|
2589
|
+
// 身份证号「支持加密」
|
|
2568
2590
|
certNo?: string;
|
|
2569
2591
|
// 运营商类型:
|
|
2570
2592
|
// CHINA_TELECOM;
|
|
@@ -2578,6 +2600,7 @@ export class CheckCarrierTwometaRequest extends $tea.Model {
|
|
|
2578
2600
|
authToken: 'auth_token',
|
|
2579
2601
|
productInstanceId: 'product_instance_id',
|
|
2580
2602
|
outerOrderNo: 'outer_order_no',
|
|
2603
|
+
encryptType: 'encrypt_type',
|
|
2581
2604
|
metaMode: 'meta_mode',
|
|
2582
2605
|
mobile: 'mobile',
|
|
2583
2606
|
certName: 'cert_name',
|
|
@@ -2592,6 +2615,7 @@ export class CheckCarrierTwometaRequest extends $tea.Model {
|
|
|
2592
2615
|
authToken: 'string',
|
|
2593
2616
|
productInstanceId: 'string',
|
|
2594
2617
|
outerOrderNo: 'string',
|
|
2618
|
+
encryptType: 'string',
|
|
2595
2619
|
metaMode: 'string',
|
|
2596
2620
|
mobile: 'string',
|
|
2597
2621
|
certName: 'string',
|
|
@@ -2615,12 +2639,15 @@ export class CheckCarrierTwometaResponse extends $tea.Model {
|
|
|
2615
2639
|
resultMsg?: string;
|
|
2616
2640
|
// 扩展信息,为JSONObject。
|
|
2617
2641
|
externInfo?: string;
|
|
2642
|
+
// 运营商类型: CHINA_TELECOM; CHINA_MOBILE; CHINA_UNICOM
|
|
2643
|
+
carrier?: string;
|
|
2618
2644
|
static names(): { [key: string]: string } {
|
|
2619
2645
|
return {
|
|
2620
2646
|
reqMsgId: 'req_msg_id',
|
|
2621
2647
|
resultCode: 'result_code',
|
|
2622
2648
|
resultMsg: 'result_msg',
|
|
2623
2649
|
externInfo: 'extern_info',
|
|
2650
|
+
carrier: 'carrier',
|
|
2624
2651
|
};
|
|
2625
2652
|
}
|
|
2626
2653
|
|
|
@@ -2630,6 +2657,7 @@ export class CheckCarrierTwometaResponse extends $tea.Model {
|
|
|
2630
2657
|
resultCode: 'string',
|
|
2631
2658
|
resultMsg: 'string',
|
|
2632
2659
|
externInfo: 'string',
|
|
2660
|
+
carrier: 'string',
|
|
2633
2661
|
};
|
|
2634
2662
|
}
|
|
2635
2663
|
|
|
@@ -2835,6 +2863,9 @@ export class QuerySocialriskDetailRequest extends $tea.Model {
|
|
|
2835
2863
|
certNo: string;
|
|
2836
2864
|
// 扩展信息,预留字段
|
|
2837
2865
|
externParam?: string;
|
|
2866
|
+
//
|
|
2867
|
+
// 场景编号
|
|
2868
|
+
scene?: string;
|
|
2838
2869
|
static names(): { [key: string]: string } {
|
|
2839
2870
|
return {
|
|
2840
2871
|
authToken: 'auth_token',
|
|
@@ -2844,6 +2875,7 @@ export class QuerySocialriskDetailRequest extends $tea.Model {
|
|
|
2844
2875
|
certName: 'cert_name',
|
|
2845
2876
|
certNo: 'cert_no',
|
|
2846
2877
|
externParam: 'extern_param',
|
|
2878
|
+
scene: 'scene',
|
|
2847
2879
|
};
|
|
2848
2880
|
}
|
|
2849
2881
|
|
|
@@ -2856,6 +2888,7 @@ export class QuerySocialriskDetailRequest extends $tea.Model {
|
|
|
2856
2888
|
certName: 'string',
|
|
2857
2889
|
certNo: 'string',
|
|
2858
2890
|
externParam: 'string',
|
|
2891
|
+
scene: 'string',
|
|
2859
2892
|
};
|
|
2860
2893
|
}
|
|
2861
2894
|
|
|
@@ -2900,6 +2933,333 @@ export class QuerySocialriskDetailResponse extends $tea.Model {
|
|
|
2900
2933
|
}
|
|
2901
2934
|
}
|
|
2902
2935
|
|
|
2936
|
+
export class QueryCarrierNetstatusRequest extends $tea.Model {
|
|
2937
|
+
// OAuth模式下的授权token
|
|
2938
|
+
authToken?: string;
|
|
2939
|
+
productInstanceId?: string;
|
|
2940
|
+
// 外部请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位。
|
|
2941
|
+
outerOrderNo: string;
|
|
2942
|
+
// 手机号码「支持加密」
|
|
2943
|
+
mobile: string;
|
|
2944
|
+
// 运营商类型: CHINA_TELECOM; CHINA_MOBILE; CHINA_UNICOM
|
|
2945
|
+
carrier?: string;
|
|
2946
|
+
// 加密类型,填写时「支持加密」字段需要对应加密后赋值。默认使用明文模式
|
|
2947
|
+
// 0:明文
|
|
2948
|
+
// 1:MD5
|
|
2949
|
+
encryptType?: string;
|
|
2950
|
+
// 扩展信息,预留字段
|
|
2951
|
+
externParam: string;
|
|
2952
|
+
static names(): { [key: string]: string } {
|
|
2953
|
+
return {
|
|
2954
|
+
authToken: 'auth_token',
|
|
2955
|
+
productInstanceId: 'product_instance_id',
|
|
2956
|
+
outerOrderNo: 'outer_order_no',
|
|
2957
|
+
mobile: 'mobile',
|
|
2958
|
+
carrier: 'carrier',
|
|
2959
|
+
encryptType: 'encrypt_type',
|
|
2960
|
+
externParam: 'extern_param',
|
|
2961
|
+
};
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2964
|
+
static types(): { [key: string]: any } {
|
|
2965
|
+
return {
|
|
2966
|
+
authToken: 'string',
|
|
2967
|
+
productInstanceId: 'string',
|
|
2968
|
+
outerOrderNo: 'string',
|
|
2969
|
+
mobile: 'string',
|
|
2970
|
+
carrier: 'string',
|
|
2971
|
+
encryptType: 'string',
|
|
2972
|
+
externParam: 'string',
|
|
2973
|
+
};
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2976
|
+
constructor(map?: { [key: string]: any }) {
|
|
2977
|
+
super(map);
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
|
|
2981
|
+
export class QueryCarrierNetstatusResponse extends $tea.Model {
|
|
2982
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2983
|
+
reqMsgId?: string;
|
|
2984
|
+
// 结果码,一般OK表示调用成功
|
|
2985
|
+
resultCode?: string;
|
|
2986
|
+
// 异常信息的文本描述
|
|
2987
|
+
resultMsg?: string;
|
|
2988
|
+
// 在网状态结果值
|
|
2989
|
+
telNetworkStatus?: string;
|
|
2990
|
+
// 运营商类型: CHINA_TELECOM; CHINA_MOBILE; CHINA_UNICOM
|
|
2991
|
+
carrier?: string;
|
|
2992
|
+
// 扩展信息,为JSONObject。
|
|
2993
|
+
// 包含携号转网状态,字段名telNumberTransStatus,字段类型为字符串,字段值示例"1",描述:1-携号转网 0-未携号转网 2-未知
|
|
2994
|
+
externInfo?: string;
|
|
2995
|
+
static names(): { [key: string]: string } {
|
|
2996
|
+
return {
|
|
2997
|
+
reqMsgId: 'req_msg_id',
|
|
2998
|
+
resultCode: 'result_code',
|
|
2999
|
+
resultMsg: 'result_msg',
|
|
3000
|
+
telNetworkStatus: 'tel_network_status',
|
|
3001
|
+
carrier: 'carrier',
|
|
3002
|
+
externInfo: 'extern_info',
|
|
3003
|
+
};
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
static types(): { [key: string]: any } {
|
|
3007
|
+
return {
|
|
3008
|
+
reqMsgId: 'string',
|
|
3009
|
+
resultCode: 'string',
|
|
3010
|
+
resultMsg: 'string',
|
|
3011
|
+
telNetworkStatus: 'string',
|
|
3012
|
+
carrier: 'string',
|
|
3013
|
+
externInfo: 'string',
|
|
3014
|
+
};
|
|
3015
|
+
}
|
|
3016
|
+
|
|
3017
|
+
constructor(map?: { [key: string]: any }) {
|
|
3018
|
+
super(map);
|
|
3019
|
+
}
|
|
3020
|
+
}
|
|
3021
|
+
|
|
3022
|
+
export class QuerySocialriskBriefRequest extends $tea.Model {
|
|
3023
|
+
// OAuth模式下的授权token
|
|
3024
|
+
authToken?: string;
|
|
3025
|
+
productInstanceId?: string;
|
|
3026
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权抽查。
|
|
3027
|
+
outerOrderNo: string;
|
|
3028
|
+
// 场景编号
|
|
3029
|
+
scene?: string;
|
|
3030
|
+
// 入参加密模式: NONE:不加密; RSA:RSA加密; SM2:SM2加密。
|
|
3031
|
+
encType: string;
|
|
3032
|
+
//
|
|
3033
|
+
// 姓名(根据enc_type决定加密方式)
|
|
3034
|
+
certName?: string;
|
|
3035
|
+
// 身份证号(根据enc_type决定加密方式)
|
|
3036
|
+
certNo: string;
|
|
3037
|
+
// 扩展信息,预留字段
|
|
3038
|
+
externParam?: string;
|
|
3039
|
+
static names(): { [key: string]: string } {
|
|
3040
|
+
return {
|
|
3041
|
+
authToken: 'auth_token',
|
|
3042
|
+
productInstanceId: 'product_instance_id',
|
|
3043
|
+
outerOrderNo: 'outer_order_no',
|
|
3044
|
+
scene: 'scene',
|
|
3045
|
+
encType: 'enc_type',
|
|
3046
|
+
certName: 'cert_name',
|
|
3047
|
+
certNo: 'cert_no',
|
|
3048
|
+
externParam: 'extern_param',
|
|
3049
|
+
};
|
|
3050
|
+
}
|
|
3051
|
+
|
|
3052
|
+
static types(): { [key: string]: any } {
|
|
3053
|
+
return {
|
|
3054
|
+
authToken: 'string',
|
|
3055
|
+
productInstanceId: 'string',
|
|
3056
|
+
outerOrderNo: 'string',
|
|
3057
|
+
scene: 'string',
|
|
3058
|
+
encType: 'string',
|
|
3059
|
+
certName: 'string',
|
|
3060
|
+
certNo: 'string',
|
|
3061
|
+
externParam: 'string',
|
|
3062
|
+
};
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
constructor(map?: { [key: string]: any }) {
|
|
3066
|
+
super(map);
|
|
3067
|
+
}
|
|
3068
|
+
}
|
|
3069
|
+
|
|
3070
|
+
export class QuerySocialriskBriefResponse extends $tea.Model {
|
|
3071
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
3072
|
+
reqMsgId?: string;
|
|
3073
|
+
// 结果码,一般OK表示调用成功
|
|
3074
|
+
resultCode?: string;
|
|
3075
|
+
// 异常信息的文本描述
|
|
3076
|
+
resultMsg?: string;
|
|
3077
|
+
// 风险信息
|
|
3078
|
+
riskInfo?: string;
|
|
3079
|
+
// 扩展信息,预留字段。
|
|
3080
|
+
externInfo?: string;
|
|
3081
|
+
static names(): { [key: string]: string } {
|
|
3082
|
+
return {
|
|
3083
|
+
reqMsgId: 'req_msg_id',
|
|
3084
|
+
resultCode: 'result_code',
|
|
3085
|
+
resultMsg: 'result_msg',
|
|
3086
|
+
riskInfo: 'risk_info',
|
|
3087
|
+
externInfo: 'extern_info',
|
|
3088
|
+
};
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3091
|
+
static types(): { [key: string]: any } {
|
|
3092
|
+
return {
|
|
3093
|
+
reqMsgId: 'string',
|
|
3094
|
+
resultCode: 'string',
|
|
3095
|
+
resultMsg: 'string',
|
|
3096
|
+
riskInfo: 'string',
|
|
3097
|
+
externInfo: 'string',
|
|
3098
|
+
};
|
|
3099
|
+
}
|
|
3100
|
+
|
|
3101
|
+
constructor(map?: { [key: string]: any }) {
|
|
3102
|
+
super(map);
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3105
|
+
|
|
3106
|
+
export class QuerySocialriskTobriskRequest extends $tea.Model {
|
|
3107
|
+
// OAuth模式下的授权token
|
|
3108
|
+
authToken?: string;
|
|
3109
|
+
productInstanceId?: string;
|
|
3110
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权抽查。
|
|
3111
|
+
outerOrderNo: string;
|
|
3112
|
+
// 入参加密模式:
|
|
3113
|
+
// NONE:不加密;
|
|
3114
|
+
// RSA:RSA加密,请使用在示例代码中提供的公钥;
|
|
3115
|
+
// SM2:SM2加密,请使用在示例代码中提供的公钥。
|
|
3116
|
+
encType: string;
|
|
3117
|
+
// 身份证号(根据enc_type决定加密方式)
|
|
3118
|
+
certNo: string;
|
|
3119
|
+
// 扩展信息,预留字段
|
|
3120
|
+
externParam?: string;
|
|
3121
|
+
static names(): { [key: string]: string } {
|
|
3122
|
+
return {
|
|
3123
|
+
authToken: 'auth_token',
|
|
3124
|
+
productInstanceId: 'product_instance_id',
|
|
3125
|
+
outerOrderNo: 'outer_order_no',
|
|
3126
|
+
encType: 'enc_type',
|
|
3127
|
+
certNo: 'cert_no',
|
|
3128
|
+
externParam: 'extern_param',
|
|
3129
|
+
};
|
|
3130
|
+
}
|
|
3131
|
+
|
|
3132
|
+
static types(): { [key: string]: any } {
|
|
3133
|
+
return {
|
|
3134
|
+
authToken: 'string',
|
|
3135
|
+
productInstanceId: 'string',
|
|
3136
|
+
outerOrderNo: 'string',
|
|
3137
|
+
encType: 'string',
|
|
3138
|
+
certNo: 'string',
|
|
3139
|
+
externParam: 'string',
|
|
3140
|
+
};
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
constructor(map?: { [key: string]: any }) {
|
|
3144
|
+
super(map);
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
|
|
3148
|
+
export class QuerySocialriskTobriskResponse extends $tea.Model {
|
|
3149
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
3150
|
+
reqMsgId?: string;
|
|
3151
|
+
// 结果码,一般OK表示调用成功
|
|
3152
|
+
resultCode?: string;
|
|
3153
|
+
// 异常信息的文本描述
|
|
3154
|
+
resultMsg?: string;
|
|
3155
|
+
// 风险信息,为JSONObject
|
|
3156
|
+
riskInfo?: string;
|
|
3157
|
+
// STRING 扩展信息,预留字段。
|
|
3158
|
+
externInfo?: string;
|
|
3159
|
+
static names(): { [key: string]: string } {
|
|
3160
|
+
return {
|
|
3161
|
+
reqMsgId: 'req_msg_id',
|
|
3162
|
+
resultCode: 'result_code',
|
|
3163
|
+
resultMsg: 'result_msg',
|
|
3164
|
+
riskInfo: 'risk_info',
|
|
3165
|
+
externInfo: 'extern_info',
|
|
3166
|
+
};
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3169
|
+
static types(): { [key: string]: any } {
|
|
3170
|
+
return {
|
|
3171
|
+
reqMsgId: 'string',
|
|
3172
|
+
resultCode: 'string',
|
|
3173
|
+
resultMsg: 'string',
|
|
3174
|
+
riskInfo: 'string',
|
|
3175
|
+
externInfo: 'string',
|
|
3176
|
+
};
|
|
3177
|
+
}
|
|
3178
|
+
|
|
3179
|
+
constructor(map?: { [key: string]: any }) {
|
|
3180
|
+
super(map);
|
|
3181
|
+
}
|
|
3182
|
+
}
|
|
3183
|
+
|
|
3184
|
+
export class QueryZolozmetaThreemetamobilereuseRequest extends $tea.Model {
|
|
3185
|
+
// OAuth模式下的授权token
|
|
3186
|
+
authToken?: string;
|
|
3187
|
+
productInstanceId?: string;
|
|
3188
|
+
// 外部请求ID,由调用方自行生成并自行保证唯一,以便问题定位。
|
|
3189
|
+
outerOrderNo: string;
|
|
3190
|
+
// 手机号
|
|
3191
|
+
mobile: string;
|
|
3192
|
+
// 日期
|
|
3193
|
+
date: string;
|
|
3194
|
+
// 运营商类型
|
|
3195
|
+
carrier: string;
|
|
3196
|
+
// 扩展参数
|
|
3197
|
+
externParam: string;
|
|
3198
|
+
static names(): { [key: string]: string } {
|
|
3199
|
+
return {
|
|
3200
|
+
authToken: 'auth_token',
|
|
3201
|
+
productInstanceId: 'product_instance_id',
|
|
3202
|
+
outerOrderNo: 'outer_order_no',
|
|
3203
|
+
mobile: 'mobile',
|
|
3204
|
+
date: 'date',
|
|
3205
|
+
carrier: 'carrier',
|
|
3206
|
+
externParam: 'extern_param',
|
|
3207
|
+
};
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
static types(): { [key: string]: any } {
|
|
3211
|
+
return {
|
|
3212
|
+
authToken: 'string',
|
|
3213
|
+
productInstanceId: 'string',
|
|
3214
|
+
outerOrderNo: 'string',
|
|
3215
|
+
mobile: 'string',
|
|
3216
|
+
date: 'string',
|
|
3217
|
+
carrier: 'string',
|
|
3218
|
+
externParam: 'string',
|
|
3219
|
+
};
|
|
3220
|
+
}
|
|
3221
|
+
|
|
3222
|
+
constructor(map?: { [key: string]: any }) {
|
|
3223
|
+
super(map);
|
|
3224
|
+
}
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
export class QueryZolozmetaThreemetamobilereuseResponse extends $tea.Model {
|
|
3228
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
3229
|
+
reqMsgId?: string;
|
|
3230
|
+
// 结果码,一般OK表示调用成功
|
|
3231
|
+
resultCode?: string;
|
|
3232
|
+
// 异常信息的文本描述
|
|
3233
|
+
resultMsg?: string;
|
|
3234
|
+
// 是否二次放号
|
|
3235
|
+
phoneReuse?: string;
|
|
3236
|
+
// 扩展参数
|
|
3237
|
+
externInfo?: string;
|
|
3238
|
+
static names(): { [key: string]: string } {
|
|
3239
|
+
return {
|
|
3240
|
+
reqMsgId: 'req_msg_id',
|
|
3241
|
+
resultCode: 'result_code',
|
|
3242
|
+
resultMsg: 'result_msg',
|
|
3243
|
+
phoneReuse: 'phone_reuse',
|
|
3244
|
+
externInfo: 'extern_info',
|
|
3245
|
+
};
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
static types(): { [key: string]: any } {
|
|
3249
|
+
return {
|
|
3250
|
+
reqMsgId: 'string',
|
|
3251
|
+
resultCode: 'string',
|
|
3252
|
+
resultMsg: 'string',
|
|
3253
|
+
phoneReuse: 'string',
|
|
3254
|
+
externInfo: 'string',
|
|
3255
|
+
};
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3258
|
+
constructor(map?: { [key: string]: any }) {
|
|
3259
|
+
super(map);
|
|
3260
|
+
}
|
|
3261
|
+
}
|
|
3262
|
+
|
|
2903
3263
|
export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
2904
3264
|
// OAuth模式下的授权token
|
|
2905
3265
|
authToken?: string;
|
|
@@ -3015,7 +3375,7 @@ export default class Client {
|
|
|
3015
3375
|
* @param config config contains the necessary information to create a client
|
|
3016
3376
|
*/
|
|
3017
3377
|
constructor(config: Config) {
|
|
3018
|
-
if (Util.isUnset(
|
|
3378
|
+
if (Util.isUnset(config)) {
|
|
3019
3379
|
throw $tea.newError({
|
|
3020
3380
|
code: "ParameterMissing",
|
|
3021
3381
|
message: "'config' can not be unset",
|
|
@@ -3101,7 +3461,7 @@ export default class Client {
|
|
|
3101
3461
|
req_msg_id: AntchainUtil.getNonce(),
|
|
3102
3462
|
access_key: this._accessKeyId,
|
|
3103
3463
|
base_sdk_version: "TeaSDK-2.0",
|
|
3104
|
-
sdk_version: "1.15.
|
|
3464
|
+
sdk_version: "1.15.18",
|
|
3105
3465
|
_prod_code: "REALPERSON",
|
|
3106
3466
|
_prod_channel: "undefined",
|
|
3107
3467
|
};
|
|
@@ -3759,6 +4119,82 @@ export default class Client {
|
|
|
3759
4119
|
return $tea.cast<QuerySocialriskDetailResponse>(await this.doRequest("1.0", "di.realperson.socialrisk.detail.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySocialriskDetailResponse({}));
|
|
3760
4120
|
}
|
|
3761
4121
|
|
|
4122
|
+
/**
|
|
4123
|
+
* Description: 运营商在网状态查询
|
|
4124
|
+
* Summary: 运营商在网状态查询
|
|
4125
|
+
*/
|
|
4126
|
+
async queryCarrierNetstatus(request: QueryCarrierNetstatusRequest): Promise<QueryCarrierNetstatusResponse> {
|
|
4127
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4128
|
+
let headers : {[key: string ]: string} = { };
|
|
4129
|
+
return await this.queryCarrierNetstatusEx(request, headers, runtime);
|
|
4130
|
+
}
|
|
4131
|
+
|
|
4132
|
+
/**
|
|
4133
|
+
* Description: 运营商在网状态查询
|
|
4134
|
+
* Summary: 运营商在网状态查询
|
|
4135
|
+
*/
|
|
4136
|
+
async queryCarrierNetstatusEx(request: QueryCarrierNetstatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryCarrierNetstatusResponse> {
|
|
4137
|
+
Util.validateModel(request);
|
|
4138
|
+
return $tea.cast<QueryCarrierNetstatusResponse>(await this.doRequest("1.0", "di.realperson.carrier.netstatus.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCarrierNetstatusResponse({}));
|
|
4139
|
+
}
|
|
4140
|
+
|
|
4141
|
+
/**
|
|
4142
|
+
* Description: 社会安全风险(简版)
|
|
4143
|
+
* Summary: 社会安全风险(简版)
|
|
4144
|
+
*/
|
|
4145
|
+
async querySocialriskBrief(request: QuerySocialriskBriefRequest): Promise<QuerySocialriskBriefResponse> {
|
|
4146
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4147
|
+
let headers : {[key: string ]: string} = { };
|
|
4148
|
+
return await this.querySocialriskBriefEx(request, headers, runtime);
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* Description: 社会安全风险(简版)
|
|
4153
|
+
* Summary: 社会安全风险(简版)
|
|
4154
|
+
*/
|
|
4155
|
+
async querySocialriskBriefEx(request: QuerySocialriskBriefRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QuerySocialriskBriefResponse> {
|
|
4156
|
+
Util.validateModel(request);
|
|
4157
|
+
return $tea.cast<QuerySocialriskBriefResponse>(await this.doRequest("1.0", "di.realperson.socialrisk.brief.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySocialriskBriefResponse({}));
|
|
4158
|
+
}
|
|
4159
|
+
|
|
4160
|
+
/**
|
|
4161
|
+
* Description: 社会安全风险(tob风控版)
|
|
4162
|
+
* Summary: 社会安全风险(tob风控版)
|
|
4163
|
+
*/
|
|
4164
|
+
async querySocialriskTobrisk(request: QuerySocialriskTobriskRequest): Promise<QuerySocialriskTobriskResponse> {
|
|
4165
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4166
|
+
let headers : {[key: string ]: string} = { };
|
|
4167
|
+
return await this.querySocialriskTobriskEx(request, headers, runtime);
|
|
4168
|
+
}
|
|
4169
|
+
|
|
4170
|
+
/**
|
|
4171
|
+
* Description: 社会安全风险(tob风控版)
|
|
4172
|
+
* Summary: 社会安全风险(tob风控版)
|
|
4173
|
+
*/
|
|
4174
|
+
async querySocialriskTobriskEx(request: QuerySocialriskTobriskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QuerySocialriskTobriskResponse> {
|
|
4175
|
+
Util.validateModel(request);
|
|
4176
|
+
return $tea.cast<QuerySocialriskTobriskResponse>(await this.doRequest("1.0", "di.realperson.socialrisk.tobrisk.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySocialriskTobriskResponse({}));
|
|
4177
|
+
}
|
|
4178
|
+
|
|
4179
|
+
/**
|
|
4180
|
+
* Description: 个人运营商二次放号
|
|
4181
|
+
* Summary: 个人运营商二次放号-meta版本
|
|
4182
|
+
*/
|
|
4183
|
+
async queryZolozmetaThreemetamobilereuse(request: QueryZolozmetaThreemetamobilereuseRequest): Promise<QueryZolozmetaThreemetamobilereuseResponse> {
|
|
4184
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4185
|
+
let headers : {[key: string ]: string} = { };
|
|
4186
|
+
return await this.queryZolozmetaThreemetamobilereuseEx(request, headers, runtime);
|
|
4187
|
+
}
|
|
4188
|
+
|
|
4189
|
+
/**
|
|
4190
|
+
* Description: 个人运营商二次放号
|
|
4191
|
+
* Summary: 个人运营商二次放号-meta版本
|
|
4192
|
+
*/
|
|
4193
|
+
async queryZolozmetaThreemetamobilereuseEx(request: QueryZolozmetaThreemetamobilereuseRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryZolozmetaThreemetamobilereuseResponse> {
|
|
4194
|
+
Util.validateModel(request);
|
|
4195
|
+
return $tea.cast<QueryZolozmetaThreemetamobilereuseResponse>(await this.doRequest("1.0", "di.realperson.zolozmeta.threemetamobilereuse.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryZolozmetaThreemetamobilereuseResponse({}));
|
|
4196
|
+
}
|
|
4197
|
+
|
|
3762
4198
|
/**
|
|
3763
4199
|
* Description: 创建HTTP PUT提交的文件上传
|
|
3764
4200
|
* Summary: 文件上传创建
|