@antchain/realperson 1.22.44 → 1.23.2
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 +100 -0
- package/dist/client.js +152 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +221 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -9709,6 +9709,184 @@ export class VerificationUserVehicleResponse extends $tea.Model {
|
|
|
9709
9709
|
}
|
|
9710
9710
|
}
|
|
9711
9711
|
|
|
9712
|
+
export class QueryThreemetaPhonereuseproxRequest extends $tea.Model {
|
|
9713
|
+
// OAuth模式下的授权token
|
|
9714
|
+
authToken?: string;
|
|
9715
|
+
productInstanceId?: string;
|
|
9716
|
+
// 外部请求ID,由调用方自行生成并自行保证唯一,以便问题定位。
|
|
9717
|
+
outerOrderNo: string;
|
|
9718
|
+
// 手机号「支持加密」
|
|
9719
|
+
mobile: string;
|
|
9720
|
+
// 日期
|
|
9721
|
+
date: string;
|
|
9722
|
+
// 运营商类型
|
|
9723
|
+
carrier?: string;
|
|
9724
|
+
// 加密类型,填写时「支持加密」字段需要对应加密后赋值。默认使用明文模式 0:明文 1:MD5
|
|
9725
|
+
encryptType?: string;
|
|
9726
|
+
// 扩展参数
|
|
9727
|
+
externParam?: string;
|
|
9728
|
+
static names(): { [key: string]: string } {
|
|
9729
|
+
return {
|
|
9730
|
+
authToken: 'auth_token',
|
|
9731
|
+
productInstanceId: 'product_instance_id',
|
|
9732
|
+
outerOrderNo: 'outer_order_no',
|
|
9733
|
+
mobile: 'mobile',
|
|
9734
|
+
date: 'date',
|
|
9735
|
+
carrier: 'carrier',
|
|
9736
|
+
encryptType: 'encrypt_type',
|
|
9737
|
+
externParam: 'extern_param',
|
|
9738
|
+
};
|
|
9739
|
+
}
|
|
9740
|
+
|
|
9741
|
+
static types(): { [key: string]: any } {
|
|
9742
|
+
return {
|
|
9743
|
+
authToken: 'string',
|
|
9744
|
+
productInstanceId: 'string',
|
|
9745
|
+
outerOrderNo: 'string',
|
|
9746
|
+
mobile: 'string',
|
|
9747
|
+
date: 'string',
|
|
9748
|
+
carrier: 'string',
|
|
9749
|
+
encryptType: 'string',
|
|
9750
|
+
externParam: 'string',
|
|
9751
|
+
};
|
|
9752
|
+
}
|
|
9753
|
+
|
|
9754
|
+
constructor(map?: { [key: string]: any }) {
|
|
9755
|
+
super(map);
|
|
9756
|
+
}
|
|
9757
|
+
}
|
|
9758
|
+
|
|
9759
|
+
export class QueryThreemetaPhonereuseproxResponse extends $tea.Model {
|
|
9760
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
9761
|
+
reqMsgId?: string;
|
|
9762
|
+
// 结果码,一般OK表示调用成功
|
|
9763
|
+
resultCode?: string;
|
|
9764
|
+
// 异常信息的文本描述
|
|
9765
|
+
resultMsg?: string;
|
|
9766
|
+
// 是否二次放号
|
|
9767
|
+
phoneReuse?: string;
|
|
9768
|
+
// CHINA_TELECOM:中国电信
|
|
9769
|
+
// CHINA_MOBILE:中国移动
|
|
9770
|
+
// CHINA_UNICOM:中国联通
|
|
9771
|
+
carrier?: string;
|
|
9772
|
+
// 扩展参数
|
|
9773
|
+
externInfo?: string;
|
|
9774
|
+
static names(): { [key: string]: string } {
|
|
9775
|
+
return {
|
|
9776
|
+
reqMsgId: 'req_msg_id',
|
|
9777
|
+
resultCode: 'result_code',
|
|
9778
|
+
resultMsg: 'result_msg',
|
|
9779
|
+
phoneReuse: 'phone_reuse',
|
|
9780
|
+
carrier: 'carrier',
|
|
9781
|
+
externInfo: 'extern_info',
|
|
9782
|
+
};
|
|
9783
|
+
}
|
|
9784
|
+
|
|
9785
|
+
static types(): { [key: string]: any } {
|
|
9786
|
+
return {
|
|
9787
|
+
reqMsgId: 'string',
|
|
9788
|
+
resultCode: 'string',
|
|
9789
|
+
resultMsg: 'string',
|
|
9790
|
+
phoneReuse: 'string',
|
|
9791
|
+
carrier: 'string',
|
|
9792
|
+
externInfo: 'string',
|
|
9793
|
+
};
|
|
9794
|
+
}
|
|
9795
|
+
|
|
9796
|
+
constructor(map?: { [key: string]: any }) {
|
|
9797
|
+
super(map);
|
|
9798
|
+
}
|
|
9799
|
+
}
|
|
9800
|
+
|
|
9801
|
+
export class QueryThreemetaPhonereusexRequest extends $tea.Model {
|
|
9802
|
+
// OAuth模式下的授权token
|
|
9803
|
+
authToken?: string;
|
|
9804
|
+
productInstanceId?: string;
|
|
9805
|
+
// 外部请求ID,由调用方自行生成并自行保证唯一,以便问题定位。
|
|
9806
|
+
outerOrderNo: string;
|
|
9807
|
+
// 手机号「支持加密」
|
|
9808
|
+
mobile: string;
|
|
9809
|
+
// 日期
|
|
9810
|
+
date: string;
|
|
9811
|
+
// 运营商类型
|
|
9812
|
+
carrier?: string;
|
|
9813
|
+
// 加密类型,填写时「支持加密」字段需要对应加密后赋值。默认使用明文模式 0:明文 1:MD5
|
|
9814
|
+
encryptType?: string;
|
|
9815
|
+
// 扩展参数
|
|
9816
|
+
externParam?: string;
|
|
9817
|
+
static names(): { [key: string]: string } {
|
|
9818
|
+
return {
|
|
9819
|
+
authToken: 'auth_token',
|
|
9820
|
+
productInstanceId: 'product_instance_id',
|
|
9821
|
+
outerOrderNo: 'outer_order_no',
|
|
9822
|
+
mobile: 'mobile',
|
|
9823
|
+
date: 'date',
|
|
9824
|
+
carrier: 'carrier',
|
|
9825
|
+
encryptType: 'encrypt_type',
|
|
9826
|
+
externParam: 'extern_param',
|
|
9827
|
+
};
|
|
9828
|
+
}
|
|
9829
|
+
|
|
9830
|
+
static types(): { [key: string]: any } {
|
|
9831
|
+
return {
|
|
9832
|
+
authToken: 'string',
|
|
9833
|
+
productInstanceId: 'string',
|
|
9834
|
+
outerOrderNo: 'string',
|
|
9835
|
+
mobile: 'string',
|
|
9836
|
+
date: 'string',
|
|
9837
|
+
carrier: 'string',
|
|
9838
|
+
encryptType: 'string',
|
|
9839
|
+
externParam: 'string',
|
|
9840
|
+
};
|
|
9841
|
+
}
|
|
9842
|
+
|
|
9843
|
+
constructor(map?: { [key: string]: any }) {
|
|
9844
|
+
super(map);
|
|
9845
|
+
}
|
|
9846
|
+
}
|
|
9847
|
+
|
|
9848
|
+
export class QueryThreemetaPhonereusexResponse extends $tea.Model {
|
|
9849
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
9850
|
+
reqMsgId?: string;
|
|
9851
|
+
// 结果码,一般OK表示调用成功
|
|
9852
|
+
resultCode?: string;
|
|
9853
|
+
// 异常信息的文本描述
|
|
9854
|
+
resultMsg?: string;
|
|
9855
|
+
// 是否二次放号
|
|
9856
|
+
phoneReuse?: string;
|
|
9857
|
+
// CHINA_TELECOM:中国电信
|
|
9858
|
+
// CHINA_MOBILE:中国移动
|
|
9859
|
+
// CHINA_UNICOM:中国联通
|
|
9860
|
+
carrier?: string;
|
|
9861
|
+
// 扩展参数
|
|
9862
|
+
externInfo?: string;
|
|
9863
|
+
static names(): { [key: string]: string } {
|
|
9864
|
+
return {
|
|
9865
|
+
reqMsgId: 'req_msg_id',
|
|
9866
|
+
resultCode: 'result_code',
|
|
9867
|
+
resultMsg: 'result_msg',
|
|
9868
|
+
phoneReuse: 'phone_reuse',
|
|
9869
|
+
carrier: 'carrier',
|
|
9870
|
+
externInfo: 'extern_info',
|
|
9871
|
+
};
|
|
9872
|
+
}
|
|
9873
|
+
|
|
9874
|
+
static types(): { [key: string]: any } {
|
|
9875
|
+
return {
|
|
9876
|
+
reqMsgId: 'string',
|
|
9877
|
+
resultCode: 'string',
|
|
9878
|
+
resultMsg: 'string',
|
|
9879
|
+
phoneReuse: 'string',
|
|
9880
|
+
carrier: 'string',
|
|
9881
|
+
externInfo: 'string',
|
|
9882
|
+
};
|
|
9883
|
+
}
|
|
9884
|
+
|
|
9885
|
+
constructor(map?: { [key: string]: any }) {
|
|
9886
|
+
super(map);
|
|
9887
|
+
}
|
|
9888
|
+
}
|
|
9889
|
+
|
|
9712
9890
|
export class InitServerWillauthRequest extends $tea.Model {
|
|
9713
9891
|
// OAuth模式下的授权token
|
|
9714
9892
|
authToken?: string;
|
|
@@ -10650,7 +10828,7 @@ export default class Client {
|
|
|
10650
10828
|
req_msg_id: AntchainUtil.getNonce(),
|
|
10651
10829
|
access_key: this._accessKeyId,
|
|
10652
10830
|
base_sdk_version: "TeaSDK-2.0",
|
|
10653
|
-
sdk_version: "1.
|
|
10831
|
+
sdk_version: "1.23.2",
|
|
10654
10832
|
_prod_code: "REALPERSON",
|
|
10655
10833
|
_prod_channel: "undefined",
|
|
10656
10834
|
};
|
|
@@ -12618,6 +12796,48 @@ export default class Client {
|
|
|
12618
12796
|
return $tea.cast<VerificationUserVehicleResponse>(await this.doRequest("1.0", "di.realperson.user.vehicle.verification", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new VerificationUserVehicleResponse({}));
|
|
12619
12797
|
}
|
|
12620
12798
|
|
|
12799
|
+
/**
|
|
12800
|
+
* @remarks
|
|
12801
|
+
* Description: 运营商二次放号增强版扩展接口
|
|
12802
|
+
* Summary: 运营商二次放号增强版扩展接口
|
|
12803
|
+
*/
|
|
12804
|
+
async queryThreemetaPhonereuseprox(request: QueryThreemetaPhonereuseproxRequest): Promise<QueryThreemetaPhonereuseproxResponse> {
|
|
12805
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12806
|
+
let headers : {[key: string ]: string} = { };
|
|
12807
|
+
return await this.queryThreemetaPhonereuseproxEx(request, headers, runtime);
|
|
12808
|
+
}
|
|
12809
|
+
|
|
12810
|
+
/**
|
|
12811
|
+
* @remarks
|
|
12812
|
+
* Description: 运营商二次放号增强版扩展接口
|
|
12813
|
+
* Summary: 运营商二次放号增强版扩展接口
|
|
12814
|
+
*/
|
|
12815
|
+
async queryThreemetaPhonereuseproxEx(request: QueryThreemetaPhonereuseproxRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryThreemetaPhonereuseproxResponse> {
|
|
12816
|
+
Util.validateModel(request);
|
|
12817
|
+
return $tea.cast<QueryThreemetaPhonereuseproxResponse>(await this.doRequest("1.0", "di.realperson.threemeta.phonereuseprox.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryThreemetaPhonereuseproxResponse({}));
|
|
12818
|
+
}
|
|
12819
|
+
|
|
12820
|
+
/**
|
|
12821
|
+
* @remarks
|
|
12822
|
+
* Description: 运营商二次放号扩展接口
|
|
12823
|
+
* Summary: 运营商二次放号扩展接口
|
|
12824
|
+
*/
|
|
12825
|
+
async queryThreemetaPhonereusex(request: QueryThreemetaPhonereusexRequest): Promise<QueryThreemetaPhonereusexResponse> {
|
|
12826
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12827
|
+
let headers : {[key: string ]: string} = { };
|
|
12828
|
+
return await this.queryThreemetaPhonereusexEx(request, headers, runtime);
|
|
12829
|
+
}
|
|
12830
|
+
|
|
12831
|
+
/**
|
|
12832
|
+
* @remarks
|
|
12833
|
+
* Description: 运营商二次放号扩展接口
|
|
12834
|
+
* Summary: 运营商二次放号扩展接口
|
|
12835
|
+
*/
|
|
12836
|
+
async queryThreemetaPhonereusexEx(request: QueryThreemetaPhonereusexRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryThreemetaPhonereusexResponse> {
|
|
12837
|
+
Util.validateModel(request);
|
|
12838
|
+
return $tea.cast<QueryThreemetaPhonereusexResponse>(await this.doRequest("1.0", "di.realperson.threemeta.phonereusex.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryThreemetaPhonereusexResponse({}));
|
|
12839
|
+
}
|
|
12840
|
+
|
|
12621
12841
|
/**
|
|
12622
12842
|
* @remarks
|
|
12623
12843
|
* Description: 意愿认证服务端初始化
|