@antchain/riskplus 1.16.0 → 1.16.2

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.16.0",
3
+ "version": "1.16.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -7829,7 +7829,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
7829
7829
  // 1:手机数码 2:旅游 3:装修 4:教育 5:婚庆 6:租房 7:家具家居 8:健康医疗 9:其他消费 10:家用电器
7830
7830
  loanWay: string;
7831
7831
  // 还款日
7832
- repayDate: string;
7832
+ repayDate?: string;
7833
7833
  static names(): { [key: string]: string } {
7834
7834
  return {
7835
7835
  authToken: 'auth_token',
@@ -13902,6 +13902,85 @@ export class ApplyUmktPhonenumberstatusforsmsResponse extends $tea.Model {
13902
13902
  }
13903
13903
  }
13904
13904
 
13905
+ export class BatchqueryUmktRtTopnRequest extends $tea.Model {
13906
+ // OAuth模式下的授权token
13907
+ authToken?: string;
13908
+ productInstanceId?: string;
13909
+ // 场景策略id
13910
+ sceneStrategyId: number;
13911
+ // 用户列表传输模版
13912
+ queryTemplate: string;
13913
+ // 用户凭证信息
13914
+ customerKeys: string[];
13915
+ // 业务流水号
13916
+ bizSerialNo: string;
13917
+ // 访问类型,PROD/TEST,正式流量/测试流量
13918
+ visitType: string;
13919
+ static names(): { [key: string]: string } {
13920
+ return {
13921
+ authToken: 'auth_token',
13922
+ productInstanceId: 'product_instance_id',
13923
+ sceneStrategyId: 'scene_strategy_id',
13924
+ queryTemplate: 'query_template',
13925
+ customerKeys: 'customer_keys',
13926
+ bizSerialNo: 'biz_serial_no',
13927
+ visitType: 'visit_type',
13928
+ };
13929
+ }
13930
+
13931
+ static types(): { [key: string]: any } {
13932
+ return {
13933
+ authToken: 'string',
13934
+ productInstanceId: 'string',
13935
+ sceneStrategyId: 'number',
13936
+ queryTemplate: 'string',
13937
+ customerKeys: { 'type': 'array', 'itemType': 'string' },
13938
+ bizSerialNo: 'string',
13939
+ visitType: 'string',
13940
+ };
13941
+ }
13942
+
13943
+ constructor(map?: { [key: string]: any }) {
13944
+ super(map);
13945
+ }
13946
+ }
13947
+
13948
+ export class BatchqueryUmktRtTopnResponse extends $tea.Model {
13949
+ // 请求唯一ID,用于链路跟踪和问题排查
13950
+ reqMsgId?: string;
13951
+ // 结果码,一般OK表示调用成功
13952
+ resultCode?: string;
13953
+ // 异常信息的文本描述
13954
+ resultMsg?: string;
13955
+ // 处理是否成功
13956
+ success?: boolean;
13957
+ // 实时营销单条结果
13958
+ queryResult?: CustomerUmktInfoModel[];
13959
+ static names(): { [key: string]: string } {
13960
+ return {
13961
+ reqMsgId: 'req_msg_id',
13962
+ resultCode: 'result_code',
13963
+ resultMsg: 'result_msg',
13964
+ success: 'success',
13965
+ queryResult: 'query_result',
13966
+ };
13967
+ }
13968
+
13969
+ static types(): { [key: string]: any } {
13970
+ return {
13971
+ reqMsgId: 'string',
13972
+ resultCode: 'string',
13973
+ resultMsg: 'string',
13974
+ success: 'boolean',
13975
+ queryResult: { 'type': 'array', 'itemType': CustomerUmktInfoModel },
13976
+ };
13977
+ }
13978
+
13979
+ constructor(map?: { [key: string]: any }) {
13980
+ super(map);
13981
+ }
13982
+ }
13983
+
13905
13984
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
13906
13985
  // OAuth模式下的授权token
13907
13986
  authToken?: string;
@@ -14103,7 +14182,7 @@ export default class Client {
14103
14182
  req_msg_id: AntchainUtil.getNonce(),
14104
14183
  access_key: this._accessKeyId,
14105
14184
  base_sdk_version: "TeaSDK-2.0",
14106
- sdk_version: "1.16.0",
14185
+ sdk_version: "1.16.2",
14107
14186
  };
14108
14187
  if (!Util.empty(this._securityToken)) {
14109
14188
  request_.query["security_token"] = this._securityToken;
@@ -16684,6 +16763,25 @@ export default class Client {
16684
16763
  return $tea.cast<ApplyUmktPhonenumberstatusforsmsResponse>(await this.doRequest("1.0", "riskplus.umkt.phonenumberstatusforsms.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktPhonenumberstatusforsmsResponse({}));
16685
16764
  }
16686
16765
 
16766
+ /**
16767
+ * Description: 营销实时topN圈客
16768
+ * Summary: 营销实时topN圈客
16769
+ */
16770
+ async batchqueryUmktRtTopn(request: BatchqueryUmktRtTopnRequest): Promise<BatchqueryUmktRtTopnResponse> {
16771
+ let runtime = new $Util.RuntimeOptions({ });
16772
+ let headers : {[key: string ]: string} = { };
16773
+ return await this.batchqueryUmktRtTopnEx(request, headers, runtime);
16774
+ }
16775
+
16776
+ /**
16777
+ * Description: 营销实时topN圈客
16778
+ * Summary: 营销实时topN圈客
16779
+ */
16780
+ async batchqueryUmktRtTopnEx(request: BatchqueryUmktRtTopnRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryUmktRtTopnResponse> {
16781
+ Util.validateModel(request);
16782
+ return $tea.cast<BatchqueryUmktRtTopnResponse>(await this.doRequest("1.0", "riskplus.umkt.rt.topn.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktRtTopnResponse({}));
16783
+ }
16784
+
16687
16785
  /**
16688
16786
  * Description: 创建HTTP PUT提交的文件上传
16689
16787
  * Summary: 文件上传创建