@antchain/riskplus 1.13.14 → 1.15.0

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
@@ -168,6 +168,20 @@ export declare class RtopTypeDistribution extends $tea.Model {
168
168
  [key: string]: any;
169
169
  });
170
170
  }
171
+ export declare class UmktInfoModel extends $tea.Model {
172
+ sceneStrategyId: number;
173
+ umktResult: number;
174
+ umktOutPutInfo: string;
175
+ static names(): {
176
+ [key: string]: string;
177
+ };
178
+ static types(): {
179
+ [key: string]: any;
180
+ };
181
+ constructor(map?: {
182
+ [key: string]: any;
183
+ });
184
+ }
171
185
  export declare class RtopRiskTag extends $tea.Model {
172
186
  tagId: string;
173
187
  tagName: string;
@@ -233,7 +247,7 @@ export declare class RepayRef extends $tea.Model {
233
247
  customNo: string;
234
248
  period: string;
235
249
  needAmount: number;
236
- transPrincipal: number;
250
+ needCorpus: number;
237
251
  needAccrual: number;
238
252
  needFee: number;
239
253
  alreadyAmount: number;
@@ -1130,6 +1144,19 @@ export declare class CustomerUmktInfoModel extends $tea.Model {
1130
1144
  [key: string]: any;
1131
1145
  });
1132
1146
  }
1147
+ export declare class CustomerUmktInfosModel extends $tea.Model {
1148
+ umktResults: UmktInfoModel[];
1149
+ customerKey: string;
1150
+ static names(): {
1151
+ [key: string]: string;
1152
+ };
1153
+ static types(): {
1154
+ [key: string]: any;
1155
+ };
1156
+ constructor(map?: {
1157
+ [key: string]: any;
1158
+ });
1159
+ }
1133
1160
  export declare class ModelDetails extends $tea.Model {
1134
1161
  sceneCode: string;
1135
1162
  score: string;
@@ -1330,6 +1357,24 @@ export declare class CreditAmount extends $tea.Model {
1330
1357
  [key: string]: any;
1331
1358
  });
1332
1359
  }
1360
+ export declare class CpaasSmsTemplate extends $tea.Model {
1361
+ templateType?: string;
1362
+ templateName?: string;
1363
+ templateContent?: string;
1364
+ status?: string;
1365
+ templateCode?: string;
1366
+ failReason?: string;
1367
+ createTime?: string;
1368
+ static names(): {
1369
+ [key: string]: string;
1370
+ };
1371
+ static types(): {
1372
+ [key: string]: any;
1373
+ };
1374
+ constructor(map?: {
1375
+ [key: string]: any;
1376
+ });
1377
+ }
1333
1378
  export declare class RtopCompanyOpinionDetail extends $tea.Model {
1334
1379
  docContent: string;
1335
1380
  docId: string;
@@ -2419,6 +2464,10 @@ export declare class BindDubbridgeCustomerBankcardRequest extends $tea.Model {
2419
2464
  customerNo: string;
2420
2465
  bankCardNo: string;
2421
2466
  channelCode: string;
2467
+ customName?: string;
2468
+ openId?: string;
2469
+ cardNo?: string;
2470
+ mobile?: string;
2422
2471
  static names(): {
2423
2472
  [key: string]: string;
2424
2473
  };
@@ -2452,6 +2501,8 @@ export declare class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
2452
2501
  customNo?: string;
2453
2502
  bindSerialNo: string;
2454
2503
  bindValidCode: string;
2504
+ bankCardNo: string;
2505
+ channelCode: string;
2455
2506
  static names(): {
2456
2507
  [key: string]: string;
2457
2508
  };
@@ -3105,6 +3156,7 @@ export declare class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
3105
3156
  originalOrderNo: string;
3106
3157
  repayType: string;
3107
3158
  orderNo: string;
3159
+ validRepayAmount?: string;
3108
3160
  static names(): {
3109
3161
  [key: string]: string;
3110
3162
  };
@@ -5666,6 +5718,76 @@ export declare class SendUmktDigitalsmsBatchResponse extends $tea.Model {
5666
5718
  [key: string]: any;
5667
5719
  });
5668
5720
  }
5721
+ export declare class QueryUmktCpaassmsTemplateRequest extends $tea.Model {
5722
+ authToken?: string;
5723
+ productInstanceId?: string;
5724
+ tenantId: string;
5725
+ smsType: string;
5726
+ tenantIndustry: string;
5727
+ status?: string;
5728
+ pageNum?: number;
5729
+ pageSize?: number;
5730
+ static names(): {
5731
+ [key: string]: string;
5732
+ };
5733
+ static types(): {
5734
+ [key: string]: any;
5735
+ };
5736
+ constructor(map?: {
5737
+ [key: string]: any;
5738
+ });
5739
+ }
5740
+ export declare class QueryUmktCpaassmsTemplateResponse extends $tea.Model {
5741
+ reqMsgId?: string;
5742
+ resultCode?: string;
5743
+ resultMsg?: string;
5744
+ total?: number;
5745
+ pageSize?: number;
5746
+ pageNum?: number;
5747
+ cpassSmsTemplates?: CpaasSmsTemplate[];
5748
+ static names(): {
5749
+ [key: string]: string;
5750
+ };
5751
+ static types(): {
5752
+ [key: string]: any;
5753
+ };
5754
+ constructor(map?: {
5755
+ [key: string]: any;
5756
+ });
5757
+ }
5758
+ export declare class BatchqueryUmktRtMixedmarketingRequest extends $tea.Model {
5759
+ authToken?: string;
5760
+ productInstanceId?: string;
5761
+ sceneStrategyIds: number[];
5762
+ sceneStrategySetCode?: string;
5763
+ queryTemplate: string;
5764
+ customerKeys: string[];
5765
+ bizSerialNo: string;
5766
+ static names(): {
5767
+ [key: string]: string;
5768
+ };
5769
+ static types(): {
5770
+ [key: string]: any;
5771
+ };
5772
+ constructor(map?: {
5773
+ [key: string]: any;
5774
+ });
5775
+ }
5776
+ export declare class BatchqueryUmktRtMixedmarketingResponse extends $tea.Model {
5777
+ reqMsgId?: string;
5778
+ resultCode?: string;
5779
+ resultMsg?: string;
5780
+ queryResults?: CustomerUmktInfosModel[];
5781
+ static names(): {
5782
+ [key: string]: string;
5783
+ };
5784
+ static types(): {
5785
+ [key: string]: any;
5786
+ };
5787
+ constructor(map?: {
5788
+ [key: string]: any;
5789
+ });
5790
+ }
5669
5791
  export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
5670
5792
  authToken?: string;
5671
5793
  apiCode: string;
@@ -7258,6 +7380,30 @@ export default class Client {
7258
7380
  sendUmktDigitalsmsBatchEx(request: SendUmktDigitalsmsBatchRequest, headers: {
7259
7381
  [key: string]: string;
7260
7382
  }, runtime: $Util.RuntimeOptions): Promise<SendUmktDigitalsmsBatchResponse>;
7383
+ /**
7384
+ * Description: 分页查询cpaas短信模板
7385
+ * Summary: cpaas短信模板分页查询
7386
+ */
7387
+ queryUmktCpaassmsTemplate(request: QueryUmktCpaassmsTemplateRequest): Promise<QueryUmktCpaassmsTemplateResponse>;
7388
+ /**
7389
+ * Description: 分页查询cpaas短信模板
7390
+ * Summary: cpaas短信模板分页查询
7391
+ */
7392
+ queryUmktCpaassmsTemplateEx(request: QueryUmktCpaassmsTemplateRequest, headers: {
7393
+ [key: string]: string;
7394
+ }, runtime: $Util.RuntimeOptions): Promise<QueryUmktCpaassmsTemplateResponse>;
7395
+ /**
7396
+ * Description: 实时混合批量营销圈客
7397
+ * Summary: 实时混合批量营销圈客
7398
+ */
7399
+ batchqueryUmktRtMixedmarketing(request: BatchqueryUmktRtMixedmarketingRequest): Promise<BatchqueryUmktRtMixedmarketingResponse>;
7400
+ /**
7401
+ * Description: 实时混合批量营销圈客
7402
+ * Summary: 实时混合批量营销圈客
7403
+ */
7404
+ batchqueryUmktRtMixedmarketingEx(request: BatchqueryUmktRtMixedmarketingRequest, headers: {
7405
+ [key: string]: string;
7406
+ }, runtime: $Util.RuntimeOptions): Promise<BatchqueryUmktRtMixedmarketingResponse>;
7261
7407
  /**
7262
7408
  * Description: 创建HTTP PUT提交的文件上传
7263
7409
  * Summary: 文件上传创建
package/dist/client.js CHANGED
@@ -266,6 +266,27 @@ class RtopTypeDistribution extends $tea.Model {
266
266
  }
267
267
  }
268
268
  exports.RtopTypeDistribution = RtopTypeDistribution;
269
+ // 用户的混合策略圈客结果
270
+ class UmktInfoModel extends $tea.Model {
271
+ constructor(map) {
272
+ super(map);
273
+ }
274
+ static names() {
275
+ return {
276
+ sceneStrategyId: 'scene_strategy_id',
277
+ umktResult: 'umkt_result',
278
+ umktOutPutInfo: 'umkt_out_put_info',
279
+ };
280
+ }
281
+ static types() {
282
+ return {
283
+ sceneStrategyId: 'number',
284
+ umktResult: 'number',
285
+ umktOutPutInfo: 'string',
286
+ };
287
+ }
288
+ }
289
+ exports.UmktInfoModel = UmktInfoModel;
269
290
  // 监管风险标签
270
291
  class RtopRiskTag extends $tea.Model {
271
292
  constructor(map) {
@@ -377,7 +398,7 @@ class RepayRef extends $tea.Model {
377
398
  customNo: 'custom_no',
378
399
  period: 'period',
379
400
  needAmount: 'need_amount',
380
- transPrincipal: 'trans_principal',
401
+ needCorpus: 'need_corpus',
381
402
  needAccrual: 'need_accrual',
382
403
  needFee: 'need_fee',
383
404
  alreadyAmount: 'already_amount',
@@ -404,7 +425,7 @@ class RepayRef extends $tea.Model {
404
425
  customNo: 'string',
405
426
  period: 'string',
406
427
  needAmount: 'number',
407
- transPrincipal: 'number',
428
+ needCorpus: 'number',
408
429
  needAccrual: 'number',
409
430
  needFee: 'number',
410
431
  alreadyAmount: 'number',
@@ -1835,6 +1856,25 @@ class CustomerUmktInfoModel extends $tea.Model {
1835
1856
  }
1836
1857
  }
1837
1858
  exports.CustomerUmktInfoModel = CustomerUmktInfoModel;
1859
+ // 混合批量营销圈客结果
1860
+ class CustomerUmktInfosModel extends $tea.Model {
1861
+ constructor(map) {
1862
+ super(map);
1863
+ }
1864
+ static names() {
1865
+ return {
1866
+ umktResults: 'umkt_results',
1867
+ customerKey: 'customer_key',
1868
+ };
1869
+ }
1870
+ static types() {
1871
+ return {
1872
+ umktResults: { 'type': 'array', 'itemType': UmktInfoModel },
1873
+ customerKey: 'string',
1874
+ };
1875
+ }
1876
+ }
1877
+ exports.CustomerUmktInfosModel = CustomerUmktInfosModel;
1838
1878
  // 模型结果详情
1839
1879
  //
1840
1880
  class ModelDetails extends $tea.Model {
@@ -2152,6 +2192,35 @@ class CreditAmount extends $tea.Model {
2152
2192
  }
2153
2193
  }
2154
2194
  exports.CreditAmount = CreditAmount;
2195
+ // 短信模板内容
2196
+ class CpaasSmsTemplate extends $tea.Model {
2197
+ constructor(map) {
2198
+ super(map);
2199
+ }
2200
+ static names() {
2201
+ return {
2202
+ templateType: 'template_type',
2203
+ templateName: 'template_name',
2204
+ templateContent: 'template_content',
2205
+ status: 'status',
2206
+ templateCode: 'template_code',
2207
+ failReason: 'fail_reason',
2208
+ createTime: 'create_time',
2209
+ };
2210
+ }
2211
+ static types() {
2212
+ return {
2213
+ templateType: 'string',
2214
+ templateName: 'string',
2215
+ templateContent: 'string',
2216
+ status: 'string',
2217
+ templateCode: 'string',
2218
+ failReason: 'string',
2219
+ createTime: 'string',
2220
+ };
2221
+ }
2222
+ }
2223
+ exports.CpaasSmsTemplate = CpaasSmsTemplate;
2155
2224
  // 舆情的详情
2156
2225
  class RtopCompanyOpinionDetail extends $tea.Model {
2157
2226
  constructor(map) {
@@ -3829,6 +3898,10 @@ class BindDubbridgeCustomerBankcardRequest extends $tea.Model {
3829
3898
  customerNo: 'customer_no',
3830
3899
  bankCardNo: 'bank_card_no',
3831
3900
  channelCode: 'channel_code',
3901
+ customName: 'custom_name',
3902
+ openId: 'open_id',
3903
+ cardNo: 'card_no',
3904
+ mobile: 'mobile',
3832
3905
  };
3833
3906
  }
3834
3907
  static types() {
@@ -3839,6 +3912,10 @@ class BindDubbridgeCustomerBankcardRequest extends $tea.Model {
3839
3912
  customerNo: 'string',
3840
3913
  bankCardNo: 'string',
3841
3914
  channelCode: 'string',
3915
+ customName: 'string',
3916
+ openId: 'string',
3917
+ cardNo: 'string',
3918
+ mobile: 'string',
3842
3919
  };
3843
3920
  }
3844
3921
  }
@@ -3879,6 +3956,8 @@ class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
3879
3956
  customNo: 'custom_no',
3880
3957
  bindSerialNo: 'bind_serial_no',
3881
3958
  bindValidCode: 'bind_valid_code',
3959
+ bankCardNo: 'bank_card_no',
3960
+ channelCode: 'channel_code',
3882
3961
  };
3883
3962
  }
3884
3963
  static types() {
@@ -3889,6 +3968,8 @@ class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
3889
3968
  customNo: 'string',
3890
3969
  bindSerialNo: 'string',
3891
3970
  bindValidCode: 'string',
3971
+ bankCardNo: 'string',
3972
+ channelCode: 'string',
3892
3973
  };
3893
3974
  }
3894
3975
  }
@@ -4882,6 +4963,7 @@ class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
4882
4963
  originalOrderNo: 'original_order_no',
4883
4964
  repayType: 'repay_type',
4884
4965
  orderNo: 'order_no',
4966
+ validRepayAmount: 'valid_repay_amount',
4885
4967
  };
4886
4968
  }
4887
4969
  static types() {
@@ -4891,6 +4973,7 @@ class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
4891
4973
  originalOrderNo: 'string',
4892
4974
  repayType: 'string',
4893
4975
  orderNo: 'string',
4976
+ validRepayAmount: 'string',
4894
4977
  };
4895
4978
  }
4896
4979
  }
@@ -8773,6 +8856,114 @@ class SendUmktDigitalsmsBatchResponse extends $tea.Model {
8773
8856
  }
8774
8857
  }
8775
8858
  exports.SendUmktDigitalsmsBatchResponse = SendUmktDigitalsmsBatchResponse;
8859
+ class QueryUmktCpaassmsTemplateRequest extends $tea.Model {
8860
+ constructor(map) {
8861
+ super(map);
8862
+ }
8863
+ static names() {
8864
+ return {
8865
+ authToken: 'auth_token',
8866
+ productInstanceId: 'product_instance_id',
8867
+ tenantId: 'tenant_id',
8868
+ smsType: 'sms_type',
8869
+ tenantIndustry: 'tenant_industry',
8870
+ status: 'status',
8871
+ pageNum: 'page_num',
8872
+ pageSize: 'page_size',
8873
+ };
8874
+ }
8875
+ static types() {
8876
+ return {
8877
+ authToken: 'string',
8878
+ productInstanceId: 'string',
8879
+ tenantId: 'string',
8880
+ smsType: 'string',
8881
+ tenantIndustry: 'string',
8882
+ status: 'string',
8883
+ pageNum: 'number',
8884
+ pageSize: 'number',
8885
+ };
8886
+ }
8887
+ }
8888
+ exports.QueryUmktCpaassmsTemplateRequest = QueryUmktCpaassmsTemplateRequest;
8889
+ class QueryUmktCpaassmsTemplateResponse extends $tea.Model {
8890
+ constructor(map) {
8891
+ super(map);
8892
+ }
8893
+ static names() {
8894
+ return {
8895
+ reqMsgId: 'req_msg_id',
8896
+ resultCode: 'result_code',
8897
+ resultMsg: 'result_msg',
8898
+ total: 'total',
8899
+ pageSize: 'page_size',
8900
+ pageNum: 'page_num',
8901
+ cpassSmsTemplates: 'cpass_sms_templates',
8902
+ };
8903
+ }
8904
+ static types() {
8905
+ return {
8906
+ reqMsgId: 'string',
8907
+ resultCode: 'string',
8908
+ resultMsg: 'string',
8909
+ total: 'number',
8910
+ pageSize: 'number',
8911
+ pageNum: 'number',
8912
+ cpassSmsTemplates: { 'type': 'array', 'itemType': CpaasSmsTemplate },
8913
+ };
8914
+ }
8915
+ }
8916
+ exports.QueryUmktCpaassmsTemplateResponse = QueryUmktCpaassmsTemplateResponse;
8917
+ class BatchqueryUmktRtMixedmarketingRequest extends $tea.Model {
8918
+ constructor(map) {
8919
+ super(map);
8920
+ }
8921
+ static names() {
8922
+ return {
8923
+ authToken: 'auth_token',
8924
+ productInstanceId: 'product_instance_id',
8925
+ sceneStrategyIds: 'scene_strategy_ids',
8926
+ sceneStrategySetCode: 'scene_strategy_set_code',
8927
+ queryTemplate: 'query_template',
8928
+ customerKeys: 'customer_keys',
8929
+ bizSerialNo: 'biz_serial_no',
8930
+ };
8931
+ }
8932
+ static types() {
8933
+ return {
8934
+ authToken: 'string',
8935
+ productInstanceId: 'string',
8936
+ sceneStrategyIds: { 'type': 'array', 'itemType': 'number' },
8937
+ sceneStrategySetCode: 'string',
8938
+ queryTemplate: 'string',
8939
+ customerKeys: { 'type': 'array', 'itemType': 'string' },
8940
+ bizSerialNo: 'string',
8941
+ };
8942
+ }
8943
+ }
8944
+ exports.BatchqueryUmktRtMixedmarketingRequest = BatchqueryUmktRtMixedmarketingRequest;
8945
+ class BatchqueryUmktRtMixedmarketingResponse extends $tea.Model {
8946
+ constructor(map) {
8947
+ super(map);
8948
+ }
8949
+ static names() {
8950
+ return {
8951
+ reqMsgId: 'req_msg_id',
8952
+ resultCode: 'result_code',
8953
+ resultMsg: 'result_msg',
8954
+ queryResults: 'query_results',
8955
+ };
8956
+ }
8957
+ static types() {
8958
+ return {
8959
+ reqMsgId: 'string',
8960
+ resultCode: 'string',
8961
+ resultMsg: 'string',
8962
+ queryResults: { 'type': 'array', 'itemType': CustomerUmktInfosModel },
8963
+ };
8964
+ }
8965
+ }
8966
+ exports.BatchqueryUmktRtMixedmarketingResponse = BatchqueryUmktRtMixedmarketingResponse;
8776
8967
  class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
8777
8968
  constructor(map) {
8778
8969
  super(map);
@@ -8917,7 +9108,7 @@ class Client {
8917
9108
  req_msg_id: alipay_util_1.default.getNonce(),
8918
9109
  access_key: this._accessKeyId,
8919
9110
  base_sdk_version: "TeaSDK-2.0",
8920
- sdk_version: "1.13.14",
9111
+ sdk_version: "1.15.0",
8921
9112
  _prod_code: "RISKPLUS",
8922
9113
  _prod_channel: "undefined",
8923
9114
  };
@@ -11155,6 +11346,40 @@ class Client {
11155
11346
  tea_util_1.default.validateModel(request);
11156
11347
  return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.digitalsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktDigitalsmsBatchResponse({}));
11157
11348
  }
11349
+ /**
11350
+ * Description: 分页查询cpaas短信模板
11351
+ * Summary: cpaas短信模板分页查询
11352
+ */
11353
+ async queryUmktCpaassmsTemplate(request) {
11354
+ let runtime = new $Util.RuntimeOptions({});
11355
+ let headers = {};
11356
+ return await this.queryUmktCpaassmsTemplateEx(request, headers, runtime);
11357
+ }
11358
+ /**
11359
+ * Description: 分页查询cpaas短信模板
11360
+ * Summary: cpaas短信模板分页查询
11361
+ */
11362
+ async queryUmktCpaassmsTemplateEx(request, headers, runtime) {
11363
+ tea_util_1.default.validateModel(request);
11364
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.cpaassms.template.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktCpaassmsTemplateResponse({}));
11365
+ }
11366
+ /**
11367
+ * Description: 实时混合批量营销圈客
11368
+ * Summary: 实时混合批量营销圈客
11369
+ */
11370
+ async batchqueryUmktRtMixedmarketing(request) {
11371
+ let runtime = new $Util.RuntimeOptions({});
11372
+ let headers = {};
11373
+ return await this.batchqueryUmktRtMixedmarketingEx(request, headers, runtime);
11374
+ }
11375
+ /**
11376
+ * Description: 实时混合批量营销圈客
11377
+ * Summary: 实时混合批量营销圈客
11378
+ */
11379
+ async batchqueryUmktRtMixedmarketingEx(request, headers, runtime) {
11380
+ tea_util_1.default.validateModel(request);
11381
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.rt.mixedmarketing.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktRtMixedmarketingResponse({}));
11382
+ }
11158
11383
  /**
11159
11384
  * Description: 创建HTTP PUT提交的文件上传
11160
11385
  * Summary: 文件上传创建