@antchain/realperson 1.22.6 → 1.22.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antchain/realperson",
3
- "version": "1.22.6",
3
+ "version": "1.22.11",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -523,6 +523,35 @@ export class OcrInfo extends $tea.Model {
523
523
  }
524
524
  }
525
525
 
526
+ // 车辆资产验证增强版车辆信息
527
+ export class CarInfoPlus extends $tea.Model {
528
+ // 车牌号
529
+ plateNo?: string;
530
+ // 车辆型号,格式:1,2,3...
531
+ model?: string;
532
+ // 车辆颜色,格式:1,2,3
533
+ color?: string;
534
+ static names(): { [key: string]: string } {
535
+ return {
536
+ plateNo: 'plate_no',
537
+ model: 'model',
538
+ color: 'color',
539
+ };
540
+ }
541
+
542
+ static types(): { [key: string]: any } {
543
+ return {
544
+ plateNo: 'string',
545
+ model: 'string',
546
+ color: 'string',
547
+ };
548
+ }
549
+
550
+ constructor(map?: { [key: string]: any }) {
551
+ super(map);
552
+ }
553
+ }
554
+
526
555
  // 车辆资产验证详版车辆信息
527
556
  export class CarInfoDetail extends $tea.Model {
528
557
  // 车辆型号
@@ -725,6 +754,35 @@ export class CarInfoBrief extends $tea.Model {
725
754
  }
726
755
  }
727
756
 
757
+ // 车辆资产验证旗舰版车辆信息
758
+ export class CarInfo extends $tea.Model {
759
+ // 是否高频使用,格式:YES/NO
760
+ highFrequency?: string;
761
+ // 车辆价值区间,格式:1,2,3...
762
+ value?: string;
763
+ // 车辆类型,格式:1,2,3
764
+ type?: string;
765
+ static names(): { [key: string]: string } {
766
+ return {
767
+ highFrequency: 'high_frequency',
768
+ value: 'value',
769
+ type: 'type',
770
+ };
771
+ }
772
+
773
+ static types(): { [key: string]: any } {
774
+ return {
775
+ highFrequency: 'string',
776
+ value: 'string',
777
+ type: 'string',
778
+ };
779
+ }
780
+
781
+ constructor(map?: { [key: string]: any }) {
782
+ super(map);
783
+ }
784
+ }
785
+
728
786
  // 键值对
729
787
  export class XNameValuePair extends $tea.Model {
730
788
  // 键名
@@ -4182,6 +4240,10 @@ export class InitCarrierRepairmobileRequest extends $tea.Model {
4182
4240
  name: string;
4183
4241
  // 曾用手机号码,使用入参加密模式加密
4184
4242
  mobile?: string;
4243
+ // 场景值
4244
+ scene?: string;
4245
+ // 扩展信息,预留字段
4246
+ externParam?: string;
4185
4247
  static names(): { [key: string]: string } {
4186
4248
  return {
4187
4249
  authToken: 'auth_token',
@@ -4193,6 +4255,8 @@ export class InitCarrierRepairmobileRequest extends $tea.Model {
4193
4255
  certNo: 'cert_no',
4194
4256
  name: 'name',
4195
4257
  mobile: 'mobile',
4258
+ scene: 'scene',
4259
+ externParam: 'extern_param',
4196
4260
  };
4197
4261
  }
4198
4262
 
@@ -4207,6 +4271,8 @@ export class InitCarrierRepairmobileRequest extends $tea.Model {
4207
4271
  certNo: 'string',
4208
4272
  name: 'string',
4209
4273
  mobile: 'string',
4274
+ scene: 'string',
4275
+ externParam: 'string',
4210
4276
  };
4211
4277
  }
4212
4278
 
@@ -4255,12 +4321,18 @@ export class QueryCarrierRepairmobileRequest extends $tea.Model {
4255
4321
  outerOrderNo: string;
4256
4322
  // 失联修复初始化的流程ID
4257
4323
  processId: string;
4324
+ // 场景值
4325
+ scene?: string;
4326
+ // 扩展信息,预留字段
4327
+ externParam?: string;
4258
4328
  static names(): { [key: string]: string } {
4259
4329
  return {
4260
4330
  authToken: 'auth_token',
4261
4331
  productInstanceId: 'product_instance_id',
4262
4332
  outerOrderNo: 'outer_order_no',
4263
4333
  processId: 'process_id',
4334
+ scene: 'scene',
4335
+ externParam: 'extern_param',
4264
4336
  };
4265
4337
  }
4266
4338
 
@@ -4270,6 +4342,8 @@ export class QueryCarrierRepairmobileRequest extends $tea.Model {
4270
4342
  productInstanceId: 'string',
4271
4343
  outerOrderNo: 'string',
4272
4344
  processId: 'string',
4345
+ scene: 'string',
4346
+ externParam: 'string',
4273
4347
  };
4274
4348
  }
4275
4349
 
@@ -4327,6 +4401,10 @@ export class BindCarrierRepairmobileRequest extends $tea.Model {
4327
4401
  // 主叫类型1-手机号码 2-固话
4328
4402
  // 默认为1
4329
4403
  mobileType?: string;
4404
+ // 场景值
4405
+ scene?: string;
4406
+ // 扩展信息,预留字段
4407
+ externParam?: string;
4330
4408
  static names(): { [key: string]: string } {
4331
4409
  return {
4332
4410
  authToken: 'auth_token',
@@ -4337,6 +4415,8 @@ export class BindCarrierRepairmobileRequest extends $tea.Model {
4337
4415
  mobileNum: 'mobile_num',
4338
4416
  mobileA: 'mobile_a',
4339
4417
  mobileType: 'mobile_type',
4418
+ scene: 'scene',
4419
+ externParam: 'extern_param',
4340
4420
  };
4341
4421
  }
4342
4422
 
@@ -4350,6 +4430,8 @@ export class BindCarrierRepairmobileRequest extends $tea.Model {
4350
4430
  mobileNum: 'string',
4351
4431
  mobileA: 'string',
4352
4432
  mobileType: 'string',
4433
+ scene: 'string',
4434
+ externParam: 'string',
4353
4435
  };
4354
4436
  }
4355
4437
 
@@ -6284,7 +6366,7 @@ export class ApplyCutpaymentPaymentRequest extends $tea.Model {
6284
6366
  // 有效期
6285
6367
  validDate?: string;
6286
6368
  // 分账信息
6287
- shareInfo?: ShareInfo[];
6369
+ shareInfo?: string;
6288
6370
  static names(): { [key: string]: string } {
6289
6371
  return {
6290
6372
  authToken: 'auth_token',
@@ -6319,7 +6401,7 @@ export class ApplyCutpaymentPaymentRequest extends $tea.Model {
6319
6401
  userId: 'string',
6320
6402
  securityCode: 'string',
6321
6403
  validDate: 'string',
6322
- shareInfo: { 'type': 'array', 'itemType': ShareInfo },
6404
+ shareInfo: 'string',
6323
6405
  };
6324
6406
  }
6325
6407
 
@@ -6506,7 +6588,7 @@ export class ApplyCutpaymentRefundRequest extends $tea.Model {
6506
6588
  // 退款金额,整数,单位:分
6507
6589
  refundAmt: string;
6508
6590
  // 分账退款信息
6509
- shareRefundInfo?: ShareRefundInfo[];
6591
+ shareRefundInfo?: string;
6510
6592
  static names(): { [key: string]: string } {
6511
6593
  return {
6512
6594
  authToken: 'auth_token',
@@ -6539,7 +6621,7 @@ export class ApplyCutpaymentRefundRequest extends $tea.Model {
6539
6621
  refundSerialNo: 'string',
6540
6622
  refundReason: 'string',
6541
6623
  refundAmt: 'string',
6542
- shareRefundInfo: { 'type': 'array', 'itemType': ShareRefundInfo },
6624
+ shareRefundInfo: 'string',
6543
6625
  };
6544
6626
  }
6545
6627
 
@@ -6814,6 +6896,172 @@ export class ExecFaceThreemetaResponse extends $tea.Model {
6814
6896
  }
6815
6897
  }
6816
6898
 
6899
+ export class QueryCarinfoUltimateRequest extends $tea.Model {
6900
+ // OAuth模式下的授权token
6901
+ authToken?: string;
6902
+ productInstanceId?: string;
6903
+ // 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
6904
+ outerOrderNo: string;
6905
+ // 入参加密模式:
6906
+ // NONE:不加密;
6907
+ // MD5:手机号码字段以MD5加密后的字符串传输
6908
+ reqEncType?: string;
6909
+ // 手机号支持明文和 MD5
6910
+ mobile: string;
6911
+ // 扩展信息,预留字段
6912
+ //
6913
+ externInfo?: string;
6914
+ static names(): { [key: string]: string } {
6915
+ return {
6916
+ authToken: 'auth_token',
6917
+ productInstanceId: 'product_instance_id',
6918
+ outerOrderNo: 'outer_order_no',
6919
+ reqEncType: 'req_enc_type',
6920
+ mobile: 'mobile',
6921
+ externInfo: 'extern_info',
6922
+ };
6923
+ }
6924
+
6925
+ static types(): { [key: string]: any } {
6926
+ return {
6927
+ authToken: 'string',
6928
+ productInstanceId: 'string',
6929
+ outerOrderNo: 'string',
6930
+ reqEncType: 'string',
6931
+ mobile: 'string',
6932
+ externInfo: 'string',
6933
+ };
6934
+ }
6935
+
6936
+ constructor(map?: { [key: string]: any }) {
6937
+ super(map);
6938
+ }
6939
+ }
6940
+
6941
+ export class QueryCarinfoUltimateResponse extends $tea.Model {
6942
+ // 请求唯一ID,用于链路跟踪和问题排查
6943
+ reqMsgId?: string;
6944
+ // 结果码,一般OK表示调用成功
6945
+ resultCode?: string;
6946
+ // 异常信息的文本描述
6947
+ resultMsg?: string;
6948
+ // 扩展信息,为JSONObject。
6949
+ //
6950
+ externInfo?: string;
6951
+ // 用户名下车辆数量,格式:1,2,3...
6952
+ amont?: string;
6953
+ // 车辆信息
6954
+ carInfos?: CarInfo[];
6955
+ static names(): { [key: string]: string } {
6956
+ return {
6957
+ reqMsgId: 'req_msg_id',
6958
+ resultCode: 'result_code',
6959
+ resultMsg: 'result_msg',
6960
+ externInfo: 'extern_info',
6961
+ amont: 'amont',
6962
+ carInfos: 'car_infos',
6963
+ };
6964
+ }
6965
+
6966
+ static types(): { [key: string]: any } {
6967
+ return {
6968
+ reqMsgId: 'string',
6969
+ resultCode: 'string',
6970
+ resultMsg: 'string',
6971
+ externInfo: 'string',
6972
+ amont: 'string',
6973
+ carInfos: { 'type': 'array', 'itemType': CarInfo },
6974
+ };
6975
+ }
6976
+
6977
+ constructor(map?: { [key: string]: any }) {
6978
+ super(map);
6979
+ }
6980
+ }
6981
+
6982
+ export class QueryCarinfoPlusRequest extends $tea.Model {
6983
+ // OAuth模式下的授权token
6984
+ authToken?: string;
6985
+ productInstanceId?: string;
6986
+ // 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
6987
+ outerOrderNo: string;
6988
+ // 入参加密模式:
6989
+ // NONE:不加密;
6990
+ // MD5:手机号码字段以MD5加密后的字符串传输
6991
+ reqEncType?: string;
6992
+ // 身份证号
6993
+ certNo: string;
6994
+ // 扩展信息,预留字段
6995
+ //
6996
+ externInfo?: string;
6997
+ static names(): { [key: string]: string } {
6998
+ return {
6999
+ authToken: 'auth_token',
7000
+ productInstanceId: 'product_instance_id',
7001
+ outerOrderNo: 'outer_order_no',
7002
+ reqEncType: 'req_enc_type',
7003
+ certNo: 'cert_no',
7004
+ externInfo: 'extern_info',
7005
+ };
7006
+ }
7007
+
7008
+ static types(): { [key: string]: any } {
7009
+ return {
7010
+ authToken: 'string',
7011
+ productInstanceId: 'string',
7012
+ outerOrderNo: 'string',
7013
+ reqEncType: 'string',
7014
+ certNo: 'string',
7015
+ externInfo: 'string',
7016
+ };
7017
+ }
7018
+
7019
+ constructor(map?: { [key: string]: any }) {
7020
+ super(map);
7021
+ }
7022
+ }
7023
+
7024
+ export class QueryCarinfoPlusResponse extends $tea.Model {
7025
+ // 请求唯一ID,用于链路跟踪和问题排查
7026
+ reqMsgId?: string;
7027
+ // 结果码,一般OK表示调用成功
7028
+ resultCode?: string;
7029
+ // 异常信息的文本描述
7030
+ resultMsg?: string;
7031
+ // 扩展信息,为JSONObject。
7032
+ //
7033
+ externInfo?: string;
7034
+ // 用户名下车辆数量,格式:1,2,3...
7035
+ amont?: string;
7036
+ // 车辆信息
7037
+ carInfos?: CarInfoPlus[];
7038
+ static names(): { [key: string]: string } {
7039
+ return {
7040
+ reqMsgId: 'req_msg_id',
7041
+ resultCode: 'result_code',
7042
+ resultMsg: 'result_msg',
7043
+ externInfo: 'extern_info',
7044
+ amont: 'amont',
7045
+ carInfos: 'car_infos',
7046
+ };
7047
+ }
7048
+
7049
+ static types(): { [key: string]: any } {
7050
+ return {
7051
+ reqMsgId: 'string',
7052
+ resultCode: 'string',
7053
+ resultMsg: 'string',
7054
+ externInfo: 'string',
7055
+ amont: 'string',
7056
+ carInfos: { 'type': 'array', 'itemType': CarInfoPlus },
7057
+ };
7058
+ }
7059
+
7060
+ constructor(map?: { [key: string]: any }) {
7061
+ super(map);
7062
+ }
7063
+ }
7064
+
6817
7065
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
6818
7066
  // OAuth模式下的授权token
6819
7067
  authToken?: string;
@@ -7015,7 +7263,7 @@ export default class Client {
7015
7263
  req_msg_id: AntchainUtil.getNonce(),
7016
7264
  access_key: this._accessKeyId,
7017
7265
  base_sdk_version: "TeaSDK-2.0",
7018
- sdk_version: "1.22.6",
7266
+ sdk_version: "1.22.11",
7019
7267
  _prod_code: "REALPERSON",
7020
7268
  _prod_channel: "undefined",
7021
7269
  };
@@ -8490,6 +8738,44 @@ export default class Client {
8490
8738
  return $tea.cast<ExecFaceThreemetaResponse>(await this.doRequest("1.0", "di.realperson.face.threemeta.exec", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ExecFaceThreemetaResponse({}));
8491
8739
  }
8492
8740
 
8741
+ /**
8742
+ * Description: 用户资产验证-车辆资产验证旗舰版
8743
+ * Summary: 用户资产验证-车辆资产验证旗舰版
8744
+ */
8745
+ async queryCarinfoUltimate(request: QueryCarinfoUltimateRequest): Promise<QueryCarinfoUltimateResponse> {
8746
+ let runtime = new $Util.RuntimeOptions({ });
8747
+ let headers : {[key: string ]: string} = { };
8748
+ return await this.queryCarinfoUltimateEx(request, headers, runtime);
8749
+ }
8750
+
8751
+ /**
8752
+ * Description: 用户资产验证-车辆资产验证旗舰版
8753
+ * Summary: 用户资产验证-车辆资产验证旗舰版
8754
+ */
8755
+ async queryCarinfoUltimateEx(request: QueryCarinfoUltimateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryCarinfoUltimateResponse> {
8756
+ Util.validateModel(request);
8757
+ return $tea.cast<QueryCarinfoUltimateResponse>(await this.doRequest("1.0", "di.realperson.carinfo.ultimate.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCarinfoUltimateResponse({}));
8758
+ }
8759
+
8760
+ /**
8761
+ * Description: 用户资产验证-车辆资产验证增强版
8762
+ * Summary: 用户资产验证-车辆资产验证增强版
8763
+ */
8764
+ async queryCarinfoPlus(request: QueryCarinfoPlusRequest): Promise<QueryCarinfoPlusResponse> {
8765
+ let runtime = new $Util.RuntimeOptions({ });
8766
+ let headers : {[key: string ]: string} = { };
8767
+ return await this.queryCarinfoPlusEx(request, headers, runtime);
8768
+ }
8769
+
8770
+ /**
8771
+ * Description: 用户资产验证-车辆资产验证增强版
8772
+ * Summary: 用户资产验证-车辆资产验证增强版
8773
+ */
8774
+ async queryCarinfoPlusEx(request: QueryCarinfoPlusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryCarinfoPlusResponse> {
8775
+ Util.validateModel(request);
8776
+ return $tea.cast<QueryCarinfoPlusResponse>(await this.doRequest("1.0", "di.realperson.carinfo.plus.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCarinfoPlusResponse({}));
8777
+ }
8778
+
8493
8779
  /**
8494
8780
  * Description: 创建HTTP PUT提交的文件上传
8495
8781
  * Summary: 文件上传创建