@antchain/riskplus 1.22.0 → 1.22.3

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.22.0",
3
+ "version": "1.22.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -3640,6 +3640,31 @@ export class CustomerBankCardInfo extends $tea.Model {
3640
3640
  }
3641
3641
  }
3642
3642
 
3643
+ // 供应商
3644
+ export class Supplier extends $tea.Model {
3645
+ // 供应商id
3646
+ supplierId: string;
3647
+ // 供应商名字
3648
+ supplierName: string;
3649
+ static names(): { [key: string]: string } {
3650
+ return {
3651
+ supplierId: 'supplier_id',
3652
+ supplierName: 'supplier_name',
3653
+ };
3654
+ }
3655
+
3656
+ static types(): { [key: string]: any } {
3657
+ return {
3658
+ supplierId: 'string',
3659
+ supplierName: 'string',
3660
+ };
3661
+ }
3662
+
3663
+ constructor(map?: { [key: string]: any }) {
3664
+ super(map);
3665
+ }
3666
+ }
3667
+
3643
3668
  // 查询结果
3644
3669
  export class QueryResult extends $tea.Model {
3645
3670
  // key
@@ -4955,6 +4980,10 @@ export class TenantActionPlanInfo extends $tea.Model {
4955
4980
  gmtCreate: string;
4956
4981
  // 修改时间
4957
4982
  gmtModified: string;
4983
+ // 场景策略入参名
4984
+ actionParamInfo?: string[];
4985
+ // 参数查询是否完成
4986
+ isParamQueryDone?: boolean;
4958
4987
  static names(): { [key: string]: string } {
4959
4988
  return {
4960
4989
  sceneStrategyId: 'scene_strategy_id',
@@ -4964,6 +4993,8 @@ export class TenantActionPlanInfo extends $tea.Model {
4964
4993
  channelCode: 'channel_code',
4965
4994
  gmtCreate: 'gmt_create',
4966
4995
  gmtModified: 'gmt_modified',
4996
+ actionParamInfo: 'action_param_info',
4997
+ isParamQueryDone: 'is_param_query_done',
4967
4998
  };
4968
4999
  }
4969
5000
 
@@ -4976,6 +5007,8 @@ export class TenantActionPlanInfo extends $tea.Model {
4976
5007
  channelCode: 'string',
4977
5008
  gmtCreate: 'string',
4978
5009
  gmtModified: 'string',
5010
+ actionParamInfo: { 'type': 'array', 'itemType': 'string' },
5011
+ isParamQueryDone: 'boolean',
4979
5012
  };
4980
5013
  }
4981
5014
 
@@ -11436,6 +11469,120 @@ export class QueryMdipDataservicePocResponse extends $tea.Model {
11436
11469
  }
11437
11470
  }
11438
11471
 
11472
+ export class ListMdipDefaultSupplierRequest extends $tea.Model {
11473
+ // OAuth模式下的授权token
11474
+ authToken?: string;
11475
+ productInstanceId?: string;
11476
+ // ANTCLOUD
11477
+ defaultTenant?: string;
11478
+ static names(): { [key: string]: string } {
11479
+ return {
11480
+ authToken: 'auth_token',
11481
+ productInstanceId: 'product_instance_id',
11482
+ defaultTenant: 'default_tenant',
11483
+ };
11484
+ }
11485
+
11486
+ static types(): { [key: string]: any } {
11487
+ return {
11488
+ authToken: 'string',
11489
+ productInstanceId: 'string',
11490
+ defaultTenant: 'string',
11491
+ };
11492
+ }
11493
+
11494
+ constructor(map?: { [key: string]: any }) {
11495
+ super(map);
11496
+ }
11497
+ }
11498
+
11499
+ export class ListMdipDefaultSupplierResponse extends $tea.Model {
11500
+ // 请求唯一ID,用于链路跟踪和问题排查
11501
+ reqMsgId?: string;
11502
+ // 结果码,一般OK表示调用成功
11503
+ resultCode?: string;
11504
+ // 异常信息的文本描述
11505
+ resultMsg?: string;
11506
+ // 供应商列表
11507
+ supplierList?: Supplier[];
11508
+ static names(): { [key: string]: string } {
11509
+ return {
11510
+ reqMsgId: 'req_msg_id',
11511
+ resultCode: 'result_code',
11512
+ resultMsg: 'result_msg',
11513
+ supplierList: 'supplier_list',
11514
+ };
11515
+ }
11516
+
11517
+ static types(): { [key: string]: any } {
11518
+ return {
11519
+ reqMsgId: 'string',
11520
+ resultCode: 'string',
11521
+ resultMsg: 'string',
11522
+ supplierList: { 'type': 'array', 'itemType': Supplier },
11523
+ };
11524
+ }
11525
+
11526
+ constructor(map?: { [key: string]: any }) {
11527
+ super(map);
11528
+ }
11529
+ }
11530
+
11531
+ export class CallbackMdipYunfengdieParamsRequest extends $tea.Model {
11532
+ // OAuth模式下的授权token
11533
+ authToken?: string;
11534
+ productInstanceId?: string;
11535
+ // 回调参数
11536
+ paramsMap: string;
11537
+ static names(): { [key: string]: string } {
11538
+ return {
11539
+ authToken: 'auth_token',
11540
+ productInstanceId: 'product_instance_id',
11541
+ paramsMap: 'params_map',
11542
+ };
11543
+ }
11544
+
11545
+ static types(): { [key: string]: any } {
11546
+ return {
11547
+ authToken: 'string',
11548
+ productInstanceId: 'string',
11549
+ paramsMap: 'string',
11550
+ };
11551
+ }
11552
+
11553
+ constructor(map?: { [key: string]: any }) {
11554
+ super(map);
11555
+ }
11556
+ }
11557
+
11558
+ export class CallbackMdipYunfengdieParamsResponse extends $tea.Model {
11559
+ // 请求唯一ID,用于链路跟踪和问题排查
11560
+ reqMsgId?: string;
11561
+ // 结果码,一般OK表示调用成功
11562
+ resultCode?: string;
11563
+ // 异常信息的文本描述
11564
+ resultMsg?: string;
11565
+ static names(): { [key: string]: string } {
11566
+ return {
11567
+ reqMsgId: 'req_msg_id',
11568
+ resultCode: 'result_code',
11569
+ resultMsg: 'result_msg',
11570
+ };
11571
+ }
11572
+
11573
+ static types(): { [key: string]: any } {
11574
+ return {
11575
+ reqMsgId: 'string',
11576
+ resultCode: 'string',
11577
+ resultMsg: 'string',
11578
+ };
11579
+ }
11580
+
11581
+ constructor(map?: { [key: string]: any }) {
11582
+ super(map);
11583
+ }
11584
+ }
11585
+
11439
11586
  export class ApplyQmpRtBatchmarketingRequest extends $tea.Model {
11440
11587
  // OAuth模式下的授权token
11441
11588
  authToken?: string;
@@ -21683,7 +21830,7 @@ export default class Client {
21683
21830
  req_msg_id: AntchainUtil.getNonce(),
21684
21831
  access_key: this._accessKeyId,
21685
21832
  base_sdk_version: "TeaSDK-2.0",
21686
- sdk_version: "1.22.0",
21833
+ sdk_version: "1.22.3",
21687
21834
  _prod_code: "RISKPLUS",
21688
21835
  _prod_channel: "undefined",
21689
21836
  };
@@ -23317,6 +23464,44 @@ export default class Client {
23317
23464
  return $tea.cast<QueryMdipDataservicePocResponse>(await this.doRequest("1.0", "riskplus.mdip.dataservice.poc.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryMdipDataservicePocResponse({}));
23318
23465
  }
23319
23466
 
23467
+ /**
23468
+ * Description: 查询默认租户的供应商列表
23469
+ * Summary: 查询默认租户的供应商列表
23470
+ */
23471
+ async listMdipDefaultSupplier(request: ListMdipDefaultSupplierRequest): Promise<ListMdipDefaultSupplierResponse> {
23472
+ let runtime = new $Util.RuntimeOptions({ });
23473
+ let headers : {[key: string ]: string} = { };
23474
+ return await this.listMdipDefaultSupplierEx(request, headers, runtime);
23475
+ }
23476
+
23477
+ /**
23478
+ * Description: 查询默认租户的供应商列表
23479
+ * Summary: 查询默认租户的供应商列表
23480
+ */
23481
+ async listMdipDefaultSupplierEx(request: ListMdipDefaultSupplierRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListMdipDefaultSupplierResponse> {
23482
+ Util.validateModel(request);
23483
+ return $tea.cast<ListMdipDefaultSupplierResponse>(await this.doRequest("1.0", "riskplus.mdip.default.supplier.list", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ListMdipDefaultSupplierResponse({}));
23484
+ }
23485
+
23486
+ /**
23487
+ * Description: 数据回调
23488
+ * Summary: 云凤蝶回调参数
23489
+ */
23490
+ async callbackMdipYunfengdieParams(request: CallbackMdipYunfengdieParamsRequest): Promise<CallbackMdipYunfengdieParamsResponse> {
23491
+ let runtime = new $Util.RuntimeOptions({ });
23492
+ let headers : {[key: string ]: string} = { };
23493
+ return await this.callbackMdipYunfengdieParamsEx(request, headers, runtime);
23494
+ }
23495
+
23496
+ /**
23497
+ * Description: 数据回调
23498
+ * Summary: 云凤蝶回调参数
23499
+ */
23500
+ async callbackMdipYunfengdieParamsEx(request: CallbackMdipYunfengdieParamsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackMdipYunfengdieParamsResponse> {
23501
+ Util.validateModel(request);
23502
+ return $tea.cast<CallbackMdipYunfengdieParamsResponse>(await this.doRequest("1.0", "riskplus.mdip.yunfengdie.params.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMdipYunfengdieParamsResponse({}));
23503
+ }
23504
+
23320
23505
  /**
23321
23506
  * Description: 批量实时触达接口
23322
23507
  * Summary: 发起触达任务