@antchain/riskplus 1.13.13 → 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 +1 -143
- package/dist/client.js +5 -211
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +6 -287
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2601,47 +2601,6 @@ export class RpcommonResp extends $tea.Model {
|
|
|
2601
2601
|
}
|
|
2602
2602
|
}
|
|
2603
2603
|
|
|
2604
|
-
// 公司列表
|
|
2605
|
-
export class CompanyItems extends $tea.Model {
|
|
2606
|
-
// 公司id
|
|
2607
|
-
companyId: string;
|
|
2608
|
-
// 公司名称
|
|
2609
|
-
companyName: string;
|
|
2610
|
-
// 匹配名称
|
|
2611
|
-
matchingName: string;
|
|
2612
|
-
// 匹配类型
|
|
2613
|
-
matchingType: string;
|
|
2614
|
-
// 匹配值
|
|
2615
|
-
matchingValue: string;
|
|
2616
|
-
// 社会统一信用代码
|
|
2617
|
-
ucCode: string;
|
|
2618
|
-
static names(): { [key: string]: string } {
|
|
2619
|
-
return {
|
|
2620
|
-
companyId: 'company_id',
|
|
2621
|
-
companyName: 'company_name',
|
|
2622
|
-
matchingName: 'matching_name',
|
|
2623
|
-
matchingType: 'matching_type',
|
|
2624
|
-
matchingValue: 'matching_value',
|
|
2625
|
-
ucCode: 'uc_code',
|
|
2626
|
-
};
|
|
2627
|
-
}
|
|
2628
|
-
|
|
2629
|
-
static types(): { [key: string]: any } {
|
|
2630
|
-
return {
|
|
2631
|
-
companyId: 'string',
|
|
2632
|
-
companyName: 'string',
|
|
2633
|
-
matchingName: 'string',
|
|
2634
|
-
matchingType: 'string',
|
|
2635
|
-
matchingValue: 'string',
|
|
2636
|
-
ucCode: 'string',
|
|
2637
|
-
};
|
|
2638
|
-
}
|
|
2639
|
-
|
|
2640
|
-
constructor(map?: { [key: string]: any }) {
|
|
2641
|
-
super(map);
|
|
2642
|
-
}
|
|
2643
|
-
}
|
|
2644
|
-
|
|
2645
2604
|
// 标签图片
|
|
2646
2605
|
export class RtopTagImage extends $tea.Model {
|
|
2647
2606
|
// 标签图片表主键
|
|
@@ -7614,13 +7573,13 @@ export class QueryDubbridgeSearchContractResponse extends $tea.Model {
|
|
|
7614
7573
|
// 异常信息的文本描述
|
|
7615
7574
|
resultMsg?: string;
|
|
7616
7575
|
// 合同信息列表
|
|
7617
|
-
|
|
7576
|
+
contracts?: Contract[];
|
|
7618
7577
|
static names(): { [key: string]: string } {
|
|
7619
7578
|
return {
|
|
7620
7579
|
reqMsgId: 'req_msg_id',
|
|
7621
7580
|
resultCode: 'result_code',
|
|
7622
7581
|
resultMsg: 'result_msg',
|
|
7623
|
-
|
|
7582
|
+
contracts: 'contracts',
|
|
7624
7583
|
};
|
|
7625
7584
|
}
|
|
7626
7585
|
|
|
@@ -7629,7 +7588,7 @@ export class QueryDubbridgeSearchContractResponse extends $tea.Model {
|
|
|
7629
7588
|
reqMsgId: 'string',
|
|
7630
7589
|
resultCode: 'string',
|
|
7631
7590
|
resultMsg: 'string',
|
|
7632
|
-
|
|
7591
|
+
contracts: { 'type': 'array', 'itemType': Contract },
|
|
7633
7592
|
};
|
|
7634
7593
|
}
|
|
7635
7594
|
|
|
@@ -7970,69 +7929,6 @@ export class QueryDubbridgeCustomerCommonagreementsignResponse extends $tea.Mode
|
|
|
7970
7929
|
}
|
|
7971
7930
|
}
|
|
7972
7931
|
|
|
7973
|
-
export class QueryDubbridgeCompanyItemsRequest extends $tea.Model {
|
|
7974
|
-
// OAuth模式下的授权token
|
|
7975
|
-
authToken?: string;
|
|
7976
|
-
productInstanceId?: string;
|
|
7977
|
-
// 查询字段(公司名、产品名、平台名等不能为空)
|
|
7978
|
-
keyword: string;
|
|
7979
|
-
static names(): { [key: string]: string } {
|
|
7980
|
-
return {
|
|
7981
|
-
authToken: 'auth_token',
|
|
7982
|
-
productInstanceId: 'product_instance_id',
|
|
7983
|
-
keyword: 'keyword',
|
|
7984
|
-
};
|
|
7985
|
-
}
|
|
7986
|
-
|
|
7987
|
-
static types(): { [key: string]: any } {
|
|
7988
|
-
return {
|
|
7989
|
-
authToken: 'string',
|
|
7990
|
-
productInstanceId: 'string',
|
|
7991
|
-
keyword: 'string',
|
|
7992
|
-
};
|
|
7993
|
-
}
|
|
7994
|
-
|
|
7995
|
-
constructor(map?: { [key: string]: any }) {
|
|
7996
|
-
super(map);
|
|
7997
|
-
}
|
|
7998
|
-
}
|
|
7999
|
-
|
|
8000
|
-
export class QueryDubbridgeCompanyItemsResponse extends $tea.Model {
|
|
8001
|
-
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8002
|
-
reqMsgId?: string;
|
|
8003
|
-
// 结果码,一般OK表示调用成功
|
|
8004
|
-
resultCode?: string;
|
|
8005
|
-
// 异常信息的文本描述
|
|
8006
|
-
resultMsg?: string;
|
|
8007
|
-
// 返回公司列表
|
|
8008
|
-
businessItems?: CompanyItems[];
|
|
8009
|
-
// 企业信息个数
|
|
8010
|
-
total?: number;
|
|
8011
|
-
static names(): { [key: string]: string } {
|
|
8012
|
-
return {
|
|
8013
|
-
reqMsgId: 'req_msg_id',
|
|
8014
|
-
resultCode: 'result_code',
|
|
8015
|
-
resultMsg: 'result_msg',
|
|
8016
|
-
businessItems: 'business_items',
|
|
8017
|
-
total: 'total',
|
|
8018
|
-
};
|
|
8019
|
-
}
|
|
8020
|
-
|
|
8021
|
-
static types(): { [key: string]: any } {
|
|
8022
|
-
return {
|
|
8023
|
-
reqMsgId: 'string',
|
|
8024
|
-
resultCode: 'string',
|
|
8025
|
-
resultMsg: 'string',
|
|
8026
|
-
businessItems: { 'type': 'array', 'itemType': CompanyItems },
|
|
8027
|
-
total: 'number',
|
|
8028
|
-
};
|
|
8029
|
-
}
|
|
8030
|
-
|
|
8031
|
-
constructor(map?: { [key: string]: any }) {
|
|
8032
|
-
super(map);
|
|
8033
|
-
}
|
|
8034
|
-
}
|
|
8035
|
-
|
|
8036
7932
|
export class UpdateDubbridgeFileRequest extends $tea.Model {
|
|
8037
7933
|
// OAuth模式下的授权token
|
|
8038
7934
|
authToken?: string;
|
|
@@ -8100,128 +7996,6 @@ export class UpdateDubbridgeFileResponse extends $tea.Model {
|
|
|
8100
7996
|
}
|
|
8101
7997
|
}
|
|
8102
7998
|
|
|
8103
|
-
export class QueryDubbridgeCreditUrlRequest extends $tea.Model {
|
|
8104
|
-
// OAuth模式下的授权token
|
|
8105
|
-
authToken?: string;
|
|
8106
|
-
productInstanceId?: string;
|
|
8107
|
-
static names(): { [key: string]: string } {
|
|
8108
|
-
return {
|
|
8109
|
-
authToken: 'auth_token',
|
|
8110
|
-
productInstanceId: 'product_instance_id',
|
|
8111
|
-
};
|
|
8112
|
-
}
|
|
8113
|
-
|
|
8114
|
-
static types(): { [key: string]: any } {
|
|
8115
|
-
return {
|
|
8116
|
-
authToken: 'string',
|
|
8117
|
-
productInstanceId: 'string',
|
|
8118
|
-
};
|
|
8119
|
-
}
|
|
8120
|
-
|
|
8121
|
-
constructor(map?: { [key: string]: any }) {
|
|
8122
|
-
super(map);
|
|
8123
|
-
}
|
|
8124
|
-
}
|
|
8125
|
-
|
|
8126
|
-
export class QueryDubbridgeCreditUrlResponse extends $tea.Model {
|
|
8127
|
-
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8128
|
-
reqMsgId?: string;
|
|
8129
|
-
// 结果码,一般OK表示调用成功
|
|
8130
|
-
resultCode?: string;
|
|
8131
|
-
// 异常信息的文本描述
|
|
8132
|
-
resultMsg?: string;
|
|
8133
|
-
static names(): { [key: string]: string } {
|
|
8134
|
-
return {
|
|
8135
|
-
reqMsgId: 'req_msg_id',
|
|
8136
|
-
resultCode: 'result_code',
|
|
8137
|
-
resultMsg: 'result_msg',
|
|
8138
|
-
};
|
|
8139
|
-
}
|
|
8140
|
-
|
|
8141
|
-
static types(): { [key: string]: any } {
|
|
8142
|
-
return {
|
|
8143
|
-
reqMsgId: 'string',
|
|
8144
|
-
resultCode: 'string',
|
|
8145
|
-
resultMsg: 'string',
|
|
8146
|
-
};
|
|
8147
|
-
}
|
|
8148
|
-
|
|
8149
|
-
constructor(map?: { [key: string]: any }) {
|
|
8150
|
-
super(map);
|
|
8151
|
-
}
|
|
8152
|
-
}
|
|
8153
|
-
|
|
8154
|
-
export class QueryDubbridgeBusinessDetailRequest extends $tea.Model {
|
|
8155
|
-
// OAuth模式下的授权token
|
|
8156
|
-
authToken?: string;
|
|
8157
|
-
productInstanceId?: string;
|
|
8158
|
-
// 查询字段(注册号,社会统一信用代码,公司名称)
|
|
8159
|
-
keyword: string;
|
|
8160
|
-
static names(): { [key: string]: string } {
|
|
8161
|
-
return {
|
|
8162
|
-
authToken: 'auth_token',
|
|
8163
|
-
productInstanceId: 'product_instance_id',
|
|
8164
|
-
keyword: 'keyword',
|
|
8165
|
-
};
|
|
8166
|
-
}
|
|
8167
|
-
|
|
8168
|
-
static types(): { [key: string]: any } {
|
|
8169
|
-
return {
|
|
8170
|
-
authToken: 'string',
|
|
8171
|
-
productInstanceId: 'string',
|
|
8172
|
-
keyword: 'string',
|
|
8173
|
-
};
|
|
8174
|
-
}
|
|
8175
|
-
|
|
8176
|
-
constructor(map?: { [key: string]: any }) {
|
|
8177
|
-
super(map);
|
|
8178
|
-
}
|
|
8179
|
-
}
|
|
8180
|
-
|
|
8181
|
-
export class QueryDubbridgeBusinessDetailResponse extends $tea.Model {
|
|
8182
|
-
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8183
|
-
reqMsgId?: string;
|
|
8184
|
-
// 结果码,一般OK表示调用成功
|
|
8185
|
-
resultCode?: string;
|
|
8186
|
-
// 异常信息的文本描述
|
|
8187
|
-
resultMsg?: string;
|
|
8188
|
-
// 社会统一信用代码
|
|
8189
|
-
ucCode?: string;
|
|
8190
|
-
// 注册日期
|
|
8191
|
-
registerDate?: string;
|
|
8192
|
-
// 经营地址
|
|
8193
|
-
operatingAddrJson?: string;
|
|
8194
|
-
// 详细地址
|
|
8195
|
-
addressDetail?: string;
|
|
8196
|
-
static names(): { [key: string]: string } {
|
|
8197
|
-
return {
|
|
8198
|
-
reqMsgId: 'req_msg_id',
|
|
8199
|
-
resultCode: 'result_code',
|
|
8200
|
-
resultMsg: 'result_msg',
|
|
8201
|
-
ucCode: 'uc_code',
|
|
8202
|
-
registerDate: 'register_date',
|
|
8203
|
-
operatingAddrJson: 'operating_addr_json',
|
|
8204
|
-
addressDetail: 'address_detail',
|
|
8205
|
-
};
|
|
8206
|
-
}
|
|
8207
|
-
|
|
8208
|
-
static types(): { [key: string]: any } {
|
|
8209
|
-
return {
|
|
8210
|
-
reqMsgId: 'string',
|
|
8211
|
-
resultCode: 'string',
|
|
8212
|
-
resultMsg: 'string',
|
|
8213
|
-
ucCode: 'string',
|
|
8214
|
-
registerDate: 'string',
|
|
8215
|
-
operatingAddrJson: 'string',
|
|
8216
|
-
addressDetail: 'string',
|
|
8217
|
-
};
|
|
8218
|
-
}
|
|
8219
|
-
|
|
8220
|
-
constructor(map?: { [key: string]: any }) {
|
|
8221
|
-
super(map);
|
|
8222
|
-
}
|
|
8223
|
-
}
|
|
8224
|
-
|
|
8225
7999
|
export class NotifyDubbridgeCallbackRequest extends $tea.Model {
|
|
8226
8000
|
// OAuth模式下的授权token
|
|
8227
8001
|
authToken?: string;
|
|
@@ -13779,7 +13553,9 @@ export default class Client {
|
|
|
13779
13553
|
req_msg_id: AntchainUtil.getNonce(),
|
|
13780
13554
|
access_key: this._accessKeyId,
|
|
13781
13555
|
base_sdk_version: "TeaSDK-2.0",
|
|
13782
|
-
sdk_version: "1.13.
|
|
13556
|
+
sdk_version: "1.13.14",
|
|
13557
|
+
_prod_code: "RISKPLUS",
|
|
13558
|
+
_prod_channel: "undefined",
|
|
13783
13559
|
};
|
|
13784
13560
|
if (!Util.empty(this._securityToken)) {
|
|
13785
13561
|
request_.query["security_token"] = this._securityToken;
|
|
@@ -14891,25 +14667,6 @@ export default class Client {
|
|
|
14891
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({}));
|
|
14892
14668
|
}
|
|
14893
14669
|
|
|
14894
|
-
/**
|
|
14895
|
-
* Description: 根据关键字从第三方查询企业信息
|
|
14896
|
-
* Summary: 天枢系统企业搜索
|
|
14897
|
-
*/
|
|
14898
|
-
async queryDubbridgeCompanyItems(request: QueryDubbridgeCompanyItemsRequest): Promise<QueryDubbridgeCompanyItemsResponse> {
|
|
14899
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
14900
|
-
let headers : {[key: string ]: string} = { };
|
|
14901
|
-
return await this.queryDubbridgeCompanyItemsEx(request, headers, runtime);
|
|
14902
|
-
}
|
|
14903
|
-
|
|
14904
|
-
/**
|
|
14905
|
-
* Description: 根据关键字从第三方查询企业信息
|
|
14906
|
-
* Summary: 天枢系统企业搜索
|
|
14907
|
-
*/
|
|
14908
|
-
async queryDubbridgeCompanyItemsEx(request: QueryDubbridgeCompanyItemsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeCompanyItemsResponse> {
|
|
14909
|
-
Util.validateModel(request);
|
|
14910
|
-
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({}));
|
|
14911
|
-
}
|
|
14912
|
-
|
|
14913
14670
|
/**
|
|
14914
14671
|
* Description: 客户影像信息更新
|
|
14915
14672
|
* Summary: 客户影像信息更新
|
|
@@ -14929,44 +14686,6 @@ export default class Client {
|
|
|
14929
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({}));
|
|
14930
14687
|
}
|
|
14931
14688
|
|
|
14932
|
-
/**
|
|
14933
|
-
* Description: 天枢系统获取授信H5地址
|
|
14934
|
-
* Summary: 天枢系统获取授信H5地址
|
|
14935
|
-
*/
|
|
14936
|
-
async queryDubbridgeCreditUrl(request: QueryDubbridgeCreditUrlRequest): Promise<QueryDubbridgeCreditUrlResponse> {
|
|
14937
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
14938
|
-
let headers : {[key: string ]: string} = { };
|
|
14939
|
-
return await this.queryDubbridgeCreditUrlEx(request, headers, runtime);
|
|
14940
|
-
}
|
|
14941
|
-
|
|
14942
|
-
/**
|
|
14943
|
-
* Description: 天枢系统获取授信H5地址
|
|
14944
|
-
* Summary: 天枢系统获取授信H5地址
|
|
14945
|
-
*/
|
|
14946
|
-
async queryDubbridgeCreditUrlEx(request: QueryDubbridgeCreditUrlRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeCreditUrlResponse> {
|
|
14947
|
-
Util.validateModel(request);
|
|
14948
|
-
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({}));
|
|
14949
|
-
}
|
|
14950
|
-
|
|
14951
|
-
/**
|
|
14952
|
-
* Description: 根据关键字从第三方查询企业详情信息
|
|
14953
|
-
* Summary: 天枢系统企业详情信息查询
|
|
14954
|
-
*/
|
|
14955
|
-
async queryDubbridgeBusinessDetail(request: QueryDubbridgeBusinessDetailRequest): Promise<QueryDubbridgeBusinessDetailResponse> {
|
|
14956
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
14957
|
-
let headers : {[key: string ]: string} = { };
|
|
14958
|
-
return await this.queryDubbridgeBusinessDetailEx(request, headers, runtime);
|
|
14959
|
-
}
|
|
14960
|
-
|
|
14961
|
-
/**
|
|
14962
|
-
* Description: 根据关键字从第三方查询企业详情信息
|
|
14963
|
-
* Summary: 天枢系统企业详情信息查询
|
|
14964
|
-
*/
|
|
14965
|
-
async queryDubbridgeBusinessDetailEx(request: QueryDubbridgeBusinessDetailRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeBusinessDetailResponse> {
|
|
14966
|
-
Util.validateModel(request);
|
|
14967
|
-
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({}));
|
|
14968
|
-
}
|
|
14969
|
-
|
|
14970
14689
|
/**
|
|
14971
14690
|
* Description: 天枢回调通用接口
|
|
14972
14691
|
* Summary: 天枢回调通用接口
|