@antchain/riskplus 1.16.12 → 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 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[];
@@ -2651,6 +2669,7 @@ export declare class QueryDubbridgeCreditStatusResponse extends $tea.Model {
2651
2669
  applyNo?: string;
2652
2670
  fundCode?: string;
2653
2671
  coolingPeriod?: string;
2672
+ loanInstCode?: string;
2654
2673
  static names(): {
2655
2674
  [key: string]: string;
2656
2675
  };
@@ -3302,6 +3321,7 @@ export declare class ApplyDubbridgeUsecreditRequest extends $tea.Model {
3302
3321
  channelType?: string;
3303
3322
  customType?: string;
3304
3323
  riskData?: string;
3324
+ loanInstCode?: string;
3305
3325
  static names(): {
3306
3326
  [key: string]: string;
3307
3327
  };
@@ -4248,6 +4268,36 @@ export declare class PushRbbCustomerCompanyinfoResponse extends $tea.Model {
4248
4268
  [key: string]: any;
4249
4269
  });
4250
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
+ }
4251
4301
  export declare class QueryRpgwSignUrlRequest extends $tea.Model {
4252
4302
  authToken?: string;
4253
4303
  productInstanceId?: string;
@@ -6077,6 +6127,40 @@ export declare class QueryUmktRobotcallStatisticinfoResponse extends $tea.Model
6077
6127
  [key: string]: any;
6078
6128
  });
6079
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
+ }
6080
6164
  export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
6081
6165
  authToken?: string;
6082
6166
  apiCode: string;
@@ -7127,6 +7211,18 @@ export default class Client {
7127
7211
  pushRbbCustomerCompanyinfoEx(request: PushRbbCustomerCompanyinfoRequest, headers: {
7128
7212
  [key: string]: string;
7129
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>;
7130
7226
  /**
7131
7227
  * Description: 获取签约接口
7132
7228
  * Summary: 获取签约接口
@@ -7765,6 +7861,18 @@ export default class Client {
7765
7861
  queryUmktRobotcallStatisticinfoEx(request: QueryUmktRobotcallStatisticinfoRequest, headers: {
7766
7862
  [key: string]: string;
7767
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>;
7768
7876
  /**
7769
7877
  * Description: 创建HTTP PUT提交的文件上传
7770
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) {
@@ -4188,6 +4217,7 @@ class QueryDubbridgeCreditStatusResponse extends $tea.Model {
4188
4217
  applyNo: 'apply_no',
4189
4218
  fundCode: 'fund_code',
4190
4219
  coolingPeriod: 'cooling_period',
4220
+ loanInstCode: 'loan_inst_code',
4191
4221
  };
4192
4222
  }
4193
4223
  static types() {
@@ -4205,6 +4235,7 @@ class QueryDubbridgeCreditStatusResponse extends $tea.Model {
4205
4235
  applyNo: 'string',
4206
4236
  fundCode: 'string',
4207
4237
  coolingPeriod: 'string',
4238
+ loanInstCode: 'string',
4208
4239
  };
4209
4240
  }
4210
4241
  }
@@ -5194,6 +5225,7 @@ class ApplyDubbridgeUsecreditRequest extends $tea.Model {
5194
5225
  channelType: 'channel_type',
5195
5226
  customType: 'custom_type',
5196
5227
  riskData: 'risk_data',
5228
+ loanInstCode: 'loan_inst_code',
5197
5229
  };
5198
5230
  }
5199
5231
  static types() {
@@ -5211,6 +5243,7 @@ class ApplyDubbridgeUsecreditRequest extends $tea.Model {
5211
5243
  channelType: 'string',
5212
5244
  customType: 'string',
5213
5245
  riskData: 'string',
5246
+ loanInstCode: 'string',
5214
5247
  };
5215
5248
  }
5216
5249
  }
@@ -6615,6 +6648,50 @@ class PushRbbCustomerCompanyinfoResponse extends $tea.Model {
6615
6648
  }
6616
6649
  }
6617
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;
6618
6695
  class QueryRpgwSignUrlRequest extends $tea.Model {
6619
6696
  constructor(map) {
6620
6697
  super(map);
@@ -9425,6 +9502,58 @@ class QueryUmktRobotcallStatisticinfoResponse extends $tea.Model {
9425
9502
  }
9426
9503
  }
9427
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;
9428
9557
  class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
9429
9558
  constructor(map) {
9430
9559
  super(map);
@@ -9569,7 +9698,7 @@ class Client {
9569
9698
  req_msg_id: alipay_util_1.default.getNonce(),
9570
9699
  access_key: this._accessKeyId,
9571
9700
  base_sdk_version: "TeaSDK-2.0",
9572
- sdk_version: "1.16.12",
9701
+ sdk_version: "1.16.21",
9573
9702
  _prod_code: "RISKPLUS",
9574
9703
  _prod_channel: "undefined",
9575
9704
  };
@@ -11040,6 +11169,42 @@ class Client {
11040
11169
  tea_util_1.default.validateModel(request);
11041
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({}));
11042
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
+ }
11043
11208
  /**
11044
11209
  * Description: 获取签约接口
11045
11210
  * Summary: 获取签约接口
@@ -11962,6 +12127,23 @@ class Client {
11962
12127
  tea_util_1.default.validateModel(request);
11963
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({}));
11964
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
+ }
11965
12147
  /**
11966
12148
  * Description: 创建HTTP PUT提交的文件上传
11967
12149
  * Summary: 文件上传创建