@antchain/ato 1.11.2 → 1.12.11

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/src/client.ts CHANGED
@@ -103,6 +103,75 @@ export class FileInfo extends $tea.Model {
103
103
  }
104
104
  }
105
105
 
106
+ // 订单所有商品信息模型
107
+ export class ScalperQueryOrderItem extends $tea.Model {
108
+ // 订单商品名称
109
+ orderItemsName?: string;
110
+ // 订单商品数量
111
+ orderItemsQuantity?: number;
112
+ // 订单商品价格,单位:分
113
+ orderItemsPrice?: number;
114
+ static names(): { [key: string]: string } {
115
+ return {
116
+ orderItemsName: 'order_items_name',
117
+ orderItemsQuantity: 'order_items_quantity',
118
+ orderItemsPrice: 'order_items_price',
119
+ };
120
+ }
121
+
122
+ static types(): { [key: string]: any } {
123
+ return {
124
+ orderItemsName: 'string',
125
+ orderItemsQuantity: 'number',
126
+ orderItemsPrice: 'number',
127
+ };
128
+ }
129
+
130
+ constructor(map?: { [key: string]: any }) {
131
+ super(map);
132
+ }
133
+ }
134
+
135
+ // 经营分账收入方详情信息(商户控制台订单详情用)
136
+ export class OperationDivideTransInDetailInfo extends $tea.Model {
137
+ // 分账收入方名称
138
+ transInName?: string;
139
+ // 分账收入方支付宝用户id, 支付宝2088id
140
+ transInUserId?: string;
141
+ // 分账金额,单位为分
142
+ divideAmount?: number;
143
+ // 分账描述
144
+ desc?: string;
145
+ // INIT("INIT", "初始化"),
146
+ // PROCESSING("PROCESSING", "处理中"),
147
+ // FAILED("FAILED", "失败"),
148
+ // SUCCESS("SUCCESS", "分账成功");
149
+ divideStatus?: string;
150
+ static names(): { [key: string]: string } {
151
+ return {
152
+ transInName: 'trans_in_name',
153
+ transInUserId: 'trans_in_user_id',
154
+ divideAmount: 'divide_amount',
155
+ desc: 'desc',
156
+ divideStatus: 'divide_status',
157
+ };
158
+ }
159
+
160
+ static types(): { [key: string]: any } {
161
+ return {
162
+ transInName: 'string',
163
+ transInUserId: 'string',
164
+ divideAmount: 'number',
165
+ desc: 'string',
166
+ divideStatus: 'string',
167
+ };
168
+ }
169
+
170
+ constructor(map?: { [key: string]: any }) {
171
+ super(map);
172
+ }
173
+ }
174
+
106
175
  // 智租风控-子风险项
107
176
  export class SubRentRiskItem extends $tea.Model {
108
177
  // 风险名称。枚举值:BASE_PERFORMANCE - 基础履约风险;OVERDUE - 逾期风险;MULTI_RENT - 共租风险。
@@ -167,6 +236,10 @@ export class StaticDataModuleDetail extends $tea.Model {
167
236
  propertyText: string;
168
237
  // 商户类型
169
238
  propertyValue: string;
239
+ // 图标
240
+ icon?: string;
241
+ // 置灰图标
242
+ greyIcon?: string;
170
243
  // 叶子结点,目前存的一级类目下的二级类目
171
244
  childrenDetailList?: string;
172
245
  // 是否有叶子结点
@@ -175,6 +248,8 @@ export class StaticDataModuleDetail extends $tea.Model {
175
248
  return {
176
249
  propertyText: 'property_text',
177
250
  propertyValue: 'property_value',
251
+ icon: 'icon',
252
+ greyIcon: 'grey_icon',
178
253
  childrenDetailList: 'children_detail_list',
179
254
  hasChildren: 'has_children',
180
255
  };
@@ -184,6 +259,8 @@ export class StaticDataModuleDetail extends $tea.Model {
184
259
  return {
185
260
  propertyText: 'string',
186
261
  propertyValue: 'string',
262
+ icon: 'string',
263
+ greyIcon: 'string',
187
264
  childrenDetailList: 'string',
188
265
  hasChildren: 'boolean',
189
266
  };
@@ -288,148 +365,6 @@ export class AppletRiskModel extends $tea.Model {
288
365
  }
289
366
  }
290
367
 
291
- // 同步订单中的下单人信息
292
- export class UserSyncInfo extends $tea.Model {
293
- static names(): { [key: string]: string } {
294
- return {
295
- };
296
- }
297
-
298
- static types(): { [key: string]: any } {
299
- return {
300
- };
301
- }
302
-
303
- constructor(map?: { [key: string]: any }) {
304
- super(map);
305
- }
306
- }
307
-
308
- // 公司信息
309
- export class CompanyInfo extends $tea.Model {
310
- // 营业执照文件信息
311
- businessLicenseFile: FileInfo;
312
- // 业务类型 枚举
313
- productMainClass: string;
314
- // 公司名称
315
- companyName: string;
316
- // 公司别名
317
- companyAliasName: string;
318
- // 公司数科租户id
319
- tenantId?: string;
320
- // 统一社会信用代码
321
- merchantId: string;
322
- // 商户类型: 01:企业;07:个体工商户
323
- // 默认不填为01
324
- merchantType?: string;
325
- // 公司联系电话
326
- companyMobile: string;
327
- // 公司联系地址
328
- companyAddress: string;
329
- // 联系人姓名
330
- contactName: string;
331
- // 联系人手机号码
332
- contactMobile: string;
333
- // 绑定企业支付宝账号
334
- bindAlipayNo: string;
335
- // 结算企业支付宝账号
336
- settleAlipayNo: string;
337
- // 绑定支付宝uid
338
- bindAlipayUid: string;
339
- static names(): { [key: string]: string } {
340
- return {
341
- businessLicenseFile: 'business_license_file',
342
- productMainClass: 'product_main_class',
343
- companyName: 'company_name',
344
- companyAliasName: 'company_alias_name',
345
- tenantId: 'tenant_id',
346
- merchantId: 'merchant_id',
347
- merchantType: 'merchant_type',
348
- companyMobile: 'company_mobile',
349
- companyAddress: 'company_address',
350
- contactName: 'contact_name',
351
- contactMobile: 'contact_mobile',
352
- bindAlipayNo: 'bind_alipay_no',
353
- settleAlipayNo: 'settle_alipay_no',
354
- bindAlipayUid: 'bind_alipay_uid',
355
- };
356
- }
357
-
358
- static types(): { [key: string]: any } {
359
- return {
360
- businessLicenseFile: FileInfo,
361
- productMainClass: 'string',
362
- companyName: 'string',
363
- companyAliasName: 'string',
364
- tenantId: 'string',
365
- merchantId: 'string',
366
- merchantType: 'string',
367
- companyMobile: 'string',
368
- companyAddress: 'string',
369
- contactName: 'string',
370
- contactMobile: 'string',
371
- bindAlipayNo: 'string',
372
- settleAlipayNo: 'string',
373
- bindAlipayUid: 'string',
374
- };
375
- }
376
-
377
- constructor(map?: { [key: string]: any }) {
378
- super(map);
379
- }
380
- }
381
-
382
- // 用户履约信息
383
- export class UserPerformanceInfo extends $tea.Model {
384
- // 履约期数
385
- periodNum: number;
386
- // 履约时间,格式 yyyy-MM-dd
387
- // 针对签收日作为起租日模式,未签收时:以签收日开始计算
388
- payDate: string;
389
- // 履约金额,单位为分
390
- payMoney: number;
391
- static names(): { [key: string]: string } {
392
- return {
393
- periodNum: 'period_num',
394
- payDate: 'pay_date',
395
- payMoney: 'pay_money',
396
- };
397
- }
398
-
399
- static types(): { [key: string]: any } {
400
- return {
401
- periodNum: 'number',
402
- payDate: 'string',
403
- payMoney: 'number',
404
- };
405
- }
406
-
407
- constructor(map?: { [key: string]: any }) {
408
- super(map);
409
- }
410
- }
411
-
412
- // 营销分查询对象
413
- export class MarketingScoreQueryInfo extends $tea.Model {
414
- // 手机号码
415
- phoneNum?: string;
416
- static names(): { [key: string]: string } {
417
- return {
418
- phoneNum: 'phone_num',
419
- };
420
- }
421
-
422
- static types(): { [key: string]: any } {
423
- return {
424
- phoneNum: 'string',
425
- };
426
- }
427
-
428
- constructor(map?: { [key: string]: any }) {
429
- super(map);
430
- }
431
- }
432
-
433
368
  // 投保商品信息
434
369
  export class InsureProductInfo extends $tea.Model {
435
370
  // 商品库id
@@ -459,39 +394,6 @@ export class InsureProductInfo extends $tea.Model {
459
394
  }
460
395
  }
461
396
 
462
- // 策略结果详情
463
- export class RiskStrategy extends $tea.Model {
464
- // 策略ID
465
- id: string;
466
- // 策略名称
467
- name: string;
468
- // 策略决策结果
469
- decision: string;
470
- // 风险场景编码
471
- sceneCode: string;
472
- static names(): { [key: string]: string } {
473
- return {
474
- id: 'id',
475
- name: 'name',
476
- decision: 'decision',
477
- sceneCode: 'scene_code',
478
- };
479
- }
480
-
481
- static types(): { [key: string]: any } {
482
- return {
483
- id: 'string',
484
- name: 'string',
485
- decision: 'string',
486
- sceneCode: 'string',
487
- };
488
- }
489
-
490
- constructor(map?: { [key: string]: any }) {
491
- super(map);
492
- }
493
- }
494
-
495
397
  // 模板组件(文本域)
496
398
  export class TemplateComponent extends $tea.Model {
497
399
  // 模板编码
@@ -545,98 +447,16 @@ export class TemplateComponent extends $tea.Model {
545
447
  }
546
448
  }
547
449
 
548
- // 保单信息
549
- export class InsureOrderInfo extends $tea.Model {
550
- // 商家订单ID
551
- orderId?: string;
552
- // 投保编号(承保id)
553
- insureId?: string;
554
- // 商品名称
555
- productName?: string;
556
- // 保险开始时间
557
- insureStartTime?: string;
558
- // 保险终止时间
559
- insureEndTime?: string;
560
- // 投保金额(保额),单位分 100代表1元
561
- insureAmount?: number;
562
- // 投保费用(保费),单位分 100代表1元
563
- insurePremium?: number;
564
- // 投保状态枚举
565
- status?: string;
566
- // 电子保单下载链接
567
- policyUrl?: string;
568
- // 验真码
569
- validateCode?: string;
450
+ // 静态数据
451
+ export class StaticData extends $tea.Model {
452
+ // 商户类型
453
+ moduleName: string;
454
+ // 静态数据详情
455
+ moduleDetailList: StaticDataModuleDetail[];
570
456
  static names(): { [key: string]: string } {
571
457
  return {
572
- orderId: 'order_id',
573
- insureId: 'insure_id',
574
- productName: 'product_name',
575
- insureStartTime: 'insure_start_time',
576
- insureEndTime: 'insure_end_time',
577
- insureAmount: 'insure_amount',
578
- insurePremium: 'insure_premium',
579
- status: 'status',
580
- policyUrl: 'policy_url',
581
- validateCode: 'validate_code',
582
- };
583
- }
584
-
585
- static types(): { [key: string]: any } {
586
- return {
587
- orderId: 'string',
588
- insureId: 'string',
589
- productName: 'string',
590
- insureStartTime: 'string',
591
- insureEndTime: 'string',
592
- insureAmount: 'number',
593
- insurePremium: 'number',
594
- status: 'string',
595
- policyUrl: 'string',
596
- validateCode: 'string',
597
- };
598
- }
599
-
600
- constructor(map?: { [key: string]: any }) {
601
- super(map);
602
- }
603
- }
604
-
605
- // 营销分对象
606
- export class MarketingScoreInfo extends $tea.Model {
607
- // 手机号
608
- phoneNum?: string;
609
- // 营销分
610
- score?: string;
611
- static names(): { [key: string]: string } {
612
- return {
613
- phoneNum: 'phone_num',
614
- score: 'score',
615
- };
616
- }
617
-
618
- static types(): { [key: string]: any } {
619
- return {
620
- phoneNum: 'string',
621
- score: 'string',
622
- };
623
- }
624
-
625
- constructor(map?: { [key: string]: any }) {
626
- super(map);
627
- }
628
- }
629
-
630
- // 静态数据
631
- export class StaticData extends $tea.Model {
632
- // 商户类型
633
- moduleName: string;
634
- // 静态数据详情
635
- moduleDetailList: StaticDataModuleDetail[];
636
- static names(): { [key: string]: string } {
637
- return {
638
- moduleName: 'module_name',
639
- moduleDetailList: 'module_detail_list',
458
+ moduleName: 'module_name',
459
+ moduleDetailList: 'module_detail_list',
640
460
  };
641
461
  }
642
462
 
@@ -690,97 +510,6 @@ export class MerchantAgentPage extends $tea.Model {
690
510
  }
691
511
  }
692
512
 
693
- // 智租风控-商品价格
694
- export class PriceDetail extends $tea.Model {
695
- // 商品租赁期数
696
- periodNum: number;
697
- // 押金,单位:分。
698
- depositPrice: number;
699
- // 买断价格,单位:分
700
- buyoutPrice: number;
701
- // 首期租金,单位:分
702
- initialRentPrice: number;
703
- static names(): { [key: string]: string } {
704
- return {
705
- periodNum: 'period_num',
706
- depositPrice: 'deposit_price',
707
- buyoutPrice: 'buyout_price',
708
- initialRentPrice: 'initial_rent_price',
709
- };
710
- }
711
-
712
- static types(): { [key: string]: any } {
713
- return {
714
- periodNum: 'number',
715
- depositPrice: 'number',
716
- buyoutPrice: 'number',
717
- initialRentPrice: 'number',
718
- };
719
- }
720
-
721
- constructor(map?: { [key: string]: any }) {
722
- super(map);
723
- }
724
- }
725
-
726
- // 订单消息结构体
727
- export class OrderMsgInfo extends $tea.Model {
728
- // 订单id
729
- //
730
- orderId: string;
731
- // 消息ID
732
- //
733
- msgId: string;
734
- // 消息类型
735
- //
736
- msgPublishType: string;
737
- // 消息创建时间
738
- //
739
- msgCreateTime: string;
740
- // 消息投递状态 SUCCESS 成功 FAIL 失败 WAIT 等待投递重试
741
- msgStatus: string;
742
- // 消息重投次数
743
- //
744
- msgRetryTime: number;
745
- // 消息体内容
746
- msgContent: string;
747
- // 消息回调地址
748
- msgCallbackUrl: string;
749
- // 新回调地址
750
- newMsgCallbackUrl: string;
751
- static names(): { [key: string]: string } {
752
- return {
753
- orderId: 'order_id',
754
- msgId: 'msg_id',
755
- msgPublishType: 'msg_publish_type',
756
- msgCreateTime: 'msg_create_time',
757
- msgStatus: 'msg_status',
758
- msgRetryTime: 'msg_retry_time',
759
- msgContent: 'msg_content',
760
- msgCallbackUrl: 'msg_callback_url',
761
- newMsgCallbackUrl: 'new_msg_callback_url',
762
- };
763
- }
764
-
765
- static types(): { [key: string]: any } {
766
- return {
767
- orderId: 'string',
768
- msgId: 'string',
769
- msgPublishType: 'string',
770
- msgCreateTime: 'string',
771
- msgStatus: 'string',
772
- msgRetryTime: 'number',
773
- msgContent: 'string',
774
- msgCallbackUrl: 'string',
775
- newMsgCallbackUrl: 'string',
776
- };
777
- }
778
-
779
- constructor(map?: { [key: string]: any }) {
780
- super(map);
781
- }
782
- }
783
-
784
513
  // 主订单信息
785
514
  export class OrderInfo extends $tea.Model {
786
515
  // 订单id
@@ -908,51 +637,6 @@ export class NoticeInfo extends $tea.Model {
908
637
  }
909
638
  }
910
639
 
911
- // 应用信息修改
912
- export class ApplicationInfoUpdate extends $tea.Model {
913
- // 应用场景 MINI_APP 小程序 APP 自有app ALL 两种都有
914
- applicationScene?: string;
915
- // 小程序id
916
- tinyAppId?: string;
917
- // 小程序名称
918
- siteName?: string;
919
- // http://asdasas.com
920
- sitUrl?: string;
921
- // 商户名称。 修改后的商户名称,将同步支付宝代扣签约页面字段展示
922
- merchantName?: string;
923
- // 商户服务名称。 修改后的商户服务名称,将同步支付宝代扣签约页面字段展示
924
- merchantServiceName?: string;
925
- // 商户服务描述。 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
926
- merchantServiceDesc?: string;
927
- static names(): { [key: string]: string } {
928
- return {
929
- applicationScene: 'application_scene',
930
- tinyAppId: 'tiny_app_id',
931
- siteName: 'site_name',
932
- sitUrl: 'sit_url',
933
- merchantName: 'merchant_name',
934
- merchantServiceName: 'merchant_service_name',
935
- merchantServiceDesc: 'merchant_service_desc',
936
- };
937
- }
938
-
939
- static types(): { [key: string]: any } {
940
- return {
941
- applicationScene: 'string',
942
- tinyAppId: 'string',
943
- siteName: 'string',
944
- sitUrl: 'string',
945
- merchantName: 'string',
946
- merchantServiceName: 'string',
947
- merchantServiceDesc: 'string',
948
- };
949
- }
950
-
951
- constructor(map?: { [key: string]: any }) {
952
- super(map);
953
- }
954
- }
955
-
956
640
  // 审核信息
957
641
  export class AuditInfo extends $tea.Model {
958
642
  // 审核步骤
@@ -990,49 +674,6 @@ export class AuditInfo extends $tea.Model {
990
674
  }
991
675
  }
992
676
 
993
- // 订单用户信息
994
- export class OrderUserInfo extends $tea.Model {
995
- // 承租人名称
996
- userName?: string;
997
- // 承租人手机号
998
- userPhoneNumber?: string;
999
- // 地址
1000
- userAddress?: string;
1001
- // 支付宝账号
1002
- alipayUid?: string;
1003
- // 租赁类别
1004
- // 1:个人用户
1005
- // 2:企业用户
1006
- lesseeType?: number;
1007
- // 承租人身份证
1008
- userId?: string;
1009
- static names(): { [key: string]: string } {
1010
- return {
1011
- userName: 'user_name',
1012
- userPhoneNumber: 'user_phone_number',
1013
- userAddress: 'user_address',
1014
- alipayUid: 'alipay_uid',
1015
- lesseeType: 'lessee_type',
1016
- userId: 'user_id',
1017
- };
1018
- }
1019
-
1020
- static types(): { [key: string]: any } {
1021
- return {
1022
- userName: 'string',
1023
- userPhoneNumber: 'string',
1024
- userAddress: 'string',
1025
- alipayUid: 'string',
1026
- lesseeType: 'number',
1027
- userId: 'string',
1028
- };
1029
- }
1030
-
1031
- constructor(map?: { [key: string]: any }) {
1032
- super(map);
1033
- }
1034
- }
1035
-
1036
677
  // 商品信息
1037
678
  export class ProductInfo extends $tea.Model {
1038
679
  // 商家社会统一信用代码
@@ -1086,23 +727,6 @@ export class ProductInfo extends $tea.Model {
1086
727
  }
1087
728
  }
1088
729
 
1089
- // 订单包含的单个商品模型
1090
- export class OrderGoodsModel extends $tea.Model {
1091
- static names(): { [key: string]: string } {
1092
- return {
1093
- };
1094
- }
1095
-
1096
- static types(): { [key: string]: any } {
1097
- return {
1098
- };
1099
- }
1100
-
1101
- constructor(map?: { [key: string]: any }) {
1102
- super(map);
1103
- }
1104
- }
1105
-
1106
730
  // 法人信息修改
1107
731
  export class LegalInfoUpdate extends $tea.Model {
1108
732
  // 法人名称
@@ -1153,35 +777,6 @@ export class PromiseInfo extends $tea.Model {
1153
777
  }
1154
778
  }
1155
779
 
1156
- // 智租风控-物流信息
1157
- export class DeliveryDetail extends $tea.Model {
1158
- // 收件人姓名
1159
- receiverName?: string;
1160
- // 收件人手机号
1161
- receiverMobile?: string;
1162
- // 收件人地址
1163
- receiverAddress?: string;
1164
- static names(): { [key: string]: string } {
1165
- return {
1166
- receiverName: 'receiver_name',
1167
- receiverMobile: 'receiver_mobile',
1168
- receiverAddress: 'receiver_address',
1169
- };
1170
- }
1171
-
1172
- static types(): { [key: string]: any } {
1173
- return {
1174
- receiverName: 'string',
1175
- receiverMobile: 'string',
1176
- receiverAddress: 'string',
1177
- };
1178
- }
1179
-
1180
- constructor(map?: { [key: string]: any }) {
1181
- super(map);
1182
- }
1183
- }
1184
-
1185
780
  // 客服信息
1186
781
  export class CustomerServiceInfo extends $tea.Model {
1187
782
  // 公司社会统一信息代码
@@ -1243,39 +838,60 @@ export class OperationDivideTransInModel extends $tea.Model {
1243
838
  }
1244
839
  }
1245
840
 
1246
- // 租户协议分页对象
1247
- export class AgreementPage extends $tea.Model {
1248
- // 协议id
1249
- agreementId: string;
1250
- // 代理企业名称
1251
- merchantName: string;
1252
- // 租户8位id
1253
- tenantId: string;
1254
- // 业务类型 枚举
1255
- productMainClass: string;
1256
- // 协议类型 枚举
1257
- agreementType: string;
1258
- // 租户签约状态 枚举
1259
- signStatus: string;
841
+ // 营销抢购风险识别入参模型
842
+ export class PurchaseQueryModel extends $tea.Model {
843
+ // 支付宝外部交易号
844
+ outOrderNo?: string;
845
+ // 支付宝内部生成的交易号
846
+ orderNo?: string;
847
+ // 银行卡号
848
+ bankCardNo?: string;
849
+ // 公司名称
850
+ companyName?: string;
851
+ // 金额,用户购买或使用服务时产生的具体金额,单位:分
852
+ salesAmount?: number;
1260
853
  static names(): { [key: string]: string } {
1261
854
  return {
1262
- agreementId: 'agreement_id',
1263
- merchantName: 'merchant_name',
1264
- tenantId: 'tenant_id',
1265
- productMainClass: 'product_main_class',
1266
- agreementType: 'agreement_type',
1267
- signStatus: 'sign_status',
855
+ outOrderNo: 'out_order_no',
856
+ orderNo: 'order_no',
857
+ bankCardNo: 'bank_card_no',
858
+ companyName: 'company_name',
859
+ salesAmount: 'sales_amount',
1268
860
  };
1269
861
  }
1270
862
 
1271
863
  static types(): { [key: string]: any } {
1272
864
  return {
1273
- agreementId: 'string',
1274
- merchantName: 'string',
1275
- tenantId: 'string',
1276
- productMainClass: 'string',
1277
- agreementType: 'string',
1278
- signStatus: 'string',
865
+ outOrderNo: 'string',
866
+ orderNo: 'string',
867
+ bankCardNo: 'string',
868
+ companyName: 'string',
869
+ salesAmount: 'number',
870
+ };
871
+ }
872
+
873
+ constructor(map?: { [key: string]: any }) {
874
+ super(map);
875
+ }
876
+ }
877
+
878
+ // 经营分账信息
879
+ export class OperateDivideInfo extends $tea.Model {
880
+ // 当前用户履约的租期编号
881
+ periodNum?: number;
882
+ // 经营分账收入方结果信息
883
+ operationDivideTransInList?: OperationDivideTransInDetailInfo[];
884
+ static names(): { [key: string]: string } {
885
+ return {
886
+ periodNum: 'period_num',
887
+ operationDivideTransInList: 'operation_divide_trans_in_list',
888
+ };
889
+ }
890
+
891
+ static types(): { [key: string]: any } {
892
+ return {
893
+ periodNum: 'number',
894
+ operationDivideTransInList: { 'type': 'array', 'itemType': OperationDivideTransInDetailInfo },
1279
895
  };
1280
896
  }
1281
897
 
@@ -1387,6 +1003,47 @@ export class RelationPage extends $tea.Model {
1387
1003
  }
1388
1004
  }
1389
1005
 
1006
+ // 行业履约风险识别入参模型
1007
+ export class BaddebtQueryModel extends $tea.Model {
1008
+ // 服务分类,服务二级分类
1009
+ serviceCategory?: string;
1010
+ // 总金额,用户购买或使用服务时产生的具体金额
1011
+ totalAmount?: number;
1012
+ // 商品数量,用户购买或使用服务时产生的具体商品数量
1013
+ totalQuantity?: number;
1014
+ // 用户姓名
1015
+ userName?: string;
1016
+ // 服务商 pid
1017
+ isvPid?: string;
1018
+ // 终端唯一标识
1019
+ apdid?: string;
1020
+ static names(): { [key: string]: string } {
1021
+ return {
1022
+ serviceCategory: 'service_category',
1023
+ totalAmount: 'total_amount',
1024
+ totalQuantity: 'total_quantity',
1025
+ userName: 'user_name',
1026
+ isvPid: 'isv_pid',
1027
+ apdid: 'apdid',
1028
+ };
1029
+ }
1030
+
1031
+ static types(): { [key: string]: any } {
1032
+ return {
1033
+ serviceCategory: 'string',
1034
+ totalAmount: 'number',
1035
+ totalQuantity: 'number',
1036
+ userName: 'string',
1037
+ isvPid: 'string',
1038
+ apdid: 'string',
1039
+ };
1040
+ }
1041
+
1042
+ constructor(map?: { [key: string]: any }) {
1043
+ super(map);
1044
+ }
1045
+ }
1046
+
1390
1047
  // 公司信息修改
1391
1048
  export class CompanyInfoUpdate extends $tea.Model {
1392
1049
  // 营业执照文件信息
@@ -1497,91 +1154,6 @@ export class OrderSearchInfo extends $tea.Model {
1497
1154
  }
1498
1155
  }
1499
1156
 
1500
- // 订单商品
1501
- export class OrderProductInfo extends $tea.Model {
1502
- // 商品编码
1503
- productId?: string;
1504
- // 商品名称
1505
- productName?: string;
1506
- // 商品数量
1507
- productNumber?: number;
1508
- static names(): { [key: string]: string } {
1509
- return {
1510
- productId: 'product_id',
1511
- productName: 'product_name',
1512
- productNumber: 'product_number',
1513
- };
1514
- }
1515
-
1516
- static types(): { [key: string]: any } {
1517
- return {
1518
- productId: 'string',
1519
- productName: 'string',
1520
- productNumber: 'number',
1521
- };
1522
- }
1523
-
1524
- constructor(map?: { [key: string]: any }) {
1525
- super(map);
1526
- }
1527
- }
1528
-
1529
- // 主动支付单据
1530
- export class ActivePayOrder extends $tea.Model {
1531
- // 支付宝支付订单号,用于拉起主动支付页面
1532
- tradeNo: string;
1533
- // 状态
1534
- // INIT:交易创建
1535
- // FAILED:付款失败
1536
- // SUCCESS:付款成功
1537
- tradeStatus: string;
1538
- // 状态原因码
1539
- statusReasonCode?: string;
1540
- // 超时关闭
1541
- statusReasonMsg?: string;
1542
- // 本次交易支付的订单金额,单位为分
1543
- // 付款成功或付款成功之后的状态必填
1544
- totalAmount?: number;
1545
- // 用户在交易中支付的金额,单位为分
1546
- // 付款成功的状态必填
1547
- paidAmount?: number;
1548
- // 商家在交易中实际收到的款项,单位为分
1549
- // 付款成功的状态必填
1550
- receiptAmount?: number;
1551
- // 交易支付时间
1552
- // 付款成功的状态必填
1553
- gmtPay?: string;
1554
- static names(): { [key: string]: string } {
1555
- return {
1556
- tradeNo: 'trade_no',
1557
- tradeStatus: 'trade_status',
1558
- statusReasonCode: 'status_reason_code',
1559
- statusReasonMsg: 'status_reason_msg',
1560
- totalAmount: 'total_amount',
1561
- paidAmount: 'paid_amount',
1562
- receiptAmount: 'receipt_amount',
1563
- gmtPay: 'gmt_pay',
1564
- };
1565
- }
1566
-
1567
- static types(): { [key: string]: any } {
1568
- return {
1569
- tradeNo: 'string',
1570
- tradeStatus: 'string',
1571
- statusReasonCode: 'string',
1572
- statusReasonMsg: 'string',
1573
- totalAmount: 'number',
1574
- paidAmount: 'number',
1575
- receiptAmount: 'number',
1576
- gmtPay: 'string',
1577
- };
1578
- }
1579
-
1580
- constructor(map?: { [key: string]: any }) {
1581
- super(map);
1582
- }
1583
- }
1584
-
1585
1157
  // 应用信息
1586
1158
  export class ApplicationInfo extends $tea.Model {
1587
1159
  // 应用场景
@@ -1637,48 +1209,6 @@ export class ApplicationInfo extends $tea.Model {
1637
1209
  }
1638
1210
  }
1639
1211
 
1640
- // 订单商品信息
1641
- export class GoodsInfo extends $tea.Model {
1642
- static names(): { [key: string]: string } {
1643
- return {
1644
- };
1645
- }
1646
-
1647
- static types(): { [key: string]: any } {
1648
- return {
1649
- };
1650
- }
1651
-
1652
- constructor(map?: { [key: string]: any }) {
1653
- super(map);
1654
- }
1655
- }
1656
-
1657
- // 分页查询对象
1658
- export class PageQuery extends $tea.Model {
1659
- // 页大小
1660
- pageSize: number;
1661
- // 当前页
1662
- pageIndex: number;
1663
- static names(): { [key: string]: string } {
1664
- return {
1665
- pageSize: 'page_size',
1666
- pageIndex: 'page_index',
1667
- };
1668
- }
1669
-
1670
- static types(): { [key: string]: any } {
1671
- return {
1672
- pageSize: 'number',
1673
- pageIndex: 'number',
1674
- };
1675
- }
1676
-
1677
- constructor(map?: { [key: string]: any }) {
1678
- super(map);
1679
- }
1680
- }
1681
-
1682
1212
  // 智租风控-商品详情
1683
1213
  export class ItemDetail extends $tea.Model {
1684
1214
  // 租赁商品类目,可选类型:
@@ -1709,31 +1239,33 @@ export class ItemDetail extends $tea.Model {
1709
1239
  }
1710
1240
  }
1711
1241
 
1712
- // 法人信息
1713
- export class LegalInfo extends $tea.Model {
1714
- // 法人名称
1715
- legalName: string;
1716
- // 法人证件号
1717
- legalCertNo: string;
1718
- // 法人证件正面
1719
- legalCertFrontFile: FileInfo;
1720
- // 法人证件反面
1721
- legalCertBackFile: FileInfo;
1242
+ // 云 api 风控查询响应
1243
+ export class RiskGoModel extends $tea.Model {
1244
+ // 风险类型。
1245
+ // 枚举值:MARKETING_PURCHASE_COMMON 营销抢购风险识别;INDUSTRY_SCALPER_COMMON 行业黄牛风险识别;MARKETING_AWARDING_COMMON 营销发奖风险识别;INDUSTRY_FARMING_COMMON 行业刷单风险识别;INDUSTRY_BADDEBT_COMMON 履约坏账风险识别
1246
+ riskType: string;
1247
+ // 风险等级。
1248
+ // 枚举:rank0 无法判断;rank1 极低风险;rank2 较低风险;rank3 中风险;rank4 高风险;rank5 极高风险
1249
+ riskValue: string;
1250
+ // 风险描述
1251
+ riskDesc: string;
1252
+ // 风险标签
1253
+ infoCode?: string;
1722
1254
  static names(): { [key: string]: string } {
1723
1255
  return {
1724
- legalName: 'legal_name',
1725
- legalCertNo: 'legal_cert_no',
1726
- legalCertFrontFile: 'legal_cert_front_file',
1727
- legalCertBackFile: 'legal_cert_back_file',
1256
+ riskType: 'risk_type',
1257
+ riskValue: 'risk_value',
1258
+ riskDesc: 'risk_desc',
1259
+ infoCode: 'info_code',
1728
1260
  };
1729
1261
  }
1730
1262
 
1731
1263
  static types(): { [key: string]: any } {
1732
1264
  return {
1733
- legalName: 'string',
1734
- legalCertNo: 'string',
1735
- legalCertFrontFile: FileInfo,
1736
- legalCertBackFile: FileInfo,
1265
+ riskType: 'string',
1266
+ riskValue: 'string',
1267
+ riskDesc: 'string',
1268
+ infoCode: 'string',
1737
1269
  };
1738
1270
  }
1739
1271
 
@@ -1742,14 +1274,57 @@ export class LegalInfo extends $tea.Model {
1742
1274
  }
1743
1275
  }
1744
1276
 
1745
- // 模型结果详情
1746
- export class RiskModel extends $tea.Model {
1747
- // 风险场景编码
1748
- sceneCode: string;
1749
- // 该风险场景的风险分值
1750
- score: string;
1751
- // 逾期率
1752
- delinquencyRate?: string;
1277
+ // 单期取消模型
1278
+ export class SingleCancelModel extends $tea.Model {
1279
+ // 第几期
1280
+ periodNum: number;
1281
+ // 其他方式还款的时间
1282
+ gmtPay: string;
1283
+ // 取消订单某一期代扣计划中以其他方式还款金额,单位为分
1284
+ payOffAmount: number;
1285
+ // 变更其他方式还款WECHAT:微信; BANK:银行
1286
+ // ALIPAY:支付宝
1287
+ // CASH:现金
1288
+ payOffType?: string;
1289
+ // 通过其他方式还款单号;例如银行流水号或微信流水号
1290
+ payOffNo?: string;
1291
+ // 其他方式还款银行名称,还款方式为银行时必填
1292
+ payOffBankName?: string;
1293
+ static names(): { [key: string]: string } {
1294
+ return {
1295
+ periodNum: 'period_num',
1296
+ gmtPay: 'gmt_pay',
1297
+ payOffAmount: 'pay_off_amount',
1298
+ payOffType: 'pay_off_type',
1299
+ payOffNo: 'pay_off_no',
1300
+ payOffBankName: 'pay_off_bank_name',
1301
+ };
1302
+ }
1303
+
1304
+ static types(): { [key: string]: any } {
1305
+ return {
1306
+ periodNum: 'number',
1307
+ gmtPay: 'string',
1308
+ payOffAmount: 'number',
1309
+ payOffType: 'string',
1310
+ payOffNo: 'string',
1311
+ payOffBankName: 'string',
1312
+ };
1313
+ }
1314
+
1315
+ constructor(map?: { [key: string]: any }) {
1316
+ super(map);
1317
+ }
1318
+ }
1319
+
1320
+ // 模型结果详情
1321
+ export class RiskModel extends $tea.Model {
1322
+ // 风险场景编码
1323
+ sceneCode: string;
1324
+ // 该风险场景的风险分值
1325
+ score: string;
1326
+ // 逾期率
1327
+ delinquencyRate?: string;
1753
1328
  // 风险建议
1754
1329
  riskAdvice?: string;
1755
1330
  // 风险等级
@@ -1783,6 +1358,924 @@ export class RiskModel extends $tea.Model {
1783
1358
  }
1784
1359
  }
1785
1360
 
1361
+ // 行业黄牛风险识别入参模型
1362
+ export class ScalperQueryModel extends $tea.Model {
1363
+ // 注册手机号,填写咨询对象所关联的注册手机号
1364
+ registrationPhone?: string;
1365
+ // 认证时间,填写风险咨询对象所关联的账号的真实身份认证时间
1366
+ certificateDate?: string;
1367
+ // 登录手机号,填写风险咨询对象关联账号的登录手机号
1368
+ loginPhone?: string;
1369
+ // 注册账号身份证,填写风险咨询对象所关联账号的注册身份证信息
1370
+ registrationCert?: string;
1371
+ // 登录账号身份证,登录账号的身份证号码
1372
+ loginCert?: string;
1373
+ // 注册时间,填写风险咨询对象所关联的账号的注册时间
1374
+ registrationDate?: string;
1375
+ // 证件类型;枚举值:1 - 身份证;2 - 护照
1376
+ certType?: number;
1377
+ // 银行卡号
1378
+ bankCardNo?: string;
1379
+ // 用户邮箱
1380
+ emailAddress?: string;
1381
+ // 手机序列号
1382
+ imei?: string;
1383
+ // 国际移动用户识别码
1384
+ imsi?: string;
1385
+ // mac 地址或设备唯一标识
1386
+ macAddress?: string;
1387
+ // 设备号,设备唯一号码
1388
+ apdid?: string;
1389
+ // 支付宝外部交易号
1390
+ outOrderNo?: string;
1391
+ // 所咨询的唯一支付宝交易号
1392
+ orderNo?: string;
1393
+ // 用户购买或使用服务时产生的具体金额总数,单位:分
1394
+ salesAmount?: number;
1395
+ // 用户姓名
1396
+ userName?: string;
1397
+ // 收货手机号,用于区分 mobile_no 所填的手机号
1398
+ mailingPhone?: string;
1399
+ // 收货地址
1400
+ mailingAddress?: string;
1401
+ // 是否为员工账号,枚举值:1 - 是
1402
+ isEmployee?: string;
1403
+ // 渠道,枚举值:alipay - 支付宝;app - 自有app;pc - 电脑端
1404
+ channel?: string;
1405
+ // 服务商 pid
1406
+ isvPid?: string;
1407
+ // 门店行业类目,枚举值:CATERING - 餐饮;LEISURE - 休闲;MEDICAL - 医疗
1408
+ storeMccDesc?: string;
1409
+ // 消费者 id,外部会员账号
1410
+ customerId?: string;
1411
+ // 订单所有商品信息列表
1412
+ orderItemsInfoList?: ScalperQueryOrderItem[];
1413
+ static names(): { [key: string]: string } {
1414
+ return {
1415
+ registrationPhone: 'registration_phone',
1416
+ certificateDate: 'certificate_date',
1417
+ loginPhone: 'login_phone',
1418
+ registrationCert: 'registration_cert',
1419
+ loginCert: 'login_cert',
1420
+ registrationDate: 'registration_date',
1421
+ certType: 'cert_type',
1422
+ bankCardNo: 'bank_card_no',
1423
+ emailAddress: 'email_address',
1424
+ imei: 'imei',
1425
+ imsi: 'imsi',
1426
+ macAddress: 'mac_address',
1427
+ apdid: 'apdid',
1428
+ outOrderNo: 'out_order_no',
1429
+ orderNo: 'order_no',
1430
+ salesAmount: 'sales_amount',
1431
+ userName: 'user_name',
1432
+ mailingPhone: 'mailing_phone',
1433
+ mailingAddress: 'mailing_address',
1434
+ isEmployee: 'is_employee',
1435
+ channel: 'channel',
1436
+ isvPid: 'isv_pid',
1437
+ storeMccDesc: 'store_mcc_desc',
1438
+ customerId: 'customer_id',
1439
+ orderItemsInfoList: 'order_items_info_list',
1440
+ };
1441
+ }
1442
+
1443
+ static types(): { [key: string]: any } {
1444
+ return {
1445
+ registrationPhone: 'string',
1446
+ certificateDate: 'string',
1447
+ loginPhone: 'string',
1448
+ registrationCert: 'string',
1449
+ loginCert: 'string',
1450
+ registrationDate: 'string',
1451
+ certType: 'number',
1452
+ bankCardNo: 'string',
1453
+ emailAddress: 'string',
1454
+ imei: 'string',
1455
+ imsi: 'string',
1456
+ macAddress: 'string',
1457
+ apdid: 'string',
1458
+ outOrderNo: 'string',
1459
+ orderNo: 'string',
1460
+ salesAmount: 'number',
1461
+ userName: 'string',
1462
+ mailingPhone: 'string',
1463
+ mailingAddress: 'string',
1464
+ isEmployee: 'string',
1465
+ channel: 'string',
1466
+ isvPid: 'string',
1467
+ storeMccDesc: 'string',
1468
+ customerId: 'string',
1469
+ orderItemsInfoList: { 'type': 'array', 'itemType': ScalperQueryOrderItem },
1470
+ };
1471
+ }
1472
+
1473
+ constructor(map?: { [key: string]: any }) {
1474
+ super(map);
1475
+ }
1476
+ }
1477
+
1478
+ // 同步订单中的下单人信息
1479
+ export class UserSyncInfo extends $tea.Model {
1480
+ static names(): { [key: string]: string } {
1481
+ return {
1482
+ };
1483
+ }
1484
+
1485
+ static types(): { [key: string]: any } {
1486
+ return {
1487
+ };
1488
+ }
1489
+
1490
+ constructor(map?: { [key: string]: any }) {
1491
+ super(map);
1492
+ }
1493
+ }
1494
+
1495
+ // 公司信息
1496
+ export class CompanyInfo extends $tea.Model {
1497
+ // 营业执照文件信息
1498
+ businessLicenseFile: FileInfo;
1499
+ // 业务类型 枚举
1500
+ productMainClass: string;
1501
+ // 公司名称
1502
+ companyName: string;
1503
+ // 公司别名
1504
+ companyAliasName: string;
1505
+ // 公司数科租户id
1506
+ tenantId?: string;
1507
+ // 统一社会信用代码
1508
+ merchantId: string;
1509
+ // 商户类型: 01:企业;07:个体工商户
1510
+ // 默认不填为01
1511
+ merchantType?: string;
1512
+ // 公司联系电话
1513
+ companyMobile: string;
1514
+ // 公司联系地址
1515
+ companyAddress: string;
1516
+ // 联系人姓名
1517
+ contactName: string;
1518
+ // 联系人手机号码
1519
+ contactMobile: string;
1520
+ // 绑定企业支付宝账号
1521
+ bindAlipayNo: string;
1522
+ // 结算企业支付宝账号
1523
+ settleAlipayNo: string;
1524
+ // 绑定支付宝uid
1525
+ bindAlipayUid: string;
1526
+ static names(): { [key: string]: string } {
1527
+ return {
1528
+ businessLicenseFile: 'business_license_file',
1529
+ productMainClass: 'product_main_class',
1530
+ companyName: 'company_name',
1531
+ companyAliasName: 'company_alias_name',
1532
+ tenantId: 'tenant_id',
1533
+ merchantId: 'merchant_id',
1534
+ merchantType: 'merchant_type',
1535
+ companyMobile: 'company_mobile',
1536
+ companyAddress: 'company_address',
1537
+ contactName: 'contact_name',
1538
+ contactMobile: 'contact_mobile',
1539
+ bindAlipayNo: 'bind_alipay_no',
1540
+ settleAlipayNo: 'settle_alipay_no',
1541
+ bindAlipayUid: 'bind_alipay_uid',
1542
+ };
1543
+ }
1544
+
1545
+ static types(): { [key: string]: any } {
1546
+ return {
1547
+ businessLicenseFile: FileInfo,
1548
+ productMainClass: 'string',
1549
+ companyName: 'string',
1550
+ companyAliasName: 'string',
1551
+ tenantId: 'string',
1552
+ merchantId: 'string',
1553
+ merchantType: 'string',
1554
+ companyMobile: 'string',
1555
+ companyAddress: 'string',
1556
+ contactName: 'string',
1557
+ contactMobile: 'string',
1558
+ bindAlipayNo: 'string',
1559
+ settleAlipayNo: 'string',
1560
+ bindAlipayUid: 'string',
1561
+ };
1562
+ }
1563
+
1564
+ constructor(map?: { [key: string]: any }) {
1565
+ super(map);
1566
+ }
1567
+ }
1568
+
1569
+ // 用户履约信息
1570
+ export class UserPerformanceInfo extends $tea.Model {
1571
+ // 履约期数
1572
+ periodNum: number;
1573
+ // 履约时间,格式 yyyy-MM-dd
1574
+ // 针对签收日作为起租日模式,未签收时:以签收日开始计算
1575
+ payDate: string;
1576
+ // 履约金额,单位为分
1577
+ payMoney: number;
1578
+ static names(): { [key: string]: string } {
1579
+ return {
1580
+ periodNum: 'period_num',
1581
+ payDate: 'pay_date',
1582
+ payMoney: 'pay_money',
1583
+ };
1584
+ }
1585
+
1586
+ static types(): { [key: string]: any } {
1587
+ return {
1588
+ periodNum: 'number',
1589
+ payDate: 'string',
1590
+ payMoney: 'number',
1591
+ };
1592
+ }
1593
+
1594
+ constructor(map?: { [key: string]: any }) {
1595
+ super(map);
1596
+ }
1597
+ }
1598
+
1599
+ // 营销分查询对象
1600
+ export class MarketingScoreQueryInfo extends $tea.Model {
1601
+ // 手机号码
1602
+ phoneNum?: string;
1603
+ static names(): { [key: string]: string } {
1604
+ return {
1605
+ phoneNum: 'phone_num',
1606
+ };
1607
+ }
1608
+
1609
+ static types(): { [key: string]: any } {
1610
+ return {
1611
+ phoneNum: 'string',
1612
+ };
1613
+ }
1614
+
1615
+ constructor(map?: { [key: string]: any }) {
1616
+ super(map);
1617
+ }
1618
+ }
1619
+
1620
+ // 策略结果详情
1621
+ export class RiskStrategy extends $tea.Model {
1622
+ // 策略ID
1623
+ id: string;
1624
+ // 策略名称
1625
+ name: string;
1626
+ // 策略决策结果
1627
+ decision: string;
1628
+ // 风险场景编码
1629
+ sceneCode: string;
1630
+ static names(): { [key: string]: string } {
1631
+ return {
1632
+ id: 'id',
1633
+ name: 'name',
1634
+ decision: 'decision',
1635
+ sceneCode: 'scene_code',
1636
+ };
1637
+ }
1638
+
1639
+ static types(): { [key: string]: any } {
1640
+ return {
1641
+ id: 'string',
1642
+ name: 'string',
1643
+ decision: 'string',
1644
+ sceneCode: 'string',
1645
+ };
1646
+ }
1647
+
1648
+ constructor(map?: { [key: string]: any }) {
1649
+ super(map);
1650
+ }
1651
+ }
1652
+
1653
+ // 保单信息
1654
+ export class InsureOrderInfo extends $tea.Model {
1655
+ // 商家订单ID
1656
+ orderId?: string;
1657
+ // 投保编号(承保id)
1658
+ insureId?: string;
1659
+ // 商品名称
1660
+ productName?: string;
1661
+ // 保险开始时间
1662
+ insureStartTime?: string;
1663
+ // 保险终止时间
1664
+ insureEndTime?: string;
1665
+ // 投保金额(保额),单位分 100代表1元
1666
+ insureAmount?: number;
1667
+ // 投保费用(保费),单位分 100代表1元
1668
+ insurePremium?: number;
1669
+ // 投保状态枚举
1670
+ status?: string;
1671
+ // 电子保单下载链接
1672
+ policyUrl?: string;
1673
+ // 验真码
1674
+ validateCode?: string;
1675
+ static names(): { [key: string]: string } {
1676
+ return {
1677
+ orderId: 'order_id',
1678
+ insureId: 'insure_id',
1679
+ productName: 'product_name',
1680
+ insureStartTime: 'insure_start_time',
1681
+ insureEndTime: 'insure_end_time',
1682
+ insureAmount: 'insure_amount',
1683
+ insurePremium: 'insure_premium',
1684
+ status: 'status',
1685
+ policyUrl: 'policy_url',
1686
+ validateCode: 'validate_code',
1687
+ };
1688
+ }
1689
+
1690
+ static types(): { [key: string]: any } {
1691
+ return {
1692
+ orderId: 'string',
1693
+ insureId: 'string',
1694
+ productName: 'string',
1695
+ insureStartTime: 'string',
1696
+ insureEndTime: 'string',
1697
+ insureAmount: 'number',
1698
+ insurePremium: 'number',
1699
+ status: 'string',
1700
+ policyUrl: 'string',
1701
+ validateCode: 'string',
1702
+ };
1703
+ }
1704
+
1705
+ constructor(map?: { [key: string]: any }) {
1706
+ super(map);
1707
+ }
1708
+ }
1709
+
1710
+ // 营销分对象
1711
+ export class MarketingScoreInfo extends $tea.Model {
1712
+ // 手机号
1713
+ phoneNum?: string;
1714
+ // 营销分
1715
+ score?: string;
1716
+ static names(): { [key: string]: string } {
1717
+ return {
1718
+ phoneNum: 'phone_num',
1719
+ score: 'score',
1720
+ };
1721
+ }
1722
+
1723
+ static types(): { [key: string]: any } {
1724
+ return {
1725
+ phoneNum: 'string',
1726
+ score: 'string',
1727
+ };
1728
+ }
1729
+
1730
+ constructor(map?: { [key: string]: any }) {
1731
+ super(map);
1732
+ }
1733
+ }
1734
+
1735
+ // 智租风控-商品价格
1736
+ export class PriceDetail extends $tea.Model {
1737
+ // 商品租赁期数
1738
+ periodNum: number;
1739
+ // 押金,单位:分。
1740
+ depositPrice: number;
1741
+ // 买断价格,单位:分
1742
+ buyoutPrice: number;
1743
+ // 首期租金,单位:分
1744
+ initialRentPrice: number;
1745
+ static names(): { [key: string]: string } {
1746
+ return {
1747
+ periodNum: 'period_num',
1748
+ depositPrice: 'deposit_price',
1749
+ buyoutPrice: 'buyout_price',
1750
+ initialRentPrice: 'initial_rent_price',
1751
+ };
1752
+ }
1753
+
1754
+ static types(): { [key: string]: any } {
1755
+ return {
1756
+ periodNum: 'number',
1757
+ depositPrice: 'number',
1758
+ buyoutPrice: 'number',
1759
+ initialRentPrice: 'number',
1760
+ };
1761
+ }
1762
+
1763
+ constructor(map?: { [key: string]: any }) {
1764
+ super(map);
1765
+ }
1766
+ }
1767
+
1768
+ // 订单消息结构体
1769
+ export class OrderMsgInfo extends $tea.Model {
1770
+ // 订单id
1771
+ //
1772
+ orderId: string;
1773
+ // 消息ID
1774
+ //
1775
+ msgId: string;
1776
+ // 消息类型
1777
+ //
1778
+ msgPublishType: string;
1779
+ // 消息创建时间
1780
+ //
1781
+ msgCreateTime: string;
1782
+ // 消息投递状态 SUCCESS 成功 FAIL 失败 WAIT 等待投递重试
1783
+ msgStatus: string;
1784
+ // 消息重投次数
1785
+ //
1786
+ msgRetryTime: number;
1787
+ // 消息体内容
1788
+ msgContent: string;
1789
+ // 消息回调地址
1790
+ msgCallbackUrl: string;
1791
+ // 新回调地址
1792
+ newMsgCallbackUrl: string;
1793
+ static names(): { [key: string]: string } {
1794
+ return {
1795
+ orderId: 'order_id',
1796
+ msgId: 'msg_id',
1797
+ msgPublishType: 'msg_publish_type',
1798
+ msgCreateTime: 'msg_create_time',
1799
+ msgStatus: 'msg_status',
1800
+ msgRetryTime: 'msg_retry_time',
1801
+ msgContent: 'msg_content',
1802
+ msgCallbackUrl: 'msg_callback_url',
1803
+ newMsgCallbackUrl: 'new_msg_callback_url',
1804
+ };
1805
+ }
1806
+
1807
+ static types(): { [key: string]: any } {
1808
+ return {
1809
+ orderId: 'string',
1810
+ msgId: 'string',
1811
+ msgPublishType: 'string',
1812
+ msgCreateTime: 'string',
1813
+ msgStatus: 'string',
1814
+ msgRetryTime: 'number',
1815
+ msgContent: 'string',
1816
+ msgCallbackUrl: 'string',
1817
+ newMsgCallbackUrl: 'string',
1818
+ };
1819
+ }
1820
+
1821
+ constructor(map?: { [key: string]: any }) {
1822
+ super(map);
1823
+ }
1824
+ }
1825
+
1826
+ // 营销发奖风险识别入参模型
1827
+ export class AwardingQueryModel extends $tea.Model {
1828
+ // 对方支付宝账户 uid,用于表示两个账户在业务交互中的对方账户,如人传人活动用户A会拉用户B来注册领奖,其中用户B为对方账户
1829
+ opposingUserid?: string;
1830
+ // 对方支付宝账户openid,营销发奖风险识别场景,userid 与 open_id 至少传入一个
1831
+ opposingOpenId?: string;
1832
+ // 服务二级分类
1833
+ serviceCategory?: string;
1834
+ // 服务商 pid
1835
+ isvPid?: string;
1836
+ // 银行卡号
1837
+ bankCardNo?: string;
1838
+ // 手机序列号
1839
+ imei?: string;
1840
+ // 国际移动用户识别码
1841
+ imsi?: string;
1842
+ // 金额,用户购买或使用服务时产生的具体金额,单位:分
1843
+ salesAmount?: number;
1844
+ // 用户姓名
1845
+ userName?: string;
1846
+ // 门店行业类目,枚举值:CATERING - 餐饮;LEISURE - 休闲;MEDICAL - 医疗
1847
+ storeMccDesc?: string;
1848
+ // 消费者 id,外部会员账号
1849
+ customerId: string;
1850
+ // 填入想要咨询风控的二维码值,需为唯一值
1851
+ qrCode?: string;
1852
+ static names(): { [key: string]: string } {
1853
+ return {
1854
+ opposingUserid: 'opposing_userid',
1855
+ opposingOpenId: 'opposing_open_id',
1856
+ serviceCategory: 'service_category',
1857
+ isvPid: 'isv_pid',
1858
+ bankCardNo: 'bank_card_no',
1859
+ imei: 'imei',
1860
+ imsi: 'imsi',
1861
+ salesAmount: 'sales_amount',
1862
+ userName: 'user_name',
1863
+ storeMccDesc: 'store_mcc_desc',
1864
+ customerId: 'customer_id',
1865
+ qrCode: 'qr_code',
1866
+ };
1867
+ }
1868
+
1869
+ static types(): { [key: string]: any } {
1870
+ return {
1871
+ opposingUserid: 'string',
1872
+ opposingOpenId: 'string',
1873
+ serviceCategory: 'string',
1874
+ isvPid: 'string',
1875
+ bankCardNo: 'string',
1876
+ imei: 'string',
1877
+ imsi: 'string',
1878
+ salesAmount: 'number',
1879
+ userName: 'string',
1880
+ storeMccDesc: 'string',
1881
+ customerId: 'string',
1882
+ qrCode: 'string',
1883
+ };
1884
+ }
1885
+
1886
+ constructor(map?: { [key: string]: any }) {
1887
+ super(map);
1888
+ }
1889
+ }
1890
+
1891
+ // 应用信息修改
1892
+ export class ApplicationInfoUpdate extends $tea.Model {
1893
+ // 应用场景 MINI_APP 小程序 APP 自有app ALL 两种都有
1894
+ applicationScene?: string;
1895
+ // 小程序id
1896
+ tinyAppId?: string;
1897
+ // 小程序名称
1898
+ siteName?: string;
1899
+ // http://asdasas.com
1900
+ sitUrl?: string;
1901
+ // 商户名称。 修改后的商户名称,将同步支付宝代扣签约页面字段展示
1902
+ merchantName?: string;
1903
+ // 商户服务名称。 修改后的商户服务名称,将同步支付宝代扣签约页面字段展示
1904
+ merchantServiceName?: string;
1905
+ // 商户服务描述。 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
1906
+ merchantServiceDesc?: string;
1907
+ static names(): { [key: string]: string } {
1908
+ return {
1909
+ applicationScene: 'application_scene',
1910
+ tinyAppId: 'tiny_app_id',
1911
+ siteName: 'site_name',
1912
+ sitUrl: 'sit_url',
1913
+ merchantName: 'merchant_name',
1914
+ merchantServiceName: 'merchant_service_name',
1915
+ merchantServiceDesc: 'merchant_service_desc',
1916
+ };
1917
+ }
1918
+
1919
+ static types(): { [key: string]: any } {
1920
+ return {
1921
+ applicationScene: 'string',
1922
+ tinyAppId: 'string',
1923
+ siteName: 'string',
1924
+ sitUrl: 'string',
1925
+ merchantName: 'string',
1926
+ merchantServiceName: 'string',
1927
+ merchantServiceDesc: 'string',
1928
+ };
1929
+ }
1930
+
1931
+ constructor(map?: { [key: string]: any }) {
1932
+ super(map);
1933
+ }
1934
+ }
1935
+
1936
+ // 订单用户信息
1937
+ export class OrderUserInfo extends $tea.Model {
1938
+ // 承租人名称
1939
+ userName?: string;
1940
+ // 承租人手机号
1941
+ userPhoneNumber?: string;
1942
+ // 地址
1943
+ userAddress?: string;
1944
+ // 支付宝账号
1945
+ alipayUid?: string;
1946
+ // 租赁类别
1947
+ // 1:个人用户
1948
+ // 2:企业用户
1949
+ lesseeType?: number;
1950
+ // 承租人身份证
1951
+ userId?: string;
1952
+ static names(): { [key: string]: string } {
1953
+ return {
1954
+ userName: 'user_name',
1955
+ userPhoneNumber: 'user_phone_number',
1956
+ userAddress: 'user_address',
1957
+ alipayUid: 'alipay_uid',
1958
+ lesseeType: 'lessee_type',
1959
+ userId: 'user_id',
1960
+ };
1961
+ }
1962
+
1963
+ static types(): { [key: string]: any } {
1964
+ return {
1965
+ userName: 'string',
1966
+ userPhoneNumber: 'string',
1967
+ userAddress: 'string',
1968
+ alipayUid: 'string',
1969
+ lesseeType: 'number',
1970
+ userId: 'string',
1971
+ };
1972
+ }
1973
+
1974
+ constructor(map?: { [key: string]: any }) {
1975
+ super(map);
1976
+ }
1977
+ }
1978
+
1979
+ // 订单包含的单个商品模型
1980
+ export class OrderGoodsModel extends $tea.Model {
1981
+ static names(): { [key: string]: string } {
1982
+ return {
1983
+ };
1984
+ }
1985
+
1986
+ static types(): { [key: string]: any } {
1987
+ return {
1988
+ };
1989
+ }
1990
+
1991
+ constructor(map?: { [key: string]: any }) {
1992
+ super(map);
1993
+ }
1994
+ }
1995
+
1996
+ // 智租风控-物流信息
1997
+ export class DeliveryDetail extends $tea.Model {
1998
+ // 收件人姓名
1999
+ receiverName?: string;
2000
+ // 收件人手机号
2001
+ receiverMobile?: string;
2002
+ // 收件人地址
2003
+ receiverAddress?: string;
2004
+ static names(): { [key: string]: string } {
2005
+ return {
2006
+ receiverName: 'receiver_name',
2007
+ receiverMobile: 'receiver_mobile',
2008
+ receiverAddress: 'receiver_address',
2009
+ };
2010
+ }
2011
+
2012
+ static types(): { [key: string]: any } {
2013
+ return {
2014
+ receiverName: 'string',
2015
+ receiverMobile: 'string',
2016
+ receiverAddress: 'string',
2017
+ };
2018
+ }
2019
+
2020
+ constructor(map?: { [key: string]: any }) {
2021
+ super(map);
2022
+ }
2023
+ }
2024
+
2025
+ // 租户协议分页对象
2026
+ export class AgreementPage extends $tea.Model {
2027
+ // 协议id
2028
+ agreementId: string;
2029
+ // 代理企业名称
2030
+ merchantName: string;
2031
+ // 租户8位id
2032
+ tenantId: string;
2033
+ // 业务类型 枚举
2034
+ productMainClass: string;
2035
+ // 协议类型 枚举
2036
+ agreementType: string;
2037
+ // 租户签约状态 枚举
2038
+ signStatus: string;
2039
+ static names(): { [key: string]: string } {
2040
+ return {
2041
+ agreementId: 'agreement_id',
2042
+ merchantName: 'merchant_name',
2043
+ tenantId: 'tenant_id',
2044
+ productMainClass: 'product_main_class',
2045
+ agreementType: 'agreement_type',
2046
+ signStatus: 'sign_status',
2047
+ };
2048
+ }
2049
+
2050
+ static types(): { [key: string]: any } {
2051
+ return {
2052
+ agreementId: 'string',
2053
+ merchantName: 'string',
2054
+ tenantId: 'string',
2055
+ productMainClass: 'string',
2056
+ agreementType: 'string',
2057
+ signStatus: 'string',
2058
+ };
2059
+ }
2060
+
2061
+ constructor(map?: { [key: string]: any }) {
2062
+ super(map);
2063
+ }
2064
+ }
2065
+
2066
+ // 行业刷单风险识别入参模型
2067
+ export class FarmingQueryModel extends $tea.Model {
2068
+ // 支付宝外部交易号
2069
+ outOrderNo?: string;
2070
+ // 支付宝内部交易号
2071
+ orderNo?: string;
2072
+ // 金额,用户购买或使用服务时产生的具体金额,单位:分
2073
+ salesAmount?: number;
2074
+ // 银行卡号
2075
+ bankCardNo?: string;
2076
+ // 服务商 pid
2077
+ isvPid?: string;
2078
+ // 门店行业类目,枚举值:CATERING - 餐饮;LEISURE - 休闲;MEDICAL - 医疗
2079
+ storeMccDesc?: string;
2080
+ // 门店地址;不需要传城市和行政区
2081
+ outletAddress?: string;
2082
+ // 公司名称
2083
+ companyName?: string;
2084
+ // 店铺名称
2085
+ storeName?: string;
2086
+ static names(): { [key: string]: string } {
2087
+ return {
2088
+ outOrderNo: 'out_order_no',
2089
+ orderNo: 'order_no',
2090
+ salesAmount: 'sales_amount',
2091
+ bankCardNo: 'bank_card_no',
2092
+ isvPid: 'isv_pid',
2093
+ storeMccDesc: 'store_mcc_desc',
2094
+ outletAddress: 'outlet_address',
2095
+ companyName: 'company_name',
2096
+ storeName: 'store_name',
2097
+ };
2098
+ }
2099
+
2100
+ static types(): { [key: string]: any } {
2101
+ return {
2102
+ outOrderNo: 'string',
2103
+ orderNo: 'string',
2104
+ salesAmount: 'number',
2105
+ bankCardNo: 'string',
2106
+ isvPid: 'string',
2107
+ storeMccDesc: 'string',
2108
+ outletAddress: 'string',
2109
+ companyName: 'string',
2110
+ storeName: 'string',
2111
+ };
2112
+ }
2113
+
2114
+ constructor(map?: { [key: string]: any }) {
2115
+ super(map);
2116
+ }
2117
+ }
2118
+
2119
+ // 订单商品
2120
+ export class OrderProductInfo extends $tea.Model {
2121
+ // 商品编码
2122
+ productId?: string;
2123
+ // 商品名称
2124
+ productName?: string;
2125
+ // 商品数量
2126
+ productNumber?: number;
2127
+ static names(): { [key: string]: string } {
2128
+ return {
2129
+ productId: 'product_id',
2130
+ productName: 'product_name',
2131
+ productNumber: 'product_number',
2132
+ };
2133
+ }
2134
+
2135
+ static types(): { [key: string]: any } {
2136
+ return {
2137
+ productId: 'string',
2138
+ productName: 'string',
2139
+ productNumber: 'number',
2140
+ };
2141
+ }
2142
+
2143
+ constructor(map?: { [key: string]: any }) {
2144
+ super(map);
2145
+ }
2146
+ }
2147
+
2148
+ // 主动支付单据
2149
+ export class ActivePayOrder extends $tea.Model {
2150
+ // 支付宝支付订单号,用于拉起主动支付页面
2151
+ tradeNo: string;
2152
+ // 状态
2153
+ // INIT:交易创建
2154
+ // FAILED:付款失败
2155
+ // SUCCESS:付款成功
2156
+ tradeStatus: string;
2157
+ // 状态原因码
2158
+ statusReasonCode?: string;
2159
+ // 超时关闭
2160
+ statusReasonMsg?: string;
2161
+ // 本次交易支付的订单金额,单位为分
2162
+ // 付款成功或付款成功之后的状态必填
2163
+ totalAmount?: number;
2164
+ // 用户在交易中支付的金额,单位为分
2165
+ // 付款成功的状态必填
2166
+ paidAmount?: number;
2167
+ // 商家在交易中实际收到的款项,单位为分
2168
+ // 付款成功的状态必填
2169
+ receiptAmount?: number;
2170
+ // 交易支付时间
2171
+ // 付款成功的状态必填
2172
+ gmtPay?: string;
2173
+ static names(): { [key: string]: string } {
2174
+ return {
2175
+ tradeNo: 'trade_no',
2176
+ tradeStatus: 'trade_status',
2177
+ statusReasonCode: 'status_reason_code',
2178
+ statusReasonMsg: 'status_reason_msg',
2179
+ totalAmount: 'total_amount',
2180
+ paidAmount: 'paid_amount',
2181
+ receiptAmount: 'receipt_amount',
2182
+ gmtPay: 'gmt_pay',
2183
+ };
2184
+ }
2185
+
2186
+ static types(): { [key: string]: any } {
2187
+ return {
2188
+ tradeNo: 'string',
2189
+ tradeStatus: 'string',
2190
+ statusReasonCode: 'string',
2191
+ statusReasonMsg: 'string',
2192
+ totalAmount: 'number',
2193
+ paidAmount: 'number',
2194
+ receiptAmount: 'number',
2195
+ gmtPay: 'string',
2196
+ };
2197
+ }
2198
+
2199
+ constructor(map?: { [key: string]: any }) {
2200
+ super(map);
2201
+ }
2202
+ }
2203
+
2204
+ // 订单商品信息
2205
+ export class GoodsInfo extends $tea.Model {
2206
+ static names(): { [key: string]: string } {
2207
+ return {
2208
+ };
2209
+ }
2210
+
2211
+ static types(): { [key: string]: any } {
2212
+ return {
2213
+ };
2214
+ }
2215
+
2216
+ constructor(map?: { [key: string]: any }) {
2217
+ super(map);
2218
+ }
2219
+ }
2220
+
2221
+ // 分页查询对象
2222
+ export class PageQuery extends $tea.Model {
2223
+ // 页大小
2224
+ pageSize: number;
2225
+ // 当前页
2226
+ pageIndex: number;
2227
+ static names(): { [key: string]: string } {
2228
+ return {
2229
+ pageSize: 'page_size',
2230
+ pageIndex: 'page_index',
2231
+ };
2232
+ }
2233
+
2234
+ static types(): { [key: string]: any } {
2235
+ return {
2236
+ pageSize: 'number',
2237
+ pageIndex: 'number',
2238
+ };
2239
+ }
2240
+
2241
+ constructor(map?: { [key: string]: any }) {
2242
+ super(map);
2243
+ }
2244
+ }
2245
+
2246
+ // 法人信息
2247
+ export class LegalInfo extends $tea.Model {
2248
+ // 法人名称
2249
+ legalName: string;
2250
+ // 法人证件号
2251
+ legalCertNo: string;
2252
+ // 法人证件正面
2253
+ legalCertFrontFile: FileInfo;
2254
+ // 法人证件反面
2255
+ legalCertBackFile: FileInfo;
2256
+ static names(): { [key: string]: string } {
2257
+ return {
2258
+ legalName: 'legal_name',
2259
+ legalCertNo: 'legal_cert_no',
2260
+ legalCertFrontFile: 'legal_cert_front_file',
2261
+ legalCertBackFile: 'legal_cert_back_file',
2262
+ };
2263
+ }
2264
+
2265
+ static types(): { [key: string]: any } {
2266
+ return {
2267
+ legalName: 'string',
2268
+ legalCertNo: 'string',
2269
+ legalCertFrontFile: FileInfo,
2270
+ legalCertBackFile: FileInfo,
2271
+ };
2272
+ }
2273
+
2274
+ constructor(map?: { [key: string]: any }) {
2275
+ super(map);
2276
+ }
2277
+ }
2278
+
1786
2279
  // 键值对
1787
2280
  export class XNameValuePair extends $tea.Model {
1788
2281
  // 键名
@@ -3472,6 +3965,73 @@ export class QueryFundCompensateaccountResponse extends $tea.Model {
3472
3965
  }
3473
3966
  }
3474
3967
 
3968
+ export class GetFundOrderfinanceinfoRequest extends $tea.Model {
3969
+ // OAuth模式下的授权token
3970
+ authToken?: string;
3971
+ productInstanceId?: string;
3972
+ // order_id
3973
+ orderId: string;
3974
+ // merchant_id
3975
+ merchantId: string;
3976
+ // fund_id
3977
+ fundId: string;
3978
+ static names(): { [key: string]: string } {
3979
+ return {
3980
+ authToken: 'auth_token',
3981
+ productInstanceId: 'product_instance_id',
3982
+ orderId: 'order_id',
3983
+ merchantId: 'merchant_id',
3984
+ fundId: 'fund_id',
3985
+ };
3986
+ }
3987
+
3988
+ static types(): { [key: string]: any } {
3989
+ return {
3990
+ authToken: 'string',
3991
+ productInstanceId: 'string',
3992
+ orderId: 'string',
3993
+ merchantId: 'string',
3994
+ fundId: 'string',
3995
+ };
3996
+ }
3997
+
3998
+ constructor(map?: { [key: string]: any }) {
3999
+ super(map);
4000
+ }
4001
+ }
4002
+
4003
+ export class GetFundOrderfinanceinfoResponse extends $tea.Model {
4004
+ // 请求唯一ID,用于链路跟踪和问题排查
4005
+ reqMsgId?: string;
4006
+ // 结果码,一般OK表示调用成功
4007
+ resultCode?: string;
4008
+ // 异常信息的文本描述
4009
+ resultMsg?: string;
4010
+ // {}
4011
+ responseData?: string;
4012
+ static names(): { [key: string]: string } {
4013
+ return {
4014
+ reqMsgId: 'req_msg_id',
4015
+ resultCode: 'result_code',
4016
+ resultMsg: 'result_msg',
4017
+ responseData: 'response_data',
4018
+ };
4019
+ }
4020
+
4021
+ static types(): { [key: string]: any } {
4022
+ return {
4023
+ reqMsgId: 'string',
4024
+ resultCode: 'string',
4025
+ resultMsg: 'string',
4026
+ responseData: 'string',
4027
+ };
4028
+ }
4029
+
4030
+ constructor(map?: { [key: string]: any }) {
4031
+ super(map);
4032
+ }
4033
+ }
4034
+
3475
4035
  export class GetInnerProductRequest extends $tea.Model {
3476
4036
  // OAuth模式下的授权token
3477
4037
  authToken?: string;
@@ -5964,12 +6524,18 @@ export class SyncInnerTemplateResponse extends $tea.Model {
5964
6524
  resultMsg?: string;
5965
6525
  // 同步后的新模板code
5966
6526
  targetTemplateCode?: string;
6527
+ // 模板同步上线时(强管控字段)校验结果
6528
+ validResult?: boolean;
6529
+ // 校验结果明细JSONStr
6530
+ validFieldDetail?: string;
5967
6531
  static names(): { [key: string]: string } {
5968
6532
  return {
5969
6533
  reqMsgId: 'req_msg_id',
5970
6534
  resultCode: 'result_code',
5971
6535
  resultMsg: 'result_msg',
5972
6536
  targetTemplateCode: 'target_template_code',
6537
+ validResult: 'valid_result',
6538
+ validFieldDetail: 'valid_field_detail',
5973
6539
  };
5974
6540
  }
5975
6541
 
@@ -5979,6 +6545,8 @@ export class SyncInnerTemplateResponse extends $tea.Model {
5979
6545
  resultCode: 'string',
5980
6546
  resultMsg: 'string',
5981
6547
  targetTemplateCode: 'string',
6548
+ validResult: 'boolean',
6549
+ validFieldDetail: 'string',
5982
6550
  };
5983
6551
  }
5984
6552
 
@@ -7664,6 +8232,8 @@ export class DetailInnerOrderResponse extends $tea.Model {
7664
8232
  orderPromiseInfo?: OrderPromiseInfo;
7665
8233
  // 订单商品信息
7666
8234
  orderProductInfoList?: OrderProductInfo[];
8235
+ // 经营分账信息
8236
+ operateDivideInfoList?: OperateDivideInfo[];
7667
8237
  static names(): { [key: string]: string } {
7668
8238
  return {
7669
8239
  reqMsgId: 'req_msg_id',
@@ -7677,6 +8247,7 @@ export class DetailInnerOrderResponse extends $tea.Model {
7677
8247
  orderFulfillmentInfoList: 'order_fulfillment_info_list',
7678
8248
  orderPromiseInfo: 'order_promise_info',
7679
8249
  orderProductInfoList: 'order_product_info_list',
8250
+ operateDivideInfoList: 'operate_divide_info_list',
7680
8251
  };
7681
8252
  }
7682
8253
 
@@ -7693,6 +8264,7 @@ export class DetailInnerOrderResponse extends $tea.Model {
7693
8264
  orderFulfillmentInfoList: { 'type': 'array', 'itemType': OrderFulfillmentInfo },
7694
8265
  orderPromiseInfo: OrderPromiseInfo,
7695
8266
  orderProductInfoList: { 'type': 'array', 'itemType': OrderProductInfo },
8267
+ operateDivideInfoList: { 'type': 'array', 'itemType': OperateDivideInfo },
7696
8268
  };
7697
8269
  }
7698
8270
 
@@ -8362,21 +8934,235 @@ export class QueryInnerTemplateinstanceRequest extends $tea.Model {
8362
8934
  }
8363
8935
  }
8364
8936
 
8365
- export class QueryInnerTemplateinstanceResponse extends $tea.Model {
8937
+ export class QueryInnerTemplateinstanceResponse extends $tea.Model {
8938
+ // 请求唯一ID,用于链路跟踪和问题排查
8939
+ reqMsgId?: string;
8940
+ // 结果码,一般OK表示调用成功
8941
+ resultCode?: string;
8942
+ // 异常信息的文本描述
8943
+ resultMsg?: string;
8944
+ // 模板实例化后的信息
8945
+ data?: string;
8946
+ static names(): { [key: string]: string } {
8947
+ return {
8948
+ reqMsgId: 'req_msg_id',
8949
+ resultCode: 'result_code',
8950
+ resultMsg: 'result_msg',
8951
+ data: 'data',
8952
+ };
8953
+ }
8954
+
8955
+ static types(): { [key: string]: any } {
8956
+ return {
8957
+ reqMsgId: 'string',
8958
+ resultCode: 'string',
8959
+ resultMsg: 'string',
8960
+ data: 'string',
8961
+ };
8962
+ }
8963
+
8964
+ constructor(map?: { [key: string]: any }) {
8965
+ super(map);
8966
+ }
8967
+ }
8968
+
8969
+ export class QueryInnerTenantindirectmainclassRequest extends $tea.Model {
8970
+ // OAuth模式下的授权token
8971
+ authToken?: string;
8972
+ productInstanceId?: string;
8973
+ // 租户id
8974
+ tenantId: string;
8975
+ static names(): { [key: string]: string } {
8976
+ return {
8977
+ authToken: 'auth_token',
8978
+ productInstanceId: 'product_instance_id',
8979
+ tenantId: 'tenant_id',
8980
+ };
8981
+ }
8982
+
8983
+ static types(): { [key: string]: any } {
8984
+ return {
8985
+ authToken: 'string',
8986
+ productInstanceId: 'string',
8987
+ tenantId: 'string',
8988
+ };
8989
+ }
8990
+
8991
+ constructor(map?: { [key: string]: any }) {
8992
+ super(map);
8993
+ }
8994
+ }
8995
+
8996
+ export class QueryInnerTenantindirectmainclassResponse extends $tea.Model {
8997
+ // 请求唯一ID,用于链路跟踪和问题排查
8998
+ reqMsgId?: string;
8999
+ // 结果码,一般OK表示调用成功
9000
+ resultCode?: string;
9001
+ // 异常信息的文本描述
9002
+ resultMsg?: string;
9003
+ // 当前开通类目
9004
+ currentIndirectMainClassList?: string[];
9005
+ // 开通说明
9006
+ desc?: string;
9007
+ // 状态
9008
+ // INIT:初始化
9009
+ // AUDIT:审批中
9010
+ // AUDIT_PASSED:审批通过
9011
+ // AUDIT_NOT_PASSED:审批不通过
9012
+ status?: string;
9013
+ // 审核拒绝原因
9014
+ failReason?: string;
9015
+ // 申请开通的类目
9016
+ changingIndirectMainClassList?: string[];
9017
+ static names(): { [key: string]: string } {
9018
+ return {
9019
+ reqMsgId: 'req_msg_id',
9020
+ resultCode: 'result_code',
9021
+ resultMsg: 'result_msg',
9022
+ currentIndirectMainClassList: 'current_indirect_main_class_list',
9023
+ desc: 'desc',
9024
+ status: 'status',
9025
+ failReason: 'fail_reason',
9026
+ changingIndirectMainClassList: 'changing_indirect_main_class_list',
9027
+ };
9028
+ }
9029
+
9030
+ static types(): { [key: string]: any } {
9031
+ return {
9032
+ reqMsgId: 'string',
9033
+ resultCode: 'string',
9034
+ resultMsg: 'string',
9035
+ currentIndirectMainClassList: { 'type': 'array', 'itemType': 'string' },
9036
+ desc: 'string',
9037
+ status: 'string',
9038
+ failReason: 'string',
9039
+ changingIndirectMainClassList: { 'type': 'array', 'itemType': 'string' },
9040
+ };
9041
+ }
9042
+
9043
+ constructor(map?: { [key: string]: any }) {
9044
+ super(map);
9045
+ }
9046
+ }
9047
+
9048
+ export class UpdateInnerTenantindirectmainclassRequest extends $tea.Model {
9049
+ // OAuth模式下的授权token
9050
+ authToken?: string;
9051
+ productInstanceId?: string;
9052
+ // 租户id
9053
+ tenantId: string;
9054
+ // 开通类目
9055
+ indirectMainClassList: string[];
9056
+ // 开通说明
9057
+ //
9058
+ desc?: string;
9059
+ static names(): { [key: string]: string } {
9060
+ return {
9061
+ authToken: 'auth_token',
9062
+ productInstanceId: 'product_instance_id',
9063
+ tenantId: 'tenant_id',
9064
+ indirectMainClassList: 'indirect_main_class_list',
9065
+ desc: 'desc',
9066
+ };
9067
+ }
9068
+
9069
+ static types(): { [key: string]: any } {
9070
+ return {
9071
+ authToken: 'string',
9072
+ productInstanceId: 'string',
9073
+ tenantId: 'string',
9074
+ indirectMainClassList: { 'type': 'array', 'itemType': 'string' },
9075
+ desc: 'string',
9076
+ };
9077
+ }
9078
+
9079
+ constructor(map?: { [key: string]: any }) {
9080
+ super(map);
9081
+ }
9082
+ }
9083
+
9084
+ export class UpdateInnerTenantindirectmainclassResponse extends $tea.Model {
9085
+ // 请求唯一ID,用于链路跟踪和问题排查
9086
+ reqMsgId?: string;
9087
+ // 结果码,一般OK表示调用成功
9088
+ resultCode?: string;
9089
+ // 异常信息的文本描述
9090
+ resultMsg?: string;
9091
+ static names(): { [key: string]: string } {
9092
+ return {
9093
+ reqMsgId: 'req_msg_id',
9094
+ resultCode: 'result_code',
9095
+ resultMsg: 'result_msg',
9096
+ };
9097
+ }
9098
+
9099
+ static types(): { [key: string]: any } {
9100
+ return {
9101
+ reqMsgId: 'string',
9102
+ resultCode: 'string',
9103
+ resultMsg: 'string',
9104
+ };
9105
+ }
9106
+
9107
+ constructor(map?: { [key: string]: any }) {
9108
+ super(map);
9109
+ }
9110
+ }
9111
+
9112
+ export class SubmitInnerTemplatesyncreviewRequest extends $tea.Model {
9113
+ // OAuth模式下的授权token
9114
+ authToken?: string;
9115
+ productInstanceId?: string;
9116
+ // 商户对应租户ID
9117
+ tenantId: string;
9118
+ // 来源魔法库模板code
9119
+ sourceTemplateCode: string;
9120
+ // 目标魔法库模板名称
9121
+ targetTemplateName: string;
9122
+ // 魔法库来源模板版本
9123
+ sourceTemplateVersion: string;
9124
+ static names(): { [key: string]: string } {
9125
+ return {
9126
+ authToken: 'auth_token',
9127
+ productInstanceId: 'product_instance_id',
9128
+ tenantId: 'tenant_id',
9129
+ sourceTemplateCode: 'source_template_code',
9130
+ targetTemplateName: 'target_template_name',
9131
+ sourceTemplateVersion: 'source_template_version',
9132
+ };
9133
+ }
9134
+
9135
+ static types(): { [key: string]: any } {
9136
+ return {
9137
+ authToken: 'string',
9138
+ productInstanceId: 'string',
9139
+ tenantId: 'string',
9140
+ sourceTemplateCode: 'string',
9141
+ targetTemplateName: 'string',
9142
+ sourceTemplateVersion: 'string',
9143
+ };
9144
+ }
9145
+
9146
+ constructor(map?: { [key: string]: any }) {
9147
+ super(map);
9148
+ }
9149
+ }
9150
+
9151
+ export class SubmitInnerTemplatesyncreviewResponse extends $tea.Model {
8366
9152
  // 请求唯一ID,用于链路跟踪和问题排查
8367
9153
  reqMsgId?: string;
8368
9154
  // 结果码,一般OK表示调用成功
8369
9155
  resultCode?: string;
8370
9156
  // 异常信息的文本描述
8371
9157
  resultMsg?: string;
8372
- // 模板实例化后的信息
8373
- data?: string;
9158
+ // 提交同步上线审核的模板code
9159
+ sourceTemplateCode?: string;
8374
9160
  static names(): { [key: string]: string } {
8375
9161
  return {
8376
9162
  reqMsgId: 'req_msg_id',
8377
9163
  resultCode: 'result_code',
8378
9164
  resultMsg: 'result_msg',
8379
- data: 'data',
9165
+ sourceTemplateCode: 'source_template_code',
8380
9166
  };
8381
9167
  }
8382
9168
 
@@ -8385,7 +9171,7 @@ export class QueryInnerTemplateinstanceResponse extends $tea.Model {
8385
9171
  reqMsgId: 'string',
8386
9172
  resultCode: 'string',
8387
9173
  resultMsg: 'string',
8388
- data: 'string',
9174
+ sourceTemplateCode: 'string',
8389
9175
  };
8390
9176
  }
8391
9177
 
@@ -9124,8 +9910,11 @@ export class QueryRiskRequest extends $tea.Model {
9124
9910
  mobile: string;
9125
9911
  // 支付宝账户 UserId,智租版可选
9126
9912
  alipayUserId?: string;
9127
- // 下单渠道,智租版必选。枚举值:ALIPAY-支付宝;微信-WECHAT;独立APP-APP;抖音-DOUYIN;美团-MEITUAN;其他:-OTHER
9913
+ // 下单渠道,智租版必选。枚举值:支付宝-ALIPAY;微信-WECHAT;独立APP-APP;抖音-DOUYIN;美团-MEITUAN;其他:-OTHER
9128
9914
  source?: string;
9915
+ // 风险业务场景,智租版选填。默认值:PRE_RENT。
9916
+ // PRE_RENT - 3c租赁;PRE_RENT_3C - 3c租赁定制;PRE_RENT_PET - 宠物;PRE_RENT_EDU - 教培;PRE_RENT_BEAUTY - 美业;
9917
+ riskBizScene?: string;
9129
9918
  // 商品详情,智租版可选
9130
9919
  itemDetail?: ItemDetail;
9131
9920
  // 价格详情,智租版可选
@@ -9142,6 +9931,7 @@ export class QueryRiskRequest extends $tea.Model {
9142
9931
  mobile: 'mobile',
9143
9932
  alipayUserId: 'alipay_user_id',
9144
9933
  source: 'source',
9934
+ riskBizScene: 'risk_biz_scene',
9145
9935
  itemDetail: 'item_detail',
9146
9936
  priceDetail: 'price_detail',
9147
9937
  deliveryDetail: 'delivery_detail',
@@ -9158,6 +9948,7 @@ export class QueryRiskRequest extends $tea.Model {
9158
9948
  mobile: 'string',
9159
9949
  alipayUserId: 'string',
9160
9950
  source: 'string',
9951
+ riskBizScene: 'string',
9161
9952
  itemDetail: ItemDetail,
9162
9953
  priceDetail: PriceDetail,
9163
9954
  deliveryDetail: DeliveryDetail,
@@ -9205,6 +9996,131 @@ export class QueryRiskResponse extends $tea.Model {
9205
9996
  }
9206
9997
  }
9207
9998
 
9999
+ export class QueryRiskGoRequest extends $tea.Model {
10000
+ // OAuth模式下的授权token
10001
+ authToken?: string;
10002
+ productInstanceId?: string;
10003
+ // 风险类型。枚举值:MARKETING_PURCHASE_COMMON 营销抢购风险识别;INDUSTRY_SCALPER_COMMON 行业黄牛风险识别;MARKETING_AWARDING_COMMON 营销发奖风险识别;INDUSTRY_FARMING_COMMON 行业刷单风险识别;INDUSTRY_BADDEBT_COMMON 履约坏账风险识别
10004
+ riskType: string;
10005
+ // 调用行业,枚举值:
10006
+ // insurance 保险;retail 零售;finance 金融行业;logistics 物流行业;city_services 城市服务;medical 医疗服务;digital_media 数媒行业;recycle 回收行业;payment 缴费行业;vehicle 汽车;travel 旅游;air_travel 航旅行业;FMCG 快消零售;education 教育行业;fashion_retail 时尚零售;game_industry 文体行业;rental 租赁;advertisement 广告行业;restaurants 餐饮行业;ticket 票务行业;complexes 综合体行业
10007
+ businessCode: string;
10008
+ // 风险咨询对应的自身业务场景/环节,枚举值:
10009
+ // register 注册;order 下单;payment 支付;login 登录;offline_query 离线查询;inquery 查询;reserve 预约;invitation 邀请;other 其他
10010
+ scene: string;
10011
+ // 支付宝用户 2088 账号
10012
+ userId?: string;
10013
+ // 支付宝用户 open_id 账号。需要注意,user_id 和 open_id 不可同时为空,同时传入时,以 user_id 为准
10014
+ openId?: string;
10015
+ // 支付宝商家 pid,如果风险咨询对象是支付宝商家,则填写pid
10016
+ merPid?: string;
10017
+ // 手机号码,用于直接输入风险咨询对象的手机号码
10018
+ mobileNo?: string;
10019
+ // 身份证号码
10020
+ certNo?: string;
10021
+ // 账户登录 ip
10022
+ ip?: string;
10023
+ // 地理位置,用于输入用户产生交易时的地理位置信息
10024
+ lbs?: string;
10025
+ // 咨询方类型,填写风险咨询中对应的商户或服务商对于蚂蚁的类型。枚举值:direct_isv 直连服务商;indirect_isv 间连服务商;unconn_isv 无关服务商;direct_mer 直连商户;indirect_mer 间连商户;unconn_mer 无关联商户;unknown 其他
10026
+ role?: string;
10027
+ // 可填入活动id唯一值,或其他活动信息
10028
+ activityInfo?: string;
10029
+ // 营销抢购风险识别入参模型
10030
+ purchaseQueryModel?: PurchaseQueryModel;
10031
+ // 行业黄牛风险识别入参模型
10032
+ scalperQueryModel?: ScalperQueryModel;
10033
+ // 营销发奖风险识别入参模型
10034
+ awardingQueryModel?: AwardingQueryModel;
10035
+ // 行业刷单风险识别入参模型
10036
+ farmingQueryModel?: FarmingQueryModel;
10037
+ // 行业履约风险识别入参模型
10038
+ baddebtQueryModel?: BaddebtQueryModel;
10039
+ static names(): { [key: string]: string } {
10040
+ return {
10041
+ authToken: 'auth_token',
10042
+ productInstanceId: 'product_instance_id',
10043
+ riskType: 'risk_type',
10044
+ businessCode: 'business_code',
10045
+ scene: 'scene',
10046
+ userId: 'user_id',
10047
+ openId: 'open_id',
10048
+ merPid: 'mer_pid',
10049
+ mobileNo: 'mobile_no',
10050
+ certNo: 'cert_no',
10051
+ ip: 'ip',
10052
+ lbs: 'lbs',
10053
+ role: 'role',
10054
+ activityInfo: 'activity_info',
10055
+ purchaseQueryModel: 'purchase_query_model',
10056
+ scalperQueryModel: 'scalper_query_model',
10057
+ awardingQueryModel: 'awarding_query_model',
10058
+ farmingQueryModel: 'farming_query_model',
10059
+ baddebtQueryModel: 'baddebt_query_model',
10060
+ };
10061
+ }
10062
+
10063
+ static types(): { [key: string]: any } {
10064
+ return {
10065
+ authToken: 'string',
10066
+ productInstanceId: 'string',
10067
+ riskType: 'string',
10068
+ businessCode: 'string',
10069
+ scene: 'string',
10070
+ userId: 'string',
10071
+ openId: 'string',
10072
+ merPid: 'string',
10073
+ mobileNo: 'string',
10074
+ certNo: 'string',
10075
+ ip: 'string',
10076
+ lbs: 'string',
10077
+ role: 'string',
10078
+ activityInfo: 'string',
10079
+ purchaseQueryModel: PurchaseQueryModel,
10080
+ scalperQueryModel: ScalperQueryModel,
10081
+ awardingQueryModel: AwardingQueryModel,
10082
+ farmingQueryModel: FarmingQueryModel,
10083
+ baddebtQueryModel: BaddebtQueryModel,
10084
+ };
10085
+ }
10086
+
10087
+ constructor(map?: { [key: string]: any }) {
10088
+ super(map);
10089
+ }
10090
+ }
10091
+
10092
+ export class QueryRiskGoResponse extends $tea.Model {
10093
+ // 请求唯一ID,用于链路跟踪和问题排查
10094
+ reqMsgId?: string;
10095
+ // 结果码,一般OK表示调用成功
10096
+ resultCode?: string;
10097
+ // 异常信息的文本描述
10098
+ resultMsg?: string;
10099
+ // 风险查询结果
10100
+ model?: RiskGoModel;
10101
+ static names(): { [key: string]: string } {
10102
+ return {
10103
+ reqMsgId: 'req_msg_id',
10104
+ resultCode: 'result_code',
10105
+ resultMsg: 'result_msg',
10106
+ model: 'model',
10107
+ };
10108
+ }
10109
+
10110
+ static types(): { [key: string]: any } {
10111
+ return {
10112
+ reqMsgId: 'string',
10113
+ resultCode: 'string',
10114
+ resultMsg: 'string',
10115
+ model: RiskGoModel,
10116
+ };
10117
+ }
10118
+
10119
+ constructor(map?: { [key: string]: any }) {
10120
+ super(map);
10121
+ }
10122
+ }
10123
+
9208
10124
  export class AllSignTemplateRequest extends $tea.Model {
9209
10125
  // OAuth模式下的授权token
9210
10126
  authToken?: string;
@@ -9213,19 +10129,15 @@ export class AllSignTemplateRequest extends $tea.Model {
9213
10129
  contractType?: string;
9214
10130
  // 商户统一社会信用代码,SIT环境,非融必填
9215
10131
  merchantId?: string;
9216
- // ● FINANCE 融资
9217
- // ● NON_FINANCE 非融资
9218
- fundType?: string;
9219
- // 查询融资类型时,需要传入资方统一社会信用代码
9220
- fundId?: string;
10132
+ // 模板id
10133
+ templateId?: string;
9221
10134
  static names(): { [key: string]: string } {
9222
10135
  return {
9223
10136
  authToken: 'auth_token',
9224
10137
  productInstanceId: 'product_instance_id',
9225
10138
  contractType: 'contract_type',
9226
10139
  merchantId: 'merchant_id',
9227
- fundType: 'fund_type',
9228
- fundId: 'fund_id',
10140
+ templateId: 'template_id',
9229
10141
  };
9230
10142
  }
9231
10143
 
@@ -9235,8 +10147,7 @@ export class AllSignTemplateRequest extends $tea.Model {
9235
10147
  productInstanceId: 'string',
9236
10148
  contractType: 'string',
9237
10149
  merchantId: 'string',
9238
- fundType: 'string',
9239
- fundId: 'string',
10150
+ templateId: 'string',
9240
10151
  };
9241
10152
  }
9242
10153
 
@@ -9252,19 +10163,7 @@ export class AllSignTemplateResponse extends $tea.Model {
9252
10163
  resultCode?: string;
9253
10164
  // 异常信息的文本描述
9254
10165
  resultMsg?: string;
9255
- // List<Object>格式,详细参考:
9256
- // [
9257
- // {
9258
- // "templateCode": "TEST_001",
9259
- // "tenantId": "BIPCCOQY",
9260
- // "agreementType": "SERVICE_LEASE",
9261
- // "fileName": "测试模板之协议签署证明",
9262
- // "templateId": "f28038577d664015bfc1034c4a125121",
9263
- // "fieldArgs": "{\"sceneName\":\"测试协议合同签署\",\"title\":\"这是一份证明协议\"}",
9264
- // "userPos": "[{\"required\":true,\"posPage\":\"1\",\"posX\":\"162.44\",\"posY\":\"425\"}]",
9265
- // "orgPos": "[{\"required\":true,\"posPage\":\"1\",\"posX\":\"449.99\",\"posY\":\"420.03\"}]"
9266
- // }
9267
- // ]
10166
+ // List<JSONObject>格式内容
9268
10167
  templateList?: string;
9269
10168
  static names(): { [key: string]: string } {
9270
10169
  return {
@@ -9351,6 +10250,8 @@ export class SubmitSignFlowRequest extends $tea.Model {
9351
10250
  userOrgIdType?: string;
9352
10251
  // (企业作为消费者时)公司证件号,无需加密
9353
10252
  userOrgIdNumber?: string;
10253
+ // 合并签署是否开启人脸识别(默认true-开启),非合并签署无需设值
10254
+ needFace?: boolean;
9354
10255
  static names(): { [key: string]: string } {
9355
10256
  return {
9356
10257
  authToken: 'auth_token',
@@ -9382,6 +10283,7 @@ export class SubmitSignFlowRequest extends $tea.Model {
9382
10283
  userOrgName: 'user_org_name',
9383
10284
  userOrgIdType: 'user_org_id_type',
9384
10285
  userOrgIdNumber: 'user_org_id_number',
10286
+ needFace: 'need_face',
9385
10287
  };
9386
10288
  }
9387
10289
 
@@ -9416,6 +10318,7 @@ export class SubmitSignFlowRequest extends $tea.Model {
9416
10318
  userOrgName: 'string',
9417
10319
  userOrgIdType: 'string',
9418
10320
  userOrgIdNumber: 'string',
10321
+ needFace: 'boolean',
9419
10322
  };
9420
10323
  }
9421
10324
 
@@ -9707,6 +10610,8 @@ export class SubmitFrontSignRequest extends $tea.Model {
9707
10610
  userOrgIdType?: string;
9708
10611
  // (企业作为消费者时)公司名称
9709
10612
  userOrgName?: string;
10613
+ // 合并签署是否开启人脸识别(默认true-开启),非合并签署无需设值
10614
+ needFace?: boolean;
9710
10615
  static names(): { [key: string]: string } {
9711
10616
  return {
9712
10617
  authToken: 'auth_token',
@@ -9738,6 +10643,7 @@ export class SubmitFrontSignRequest extends $tea.Model {
9738
10643
  userOrgIdNumber: 'user_org_id_number',
9739
10644
  userOrgIdType: 'user_org_id_type',
9740
10645
  userOrgName: 'user_org_name',
10646
+ needFace: 'need_face',
9741
10647
  };
9742
10648
  }
9743
10649
 
@@ -9772,6 +10678,7 @@ export class SubmitFrontSignRequest extends $tea.Model {
9772
10678
  userOrgIdNumber: 'string',
9773
10679
  userOrgIdType: 'string',
9774
10680
  userOrgName: 'string',
10681
+ needFace: 'boolean',
9775
10682
  };
9776
10683
  }
9777
10684
 
@@ -10846,7 +11753,197 @@ export class SyncFrontIndirectorderRequest extends $tea.Model {
10846
11753
  return {
10847
11754
  authToken: 'auth_token',
10848
11755
  productInstanceId: 'product_instance_id',
10849
- bizContent: 'biz_content',
11756
+ bizContent: 'biz_content',
11757
+ };
11758
+ }
11759
+
11760
+ static types(): { [key: string]: any } {
11761
+ return {
11762
+ authToken: 'string',
11763
+ productInstanceId: 'string',
11764
+ bizContent: 'string',
11765
+ };
11766
+ }
11767
+
11768
+ constructor(map?: { [key: string]: any }) {
11769
+ super(map);
11770
+ }
11771
+ }
11772
+
11773
+ export class SyncFrontIndirectorderResponse extends $tea.Model {
11774
+ // 请求唯一ID,用于链路跟踪和问题排查
11775
+ reqMsgId?: string;
11776
+ // 结果码,一般OK表示调用成功
11777
+ resultCode?: string;
11778
+ // 异常信息的文本描述
11779
+ resultMsg?: string;
11780
+ // 返回值,json字符串
11781
+ responseData?: string;
11782
+ static names(): { [key: string]: string } {
11783
+ return {
11784
+ reqMsgId: 'req_msg_id',
11785
+ resultCode: 'result_code',
11786
+ resultMsg: 'result_msg',
11787
+ responseData: 'response_data',
11788
+ };
11789
+ }
11790
+
11791
+ static types(): { [key: string]: any } {
11792
+ return {
11793
+ reqMsgId: 'string',
11794
+ resultCode: 'string',
11795
+ resultMsg: 'string',
11796
+ responseData: 'string',
11797
+ };
11798
+ }
11799
+
11800
+ constructor(map?: { [key: string]: any }) {
11801
+ super(map);
11802
+ }
11803
+ }
11804
+
11805
+ export class SyncTradeIndirectorderRequest extends $tea.Model {
11806
+ // OAuth模式下的授权token
11807
+ authToken?: string;
11808
+ productInstanceId?: string;
11809
+ // 业务参数,json.toString
11810
+ bizContent: string;
11811
+ static names(): { [key: string]: string } {
11812
+ return {
11813
+ authToken: 'auth_token',
11814
+ productInstanceId: 'product_instance_id',
11815
+ bizContent: 'biz_content',
11816
+ };
11817
+ }
11818
+
11819
+ static types(): { [key: string]: any } {
11820
+ return {
11821
+ authToken: 'string',
11822
+ productInstanceId: 'string',
11823
+ bizContent: 'string',
11824
+ };
11825
+ }
11826
+
11827
+ constructor(map?: { [key: string]: any }) {
11828
+ super(map);
11829
+ }
11830
+ }
11831
+
11832
+ export class SyncTradeIndirectorderResponse extends $tea.Model {
11833
+ // 请求唯一ID,用于链路跟踪和问题排查
11834
+ reqMsgId?: string;
11835
+ // 结果码,一般OK表示调用成功
11836
+ resultCode?: string;
11837
+ // 异常信息的文本描述
11838
+ resultMsg?: string;
11839
+ // 返回业务参数,json.toString
11840
+ responseData?: string;
11841
+ static names(): { [key: string]: string } {
11842
+ return {
11843
+ reqMsgId: 'req_msg_id',
11844
+ resultCode: 'result_code',
11845
+ resultMsg: 'result_msg',
11846
+ responseData: 'response_data',
11847
+ };
11848
+ }
11849
+
11850
+ static types(): { [key: string]: any } {
11851
+ return {
11852
+ reqMsgId: 'string',
11853
+ resultCode: 'string',
11854
+ resultMsg: 'string',
11855
+ responseData: 'string',
11856
+ };
11857
+ }
11858
+
11859
+ constructor(map?: { [key: string]: any }) {
11860
+ super(map);
11861
+ }
11862
+ }
11863
+
11864
+ export class ReplaceTradeUserpromiseRequest extends $tea.Model {
11865
+ // OAuth模式下的授权token
11866
+ authToken?: string;
11867
+ productInstanceId?: string;
11868
+ // json字符串
11869
+ bizContent: string;
11870
+ // order_id
11871
+ orderId: string;
11872
+ // 订单所属商户社会信用代码
11873
+ merchantId: string;
11874
+ static names(): { [key: string]: string } {
11875
+ return {
11876
+ authToken: 'auth_token',
11877
+ productInstanceId: 'product_instance_id',
11878
+ bizContent: 'biz_content',
11879
+ orderId: 'order_id',
11880
+ merchantId: 'merchant_id',
11881
+ };
11882
+ }
11883
+
11884
+ static types(): { [key: string]: any } {
11885
+ return {
11886
+ authToken: 'string',
11887
+ productInstanceId: 'string',
11888
+ bizContent: 'string',
11889
+ orderId: 'string',
11890
+ merchantId: 'string',
11891
+ };
11892
+ }
11893
+
11894
+ constructor(map?: { [key: string]: any }) {
11895
+ super(map);
11896
+ }
11897
+ }
11898
+
11899
+ export class ReplaceTradeUserpromiseResponse extends $tea.Model {
11900
+ // 请求唯一ID,用于链路跟踪和问题排查
11901
+ reqMsgId?: string;
11902
+ // 结果码,一般OK表示调用成功
11903
+ resultCode?: string;
11904
+ // 异常信息的文本描述
11905
+ resultMsg?: string;
11906
+ static names(): { [key: string]: string } {
11907
+ return {
11908
+ reqMsgId: 'req_msg_id',
11909
+ resultCode: 'result_code',
11910
+ resultMsg: 'result_msg',
11911
+ };
11912
+ }
11913
+
11914
+ static types(): { [key: string]: any } {
11915
+ return {
11916
+ reqMsgId: 'string',
11917
+ resultCode: 'string',
11918
+ resultMsg: 'string',
11919
+ };
11920
+ }
11921
+
11922
+ constructor(map?: { [key: string]: any }) {
11923
+ super(map);
11924
+ }
11925
+ }
11926
+
11927
+ export class ApplyTradeFinanceprecheckRequest extends $tea.Model {
11928
+ // OAuth模式下的授权token
11929
+ authToken?: string;
11930
+ productInstanceId?: string;
11931
+ // 订单id 长度大于6,小于50
11932
+ orderId: string;
11933
+ // 订单所属商户的社会信用代码
11934
+ merchantId: string;
11935
+ // 提交预审的资方的社会信用代码
11936
+ fundId: string;
11937
+ // 透传到资方,不做格式限制
11938
+ transparentInfo?: string;
11939
+ static names(): { [key: string]: string } {
11940
+ return {
11941
+ authToken: 'auth_token',
11942
+ productInstanceId: 'product_instance_id',
11943
+ orderId: 'order_id',
11944
+ merchantId: 'merchant_id',
11945
+ fundId: 'fund_id',
11946
+ transparentInfo: 'transparent_info',
10850
11947
  };
10851
11948
  }
10852
11949
 
@@ -10854,7 +11951,10 @@ export class SyncFrontIndirectorderRequest extends $tea.Model {
10854
11951
  return {
10855
11952
  authToken: 'string',
10856
11953
  productInstanceId: 'string',
10857
- bizContent: 'string',
11954
+ orderId: 'string',
11955
+ merchantId: 'string',
11956
+ fundId: 'string',
11957
+ transparentInfo: 'string',
10858
11958
  };
10859
11959
  }
10860
11960
 
@@ -10863,21 +11963,28 @@ export class SyncFrontIndirectorderRequest extends $tea.Model {
10863
11963
  }
10864
11964
  }
10865
11965
 
10866
- export class SyncFrontIndirectorderResponse extends $tea.Model {
11966
+ export class ApplyTradeFinanceprecheckResponse extends $tea.Model {
10867
11967
  // 请求唯一ID,用于链路跟踪和问题排查
10868
11968
  reqMsgId?: string;
10869
11969
  // 结果码,一般OK表示调用成功
10870
11970
  resultCode?: string;
10871
11971
  // 异常信息的文本描述
10872
11972
  resultMsg?: string;
10873
- // 返回值,json字符串
11973
+ // ● EXEMPTION : 资方免预审
11974
+ // ● SUBMIT_SUCCESS: 异步预审提交成功
10874
11975
  responseData?: string;
11976
+ // order_id
11977
+ orderId?: string;
11978
+ // merchant_id
11979
+ merchantId?: string;
10875
11980
  static names(): { [key: string]: string } {
10876
11981
  return {
10877
11982
  reqMsgId: 'req_msg_id',
10878
11983
  resultCode: 'result_code',
10879
11984
  resultMsg: 'result_msg',
10880
11985
  responseData: 'response_data',
11986
+ orderId: 'order_id',
11987
+ merchantId: 'merchant_id',
10881
11988
  };
10882
11989
  }
10883
11990
 
@@ -10887,6 +11994,8 @@ export class SyncFrontIndirectorderResponse extends $tea.Model {
10887
11994
  resultCode: 'string',
10888
11995
  resultMsg: 'string',
10889
11996
  responseData: 'string',
11997
+ orderId: 'string',
11998
+ merchantId: 'string',
10890
11999
  };
10891
12000
  }
10892
12001
 
@@ -10895,17 +12004,29 @@ export class SyncFrontIndirectorderResponse extends $tea.Model {
10895
12004
  }
10896
12005
  }
10897
12006
 
10898
- export class SyncTradeIndirectorderRequest extends $tea.Model {
12007
+ export class TransferTradeFinanceRequest extends $tea.Model {
10899
12008
  // OAuth模式下的授权token
10900
12009
  authToken?: string;
10901
12010
  productInstanceId?: string;
10902
- // 业务参数,json.toString
10903
- bizContent: string;
12011
+ // 订单id
12012
+ orderId: string;
12013
+ // 公司社会信用代码
12014
+ merchantId: string;
12015
+ // 待预审资方列表
12016
+ fundIdList: string[];
12017
+ // 融资签署模式
12018
+ fundSignMode: string;
12019
+ // 商户分账起始期数
12020
+ divideStartTermIndex: number;
10904
12021
  static names(): { [key: string]: string } {
10905
12022
  return {
10906
12023
  authToken: 'auth_token',
10907
12024
  productInstanceId: 'product_instance_id',
10908
- bizContent: 'biz_content',
12025
+ orderId: 'order_id',
12026
+ merchantId: 'merchant_id',
12027
+ fundIdList: 'fund_id_list',
12028
+ fundSignMode: 'fund_sign_mode',
12029
+ divideStartTermIndex: 'divide_start_term_index',
10909
12030
  };
10910
12031
  }
10911
12032
 
@@ -10913,7 +12034,11 @@ export class SyncTradeIndirectorderRequest extends $tea.Model {
10913
12034
  return {
10914
12035
  authToken: 'string',
10915
12036
  productInstanceId: 'string',
10916
- bizContent: 'string',
12037
+ orderId: 'string',
12038
+ merchantId: 'string',
12039
+ fundIdList: { 'type': 'array', 'itemType': 'string' },
12040
+ fundSignMode: 'string',
12041
+ divideStartTermIndex: 'number',
10917
12042
  };
10918
12043
  }
10919
12044
 
@@ -10922,21 +12047,30 @@ export class SyncTradeIndirectorderRequest extends $tea.Model {
10922
12047
  }
10923
12048
  }
10924
12049
 
10925
- export class SyncTradeIndirectorderResponse extends $tea.Model {
12050
+ export class TransferTradeFinanceResponse extends $tea.Model {
10926
12051
  // 请求唯一ID,用于链路跟踪和问题排查
10927
12052
  reqMsgId?: string;
10928
12053
  // 结果码,一般OK表示调用成功
10929
12054
  resultCode?: string;
10930
12055
  // 异常信息的文本描述
10931
12056
  resultMsg?: string;
10932
- // 返回业务参数,json.toString
10933
- responseData?: string;
12057
+ // order_id
12058
+ orderId?: string;
12059
+ // merchant_id
12060
+ merchantId?: string;
12061
+ // jsonArray.toString
12062
+ fundCandidates?: string;
12063
+ // 转融资结果
12064
+ transferResult?: string;
10934
12065
  static names(): { [key: string]: string } {
10935
12066
  return {
10936
12067
  reqMsgId: 'req_msg_id',
10937
12068
  resultCode: 'result_code',
10938
12069
  resultMsg: 'result_msg',
10939
- responseData: 'response_data',
12070
+ orderId: 'order_id',
12071
+ merchantId: 'merchant_id',
12072
+ fundCandidates: 'fund_candidates',
12073
+ transferResult: 'transfer_result',
10940
12074
  };
10941
12075
  }
10942
12076
 
@@ -10945,7 +12079,10 @@ export class SyncTradeIndirectorderResponse extends $tea.Model {
10945
12079
  reqMsgId: 'string',
10946
12080
  resultCode: 'string',
10947
12081
  resultMsg: 'string',
10948
- responseData: 'string',
12082
+ orderId: 'string',
12083
+ merchantId: 'string',
12084
+ fundCandidates: 'string',
12085
+ transferResult: 'string',
10949
12086
  };
10950
12087
  }
10951
12088
 
@@ -10954,23 +12091,23 @@ export class SyncTradeIndirectorderResponse extends $tea.Model {
10954
12091
  }
10955
12092
  }
10956
12093
 
10957
- export class ReplaceTradeUserpromiseRequest extends $tea.Model {
12094
+ export class UpdateTradeOrderRequest extends $tea.Model {
10958
12095
  // OAuth模式下的授权token
10959
12096
  authToken?: string;
10960
12097
  productInstanceId?: string;
10961
- // json字符串
10962
- bizContent: string;
10963
12098
  // order_id
10964
12099
  orderId: string;
10965
- // 订单所属商户社会信用代码
12100
+ // merchant_id
10966
12101
  merchantId: string;
12102
+ // json字符串
12103
+ updateOrderInfo: string;
10967
12104
  static names(): { [key: string]: string } {
10968
12105
  return {
10969
12106
  authToken: 'auth_token',
10970
12107
  productInstanceId: 'product_instance_id',
10971
- bizContent: 'biz_content',
10972
12108
  orderId: 'order_id',
10973
12109
  merchantId: 'merchant_id',
12110
+ updateOrderInfo: 'update_order_info',
10974
12111
  };
10975
12112
  }
10976
12113
 
@@ -10978,9 +12115,9 @@ export class ReplaceTradeUserpromiseRequest extends $tea.Model {
10978
12115
  return {
10979
12116
  authToken: 'string',
10980
12117
  productInstanceId: 'string',
10981
- bizContent: 'string',
10982
12118
  orderId: 'string',
10983
12119
  merchantId: 'string',
12120
+ updateOrderInfo: 'string',
10984
12121
  };
10985
12122
  }
10986
12123
 
@@ -10989,18 +12126,24 @@ export class ReplaceTradeUserpromiseRequest extends $tea.Model {
10989
12126
  }
10990
12127
  }
10991
12128
 
10992
- export class ReplaceTradeUserpromiseResponse extends $tea.Model {
12129
+ export class UpdateTradeOrderResponse extends $tea.Model {
10993
12130
  // 请求唯一ID,用于链路跟踪和问题排查
10994
12131
  reqMsgId?: string;
10995
12132
  // 结果码,一般OK表示调用成功
10996
12133
  resultCode?: string;
10997
12134
  // 异常信息的文本描述
10998
12135
  resultMsg?: string;
12136
+ // order_id
12137
+ orderId?: string;
12138
+ // merchant_id
12139
+ merchantId?: string;
10999
12140
  static names(): { [key: string]: string } {
11000
12141
  return {
11001
12142
  reqMsgId: 'req_msg_id',
11002
12143
  resultCode: 'result_code',
11003
12144
  resultMsg: 'result_msg',
12145
+ orderId: 'order_id',
12146
+ merchantId: 'merchant_id',
11004
12147
  };
11005
12148
  }
11006
12149
 
@@ -11009,6 +12152,8 @@ export class ReplaceTradeUserpromiseResponse extends $tea.Model {
11009
12152
  reqMsgId: 'string',
11010
12153
  resultCode: 'string',
11011
12154
  resultMsg: 'string',
12155
+ orderId: 'string',
12156
+ merchantId: 'string',
11012
12157
  };
11013
12158
  }
11014
12159
 
@@ -11017,26 +12162,23 @@ export class ReplaceTradeUserpromiseResponse extends $tea.Model {
11017
12162
  }
11018
12163
  }
11019
12164
 
11020
- export class ApplyTradeFinanceprecheckRequest extends $tea.Model {
12165
+ export class AddTradeFinanceprecheckRequest extends $tea.Model {
11021
12166
  // OAuth模式下的授权token
11022
12167
  authToken?: string;
11023
12168
  productInstanceId?: string;
11024
- // 订单id 长度大于6,小于50
12169
+ // order_id
11025
12170
  orderId: string;
11026
- // 订单所属商户的社会信用代码
12171
+ // merchant_id
11027
12172
  merchantId: string;
11028
- // 提交预审的资方的社会信用代码
11029
- fundId: string;
11030
- // 透传到资方,不做格式限制
11031
- transparentInfo?: string;
12173
+ // ["1","2"]
12174
+ fundIdList: string[];
11032
12175
  static names(): { [key: string]: string } {
11033
12176
  return {
11034
12177
  authToken: 'auth_token',
11035
12178
  productInstanceId: 'product_instance_id',
11036
12179
  orderId: 'order_id',
11037
12180
  merchantId: 'merchant_id',
11038
- fundId: 'fund_id',
11039
- transparentInfo: 'transparent_info',
12181
+ fundIdList: 'fund_id_list',
11040
12182
  };
11041
12183
  }
11042
12184
 
@@ -11046,8 +12188,7 @@ export class ApplyTradeFinanceprecheckRequest extends $tea.Model {
11046
12188
  productInstanceId: 'string',
11047
12189
  orderId: 'string',
11048
12190
  merchantId: 'string',
11049
- fundId: 'string',
11050
- transparentInfo: 'string',
12191
+ fundIdList: { 'type': 'array', 'itemType': 'string' },
11051
12192
  };
11052
12193
  }
11053
12194
 
@@ -11056,28 +12197,28 @@ export class ApplyTradeFinanceprecheckRequest extends $tea.Model {
11056
12197
  }
11057
12198
  }
11058
12199
 
11059
- export class ApplyTradeFinanceprecheckResponse extends $tea.Model {
12200
+ export class AddTradeFinanceprecheckResponse extends $tea.Model {
11060
12201
  // 请求唯一ID,用于链路跟踪和问题排查
11061
12202
  reqMsgId?: string;
11062
12203
  // 结果码,一般OK表示调用成功
11063
12204
  resultCode?: string;
11064
12205
  // 异常信息的文本描述
11065
12206
  resultMsg?: string;
11066
- // ● EXEMPTION : 资方免预审
11067
- // ● SUBMIT_SUCCESS: 异步预审提交成功
11068
- responseData?: string;
11069
- // order_id
11070
- orderId?: string;
11071
12207
  // merchant_id
11072
12208
  merchantId?: string;
12209
+ // order_id
12210
+ orderId?: string;
12211
+ // fund_candidates
12212
+ // List<FundCompanyInfo> 的jsonArray.toString
12213
+ fundCandidates?: string;
11073
12214
  static names(): { [key: string]: string } {
11074
12215
  return {
11075
12216
  reqMsgId: 'req_msg_id',
11076
12217
  resultCode: 'result_code',
11077
12218
  resultMsg: 'result_msg',
11078
- responseData: 'response_data',
11079
- orderId: 'order_id',
11080
12219
  merchantId: 'merchant_id',
12220
+ orderId: 'order_id',
12221
+ fundCandidates: 'fund_candidates',
11081
12222
  };
11082
12223
  }
11083
12224
 
@@ -11086,9 +12227,9 @@ export class ApplyTradeFinanceprecheckResponse extends $tea.Model {
11086
12227
  reqMsgId: 'string',
11087
12228
  resultCode: 'string',
11088
12229
  resultMsg: 'string',
11089
- responseData: 'string',
11090
- orderId: 'string',
11091
12230
  merchantId: 'string',
12231
+ orderId: 'string',
12232
+ fundCandidates: 'string',
11092
12233
  };
11093
12234
  }
11094
12235
 
@@ -11097,29 +12238,20 @@ export class ApplyTradeFinanceprecheckResponse extends $tea.Model {
11097
12238
  }
11098
12239
  }
11099
12240
 
11100
- export class TransferTradeFinanceRequest extends $tea.Model {
12241
+ export class GetTradeOrderfinanceinfoRequest extends $tea.Model {
11101
12242
  // OAuth模式下的授权token
11102
12243
  authToken?: string;
11103
12244
  productInstanceId?: string;
11104
- // 订单id
12245
+ // 订单Id
11105
12246
  orderId: string;
11106
- // 公司社会信用代码
12247
+ // 商户社会信用代码
11107
12248
  merchantId: string;
11108
- // 待预审资方列表
11109
- fundIdList: string[];
11110
- // 融资签署模式
11111
- fundSignMode: string;
11112
- // 商户分账起始期数
11113
- divideStartTermIndex: number;
11114
12249
  static names(): { [key: string]: string } {
11115
12250
  return {
11116
12251
  authToken: 'auth_token',
11117
12252
  productInstanceId: 'product_instance_id',
11118
12253
  orderId: 'order_id',
11119
12254
  merchantId: 'merchant_id',
11120
- fundIdList: 'fund_id_list',
11121
- fundSignMode: 'fund_sign_mode',
11122
- divideStartTermIndex: 'divide_start_term_index',
11123
12255
  };
11124
12256
  }
11125
12257
 
@@ -11129,9 +12261,6 @@ export class TransferTradeFinanceRequest extends $tea.Model {
11129
12261
  productInstanceId: 'string',
11130
12262
  orderId: 'string',
11131
12263
  merchantId: 'string',
11132
- fundIdList: { 'type': 'array', 'itemType': 'string' },
11133
- fundSignMode: 'string',
11134
- divideStartTermIndex: 'number',
11135
12264
  };
11136
12265
  }
11137
12266
 
@@ -11140,30 +12269,21 @@ export class TransferTradeFinanceRequest extends $tea.Model {
11140
12269
  }
11141
12270
  }
11142
12271
 
11143
- export class TransferTradeFinanceResponse extends $tea.Model {
12272
+ export class GetTradeOrderfinanceinfoResponse extends $tea.Model {
11144
12273
  // 请求唯一ID,用于链路跟踪和问题排查
11145
12274
  reqMsgId?: string;
11146
12275
  // 结果码,一般OK表示调用成功
11147
12276
  resultCode?: string;
11148
12277
  // 异常信息的文本描述
11149
12278
  resultMsg?: string;
11150
- // order_id
11151
- orderId?: string;
11152
- // merchant_id
11153
- merchantId?: string;
11154
- // jsonArray.toString
11155
- fundCandidates?: string;
11156
- // 转融资结果
11157
- transferResult?: string;
12279
+ // 订单融资信息
12280
+ responseData?: string;
11158
12281
  static names(): { [key: string]: string } {
11159
12282
  return {
11160
12283
  reqMsgId: 'req_msg_id',
11161
12284
  resultCode: 'result_code',
11162
12285
  resultMsg: 'result_msg',
11163
- orderId: 'order_id',
11164
- merchantId: 'merchant_id',
11165
- fundCandidates: 'fund_candidates',
11166
- transferResult: 'transfer_result',
12286
+ responseData: 'response_data',
11167
12287
  };
11168
12288
  }
11169
12289
 
@@ -11172,10 +12292,7 @@ export class TransferTradeFinanceResponse extends $tea.Model {
11172
12292
  reqMsgId: 'string',
11173
12293
  resultCode: 'string',
11174
12294
  resultMsg: 'string',
11175
- orderId: 'string',
11176
- merchantId: 'string',
11177
- fundCandidates: 'string',
11178
- transferResult: 'string',
12295
+ responseData: 'string',
11179
12296
  };
11180
12297
  }
11181
12298
 
@@ -11481,12 +12598,12 @@ export class RepayWithholdPlanRequest extends $tea.Model {
11481
12598
  productInstanceId?: string;
11482
12599
  // 订单id 长度不可超过50
11483
12600
  orderId: string;
11484
- // 第几期
11485
- periodNum: number;
11486
- // 其他方式还款的时间
11487
- gmtPay: string;
12601
+ // 第几期,单期取消必填
12602
+ periodNum?: number;
12603
+ // 取消订单某一期代扣计划中以其他方式还款金额,单位为分,单期取消必填
12604
+ gmtPay?: string;
11488
12605
  // 取消订单某一期代扣计划中以其他方式还款金额,单位为分
11489
- payOffAmount: number;
12606
+ payOffAmount?: number;
11490
12607
  // 变更其他方式还款
11491
12608
  // WECHAT:微信;
11492
12609
  // BANK:银行
@@ -11496,6 +12613,12 @@ export class RepayWithholdPlanRequest extends $tea.Model {
11496
12613
  payOffNo?: string;
11497
12614
  // 其他方式还款银行名称,还款方式为银行时必填
11498
12615
  payOffBankName?: string;
12616
+ // 操作,默认为单期取消;
12617
+ // 多期取消:MULTI_CANCEL
12618
+ // 单期取消:SINGLE_CANCEL
12619
+ operation?: string;
12620
+ // 取消列表,多期取消必填
12621
+ cancelList?: SingleCancelModel[];
11499
12622
  static names(): { [key: string]: string } {
11500
12623
  return {
11501
12624
  authToken: 'auth_token',
@@ -11507,6 +12630,8 @@ export class RepayWithholdPlanRequest extends $tea.Model {
11507
12630
  payOffType: 'pay_off_type',
11508
12631
  payOffNo: 'pay_off_no',
11509
12632
  payOffBankName: 'pay_off_bank_name',
12633
+ operation: 'operation',
12634
+ cancelList: 'cancel_list',
11510
12635
  };
11511
12636
  }
11512
12637
 
@@ -11521,6 +12646,8 @@ export class RepayWithholdPlanRequest extends $tea.Model {
11521
12646
  payOffType: 'string',
11522
12647
  payOffNo: 'string',
11523
12648
  payOffBankName: 'string',
12649
+ operation: 'string',
12650
+ cancelList: { 'type': 'array', 'itemType': SingleCancelModel },
11524
12651
  };
11525
12652
  }
11526
12653
 
@@ -12397,7 +13524,7 @@ export default class Client {
12397
13524
  req_msg_id: AntchainUtil.getNonce(),
12398
13525
  access_key: this._accessKeyId,
12399
13526
  base_sdk_version: "TeaSDK-2.0",
12400
- sdk_version: "1.11.2",
13527
+ sdk_version: "1.12.11",
12401
13528
  _prod_code: "ATO",
12402
13529
  _prod_channel: "undefined",
12403
13530
  };
@@ -12885,6 +14012,25 @@ export default class Client {
12885
14012
  return $tea.cast<QueryFundCompensateaccountResponse>(await this.doRequest("1.0", "antchain.ato.fund.compensateaccount.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFundCompensateaccountResponse({}));
12886
14013
  }
12887
14014
 
14015
+ /**
14016
+ * Description: 资方查询订单融资信息
14017
+ * Summary: 资方查询订单融资信息
14018
+ */
14019
+ async getFundOrderfinanceinfo(request: GetFundOrderfinanceinfoRequest): Promise<GetFundOrderfinanceinfoResponse> {
14020
+ let runtime = new $Util.RuntimeOptions({ });
14021
+ let headers : {[key: string ]: string} = { };
14022
+ return await this.getFundOrderfinanceinfoEx(request, headers, runtime);
14023
+ }
14024
+
14025
+ /**
14026
+ * Description: 资方查询订单融资信息
14027
+ * Summary: 资方查询订单融资信息
14028
+ */
14029
+ async getFundOrderfinanceinfoEx(request: GetFundOrderfinanceinfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetFundOrderfinanceinfoResponse> {
14030
+ Util.validateModel(request);
14031
+ return $tea.cast<GetFundOrderfinanceinfoResponse>(await this.doRequest("1.0", "antchain.ato.fund.orderfinanceinfo.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetFundOrderfinanceinfoResponse({}));
14032
+ }
14033
+
12888
14034
  /**
12889
14035
  * Description: 内部调用,商品信息获取
12890
14036
  * Summary: 商品信息获取
@@ -14141,6 +15287,63 @@ export default class Client {
14141
15287
  return $tea.cast<QueryInnerTemplateinstanceResponse>(await this.doRequest("1.0", "antchain.ato.inner.templateinstance.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerTemplateinstanceResponse({}));
14142
15288
  }
14143
15289
 
15290
+ /**
15291
+ * Description: 查询租户类目信息详情
15292
+ * Summary: 查询租户类目信息详情
15293
+ */
15294
+ async queryInnerTenantindirectmainclass(request: QueryInnerTenantindirectmainclassRequest): Promise<QueryInnerTenantindirectmainclassResponse> {
15295
+ let runtime = new $Util.RuntimeOptions({ });
15296
+ let headers : {[key: string ]: string} = { };
15297
+ return await this.queryInnerTenantindirectmainclassEx(request, headers, runtime);
15298
+ }
15299
+
15300
+ /**
15301
+ * Description: 查询租户类目信息详情
15302
+ * Summary: 查询租户类目信息详情
15303
+ */
15304
+ async queryInnerTenantindirectmainclassEx(request: QueryInnerTenantindirectmainclassRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInnerTenantindirectmainclassResponse> {
15305
+ Util.validateModel(request);
15306
+ return $tea.cast<QueryInnerTenantindirectmainclassResponse>(await this.doRequest("1.0", "antchain.ato.inner.tenantindirectmainclass.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerTenantindirectmainclassResponse({}));
15307
+ }
15308
+
15309
+ /**
15310
+ * Description: 修改租户间联类目类目信息
15311
+ * Summary: 修改租户间联类目类目信息
15312
+ */
15313
+ async updateInnerTenantindirectmainclass(request: UpdateInnerTenantindirectmainclassRequest): Promise<UpdateInnerTenantindirectmainclassResponse> {
15314
+ let runtime = new $Util.RuntimeOptions({ });
15315
+ let headers : {[key: string ]: string} = { };
15316
+ return await this.updateInnerTenantindirectmainclassEx(request, headers, runtime);
15317
+ }
15318
+
15319
+ /**
15320
+ * Description: 修改租户间联类目类目信息
15321
+ * Summary: 修改租户间联类目类目信息
15322
+ */
15323
+ async updateInnerTenantindirectmainclassEx(request: UpdateInnerTenantindirectmainclassRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateInnerTenantindirectmainclassResponse> {
15324
+ Util.validateModel(request);
15325
+ return $tea.cast<UpdateInnerTenantindirectmainclassResponse>(await this.doRequest("1.0", "antchain.ato.inner.tenantindirectmainclass.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateInnerTenantindirectmainclassResponse({}));
15326
+ }
15327
+
15328
+ /**
15329
+ * Description: 模板同步上线时强管控字段校验未通过提交后台审核
15330
+ * Summary: 模板同步上线审核提交
15331
+ */
15332
+ async submitInnerTemplatesyncreview(request: SubmitInnerTemplatesyncreviewRequest): Promise<SubmitInnerTemplatesyncreviewResponse> {
15333
+ let runtime = new $Util.RuntimeOptions({ });
15334
+ let headers : {[key: string ]: string} = { };
15335
+ return await this.submitInnerTemplatesyncreviewEx(request, headers, runtime);
15336
+ }
15337
+
15338
+ /**
15339
+ * Description: 模板同步上线时强管控字段校验未通过提交后台审核
15340
+ * Summary: 模板同步上线审核提交
15341
+ */
15342
+ async submitInnerTemplatesyncreviewEx(request: SubmitInnerTemplatesyncreviewRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SubmitInnerTemplatesyncreviewResponse> {
15343
+ Util.validateModel(request);
15344
+ return $tea.cast<SubmitInnerTemplatesyncreviewResponse>(await this.doRequest("1.0", "antchain.ato.inner.templatesyncreview.submit", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SubmitInnerTemplatesyncreviewResponse({}));
15345
+ }
15346
+
14144
15347
  /**
14145
15348
  * Description: 一键投保
14146
15349
  * Summary: 投保
@@ -14331,6 +15534,25 @@ export default class Client {
14331
15534
  return $tea.cast<QueryRiskResponse>(await this.doRequest("1.0", "antchain.ato.risk.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryRiskResponse({}));
14332
15535
  }
14333
15536
 
15537
+ /**
15538
+ * Description: 云 api 发起风控分析,获取风险评估
15539
+ * Summary: 云 api 发起风控分析,获取风险评估
15540
+ */
15541
+ async queryRiskGo(request: QueryRiskGoRequest): Promise<QueryRiskGoResponse> {
15542
+ let runtime = new $Util.RuntimeOptions({ });
15543
+ let headers : {[key: string ]: string} = { };
15544
+ return await this.queryRiskGoEx(request, headers, runtime);
15545
+ }
15546
+
15547
+ /**
15548
+ * Description: 云 api 发起风控分析,获取风险评估
15549
+ * Summary: 云 api 发起风控分析,获取风险评估
15550
+ */
15551
+ async queryRiskGoEx(request: QueryRiskGoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRiskGoResponse> {
15552
+ Util.validateModel(request);
15553
+ return $tea.cast<QueryRiskGoResponse>(await this.doRequest("1.0", "antchain.ato.risk.go.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryRiskGoResponse({}));
15554
+ }
15555
+
14334
15556
  /**
14335
15557
  * Description: 电子合同签署的合同模板查询服务
14336
15558
  * Summary: 电子合同签署的合同模板查询服务
@@ -14831,6 +16053,63 @@ export default class Client {
14831
16053
  return $tea.cast<TransferTradeFinanceResponse>(await this.doRequest("1.0", "antchain.ato.trade.finance.transfer", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new TransferTradeFinanceResponse({}));
14832
16054
  }
14833
16055
 
16056
+ /**
16057
+ * Description: 更新订单信息
16058
+ * Summary: 更新订单信息
16059
+ */
16060
+ async updateTradeOrder(request: UpdateTradeOrderRequest): Promise<UpdateTradeOrderResponse> {
16061
+ let runtime = new $Util.RuntimeOptions({ });
16062
+ let headers : {[key: string ]: string} = { };
16063
+ return await this.updateTradeOrderEx(request, headers, runtime);
16064
+ }
16065
+
16066
+ /**
16067
+ * Description: 更新订单信息
16068
+ * Summary: 更新订单信息
16069
+ */
16070
+ async updateTradeOrderEx(request: UpdateTradeOrderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateTradeOrderResponse> {
16071
+ Util.validateModel(request);
16072
+ return $tea.cast<UpdateTradeOrderResponse>(await this.doRequest("1.0", "antchain.ato.trade.order.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateTradeOrderResponse({}));
16073
+ }
16074
+
16075
+ /**
16076
+ * Description: 融资订单追加预审资金方
16077
+ * Summary: 融资订单追加预审资金方
16078
+ */
16079
+ async addTradeFinanceprecheck(request: AddTradeFinanceprecheckRequest): Promise<AddTradeFinanceprecheckResponse> {
16080
+ let runtime = new $Util.RuntimeOptions({ });
16081
+ let headers : {[key: string ]: string} = { };
16082
+ return await this.addTradeFinanceprecheckEx(request, headers, runtime);
16083
+ }
16084
+
16085
+ /**
16086
+ * Description: 融资订单追加预审资金方
16087
+ * Summary: 融资订单追加预审资金方
16088
+ */
16089
+ async addTradeFinanceprecheckEx(request: AddTradeFinanceprecheckRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AddTradeFinanceprecheckResponse> {
16090
+ Util.validateModel(request);
16091
+ return $tea.cast<AddTradeFinanceprecheckResponse>(await this.doRequest("1.0", "antchain.ato.trade.financeprecheck.add", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new AddTradeFinanceprecheckResponse({}));
16092
+ }
16093
+
16094
+ /**
16095
+ * Description: 订单融资信息查询接口
16096
+ * Summary: 订单融资信息查询接口
16097
+ */
16098
+ async getTradeOrderfinanceinfo(request: GetTradeOrderfinanceinfoRequest): Promise<GetTradeOrderfinanceinfoResponse> {
16099
+ let runtime = new $Util.RuntimeOptions({ });
16100
+ let headers : {[key: string ]: string} = { };
16101
+ return await this.getTradeOrderfinanceinfoEx(request, headers, runtime);
16102
+ }
16103
+
16104
+ /**
16105
+ * Description: 订单融资信息查询接口
16106
+ * Summary: 订单融资信息查询接口
16107
+ */
16108
+ async getTradeOrderfinanceinfoEx(request: GetTradeOrderfinanceinfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetTradeOrderfinanceinfoResponse> {
16109
+ Util.validateModel(request);
16110
+ return $tea.cast<GetTradeOrderfinanceinfoResponse>(await this.doRequest("1.0", "antchain.ato.trade.orderfinanceinfo.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetTradeOrderfinanceinfoResponse({}));
16111
+ }
16112
+
14834
16113
  /**
14835
16114
  * Description: 代扣签约创建
14836
16115
  * Summary: 代扣签约
@@ -14909,9 +16188,9 @@ export default class Client {
14909
16188
 
14910
16189
  /**
14911
16190
  * Description: 重要说明:
14912
- 1. 这个接口是取消订单某一期代扣计划中以其他方式还款的金额,取消之后代扣不再执行该期计划。
16191
+ 1. 这个接口是取消订单某一、多期代扣计划中以其他方式还款的金额,取消之后代扣不再执行该期计划。
14913
16192
  2. 对通过其他方式还款的第三方单号留存;例如:银行流水号或微信流水号。
14914
- * Summary: 单期代扣取消
16193
+ * Summary: 单期多期代扣取消
14915
16194
  */
14916
16195
  async repayWithholdPlan(request: RepayWithholdPlanRequest): Promise<RepayWithholdPlanResponse> {
14917
16196
  let runtime = new $Util.RuntimeOptions({ });
@@ -14921,9 +16200,9 @@ export default class Client {
14921
16200
 
14922
16201
  /**
14923
16202
  * Description: 重要说明:
14924
- 1. 这个接口是取消订单某一期代扣计划中以其他方式还款的金额,取消之后代扣不再执行该期计划。
16203
+ 1. 这个接口是取消订单某一、多期代扣计划中以其他方式还款的金额,取消之后代扣不再执行该期计划。
14925
16204
  2. 对通过其他方式还款的第三方单号留存;例如:银行流水号或微信流水号。
14926
- * Summary: 单期代扣取消
16205
+ * Summary: 单期多期代扣取消
14927
16206
  */
14928
16207
  async repayWithholdPlanEx(request: RepayWithholdPlanRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RepayWithholdPlanResponse> {
14929
16208
  Util.validateModel(request);