@antchain/riskplus 1.16.28 → 1.16.33
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 +52 -5
- package/dist/client.js +80 -9
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +111 -7
package/dist/client.d.ts
CHANGED
|
@@ -6304,7 +6304,7 @@ export declare class QueryUmktTenantActionplaninfoResponse extends $tea.Model {
|
|
|
6304
6304
|
[key: string]: any;
|
|
6305
6305
|
});
|
|
6306
6306
|
}
|
|
6307
|
-
export declare class
|
|
6307
|
+
export declare class QueryUmktRobotcallDetailRequest extends $tea.Model {
|
|
6308
6308
|
authToken?: string;
|
|
6309
6309
|
productInstanceId?: string;
|
|
6310
6310
|
bizId: string;
|
|
@@ -6321,7 +6321,7 @@ export declare class QueryUmktRobotcallRequest extends $tea.Model {
|
|
|
6321
6321
|
[key: string]: any;
|
|
6322
6322
|
});
|
|
6323
6323
|
}
|
|
6324
|
-
export declare class
|
|
6324
|
+
export declare class QueryUmktRobotcallDetailResponse extends $tea.Model {
|
|
6325
6325
|
reqMsgId?: string;
|
|
6326
6326
|
resultCode?: string;
|
|
6327
6327
|
resultMsg?: string;
|
|
@@ -6338,6 +6338,41 @@ export declare class QueryUmktRobotcallResponse extends $tea.Model {
|
|
|
6338
6338
|
[key: string]: any;
|
|
6339
6339
|
});
|
|
6340
6340
|
}
|
|
6341
|
+
export declare class ApplyUmktRealtimemarketingRequest extends $tea.Model {
|
|
6342
|
+
authToken?: string;
|
|
6343
|
+
productInstanceId?: string;
|
|
6344
|
+
subTenantId?: string;
|
|
6345
|
+
sceneStrategyId: number;
|
|
6346
|
+
outSerialNo: string;
|
|
6347
|
+
paramType: string;
|
|
6348
|
+
channelParams?: string;
|
|
6349
|
+
extInfo?: string;
|
|
6350
|
+
customerKey: string;
|
|
6351
|
+
static names(): {
|
|
6352
|
+
[key: string]: string;
|
|
6353
|
+
};
|
|
6354
|
+
static types(): {
|
|
6355
|
+
[key: string]: any;
|
|
6356
|
+
};
|
|
6357
|
+
constructor(map?: {
|
|
6358
|
+
[key: string]: any;
|
|
6359
|
+
});
|
|
6360
|
+
}
|
|
6361
|
+
export declare class ApplyUmktRealtimemarketingResponse extends $tea.Model {
|
|
6362
|
+
reqMsgId?: string;
|
|
6363
|
+
resultCode?: string;
|
|
6364
|
+
resultMsg?: string;
|
|
6365
|
+
bizId?: string;
|
|
6366
|
+
static names(): {
|
|
6367
|
+
[key: string]: string;
|
|
6368
|
+
};
|
|
6369
|
+
static types(): {
|
|
6370
|
+
[key: string]: any;
|
|
6371
|
+
};
|
|
6372
|
+
constructor(map?: {
|
|
6373
|
+
[key: string]: any;
|
|
6374
|
+
});
|
|
6375
|
+
}
|
|
6341
6376
|
export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
6342
6377
|
authToken?: string;
|
|
6343
6378
|
apiCode: string;
|
|
@@ -8090,14 +8125,26 @@ export default class Client {
|
|
|
8090
8125
|
* Description: 查询ai外呼任务详情
|
|
8091
8126
|
* Summary: 查询ai外呼任务详情
|
|
8092
8127
|
*/
|
|
8093
|
-
|
|
8128
|
+
queryUmktRobotcallDetail(request: QueryUmktRobotcallDetailRequest): Promise<QueryUmktRobotcallDetailResponse>;
|
|
8094
8129
|
/**
|
|
8095
8130
|
* Description: 查询ai外呼任务详情
|
|
8096
8131
|
* Summary: 查询ai外呼任务详情
|
|
8097
8132
|
*/
|
|
8098
|
-
|
|
8133
|
+
queryUmktRobotcallDetailEx(request: QueryUmktRobotcallDetailRequest, headers: {
|
|
8134
|
+
[key: string]: string;
|
|
8135
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryUmktRobotcallDetailResponse>;
|
|
8136
|
+
/**
|
|
8137
|
+
* Description: 发起触达营销任务 ---目前仅支持文本短信
|
|
8138
|
+
* Summary: 发起触达营销任务
|
|
8139
|
+
*/
|
|
8140
|
+
applyUmktRealtimemarketing(request: ApplyUmktRealtimemarketingRequest): Promise<ApplyUmktRealtimemarketingResponse>;
|
|
8141
|
+
/**
|
|
8142
|
+
* Description: 发起触达营销任务 ---目前仅支持文本短信
|
|
8143
|
+
* Summary: 发起触达营销任务
|
|
8144
|
+
*/
|
|
8145
|
+
applyUmktRealtimemarketingEx(request: ApplyUmktRealtimemarketingRequest, headers: {
|
|
8099
8146
|
[key: string]: string;
|
|
8100
|
-
}, runtime: $Util.RuntimeOptions): Promise<
|
|
8147
|
+
}, runtime: $Util.RuntimeOptions): Promise<ApplyUmktRealtimemarketingResponse>;
|
|
8101
8148
|
/**
|
|
8102
8149
|
* Description: 创建HTTP PUT提交的文件上传
|
|
8103
8150
|
* Summary: 文件上传创建
|
package/dist/client.js
CHANGED
|
@@ -9778,7 +9778,7 @@ class QueryUmktTenantActionplaninfoResponse extends $tea.Model {
|
|
|
9778
9778
|
}
|
|
9779
9779
|
}
|
|
9780
9780
|
exports.QueryUmktTenantActionplaninfoResponse = QueryUmktTenantActionplaninfoResponse;
|
|
9781
|
-
class
|
|
9781
|
+
class QueryUmktRobotcallDetailRequest extends $tea.Model {
|
|
9782
9782
|
constructor(map) {
|
|
9783
9783
|
super(map);
|
|
9784
9784
|
}
|
|
@@ -9803,8 +9803,8 @@ class QueryUmktRobotcallRequest extends $tea.Model {
|
|
|
9803
9803
|
};
|
|
9804
9804
|
}
|
|
9805
9805
|
}
|
|
9806
|
-
exports.
|
|
9807
|
-
class
|
|
9806
|
+
exports.QueryUmktRobotcallDetailRequest = QueryUmktRobotcallDetailRequest;
|
|
9807
|
+
class QueryUmktRobotcallDetailResponse extends $tea.Model {
|
|
9808
9808
|
constructor(map) {
|
|
9809
9809
|
super(map);
|
|
9810
9810
|
}
|
|
@@ -9829,7 +9829,61 @@ class QueryUmktRobotcallResponse extends $tea.Model {
|
|
|
9829
9829
|
};
|
|
9830
9830
|
}
|
|
9831
9831
|
}
|
|
9832
|
-
exports.
|
|
9832
|
+
exports.QueryUmktRobotcallDetailResponse = QueryUmktRobotcallDetailResponse;
|
|
9833
|
+
class ApplyUmktRealtimemarketingRequest extends $tea.Model {
|
|
9834
|
+
constructor(map) {
|
|
9835
|
+
super(map);
|
|
9836
|
+
}
|
|
9837
|
+
static names() {
|
|
9838
|
+
return {
|
|
9839
|
+
authToken: 'auth_token',
|
|
9840
|
+
productInstanceId: 'product_instance_id',
|
|
9841
|
+
subTenantId: 'sub_tenant_id',
|
|
9842
|
+
sceneStrategyId: 'scene_strategy_id',
|
|
9843
|
+
outSerialNo: 'out_serial_no',
|
|
9844
|
+
paramType: 'param_type',
|
|
9845
|
+
channelParams: 'channel_params',
|
|
9846
|
+
extInfo: 'ext_info',
|
|
9847
|
+
customerKey: 'customer_key',
|
|
9848
|
+
};
|
|
9849
|
+
}
|
|
9850
|
+
static types() {
|
|
9851
|
+
return {
|
|
9852
|
+
authToken: 'string',
|
|
9853
|
+
productInstanceId: 'string',
|
|
9854
|
+
subTenantId: 'string',
|
|
9855
|
+
sceneStrategyId: 'number',
|
|
9856
|
+
outSerialNo: 'string',
|
|
9857
|
+
paramType: 'string',
|
|
9858
|
+
channelParams: 'string',
|
|
9859
|
+
extInfo: 'string',
|
|
9860
|
+
customerKey: 'string',
|
|
9861
|
+
};
|
|
9862
|
+
}
|
|
9863
|
+
}
|
|
9864
|
+
exports.ApplyUmktRealtimemarketingRequest = ApplyUmktRealtimemarketingRequest;
|
|
9865
|
+
class ApplyUmktRealtimemarketingResponse extends $tea.Model {
|
|
9866
|
+
constructor(map) {
|
|
9867
|
+
super(map);
|
|
9868
|
+
}
|
|
9869
|
+
static names() {
|
|
9870
|
+
return {
|
|
9871
|
+
reqMsgId: 'req_msg_id',
|
|
9872
|
+
resultCode: 'result_code',
|
|
9873
|
+
resultMsg: 'result_msg',
|
|
9874
|
+
bizId: 'biz_id',
|
|
9875
|
+
};
|
|
9876
|
+
}
|
|
9877
|
+
static types() {
|
|
9878
|
+
return {
|
|
9879
|
+
reqMsgId: 'string',
|
|
9880
|
+
resultCode: 'string',
|
|
9881
|
+
resultMsg: 'string',
|
|
9882
|
+
bizId: 'string',
|
|
9883
|
+
};
|
|
9884
|
+
}
|
|
9885
|
+
}
|
|
9886
|
+
exports.ApplyUmktRealtimemarketingResponse = ApplyUmktRealtimemarketingResponse;
|
|
9833
9887
|
class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
9834
9888
|
constructor(map) {
|
|
9835
9889
|
super(map);
|
|
@@ -9974,7 +10028,7 @@ class Client {
|
|
|
9974
10028
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
9975
10029
|
access_key: this._accessKeyId,
|
|
9976
10030
|
base_sdk_version: "TeaSDK-2.0",
|
|
9977
|
-
sdk_version: "1.16.
|
|
10031
|
+
sdk_version: "1.16.33",
|
|
9978
10032
|
_prod_code: "RISKPLUS",
|
|
9979
10033
|
_prod_channel: "undefined",
|
|
9980
10034
|
};
|
|
@@ -12475,18 +12529,35 @@ class Client {
|
|
|
12475
12529
|
* Description: 查询ai外呼任务详情
|
|
12476
12530
|
* Summary: 查询ai外呼任务详情
|
|
12477
12531
|
*/
|
|
12478
|
-
async
|
|
12532
|
+
async queryUmktRobotcallDetail(request) {
|
|
12479
12533
|
let runtime = new $Util.RuntimeOptions({});
|
|
12480
12534
|
let headers = {};
|
|
12481
|
-
return await this.
|
|
12535
|
+
return await this.queryUmktRobotcallDetailEx(request, headers, runtime);
|
|
12482
12536
|
}
|
|
12483
12537
|
/**
|
|
12484
12538
|
* Description: 查询ai外呼任务详情
|
|
12485
12539
|
* Summary: 查询ai外呼任务详情
|
|
12486
12540
|
*/
|
|
12487
|
-
async
|
|
12541
|
+
async queryUmktRobotcallDetailEx(request, headers, runtime) {
|
|
12542
|
+
tea_util_1.default.validateModel(request);
|
|
12543
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.robotcall.detail.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktRobotcallDetailResponse({}));
|
|
12544
|
+
}
|
|
12545
|
+
/**
|
|
12546
|
+
* Description: 发起触达营销任务 ---目前仅支持文本短信
|
|
12547
|
+
* Summary: 发起触达营销任务
|
|
12548
|
+
*/
|
|
12549
|
+
async applyUmktRealtimemarketing(request) {
|
|
12550
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12551
|
+
let headers = {};
|
|
12552
|
+
return await this.applyUmktRealtimemarketingEx(request, headers, runtime);
|
|
12553
|
+
}
|
|
12554
|
+
/**
|
|
12555
|
+
* Description: 发起触达营销任务 ---目前仅支持文本短信
|
|
12556
|
+
* Summary: 发起触达营销任务
|
|
12557
|
+
*/
|
|
12558
|
+
async applyUmktRealtimemarketingEx(request, headers, runtime) {
|
|
12488
12559
|
tea_util_1.default.validateModel(request);
|
|
12489
|
-
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.
|
|
12560
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.realtimemarketing.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktRealtimemarketingResponse({}));
|
|
12490
12561
|
}
|
|
12491
12562
|
/**
|
|
12492
12563
|
* Description: 创建HTTP PUT提交的文件上传
|