@antchain/riskplus 1.13.12 → 1.13.14
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 +3 -143
- package/dist/client.js +9 -211
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -287
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2158,6 +2158,10 @@ export class Contract extends $tea.Model {
|
|
|
2158
2158
|
savePath: string;
|
|
2159
2159
|
// 合同金额
|
|
2160
2160
|
contractAmount: number;
|
|
2161
|
+
// 用信合同编号
|
|
2162
|
+
disburseContractNo: string;
|
|
2163
|
+
// 授信合同编号
|
|
2164
|
+
creditContractNo: string;
|
|
2161
2165
|
static names(): { [key: string]: string } {
|
|
2162
2166
|
return {
|
|
2163
2167
|
relationNo: 'relation_no',
|
|
@@ -2167,6 +2171,8 @@ export class Contract extends $tea.Model {
|
|
|
2167
2171
|
customNo: 'custom_no',
|
|
2168
2172
|
savePath: 'save_path',
|
|
2169
2173
|
contractAmount: 'contract_amount',
|
|
2174
|
+
disburseContractNo: 'disburse_contract_no',
|
|
2175
|
+
creditContractNo: 'credit_contract_no',
|
|
2170
2176
|
};
|
|
2171
2177
|
}
|
|
2172
2178
|
|
|
@@ -2179,6 +2185,8 @@ export class Contract extends $tea.Model {
|
|
|
2179
2185
|
customNo: 'string',
|
|
2180
2186
|
savePath: 'string',
|
|
2181
2187
|
contractAmount: 'number',
|
|
2188
|
+
disburseContractNo: 'string',
|
|
2189
|
+
creditContractNo: 'string',
|
|
2182
2190
|
};
|
|
2183
2191
|
}
|
|
2184
2192
|
|
|
@@ -2593,47 +2601,6 @@ export class RpcommonResp extends $tea.Model {
|
|
|
2593
2601
|
}
|
|
2594
2602
|
}
|
|
2595
2603
|
|
|
2596
|
-
// 公司列表
|
|
2597
|
-
export class CompanyItems extends $tea.Model {
|
|
2598
|
-
// 公司id
|
|
2599
|
-
companyId: string;
|
|
2600
|
-
// 公司名称
|
|
2601
|
-
companyName: string;
|
|
2602
|
-
// 匹配名称
|
|
2603
|
-
matchingName: string;
|
|
2604
|
-
// 匹配类型
|
|
2605
|
-
matchingType: string;
|
|
2606
|
-
// 匹配值
|
|
2607
|
-
matchingValue: string;
|
|
2608
|
-
// 社会统一信用代码
|
|
2609
|
-
ucCode: string;
|
|
2610
|
-
static names(): { [key: string]: string } {
|
|
2611
|
-
return {
|
|
2612
|
-
companyId: 'company_id',
|
|
2613
|
-
companyName: 'company_name',
|
|
2614
|
-
matchingName: 'matching_name',
|
|
2615
|
-
matchingType: 'matching_type',
|
|
2616
|
-
matchingValue: 'matching_value',
|
|
2617
|
-
ucCode: 'uc_code',
|
|
2618
|
-
};
|
|
2619
|
-
}
|
|
2620
|
-
|
|
2621
|
-
static types(): { [key: string]: any } {
|
|
2622
|
-
return {
|
|
2623
|
-
companyId: 'string',
|
|
2624
|
-
companyName: 'string',
|
|
2625
|
-
matchingName: 'string',
|
|
2626
|
-
matchingType: 'string',
|
|
2627
|
-
matchingValue: 'string',
|
|
2628
|
-
ucCode: 'string',
|
|
2629
|
-
};
|
|
2630
|
-
}
|
|
2631
|
-
|
|
2632
|
-
constructor(map?: { [key: string]: any }) {
|
|
2633
|
-
super(map);
|
|
2634
|
-
}
|
|
2635
|
-
}
|
|
2636
|
-
|
|
2637
2604
|
// 标签图片
|
|
2638
2605
|
export class RtopTagImage extends $tea.Model {
|
|
2639
2606
|
// 标签图片表主键
|
|
@@ -7606,13 +7573,13 @@ export class QueryDubbridgeSearchContractResponse extends $tea.Model {
|
|
|
7606
7573
|
// 异常信息的文本描述
|
|
7607
7574
|
resultMsg?: string;
|
|
7608
7575
|
// 合同信息列表
|
|
7609
|
-
|
|
7576
|
+
contracts?: Contract[];
|
|
7610
7577
|
static names(): { [key: string]: string } {
|
|
7611
7578
|
return {
|
|
7612
7579
|
reqMsgId: 'req_msg_id',
|
|
7613
7580
|
resultCode: 'result_code',
|
|
7614
7581
|
resultMsg: 'result_msg',
|
|
7615
|
-
|
|
7582
|
+
contracts: 'contracts',
|
|
7616
7583
|
};
|
|
7617
7584
|
}
|
|
7618
7585
|
|
|
@@ -7621,7 +7588,7 @@ export class QueryDubbridgeSearchContractResponse extends $tea.Model {
|
|
|
7621
7588
|
reqMsgId: 'string',
|
|
7622
7589
|
resultCode: 'string',
|
|
7623
7590
|
resultMsg: 'string',
|
|
7624
|
-
|
|
7591
|
+
contracts: { 'type': 'array', 'itemType': Contract },
|
|
7625
7592
|
};
|
|
7626
7593
|
}
|
|
7627
7594
|
|
|
@@ -7962,69 +7929,6 @@ export class QueryDubbridgeCustomerCommonagreementsignResponse extends $tea.Mode
|
|
|
7962
7929
|
}
|
|
7963
7930
|
}
|
|
7964
7931
|
|
|
7965
|
-
export class QueryDubbridgeCompanyItemsRequest extends $tea.Model {
|
|
7966
|
-
// OAuth模式下的授权token
|
|
7967
|
-
authToken?: string;
|
|
7968
|
-
productInstanceId?: string;
|
|
7969
|
-
// 查询字段(公司名、产品名、平台名等不能为空)
|
|
7970
|
-
keyword: string;
|
|
7971
|
-
static names(): { [key: string]: string } {
|
|
7972
|
-
return {
|
|
7973
|
-
authToken: 'auth_token',
|
|
7974
|
-
productInstanceId: 'product_instance_id',
|
|
7975
|
-
keyword: 'keyword',
|
|
7976
|
-
};
|
|
7977
|
-
}
|
|
7978
|
-
|
|
7979
|
-
static types(): { [key: string]: any } {
|
|
7980
|
-
return {
|
|
7981
|
-
authToken: 'string',
|
|
7982
|
-
productInstanceId: 'string',
|
|
7983
|
-
keyword: 'string',
|
|
7984
|
-
};
|
|
7985
|
-
}
|
|
7986
|
-
|
|
7987
|
-
constructor(map?: { [key: string]: any }) {
|
|
7988
|
-
super(map);
|
|
7989
|
-
}
|
|
7990
|
-
}
|
|
7991
|
-
|
|
7992
|
-
export class QueryDubbridgeCompanyItemsResponse extends $tea.Model {
|
|
7993
|
-
// 请求唯一ID,用于链路跟踪和问题排查
|
|
7994
|
-
reqMsgId?: string;
|
|
7995
|
-
// 结果码,一般OK表示调用成功
|
|
7996
|
-
resultCode?: string;
|
|
7997
|
-
// 异常信息的文本描述
|
|
7998
|
-
resultMsg?: string;
|
|
7999
|
-
// 返回公司列表
|
|
8000
|
-
businessItems?: CompanyItems[];
|
|
8001
|
-
// 企业信息个数
|
|
8002
|
-
total?: number;
|
|
8003
|
-
static names(): { [key: string]: string } {
|
|
8004
|
-
return {
|
|
8005
|
-
reqMsgId: 'req_msg_id',
|
|
8006
|
-
resultCode: 'result_code',
|
|
8007
|
-
resultMsg: 'result_msg',
|
|
8008
|
-
businessItems: 'business_items',
|
|
8009
|
-
total: 'total',
|
|
8010
|
-
};
|
|
8011
|
-
}
|
|
8012
|
-
|
|
8013
|
-
static types(): { [key: string]: any } {
|
|
8014
|
-
return {
|
|
8015
|
-
reqMsgId: 'string',
|
|
8016
|
-
resultCode: 'string',
|
|
8017
|
-
resultMsg: 'string',
|
|
8018
|
-
businessItems: { 'type': 'array', 'itemType': CompanyItems },
|
|
8019
|
-
total: 'number',
|
|
8020
|
-
};
|
|
8021
|
-
}
|
|
8022
|
-
|
|
8023
|
-
constructor(map?: { [key: string]: any }) {
|
|
8024
|
-
super(map);
|
|
8025
|
-
}
|
|
8026
|
-
}
|
|
8027
|
-
|
|
8028
7932
|
export class UpdateDubbridgeFileRequest extends $tea.Model {
|
|
8029
7933
|
// OAuth模式下的授权token
|
|
8030
7934
|
authToken?: string;
|
|
@@ -8092,128 +7996,6 @@ export class UpdateDubbridgeFileResponse extends $tea.Model {
|
|
|
8092
7996
|
}
|
|
8093
7997
|
}
|
|
8094
7998
|
|
|
8095
|
-
export class QueryDubbridgeCreditUrlRequest extends $tea.Model {
|
|
8096
|
-
// OAuth模式下的授权token
|
|
8097
|
-
authToken?: string;
|
|
8098
|
-
productInstanceId?: string;
|
|
8099
|
-
static names(): { [key: string]: string } {
|
|
8100
|
-
return {
|
|
8101
|
-
authToken: 'auth_token',
|
|
8102
|
-
productInstanceId: 'product_instance_id',
|
|
8103
|
-
};
|
|
8104
|
-
}
|
|
8105
|
-
|
|
8106
|
-
static types(): { [key: string]: any } {
|
|
8107
|
-
return {
|
|
8108
|
-
authToken: 'string',
|
|
8109
|
-
productInstanceId: 'string',
|
|
8110
|
-
};
|
|
8111
|
-
}
|
|
8112
|
-
|
|
8113
|
-
constructor(map?: { [key: string]: any }) {
|
|
8114
|
-
super(map);
|
|
8115
|
-
}
|
|
8116
|
-
}
|
|
8117
|
-
|
|
8118
|
-
export class QueryDubbridgeCreditUrlResponse extends $tea.Model {
|
|
8119
|
-
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8120
|
-
reqMsgId?: string;
|
|
8121
|
-
// 结果码,一般OK表示调用成功
|
|
8122
|
-
resultCode?: string;
|
|
8123
|
-
// 异常信息的文本描述
|
|
8124
|
-
resultMsg?: string;
|
|
8125
|
-
static names(): { [key: string]: string } {
|
|
8126
|
-
return {
|
|
8127
|
-
reqMsgId: 'req_msg_id',
|
|
8128
|
-
resultCode: 'result_code',
|
|
8129
|
-
resultMsg: 'result_msg',
|
|
8130
|
-
};
|
|
8131
|
-
}
|
|
8132
|
-
|
|
8133
|
-
static types(): { [key: string]: any } {
|
|
8134
|
-
return {
|
|
8135
|
-
reqMsgId: 'string',
|
|
8136
|
-
resultCode: 'string',
|
|
8137
|
-
resultMsg: 'string',
|
|
8138
|
-
};
|
|
8139
|
-
}
|
|
8140
|
-
|
|
8141
|
-
constructor(map?: { [key: string]: any }) {
|
|
8142
|
-
super(map);
|
|
8143
|
-
}
|
|
8144
|
-
}
|
|
8145
|
-
|
|
8146
|
-
export class QueryDubbridgeBusinessDetailRequest extends $tea.Model {
|
|
8147
|
-
// OAuth模式下的授权token
|
|
8148
|
-
authToken?: string;
|
|
8149
|
-
productInstanceId?: string;
|
|
8150
|
-
// 查询字段(注册号,社会统一信用代码,公司名称)
|
|
8151
|
-
keyword: string;
|
|
8152
|
-
static names(): { [key: string]: string } {
|
|
8153
|
-
return {
|
|
8154
|
-
authToken: 'auth_token',
|
|
8155
|
-
productInstanceId: 'product_instance_id',
|
|
8156
|
-
keyword: 'keyword',
|
|
8157
|
-
};
|
|
8158
|
-
}
|
|
8159
|
-
|
|
8160
|
-
static types(): { [key: string]: any } {
|
|
8161
|
-
return {
|
|
8162
|
-
authToken: 'string',
|
|
8163
|
-
productInstanceId: 'string',
|
|
8164
|
-
keyword: 'string',
|
|
8165
|
-
};
|
|
8166
|
-
}
|
|
8167
|
-
|
|
8168
|
-
constructor(map?: { [key: string]: any }) {
|
|
8169
|
-
super(map);
|
|
8170
|
-
}
|
|
8171
|
-
}
|
|
8172
|
-
|
|
8173
|
-
export class QueryDubbridgeBusinessDetailResponse extends $tea.Model {
|
|
8174
|
-
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8175
|
-
reqMsgId?: string;
|
|
8176
|
-
// 结果码,一般OK表示调用成功
|
|
8177
|
-
resultCode?: string;
|
|
8178
|
-
// 异常信息的文本描述
|
|
8179
|
-
resultMsg?: string;
|
|
8180
|
-
// 社会统一信用代码
|
|
8181
|
-
ucCode?: string;
|
|
8182
|
-
// 注册日期
|
|
8183
|
-
registerDate?: string;
|
|
8184
|
-
// 经营地址
|
|
8185
|
-
operatingAddrJson?: string;
|
|
8186
|
-
// 详细地址
|
|
8187
|
-
addressDetail?: string;
|
|
8188
|
-
static names(): { [key: string]: string } {
|
|
8189
|
-
return {
|
|
8190
|
-
reqMsgId: 'req_msg_id',
|
|
8191
|
-
resultCode: 'result_code',
|
|
8192
|
-
resultMsg: 'result_msg',
|
|
8193
|
-
ucCode: 'uc_code',
|
|
8194
|
-
registerDate: 'register_date',
|
|
8195
|
-
operatingAddrJson: 'operating_addr_json',
|
|
8196
|
-
addressDetail: 'address_detail',
|
|
8197
|
-
};
|
|
8198
|
-
}
|
|
8199
|
-
|
|
8200
|
-
static types(): { [key: string]: any } {
|
|
8201
|
-
return {
|
|
8202
|
-
reqMsgId: 'string',
|
|
8203
|
-
resultCode: 'string',
|
|
8204
|
-
resultMsg: 'string',
|
|
8205
|
-
ucCode: 'string',
|
|
8206
|
-
registerDate: 'string',
|
|
8207
|
-
operatingAddrJson: 'string',
|
|
8208
|
-
addressDetail: 'string',
|
|
8209
|
-
};
|
|
8210
|
-
}
|
|
8211
|
-
|
|
8212
|
-
constructor(map?: { [key: string]: any }) {
|
|
8213
|
-
super(map);
|
|
8214
|
-
}
|
|
8215
|
-
}
|
|
8216
|
-
|
|
8217
7999
|
export class NotifyDubbridgeCallbackRequest extends $tea.Model {
|
|
8218
8000
|
// OAuth模式下的授权token
|
|
8219
8001
|
authToken?: string;
|
|
@@ -13771,7 +13553,9 @@ export default class Client {
|
|
|
13771
13553
|
req_msg_id: AntchainUtil.getNonce(),
|
|
13772
13554
|
access_key: this._accessKeyId,
|
|
13773
13555
|
base_sdk_version: "TeaSDK-2.0",
|
|
13774
|
-
sdk_version: "1.13.
|
|
13556
|
+
sdk_version: "1.13.14",
|
|
13557
|
+
_prod_code: "RISKPLUS",
|
|
13558
|
+
_prod_channel: "undefined",
|
|
13775
13559
|
};
|
|
13776
13560
|
if (!Util.empty(this._securityToken)) {
|
|
13777
13561
|
request_.query["security_token"] = this._securityToken;
|
|
@@ -14883,25 +14667,6 @@ export default class Client {
|
|
|
14883
14667
|
return $tea.cast<QueryDubbridgeCustomerCommonagreementsignResponse>(await this.doRequest("1.0", "riskplus.dubbridge.customer.commonagreementsign.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeCustomerCommonagreementsignResponse({}));
|
|
14884
14668
|
}
|
|
14885
14669
|
|
|
14886
|
-
/**
|
|
14887
|
-
* Description: 根据关键字从第三方查询企业信息
|
|
14888
|
-
* Summary: 天枢系统企业搜索
|
|
14889
|
-
*/
|
|
14890
|
-
async queryDubbridgeCompanyItems(request: QueryDubbridgeCompanyItemsRequest): Promise<QueryDubbridgeCompanyItemsResponse> {
|
|
14891
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
14892
|
-
let headers : {[key: string ]: string} = { };
|
|
14893
|
-
return await this.queryDubbridgeCompanyItemsEx(request, headers, runtime);
|
|
14894
|
-
}
|
|
14895
|
-
|
|
14896
|
-
/**
|
|
14897
|
-
* Description: 根据关键字从第三方查询企业信息
|
|
14898
|
-
* Summary: 天枢系统企业搜索
|
|
14899
|
-
*/
|
|
14900
|
-
async queryDubbridgeCompanyItemsEx(request: QueryDubbridgeCompanyItemsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeCompanyItemsResponse> {
|
|
14901
|
-
Util.validateModel(request);
|
|
14902
|
-
return $tea.cast<QueryDubbridgeCompanyItemsResponse>(await this.doRequest("1.0", "riskplus.dubbridge.company.items.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeCompanyItemsResponse({}));
|
|
14903
|
-
}
|
|
14904
|
-
|
|
14905
14670
|
/**
|
|
14906
14671
|
* Description: 客户影像信息更新
|
|
14907
14672
|
* Summary: 客户影像信息更新
|
|
@@ -14921,44 +14686,6 @@ export default class Client {
|
|
|
14921
14686
|
return $tea.cast<UpdateDubbridgeFileResponse>(await this.doRequest("1.0", "riskplus.dubbridge.file.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateDubbridgeFileResponse({}));
|
|
14922
14687
|
}
|
|
14923
14688
|
|
|
14924
|
-
/**
|
|
14925
|
-
* Description: 天枢系统获取授信H5地址
|
|
14926
|
-
* Summary: 天枢系统获取授信H5地址
|
|
14927
|
-
*/
|
|
14928
|
-
async queryDubbridgeCreditUrl(request: QueryDubbridgeCreditUrlRequest): Promise<QueryDubbridgeCreditUrlResponse> {
|
|
14929
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
14930
|
-
let headers : {[key: string ]: string} = { };
|
|
14931
|
-
return await this.queryDubbridgeCreditUrlEx(request, headers, runtime);
|
|
14932
|
-
}
|
|
14933
|
-
|
|
14934
|
-
/**
|
|
14935
|
-
* Description: 天枢系统获取授信H5地址
|
|
14936
|
-
* Summary: 天枢系统获取授信H5地址
|
|
14937
|
-
*/
|
|
14938
|
-
async queryDubbridgeCreditUrlEx(request: QueryDubbridgeCreditUrlRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeCreditUrlResponse> {
|
|
14939
|
-
Util.validateModel(request);
|
|
14940
|
-
return $tea.cast<QueryDubbridgeCreditUrlResponse>(await this.doRequest("1.0", "riskplus.dubbridge.credit.url.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeCreditUrlResponse({}));
|
|
14941
|
-
}
|
|
14942
|
-
|
|
14943
|
-
/**
|
|
14944
|
-
* Description: 根据关键字从第三方查询企业详情信息
|
|
14945
|
-
* Summary: 天枢系统企业详情信息查询
|
|
14946
|
-
*/
|
|
14947
|
-
async queryDubbridgeBusinessDetail(request: QueryDubbridgeBusinessDetailRequest): Promise<QueryDubbridgeBusinessDetailResponse> {
|
|
14948
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
14949
|
-
let headers : {[key: string ]: string} = { };
|
|
14950
|
-
return await this.queryDubbridgeBusinessDetailEx(request, headers, runtime);
|
|
14951
|
-
}
|
|
14952
|
-
|
|
14953
|
-
/**
|
|
14954
|
-
* Description: 根据关键字从第三方查询企业详情信息
|
|
14955
|
-
* Summary: 天枢系统企业详情信息查询
|
|
14956
|
-
*/
|
|
14957
|
-
async queryDubbridgeBusinessDetailEx(request: QueryDubbridgeBusinessDetailRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeBusinessDetailResponse> {
|
|
14958
|
-
Util.validateModel(request);
|
|
14959
|
-
return $tea.cast<QueryDubbridgeBusinessDetailResponse>(await this.doRequest("1.0", "riskplus.dubbridge.business.detail.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeBusinessDetailResponse({}));
|
|
14960
|
-
}
|
|
14961
|
-
|
|
14962
14689
|
/**
|
|
14963
14690
|
* Description: 天枢回调通用接口
|
|
14964
14691
|
* Summary: 天枢回调通用接口
|