@antchain/riskplus 1.19.14 → 1.19.15

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.14",
3
+ "version": "1.19.15",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -13454,6 +13454,69 @@ export class GetRbbCustomerInformationResponse extends $tea.Model {
13454
13454
  }
13455
13455
  }
13456
13456
 
13457
+ export class GetRbbTaxinvoiceDataRequest extends $tea.Model {
13458
+ // OAuth模式下的授权token
13459
+ authToken?: string;
13460
+ productInstanceId?: string;
13461
+ // 流水号
13462
+ serialNumber: string;
13463
+ // 社会新信用代码
13464
+ taxpayerId: string;
13465
+ static names(): { [key: string]: string } {
13466
+ return {
13467
+ authToken: 'auth_token',
13468
+ productInstanceId: 'product_instance_id',
13469
+ serialNumber: 'serial_number',
13470
+ taxpayerId: 'taxpayer_id',
13471
+ };
13472
+ }
13473
+
13474
+ static types(): { [key: string]: any } {
13475
+ return {
13476
+ authToken: 'string',
13477
+ productInstanceId: 'string',
13478
+ serialNumber: 'string',
13479
+ taxpayerId: 'string',
13480
+ };
13481
+ }
13482
+
13483
+ constructor(map?: { [key: string]: any }) {
13484
+ super(map);
13485
+ }
13486
+ }
13487
+
13488
+ export class GetRbbTaxinvoiceDataResponse extends $tea.Model {
13489
+ // 请求唯一ID,用于链路跟踪和问题排查
13490
+ reqMsgId?: string;
13491
+ // 结果码,一般OK表示调用成功
13492
+ resultCode?: string;
13493
+ // 异常信息的文本描述
13494
+ resultMsg?: string;
13495
+ // 税票授权数据结果
13496
+ resultData?: string;
13497
+ static names(): { [key: string]: string } {
13498
+ return {
13499
+ reqMsgId: 'req_msg_id',
13500
+ resultCode: 'result_code',
13501
+ resultMsg: 'result_msg',
13502
+ resultData: 'result_data',
13503
+ };
13504
+ }
13505
+
13506
+ static types(): { [key: string]: any } {
13507
+ return {
13508
+ reqMsgId: 'string',
13509
+ resultCode: 'string',
13510
+ resultMsg: 'string',
13511
+ resultData: 'string',
13512
+ };
13513
+ }
13514
+
13515
+ constructor(map?: { [key: string]: any }) {
13516
+ super(map);
13517
+ }
13518
+ }
13519
+
13457
13520
  export class PushRpaasReportAnswerRequest extends $tea.Model {
13458
13521
  // OAuth模式下的授权token
13459
13522
  authToken?: string;
@@ -19682,7 +19745,7 @@ export default class Client {
19682
19745
  req_msg_id: AntchainUtil.getNonce(),
19683
19746
  access_key: this._accessKeyId,
19684
19747
  base_sdk_version: "TeaSDK-2.0",
19685
- sdk_version: "1.19.14",
19748
+ sdk_version: "1.19.15",
19686
19749
  _prod_code: "RISKPLUS",
19687
19750
  _prod_channel: "undefined",
19688
19751
  };
@@ -21923,6 +21986,25 @@ export default class Client {
21923
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({}));
21924
21987
  }
21925
21988
 
21989
+ /**
21990
+ * Description: 获取税票授权数据
21991
+ * Summary: 获取税票授权数据
21992
+ */
21993
+ async getRbbTaxinvoiceData(request: GetRbbTaxinvoiceDataRequest): Promise<GetRbbTaxinvoiceDataResponse> {
21994
+ let runtime = new $Util.RuntimeOptions({ });
21995
+ let headers : {[key: string ]: string} = { };
21996
+ return await this.getRbbTaxinvoiceDataEx(request, headers, runtime);
21997
+ }
21998
+
21999
+ /**
22000
+ * Description: 获取税票授权数据
22001
+ * Summary: 获取税票授权数据
22002
+ */
22003
+ async getRbbTaxinvoiceDataEx(request: GetRbbTaxinvoiceDataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetRbbTaxinvoiceDataResponse> {
22004
+ Util.validateModel(request);
22005
+ 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
+ }
22007
+
21926
22008
  /**
21927
22009
  * Description: 报告结果推送,算法调用
21928
22010
  * Summary: 报告结果推送