@antchain/riskplus 1.16.29 → 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 +47 -0
- package/dist/client.js +72 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +105 -1
package/dist/client.d.ts
CHANGED
|
@@ -6338,6 +6338,41 @@ export declare class QueryUmktRobotcallDetailResponse 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;
|
|
@@ -8098,6 +8133,18 @@ export default class Client {
|
|
|
8098
8133
|
queryUmktRobotcallDetailEx(request: QueryUmktRobotcallDetailRequest, headers: {
|
|
8099
8134
|
[key: string]: string;
|
|
8100
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: {
|
|
8146
|
+
[key: string]: string;
|
|
8147
|
+
}, runtime: $Util.RuntimeOptions): Promise<ApplyUmktRealtimemarketingResponse>;
|
|
8101
8148
|
/**
|
|
8102
8149
|
* Description: 创建HTTP PUT提交的文件上传
|
|
8103
8150
|
* Summary: 文件上传创建
|
package/dist/client.js
CHANGED
|
@@ -9830,6 +9830,60 @@ class QueryUmktRobotcallDetailResponse extends $tea.Model {
|
|
|
9830
9830
|
}
|
|
9831
9831
|
}
|
|
9832
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
|
};
|
|
@@ -12488,6 +12542,23 @@ class Client {
|
|
|
12488
12542
|
tea_util_1.default.validateModel(request);
|
|
12489
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({}));
|
|
12490
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) {
|
|
12559
|
+
tea_util_1.default.validateModel(request);
|
|
12560
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.realtimemarketing.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktRealtimemarketingResponse({}));
|
|
12561
|
+
}
|
|
12491
12562
|
/**
|
|
12492
12563
|
* Description: 创建HTTP PUT提交的文件上传
|
|
12493
12564
|
* Summary: 文件上传创建
|