@antchain/riskplus 1.19.15 → 1.19.16

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/riskplus",
3
- "version": "1.19.15",
3
+ "version": "1.19.16",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -13391,20 +13391,35 @@ export class OperateRbbCreditResponse extends $tea.Model {
13391
13391
  }
13392
13392
  }
13393
13393
 
13394
- export class GetRbbCustomerInformationRequest extends $tea.Model {
13394
+ export class PushRbbCustomerInformationRequest extends $tea.Model {
13395
13395
  // OAuth模式下的授权token
13396
13396
  authToken?: string;
13397
13397
  productInstanceId?: string;
13398
- // 流水号
13399
- serialNumber: string;
13398
+ // 社会信用代码
13399
+ creditCode: string;
13400
+ // 公司名称
13401
+ companyName: string;
13402
+ // 法人姓名
13403
+ name: string;
13404
+ // 身份证号
13405
+ idCard: string;
13400
13406
  // 手机号
13401
13407
  phoneNumber: string;
13408
+ // 账号
13409
+ account: string;
13410
+ // 密码
13411
+ password: string;
13402
13412
  static names(): { [key: string]: string } {
13403
13413
  return {
13404
13414
  authToken: 'auth_token',
13405
13415
  productInstanceId: 'product_instance_id',
13406
- serialNumber: 'serial_number',
13416
+ creditCode: 'credit_code',
13417
+ companyName: 'company_name',
13418
+ name: 'name',
13419
+ idCard: 'id_card',
13407
13420
  phoneNumber: 'phone_number',
13421
+ account: 'account',
13422
+ password: 'password',
13408
13423
  };
13409
13424
  }
13410
13425
 
@@ -13412,8 +13427,13 @@ export class GetRbbCustomerInformationRequest extends $tea.Model {
13412
13427
  return {
13413
13428
  authToken: 'string',
13414
13429
  productInstanceId: 'string',
13415
- serialNumber: 'string',
13430
+ creditCode: 'string',
13431
+ companyName: 'string',
13432
+ name: 'string',
13433
+ idCard: 'string',
13416
13434
  phoneNumber: 'string',
13435
+ account: 'string',
13436
+ password: 'string',
13417
13437
  };
13418
13438
  }
13419
13439
 
@@ -13422,21 +13442,24 @@ export class GetRbbCustomerInformationRequest extends $tea.Model {
13422
13442
  }
13423
13443
  }
13424
13444
 
13425
- export class GetRbbCustomerInformationResponse extends $tea.Model {
13445
+ export class PushRbbCustomerInformationResponse extends $tea.Model {
13426
13446
  // 请求唯一ID,用于链路跟踪和问题排查
13427
13447
  reqMsgId?: string;
13428
13448
  // 结果码,一般OK表示调用成功
13429
13449
  resultCode?: string;
13430
13450
  // 异常信息的文本描述
13431
13451
  resultMsg?: string;
13432
- // 客户信息结果数据
13433
- resultData?: string;
13452
+ // 返回代码
13453
+ resCode?: string;
13454
+ // 结果说明
13455
+ resMsg?: string;
13434
13456
  static names(): { [key: string]: string } {
13435
13457
  return {
13436
13458
  reqMsgId: 'req_msg_id',
13437
13459
  resultCode: 'result_code',
13438
13460
  resultMsg: 'result_msg',
13439
- resultData: 'result_data',
13461
+ resCode: 'res_code',
13462
+ resMsg: 'res_msg',
13440
13463
  };
13441
13464
  }
13442
13465
 
@@ -13445,7 +13468,8 @@ export class GetRbbCustomerInformationResponse extends $tea.Model {
13445
13468
  reqMsgId: 'string',
13446
13469
  resultCode: 'string',
13447
13470
  resultMsg: 'string',
13448
- resultData: 'string',
13471
+ resCode: 'string',
13472
+ resMsg: 'string',
13449
13473
  };
13450
13474
  }
13451
13475
 
@@ -13517,6 +13541,85 @@ export class GetRbbTaxinvoiceDataResponse extends $tea.Model {
13517
13541
  }
13518
13542
  }
13519
13543
 
13544
+ export class PushRbbCustomerStatusRequest extends $tea.Model {
13545
+ // OAuth模式下的授权token
13546
+ authToken?: string;
13547
+ productInstanceId?: string;
13548
+ // 统一社会信用代码
13549
+ creditCode: string;
13550
+ // 相关产品id
13551
+ productCode: string;
13552
+ // 企业名称
13553
+ companyName: string;
13554
+ // 状态编号
13555
+ statusCode: string;
13556
+ // 状态文本
13557
+ status: string;
13558
+ static names(): { [key: string]: string } {
13559
+ return {
13560
+ authToken: 'auth_token',
13561
+ productInstanceId: 'product_instance_id',
13562
+ creditCode: 'credit_code',
13563
+ productCode: 'product_code',
13564
+ companyName: 'company_name',
13565
+ statusCode: 'status_code',
13566
+ status: 'status',
13567
+ };
13568
+ }
13569
+
13570
+ static types(): { [key: string]: any } {
13571
+ return {
13572
+ authToken: 'string',
13573
+ productInstanceId: 'string',
13574
+ creditCode: 'string',
13575
+ productCode: 'string',
13576
+ companyName: 'string',
13577
+ statusCode: 'string',
13578
+ status: 'string',
13579
+ };
13580
+ }
13581
+
13582
+ constructor(map?: { [key: string]: any }) {
13583
+ super(map);
13584
+ }
13585
+ }
13586
+
13587
+ export class PushRbbCustomerStatusResponse extends $tea.Model {
13588
+ // 请求唯一ID,用于链路跟踪和问题排查
13589
+ reqMsgId?: string;
13590
+ // 结果码,一般OK表示调用成功
13591
+ resultCode?: string;
13592
+ // 异常信息的文本描述
13593
+ resultMsg?: string;
13594
+ // 结果说明
13595
+ resMsg?: string;
13596
+ // 返回代码
13597
+ resCode?: string;
13598
+ static names(): { [key: string]: string } {
13599
+ return {
13600
+ reqMsgId: 'req_msg_id',
13601
+ resultCode: 'result_code',
13602
+ resultMsg: 'result_msg',
13603
+ resMsg: 'res_msg',
13604
+ resCode: 'res_code',
13605
+ };
13606
+ }
13607
+
13608
+ static types(): { [key: string]: any } {
13609
+ return {
13610
+ reqMsgId: 'string',
13611
+ resultCode: 'string',
13612
+ resultMsg: 'string',
13613
+ resMsg: 'string',
13614
+ resCode: 'string',
13615
+ };
13616
+ }
13617
+
13618
+ constructor(map?: { [key: string]: any }) {
13619
+ super(map);
13620
+ }
13621
+ }
13622
+
13520
13623
  export class PushRpaasReportAnswerRequest extends $tea.Model {
13521
13624
  // OAuth模式下的授权token
13522
13625
  authToken?: string;
@@ -19745,7 +19848,7 @@ export default class Client {
19745
19848
  req_msg_id: AntchainUtil.getNonce(),
19746
19849
  access_key: this._accessKeyId,
19747
19850
  base_sdk_version: "TeaSDK-2.0",
19748
- sdk_version: "1.19.15",
19851
+ sdk_version: "1.19.16",
19749
19852
  _prod_code: "RISKPLUS",
19750
19853
  _prod_channel: "undefined",
19751
19854
  };
@@ -21971,19 +22074,19 @@ export default class Client {
21971
22074
  * Description: 获取客户信息
21972
22075
  * Summary: 获取客户信息
21973
22076
  */
21974
- async getRbbCustomerInformation(request: GetRbbCustomerInformationRequest): Promise<GetRbbCustomerInformationResponse> {
22077
+ async pushRbbCustomerInformation(request: PushRbbCustomerInformationRequest): Promise<PushRbbCustomerInformationResponse> {
21975
22078
  let runtime = new $Util.RuntimeOptions({ });
21976
22079
  let headers : {[key: string ]: string} = { };
21977
- return await this.getRbbCustomerInformationEx(request, headers, runtime);
22080
+ return await this.pushRbbCustomerInformationEx(request, headers, runtime);
21978
22081
  }
21979
22082
 
21980
22083
  /**
21981
22084
  * Description: 获取客户信息
21982
22085
  * Summary: 获取客户信息
21983
22086
  */
21984
- async getRbbCustomerInformationEx(request: GetRbbCustomerInformationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetRbbCustomerInformationResponse> {
22087
+ async pushRbbCustomerInformationEx(request: PushRbbCustomerInformationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushRbbCustomerInformationResponse> {
21985
22088
  Util.validateModel(request);
21986
- return $tea.cast<GetRbbCustomerInformationResponse>(await this.doRequest("1.0", "riskplus.rbb.customer.information.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetRbbCustomerInformationResponse({}));
22089
+ return $tea.cast<PushRbbCustomerInformationResponse>(await this.doRequest("1.0", "riskplus.rbb.customer.information.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushRbbCustomerInformationResponse({}));
21987
22090
  }
21988
22091
 
21989
22092
  /**
@@ -22005,6 +22108,25 @@ export default class Client {
22005
22108
  return $tea.cast<GetRbbTaxinvoiceDataResponse>(await this.doRequest("1.0", "riskplus.rbb.taxinvoice.data.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetRbbTaxinvoiceDataResponse({}));
22006
22109
  }
22007
22110
 
22111
+ /**
22112
+ * Description: 客户实时状态通知
22113
+ * Summary: 客户实时状态通知
22114
+ */
22115
+ async pushRbbCustomerStatus(request: PushRbbCustomerStatusRequest): Promise<PushRbbCustomerStatusResponse> {
22116
+ let runtime = new $Util.RuntimeOptions({ });
22117
+ let headers : {[key: string ]: string} = { };
22118
+ return await this.pushRbbCustomerStatusEx(request, headers, runtime);
22119
+ }
22120
+
22121
+ /**
22122
+ * Description: 客户实时状态通知
22123
+ * Summary: 客户实时状态通知
22124
+ */
22125
+ async pushRbbCustomerStatusEx(request: PushRbbCustomerStatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushRbbCustomerStatusResponse> {
22126
+ Util.validateModel(request);
22127
+ return $tea.cast<PushRbbCustomerStatusResponse>(await this.doRequest("1.0", "riskplus.rbb.customer.status.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushRbbCustomerStatusResponse({}));
22128
+ }
22129
+
22008
22130
  /**
22009
22131
  * Description: 报告结果推送,算法调用
22010
22132
  * Summary: 报告结果推送