@antchain/riskplus 1.16.29 → 1.16.36

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
@@ -491,6 +491,20 @@ export declare class RtopCompanyRiskFactor extends $tea.Model {
491
491
  [key: string]: any;
492
492
  });
493
493
  }
494
+ export declare class CustomerDetail extends $tea.Model {
495
+ customerKey: string;
496
+ channelParams: string;
497
+ extInfo: string;
498
+ static names(): {
499
+ [key: string]: string;
500
+ };
501
+ static types(): {
502
+ [key: string]: any;
503
+ };
504
+ constructor(map?: {
505
+ [key: string]: any;
506
+ });
507
+ }
494
508
  export declare class CustomerBankCardInfo extends $tea.Model {
495
509
  bankName: string;
496
510
  bankCode: string;
@@ -3987,6 +4001,7 @@ export declare class QueryRbbGeneralRequest extends $tea.Model {
3987
4001
  extension?: string;
3988
4002
  queryname: string;
3989
4003
  queryparas?: string;
4004
+ virtualCloudTenantCode?: string;
3990
4005
  static names(): {
3991
4006
  [key: string]: string;
3992
4007
  };
@@ -6338,6 +6353,74 @@ export declare class QueryUmktRobotcallDetailResponse extends $tea.Model {
6338
6353
  [key: string]: any;
6339
6354
  });
6340
6355
  }
6356
+ export declare class ApplyUmktRealtimemarketingRequest extends $tea.Model {
6357
+ authToken?: string;
6358
+ productInstanceId?: string;
6359
+ subTenantId?: string;
6360
+ sceneStrategyId: number;
6361
+ outSerialNo: string;
6362
+ paramType: string;
6363
+ channelParams?: string;
6364
+ extInfo?: string;
6365
+ customerKey: string;
6366
+ static names(): {
6367
+ [key: string]: string;
6368
+ };
6369
+ static types(): {
6370
+ [key: string]: any;
6371
+ };
6372
+ constructor(map?: {
6373
+ [key: string]: any;
6374
+ });
6375
+ }
6376
+ export declare class ApplyUmktRealtimemarketingResponse extends $tea.Model {
6377
+ reqMsgId?: string;
6378
+ resultCode?: string;
6379
+ resultMsg?: string;
6380
+ bizId?: string;
6381
+ static names(): {
6382
+ [key: string]: string;
6383
+ };
6384
+ static types(): {
6385
+ [key: string]: any;
6386
+ };
6387
+ constructor(map?: {
6388
+ [key: string]: any;
6389
+ });
6390
+ }
6391
+ export declare class ApplyUmktRtBatchmarketingRequest extends $tea.Model {
6392
+ authToken?: string;
6393
+ productInstanceId?: string;
6394
+ sceneStrategyId: number;
6395
+ outSerialNo: string;
6396
+ paramType: string;
6397
+ outInfo: string;
6398
+ customerDetails: CustomerDetail[];
6399
+ static names(): {
6400
+ [key: string]: string;
6401
+ };
6402
+ static types(): {
6403
+ [key: string]: any;
6404
+ };
6405
+ constructor(map?: {
6406
+ [key: string]: any;
6407
+ });
6408
+ }
6409
+ export declare class ApplyUmktRtBatchmarketingResponse extends $tea.Model {
6410
+ reqMsgId?: string;
6411
+ resultCode?: string;
6412
+ resultMsg?: string;
6413
+ bizId?: string;
6414
+ static names(): {
6415
+ [key: string]: string;
6416
+ };
6417
+ static types(): {
6418
+ [key: string]: any;
6419
+ };
6420
+ constructor(map?: {
6421
+ [key: string]: any;
6422
+ });
6423
+ }
6341
6424
  export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
6342
6425
  authToken?: string;
6343
6426
  apiCode: string;
@@ -8098,6 +8181,30 @@ export default class Client {
8098
8181
  queryUmktRobotcallDetailEx(request: QueryUmktRobotcallDetailRequest, headers: {
8099
8182
  [key: string]: string;
8100
8183
  }, runtime: $Util.RuntimeOptions): Promise<QueryUmktRobotcallDetailResponse>;
8184
+ /**
8185
+ * Description: 发起触达营销任务 ---目前仅支持文本短信
8186
+ * Summary: 发起触达营销任务
8187
+ */
8188
+ applyUmktRealtimemarketing(request: ApplyUmktRealtimemarketingRequest): Promise<ApplyUmktRealtimemarketingResponse>;
8189
+ /**
8190
+ * Description: 发起触达营销任务 ---目前仅支持文本短信
8191
+ * Summary: 发起触达营销任务
8192
+ */
8193
+ applyUmktRealtimemarketingEx(request: ApplyUmktRealtimemarketingRequest, headers: {
8194
+ [key: string]: string;
8195
+ }, runtime: $Util.RuntimeOptions): Promise<ApplyUmktRealtimemarketingResponse>;
8196
+ /**
8197
+ * Description: 批量实时策略触达
8198
+ * Summary: 批量实时策略触达
8199
+ */
8200
+ applyUmktRtBatchmarketing(request: ApplyUmktRtBatchmarketingRequest): Promise<ApplyUmktRtBatchmarketingResponse>;
8201
+ /**
8202
+ * Description: 批量实时策略触达
8203
+ * Summary: 批量实时策略触达
8204
+ */
8205
+ applyUmktRtBatchmarketingEx(request: ApplyUmktRtBatchmarketingRequest, headers: {
8206
+ [key: string]: string;
8207
+ }, runtime: $Util.RuntimeOptions): Promise<ApplyUmktRtBatchmarketingResponse>;
8101
8208
  /**
8102
8209
  * Description: 创建HTTP PUT提交的文件上传
8103
8210
  * Summary: 文件上传创建
package/dist/client.js CHANGED
@@ -793,6 +793,27 @@ class RtopCompanyRiskFactor extends $tea.Model {
793
793
  }
794
794
  }
795
795
  exports.RtopCompanyRiskFactor = RtopCompanyRiskFactor;
796
+ // 用户凭证信息
797
+ class CustomerDetail extends $tea.Model {
798
+ constructor(map) {
799
+ super(map);
800
+ }
801
+ static names() {
802
+ return {
803
+ customerKey: 'customer_key',
804
+ channelParams: 'channel_params',
805
+ extInfo: 'ext_info',
806
+ };
807
+ }
808
+ static types() {
809
+ return {
810
+ customerKey: 'string',
811
+ channelParams: 'string',
812
+ extInfo: 'string',
813
+ };
814
+ }
815
+ }
816
+ exports.CustomerDetail = CustomerDetail;
796
817
  // 用户绑定银行卡列表
797
818
  class CustomerBankCardInfo extends $tea.Model {
798
819
  constructor(map) {
@@ -6247,6 +6268,7 @@ class QueryRbbGeneralRequest extends $tea.Model {
6247
6268
  extension: 'extension',
6248
6269
  queryname: 'queryname',
6249
6270
  queryparas: 'queryparas',
6271
+ virtualCloudTenantCode: 'virtual_cloud_tenant_code',
6250
6272
  };
6251
6273
  }
6252
6274
  static types() {
@@ -6256,6 +6278,7 @@ class QueryRbbGeneralRequest extends $tea.Model {
6256
6278
  extension: 'string',
6257
6279
  queryname: 'string',
6258
6280
  queryparas: 'string',
6281
+ virtualCloudTenantCode: 'string',
6259
6282
  };
6260
6283
  }
6261
6284
  }
@@ -9830,6 +9853,110 @@ class QueryUmktRobotcallDetailResponse extends $tea.Model {
9830
9853
  }
9831
9854
  }
9832
9855
  exports.QueryUmktRobotcallDetailResponse = QueryUmktRobotcallDetailResponse;
9856
+ class ApplyUmktRealtimemarketingRequest extends $tea.Model {
9857
+ constructor(map) {
9858
+ super(map);
9859
+ }
9860
+ static names() {
9861
+ return {
9862
+ authToken: 'auth_token',
9863
+ productInstanceId: 'product_instance_id',
9864
+ subTenantId: 'sub_tenant_id',
9865
+ sceneStrategyId: 'scene_strategy_id',
9866
+ outSerialNo: 'out_serial_no',
9867
+ paramType: 'param_type',
9868
+ channelParams: 'channel_params',
9869
+ extInfo: 'ext_info',
9870
+ customerKey: 'customer_key',
9871
+ };
9872
+ }
9873
+ static types() {
9874
+ return {
9875
+ authToken: 'string',
9876
+ productInstanceId: 'string',
9877
+ subTenantId: 'string',
9878
+ sceneStrategyId: 'number',
9879
+ outSerialNo: 'string',
9880
+ paramType: 'string',
9881
+ channelParams: 'string',
9882
+ extInfo: 'string',
9883
+ customerKey: 'string',
9884
+ };
9885
+ }
9886
+ }
9887
+ exports.ApplyUmktRealtimemarketingRequest = ApplyUmktRealtimemarketingRequest;
9888
+ class ApplyUmktRealtimemarketingResponse extends $tea.Model {
9889
+ constructor(map) {
9890
+ super(map);
9891
+ }
9892
+ static names() {
9893
+ return {
9894
+ reqMsgId: 'req_msg_id',
9895
+ resultCode: 'result_code',
9896
+ resultMsg: 'result_msg',
9897
+ bizId: 'biz_id',
9898
+ };
9899
+ }
9900
+ static types() {
9901
+ return {
9902
+ reqMsgId: 'string',
9903
+ resultCode: 'string',
9904
+ resultMsg: 'string',
9905
+ bizId: 'string',
9906
+ };
9907
+ }
9908
+ }
9909
+ exports.ApplyUmktRealtimemarketingResponse = ApplyUmktRealtimemarketingResponse;
9910
+ class ApplyUmktRtBatchmarketingRequest extends $tea.Model {
9911
+ constructor(map) {
9912
+ super(map);
9913
+ }
9914
+ static names() {
9915
+ return {
9916
+ authToken: 'auth_token',
9917
+ productInstanceId: 'product_instance_id',
9918
+ sceneStrategyId: 'scene_strategy_id',
9919
+ outSerialNo: 'out_serial_no',
9920
+ paramType: 'param_type',
9921
+ outInfo: 'out_info',
9922
+ customerDetails: 'customer_details',
9923
+ };
9924
+ }
9925
+ static types() {
9926
+ return {
9927
+ authToken: 'string',
9928
+ productInstanceId: 'string',
9929
+ sceneStrategyId: 'number',
9930
+ outSerialNo: 'string',
9931
+ paramType: 'string',
9932
+ outInfo: 'string',
9933
+ customerDetails: { 'type': 'array', 'itemType': CustomerDetail },
9934
+ };
9935
+ }
9936
+ }
9937
+ exports.ApplyUmktRtBatchmarketingRequest = ApplyUmktRtBatchmarketingRequest;
9938
+ class ApplyUmktRtBatchmarketingResponse extends $tea.Model {
9939
+ constructor(map) {
9940
+ super(map);
9941
+ }
9942
+ static names() {
9943
+ return {
9944
+ reqMsgId: 'req_msg_id',
9945
+ resultCode: 'result_code',
9946
+ resultMsg: 'result_msg',
9947
+ bizId: 'biz_id',
9948
+ };
9949
+ }
9950
+ static types() {
9951
+ return {
9952
+ reqMsgId: 'string',
9953
+ resultCode: 'string',
9954
+ resultMsg: 'string',
9955
+ bizId: 'string',
9956
+ };
9957
+ }
9958
+ }
9959
+ exports.ApplyUmktRtBatchmarketingResponse = ApplyUmktRtBatchmarketingResponse;
9833
9960
  class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
9834
9961
  constructor(map) {
9835
9962
  super(map);
@@ -9974,7 +10101,7 @@ class Client {
9974
10101
  req_msg_id: alipay_util_1.default.getNonce(),
9975
10102
  access_key: this._accessKeyId,
9976
10103
  base_sdk_version: "TeaSDK-2.0",
9977
- sdk_version: "1.16.29",
10104
+ sdk_version: "1.16.36",
9978
10105
  _prod_code: "RISKPLUS",
9979
10106
  _prod_channel: "undefined",
9980
10107
  };
@@ -12488,6 +12615,40 @@ class Client {
12488
12615
  tea_util_1.default.validateModel(request);
12489
12616
  return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.robotcall.detail.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktRobotcallDetailResponse({}));
12490
12617
  }
12618
+ /**
12619
+ * Description: 发起触达营销任务 ---目前仅支持文本短信
12620
+ * Summary: 发起触达营销任务
12621
+ */
12622
+ async applyUmktRealtimemarketing(request) {
12623
+ let runtime = new $Util.RuntimeOptions({});
12624
+ let headers = {};
12625
+ return await this.applyUmktRealtimemarketingEx(request, headers, runtime);
12626
+ }
12627
+ /**
12628
+ * Description: 发起触达营销任务 ---目前仅支持文本短信
12629
+ * Summary: 发起触达营销任务
12630
+ */
12631
+ async applyUmktRealtimemarketingEx(request, headers, runtime) {
12632
+ tea_util_1.default.validateModel(request);
12633
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.realtimemarketing.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktRealtimemarketingResponse({}));
12634
+ }
12635
+ /**
12636
+ * Description: 批量实时策略触达
12637
+ * Summary: 批量实时策略触达
12638
+ */
12639
+ async applyUmktRtBatchmarketing(request) {
12640
+ let runtime = new $Util.RuntimeOptions({});
12641
+ let headers = {};
12642
+ return await this.applyUmktRtBatchmarketingEx(request, headers, runtime);
12643
+ }
12644
+ /**
12645
+ * Description: 批量实时策略触达
12646
+ * Summary: 批量实时策略触达
12647
+ */
12648
+ async applyUmktRtBatchmarketingEx(request, headers, runtime) {
12649
+ tea_util_1.default.validateModel(request);
12650
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.rt.batchmarketing.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktRtBatchmarketingResponse({}));
12651
+ }
12491
12652
  /**
12492
12653
  * Description: 创建HTTP PUT提交的文件上传
12493
12654
  * Summary: 文件上传创建