@antchain/riskplus 1.16.33 → 1.16.36
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 +91 -1
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +128 -1
package/dist/client.d.ts
CHANGED
|
@@ -491,6 +491,20 @@ export declare class RtopCompanyRiskFactor extends $tea.Model {
|
|
|
491
491
|
[key: string]: any;
|
|
492
492
|
});
|
|
493
493
|
}
|
|
494
|
+
export declare class CustomerDetail extends $tea.Model {
|
|
495
|
+
customerKey: string;
|
|
496
|
+
channelParams: string;
|
|
497
|
+
extInfo: string;
|
|
498
|
+
static names(): {
|
|
499
|
+
[key: string]: string;
|
|
500
|
+
};
|
|
501
|
+
static types(): {
|
|
502
|
+
[key: string]: any;
|
|
503
|
+
};
|
|
504
|
+
constructor(map?: {
|
|
505
|
+
[key: string]: any;
|
|
506
|
+
});
|
|
507
|
+
}
|
|
494
508
|
export declare class CustomerBankCardInfo extends $tea.Model {
|
|
495
509
|
bankName: string;
|
|
496
510
|
bankCode: string;
|
|
@@ -3987,6 +4001,7 @@ export declare class QueryRbbGeneralRequest extends $tea.Model {
|
|
|
3987
4001
|
extension?: string;
|
|
3988
4002
|
queryname: string;
|
|
3989
4003
|
queryparas?: string;
|
|
4004
|
+
virtualCloudTenantCode?: string;
|
|
3990
4005
|
static names(): {
|
|
3991
4006
|
[key: string]: string;
|
|
3992
4007
|
};
|
|
@@ -6373,6 +6388,39 @@ export declare class ApplyUmktRealtimemarketingResponse extends $tea.Model {
|
|
|
6373
6388
|
[key: string]: any;
|
|
6374
6389
|
});
|
|
6375
6390
|
}
|
|
6391
|
+
export declare class ApplyUmktRtBatchmarketingRequest extends $tea.Model {
|
|
6392
|
+
authToken?: string;
|
|
6393
|
+
productInstanceId?: string;
|
|
6394
|
+
sceneStrategyId: number;
|
|
6395
|
+
outSerialNo: string;
|
|
6396
|
+
paramType: string;
|
|
6397
|
+
outInfo: string;
|
|
6398
|
+
customerDetails: CustomerDetail[];
|
|
6399
|
+
static names(): {
|
|
6400
|
+
[key: string]: string;
|
|
6401
|
+
};
|
|
6402
|
+
static types(): {
|
|
6403
|
+
[key: string]: any;
|
|
6404
|
+
};
|
|
6405
|
+
constructor(map?: {
|
|
6406
|
+
[key: string]: any;
|
|
6407
|
+
});
|
|
6408
|
+
}
|
|
6409
|
+
export declare class ApplyUmktRtBatchmarketingResponse extends $tea.Model {
|
|
6410
|
+
reqMsgId?: string;
|
|
6411
|
+
resultCode?: string;
|
|
6412
|
+
resultMsg?: string;
|
|
6413
|
+
bizId?: string;
|
|
6414
|
+
static names(): {
|
|
6415
|
+
[key: string]: string;
|
|
6416
|
+
};
|
|
6417
|
+
static types(): {
|
|
6418
|
+
[key: string]: any;
|
|
6419
|
+
};
|
|
6420
|
+
constructor(map?: {
|
|
6421
|
+
[key: string]: any;
|
|
6422
|
+
});
|
|
6423
|
+
}
|
|
6376
6424
|
export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
6377
6425
|
authToken?: string;
|
|
6378
6426
|
apiCode: string;
|
|
@@ -8145,6 +8193,18 @@ export default class Client {
|
|
|
8145
8193
|
applyUmktRealtimemarketingEx(request: ApplyUmktRealtimemarketingRequest, headers: {
|
|
8146
8194
|
[key: string]: string;
|
|
8147
8195
|
}, runtime: $Util.RuntimeOptions): Promise<ApplyUmktRealtimemarketingResponse>;
|
|
8196
|
+
/**
|
|
8197
|
+
* Description: 批量实时策略触达
|
|
8198
|
+
* Summary: 批量实时策略触达
|
|
8199
|
+
*/
|
|
8200
|
+
applyUmktRtBatchmarketing(request: ApplyUmktRtBatchmarketingRequest): Promise<ApplyUmktRtBatchmarketingResponse>;
|
|
8201
|
+
/**
|
|
8202
|
+
* Description: 批量实时策略触达
|
|
8203
|
+
* Summary: 批量实时策略触达
|
|
8204
|
+
*/
|
|
8205
|
+
applyUmktRtBatchmarketingEx(request: ApplyUmktRtBatchmarketingRequest, headers: {
|
|
8206
|
+
[key: string]: string;
|
|
8207
|
+
}, runtime: $Util.RuntimeOptions): Promise<ApplyUmktRtBatchmarketingResponse>;
|
|
8148
8208
|
/**
|
|
8149
8209
|
* Description: 创建HTTP PUT提交的文件上传
|
|
8150
8210
|
* Summary: 文件上传创建
|
package/dist/client.js
CHANGED
|
@@ -793,6 +793,27 @@ class RtopCompanyRiskFactor extends $tea.Model {
|
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
795
|
exports.RtopCompanyRiskFactor = RtopCompanyRiskFactor;
|
|
796
|
+
// 用户凭证信息
|
|
797
|
+
class CustomerDetail extends $tea.Model {
|
|
798
|
+
constructor(map) {
|
|
799
|
+
super(map);
|
|
800
|
+
}
|
|
801
|
+
static names() {
|
|
802
|
+
return {
|
|
803
|
+
customerKey: 'customer_key',
|
|
804
|
+
channelParams: 'channel_params',
|
|
805
|
+
extInfo: 'ext_info',
|
|
806
|
+
};
|
|
807
|
+
}
|
|
808
|
+
static types() {
|
|
809
|
+
return {
|
|
810
|
+
customerKey: 'string',
|
|
811
|
+
channelParams: 'string',
|
|
812
|
+
extInfo: 'string',
|
|
813
|
+
};
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
exports.CustomerDetail = CustomerDetail;
|
|
796
817
|
// 用户绑定银行卡列表
|
|
797
818
|
class CustomerBankCardInfo extends $tea.Model {
|
|
798
819
|
constructor(map) {
|
|
@@ -6247,6 +6268,7 @@ class QueryRbbGeneralRequest extends $tea.Model {
|
|
|
6247
6268
|
extension: 'extension',
|
|
6248
6269
|
queryname: 'queryname',
|
|
6249
6270
|
queryparas: 'queryparas',
|
|
6271
|
+
virtualCloudTenantCode: 'virtual_cloud_tenant_code',
|
|
6250
6272
|
};
|
|
6251
6273
|
}
|
|
6252
6274
|
static types() {
|
|
@@ -6256,6 +6278,7 @@ class QueryRbbGeneralRequest extends $tea.Model {
|
|
|
6256
6278
|
extension: 'string',
|
|
6257
6279
|
queryname: 'string',
|
|
6258
6280
|
queryparas: 'string',
|
|
6281
|
+
virtualCloudTenantCode: 'string',
|
|
6259
6282
|
};
|
|
6260
6283
|
}
|
|
6261
6284
|
}
|
|
@@ -9884,6 +9907,56 @@ class ApplyUmktRealtimemarketingResponse extends $tea.Model {
|
|
|
9884
9907
|
}
|
|
9885
9908
|
}
|
|
9886
9909
|
exports.ApplyUmktRealtimemarketingResponse = ApplyUmktRealtimemarketingResponse;
|
|
9910
|
+
class ApplyUmktRtBatchmarketingRequest extends $tea.Model {
|
|
9911
|
+
constructor(map) {
|
|
9912
|
+
super(map);
|
|
9913
|
+
}
|
|
9914
|
+
static names() {
|
|
9915
|
+
return {
|
|
9916
|
+
authToken: 'auth_token',
|
|
9917
|
+
productInstanceId: 'product_instance_id',
|
|
9918
|
+
sceneStrategyId: 'scene_strategy_id',
|
|
9919
|
+
outSerialNo: 'out_serial_no',
|
|
9920
|
+
paramType: 'param_type',
|
|
9921
|
+
outInfo: 'out_info',
|
|
9922
|
+
customerDetails: 'customer_details',
|
|
9923
|
+
};
|
|
9924
|
+
}
|
|
9925
|
+
static types() {
|
|
9926
|
+
return {
|
|
9927
|
+
authToken: 'string',
|
|
9928
|
+
productInstanceId: 'string',
|
|
9929
|
+
sceneStrategyId: 'number',
|
|
9930
|
+
outSerialNo: 'string',
|
|
9931
|
+
paramType: 'string',
|
|
9932
|
+
outInfo: 'string',
|
|
9933
|
+
customerDetails: { 'type': 'array', 'itemType': CustomerDetail },
|
|
9934
|
+
};
|
|
9935
|
+
}
|
|
9936
|
+
}
|
|
9937
|
+
exports.ApplyUmktRtBatchmarketingRequest = ApplyUmktRtBatchmarketingRequest;
|
|
9938
|
+
class ApplyUmktRtBatchmarketingResponse extends $tea.Model {
|
|
9939
|
+
constructor(map) {
|
|
9940
|
+
super(map);
|
|
9941
|
+
}
|
|
9942
|
+
static names() {
|
|
9943
|
+
return {
|
|
9944
|
+
reqMsgId: 'req_msg_id',
|
|
9945
|
+
resultCode: 'result_code',
|
|
9946
|
+
resultMsg: 'result_msg',
|
|
9947
|
+
bizId: 'biz_id',
|
|
9948
|
+
};
|
|
9949
|
+
}
|
|
9950
|
+
static types() {
|
|
9951
|
+
return {
|
|
9952
|
+
reqMsgId: 'string',
|
|
9953
|
+
resultCode: 'string',
|
|
9954
|
+
resultMsg: 'string',
|
|
9955
|
+
bizId: 'string',
|
|
9956
|
+
};
|
|
9957
|
+
}
|
|
9958
|
+
}
|
|
9959
|
+
exports.ApplyUmktRtBatchmarketingResponse = ApplyUmktRtBatchmarketingResponse;
|
|
9887
9960
|
class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
9888
9961
|
constructor(map) {
|
|
9889
9962
|
super(map);
|
|
@@ -10028,7 +10101,7 @@ class Client {
|
|
|
10028
10101
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
10029
10102
|
access_key: this._accessKeyId,
|
|
10030
10103
|
base_sdk_version: "TeaSDK-2.0",
|
|
10031
|
-
sdk_version: "1.16.
|
|
10104
|
+
sdk_version: "1.16.36",
|
|
10032
10105
|
_prod_code: "RISKPLUS",
|
|
10033
10106
|
_prod_channel: "undefined",
|
|
10034
10107
|
};
|
|
@@ -12559,6 +12632,23 @@ class Client {
|
|
|
12559
12632
|
tea_util_1.default.validateModel(request);
|
|
12560
12633
|
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.realtimemarketing.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktRealtimemarketingResponse({}));
|
|
12561
12634
|
}
|
|
12635
|
+
/**
|
|
12636
|
+
* Description: 批量实时策略触达
|
|
12637
|
+
* Summary: 批量实时策略触达
|
|
12638
|
+
*/
|
|
12639
|
+
async applyUmktRtBatchmarketing(request) {
|
|
12640
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12641
|
+
let headers = {};
|
|
12642
|
+
return await this.applyUmktRtBatchmarketingEx(request, headers, runtime);
|
|
12643
|
+
}
|
|
12644
|
+
/**
|
|
12645
|
+
* Description: 批量实时策略触达
|
|
12646
|
+
* Summary: 批量实时策略触达
|
|
12647
|
+
*/
|
|
12648
|
+
async applyUmktRtBatchmarketingEx(request, headers, runtime) {
|
|
12649
|
+
tea_util_1.default.validateModel(request);
|
|
12650
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.rt.batchmarketing.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktRtBatchmarketingResponse({}));
|
|
12651
|
+
}
|
|
12562
12652
|
/**
|
|
12563
12653
|
* Description: 创建HTTP PUT提交的文件上传
|
|
12564
12654
|
* Summary: 文件上传创建
|