@antchain/riskplus 1.24.4 → 1.24.9
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 +54 -10
- package/dist/client.js +81 -16
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +111 -21
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -3433,6 +3433,10 @@ export class ReceiptInfo extends $tea.Model {
|
|
|
3433
3433
|
workflowStatus: string;
|
|
3434
3434
|
// 借据编号
|
|
3435
3435
|
receiptNo: string;
|
|
3436
|
+
// 放款状态(0:放款成功 1:放款失败 2:放款异常 3:放款中)
|
|
3437
|
+
loanStatus?: string;
|
|
3438
|
+
// 业务类型 1:现金贷(默认)、2:分期付
|
|
3439
|
+
prodType?: string;
|
|
3436
3440
|
static names(): { [key: string]: string } {
|
|
3437
3441
|
return {
|
|
3438
3442
|
customName: 'custom_name',
|
|
@@ -3451,6 +3455,8 @@ export class ReceiptInfo extends $tea.Model {
|
|
|
3451
3455
|
alreadyDate: 'already_date',
|
|
3452
3456
|
workflowStatus: 'workflow_status',
|
|
3453
3457
|
receiptNo: 'receipt_no',
|
|
3458
|
+
loanStatus: 'loan_status',
|
|
3459
|
+
prodType: 'prod_type',
|
|
3454
3460
|
};
|
|
3455
3461
|
}
|
|
3456
3462
|
|
|
@@ -3472,6 +3478,8 @@ export class ReceiptInfo extends $tea.Model {
|
|
|
3472
3478
|
alreadyDate: 'string',
|
|
3473
3479
|
workflowStatus: 'string',
|
|
3474
3480
|
receiptNo: 'string',
|
|
3481
|
+
loanStatus: 'string',
|
|
3482
|
+
prodType: 'string',
|
|
3475
3483
|
};
|
|
3476
3484
|
}
|
|
3477
3485
|
|
|
@@ -5823,7 +5831,7 @@ export class BatchqueryCreditshieldProductInfoResponse extends $tea.Model {
|
|
|
5823
5831
|
}
|
|
5824
5832
|
}
|
|
5825
5833
|
|
|
5826
|
-
export class
|
|
5834
|
+
export class QueryCreditshieldProductCallbackRequest extends $tea.Model {
|
|
5827
5835
|
// OAuth模式下的授权token
|
|
5828
5836
|
authToken?: string;
|
|
5829
5837
|
productInstanceId?: string;
|
|
@@ -5856,7 +5864,7 @@ export class QueryProductAmcCallbackRequest extends $tea.Model {
|
|
|
5856
5864
|
}
|
|
5857
5865
|
}
|
|
5858
5866
|
|
|
5859
|
-
export class
|
|
5867
|
+
export class QueryCreditshieldProductCallbackResponse extends $tea.Model {
|
|
5860
5868
|
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5861
5869
|
reqMsgId?: string;
|
|
5862
5870
|
// 结果码,一般OK表示调用成功
|
|
@@ -10497,9 +10505,9 @@ export class QueryDubbridgeUsecreditStatusRequest extends $tea.Model {
|
|
|
10497
10505
|
// 1:现金贷(默认)
|
|
10498
10506
|
// 2:分期付
|
|
10499
10507
|
prodType?: string;
|
|
10500
|
-
//
|
|
10501
|
-
originalOrderNo
|
|
10502
|
-
//
|
|
10508
|
+
// 天枢系统用信申请的订单号
|
|
10509
|
+
originalOrderNo?: string;
|
|
10510
|
+
// 购物订单号,如二轮车/摩托车订单号
|
|
10503
10511
|
bizOrderNo?: string;
|
|
10504
10512
|
static names(): { [key: string]: string } {
|
|
10505
10513
|
return {
|
|
@@ -14726,16 +14734,12 @@ export class UploadQmpOfflinehostplanRequest extends $tea.Model {
|
|
|
14726
14734
|
fileObject?: Readable;
|
|
14727
14735
|
fileObjectName?: string;
|
|
14728
14736
|
fileId: string;
|
|
14729
|
-
// MOBILE/MOBILE_MD5/OAID/IDFA/IMEI选择其中一种
|
|
14737
|
+
// MOBILE/MOBILE_MD5/OAID/IDFA/IMEI/CAID选择其中一种
|
|
14730
14738
|
fileTemplate: string;
|
|
14731
14739
|
// plancode,托管计划编码
|
|
14732
14740
|
planCode: string;
|
|
14733
|
-
// OFFLINE_DECISION/OFFLINE_DECISION_ACTION,默认OFFLINE_DECISION_ACTION
|
|
14734
|
-
relationType?: string;
|
|
14735
14741
|
// properties的header,其他的为ext_info,
|
|
14736
14742
|
properties?: string;
|
|
14737
|
-
// 默认为false
|
|
14738
|
-
needToRefactor?: boolean;
|
|
14739
14743
|
static names(): { [key: string]: string } {
|
|
14740
14744
|
return {
|
|
14741
14745
|
authToken: 'auth_token',
|
|
@@ -14745,9 +14749,7 @@ export class UploadQmpOfflinehostplanRequest extends $tea.Model {
|
|
|
14745
14749
|
fileId: 'file_id',
|
|
14746
14750
|
fileTemplate: 'file_template',
|
|
14747
14751
|
planCode: 'plan_code',
|
|
14748
|
-
relationType: 'relation_type',
|
|
14749
14752
|
properties: 'properties',
|
|
14750
|
-
needToRefactor: 'need_to_refactor',
|
|
14751
14753
|
};
|
|
14752
14754
|
}
|
|
14753
14755
|
|
|
@@ -14760,9 +14762,7 @@ export class UploadQmpOfflinehostplanRequest extends $tea.Model {
|
|
|
14760
14762
|
fileId: 'string',
|
|
14761
14763
|
fileTemplate: 'string',
|
|
14762
14764
|
planCode: 'string',
|
|
14763
|
-
relationType: 'string',
|
|
14764
14765
|
properties: 'string',
|
|
14765
|
-
needToRefactor: 'boolean',
|
|
14766
14766
|
};
|
|
14767
14767
|
}
|
|
14768
14768
|
|
|
@@ -15436,6 +15436,77 @@ export class UploadRfcAiboundFileResponse extends $tea.Model {
|
|
|
15436
15436
|
}
|
|
15437
15437
|
}
|
|
15438
15438
|
|
|
15439
|
+
export class QueryRfcOdpsLindormRequest extends $tea.Model {
|
|
15440
|
+
// OAuth模式下的授权token
|
|
15441
|
+
authToken?: string;
|
|
15442
|
+
productInstanceId?: string;
|
|
15443
|
+
// 服务编码
|
|
15444
|
+
bizCode: string;
|
|
15445
|
+
// 加密后的唯一id
|
|
15446
|
+
keyId: string;
|
|
15447
|
+
// 授权码
|
|
15448
|
+
authCode?: string;
|
|
15449
|
+
// 加密方式
|
|
15450
|
+
encryptType?: string;
|
|
15451
|
+
static names(): { [key: string]: string } {
|
|
15452
|
+
return {
|
|
15453
|
+
authToken: 'auth_token',
|
|
15454
|
+
productInstanceId: 'product_instance_id',
|
|
15455
|
+
bizCode: 'biz_code',
|
|
15456
|
+
keyId: 'key_id',
|
|
15457
|
+
authCode: 'auth_code',
|
|
15458
|
+
encryptType: 'encrypt_type',
|
|
15459
|
+
};
|
|
15460
|
+
}
|
|
15461
|
+
|
|
15462
|
+
static types(): { [key: string]: any } {
|
|
15463
|
+
return {
|
|
15464
|
+
authToken: 'string',
|
|
15465
|
+
productInstanceId: 'string',
|
|
15466
|
+
bizCode: 'string',
|
|
15467
|
+
keyId: 'string',
|
|
15468
|
+
authCode: 'string',
|
|
15469
|
+
encryptType: 'string',
|
|
15470
|
+
};
|
|
15471
|
+
}
|
|
15472
|
+
|
|
15473
|
+
constructor(map?: { [key: string]: any }) {
|
|
15474
|
+
super(map);
|
|
15475
|
+
}
|
|
15476
|
+
}
|
|
15477
|
+
|
|
15478
|
+
export class QueryRfcOdpsLindormResponse extends $tea.Model {
|
|
15479
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
15480
|
+
reqMsgId?: string;
|
|
15481
|
+
// 结果码,一般OK表示调用成功
|
|
15482
|
+
resultCode?: string;
|
|
15483
|
+
// 异常信息的文本描述
|
|
15484
|
+
resultMsg?: string;
|
|
15485
|
+
// 查询结果
|
|
15486
|
+
jsonRes?: string;
|
|
15487
|
+
static names(): { [key: string]: string } {
|
|
15488
|
+
return {
|
|
15489
|
+
reqMsgId: 'req_msg_id',
|
|
15490
|
+
resultCode: 'result_code',
|
|
15491
|
+
resultMsg: 'result_msg',
|
|
15492
|
+
jsonRes: 'json_res',
|
|
15493
|
+
};
|
|
15494
|
+
}
|
|
15495
|
+
|
|
15496
|
+
static types(): { [key: string]: any } {
|
|
15497
|
+
return {
|
|
15498
|
+
reqMsgId: 'string',
|
|
15499
|
+
resultCode: 'string',
|
|
15500
|
+
resultMsg: 'string',
|
|
15501
|
+
jsonRes: 'string',
|
|
15502
|
+
};
|
|
15503
|
+
}
|
|
15504
|
+
|
|
15505
|
+
constructor(map?: { [key: string]: any }) {
|
|
15506
|
+
super(map);
|
|
15507
|
+
}
|
|
15508
|
+
}
|
|
15509
|
+
|
|
15439
15510
|
export class QueryRbbGenericInvokeRequest extends $tea.Model {
|
|
15440
15511
|
// OAuth模式下的授权token
|
|
15441
15512
|
authToken?: string;
|
|
@@ -23513,7 +23584,7 @@ export default class Client {
|
|
|
23513
23584
|
req_msg_id: AntchainUtil.getNonce(),
|
|
23514
23585
|
access_key: this._accessKeyId,
|
|
23515
23586
|
base_sdk_version: "TeaSDK-2.0",
|
|
23516
|
-
sdk_version: "1.24.
|
|
23587
|
+
sdk_version: "1.24.9",
|
|
23517
23588
|
_prod_code: "RISKPLUS",
|
|
23518
23589
|
_prod_channel: "undefined",
|
|
23519
23590
|
};
|
|
@@ -23622,19 +23693,19 @@ export default class Client {
|
|
|
23622
23693
|
* Description: 信护盾amc机构回调通用接口
|
|
23623
23694
|
* Summary: 信护盾amc机构回调通用接口
|
|
23624
23695
|
*/
|
|
23625
|
-
async
|
|
23696
|
+
async queryCreditshieldProductCallback(request: QueryCreditshieldProductCallbackRequest): Promise<QueryCreditshieldProductCallbackResponse> {
|
|
23626
23697
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23627
23698
|
let headers : {[key: string ]: string} = { };
|
|
23628
|
-
return await this.
|
|
23699
|
+
return await this.queryCreditshieldProductCallbackEx(request, headers, runtime);
|
|
23629
23700
|
}
|
|
23630
23701
|
|
|
23631
23702
|
/**
|
|
23632
23703
|
* Description: 信护盾amc机构回调通用接口
|
|
23633
23704
|
* Summary: 信护盾amc机构回调通用接口
|
|
23634
23705
|
*/
|
|
23635
|
-
async
|
|
23706
|
+
async queryCreditshieldProductCallbackEx(request: QueryCreditshieldProductCallbackRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryCreditshieldProductCallbackResponse> {
|
|
23636
23707
|
Util.validateModel(request);
|
|
23637
|
-
return $tea.cast<
|
|
23708
|
+
return $tea.cast<QueryCreditshieldProductCallbackResponse>(await this.doRequest("1.0", "riskplus.creditshield.product.callback.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCreditshieldProductCallbackResponse({}));
|
|
23638
23709
|
}
|
|
23639
23710
|
|
|
23640
23711
|
/**
|
|
@@ -25737,7 +25808,7 @@ export default class Client {
|
|
|
25737
25808
|
}
|
|
25738
25809
|
|
|
25739
25810
|
/**
|
|
25740
|
-
* Description:
|
|
25811
|
+
* Description: 11
|
|
25741
25812
|
* Summary: qmp离线托管文件导入
|
|
25742
25813
|
*/
|
|
25743
25814
|
async uploadQmpOfflinehostplan(request: UploadQmpOfflinehostplanRequest): Promise<UploadQmpOfflinehostplanResponse> {
|
|
@@ -25747,7 +25818,7 @@ export default class Client {
|
|
|
25747
25818
|
}
|
|
25748
25819
|
|
|
25749
25820
|
/**
|
|
25750
|
-
* Description:
|
|
25821
|
+
* Description: 11
|
|
25751
25822
|
* Summary: qmp离线托管文件导入
|
|
25752
25823
|
*/
|
|
25753
25824
|
async uploadQmpOfflinehostplanEx(request: UploadQmpOfflinehostplanRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UploadQmpOfflinehostplanResponse> {
|
|
@@ -25973,6 +26044,25 @@ export default class Client {
|
|
|
25973
26044
|
return $tea.cast<UploadRfcAiboundFileResponse>(await this.doRequest("1.0", "riskplus.rfc.aibound.file.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadRfcAiboundFileResponse({}));
|
|
25974
26045
|
}
|
|
25975
26046
|
|
|
26047
|
+
/**
|
|
26048
|
+
* Description: 提供给外部的数据服务接口内容获取
|
|
26049
|
+
* Summary: 提供给外部的数据服务接口内容获取
|
|
26050
|
+
*/
|
|
26051
|
+
async queryRfcOdpsLindorm(request: QueryRfcOdpsLindormRequest): Promise<QueryRfcOdpsLindormResponse> {
|
|
26052
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
26053
|
+
let headers : {[key: string ]: string} = { };
|
|
26054
|
+
return await this.queryRfcOdpsLindormEx(request, headers, runtime);
|
|
26055
|
+
}
|
|
26056
|
+
|
|
26057
|
+
/**
|
|
26058
|
+
* Description: 提供给外部的数据服务接口内容获取
|
|
26059
|
+
* Summary: 提供给外部的数据服务接口内容获取
|
|
26060
|
+
*/
|
|
26061
|
+
async queryRfcOdpsLindormEx(request: QueryRfcOdpsLindormRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRfcOdpsLindormResponse> {
|
|
26062
|
+
Util.validateModel(request);
|
|
26063
|
+
return $tea.cast<QueryRfcOdpsLindormResponse>(await this.doRequest("1.0", "riskplus.rfc.odps.lindorm.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryRfcOdpsLindormResponse({}));
|
|
26064
|
+
}
|
|
26065
|
+
|
|
25976
26066
|
/**
|
|
25977
26067
|
* Description: 风险大脑企业版通用查询接口
|
|
25978
26068
|
* Summary: 【已废弃】
|