@antchain/riskplus 1.20.7 → 1.21.0
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 +42 -0
- package/dist/client.js +63 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +85 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -11285,6 +11285,71 @@ export class CallbackMdipAuditResponse extends $tea.Model {
|
|
|
11285
11285
|
}
|
|
11286
11286
|
}
|
|
11287
11287
|
|
|
11288
|
+
export class QueryMdipDataservicePocRequest extends $tea.Model {
|
|
11289
|
+
// OAuth模式下的授权token
|
|
11290
|
+
authToken?: string;
|
|
11291
|
+
productInstanceId?: string;
|
|
11292
|
+
// 服务编码
|
|
11293
|
+
//
|
|
11294
|
+
serviceCode: string;
|
|
11295
|
+
// 服务参数
|
|
11296
|
+
serviceParam: string;
|
|
11297
|
+
static names(): { [key: string]: string } {
|
|
11298
|
+
return {
|
|
11299
|
+
authToken: 'auth_token',
|
|
11300
|
+
productInstanceId: 'product_instance_id',
|
|
11301
|
+
serviceCode: 'service_code',
|
|
11302
|
+
serviceParam: 'service_param',
|
|
11303
|
+
};
|
|
11304
|
+
}
|
|
11305
|
+
|
|
11306
|
+
static types(): { [key: string]: any } {
|
|
11307
|
+
return {
|
|
11308
|
+
authToken: 'string',
|
|
11309
|
+
productInstanceId: 'string',
|
|
11310
|
+
serviceCode: 'string',
|
|
11311
|
+
serviceParam: 'string',
|
|
11312
|
+
};
|
|
11313
|
+
}
|
|
11314
|
+
|
|
11315
|
+
constructor(map?: { [key: string]: any }) {
|
|
11316
|
+
super(map);
|
|
11317
|
+
}
|
|
11318
|
+
}
|
|
11319
|
+
|
|
11320
|
+
export class QueryMdipDataservicePocResponse extends $tea.Model {
|
|
11321
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
11322
|
+
reqMsgId?: string;
|
|
11323
|
+
// 结果码,一般OK表示调用成功
|
|
11324
|
+
resultCode?: string;
|
|
11325
|
+
// 异常信息的文本描述
|
|
11326
|
+
resultMsg?: string;
|
|
11327
|
+
//
|
|
11328
|
+
// 多源查询结果值
|
|
11329
|
+
data?: string;
|
|
11330
|
+
static names(): { [key: string]: string } {
|
|
11331
|
+
return {
|
|
11332
|
+
reqMsgId: 'req_msg_id',
|
|
11333
|
+
resultCode: 'result_code',
|
|
11334
|
+
resultMsg: 'result_msg',
|
|
11335
|
+
data: 'data',
|
|
11336
|
+
};
|
|
11337
|
+
}
|
|
11338
|
+
|
|
11339
|
+
static types(): { [key: string]: any } {
|
|
11340
|
+
return {
|
|
11341
|
+
reqMsgId: 'string',
|
|
11342
|
+
resultCode: 'string',
|
|
11343
|
+
resultMsg: 'string',
|
|
11344
|
+
data: 'string',
|
|
11345
|
+
};
|
|
11346
|
+
}
|
|
11347
|
+
|
|
11348
|
+
constructor(map?: { [key: string]: any }) {
|
|
11349
|
+
super(map);
|
|
11350
|
+
}
|
|
11351
|
+
}
|
|
11352
|
+
|
|
11288
11353
|
export class ApplyQmpRtBatchmarketingRequest extends $tea.Model {
|
|
11289
11354
|
// OAuth模式下的授权token
|
|
11290
11355
|
authToken?: string;
|
|
@@ -20894,7 +20959,7 @@ export default class Client {
|
|
|
20894
20959
|
req_msg_id: AntchainUtil.getNonce(),
|
|
20895
20960
|
access_key: this._accessKeyId,
|
|
20896
20961
|
base_sdk_version: "TeaSDK-2.0",
|
|
20897
|
-
sdk_version: "1.
|
|
20962
|
+
sdk_version: "1.21.0",
|
|
20898
20963
|
_prod_code: "RISKPLUS",
|
|
20899
20964
|
_prod_channel: "undefined",
|
|
20900
20965
|
};
|
|
@@ -22509,6 +22574,25 @@ export default class Client {
|
|
|
22509
22574
|
return $tea.cast<CallbackMdipAuditResponse>(await this.doRequest("1.0", "riskplus.mdip.audit.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMdipAuditResponse({}));
|
|
22510
22575
|
}
|
|
22511
22576
|
|
|
22577
|
+
/**
|
|
22578
|
+
* Description: 该接口仅限于POC场景下使用, 关键时期会执行限流操作,并且不会通知到上游依赖服务。
|
|
22579
|
+
* Summary: 多源融合平台的POC数据服务查询接口
|
|
22580
|
+
*/
|
|
22581
|
+
async queryMdipDataservicePoc(request: QueryMdipDataservicePocRequest): Promise<QueryMdipDataservicePocResponse> {
|
|
22582
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
22583
|
+
let headers : {[key: string ]: string} = { };
|
|
22584
|
+
return await this.queryMdipDataservicePocEx(request, headers, runtime);
|
|
22585
|
+
}
|
|
22586
|
+
|
|
22587
|
+
/**
|
|
22588
|
+
* Description: 该接口仅限于POC场景下使用, 关键时期会执行限流操作,并且不会通知到上游依赖服务。
|
|
22589
|
+
* Summary: 多源融合平台的POC数据服务查询接口
|
|
22590
|
+
*/
|
|
22591
|
+
async queryMdipDataservicePocEx(request: QueryMdipDataservicePocRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryMdipDataservicePocResponse> {
|
|
22592
|
+
Util.validateModel(request);
|
|
22593
|
+
return $tea.cast<QueryMdipDataservicePocResponse>(await this.doRequest("1.0", "riskplus.mdip.dataservice.poc.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryMdipDataservicePocResponse({}));
|
|
22594
|
+
}
|
|
22595
|
+
|
|
22512
22596
|
/**
|
|
22513
22597
|
* Description: 批量实时触达接口
|
|
22514
22598
|
* Summary: 发起触达任务
|