@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -14928,7 +14928,7 @@ export class QueryUmktTenantActionplaninfoResponse extends $tea.Model {
|
|
|
14928
14928
|
}
|
|
14929
14929
|
}
|
|
14930
14930
|
|
|
14931
|
-
export class
|
|
14931
|
+
export class QueryUmktRobotcallDetailRequest extends $tea.Model {
|
|
14932
14932
|
// OAuth模式下的授权token
|
|
14933
14933
|
authToken?: string;
|
|
14934
14934
|
productInstanceId?: string;
|
|
@@ -14967,7 +14967,7 @@ export class QueryUmktRobotcallRequest extends $tea.Model {
|
|
|
14967
14967
|
}
|
|
14968
14968
|
}
|
|
14969
14969
|
|
|
14970
|
-
export class
|
|
14970
|
+
export class QueryUmktRobotcallDetailResponse extends $tea.Model {
|
|
14971
14971
|
// 请求唯一ID,用于链路跟踪和问题排查
|
|
14972
14972
|
reqMsgId?: string;
|
|
14973
14973
|
// 结果码,一般OK表示调用成功
|
|
@@ -15007,6 +15007,91 @@ export class QueryUmktRobotcallResponse extends $tea.Model {
|
|
|
15007
15007
|
}
|
|
15008
15008
|
}
|
|
15009
15009
|
|
|
15010
|
+
export class ApplyUmktRealtimemarketingRequest extends $tea.Model {
|
|
15011
|
+
// OAuth模式下的授权token
|
|
15012
|
+
authToken?: string;
|
|
15013
|
+
productInstanceId?: string;
|
|
15014
|
+
// 营销盾内部租户下的子租户
|
|
15015
|
+
subTenantId?: string;
|
|
15016
|
+
//
|
|
15017
|
+
// 场景策略id
|
|
15018
|
+
sceneStrategyId: number;
|
|
15019
|
+
// 外部流水号
|
|
15020
|
+
outSerialNo: string;
|
|
15021
|
+
//
|
|
15022
|
+
// 用户参数类型
|
|
15023
|
+
paramType: string;
|
|
15024
|
+
// 触达渠道配置
|
|
15025
|
+
channelParams?: string;
|
|
15026
|
+
// 扩展字段
|
|
15027
|
+
extInfo?: string;
|
|
15028
|
+
// 手机号/手机号md5
|
|
15029
|
+
customerKey: string;
|
|
15030
|
+
static names(): { [key: string]: string } {
|
|
15031
|
+
return {
|
|
15032
|
+
authToken: 'auth_token',
|
|
15033
|
+
productInstanceId: 'product_instance_id',
|
|
15034
|
+
subTenantId: 'sub_tenant_id',
|
|
15035
|
+
sceneStrategyId: 'scene_strategy_id',
|
|
15036
|
+
outSerialNo: 'out_serial_no',
|
|
15037
|
+
paramType: 'param_type',
|
|
15038
|
+
channelParams: 'channel_params',
|
|
15039
|
+
extInfo: 'ext_info',
|
|
15040
|
+
customerKey: 'customer_key',
|
|
15041
|
+
};
|
|
15042
|
+
}
|
|
15043
|
+
|
|
15044
|
+
static types(): { [key: string]: any } {
|
|
15045
|
+
return {
|
|
15046
|
+
authToken: 'string',
|
|
15047
|
+
productInstanceId: 'string',
|
|
15048
|
+
subTenantId: 'string',
|
|
15049
|
+
sceneStrategyId: 'number',
|
|
15050
|
+
outSerialNo: 'string',
|
|
15051
|
+
paramType: 'string',
|
|
15052
|
+
channelParams: 'string',
|
|
15053
|
+
extInfo: 'string',
|
|
15054
|
+
customerKey: 'string',
|
|
15055
|
+
};
|
|
15056
|
+
}
|
|
15057
|
+
|
|
15058
|
+
constructor(map?: { [key: string]: any }) {
|
|
15059
|
+
super(map);
|
|
15060
|
+
}
|
|
15061
|
+
}
|
|
15062
|
+
|
|
15063
|
+
export class ApplyUmktRealtimemarketingResponse extends $tea.Model {
|
|
15064
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
15065
|
+
reqMsgId?: string;
|
|
15066
|
+
// 结果码,一般OK表示调用成功
|
|
15067
|
+
resultCode?: string;
|
|
15068
|
+
// 异常信息的文本描述
|
|
15069
|
+
resultMsg?: string;
|
|
15070
|
+
// 返回流水id
|
|
15071
|
+
bizId?: string;
|
|
15072
|
+
static names(): { [key: string]: string } {
|
|
15073
|
+
return {
|
|
15074
|
+
reqMsgId: 'req_msg_id',
|
|
15075
|
+
resultCode: 'result_code',
|
|
15076
|
+
resultMsg: 'result_msg',
|
|
15077
|
+
bizId: 'biz_id',
|
|
15078
|
+
};
|
|
15079
|
+
}
|
|
15080
|
+
|
|
15081
|
+
static types(): { [key: string]: any } {
|
|
15082
|
+
return {
|
|
15083
|
+
reqMsgId: 'string',
|
|
15084
|
+
resultCode: 'string',
|
|
15085
|
+
resultMsg: 'string',
|
|
15086
|
+
bizId: 'string',
|
|
15087
|
+
};
|
|
15088
|
+
}
|
|
15089
|
+
|
|
15090
|
+
constructor(map?: { [key: string]: any }) {
|
|
15091
|
+
super(map);
|
|
15092
|
+
}
|
|
15093
|
+
}
|
|
15094
|
+
|
|
15010
15095
|
export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
15011
15096
|
// OAuth模式下的授权token
|
|
15012
15097
|
authToken?: string;
|
|
@@ -15208,7 +15293,7 @@ export default class Client {
|
|
|
15208
15293
|
req_msg_id: AntchainUtil.getNonce(),
|
|
15209
15294
|
access_key: this._accessKeyId,
|
|
15210
15295
|
base_sdk_version: "TeaSDK-2.0",
|
|
15211
|
-
sdk_version: "1.16.
|
|
15296
|
+
sdk_version: "1.16.33",
|
|
15212
15297
|
_prod_code: "RISKPLUS",
|
|
15213
15298
|
_prod_channel: "undefined",
|
|
15214
15299
|
};
|
|
@@ -18008,19 +18093,38 @@ export default class Client {
|
|
|
18008
18093
|
* Description: 查询ai外呼任务详情
|
|
18009
18094
|
* Summary: 查询ai外呼任务详情
|
|
18010
18095
|
*/
|
|
18011
|
-
async
|
|
18096
|
+
async queryUmktRobotcallDetail(request: QueryUmktRobotcallDetailRequest): Promise<QueryUmktRobotcallDetailResponse> {
|
|
18012
18097
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18013
18098
|
let headers : {[key: string ]: string} = { };
|
|
18014
|
-
return await this.
|
|
18099
|
+
return await this.queryUmktRobotcallDetailEx(request, headers, runtime);
|
|
18015
18100
|
}
|
|
18016
18101
|
|
|
18017
18102
|
/**
|
|
18018
18103
|
* Description: 查询ai外呼任务详情
|
|
18019
18104
|
* Summary: 查询ai外呼任务详情
|
|
18020
18105
|
*/
|
|
18021
|
-
async
|
|
18106
|
+
async queryUmktRobotcallDetailEx(request: QueryUmktRobotcallDetailRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryUmktRobotcallDetailResponse> {
|
|
18107
|
+
Util.validateModel(request);
|
|
18108
|
+
return $tea.cast<QueryUmktRobotcallDetailResponse>(await this.doRequest("1.0", "riskplus.umkt.robotcall.detail.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktRobotcallDetailResponse({}));
|
|
18109
|
+
}
|
|
18110
|
+
|
|
18111
|
+
/**
|
|
18112
|
+
* Description: 发起触达营销任务 ---目前仅支持文本短信
|
|
18113
|
+
* Summary: 发起触达营销任务
|
|
18114
|
+
*/
|
|
18115
|
+
async applyUmktRealtimemarketing(request: ApplyUmktRealtimemarketingRequest): Promise<ApplyUmktRealtimemarketingResponse> {
|
|
18116
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18117
|
+
let headers : {[key: string ]: string} = { };
|
|
18118
|
+
return await this.applyUmktRealtimemarketingEx(request, headers, runtime);
|
|
18119
|
+
}
|
|
18120
|
+
|
|
18121
|
+
/**
|
|
18122
|
+
* Description: 发起触达营销任务 ---目前仅支持文本短信
|
|
18123
|
+
* Summary: 发起触达营销任务
|
|
18124
|
+
*/
|
|
18125
|
+
async applyUmktRealtimemarketingEx(request: ApplyUmktRealtimemarketingRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyUmktRealtimemarketingResponse> {
|
|
18022
18126
|
Util.validateModel(request);
|
|
18023
|
-
return $tea.cast<
|
|
18127
|
+
return $tea.cast<ApplyUmktRealtimemarketingResponse>(await this.doRequest("1.0", "riskplus.umkt.realtimemarketing.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktRealtimemarketingResponse({}));
|
|
18024
18128
|
}
|
|
18025
18129
|
|
|
18026
18130
|
/**
|