@antchain/riskplus 1.28.7 → 1.29.2
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 +60 -0
- package/dist/client.js +92 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +131 -3
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1760,6 +1760,43 @@ export class RuntimeResult extends $tea.Model {
|
|
|
1760
1760
|
}
|
|
1761
1761
|
}
|
|
1762
1762
|
|
|
1763
|
+
// qmp分层信息
|
|
1764
|
+
export class DecisionInfo extends $tea.Model {
|
|
1765
|
+
// 状态
|
|
1766
|
+
status: string;
|
|
1767
|
+
// 计划配置ID
|
|
1768
|
+
offlineDecisionPlanId: number;
|
|
1769
|
+
// 总数量
|
|
1770
|
+
totalNum: number;
|
|
1771
|
+
// 分层结果数
|
|
1772
|
+
decisionNum: number;
|
|
1773
|
+
// 文件路径
|
|
1774
|
+
fileUrl: string;
|
|
1775
|
+
static names(): { [key: string]: string } {
|
|
1776
|
+
return {
|
|
1777
|
+
status: 'status',
|
|
1778
|
+
offlineDecisionPlanId: 'offline_decision_plan_id',
|
|
1779
|
+
totalNum: 'total_num',
|
|
1780
|
+
decisionNum: 'decision_num',
|
|
1781
|
+
fileUrl: 'file_url',
|
|
1782
|
+
};
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
static types(): { [key: string]: any } {
|
|
1786
|
+
return {
|
|
1787
|
+
status: 'string',
|
|
1788
|
+
offlineDecisionPlanId: 'number',
|
|
1789
|
+
totalNum: 'number',
|
|
1790
|
+
decisionNum: 'number',
|
|
1791
|
+
fileUrl: 'string',
|
|
1792
|
+
};
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
constructor(map?: { [key: string]: any }) {
|
|
1796
|
+
super(map);
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1763
1800
|
// 监测企业的特征信息
|
|
1764
1801
|
export class RtopMonitorCompanyFeature extends $tea.Model {
|
|
1765
1802
|
// 特征的描述
|
|
@@ -12577,6 +12614,9 @@ export class QueryDubbridgeInstallmentCreditamtResponse extends $tea.Model {
|
|
|
12577
12614
|
abbreFundName?: string;
|
|
12578
12615
|
// 1:现金贷、2:分期付
|
|
12579
12616
|
prodType?: string;
|
|
12617
|
+
// Y- 可用
|
|
12618
|
+
// N- 不可用
|
|
12619
|
+
installmentStatus?: string;
|
|
12580
12620
|
static names(): { [key: string]: string } {
|
|
12581
12621
|
return {
|
|
12582
12622
|
reqMsgId: 'req_msg_id',
|
|
@@ -12592,6 +12632,7 @@ export class QueryDubbridgeInstallmentCreditamtResponse extends $tea.Model {
|
|
|
12592
12632
|
fundCode: 'fund_code',
|
|
12593
12633
|
abbreFundName: 'abbre_fund_name',
|
|
12594
12634
|
prodType: 'prod_type',
|
|
12635
|
+
installmentStatus: 'installment_status',
|
|
12595
12636
|
};
|
|
12596
12637
|
}
|
|
12597
12638
|
|
|
@@ -12610,6 +12651,7 @@ export class QueryDubbridgeInstallmentCreditamtResponse extends $tea.Model {
|
|
|
12610
12651
|
fundCode: 'string',
|
|
12611
12652
|
abbreFundName: 'string',
|
|
12612
12653
|
prodType: 'string',
|
|
12654
|
+
installmentStatus: 'string',
|
|
12613
12655
|
};
|
|
12614
12656
|
}
|
|
12615
12657
|
|
|
@@ -12899,9 +12941,9 @@ export class UploadDubbridgeAlipayImageRequest extends $tea.Model {
|
|
|
12899
12941
|
// 20: 门头照
|
|
12900
12942
|
// 21: 内景照
|
|
12901
12943
|
imageCategory: string;
|
|
12902
|
-
// 文件base64字符串,最大10M
|
|
12944
|
+
// 文件base64字符串,最大10M
|
|
12903
12945
|
imageContent?: string;
|
|
12904
|
-
//
|
|
12946
|
+
// 图片文件路径,(建议),http、https为前缀
|
|
12905
12947
|
imagePath?: string;
|
|
12906
12948
|
// 图片格式,
|
|
12907
12949
|
// 支持格式:bmp、jpg、jpeg、png、gif
|
|
@@ -16109,12 +16151,15 @@ export class UploadQmpOfflinehostplanResponse extends $tea.Model {
|
|
|
16109
16151
|
resultMsg?: string;
|
|
16110
16152
|
// 导入id,可以用该id来查询分层结果
|
|
16111
16153
|
importId?: number;
|
|
16154
|
+
// 任务id
|
|
16155
|
+
taskUuid?: string;
|
|
16112
16156
|
static names(): { [key: string]: string } {
|
|
16113
16157
|
return {
|
|
16114
16158
|
reqMsgId: 'req_msg_id',
|
|
16115
16159
|
resultCode: 'result_code',
|
|
16116
16160
|
resultMsg: 'result_msg',
|
|
16117
16161
|
importId: 'import_id',
|
|
16162
|
+
taskUuid: 'task_uuid',
|
|
16118
16163
|
};
|
|
16119
16164
|
}
|
|
16120
16165
|
|
|
@@ -16124,6 +16169,7 @@ export class UploadQmpOfflinehostplanResponse extends $tea.Model {
|
|
|
16124
16169
|
resultCode: 'string',
|
|
16125
16170
|
resultMsg: 'string',
|
|
16126
16171
|
importId: 'number',
|
|
16172
|
+
taskUuid: 'string',
|
|
16127
16173
|
};
|
|
16128
16174
|
}
|
|
16129
16175
|
|
|
@@ -16215,6 +16261,69 @@ export class QueryQmpOfflinehostplanDecisionresultResponse extends $tea.Model {
|
|
|
16215
16261
|
}
|
|
16216
16262
|
}
|
|
16217
16263
|
|
|
16264
|
+
export class QueryQmpOfflinehostplanDecisionresultsRequest extends $tea.Model {
|
|
16265
|
+
// OAuth模式下的授权token
|
|
16266
|
+
authToken?: string;
|
|
16267
|
+
productInstanceId?: string;
|
|
16268
|
+
// 任务串联任务id
|
|
16269
|
+
taskUuid: string;
|
|
16270
|
+
static names(): { [key: string]: string } {
|
|
16271
|
+
return {
|
|
16272
|
+
authToken: 'auth_token',
|
|
16273
|
+
productInstanceId: 'product_instance_id',
|
|
16274
|
+
taskUuid: 'task_uuid',
|
|
16275
|
+
};
|
|
16276
|
+
}
|
|
16277
|
+
|
|
16278
|
+
static types(): { [key: string]: any } {
|
|
16279
|
+
return {
|
|
16280
|
+
authToken: 'string',
|
|
16281
|
+
productInstanceId: 'string',
|
|
16282
|
+
taskUuid: 'string',
|
|
16283
|
+
};
|
|
16284
|
+
}
|
|
16285
|
+
|
|
16286
|
+
constructor(map?: { [key: string]: any }) {
|
|
16287
|
+
super(map);
|
|
16288
|
+
}
|
|
16289
|
+
}
|
|
16290
|
+
|
|
16291
|
+
export class QueryQmpOfflinehostplanDecisionresultsResponse extends $tea.Model {
|
|
16292
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
16293
|
+
reqMsgId?: string;
|
|
16294
|
+
// 结果码,一般OK表示调用成功
|
|
16295
|
+
resultCode?: string;
|
|
16296
|
+
// 异常信息的文本描述
|
|
16297
|
+
resultMsg?: string;
|
|
16298
|
+
// 托管计划编码
|
|
16299
|
+
planCode?: string;
|
|
16300
|
+
// 分层结果信息
|
|
16301
|
+
decisionInfo?: DecisionInfo[];
|
|
16302
|
+
static names(): { [key: string]: string } {
|
|
16303
|
+
return {
|
|
16304
|
+
reqMsgId: 'req_msg_id',
|
|
16305
|
+
resultCode: 'result_code',
|
|
16306
|
+
resultMsg: 'result_msg',
|
|
16307
|
+
planCode: 'plan_code',
|
|
16308
|
+
decisionInfo: 'decision_info',
|
|
16309
|
+
};
|
|
16310
|
+
}
|
|
16311
|
+
|
|
16312
|
+
static types(): { [key: string]: any } {
|
|
16313
|
+
return {
|
|
16314
|
+
reqMsgId: 'string',
|
|
16315
|
+
resultCode: 'string',
|
|
16316
|
+
resultMsg: 'string',
|
|
16317
|
+
planCode: 'string',
|
|
16318
|
+
decisionInfo: { 'type': 'array', 'itemType': DecisionInfo },
|
|
16319
|
+
};
|
|
16320
|
+
}
|
|
16321
|
+
|
|
16322
|
+
constructor(map?: { [key: string]: any }) {
|
|
16323
|
+
super(map);
|
|
16324
|
+
}
|
|
16325
|
+
}
|
|
16326
|
+
|
|
16218
16327
|
export class SyncRdaasTaxAuthinfoRequest extends $tea.Model {
|
|
16219
16328
|
// OAuth模式下的授权token
|
|
16220
16329
|
authToken?: string;
|
|
@@ -26080,7 +26189,7 @@ export default class Client {
|
|
|
26080
26189
|
req_msg_id: AntchainUtil.getNonce(),
|
|
26081
26190
|
access_key: this._accessKeyId,
|
|
26082
26191
|
base_sdk_version: "TeaSDK-2.0",
|
|
26083
|
-
sdk_version: "1.
|
|
26192
|
+
sdk_version: "1.29.2",
|
|
26084
26193
|
_prod_code: "RISKPLUS",
|
|
26085
26194
|
_prod_channel: "undefined",
|
|
26086
26195
|
};
|
|
@@ -28610,6 +28719,25 @@ export default class Client {
|
|
|
28610
28719
|
return $tea.cast<QueryQmpOfflinehostplanDecisionresultResponse>(await this.doRequest("1.0", "riskplus.qmp.offlinehostplan.decisionresult.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryQmpOfflinehostplanDecisionresultResponse({}));
|
|
28611
28720
|
}
|
|
28612
28721
|
|
|
28722
|
+
/**
|
|
28723
|
+
* Description: qmp分层结果查询v2
|
|
28724
|
+
* Summary: qmp分层结果查询v2
|
|
28725
|
+
*/
|
|
28726
|
+
async queryQmpOfflinehostplanDecisionresults(request: QueryQmpOfflinehostplanDecisionresultsRequest): Promise<QueryQmpOfflinehostplanDecisionresultsResponse> {
|
|
28727
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
28728
|
+
let headers : {[key: string ]: string} = { };
|
|
28729
|
+
return await this.queryQmpOfflinehostplanDecisionresultsEx(request, headers, runtime);
|
|
28730
|
+
}
|
|
28731
|
+
|
|
28732
|
+
/**
|
|
28733
|
+
* Description: qmp分层结果查询v2
|
|
28734
|
+
* Summary: qmp分层结果查询v2
|
|
28735
|
+
*/
|
|
28736
|
+
async queryQmpOfflinehostplanDecisionresultsEx(request: QueryQmpOfflinehostplanDecisionresultsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryQmpOfflinehostplanDecisionresultsResponse> {
|
|
28737
|
+
Util.validateModel(request);
|
|
28738
|
+
return $tea.cast<QueryQmpOfflinehostplanDecisionresultsResponse>(await this.doRequest("1.0", "riskplus.qmp.offlinehostplan.decisionresults.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryQmpOfflinehostplanDecisionresultsResponse({}));
|
|
28739
|
+
}
|
|
28740
|
+
|
|
28613
28741
|
/**
|
|
28614
28742
|
* Description: 企管盾票税交接授权信息表的同步
|
|
28615
28743
|
* Summary: 企管盾票税交接授权信息表的同步
|