@antchain/riskplus 1.19.15 → 1.19.17
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 +57 -7
- package/dist/client.js +91 -14
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +129 -15
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -13391,20 +13391,41 @@ export class OperateRbbCreditResponse extends $tea.Model {
|
|
|
13391
13391
|
}
|
|
13392
13392
|
}
|
|
13393
13393
|
|
|
13394
|
-
export class
|
|
13394
|
+
export class PushRbbCustomerInformationRequest extends $tea.Model {
|
|
13395
13395
|
// OAuth模式下的授权token
|
|
13396
13396
|
authToken?: string;
|
|
13397
13397
|
productInstanceId?: string;
|
|
13398
|
-
//
|
|
13399
|
-
|
|
13398
|
+
// 社会信用代码
|
|
13399
|
+
creditCode: string;
|
|
13400
|
+
// 公司名称
|
|
13401
|
+
companyName: string;
|
|
13402
|
+
// 法人姓名
|
|
13403
|
+
name: string;
|
|
13404
|
+
// 身份证号
|
|
13405
|
+
idCard: string;
|
|
13400
13406
|
// 手机号
|
|
13401
13407
|
phoneNumber: string;
|
|
13408
|
+
// 合作伙伴
|
|
13409
|
+
businessPartner: string;
|
|
13410
|
+
// 指定产品方
|
|
13411
|
+
productSide: string;
|
|
13412
|
+
// 账号
|
|
13413
|
+
account: string;
|
|
13414
|
+
// 密码
|
|
13415
|
+
password: string;
|
|
13402
13416
|
static names(): { [key: string]: string } {
|
|
13403
13417
|
return {
|
|
13404
13418
|
authToken: 'auth_token',
|
|
13405
13419
|
productInstanceId: 'product_instance_id',
|
|
13406
|
-
|
|
13420
|
+
creditCode: 'credit_code',
|
|
13421
|
+
companyName: 'company_name',
|
|
13422
|
+
name: 'name',
|
|
13423
|
+
idCard: 'id_card',
|
|
13407
13424
|
phoneNumber: 'phone_number',
|
|
13425
|
+
businessPartner: 'business_partner',
|
|
13426
|
+
productSide: 'product_side',
|
|
13427
|
+
account: 'account',
|
|
13428
|
+
password: 'password',
|
|
13408
13429
|
};
|
|
13409
13430
|
}
|
|
13410
13431
|
|
|
@@ -13412,8 +13433,15 @@ export class GetRbbCustomerInformationRequest extends $tea.Model {
|
|
|
13412
13433
|
return {
|
|
13413
13434
|
authToken: 'string',
|
|
13414
13435
|
productInstanceId: 'string',
|
|
13415
|
-
|
|
13436
|
+
creditCode: 'string',
|
|
13437
|
+
companyName: 'string',
|
|
13438
|
+
name: 'string',
|
|
13439
|
+
idCard: 'string',
|
|
13416
13440
|
phoneNumber: 'string',
|
|
13441
|
+
businessPartner: 'string',
|
|
13442
|
+
productSide: 'string',
|
|
13443
|
+
account: 'string',
|
|
13444
|
+
password: 'string',
|
|
13417
13445
|
};
|
|
13418
13446
|
}
|
|
13419
13447
|
|
|
@@ -13422,21 +13450,24 @@ export class GetRbbCustomerInformationRequest extends $tea.Model {
|
|
|
13422
13450
|
}
|
|
13423
13451
|
}
|
|
13424
13452
|
|
|
13425
|
-
export class
|
|
13453
|
+
export class PushRbbCustomerInformationResponse extends $tea.Model {
|
|
13426
13454
|
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13427
13455
|
reqMsgId?: string;
|
|
13428
13456
|
// 结果码,一般OK表示调用成功
|
|
13429
13457
|
resultCode?: string;
|
|
13430
13458
|
// 异常信息的文本描述
|
|
13431
13459
|
resultMsg?: string;
|
|
13432
|
-
//
|
|
13433
|
-
|
|
13460
|
+
// 返回代码
|
|
13461
|
+
resCode?: string;
|
|
13462
|
+
// 结果说明
|
|
13463
|
+
resMsg?: string;
|
|
13434
13464
|
static names(): { [key: string]: string } {
|
|
13435
13465
|
return {
|
|
13436
13466
|
reqMsgId: 'req_msg_id',
|
|
13437
13467
|
resultCode: 'result_code',
|
|
13438
13468
|
resultMsg: 'result_msg',
|
|
13439
|
-
|
|
13469
|
+
resCode: 'res_code',
|
|
13470
|
+
resMsg: 'res_msg',
|
|
13440
13471
|
};
|
|
13441
13472
|
}
|
|
13442
13473
|
|
|
@@ -13445,7 +13476,8 @@ export class GetRbbCustomerInformationResponse extends $tea.Model {
|
|
|
13445
13476
|
reqMsgId: 'string',
|
|
13446
13477
|
resultCode: 'string',
|
|
13447
13478
|
resultMsg: 'string',
|
|
13448
|
-
|
|
13479
|
+
resCode: 'string',
|
|
13480
|
+
resMsg: 'string',
|
|
13449
13481
|
};
|
|
13450
13482
|
}
|
|
13451
13483
|
|
|
@@ -13517,6 +13549,69 @@ export class GetRbbTaxinvoiceDataResponse extends $tea.Model {
|
|
|
13517
13549
|
}
|
|
13518
13550
|
}
|
|
13519
13551
|
|
|
13552
|
+
export class PushRbbCustomerStatusRequest extends $tea.Model {
|
|
13553
|
+
// OAuth模式下的授权token
|
|
13554
|
+
authToken?: string;
|
|
13555
|
+
productInstanceId?: string;
|
|
13556
|
+
// 结果数据
|
|
13557
|
+
resultData: string;
|
|
13558
|
+
static names(): { [key: string]: string } {
|
|
13559
|
+
return {
|
|
13560
|
+
authToken: 'auth_token',
|
|
13561
|
+
productInstanceId: 'product_instance_id',
|
|
13562
|
+
resultData: 'result_data',
|
|
13563
|
+
};
|
|
13564
|
+
}
|
|
13565
|
+
|
|
13566
|
+
static types(): { [key: string]: any } {
|
|
13567
|
+
return {
|
|
13568
|
+
authToken: 'string',
|
|
13569
|
+
productInstanceId: 'string',
|
|
13570
|
+
resultData: 'string',
|
|
13571
|
+
};
|
|
13572
|
+
}
|
|
13573
|
+
|
|
13574
|
+
constructor(map?: { [key: string]: any }) {
|
|
13575
|
+
super(map);
|
|
13576
|
+
}
|
|
13577
|
+
}
|
|
13578
|
+
|
|
13579
|
+
export class PushRbbCustomerStatusResponse extends $tea.Model {
|
|
13580
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13581
|
+
reqMsgId?: string;
|
|
13582
|
+
// 结果码,一般OK表示调用成功
|
|
13583
|
+
resultCode?: string;
|
|
13584
|
+
// 异常信息的文本描述
|
|
13585
|
+
resultMsg?: string;
|
|
13586
|
+
// 结果说明
|
|
13587
|
+
resMsg?: string;
|
|
13588
|
+
// 返回代码
|
|
13589
|
+
resCode?: string;
|
|
13590
|
+
static names(): { [key: string]: string } {
|
|
13591
|
+
return {
|
|
13592
|
+
reqMsgId: 'req_msg_id',
|
|
13593
|
+
resultCode: 'result_code',
|
|
13594
|
+
resultMsg: 'result_msg',
|
|
13595
|
+
resMsg: 'res_msg',
|
|
13596
|
+
resCode: 'res_code',
|
|
13597
|
+
};
|
|
13598
|
+
}
|
|
13599
|
+
|
|
13600
|
+
static types(): { [key: string]: any } {
|
|
13601
|
+
return {
|
|
13602
|
+
reqMsgId: 'string',
|
|
13603
|
+
resultCode: 'string',
|
|
13604
|
+
resultMsg: 'string',
|
|
13605
|
+
resMsg: 'string',
|
|
13606
|
+
resCode: 'string',
|
|
13607
|
+
};
|
|
13608
|
+
}
|
|
13609
|
+
|
|
13610
|
+
constructor(map?: { [key: string]: any }) {
|
|
13611
|
+
super(map);
|
|
13612
|
+
}
|
|
13613
|
+
}
|
|
13614
|
+
|
|
13520
13615
|
export class PushRpaasReportAnswerRequest extends $tea.Model {
|
|
13521
13616
|
// OAuth模式下的授权token
|
|
13522
13617
|
authToken?: string;
|
|
@@ -19745,7 +19840,7 @@ export default class Client {
|
|
|
19745
19840
|
req_msg_id: AntchainUtil.getNonce(),
|
|
19746
19841
|
access_key: this._accessKeyId,
|
|
19747
19842
|
base_sdk_version: "TeaSDK-2.0",
|
|
19748
|
-
sdk_version: "1.19.
|
|
19843
|
+
sdk_version: "1.19.17",
|
|
19749
19844
|
_prod_code: "RISKPLUS",
|
|
19750
19845
|
_prod_channel: "undefined",
|
|
19751
19846
|
};
|
|
@@ -21971,19 +22066,19 @@ export default class Client {
|
|
|
21971
22066
|
* Description: 获取客户信息
|
|
21972
22067
|
* Summary: 获取客户信息
|
|
21973
22068
|
*/
|
|
21974
|
-
async
|
|
22069
|
+
async pushRbbCustomerInformation(request: PushRbbCustomerInformationRequest): Promise<PushRbbCustomerInformationResponse> {
|
|
21975
22070
|
let runtime = new $Util.RuntimeOptions({ });
|
|
21976
22071
|
let headers : {[key: string ]: string} = { };
|
|
21977
|
-
return await this.
|
|
22072
|
+
return await this.pushRbbCustomerInformationEx(request, headers, runtime);
|
|
21978
22073
|
}
|
|
21979
22074
|
|
|
21980
22075
|
/**
|
|
21981
22076
|
* Description: 获取客户信息
|
|
21982
22077
|
* Summary: 获取客户信息
|
|
21983
22078
|
*/
|
|
21984
|
-
async
|
|
22079
|
+
async pushRbbCustomerInformationEx(request: PushRbbCustomerInformationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushRbbCustomerInformationResponse> {
|
|
21985
22080
|
Util.validateModel(request);
|
|
21986
|
-
return $tea.cast<
|
|
22081
|
+
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
22082
|
}
|
|
21988
22083
|
|
|
21989
22084
|
/**
|
|
@@ -22005,6 +22100,25 @@ export default class Client {
|
|
|
22005
22100
|
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
22101
|
}
|
|
22007
22102
|
|
|
22103
|
+
/**
|
|
22104
|
+
* Description: 客户实时状态通知
|
|
22105
|
+
* Summary: 客户实时状态通知
|
|
22106
|
+
*/
|
|
22107
|
+
async pushRbbCustomerStatus(request: PushRbbCustomerStatusRequest): Promise<PushRbbCustomerStatusResponse> {
|
|
22108
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
22109
|
+
let headers : {[key: string ]: string} = { };
|
|
22110
|
+
return await this.pushRbbCustomerStatusEx(request, headers, runtime);
|
|
22111
|
+
}
|
|
22112
|
+
|
|
22113
|
+
/**
|
|
22114
|
+
* Description: 客户实时状态通知
|
|
22115
|
+
* Summary: 客户实时状态通知
|
|
22116
|
+
*/
|
|
22117
|
+
async pushRbbCustomerStatusEx(request: PushRbbCustomerStatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushRbbCustomerStatusResponse> {
|
|
22118
|
+
Util.validateModel(request);
|
|
22119
|
+
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({}));
|
|
22120
|
+
}
|
|
22121
|
+
|
|
22008
22122
|
/**
|
|
22009
22123
|
* Description: 报告结果推送,算法调用
|
|
22010
22124
|
* Summary: 报告结果推送
|