@antchain/riskplus 1.23.9 → 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.9",
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
  // 联系人类型
@@ -745,51 +790,6 @@ export class RuleDetail extends $tea.Model {
745
790
  }
746
791
  }
747
792
 
748
- // 安全场景参数
749
- export class SecurityScene extends $tea.Model {
750
- // 接入渠道
751
- accessChannel?: string;
752
- // 事件信息
753
- ctuParams?: string;
754
- // 产品名称
755
- productName?: string;
756
- // 产品节点
757
- productNode?: string;
758
- // 扩展参数
759
- securitySceneParams?: string;
760
- // 系统名称
761
- systemName?: string;
762
- // 总金额
763
- totalFee?: string;
764
- static names(): { [key: string]: string } {
765
- return {
766
- accessChannel: 'access_channel',
767
- ctuParams: 'ctu_params',
768
- productName: 'product_name',
769
- productNode: 'product_node',
770
- securitySceneParams: 'security_scene_params',
771
- systemName: 'system_name',
772
- totalFee: 'total_fee',
773
- };
774
- }
775
-
776
- static types(): { [key: string]: any } {
777
- return {
778
- accessChannel: 'string',
779
- ctuParams: 'string',
780
- productName: 'string',
781
- productNode: 'string',
782
- securitySceneParams: 'string',
783
- systemName: 'string',
784
- totalFee: 'string',
785
- };
786
- }
787
-
788
- constructor(map?: { [key: string]: any }) {
789
- super(map);
790
- }
791
- }
792
-
793
793
  // 天枢系统专用RepayResult结构体
794
794
  export class RepayResult extends $tea.Model {
795
795
  // 客户编码
@@ -1076,6 +1076,27 @@ export class RtopCompanyRiskFactor extends $tea.Model {
1076
1076
  }
1077
1077
  }
1078
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
+
1079
1100
  // 天枢系统专用Material结构体
1080
1101
  export class Material extends $tea.Model {
1081
1102
  // 资料类型0-风控报告1-合同2-图片3-附件
@@ -9843,20 +9864,23 @@ export class QueryDubbridgeUsecreditStatusRequest extends $tea.Model {
9843
9864
  // OAuth模式下的授权token
9844
9865
  authToken?: string;
9845
9866
  productInstanceId?: string;
9846
- // 用信申请订单号
9847
- originalOrderNo: string;
9848
9867
  // 请求网络流水号
9849
9868
  orderNo: string;
9850
9869
  // 1:现金贷(默认)
9851
9870
  // 2:分期付
9852
9871
  prodType?: string;
9872
+ // prod_type=1时,用信申请的订单号
9873
+ originalOrderNo: string;
9874
+ // 资产方购物订单号
9875
+ bizOrderNo?: string;
9853
9876
  static names(): { [key: string]: string } {
9854
9877
  return {
9855
9878
  authToken: 'auth_token',
9856
9879
  productInstanceId: 'product_instance_id',
9857
- originalOrderNo: 'original_order_no',
9858
9880
  orderNo: 'order_no',
9859
9881
  prodType: 'prod_type',
9882
+ originalOrderNo: 'original_order_no',
9883
+ bizOrderNo: 'biz_order_no',
9860
9884
  };
9861
9885
  }
9862
9886
 
@@ -9864,9 +9888,10 @@ export class QueryDubbridgeUsecreditStatusRequest extends $tea.Model {
9864
9888
  return {
9865
9889
  authToken: 'string',
9866
9890
  productInstanceId: 'string',
9867
- originalOrderNo: 'string',
9868
9891
  orderNo: 'string',
9869
9892
  prodType: 'string',
9893
+ originalOrderNo: 'string',
9894
+ bizOrderNo: 'string',
9870
9895
  };
9871
9896
  }
9872
9897
 
@@ -11335,6 +11360,9 @@ export class CancelDubbridgeInstallmentOrderRequest extends $tea.Model {
11335
11360
  productInstanceId?: string;
11336
11361
  // 订单号:request请求单号,每次请求唯一,如uuid
11337
11362
  orderNo: string;
11363
+ // 1:现金贷、2:分期付
11364
+ //
11365
+ prodType?: string;
11338
11366
  // 待支付的购物订单编号
11339
11367
  bizOrderNo: string;
11340
11368
  // 渠道方唯一标识
@@ -11346,6 +11374,7 @@ export class CancelDubbridgeInstallmentOrderRequest extends $tea.Model {
11346
11374
  authToken: 'auth_token',
11347
11375
  productInstanceId: 'product_instance_id',
11348
11376
  orderNo: 'order_no',
11377
+ prodType: 'prod_type',
11349
11378
  bizOrderNo: 'biz_order_no',
11350
11379
  openId: 'open_id',
11351
11380
  customerNo: 'customer_no',
@@ -11357,6 +11386,7 @@ export class CancelDubbridgeInstallmentOrderRequest extends $tea.Model {
11357
11386
  authToken: 'string',
11358
11387
  productInstanceId: 'string',
11359
11388
  orderNo: 'string',
11389
+ prodType: 'string',
11360
11390
  bizOrderNo: 'string',
11361
11391
  openId: 'string',
11362
11392
  customerNo: 'string',
@@ -21978,6 +22008,8 @@ export class UploadUmktOfflinedecisionRequest extends $tea.Model {
21978
22008
  fileObject?: Readable;
21979
22009
  fileObjectName?: string;
21980
22010
  fileId: string;
22011
+ // 非必填, 默认OFFLINE_DECISION
22012
+ relationType?: string;
21981
22013
  static names(): { [key: string]: string } {
21982
22014
  return {
21983
22015
  authToken: 'auth_token',
@@ -21987,6 +22019,7 @@ export class UploadUmktOfflinedecisionRequest extends $tea.Model {
21987
22019
  fileObject: 'fileObject',
21988
22020
  fileObjectName: 'fileObjectName',
21989
22021
  fileId: 'file_id',
22022
+ relationType: 'relation_type',
21990
22023
  };
21991
22024
  }
21992
22025
 
@@ -21999,6 +22032,7 @@ export class UploadUmktOfflinedecisionRequest extends $tea.Model {
21999
22032
  fileObject: 'Readable',
22000
22033
  fileObjectName: 'string',
22001
22034
  fileId: 'string',
22035
+ relationType: 'string',
22002
22036
  };
22003
22037
  }
22004
22038
 
@@ -22514,7 +22548,7 @@ export default class Client {
22514
22548
  req_msg_id: AntchainUtil.getNonce(),
22515
22549
  access_key: this._accessKeyId,
22516
22550
  base_sdk_version: "TeaSDK-2.0",
22517
- sdk_version: "1.23.9",
22551
+ sdk_version: "1.23.10",
22518
22552
  _prod_code: "RISKPLUS",
22519
22553
  _prod_channel: "undefined",
22520
22554
  };