@antchain/riskplus 1.16.13 → 1.16.21
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 +106 -0
- package/dist/client.js +179 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +245 -1
package/dist/client.d.ts
CHANGED
|
@@ -815,6 +815,24 @@ export declare class RtopCrowdRiskSummaryResp extends $tea.Model {
|
|
|
815
815
|
[key: string]: any;
|
|
816
816
|
});
|
|
817
817
|
}
|
|
818
|
+
export declare class TenantActionTouchPlanInfo extends $tea.Model {
|
|
819
|
+
sceneStrategyId: number;
|
|
820
|
+
sceneStrategyName: string;
|
|
821
|
+
sceneStrategyStatus: string;
|
|
822
|
+
actionDriverCode: number;
|
|
823
|
+
channelCode: string;
|
|
824
|
+
gmtCreate: string;
|
|
825
|
+
gmtModified: string;
|
|
826
|
+
static names(): {
|
|
827
|
+
[key: string]: string;
|
|
828
|
+
};
|
|
829
|
+
static types(): {
|
|
830
|
+
[key: string]: any;
|
|
831
|
+
};
|
|
832
|
+
constructor(map?: {
|
|
833
|
+
[key: string]: any;
|
|
834
|
+
});
|
|
835
|
+
}
|
|
818
836
|
export declare class StatisticResult extends $tea.Model {
|
|
819
837
|
validCount: number;
|
|
820
838
|
statisticInfoDetailList: StatisticInfoDetail[];
|
|
@@ -4250,6 +4268,36 @@ export declare class PushRbbCustomerCompanyinfoResponse extends $tea.Model {
|
|
|
4250
4268
|
[key: string]: any;
|
|
4251
4269
|
});
|
|
4252
4270
|
}
|
|
4271
|
+
export declare class UploadRbbFileAmapRequest extends $tea.Model {
|
|
4272
|
+
authToken?: string;
|
|
4273
|
+
productInstanceId?: string;
|
|
4274
|
+
fileObject?: Readable;
|
|
4275
|
+
fileObjectName?: string;
|
|
4276
|
+
fileId: string;
|
|
4277
|
+
static names(): {
|
|
4278
|
+
[key: string]: string;
|
|
4279
|
+
};
|
|
4280
|
+
static types(): {
|
|
4281
|
+
[key: string]: any;
|
|
4282
|
+
};
|
|
4283
|
+
constructor(map?: {
|
|
4284
|
+
[key: string]: any;
|
|
4285
|
+
});
|
|
4286
|
+
}
|
|
4287
|
+
export declare class UploadRbbFileAmapResponse extends $tea.Model {
|
|
4288
|
+
reqMsgId?: string;
|
|
4289
|
+
resultCode?: string;
|
|
4290
|
+
resultMsg?: string;
|
|
4291
|
+
static names(): {
|
|
4292
|
+
[key: string]: string;
|
|
4293
|
+
};
|
|
4294
|
+
static types(): {
|
|
4295
|
+
[key: string]: any;
|
|
4296
|
+
};
|
|
4297
|
+
constructor(map?: {
|
|
4298
|
+
[key: string]: any;
|
|
4299
|
+
});
|
|
4300
|
+
}
|
|
4253
4301
|
export declare class QueryRpgwSignUrlRequest extends $tea.Model {
|
|
4254
4302
|
authToken?: string;
|
|
4255
4303
|
productInstanceId?: string;
|
|
@@ -6079,6 +6127,40 @@ export declare class QueryUmktRobotcallStatisticinfoResponse extends $tea.Model
|
|
|
6079
6127
|
[key: string]: any;
|
|
6080
6128
|
});
|
|
6081
6129
|
}
|
|
6130
|
+
export declare class QueryUmktTenantStrategyinfoRequest extends $tea.Model {
|
|
6131
|
+
authToken?: string;
|
|
6132
|
+
productInstanceId?: string;
|
|
6133
|
+
pageNum?: number;
|
|
6134
|
+
pageSize?: number;
|
|
6135
|
+
channelType: string;
|
|
6136
|
+
static names(): {
|
|
6137
|
+
[key: string]: string;
|
|
6138
|
+
};
|
|
6139
|
+
static types(): {
|
|
6140
|
+
[key: string]: any;
|
|
6141
|
+
};
|
|
6142
|
+
constructor(map?: {
|
|
6143
|
+
[key: string]: any;
|
|
6144
|
+
});
|
|
6145
|
+
}
|
|
6146
|
+
export declare class QueryUmktTenantStrategyinfoResponse extends $tea.Model {
|
|
6147
|
+
reqMsgId?: string;
|
|
6148
|
+
resultCode?: string;
|
|
6149
|
+
resultMsg?: string;
|
|
6150
|
+
queryResult?: TenantActionTouchPlanInfo[];
|
|
6151
|
+
pageNum?: number;
|
|
6152
|
+
pageSize?: number;
|
|
6153
|
+
totalCount?: number;
|
|
6154
|
+
static names(): {
|
|
6155
|
+
[key: string]: string;
|
|
6156
|
+
};
|
|
6157
|
+
static types(): {
|
|
6158
|
+
[key: string]: any;
|
|
6159
|
+
};
|
|
6160
|
+
constructor(map?: {
|
|
6161
|
+
[key: string]: any;
|
|
6162
|
+
});
|
|
6163
|
+
}
|
|
6082
6164
|
export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
6083
6165
|
authToken?: string;
|
|
6084
6166
|
apiCode: string;
|
|
@@ -7129,6 +7211,18 @@ export default class Client {
|
|
|
7129
7211
|
pushRbbCustomerCompanyinfoEx(request: PushRbbCustomerCompanyinfoRequest, headers: {
|
|
7130
7212
|
[key: string]: string;
|
|
7131
7213
|
}, runtime: $Util.RuntimeOptions): Promise<PushRbbCustomerCompanyinfoResponse>;
|
|
7214
|
+
/**
|
|
7215
|
+
* Description: 企管盾给高德的文件上传,用于小微店铺分
|
|
7216
|
+
* Summary: 企管盾给高德的文件上传,用于小微店铺分
|
|
7217
|
+
*/
|
|
7218
|
+
uploadRbbFileAmap(request: UploadRbbFileAmapRequest): Promise<UploadRbbFileAmapResponse>;
|
|
7219
|
+
/**
|
|
7220
|
+
* Description: 企管盾给高德的文件上传,用于小微店铺分
|
|
7221
|
+
* Summary: 企管盾给高德的文件上传,用于小微店铺分
|
|
7222
|
+
*/
|
|
7223
|
+
uploadRbbFileAmapEx(request: UploadRbbFileAmapRequest, headers: {
|
|
7224
|
+
[key: string]: string;
|
|
7225
|
+
}, runtime: $Util.RuntimeOptions): Promise<UploadRbbFileAmapResponse>;
|
|
7132
7226
|
/**
|
|
7133
7227
|
* Description: 获取签约接口
|
|
7134
7228
|
* Summary: 获取签约接口
|
|
@@ -7767,6 +7861,18 @@ export default class Client {
|
|
|
7767
7861
|
queryUmktRobotcallStatisticinfoEx(request: QueryUmktRobotcallStatisticinfoRequest, headers: {
|
|
7768
7862
|
[key: string]: string;
|
|
7769
7863
|
}, runtime: $Util.RuntimeOptions): Promise<QueryUmktRobotcallStatisticinfoResponse>;
|
|
7864
|
+
/**
|
|
7865
|
+
* Description: 营销盾租户场景信息查询
|
|
7866
|
+
* Summary: 营销盾租户场景信息查询
|
|
7867
|
+
*/
|
|
7868
|
+
queryUmktTenantStrategyinfo(request: QueryUmktTenantStrategyinfoRequest): Promise<QueryUmktTenantStrategyinfoResponse>;
|
|
7869
|
+
/**
|
|
7870
|
+
* Description: 营销盾租户场景信息查询
|
|
7871
|
+
* Summary: 营销盾租户场景信息查询
|
|
7872
|
+
*/
|
|
7873
|
+
queryUmktTenantStrategyinfoEx(request: QueryUmktTenantStrategyinfoRequest, headers: {
|
|
7874
|
+
[key: string]: string;
|
|
7875
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryUmktTenantStrategyinfoResponse>;
|
|
7770
7876
|
/**
|
|
7771
7877
|
* Description: 创建HTTP PUT提交的文件上传
|
|
7772
7878
|
* Summary: 文件上传创建
|
package/dist/client.js
CHANGED
|
@@ -1324,6 +1324,35 @@ class RtopCrowdRiskSummaryResp extends $tea.Model {
|
|
|
1324
1324
|
}
|
|
1325
1325
|
}
|
|
1326
1326
|
exports.RtopCrowdRiskSummaryResp = RtopCrowdRiskSummaryResp;
|
|
1327
|
+
// 营销盾租户触达策略计划信息
|
|
1328
|
+
class TenantActionTouchPlanInfo extends $tea.Model {
|
|
1329
|
+
constructor(map) {
|
|
1330
|
+
super(map);
|
|
1331
|
+
}
|
|
1332
|
+
static names() {
|
|
1333
|
+
return {
|
|
1334
|
+
sceneStrategyId: 'scene_strategy_id',
|
|
1335
|
+
sceneStrategyName: 'scene_strategy_name',
|
|
1336
|
+
sceneStrategyStatus: 'scene_strategy_status',
|
|
1337
|
+
actionDriverCode: 'action_driver_code',
|
|
1338
|
+
channelCode: 'channel_code',
|
|
1339
|
+
gmtCreate: 'gmt_create',
|
|
1340
|
+
gmtModified: 'gmt_modified',
|
|
1341
|
+
};
|
|
1342
|
+
}
|
|
1343
|
+
static types() {
|
|
1344
|
+
return {
|
|
1345
|
+
sceneStrategyId: 'number',
|
|
1346
|
+
sceneStrategyName: 'string',
|
|
1347
|
+
sceneStrategyStatus: 'string',
|
|
1348
|
+
actionDriverCode: 'number',
|
|
1349
|
+
channelCode: 'string',
|
|
1350
|
+
gmtCreate: 'string',
|
|
1351
|
+
gmtModified: 'string',
|
|
1352
|
+
};
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
exports.TenantActionTouchPlanInfo = TenantActionTouchPlanInfo;
|
|
1327
1356
|
// 回执统计结果
|
|
1328
1357
|
class StatisticResult extends $tea.Model {
|
|
1329
1358
|
constructor(map) {
|
|
@@ -6619,6 +6648,50 @@ class PushRbbCustomerCompanyinfoResponse extends $tea.Model {
|
|
|
6619
6648
|
}
|
|
6620
6649
|
}
|
|
6621
6650
|
exports.PushRbbCustomerCompanyinfoResponse = PushRbbCustomerCompanyinfoResponse;
|
|
6651
|
+
class UploadRbbFileAmapRequest extends $tea.Model {
|
|
6652
|
+
constructor(map) {
|
|
6653
|
+
super(map);
|
|
6654
|
+
}
|
|
6655
|
+
static names() {
|
|
6656
|
+
return {
|
|
6657
|
+
authToken: 'auth_token',
|
|
6658
|
+
productInstanceId: 'product_instance_id',
|
|
6659
|
+
fileObject: 'fileObject',
|
|
6660
|
+
fileObjectName: 'fileObjectName',
|
|
6661
|
+
fileId: 'file_id',
|
|
6662
|
+
};
|
|
6663
|
+
}
|
|
6664
|
+
static types() {
|
|
6665
|
+
return {
|
|
6666
|
+
authToken: 'string',
|
|
6667
|
+
productInstanceId: 'string',
|
|
6668
|
+
fileObject: 'Readable',
|
|
6669
|
+
fileObjectName: 'string',
|
|
6670
|
+
fileId: 'string',
|
|
6671
|
+
};
|
|
6672
|
+
}
|
|
6673
|
+
}
|
|
6674
|
+
exports.UploadRbbFileAmapRequest = UploadRbbFileAmapRequest;
|
|
6675
|
+
class UploadRbbFileAmapResponse extends $tea.Model {
|
|
6676
|
+
constructor(map) {
|
|
6677
|
+
super(map);
|
|
6678
|
+
}
|
|
6679
|
+
static names() {
|
|
6680
|
+
return {
|
|
6681
|
+
reqMsgId: 'req_msg_id',
|
|
6682
|
+
resultCode: 'result_code',
|
|
6683
|
+
resultMsg: 'result_msg',
|
|
6684
|
+
};
|
|
6685
|
+
}
|
|
6686
|
+
static types() {
|
|
6687
|
+
return {
|
|
6688
|
+
reqMsgId: 'string',
|
|
6689
|
+
resultCode: 'string',
|
|
6690
|
+
resultMsg: 'string',
|
|
6691
|
+
};
|
|
6692
|
+
}
|
|
6693
|
+
}
|
|
6694
|
+
exports.UploadRbbFileAmapResponse = UploadRbbFileAmapResponse;
|
|
6622
6695
|
class QueryRpgwSignUrlRequest extends $tea.Model {
|
|
6623
6696
|
constructor(map) {
|
|
6624
6697
|
super(map);
|
|
@@ -9429,6 +9502,58 @@ class QueryUmktRobotcallStatisticinfoResponse extends $tea.Model {
|
|
|
9429
9502
|
}
|
|
9430
9503
|
}
|
|
9431
9504
|
exports.QueryUmktRobotcallStatisticinfoResponse = QueryUmktRobotcallStatisticinfoResponse;
|
|
9505
|
+
class QueryUmktTenantStrategyinfoRequest extends $tea.Model {
|
|
9506
|
+
constructor(map) {
|
|
9507
|
+
super(map);
|
|
9508
|
+
}
|
|
9509
|
+
static names() {
|
|
9510
|
+
return {
|
|
9511
|
+
authToken: 'auth_token',
|
|
9512
|
+
productInstanceId: 'product_instance_id',
|
|
9513
|
+
pageNum: 'page_num',
|
|
9514
|
+
pageSize: 'page_size',
|
|
9515
|
+
channelType: 'channel_type',
|
|
9516
|
+
};
|
|
9517
|
+
}
|
|
9518
|
+
static types() {
|
|
9519
|
+
return {
|
|
9520
|
+
authToken: 'string',
|
|
9521
|
+
productInstanceId: 'string',
|
|
9522
|
+
pageNum: 'number',
|
|
9523
|
+
pageSize: 'number',
|
|
9524
|
+
channelType: 'string',
|
|
9525
|
+
};
|
|
9526
|
+
}
|
|
9527
|
+
}
|
|
9528
|
+
exports.QueryUmktTenantStrategyinfoRequest = QueryUmktTenantStrategyinfoRequest;
|
|
9529
|
+
class QueryUmktTenantStrategyinfoResponse extends $tea.Model {
|
|
9530
|
+
constructor(map) {
|
|
9531
|
+
super(map);
|
|
9532
|
+
}
|
|
9533
|
+
static names() {
|
|
9534
|
+
return {
|
|
9535
|
+
reqMsgId: 'req_msg_id',
|
|
9536
|
+
resultCode: 'result_code',
|
|
9537
|
+
resultMsg: 'result_msg',
|
|
9538
|
+
queryResult: 'query_result',
|
|
9539
|
+
pageNum: 'page_num',
|
|
9540
|
+
pageSize: 'page_size',
|
|
9541
|
+
totalCount: 'total_count',
|
|
9542
|
+
};
|
|
9543
|
+
}
|
|
9544
|
+
static types() {
|
|
9545
|
+
return {
|
|
9546
|
+
reqMsgId: 'string',
|
|
9547
|
+
resultCode: 'string',
|
|
9548
|
+
resultMsg: 'string',
|
|
9549
|
+
queryResult: { 'type': 'array', 'itemType': TenantActionTouchPlanInfo },
|
|
9550
|
+
pageNum: 'number',
|
|
9551
|
+
pageSize: 'number',
|
|
9552
|
+
totalCount: 'number',
|
|
9553
|
+
};
|
|
9554
|
+
}
|
|
9555
|
+
}
|
|
9556
|
+
exports.QueryUmktTenantStrategyinfoResponse = QueryUmktTenantStrategyinfoResponse;
|
|
9432
9557
|
class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
9433
9558
|
constructor(map) {
|
|
9434
9559
|
super(map);
|
|
@@ -9573,7 +9698,7 @@ class Client {
|
|
|
9573
9698
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
9574
9699
|
access_key: this._accessKeyId,
|
|
9575
9700
|
base_sdk_version: "TeaSDK-2.0",
|
|
9576
|
-
sdk_version: "1.16.
|
|
9701
|
+
sdk_version: "1.16.21",
|
|
9577
9702
|
_prod_code: "RISKPLUS",
|
|
9578
9703
|
_prod_channel: "undefined",
|
|
9579
9704
|
};
|
|
@@ -11044,6 +11169,42 @@ class Client {
|
|
|
11044
11169
|
tea_util_1.default.validateModel(request);
|
|
11045
11170
|
return $tea.cast(await this.doRequest("1.0", "riskplus.rbb.customer.companyinfo.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushRbbCustomerCompanyinfoResponse({}));
|
|
11046
11171
|
}
|
|
11172
|
+
/**
|
|
11173
|
+
* Description: 企管盾给高德的文件上传,用于小微店铺分
|
|
11174
|
+
* Summary: 企管盾给高德的文件上传,用于小微店铺分
|
|
11175
|
+
*/
|
|
11176
|
+
async uploadRbbFileAmap(request) {
|
|
11177
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
11178
|
+
let headers = {};
|
|
11179
|
+
return await this.uploadRbbFileAmapEx(request, headers, runtime);
|
|
11180
|
+
}
|
|
11181
|
+
/**
|
|
11182
|
+
* Description: 企管盾给高德的文件上传,用于小微店铺分
|
|
11183
|
+
* Summary: 企管盾给高德的文件上传,用于小微店铺分
|
|
11184
|
+
*/
|
|
11185
|
+
async uploadRbbFileAmapEx(request, headers, runtime) {
|
|
11186
|
+
if (!tea_util_1.default.isUnset(request.fileObject)) {
|
|
11187
|
+
let uploadReq = new CreateAntcloudGatewayxFileUploadRequest({
|
|
11188
|
+
authToken: request.authToken,
|
|
11189
|
+
apiCode: "riskplus.rbb.file.amap.upload",
|
|
11190
|
+
fileName: request.fileObjectName,
|
|
11191
|
+
});
|
|
11192
|
+
let uploadResp = await this.createAntcloudGatewayxFileUploadEx(uploadReq, headers, runtime);
|
|
11193
|
+
if (!alipay_util_1.default.isSuccess(uploadResp.resultCode, "ok")) {
|
|
11194
|
+
let uploadRbbFileAmapResponse = new UploadRbbFileAmapResponse({
|
|
11195
|
+
reqMsgId: uploadResp.reqMsgId,
|
|
11196
|
+
resultCode: uploadResp.resultCode,
|
|
11197
|
+
resultMsg: uploadResp.resultMsg,
|
|
11198
|
+
});
|
|
11199
|
+
return uploadRbbFileAmapResponse;
|
|
11200
|
+
}
|
|
11201
|
+
let uploadHeaders = alipay_util_1.default.parseUploadHeaders(uploadResp.uploadHeaders);
|
|
11202
|
+
await alipay_util_1.default.putObject(request.fileObject, uploadHeaders, uploadResp.uploadUrl);
|
|
11203
|
+
request.fileId = uploadResp.fileId;
|
|
11204
|
+
}
|
|
11205
|
+
tea_util_1.default.validateModel(request);
|
|
11206
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.rbb.file.amap.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadRbbFileAmapResponse({}));
|
|
11207
|
+
}
|
|
11047
11208
|
/**
|
|
11048
11209
|
* Description: 获取签约接口
|
|
11049
11210
|
* Summary: 获取签约接口
|
|
@@ -11966,6 +12127,23 @@ class Client {
|
|
|
11966
12127
|
tea_util_1.default.validateModel(request);
|
|
11967
12128
|
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.robotcall.statisticinfo.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktRobotcallStatisticinfoResponse({}));
|
|
11968
12129
|
}
|
|
12130
|
+
/**
|
|
12131
|
+
* Description: 营销盾租户场景信息查询
|
|
12132
|
+
* Summary: 营销盾租户场景信息查询
|
|
12133
|
+
*/
|
|
12134
|
+
async queryUmktTenantStrategyinfo(request) {
|
|
12135
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12136
|
+
let headers = {};
|
|
12137
|
+
return await this.queryUmktTenantStrategyinfoEx(request, headers, runtime);
|
|
12138
|
+
}
|
|
12139
|
+
/**
|
|
12140
|
+
* Description: 营销盾租户场景信息查询
|
|
12141
|
+
* Summary: 营销盾租户场景信息查询
|
|
12142
|
+
*/
|
|
12143
|
+
async queryUmktTenantStrategyinfoEx(request, headers, runtime) {
|
|
12144
|
+
tea_util_1.default.validateModel(request);
|
|
12145
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.tenant.strategyinfo.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktTenantStrategyinfoResponse({}));
|
|
12146
|
+
}
|
|
11969
12147
|
/**
|
|
11970
12148
|
* Description: 创建HTTP PUT提交的文件上传
|
|
11971
12149
|
* Summary: 文件上传创建
|