@antchain/riskplus 1.22.0 → 1.22.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 +94 -0
- package/dist/client.js +137 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +178 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -3640,6 +3640,31 @@ export class CustomerBankCardInfo extends $tea.Model {
|
|
|
3640
3640
|
}
|
|
3641
3641
|
}
|
|
3642
3642
|
|
|
3643
|
+
// 供应商
|
|
3644
|
+
export class Supplier extends $tea.Model {
|
|
3645
|
+
// 供应商id
|
|
3646
|
+
supplierId: string;
|
|
3647
|
+
// 供应商名字
|
|
3648
|
+
supplierName: string;
|
|
3649
|
+
static names(): { [key: string]: string } {
|
|
3650
|
+
return {
|
|
3651
|
+
supplierId: 'supplier_id',
|
|
3652
|
+
supplierName: 'supplier_name',
|
|
3653
|
+
};
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3656
|
+
static types(): { [key: string]: any } {
|
|
3657
|
+
return {
|
|
3658
|
+
supplierId: 'string',
|
|
3659
|
+
supplierName: 'string',
|
|
3660
|
+
};
|
|
3661
|
+
}
|
|
3662
|
+
|
|
3663
|
+
constructor(map?: { [key: string]: any }) {
|
|
3664
|
+
super(map);
|
|
3665
|
+
}
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3643
3668
|
// 查询结果
|
|
3644
3669
|
export class QueryResult extends $tea.Model {
|
|
3645
3670
|
// key
|
|
@@ -11436,6 +11461,120 @@ export class QueryMdipDataservicePocResponse extends $tea.Model {
|
|
|
11436
11461
|
}
|
|
11437
11462
|
}
|
|
11438
11463
|
|
|
11464
|
+
export class ListMdipDefaultSupplierRequest extends $tea.Model {
|
|
11465
|
+
// OAuth模式下的授权token
|
|
11466
|
+
authToken?: string;
|
|
11467
|
+
productInstanceId?: string;
|
|
11468
|
+
// ANTCLOUD
|
|
11469
|
+
defaultTenant?: string;
|
|
11470
|
+
static names(): { [key: string]: string } {
|
|
11471
|
+
return {
|
|
11472
|
+
authToken: 'auth_token',
|
|
11473
|
+
productInstanceId: 'product_instance_id',
|
|
11474
|
+
defaultTenant: 'default_tenant',
|
|
11475
|
+
};
|
|
11476
|
+
}
|
|
11477
|
+
|
|
11478
|
+
static types(): { [key: string]: any } {
|
|
11479
|
+
return {
|
|
11480
|
+
authToken: 'string',
|
|
11481
|
+
productInstanceId: 'string',
|
|
11482
|
+
defaultTenant: 'string',
|
|
11483
|
+
};
|
|
11484
|
+
}
|
|
11485
|
+
|
|
11486
|
+
constructor(map?: { [key: string]: any }) {
|
|
11487
|
+
super(map);
|
|
11488
|
+
}
|
|
11489
|
+
}
|
|
11490
|
+
|
|
11491
|
+
export class ListMdipDefaultSupplierResponse extends $tea.Model {
|
|
11492
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
11493
|
+
reqMsgId?: string;
|
|
11494
|
+
// 结果码,一般OK表示调用成功
|
|
11495
|
+
resultCode?: string;
|
|
11496
|
+
// 异常信息的文本描述
|
|
11497
|
+
resultMsg?: string;
|
|
11498
|
+
// 供应商列表
|
|
11499
|
+
supplierList?: Supplier[];
|
|
11500
|
+
static names(): { [key: string]: string } {
|
|
11501
|
+
return {
|
|
11502
|
+
reqMsgId: 'req_msg_id',
|
|
11503
|
+
resultCode: 'result_code',
|
|
11504
|
+
resultMsg: 'result_msg',
|
|
11505
|
+
supplierList: 'supplier_list',
|
|
11506
|
+
};
|
|
11507
|
+
}
|
|
11508
|
+
|
|
11509
|
+
static types(): { [key: string]: any } {
|
|
11510
|
+
return {
|
|
11511
|
+
reqMsgId: 'string',
|
|
11512
|
+
resultCode: 'string',
|
|
11513
|
+
resultMsg: 'string',
|
|
11514
|
+
supplierList: { 'type': 'array', 'itemType': Supplier },
|
|
11515
|
+
};
|
|
11516
|
+
}
|
|
11517
|
+
|
|
11518
|
+
constructor(map?: { [key: string]: any }) {
|
|
11519
|
+
super(map);
|
|
11520
|
+
}
|
|
11521
|
+
}
|
|
11522
|
+
|
|
11523
|
+
export class CallbackMdipYunfengdieParamsRequest extends $tea.Model {
|
|
11524
|
+
// OAuth模式下的授权token
|
|
11525
|
+
authToken?: string;
|
|
11526
|
+
productInstanceId?: string;
|
|
11527
|
+
// 回调参数
|
|
11528
|
+
paramsMap: string;
|
|
11529
|
+
static names(): { [key: string]: string } {
|
|
11530
|
+
return {
|
|
11531
|
+
authToken: 'auth_token',
|
|
11532
|
+
productInstanceId: 'product_instance_id',
|
|
11533
|
+
paramsMap: 'params_map',
|
|
11534
|
+
};
|
|
11535
|
+
}
|
|
11536
|
+
|
|
11537
|
+
static types(): { [key: string]: any } {
|
|
11538
|
+
return {
|
|
11539
|
+
authToken: 'string',
|
|
11540
|
+
productInstanceId: 'string',
|
|
11541
|
+
paramsMap: 'string',
|
|
11542
|
+
};
|
|
11543
|
+
}
|
|
11544
|
+
|
|
11545
|
+
constructor(map?: { [key: string]: any }) {
|
|
11546
|
+
super(map);
|
|
11547
|
+
}
|
|
11548
|
+
}
|
|
11549
|
+
|
|
11550
|
+
export class CallbackMdipYunfengdieParamsResponse extends $tea.Model {
|
|
11551
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
11552
|
+
reqMsgId?: string;
|
|
11553
|
+
// 结果码,一般OK表示调用成功
|
|
11554
|
+
resultCode?: string;
|
|
11555
|
+
// 异常信息的文本描述
|
|
11556
|
+
resultMsg?: string;
|
|
11557
|
+
static names(): { [key: string]: string } {
|
|
11558
|
+
return {
|
|
11559
|
+
reqMsgId: 'req_msg_id',
|
|
11560
|
+
resultCode: 'result_code',
|
|
11561
|
+
resultMsg: 'result_msg',
|
|
11562
|
+
};
|
|
11563
|
+
}
|
|
11564
|
+
|
|
11565
|
+
static types(): { [key: string]: any } {
|
|
11566
|
+
return {
|
|
11567
|
+
reqMsgId: 'string',
|
|
11568
|
+
resultCode: 'string',
|
|
11569
|
+
resultMsg: 'string',
|
|
11570
|
+
};
|
|
11571
|
+
}
|
|
11572
|
+
|
|
11573
|
+
constructor(map?: { [key: string]: any }) {
|
|
11574
|
+
super(map);
|
|
11575
|
+
}
|
|
11576
|
+
}
|
|
11577
|
+
|
|
11439
11578
|
export class ApplyQmpRtBatchmarketingRequest extends $tea.Model {
|
|
11440
11579
|
// OAuth模式下的授权token
|
|
11441
11580
|
authToken?: string;
|
|
@@ -21683,7 +21822,7 @@ export default class Client {
|
|
|
21683
21822
|
req_msg_id: AntchainUtil.getNonce(),
|
|
21684
21823
|
access_key: this._accessKeyId,
|
|
21685
21824
|
base_sdk_version: "TeaSDK-2.0",
|
|
21686
|
-
sdk_version: "1.22.
|
|
21825
|
+
sdk_version: "1.22.2",
|
|
21687
21826
|
_prod_code: "RISKPLUS",
|
|
21688
21827
|
_prod_channel: "undefined",
|
|
21689
21828
|
};
|
|
@@ -23317,6 +23456,44 @@ export default class Client {
|
|
|
23317
23456
|
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({}));
|
|
23318
23457
|
}
|
|
23319
23458
|
|
|
23459
|
+
/**
|
|
23460
|
+
* Description: 查询默认租户的供应商列表
|
|
23461
|
+
* Summary: 查询默认租户的供应商列表
|
|
23462
|
+
*/
|
|
23463
|
+
async listMdipDefaultSupplier(request: ListMdipDefaultSupplierRequest): Promise<ListMdipDefaultSupplierResponse> {
|
|
23464
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
23465
|
+
let headers : {[key: string ]: string} = { };
|
|
23466
|
+
return await this.listMdipDefaultSupplierEx(request, headers, runtime);
|
|
23467
|
+
}
|
|
23468
|
+
|
|
23469
|
+
/**
|
|
23470
|
+
* Description: 查询默认租户的供应商列表
|
|
23471
|
+
* Summary: 查询默认租户的供应商列表
|
|
23472
|
+
*/
|
|
23473
|
+
async listMdipDefaultSupplierEx(request: ListMdipDefaultSupplierRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListMdipDefaultSupplierResponse> {
|
|
23474
|
+
Util.validateModel(request);
|
|
23475
|
+
return $tea.cast<ListMdipDefaultSupplierResponse>(await this.doRequest("1.0", "riskplus.mdip.default.supplier.list", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ListMdipDefaultSupplierResponse({}));
|
|
23476
|
+
}
|
|
23477
|
+
|
|
23478
|
+
/**
|
|
23479
|
+
* Description: 数据回调
|
|
23480
|
+
* Summary: 云凤蝶回调参数
|
|
23481
|
+
*/
|
|
23482
|
+
async callbackMdipYunfengdieParams(request: CallbackMdipYunfengdieParamsRequest): Promise<CallbackMdipYunfengdieParamsResponse> {
|
|
23483
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
23484
|
+
let headers : {[key: string ]: string} = { };
|
|
23485
|
+
return await this.callbackMdipYunfengdieParamsEx(request, headers, runtime);
|
|
23486
|
+
}
|
|
23487
|
+
|
|
23488
|
+
/**
|
|
23489
|
+
* Description: 数据回调
|
|
23490
|
+
* Summary: 云凤蝶回调参数
|
|
23491
|
+
*/
|
|
23492
|
+
async callbackMdipYunfengdieParamsEx(request: CallbackMdipYunfengdieParamsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackMdipYunfengdieParamsResponse> {
|
|
23493
|
+
Util.validateModel(request);
|
|
23494
|
+
return $tea.cast<CallbackMdipYunfengdieParamsResponse>(await this.doRequest("1.0", "riskplus.mdip.yunfengdie.params.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMdipYunfengdieParamsResponse({}));
|
|
23495
|
+
}
|
|
23496
|
+
|
|
23320
23497
|
/**
|
|
23321
23498
|
* Description: 批量实时触达接口
|
|
23322
23499
|
* Summary: 发起触达任务
|