@antchain/riskplus 1.15.0 → 1.15.1
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 +24 -8
- package/dist/client.js +42 -17
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +70 -33
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -429,31 +429,31 @@ export class RtopRiskTag extends $tea.Model {
|
|
|
429
429
|
export class StatisticInfoDetail extends $tea.Model {
|
|
430
430
|
// actionDriverCode类型
|
|
431
431
|
actionDriverCode?: number;
|
|
432
|
-
// 调用总数
|
|
433
|
-
invokeCount?: number;
|
|
434
432
|
// 成功数
|
|
435
433
|
successCount?: number;
|
|
436
434
|
// 失败数
|
|
437
435
|
failCount?: number;
|
|
438
|
-
//
|
|
439
|
-
|
|
436
|
+
// 待触达的手机号数
|
|
437
|
+
waitingSubTaskCount?: number;
|
|
438
|
+
// 已收到的回执数
|
|
439
|
+
totalCount?: number;
|
|
440
440
|
static names(): { [key: string]: string } {
|
|
441
441
|
return {
|
|
442
442
|
actionDriverCode: 'action_driver_code',
|
|
443
|
-
invokeCount: 'invoke_count',
|
|
444
443
|
successCount: 'success_count',
|
|
445
444
|
failCount: 'fail_count',
|
|
446
|
-
|
|
445
|
+
waitingSubTaskCount: 'waiting_sub_task_count',
|
|
446
|
+
totalCount: 'total_count',
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
static types(): { [key: string]: any } {
|
|
451
451
|
return {
|
|
452
452
|
actionDriverCode: 'number',
|
|
453
|
-
invokeCount: 'number',
|
|
454
453
|
successCount: 'number',
|
|
455
454
|
failCount: 'number',
|
|
456
|
-
|
|
455
|
+
waitingSubTaskCount: 'number',
|
|
456
|
+
totalCount: 'number',
|
|
457
457
|
};
|
|
458
458
|
}
|
|
459
459
|
|
|
@@ -3052,6 +3052,35 @@ export class RiskLabelFilterConfigInfo extends $tea.Model {
|
|
|
3052
3052
|
}
|
|
3053
3053
|
}
|
|
3054
3054
|
|
|
3055
|
+
// AI外呼每个用户维度的参数信息
|
|
3056
|
+
export class RobotCallCustomerParam extends $tea.Model {
|
|
3057
|
+
// 手机号/手机号md5
|
|
3058
|
+
customerKey: string;
|
|
3059
|
+
// 用户维度透传字段
|
|
3060
|
+
customerOutInfo?: string;
|
|
3061
|
+
// 外呼话术变量字段
|
|
3062
|
+
properties?: string;
|
|
3063
|
+
static names(): { [key: string]: string } {
|
|
3064
|
+
return {
|
|
3065
|
+
customerKey: 'customer_key',
|
|
3066
|
+
customerOutInfo: 'customer_out_info',
|
|
3067
|
+
properties: 'properties',
|
|
3068
|
+
};
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
static types(): { [key: string]: any } {
|
|
3072
|
+
return {
|
|
3073
|
+
customerKey: 'string',
|
|
3074
|
+
customerOutInfo: 'string',
|
|
3075
|
+
properties: 'string',
|
|
3076
|
+
};
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
constructor(map?: { [key: string]: any }) {
|
|
3080
|
+
super(map);
|
|
3081
|
+
}
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3055
3084
|
// 天枢系统职业信息
|
|
3056
3085
|
export class JobInfo extends $tea.Model {
|
|
3057
3086
|
// 职业
|
|
@@ -12382,6 +12411,10 @@ export class UploadUmktParamsFileRequest extends $tea.Model {
|
|
|
12382
12411
|
// 后续支持
|
|
12383
12412
|
// DEVICE_MD5
|
|
12384
12413
|
fileTemplate: string;
|
|
12414
|
+
// 外部流水号
|
|
12415
|
+
outSerialNo: string;
|
|
12416
|
+
// 外部透传字段
|
|
12417
|
+
outInfo?: string;
|
|
12385
12418
|
static names(): { [key: string]: string } {
|
|
12386
12419
|
return {
|
|
12387
12420
|
authToken: 'auth_token',
|
|
@@ -12392,6 +12425,8 @@ export class UploadUmktParamsFileRequest extends $tea.Model {
|
|
|
12392
12425
|
sceneStrategyId: 'scene_strategy_id',
|
|
12393
12426
|
execTime: 'exec_time',
|
|
12394
12427
|
fileTemplate: 'file_template',
|
|
12428
|
+
outSerialNo: 'out_serial_no',
|
|
12429
|
+
outInfo: 'out_info',
|
|
12395
12430
|
};
|
|
12396
12431
|
}
|
|
12397
12432
|
|
|
@@ -12405,6 +12440,8 @@ export class UploadUmktParamsFileRequest extends $tea.Model {
|
|
|
12405
12440
|
sceneStrategyId: 'number',
|
|
12406
12441
|
execTime: 'string',
|
|
12407
12442
|
fileTemplate: 'string',
|
|
12443
|
+
outSerialNo: 'string',
|
|
12444
|
+
outInfo: 'string',
|
|
12408
12445
|
};
|
|
12409
12446
|
}
|
|
12410
12447
|
|
|
@@ -12804,28 +12841,25 @@ export class ApplyUmktRobotcallRequest extends $tea.Model {
|
|
|
12804
12841
|
// OAuth模式下的授权token
|
|
12805
12842
|
authToken?: string;
|
|
12806
12843
|
productInstanceId?: string;
|
|
12807
|
-
//
|
|
12808
|
-
|
|
12809
|
-
//
|
|
12810
|
-
|
|
12811
|
-
//
|
|
12812
|
-
|
|
12813
|
-
//
|
|
12814
|
-
|
|
12815
|
-
//
|
|
12816
|
-
|
|
12817
|
-
// 机器人参数
|
|
12818
|
-
params?: string;
|
|
12844
|
+
// 外部流水号
|
|
12845
|
+
outSerialNo: string;
|
|
12846
|
+
// 场景策略id
|
|
12847
|
+
sceneStrategyId: number;
|
|
12848
|
+
// 客户透传字段
|
|
12849
|
+
outInfo?: string;
|
|
12850
|
+
// 用户参数类型
|
|
12851
|
+
fileTemplate: string;
|
|
12852
|
+
// 每个手机号的详细参数
|
|
12853
|
+
customerDetails?: RobotCallCustomerParam[];
|
|
12819
12854
|
static names(): { [key: string]: string } {
|
|
12820
12855
|
return {
|
|
12821
12856
|
authToken: 'auth_token',
|
|
12822
12857
|
productInstanceId: 'product_instance_id',
|
|
12823
|
-
|
|
12824
|
-
|
|
12825
|
-
|
|
12826
|
-
|
|
12827
|
-
|
|
12828
|
-
params: 'params',
|
|
12858
|
+
outSerialNo: 'out_serial_no',
|
|
12859
|
+
sceneStrategyId: 'scene_strategy_id',
|
|
12860
|
+
outInfo: 'out_info',
|
|
12861
|
+
fileTemplate: 'file_template',
|
|
12862
|
+
customerDetails: 'customer_details',
|
|
12829
12863
|
};
|
|
12830
12864
|
}
|
|
12831
12865
|
|
|
@@ -12833,12 +12867,11 @@ export class ApplyUmktRobotcallRequest extends $tea.Model {
|
|
|
12833
12867
|
return {
|
|
12834
12868
|
authToken: 'string',
|
|
12835
12869
|
productInstanceId: 'string',
|
|
12836
|
-
|
|
12837
|
-
|
|
12838
|
-
|
|
12839
|
-
|
|
12840
|
-
|
|
12841
|
-
params: 'string',
|
|
12870
|
+
outSerialNo: 'string',
|
|
12871
|
+
sceneStrategyId: 'number',
|
|
12872
|
+
outInfo: 'string',
|
|
12873
|
+
fileTemplate: 'string',
|
|
12874
|
+
customerDetails: { 'type': 'array', 'itemType': RobotCallCustomerParam },
|
|
12842
12875
|
};
|
|
12843
12876
|
}
|
|
12844
12877
|
|
|
@@ -12915,12 +12948,15 @@ export class QueryUmktDataaccessStatisticResponse extends $tea.Model {
|
|
|
12915
12948
|
resultMsg?: string;
|
|
12916
12949
|
// 回执统计结果
|
|
12917
12950
|
statisticResult?: StatisticResult;
|
|
12951
|
+
// 任务状态
|
|
12952
|
+
taskStatus?: string;
|
|
12918
12953
|
static names(): { [key: string]: string } {
|
|
12919
12954
|
return {
|
|
12920
12955
|
reqMsgId: 'req_msg_id',
|
|
12921
12956
|
resultCode: 'result_code',
|
|
12922
12957
|
resultMsg: 'result_msg',
|
|
12923
12958
|
statisticResult: 'statistic_result',
|
|
12959
|
+
taskStatus: 'task_status',
|
|
12924
12960
|
};
|
|
12925
12961
|
}
|
|
12926
12962
|
|
|
@@ -12930,6 +12966,7 @@ export class QueryUmktDataaccessStatisticResponse extends $tea.Model {
|
|
|
12930
12966
|
resultCode: 'string',
|
|
12931
12967
|
resultMsg: 'string',
|
|
12932
12968
|
statisticResult: StatisticResult,
|
|
12969
|
+
taskStatus: 'string',
|
|
12933
12970
|
};
|
|
12934
12971
|
}
|
|
12935
12972
|
|
|
@@ -13846,7 +13883,7 @@ export default class Client {
|
|
|
13846
13883
|
req_msg_id: AntchainUtil.getNonce(),
|
|
13847
13884
|
access_key: this._accessKeyId,
|
|
13848
13885
|
base_sdk_version: "TeaSDK-2.0",
|
|
13849
|
-
sdk_version: "1.15.
|
|
13886
|
+
sdk_version: "1.15.1",
|
|
13850
13887
|
_prod_code: "RISKPLUS",
|
|
13851
13888
|
_prod_channel: "undefined",
|
|
13852
13889
|
};
|