@antchain/riskplus 1.23.7 → 1.23.10

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.23.7",
3
+ "version": "1.23.10",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -153,6 +153,51 @@ export class OutParams extends $tea.Model {
153
153
  }
154
154
  }
155
155
 
156
+ // 安全场景参数
157
+ export class SecurityScene extends $tea.Model {
158
+ // 接入渠道
159
+ accessChannel?: string;
160
+ // 事件信息
161
+ ctuParams?: string;
162
+ // 产品名称
163
+ productName?: string;
164
+ // 产品节点
165
+ productNode?: string;
166
+ // 扩展参数
167
+ securitySceneParams?: string;
168
+ // 系统名称
169
+ systemName?: string;
170
+ // 总金额
171
+ totalFee?: string;
172
+ static names(): { [key: string]: string } {
173
+ return {
174
+ accessChannel: 'access_channel',
175
+ ctuParams: 'ctu_params',
176
+ productName: 'product_name',
177
+ productNode: 'product_node',
178
+ securitySceneParams: 'security_scene_params',
179
+ systemName: 'system_name',
180
+ totalFee: 'total_fee',
181
+ };
182
+ }
183
+
184
+ static types(): { [key: string]: any } {
185
+ return {
186
+ accessChannel: 'string',
187
+ ctuParams: 'string',
188
+ productName: 'string',
189
+ productNode: 'string',
190
+ securitySceneParams: 'string',
191
+ systemName: 'string',
192
+ totalFee: 'string',
193
+ };
194
+ }
195
+
196
+ constructor(map?: { [key: string]: any }) {
197
+ super(map);
198
+ }
199
+ }
200
+
156
201
  // 天枢系统Contact结构体
157
202
  export class Contact extends $tea.Model {
158
203
  // 联系人类型
@@ -326,6 +371,39 @@ export class RtopTypeDistribution extends $tea.Model {
326
371
  }
327
372
  }
328
373
 
374
+ // 营销盾离线圈客任务详细信息
375
+ export class UmktOfflineDecisionTaskDetailInfo extends $tea.Model {
376
+ // 任务id
377
+ taskId: number;
378
+ // 圈客计划id
379
+ decisionPlanId: number;
380
+ // 圈客结果状态
381
+ decisionResultStatus: string;
382
+ // 圈客结果状态描述
383
+ statusRemark: string;
384
+ static names(): { [key: string]: string } {
385
+ return {
386
+ taskId: 'task_id',
387
+ decisionPlanId: 'decision_plan_id',
388
+ decisionResultStatus: 'decision_result_status',
389
+ statusRemark: 'status_remark',
390
+ };
391
+ }
392
+
393
+ static types(): { [key: string]: any } {
394
+ return {
395
+ taskId: 'number',
396
+ decisionPlanId: 'number',
397
+ decisionResultStatus: 'string',
398
+ statusRemark: 'string',
399
+ };
400
+ }
401
+
402
+ constructor(map?: { [key: string]: any }) {
403
+ super(map);
404
+ }
405
+ }
406
+
329
407
  // 营销盾触达媒介参数信息
330
408
  export class ActionParamInfo extends $tea.Model {
331
409
  // 触达媒介类型
@@ -712,51 +790,6 @@ export class RuleDetail extends $tea.Model {
712
790
  }
713
791
  }
714
792
 
715
- // 安全场景参数
716
- export class SecurityScene extends $tea.Model {
717
- // 接入渠道
718
- accessChannel?: string;
719
- // 事件信息
720
- ctuParams?: string;
721
- // 产品名称
722
- productName?: string;
723
- // 产品节点
724
- productNode?: string;
725
- // 扩展参数
726
- securitySceneParams?: string;
727
- // 系统名称
728
- systemName?: string;
729
- // 总金额
730
- totalFee?: string;
731
- static names(): { [key: string]: string } {
732
- return {
733
- accessChannel: 'access_channel',
734
- ctuParams: 'ctu_params',
735
- productName: 'product_name',
736
- productNode: 'product_node',
737
- securitySceneParams: 'security_scene_params',
738
- systemName: 'system_name',
739
- totalFee: 'total_fee',
740
- };
741
- }
742
-
743
- static types(): { [key: string]: any } {
744
- return {
745
- accessChannel: 'string',
746
- ctuParams: 'string',
747
- productName: 'string',
748
- productNode: 'string',
749
- securitySceneParams: 'string',
750
- systemName: 'string',
751
- totalFee: 'string',
752
- };
753
- }
754
-
755
- constructor(map?: { [key: string]: any }) {
756
- super(map);
757
- }
758
- }
759
-
760
793
  // 天枢系统专用RepayResult结构体
761
794
  export class RepayResult extends $tea.Model {
762
795
  // 客户编码
@@ -1043,6 +1076,27 @@ export class RtopCompanyRiskFactor extends $tea.Model {
1043
1076
  }
1044
1077
  }
1045
1078
 
1079
+ // 测试
1080
+ export class TestStruct extends $tea.Model {
1081
+ // 测试
1082
+ testField: SecurityScene[];
1083
+ static names(): { [key: string]: string } {
1084
+ return {
1085
+ testField: 'test_field',
1086
+ };
1087
+ }
1088
+
1089
+ static types(): { [key: string]: any } {
1090
+ return {
1091
+ testField: { 'type': 'array', 'itemType': SecurityScene },
1092
+ };
1093
+ }
1094
+
1095
+ constructor(map?: { [key: string]: any }) {
1096
+ super(map);
1097
+ }
1098
+ }
1099
+
1046
1100
  // 天枢系统专用Material结构体
1047
1101
  export class Material extends $tea.Model {
1048
1102
  // 资料类型0-风控报告1-合同2-图片3-附件
@@ -2415,39 +2469,6 @@ export class CompanyInfo extends $tea.Model {
2415
2469
  }
2416
2470
  }
2417
2471
 
2418
- // 营销盾离线圈客任务详细信息
2419
- export class UmktOfflineDecisionTaskDetailInfo extends $tea.Model {
2420
- // 任务id
2421
- taskId: number;
2422
- // 圈客计划id
2423
- decisionPlanId: number;
2424
- // 圈客结果状态
2425
- decisionResultStatus: string;
2426
- // 圈客结果状态描述
2427
- statusRemark: string;
2428
- static names(): { [key: string]: string } {
2429
- return {
2430
- taskId: 'task_id',
2431
- decisionPlanId: 'decision_plan_id',
2432
- decisionResultStatus: 'decision_result_status',
2433
- statusRemark: 'status_remark',
2434
- };
2435
- }
2436
-
2437
- static types(): { [key: string]: any } {
2438
- return {
2439
- taskId: 'number',
2440
- decisionPlanId: 'number',
2441
- decisionResultStatus: 'string',
2442
- statusRemark: 'string',
2443
- };
2444
- }
2445
-
2446
- constructor(map?: { [key: string]: any }) {
2447
- super(map);
2448
- }
2449
- }
2450
-
2451
2472
  // 营销盾事件信息同步详情
2452
2473
  export class EventResultSyncDetail extends $tea.Model {
2453
2474
  // 事件唯一id(单个租户全局唯一)
@@ -3757,6 +3778,31 @@ export class CustomerBankCardInfo extends $tea.Model {
3757
3778
  }
3758
3779
  }
3759
3780
 
3781
+ // 营销盾离线圈客执行批次信息
3782
+ export class UmktOfflineDecisionTaskExecBatchInfo extends $tea.Model {
3783
+ // 执行批次
3784
+ execBatch: string;
3785
+ // 批次下任务列表
3786
+ offlineDecisionTaskDetailInfoList: UmktOfflineDecisionTaskDetailInfo[];
3787
+ static names(): { [key: string]: string } {
3788
+ return {
3789
+ execBatch: 'exec_batch',
3790
+ offlineDecisionTaskDetailInfoList: 'offline_decision_task_detail_info_list',
3791
+ };
3792
+ }
3793
+
3794
+ static types(): { [key: string]: any } {
3795
+ return {
3796
+ execBatch: 'string',
3797
+ offlineDecisionTaskDetailInfoList: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskDetailInfo },
3798
+ };
3799
+ }
3800
+
3801
+ constructor(map?: { [key: string]: any }) {
3802
+ super(map);
3803
+ }
3804
+ }
3805
+
3760
3806
  // 供应商
3761
3807
  export class Supplier extends $tea.Model {
3762
3808
  // 供应商id
@@ -9818,20 +9864,23 @@ export class QueryDubbridgeUsecreditStatusRequest extends $tea.Model {
9818
9864
  // OAuth模式下的授权token
9819
9865
  authToken?: string;
9820
9866
  productInstanceId?: string;
9821
- // 用信申请订单号
9822
- originalOrderNo: string;
9823
9867
  // 请求网络流水号
9824
9868
  orderNo: string;
9825
9869
  // 1:现金贷(默认)
9826
9870
  // 2:分期付
9827
9871
  prodType?: string;
9872
+ // prod_type=1时,用信申请的订单号
9873
+ originalOrderNo: string;
9874
+ // 资产方购物订单号
9875
+ bizOrderNo?: string;
9828
9876
  static names(): { [key: string]: string } {
9829
9877
  return {
9830
9878
  authToken: 'auth_token',
9831
9879
  productInstanceId: 'product_instance_id',
9832
- originalOrderNo: 'original_order_no',
9833
9880
  orderNo: 'order_no',
9834
9881
  prodType: 'prod_type',
9882
+ originalOrderNo: 'original_order_no',
9883
+ bizOrderNo: 'biz_order_no',
9835
9884
  };
9836
9885
  }
9837
9886
 
@@ -9839,9 +9888,10 @@ export class QueryDubbridgeUsecreditStatusRequest extends $tea.Model {
9839
9888
  return {
9840
9889
  authToken: 'string',
9841
9890
  productInstanceId: 'string',
9842
- originalOrderNo: 'string',
9843
9891
  orderNo: 'string',
9844
9892
  prodType: 'string',
9893
+ originalOrderNo: 'string',
9894
+ bizOrderNo: 'string',
9845
9895
  };
9846
9896
  }
9847
9897
 
@@ -11310,6 +11360,9 @@ export class CancelDubbridgeInstallmentOrderRequest extends $tea.Model {
11310
11360
  productInstanceId?: string;
11311
11361
  // 订单号:request请求单号,每次请求唯一,如uuid
11312
11362
  orderNo: string;
11363
+ // 1:现金贷、2:分期付
11364
+ //
11365
+ prodType?: string;
11313
11366
  // 待支付的购物订单编号
11314
11367
  bizOrderNo: string;
11315
11368
  // 渠道方唯一标识
@@ -11321,6 +11374,7 @@ export class CancelDubbridgeInstallmentOrderRequest extends $tea.Model {
11321
11374
  authToken: 'auth_token',
11322
11375
  productInstanceId: 'product_instance_id',
11323
11376
  orderNo: 'order_no',
11377
+ prodType: 'prod_type',
11324
11378
  bizOrderNo: 'biz_order_no',
11325
11379
  openId: 'open_id',
11326
11380
  customerNo: 'customer_no',
@@ -11332,6 +11386,7 @@ export class CancelDubbridgeInstallmentOrderRequest extends $tea.Model {
11332
11386
  authToken: 'string',
11333
11387
  productInstanceId: 'string',
11334
11388
  orderNo: 'string',
11389
+ prodType: 'string',
11335
11390
  bizOrderNo: 'string',
11336
11391
  openId: 'string',
11337
11392
  customerNo: 'string',
@@ -16113,6 +16168,69 @@ export class PushRpaasReportAnswerResponse extends $tea.Model {
16113
16168
  }
16114
16169
  }
16115
16170
 
16171
+ export class QueryRpaasOpenServiceRequest extends $tea.Model {
16172
+ // OAuth模式下的授权token
16173
+ authToken?: string;
16174
+ productInstanceId?: string;
16175
+ // 开放服务ID
16176
+ serviceId: string;
16177
+ // { "companyId": "2088" }
16178
+ params?: string;
16179
+ static names(): { [key: string]: string } {
16180
+ return {
16181
+ authToken: 'auth_token',
16182
+ productInstanceId: 'product_instance_id',
16183
+ serviceId: 'service_id',
16184
+ params: 'params',
16185
+ };
16186
+ }
16187
+
16188
+ static types(): { [key: string]: any } {
16189
+ return {
16190
+ authToken: 'string',
16191
+ productInstanceId: 'string',
16192
+ serviceId: 'string',
16193
+ params: 'string',
16194
+ };
16195
+ }
16196
+
16197
+ constructor(map?: { [key: string]: any }) {
16198
+ super(map);
16199
+ }
16200
+ }
16201
+
16202
+ export class QueryRpaasOpenServiceResponse extends $tea.Model {
16203
+ // 请求唯一ID,用于链路跟踪和问题排查
16204
+ reqMsgId?: string;
16205
+ // 结果码,一般OK表示调用成功
16206
+ resultCode?: string;
16207
+ // 异常信息的文本描述
16208
+ resultMsg?: string;
16209
+ // 调用结果
16210
+ body?: string;
16211
+ static names(): { [key: string]: string } {
16212
+ return {
16213
+ reqMsgId: 'req_msg_id',
16214
+ resultCode: 'result_code',
16215
+ resultMsg: 'result_msg',
16216
+ body: 'body',
16217
+ };
16218
+ }
16219
+
16220
+ static types(): { [key: string]: any } {
16221
+ return {
16222
+ reqMsgId: 'string',
16223
+ resultCode: 'string',
16224
+ resultMsg: 'string',
16225
+ body: 'string',
16226
+ };
16227
+ }
16228
+
16229
+ constructor(map?: { [key: string]: any }) {
16230
+ super(map);
16231
+ }
16232
+ }
16233
+
16116
16234
  export class QueryRpgwSignUrlRequest extends $tea.Model {
16117
16235
  // OAuth模式下的授权token
16118
16236
  authToken?: string;
@@ -21890,6 +22008,8 @@ export class UploadUmktOfflinedecisionRequest extends $tea.Model {
21890
22008
  fileObject?: Readable;
21891
22009
  fileObjectName?: string;
21892
22010
  fileId: string;
22011
+ // 非必填, 默认OFFLINE_DECISION
22012
+ relationType?: string;
21893
22013
  static names(): { [key: string]: string } {
21894
22014
  return {
21895
22015
  authToken: 'auth_token',
@@ -21899,6 +22019,7 @@ export class UploadUmktOfflinedecisionRequest extends $tea.Model {
21899
22019
  fileObject: 'fileObject',
21900
22020
  fileObjectName: 'fileObjectName',
21901
22021
  fileId: 'file_id',
22022
+ relationType: 'relation_type',
21902
22023
  };
21903
22024
  }
21904
22025
 
@@ -21911,6 +22032,7 @@ export class UploadUmktOfflinedecisionRequest extends $tea.Model {
21911
22032
  fileObject: 'Readable',
21912
22033
  fileObjectName: 'string',
21913
22034
  fileId: 'string',
22035
+ relationType: 'string',
21914
22036
  };
21915
22037
  }
21916
22038
 
@@ -21990,7 +22112,7 @@ export class QueryUmktOfflinedecisionResultResponse extends $tea.Model {
21990
22112
  // 已完成的计划策略集合
21991
22113
  decisionPlanIdList?: number[];
21992
22114
  // 批次维度圈客任务结果
21993
- taskExecBatchInfo?: UmktOfflineDecisionTaskDetailInfo[];
22115
+ taskExecBatchInfo?: UmktOfflineDecisionTaskExecBatchInfo[];
21994
22116
  static names(): { [key: string]: string } {
21995
22117
  return {
21996
22118
  reqMsgId: 'req_msg_id',
@@ -22007,7 +22129,7 @@ export class QueryUmktOfflinedecisionResultResponse extends $tea.Model {
22007
22129
  resultCode: 'string',
22008
22130
  resultMsg: 'string',
22009
22131
  decisionPlanIdList: { 'type': 'array', 'itemType': 'number' },
22010
- taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskDetailInfo },
22132
+ taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskExecBatchInfo },
22011
22133
  };
22012
22134
  }
22013
22135
 
@@ -22132,7 +22254,7 @@ export class QueryUmktOfflinedecisionPlandetailsResponse extends $tea.Model {
22132
22254
  // 离线圈客计划详细
22133
22255
  planDetailList?: OfflineDecisionPlanDetail[];
22134
22256
  // 执行批次维度任务详情信息
22135
- taskExecBatchInfo?: UmktOfflineDecisionTaskDetailInfo[];
22257
+ taskExecBatchInfo?: UmktOfflineDecisionTaskExecBatchInfo[];
22136
22258
  static names(): { [key: string]: string } {
22137
22259
  return {
22138
22260
  reqMsgId: 'req_msg_id',
@@ -22151,7 +22273,7 @@ export class QueryUmktOfflinedecisionPlandetailsResponse extends $tea.Model {
22151
22273
  resultMsg: 'string',
22152
22274
  offlineDecisionPlanCount: 'number',
22153
22275
  planDetailList: { 'type': 'array', 'itemType': OfflineDecisionPlanDetail },
22154
- taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskDetailInfo },
22276
+ taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskExecBatchInfo },
22155
22277
  };
22156
22278
  }
22157
22279
 
@@ -22426,7 +22548,7 @@ export default class Client {
22426
22548
  req_msg_id: AntchainUtil.getNonce(),
22427
22549
  access_key: this._accessKeyId,
22428
22550
  base_sdk_version: "TeaSDK-2.0",
22429
- sdk_version: "1.23.7",
22551
+ sdk_version: "1.23.10",
22430
22552
  _prod_code: "RISKPLUS",
22431
22553
  _prod_channel: "undefined",
22432
22554
  };
@@ -25228,6 +25350,25 @@ export default class Client {
25228
25350
  return $tea.cast<PushRpaasReportAnswerResponse>(await this.doRequest("1.0", "riskplus.rpaas.report.answer.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushRpaasReportAnswerResponse({}));
25229
25351
  }
25230
25352
 
25353
+ /**
25354
+ * Description: 企管盾云开放平台服务调用
25355
+ * Summary: 企管盾云开放平台服务调用
25356
+ */
25357
+ async queryRpaasOpenService(request: QueryRpaasOpenServiceRequest): Promise<QueryRpaasOpenServiceResponse> {
25358
+ let runtime = new $Util.RuntimeOptions({ });
25359
+ let headers : {[key: string ]: string} = { };
25360
+ return await this.queryRpaasOpenServiceEx(request, headers, runtime);
25361
+ }
25362
+
25363
+ /**
25364
+ * Description: 企管盾云开放平台服务调用
25365
+ * Summary: 企管盾云开放平台服务调用
25366
+ */
25367
+ async queryRpaasOpenServiceEx(request: QueryRpaasOpenServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRpaasOpenServiceResponse> {
25368
+ Util.validateModel(request);
25369
+ return $tea.cast<QueryRpaasOpenServiceResponse>(await this.doRequest("1.0", "riskplus.rpaas.open.service.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryRpaasOpenServiceResponse({}));
25370
+ }
25371
+
25231
25372
  /**
25232
25373
  * Description: 获取签约接口
25233
25374
  * Summary: 获取签约接口