@antchain/riskplus 1.19.23 → 1.19.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antchain/riskplus",
3
- "version": "1.19.23",
3
+ "version": "1.19.28",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -6815,6 +6815,18 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
6815
6815
  riskData?: string;
6816
6816
  // 扩展字段
6817
6817
  extInfo?: string;
6818
+ // 默认:0
6819
+ // 0:明文
6820
+ // 1:md5
6821
+ mobileType?: string;
6822
+ // 默认:0
6823
+ // 0:明文
6824
+ // 1:md5
6825
+ cardNoType?: string;
6826
+ // 默认:0
6827
+ // 0:明文
6828
+ // 1:md5
6829
+ customNameType?: string;
6818
6830
  static names(): { [key: string]: string } {
6819
6831
  return {
6820
6832
  authToken: 'auth_token',
@@ -6833,6 +6845,9 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
6833
6845
  orderNo: 'order_no',
6834
6846
  riskData: 'risk_data',
6835
6847
  extInfo: 'ext_info',
6848
+ mobileType: 'mobile_type',
6849
+ cardNoType: 'card_no_type',
6850
+ customNameType: 'custom_name_type',
6836
6851
  };
6837
6852
  }
6838
6853
 
@@ -6854,6 +6869,9 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
6854
6869
  orderNo: 'string',
6855
6870
  riskData: 'string',
6856
6871
  extInfo: 'string',
6872
+ mobileType: 'string',
6873
+ cardNoType: 'string',
6874
+ customNameType: 'string',
6857
6875
  };
6858
6876
  }
6859
6877
 
@@ -12221,6 +12239,124 @@ export class QueryQmpTextsmsTemplateResponse extends $tea.Model {
12221
12239
  }
12222
12240
  }
12223
12241
 
12242
+ export class PushQmpBackflowEventRequest extends $tea.Model {
12243
+ // OAuth模式下的授权token
12244
+ authToken?: string;
12245
+ productInstanceId?: string;
12246
+ // 回流事件id,对应租户回流事件id
12247
+ eventId: number;
12248
+ // 回流事件记录列表
12249
+ eventRecords: BackflowEventRecord[];
12250
+ static names(): { [key: string]: string } {
12251
+ return {
12252
+ authToken: 'auth_token',
12253
+ productInstanceId: 'product_instance_id',
12254
+ eventId: 'event_id',
12255
+ eventRecords: 'event_records',
12256
+ };
12257
+ }
12258
+
12259
+ static types(): { [key: string]: any } {
12260
+ return {
12261
+ authToken: 'string',
12262
+ productInstanceId: 'string',
12263
+ eventId: 'number',
12264
+ eventRecords: { 'type': 'array', 'itemType': BackflowEventRecord },
12265
+ };
12266
+ }
12267
+
12268
+ constructor(map?: { [key: string]: any }) {
12269
+ super(map);
12270
+ }
12271
+ }
12272
+
12273
+ export class PushQmpBackflowEventResponse extends $tea.Model {
12274
+ // 请求唯一ID,用于链路跟踪和问题排查
12275
+ reqMsgId?: string;
12276
+ // 结果码,一般OK表示调用成功
12277
+ resultCode?: string;
12278
+ // 异常信息的文本描述
12279
+ resultMsg?: string;
12280
+ static names(): { [key: string]: string } {
12281
+ return {
12282
+ reqMsgId: 'req_msg_id',
12283
+ resultCode: 'result_code',
12284
+ resultMsg: 'result_msg',
12285
+ };
12286
+ }
12287
+
12288
+ static types(): { [key: string]: any } {
12289
+ return {
12290
+ reqMsgId: 'string',
12291
+ resultCode: 'string',
12292
+ resultMsg: 'string',
12293
+ };
12294
+ }
12295
+
12296
+ constructor(map?: { [key: string]: any }) {
12297
+ super(map);
12298
+ }
12299
+ }
12300
+
12301
+ export class PushQmpBackflowJsondataRequest extends $tea.Model {
12302
+ // OAuth模式下的授权token
12303
+ authToken?: string;
12304
+ productInstanceId?: string;
12305
+ // 回流事件id,对应租户回流事件id
12306
+ eventId: number;
12307
+ // 回流事件记录列表
12308
+ eventRecords: string;
12309
+ static names(): { [key: string]: string } {
12310
+ return {
12311
+ authToken: 'auth_token',
12312
+ productInstanceId: 'product_instance_id',
12313
+ eventId: 'event_id',
12314
+ eventRecords: 'event_records',
12315
+ };
12316
+ }
12317
+
12318
+ static types(): { [key: string]: any } {
12319
+ return {
12320
+ authToken: 'string',
12321
+ productInstanceId: 'string',
12322
+ eventId: 'number',
12323
+ eventRecords: 'string',
12324
+ };
12325
+ }
12326
+
12327
+ constructor(map?: { [key: string]: any }) {
12328
+ super(map);
12329
+ }
12330
+ }
12331
+
12332
+ export class PushQmpBackflowJsondataResponse extends $tea.Model {
12333
+ // 请求唯一ID,用于链路跟踪和问题排查
12334
+ reqMsgId?: string;
12335
+ // 结果码,一般OK表示调用成功
12336
+ resultCode?: string;
12337
+ // 异常信息的文本描述
12338
+ resultMsg?: string;
12339
+ static names(): { [key: string]: string } {
12340
+ return {
12341
+ reqMsgId: 'req_msg_id',
12342
+ resultCode: 'result_code',
12343
+ resultMsg: 'result_msg',
12344
+ };
12345
+ }
12346
+
12347
+ static types(): { [key: string]: any } {
12348
+ return {
12349
+ reqMsgId: 'string',
12350
+ resultCode: 'string',
12351
+ resultMsg: 'string',
12352
+ };
12353
+ }
12354
+
12355
+ constructor(map?: { [key: string]: any }) {
12356
+ super(map);
12357
+ }
12358
+ }
12359
+
12224
12360
  export class QueryRbbGenericInvokeRequest extends $tea.Model {
12225
12361
  // OAuth模式下的授权token
12226
12362
  authToken?: string;
@@ -19672,7 +19808,7 @@ export class DownloadUmktOfflinedecisionResultRequest extends $tea.Model {
19672
19808
  // 圈客结果的产出日期
19673
19809
  // 格式:yyyy-MM-dd
19674
19810
  // 默认当前时间的前一天
19675
- resultDate: string;
19811
+ resultDate?: string;
19676
19812
  static names(): { [key: string]: string } {
19677
19813
  return {
19678
19814
  authToken: 'auth_token',
@@ -19931,7 +20067,7 @@ export default class Client {
19931
20067
  req_msg_id: AntchainUtil.getNonce(),
19932
20068
  access_key: this._accessKeyId,
19933
20069
  base_sdk_version: "TeaSDK-2.0",
19934
- sdk_version: "1.19.23",
20070
+ sdk_version: "1.19.28",
19935
20071
  _prod_code: "RISKPLUS",
19936
20072
  _prod_channel: "undefined",
19937
20073
  };
@@ -21790,6 +21926,44 @@ export default class Client {
21790
21926
  return $tea.cast<QueryQmpTextsmsTemplateResponse>(await this.doRequest("1.0", "riskplus.qmp.textsms.template.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryQmpTextsmsTemplateResponse({}));
21791
21927
  }
21792
21928
 
21929
+ /**
21930
+ * Description: 蚁盾业务回流事件推送
21931
+ * Summary: 蚁盾回流事件推送
21932
+ */
21933
+ async pushQmpBackflowEvent(request: PushQmpBackflowEventRequest): Promise<PushQmpBackflowEventResponse> {
21934
+ let runtime = new $Util.RuntimeOptions({ });
21935
+ let headers : {[key: string ]: string} = { };
21936
+ return await this.pushQmpBackflowEventEx(request, headers, runtime);
21937
+ }
21938
+
21939
+ /**
21940
+ * Description: 蚁盾业务回流事件推送
21941
+ * Summary: 蚁盾回流事件推送
21942
+ */
21943
+ async pushQmpBackflowEventEx(request: PushQmpBackflowEventRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushQmpBackflowEventResponse> {
21944
+ Util.validateModel(request);
21945
+ return $tea.cast<PushQmpBackflowEventResponse>(await this.doRequest("1.0", "riskplus.qmp.backflow.event.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushQmpBackflowEventResponse({}));
21946
+ }
21947
+
21948
+ /**
21949
+ * Description: 蚁盾数据回流推送,用于客户定制json数据
21950
+ * Summary: 蚁盾数据回流json格式推送
21951
+ */
21952
+ async pushQmpBackflowJsondata(request: PushQmpBackflowJsondataRequest): Promise<PushQmpBackflowJsondataResponse> {
21953
+ let runtime = new $Util.RuntimeOptions({ });
21954
+ let headers : {[key: string ]: string} = { };
21955
+ return await this.pushQmpBackflowJsondataEx(request, headers, runtime);
21956
+ }
21957
+
21958
+ /**
21959
+ * Description: 蚁盾数据回流推送,用于客户定制json数据
21960
+ * Summary: 蚁盾数据回流json格式推送
21961
+ */
21962
+ async pushQmpBackflowJsondataEx(request: PushQmpBackflowJsondataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushQmpBackflowJsondataResponse> {
21963
+ Util.validateModel(request);
21964
+ return $tea.cast<PushQmpBackflowJsondataResponse>(await this.doRequest("1.0", "riskplus.qmp.backflow.jsondata.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushQmpBackflowJsondataResponse({}));
21965
+ }
21966
+
21793
21967
  /**
21794
21968
  * Description: 风险大脑企业版通用查询接口
21795
21969
  * Summary: 【已废弃】