@antchain/riskplus 1.26.6 → 1.26.7
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 +44 -0
- package/dist/client.js +67 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +91 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -6144,6 +6144,77 @@ export class QueryBenefithubReportInformationResponse extends $tea.Model {
|
|
|
6144
6144
|
}
|
|
6145
6145
|
}
|
|
6146
6146
|
|
|
6147
|
+
export class QueryBenefithubReportEffectiveRequest extends $tea.Model {
|
|
6148
|
+
// OAuth模式下的授权token
|
|
6149
|
+
authToken?: string;
|
|
6150
|
+
productInstanceId?: string;
|
|
6151
|
+
// 用户唯一id
|
|
6152
|
+
uuid: string;
|
|
6153
|
+
// 平台code
|
|
6154
|
+
platformCode: string;
|
|
6155
|
+
static names(): { [key: string]: string } {
|
|
6156
|
+
return {
|
|
6157
|
+
authToken: 'auth_token',
|
|
6158
|
+
productInstanceId: 'product_instance_id',
|
|
6159
|
+
uuid: 'uuid',
|
|
6160
|
+
platformCode: 'platform_code',
|
|
6161
|
+
};
|
|
6162
|
+
}
|
|
6163
|
+
|
|
6164
|
+
static types(): { [key: string]: any } {
|
|
6165
|
+
return {
|
|
6166
|
+
authToken: 'string',
|
|
6167
|
+
productInstanceId: 'string',
|
|
6168
|
+
uuid: 'string',
|
|
6169
|
+
platformCode: 'string',
|
|
6170
|
+
};
|
|
6171
|
+
}
|
|
6172
|
+
|
|
6173
|
+
constructor(map?: { [key: string]: any }) {
|
|
6174
|
+
super(map);
|
|
6175
|
+
}
|
|
6176
|
+
}
|
|
6177
|
+
|
|
6178
|
+
export class QueryBenefithubReportEffectiveResponse extends $tea.Model {
|
|
6179
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6180
|
+
reqMsgId?: string;
|
|
6181
|
+
// 结果码,一般OK表示调用成功
|
|
6182
|
+
resultCode?: string;
|
|
6183
|
+
// 异常信息的文本描述
|
|
6184
|
+
resultMsg?: string;
|
|
6185
|
+
// 是否存在有效订单0无1有
|
|
6186
|
+
reportValid?: string;
|
|
6187
|
+
// 报告生成时间
|
|
6188
|
+
reportValidFrom?: string;
|
|
6189
|
+
// 报告过期时间
|
|
6190
|
+
reportValidTo?: string;
|
|
6191
|
+
static names(): { [key: string]: string } {
|
|
6192
|
+
return {
|
|
6193
|
+
reqMsgId: 'req_msg_id',
|
|
6194
|
+
resultCode: 'result_code',
|
|
6195
|
+
resultMsg: 'result_msg',
|
|
6196
|
+
reportValid: 'report_valid',
|
|
6197
|
+
reportValidFrom: 'report_valid_from',
|
|
6198
|
+
reportValidTo: 'report_valid_to',
|
|
6199
|
+
};
|
|
6200
|
+
}
|
|
6201
|
+
|
|
6202
|
+
static types(): { [key: string]: any } {
|
|
6203
|
+
return {
|
|
6204
|
+
reqMsgId: 'string',
|
|
6205
|
+
resultCode: 'string',
|
|
6206
|
+
resultMsg: 'string',
|
|
6207
|
+
reportValid: 'string',
|
|
6208
|
+
reportValidFrom: 'string',
|
|
6209
|
+
reportValidTo: 'string',
|
|
6210
|
+
};
|
|
6211
|
+
}
|
|
6212
|
+
|
|
6213
|
+
constructor(map?: { [key: string]: any }) {
|
|
6214
|
+
super(map);
|
|
6215
|
+
}
|
|
6216
|
+
}
|
|
6217
|
+
|
|
6147
6218
|
export class BatchqueryCreditshieldProductInfoRequest extends $tea.Model {
|
|
6148
6219
|
// OAuth模式下的授权token
|
|
6149
6220
|
authToken?: string;
|
|
@@ -25374,7 +25445,7 @@ export default class Client {
|
|
|
25374
25445
|
req_msg_id: AntchainUtil.getNonce(),
|
|
25375
25446
|
access_key: this._accessKeyId,
|
|
25376
25447
|
base_sdk_version: "TeaSDK-2.0",
|
|
25377
|
-
sdk_version: "1.26.
|
|
25448
|
+
sdk_version: "1.26.7",
|
|
25378
25449
|
_prod_code: "RISKPLUS",
|
|
25379
25450
|
_prod_channel: "undefined",
|
|
25380
25451
|
};
|
|
@@ -25498,6 +25569,25 @@ export default class Client {
|
|
|
25498
25569
|
return $tea.cast<QueryBenefithubReportInformationResponse>(await this.doRequest("1.0", "riskplus.benefithub.report.information.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryBenefithubReportInformationResponse({}));
|
|
25499
25570
|
}
|
|
25500
25571
|
|
|
25572
|
+
/**
|
|
25573
|
+
* Description: 渠道查询报告有效期
|
|
25574
|
+
* Summary: 渠道查询报告有效期
|
|
25575
|
+
*/
|
|
25576
|
+
async queryBenefithubReportEffective(request: QueryBenefithubReportEffectiveRequest): Promise<QueryBenefithubReportEffectiveResponse> {
|
|
25577
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
25578
|
+
let headers : {[key: string ]: string} = { };
|
|
25579
|
+
return await this.queryBenefithubReportEffectiveEx(request, headers, runtime);
|
|
25580
|
+
}
|
|
25581
|
+
|
|
25582
|
+
/**
|
|
25583
|
+
* Description: 渠道查询报告有效期
|
|
25584
|
+
* Summary: 渠道查询报告有效期
|
|
25585
|
+
*/
|
|
25586
|
+
async queryBenefithubReportEffectiveEx(request: QueryBenefithubReportEffectiveRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryBenefithubReportEffectiveResponse> {
|
|
25587
|
+
Util.validateModel(request);
|
|
25588
|
+
return $tea.cast<QueryBenefithubReportEffectiveResponse>(await this.doRequest("1.0", "riskplus.benefithub.report.effective.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryBenefithubReportEffectiveResponse({}));
|
|
25589
|
+
}
|
|
25590
|
+
|
|
25501
25591
|
/**
|
|
25502
25592
|
* Description: 信护盾产品批量查询
|
|
25503
25593
|
* Summary: 信护盾产品批量查询
|