@antchain/riskplus 1.16.40 → 1.16.42
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 +98 -0
- package/dist/client.js +151 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +221 -1
package/dist/client.d.ts
CHANGED
|
@@ -5791,6 +5791,7 @@ export declare class QueryUmktScenestrategyTestRequest extends $tea.Model {
|
|
|
5791
5791
|
customerKeys: string[];
|
|
5792
5792
|
bizSerialNo: string;
|
|
5793
5793
|
pretendTenant: string;
|
|
5794
|
+
interfaceType?: string;
|
|
5794
5795
|
static names(): {
|
|
5795
5796
|
[key: string]: string;
|
|
5796
5797
|
};
|
|
@@ -6489,6 +6490,79 @@ export declare class CallbackUmktRobotcallResponse extends $tea.Model {
|
|
|
6489
6490
|
[key: string]: any;
|
|
6490
6491
|
});
|
|
6491
6492
|
}
|
|
6493
|
+
export declare class CallbackUmktSmsUpRequest extends $tea.Model {
|
|
6494
|
+
authToken?: string;
|
|
6495
|
+
productInstanceId?: string;
|
|
6496
|
+
type: string;
|
|
6497
|
+
phoneNumber: string;
|
|
6498
|
+
sendTime: string;
|
|
6499
|
+
content: string;
|
|
6500
|
+
signName: string;
|
|
6501
|
+
appKey: string;
|
|
6502
|
+
destCode?: string;
|
|
6503
|
+
sequenceId: number;
|
|
6504
|
+
static names(): {
|
|
6505
|
+
[key: string]: string;
|
|
6506
|
+
};
|
|
6507
|
+
static types(): {
|
|
6508
|
+
[key: string]: any;
|
|
6509
|
+
};
|
|
6510
|
+
constructor(map?: {
|
|
6511
|
+
[key: string]: any;
|
|
6512
|
+
});
|
|
6513
|
+
}
|
|
6514
|
+
export declare class CallbackUmktSmsUpResponse extends $tea.Model {
|
|
6515
|
+
reqMsgId?: string;
|
|
6516
|
+
resultCode?: string;
|
|
6517
|
+
resultMsg?: string;
|
|
6518
|
+
static names(): {
|
|
6519
|
+
[key: string]: string;
|
|
6520
|
+
};
|
|
6521
|
+
static types(): {
|
|
6522
|
+
[key: string]: any;
|
|
6523
|
+
};
|
|
6524
|
+
constructor(map?: {
|
|
6525
|
+
[key: string]: any;
|
|
6526
|
+
});
|
|
6527
|
+
}
|
|
6528
|
+
export declare class CallbackUmktSmsReportRequest extends $tea.Model {
|
|
6529
|
+
authToken?: string;
|
|
6530
|
+
productInstanceId?: string;
|
|
6531
|
+
type: string;
|
|
6532
|
+
phoneNumber: string;
|
|
6533
|
+
sendTime: string;
|
|
6534
|
+
reportTime: string;
|
|
6535
|
+
success: boolean;
|
|
6536
|
+
errCode: string;
|
|
6537
|
+
errMsg: string;
|
|
6538
|
+
smsSize: string;
|
|
6539
|
+
bizId: string;
|
|
6540
|
+
bizProperties: string;
|
|
6541
|
+
smsType?: string;
|
|
6542
|
+
static names(): {
|
|
6543
|
+
[key: string]: string;
|
|
6544
|
+
};
|
|
6545
|
+
static types(): {
|
|
6546
|
+
[key: string]: any;
|
|
6547
|
+
};
|
|
6548
|
+
constructor(map?: {
|
|
6549
|
+
[key: string]: any;
|
|
6550
|
+
});
|
|
6551
|
+
}
|
|
6552
|
+
export declare class CallbackUmktSmsReportResponse extends $tea.Model {
|
|
6553
|
+
reqMsgId?: string;
|
|
6554
|
+
resultCode?: string;
|
|
6555
|
+
resultMsg?: string;
|
|
6556
|
+
static names(): {
|
|
6557
|
+
[key: string]: string;
|
|
6558
|
+
};
|
|
6559
|
+
static types(): {
|
|
6560
|
+
[key: string]: any;
|
|
6561
|
+
};
|
|
6562
|
+
constructor(map?: {
|
|
6563
|
+
[key: string]: any;
|
|
6564
|
+
});
|
|
6565
|
+
}
|
|
6492
6566
|
export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
6493
6567
|
authToken?: string;
|
|
6494
6568
|
apiCode: string;
|
|
@@ -8285,6 +8359,30 @@ export default class Client {
|
|
|
8285
8359
|
callbackUmktRobotcallEx(request: CallbackUmktRobotcallRequest, headers: {
|
|
8286
8360
|
[key: string]: string;
|
|
8287
8361
|
}, runtime: $Util.RuntimeOptions): Promise<CallbackUmktRobotcallResponse>;
|
|
8362
|
+
/**
|
|
8363
|
+
* Description: 营销盾上行短信回调接口
|
|
8364
|
+
* Summary: 营销盾上行短信回调
|
|
8365
|
+
*/
|
|
8366
|
+
callbackUmktSmsUp(request: CallbackUmktSmsUpRequest): Promise<CallbackUmktSmsUpResponse>;
|
|
8367
|
+
/**
|
|
8368
|
+
* Description: 营销盾上行短信回调接口
|
|
8369
|
+
* Summary: 营销盾上行短信回调
|
|
8370
|
+
*/
|
|
8371
|
+
callbackUmktSmsUpEx(request: CallbackUmktSmsUpRequest, headers: {
|
|
8372
|
+
[key: string]: string;
|
|
8373
|
+
}, runtime: $Util.RuntimeOptions): Promise<CallbackUmktSmsUpResponse>;
|
|
8374
|
+
/**
|
|
8375
|
+
* Description: 营销盾短信状态回调接口
|
|
8376
|
+
* Summary: 营销盾短信状态回调
|
|
8377
|
+
*/
|
|
8378
|
+
callbackUmktSmsReport(request: CallbackUmktSmsReportRequest): Promise<CallbackUmktSmsReportResponse>;
|
|
8379
|
+
/**
|
|
8380
|
+
* Description: 营销盾短信状态回调接口
|
|
8381
|
+
* Summary: 营销盾短信状态回调
|
|
8382
|
+
*/
|
|
8383
|
+
callbackUmktSmsReportEx(request: CallbackUmktSmsReportRequest, headers: {
|
|
8384
|
+
[key: string]: string;
|
|
8385
|
+
}, runtime: $Util.RuntimeOptions): Promise<CallbackUmktSmsReportResponse>;
|
|
8288
8386
|
/**
|
|
8289
8387
|
* Description: 创建HTTP PUT提交的文件上传
|
|
8290
8388
|
* Summary: 文件上传创建
|
package/dist/client.js
CHANGED
|
@@ -8998,6 +8998,7 @@ class QueryUmktScenestrategyTestRequest extends $tea.Model {
|
|
|
8998
8998
|
customerKeys: 'customer_keys',
|
|
8999
8999
|
bizSerialNo: 'biz_serial_no',
|
|
9000
9000
|
pretendTenant: 'pretend_tenant',
|
|
9001
|
+
interfaceType: 'interface_type',
|
|
9001
9002
|
};
|
|
9002
9003
|
}
|
|
9003
9004
|
static types() {
|
|
@@ -9009,6 +9010,7 @@ class QueryUmktScenestrategyTestRequest extends $tea.Model {
|
|
|
9009
9010
|
customerKeys: { 'type': 'array', 'itemType': 'string' },
|
|
9010
9011
|
bizSerialNo: 'string',
|
|
9011
9012
|
pretendTenant: 'string',
|
|
9013
|
+
interfaceType: 'string',
|
|
9012
9014
|
};
|
|
9013
9015
|
}
|
|
9014
9016
|
}
|
|
@@ -10077,6 +10079,120 @@ class CallbackUmktRobotcallResponse extends $tea.Model {
|
|
|
10077
10079
|
}
|
|
10078
10080
|
}
|
|
10079
10081
|
exports.CallbackUmktRobotcallResponse = CallbackUmktRobotcallResponse;
|
|
10082
|
+
class CallbackUmktSmsUpRequest extends $tea.Model {
|
|
10083
|
+
constructor(map) {
|
|
10084
|
+
super(map);
|
|
10085
|
+
}
|
|
10086
|
+
static names() {
|
|
10087
|
+
return {
|
|
10088
|
+
authToken: 'auth_token',
|
|
10089
|
+
productInstanceId: 'product_instance_id',
|
|
10090
|
+
type: 'type',
|
|
10091
|
+
phoneNumber: 'phone_number',
|
|
10092
|
+
sendTime: 'send_time',
|
|
10093
|
+
content: 'content',
|
|
10094
|
+
signName: 'sign_name',
|
|
10095
|
+
appKey: 'app_key',
|
|
10096
|
+
destCode: 'dest_code',
|
|
10097
|
+
sequenceId: 'sequence_id',
|
|
10098
|
+
};
|
|
10099
|
+
}
|
|
10100
|
+
static types() {
|
|
10101
|
+
return {
|
|
10102
|
+
authToken: 'string',
|
|
10103
|
+
productInstanceId: 'string',
|
|
10104
|
+
type: 'string',
|
|
10105
|
+
phoneNumber: 'string',
|
|
10106
|
+
sendTime: 'string',
|
|
10107
|
+
content: 'string',
|
|
10108
|
+
signName: 'string',
|
|
10109
|
+
appKey: 'string',
|
|
10110
|
+
destCode: 'string',
|
|
10111
|
+
sequenceId: 'number',
|
|
10112
|
+
};
|
|
10113
|
+
}
|
|
10114
|
+
}
|
|
10115
|
+
exports.CallbackUmktSmsUpRequest = CallbackUmktSmsUpRequest;
|
|
10116
|
+
class CallbackUmktSmsUpResponse extends $tea.Model {
|
|
10117
|
+
constructor(map) {
|
|
10118
|
+
super(map);
|
|
10119
|
+
}
|
|
10120
|
+
static names() {
|
|
10121
|
+
return {
|
|
10122
|
+
reqMsgId: 'req_msg_id',
|
|
10123
|
+
resultCode: 'result_code',
|
|
10124
|
+
resultMsg: 'result_msg',
|
|
10125
|
+
};
|
|
10126
|
+
}
|
|
10127
|
+
static types() {
|
|
10128
|
+
return {
|
|
10129
|
+
reqMsgId: 'string',
|
|
10130
|
+
resultCode: 'string',
|
|
10131
|
+
resultMsg: 'string',
|
|
10132
|
+
};
|
|
10133
|
+
}
|
|
10134
|
+
}
|
|
10135
|
+
exports.CallbackUmktSmsUpResponse = CallbackUmktSmsUpResponse;
|
|
10136
|
+
class CallbackUmktSmsReportRequest extends $tea.Model {
|
|
10137
|
+
constructor(map) {
|
|
10138
|
+
super(map);
|
|
10139
|
+
}
|
|
10140
|
+
static names() {
|
|
10141
|
+
return {
|
|
10142
|
+
authToken: 'auth_token',
|
|
10143
|
+
productInstanceId: 'product_instance_id',
|
|
10144
|
+
type: 'type',
|
|
10145
|
+
phoneNumber: 'phone_number',
|
|
10146
|
+
sendTime: 'send_time',
|
|
10147
|
+
reportTime: 'report_time',
|
|
10148
|
+
success: 'success',
|
|
10149
|
+
errCode: 'err_code',
|
|
10150
|
+
errMsg: 'err_msg',
|
|
10151
|
+
smsSize: 'sms_size',
|
|
10152
|
+
bizId: 'biz_id',
|
|
10153
|
+
bizProperties: 'biz_properties',
|
|
10154
|
+
smsType: 'sms_type',
|
|
10155
|
+
};
|
|
10156
|
+
}
|
|
10157
|
+
static types() {
|
|
10158
|
+
return {
|
|
10159
|
+
authToken: 'string',
|
|
10160
|
+
productInstanceId: 'string',
|
|
10161
|
+
type: 'string',
|
|
10162
|
+
phoneNumber: 'string',
|
|
10163
|
+
sendTime: 'string',
|
|
10164
|
+
reportTime: 'string',
|
|
10165
|
+
success: 'boolean',
|
|
10166
|
+
errCode: 'string',
|
|
10167
|
+
errMsg: 'string',
|
|
10168
|
+
smsSize: 'string',
|
|
10169
|
+
bizId: 'string',
|
|
10170
|
+
bizProperties: 'string',
|
|
10171
|
+
smsType: 'string',
|
|
10172
|
+
};
|
|
10173
|
+
}
|
|
10174
|
+
}
|
|
10175
|
+
exports.CallbackUmktSmsReportRequest = CallbackUmktSmsReportRequest;
|
|
10176
|
+
class CallbackUmktSmsReportResponse extends $tea.Model {
|
|
10177
|
+
constructor(map) {
|
|
10178
|
+
super(map);
|
|
10179
|
+
}
|
|
10180
|
+
static names() {
|
|
10181
|
+
return {
|
|
10182
|
+
reqMsgId: 'req_msg_id',
|
|
10183
|
+
resultCode: 'result_code',
|
|
10184
|
+
resultMsg: 'result_msg',
|
|
10185
|
+
};
|
|
10186
|
+
}
|
|
10187
|
+
static types() {
|
|
10188
|
+
return {
|
|
10189
|
+
reqMsgId: 'string',
|
|
10190
|
+
resultCode: 'string',
|
|
10191
|
+
resultMsg: 'string',
|
|
10192
|
+
};
|
|
10193
|
+
}
|
|
10194
|
+
}
|
|
10195
|
+
exports.CallbackUmktSmsReportResponse = CallbackUmktSmsReportResponse;
|
|
10080
10196
|
class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
10081
10197
|
constructor(map) {
|
|
10082
10198
|
super(map);
|
|
@@ -10221,7 +10337,7 @@ class Client {
|
|
|
10221
10337
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
10222
10338
|
access_key: this._accessKeyId,
|
|
10223
10339
|
base_sdk_version: "TeaSDK-2.0",
|
|
10224
|
-
sdk_version: "1.16.
|
|
10340
|
+
sdk_version: "1.16.42",
|
|
10225
10341
|
_prod_code: "RISKPLUS",
|
|
10226
10342
|
_prod_channel: "undefined",
|
|
10227
10343
|
};
|
|
@@ -12786,6 +12902,40 @@ class Client {
|
|
|
12786
12902
|
tea_util_1.default.validateModel(request);
|
|
12787
12903
|
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.robotcall.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackUmktRobotcallResponse({}));
|
|
12788
12904
|
}
|
|
12905
|
+
/**
|
|
12906
|
+
* Description: 营销盾上行短信回调接口
|
|
12907
|
+
* Summary: 营销盾上行短信回调
|
|
12908
|
+
*/
|
|
12909
|
+
async callbackUmktSmsUp(request) {
|
|
12910
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12911
|
+
let headers = {};
|
|
12912
|
+
return await this.callbackUmktSmsUpEx(request, headers, runtime);
|
|
12913
|
+
}
|
|
12914
|
+
/**
|
|
12915
|
+
* Description: 营销盾上行短信回调接口
|
|
12916
|
+
* Summary: 营销盾上行短信回调
|
|
12917
|
+
*/
|
|
12918
|
+
async callbackUmktSmsUpEx(request, headers, runtime) {
|
|
12919
|
+
tea_util_1.default.validateModel(request);
|
|
12920
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.sms.up.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackUmktSmsUpResponse({}));
|
|
12921
|
+
}
|
|
12922
|
+
/**
|
|
12923
|
+
* Description: 营销盾短信状态回调接口
|
|
12924
|
+
* Summary: 营销盾短信状态回调
|
|
12925
|
+
*/
|
|
12926
|
+
async callbackUmktSmsReport(request) {
|
|
12927
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12928
|
+
let headers = {};
|
|
12929
|
+
return await this.callbackUmktSmsReportEx(request, headers, runtime);
|
|
12930
|
+
}
|
|
12931
|
+
/**
|
|
12932
|
+
* Description: 营销盾短信状态回调接口
|
|
12933
|
+
* Summary: 营销盾短信状态回调
|
|
12934
|
+
*/
|
|
12935
|
+
async callbackUmktSmsReportEx(request, headers, runtime) {
|
|
12936
|
+
tea_util_1.default.validateModel(request);
|
|
12937
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.sms.report.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackUmktSmsReportResponse({}));
|
|
12938
|
+
}
|
|
12789
12939
|
/**
|
|
12790
12940
|
* Description: 创建HTTP PUT提交的文件上传
|
|
12791
12941
|
* Summary: 文件上传创建
|