@antchain/ato 1.14.28 → 1.14.40

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
@@ -365,6 +365,39 @@ export class AppletRiskModel extends $tea.Model {
365
365
  }
366
366
  }
367
367
 
368
+ // 进件流程信息
369
+ export class ExpandProcessInfo extends $tea.Model {
370
+ // TENANT_INDIRECT_MAINCLASS(间联类目)
371
+ // TENANT_ENDPOINT(回调地址)
372
+ // CUSTOM_SERVICE_INFO(客服信息)
373
+ // AGENTCUSTOMERPESONINFO(间联客诉人员)
374
+ // MERCHANT_EXPAND(商户进件)
375
+ processNode?: string;
376
+ // 是否已提交
377
+ isSubmitted?: boolean;
378
+ // 审核通过
379
+ auditStatus?: string;
380
+ static names(): { [key: string]: string } {
381
+ return {
382
+ processNode: 'process_node',
383
+ isSubmitted: 'is_submitted',
384
+ auditStatus: 'audit_status',
385
+ };
386
+ }
387
+
388
+ static types(): { [key: string]: any } {
389
+ return {
390
+ processNode: 'string',
391
+ isSubmitted: 'boolean',
392
+ auditStatus: 'string',
393
+ };
394
+ }
395
+
396
+ constructor(map?: { [key: string]: any }) {
397
+ super(map);
398
+ }
399
+ }
400
+
368
401
  // 分账关系绑定收入方信息
369
402
  export class DivideBindingTransInInfo extends $tea.Model {
370
403
  // 分账方支付宝pid
@@ -808,33 +841,33 @@ export class FundAssertReport extends $tea.Model {
808
841
  averageTerm: string;
809
842
  // 状态为取消的账单金额
810
843
  cancelledBillAmount: number;
811
- // 状态为逾期1天及以上的账单金额
812
- billAmountOverdueBy1dayOrMore: number;
813
- // 状态为逾期30天及以上的账单金额
814
- billAmountOverdueBy30DaysOrMore: number;
815
844
  // Y期的订单的账单金额
816
845
  totalBillAmountYPeriod: number;
817
846
  // 已到Y期订单中Y期平均期限(y期订单的平均期限)
818
847
  averageTermYPeriod: string;
819
848
  // Y期的订单中状态为取消的账单金额
820
849
  cancelledBillAmountYPeriod: number;
850
+ // 状态为逾期1天及以上的账单金额
851
+ billAmountOverdueBy1dayOrMore: string;
821
852
  // Y期的订单中状态为逾期1天及以上的账单金额
822
- billAmountOverdueBy1dayOrMoreYPeriod: number;
853
+ billAmountOverdueBy1dayOrMoreYPeriod: string;
854
+ // 状态为逾期30天及以上的账单金额
855
+ billAmountOverdueBy30DaysOrMore: string;
823
856
  // Y期的订单中状态为逾期30天及以上的账单金额
824
- billAmountOverdueBy30DaysOrMoreYPeriod: number;
857
+ billAmountOverdueBy30DaysOrMoreYPeriod: string;
825
858
  static names(): { [key: string]: string } {
826
859
  return {
827
860
  deliveryMonth: 'delivery_month',
828
861
  totalBillAmount: 'total_bill_amount',
829
862
  averageTerm: 'average_term',
830
863
  cancelledBillAmount: 'cancelled_bill_amount',
831
- billAmountOverdueBy1dayOrMore: 'bill_amount_overdue_by_1day_or_more',
832
- billAmountOverdueBy30DaysOrMore: 'bill_amount_overdue_by_30_days_or_more',
833
864
  totalBillAmountYPeriod: 'total_bill_amount_y_period',
834
865
  averageTermYPeriod: 'average_term_y_period',
835
866
  cancelledBillAmountYPeriod: 'cancelled_bill_amount_y_period',
836
- billAmountOverdueBy1dayOrMoreYPeriod: 'bill_amount_overdue_by_1day_or_more_y_period',
837
- billAmountOverdueBy30DaysOrMoreYPeriod: 'bill_amount_overdue_by_30_days_or_more_y_period',
867
+ billAmountOverdueBy1dayOrMore: 'bill_amount_overdue_by1day_or_more',
868
+ billAmountOverdueBy1dayOrMoreYPeriod: 'bill_amount_overdue_by1day_or_more_y_period',
869
+ billAmountOverdueBy30DaysOrMore: 'bill_amount_overdue_by30_days_or_more',
870
+ billAmountOverdueBy30DaysOrMoreYPeriod: 'bill_amount_overdue_by30_days_or_more_y_period',
838
871
  };
839
872
  }
840
873
 
@@ -844,13 +877,13 @@ export class FundAssertReport extends $tea.Model {
844
877
  totalBillAmount: 'number',
845
878
  averageTerm: 'string',
846
879
  cancelledBillAmount: 'number',
847
- billAmountOverdueBy1dayOrMore: 'number',
848
- billAmountOverdueBy30DaysOrMore: 'number',
849
880
  totalBillAmountYPeriod: 'number',
850
881
  averageTermYPeriod: 'string',
851
882
  cancelledBillAmountYPeriod: 'number',
852
- billAmountOverdueBy1dayOrMoreYPeriod: 'number',
853
- billAmountOverdueBy30DaysOrMoreYPeriod: 'number',
883
+ billAmountOverdueBy1dayOrMore: 'string',
884
+ billAmountOverdueBy1dayOrMoreYPeriod: 'string',
885
+ billAmountOverdueBy30DaysOrMore: 'string',
886
+ billAmountOverdueBy30DaysOrMoreYPeriod: 'string',
854
887
  };
855
888
  }
856
889
 
@@ -1224,6 +1257,31 @@ export class CompanyInfoUpdate extends $tea.Model {
1224
1257
  }
1225
1258
  }
1226
1259
 
1260
+ // 公司概要信息
1261
+ export class CompanySummaryInfo extends $tea.Model {
1262
+ // 社会统一信用代码
1263
+ merchantId?: string;
1264
+ // 公司名称
1265
+ merchantName?: string;
1266
+ static names(): { [key: string]: string } {
1267
+ return {
1268
+ merchantId: 'merchant_id',
1269
+ merchantName: 'merchant_name',
1270
+ };
1271
+ }
1272
+
1273
+ static types(): { [key: string]: any } {
1274
+ return {
1275
+ merchantId: 'string',
1276
+ merchantName: 'string',
1277
+ };
1278
+ }
1279
+
1280
+ constructor(map?: { [key: string]: any }) {
1281
+ super(map);
1282
+ }
1283
+ }
1284
+
1227
1285
  // 订单搜索信息
1228
1286
  export class OrderSearchInfo extends $tea.Model {
1229
1287
  // 订单id
@@ -2067,6 +2125,55 @@ export class OrderMsgInfo extends $tea.Model {
2067
2125
  }
2068
2126
  }
2069
2127
 
2128
+ // 数据下载信息
2129
+ export class DataDownloadInfo extends $tea.Model {
2130
+ // 商户社会统一信用代码
2131
+ merchantId?: string;
2132
+ // 流水号
2133
+ bizNo?: string;
2134
+ // 状态
2135
+ status?: string;
2136
+ // TRADE_PROMISE_BILL: 交易履约账单
2137
+ type?: string;
2138
+ // 筛选开始时间
2139
+ startTime?: string;
2140
+ // 筛选结束时间
2141
+ endTime?: string;
2142
+ // 任务创建时间
2143
+ createTime?: string;
2144
+ // 下载结果
2145
+ resultInfo?: string;
2146
+ static names(): { [key: string]: string } {
2147
+ return {
2148
+ merchantId: 'merchant_id',
2149
+ bizNo: 'biz_no',
2150
+ status: 'status',
2151
+ type: 'type',
2152
+ startTime: 'start_time',
2153
+ endTime: 'end_time',
2154
+ createTime: 'create_time',
2155
+ resultInfo: 'result_info',
2156
+ };
2157
+ }
2158
+
2159
+ static types(): { [key: string]: any } {
2160
+ return {
2161
+ merchantId: 'string',
2162
+ bizNo: 'string',
2163
+ status: 'string',
2164
+ type: 'string',
2165
+ startTime: 'string',
2166
+ endTime: 'string',
2167
+ createTime: 'string',
2168
+ resultInfo: 'string',
2169
+ };
2170
+ }
2171
+
2172
+ constructor(map?: { [key: string]: any }) {
2173
+ super(map);
2174
+ }
2175
+ }
2176
+
2070
2177
  // 客诉处理人员信息
2071
2178
  export class CustomerPersonInfo extends $tea.Model {
2072
2179
  // 客诉处理员支付宝账号
@@ -5478,6 +5585,148 @@ export class RepayFundPlanResponse extends $tea.Model {
5478
5585
  }
5479
5586
  }
5480
5587
 
5588
+ export class GetFundCompensatesignurlRequest extends $tea.Model {
5589
+ // OAuth模式下的授权token
5590
+ authToken?: string;
5591
+ productInstanceId?: string;
5592
+ // 资方社会统一信用代码
5593
+ fundId: string;
5594
+ // 商户租户id
5595
+ merchantTenantId: string;
5596
+ // 商户社会统一信用代码
5597
+ merchantId: string;
5598
+ // 签约串类型
5599
+ // TRANSFER:转账代偿签约串
5600
+ // WITHHOLD:代扣代偿签约串
5601
+ type: string;
5602
+ static names(): { [key: string]: string } {
5603
+ return {
5604
+ authToken: 'auth_token',
5605
+ productInstanceId: 'product_instance_id',
5606
+ fundId: 'fund_id',
5607
+ merchantTenantId: 'merchant_tenant_id',
5608
+ merchantId: 'merchant_id',
5609
+ type: 'type',
5610
+ };
5611
+ }
5612
+
5613
+ static types(): { [key: string]: any } {
5614
+ return {
5615
+ authToken: 'string',
5616
+ productInstanceId: 'string',
5617
+ fundId: 'string',
5618
+ merchantTenantId: 'string',
5619
+ merchantId: 'string',
5620
+ type: 'string',
5621
+ };
5622
+ }
5623
+
5624
+ constructor(map?: { [key: string]: any }) {
5625
+ super(map);
5626
+ }
5627
+ }
5628
+
5629
+ export class GetFundCompensatesignurlResponse extends $tea.Model {
5630
+ // 请求唯一ID,用于链路跟踪和问题排查
5631
+ reqMsgId?: string;
5632
+ // 结果码,一般OK表示调用成功
5633
+ resultCode?: string;
5634
+ // 异常信息的文本描述
5635
+ resultMsg?: string;
5636
+ // 签约链接
5637
+ signUrl?: string;
5638
+ static names(): { [key: string]: string } {
5639
+ return {
5640
+ reqMsgId: 'req_msg_id',
5641
+ resultCode: 'result_code',
5642
+ resultMsg: 'result_msg',
5643
+ signUrl: 'sign_url',
5644
+ };
5645
+ }
5646
+
5647
+ static types(): { [key: string]: any } {
5648
+ return {
5649
+ reqMsgId: 'string',
5650
+ resultCode: 'string',
5651
+ resultMsg: 'string',
5652
+ signUrl: 'string',
5653
+ };
5654
+ }
5655
+
5656
+ constructor(map?: { [key: string]: any }) {
5657
+ super(map);
5658
+ }
5659
+ }
5660
+
5661
+ export class ConfirmFundCompensateRequest extends $tea.Model {
5662
+ // OAuth模式下的授权token
5663
+ authToken?: string;
5664
+ productInstanceId?: string;
5665
+ // 资方社会统一信用代码
5666
+ fundId: string;
5667
+ // 商户租户id
5668
+ merchantTenantId: string;
5669
+ // 商户社会统一信用代码
5670
+ merchantId: string;
5671
+ // 签约串类型
5672
+ // TRANSFER:转账代偿签约串
5673
+ // WITHHOLD:代扣代偿签约串
5674
+ type?: string;
5675
+ static names(): { [key: string]: string } {
5676
+ return {
5677
+ authToken: 'auth_token',
5678
+ productInstanceId: 'product_instance_id',
5679
+ fundId: 'fund_id',
5680
+ merchantTenantId: 'merchant_tenant_id',
5681
+ merchantId: 'merchant_id',
5682
+ type: 'type',
5683
+ };
5684
+ }
5685
+
5686
+ static types(): { [key: string]: any } {
5687
+ return {
5688
+ authToken: 'string',
5689
+ productInstanceId: 'string',
5690
+ fundId: 'string',
5691
+ merchantTenantId: 'string',
5692
+ merchantId: 'string',
5693
+ type: 'string',
5694
+ };
5695
+ }
5696
+
5697
+ constructor(map?: { [key: string]: any }) {
5698
+ super(map);
5699
+ }
5700
+ }
5701
+
5702
+ export class ConfirmFundCompensateResponse extends $tea.Model {
5703
+ // 请求唯一ID,用于链路跟踪和问题排查
5704
+ reqMsgId?: string;
5705
+ // 结果码,一般OK表示调用成功
5706
+ resultCode?: string;
5707
+ // 异常信息的文本描述
5708
+ resultMsg?: string;
5709
+ static names(): { [key: string]: string } {
5710
+ return {
5711
+ reqMsgId: 'req_msg_id',
5712
+ resultCode: 'result_code',
5713
+ resultMsg: 'result_msg',
5714
+ };
5715
+ }
5716
+
5717
+ static types(): { [key: string]: any } {
5718
+ return {
5719
+ reqMsgId: 'string',
5720
+ resultCode: 'string',
5721
+ resultMsg: 'string',
5722
+ };
5723
+ }
5724
+
5725
+ constructor(map?: { [key: string]: any }) {
5726
+ super(map);
5727
+ }
5728
+ }
5729
+
5481
5730
  export class GetInnerProductRequest extends $tea.Model {
5482
5731
  // OAuth模式下的授权token
5483
5732
  authToken?: string;
@@ -11311,7 +11560,7 @@ export class QueryInnerLoggerRequest extends $tea.Model {
11311
11560
  // 钉钉群id
11312
11561
  // 租户id
11313
11562
  // 支付宝uuid
11314
- channelId: string;
11563
+ channelAccountId: string;
11315
11564
  // traceid
11316
11565
  traceId?: string;
11317
11566
  // 开始时间
@@ -11327,7 +11576,7 @@ export class QueryInnerLoggerRequest extends $tea.Model {
11327
11576
  authToken: 'auth_token',
11328
11577
  productInstanceId: 'product_instance_id',
11329
11578
  channel: 'channel',
11330
- channelId: 'channel_id',
11579
+ channelAccountId: 'channel_account_id',
11331
11580
  traceId: 'trace_id',
11332
11581
  startTime: 'start_time',
11333
11582
  endTime: 'end_time',
@@ -11341,7 +11590,7 @@ export class QueryInnerLoggerRequest extends $tea.Model {
11341
11590
  authToken: 'string',
11342
11591
  productInstanceId: 'string',
11343
11592
  channel: 'string',
11344
- channelId: 'string',
11593
+ channelAccountId: 'string',
11345
11594
  traceId: 'string',
11346
11595
  startTime: 'string',
11347
11596
  endTime: 'string',
@@ -11391,53 +11640,392 @@ export class QueryInnerLoggerResponse extends $tea.Model {
11391
11640
  }
11392
11641
  }
11393
11642
 
11394
- export class CreateInsureRequest extends $tea.Model {
11643
+ export class SubmitInnerDatadownloadRequest extends $tea.Model {
11395
11644
  // OAuth模式下的授权token
11396
11645
  authToken?: string;
11397
11646
  productInstanceId?: string;
11398
- // 商户的订单号,后续用作和保单结果交互
11399
- orderId: string;
11400
- // 风控业务流水号
11401
- riskFlowId: string;
11402
- // 保险公司枚举,PA:平安保险
11403
- insureCompanyType: string;
11404
- // 保险类型枚举,PERFORMANCE:履约
11405
- insureProductType: string;
11406
- // 投保商品信息列表
11407
- productInfoList: InsureProductInfo[];
11408
- // 发货方式枚举,可选值:
11409
- // EXPRESS-物流发货
11410
- // OFFLINE-线下交易
11411
- deliveryType: string;
11412
- // 公司联系人姓名,RSA 加密传输
11413
- contactName: string;
11414
- // 公司联系人手机号,RSA 加密传输
11415
- contactMobile: string;
11416
- // 实人认证业务流水号
11417
- facevrfFlowId?: string;
11418
- // 物流单号,非必填参数。如果选择的物流发货方式为 EXPRESS(物流发货),则该字段必填。
11419
- logisticsNumber?: string;
11420
- // 交易时间,非必填参数。如果发货方式为 OFFLINE(线下交易),则该字段必填。
11421
- tradeTime?: string;
11422
- // 公司地址信息,此处填写的地址信息为投保时最高优先级地址,其次为公司进件时填写的地址信息。如果取不到明确地址信息,投保会失败。
11423
- address?: string;
11424
- // 保险投保期数
11425
- period?: number;
11647
+ // 租户id
11648
+ tenantId: string;
11649
+ // 商户社会统一信用代码
11650
+ merchantId?: string;
11651
+ // 公司名称
11652
+ merchantName?: string;
11653
+ // 开始时间
11654
+ startTime: string;
11655
+ // 结束时间
11656
+ endTime: string;
11657
+ // 下载数据类型
11658
+ // 交易履约账单:TRADE_PROMISE_BILL
11659
+ type: string;
11426
11660
  static names(): { [key: string]: string } {
11427
11661
  return {
11428
11662
  authToken: 'auth_token',
11429
11663
  productInstanceId: 'product_instance_id',
11430
- orderId: 'order_id',
11431
- riskFlowId: 'risk_flow_id',
11432
- insureCompanyType: 'insure_company_type',
11433
- insureProductType: 'insure_product_type',
11434
- productInfoList: 'product_info_list',
11435
- deliveryType: 'delivery_type',
11436
- contactName: 'contact_name',
11437
- contactMobile: 'contact_mobile',
11438
- facevrfFlowId: 'facevrf_flow_id',
11439
- logisticsNumber: 'logistics_number',
11440
- tradeTime: 'trade_time',
11664
+ tenantId: 'tenant_id',
11665
+ merchantId: 'merchant_id',
11666
+ merchantName: 'merchant_name',
11667
+ startTime: 'start_time',
11668
+ endTime: 'end_time',
11669
+ type: 'type',
11670
+ };
11671
+ }
11672
+
11673
+ static types(): { [key: string]: any } {
11674
+ return {
11675
+ authToken: 'string',
11676
+ productInstanceId: 'string',
11677
+ tenantId: 'string',
11678
+ merchantId: 'string',
11679
+ merchantName: 'string',
11680
+ startTime: 'string',
11681
+ endTime: 'string',
11682
+ type: 'string',
11683
+ };
11684
+ }
11685
+
11686
+ constructor(map?: { [key: string]: any }) {
11687
+ super(map);
11688
+ }
11689
+ }
11690
+
11691
+ export class SubmitInnerDatadownloadResponse extends $tea.Model {
11692
+ // 请求唯一ID,用于链路跟踪和问题排查
11693
+ reqMsgId?: string;
11694
+ // 结果码,一般OK表示调用成功
11695
+ resultCode?: string;
11696
+ // 异常信息的文本描述
11697
+ resultMsg?: string;
11698
+ static names(): { [key: string]: string } {
11699
+ return {
11700
+ reqMsgId: 'req_msg_id',
11701
+ resultCode: 'result_code',
11702
+ resultMsg: 'result_msg',
11703
+ };
11704
+ }
11705
+
11706
+ static types(): { [key: string]: any } {
11707
+ return {
11708
+ reqMsgId: 'string',
11709
+ resultCode: 'string',
11710
+ resultMsg: 'string',
11711
+ };
11712
+ }
11713
+
11714
+ constructor(map?: { [key: string]: any }) {
11715
+ super(map);
11716
+ }
11717
+ }
11718
+
11719
+ export class PagequeryInnerDatadownloadRequest extends $tea.Model {
11720
+ // OAuth模式下的授权token
11721
+ authToken?: string;
11722
+ productInstanceId?: string;
11723
+ // 租户id
11724
+ tenantId: string;
11725
+ // 状态
11726
+ status?: string;
11727
+ // 分页参数
11728
+ pageInfo: PageQuery;
11729
+ static names(): { [key: string]: string } {
11730
+ return {
11731
+ authToken: 'auth_token',
11732
+ productInstanceId: 'product_instance_id',
11733
+ tenantId: 'tenant_id',
11734
+ status: 'status',
11735
+ pageInfo: 'page_info',
11736
+ };
11737
+ }
11738
+
11739
+ static types(): { [key: string]: any } {
11740
+ return {
11741
+ authToken: 'string',
11742
+ productInstanceId: 'string',
11743
+ tenantId: 'string',
11744
+ status: 'string',
11745
+ pageInfo: PageQuery,
11746
+ };
11747
+ }
11748
+
11749
+ constructor(map?: { [key: string]: any }) {
11750
+ super(map);
11751
+ }
11752
+ }
11753
+
11754
+ export class PagequeryInnerDatadownloadResponse extends $tea.Model {
11755
+ // 请求唯一ID,用于链路跟踪和问题排查
11756
+ reqMsgId?: string;
11757
+ // 结果码,一般OK表示调用成功
11758
+ resultCode?: string;
11759
+ // 异常信息的文本描述
11760
+ resultMsg?: string;
11761
+ // 总数
11762
+ total?: number;
11763
+ // 下载数据列表
11764
+ dataDownloadInfo?: DataDownloadInfo[];
11765
+ static names(): { [key: string]: string } {
11766
+ return {
11767
+ reqMsgId: 'req_msg_id',
11768
+ resultCode: 'result_code',
11769
+ resultMsg: 'result_msg',
11770
+ total: 'total',
11771
+ dataDownloadInfo: 'data_download_info',
11772
+ };
11773
+ }
11774
+
11775
+ static types(): { [key: string]: any } {
11776
+ return {
11777
+ reqMsgId: 'string',
11778
+ resultCode: 'string',
11779
+ resultMsg: 'string',
11780
+ total: 'number',
11781
+ dataDownloadInfo: { 'type': 'array', 'itemType': DataDownloadInfo },
11782
+ };
11783
+ }
11784
+
11785
+ constructor(map?: { [key: string]: any }) {
11786
+ super(map);
11787
+ }
11788
+ }
11789
+
11790
+ export class DeleteInnerDatadownloadRequest extends $tea.Model {
11791
+ // OAuth模式下的授权token
11792
+ authToken?: string;
11793
+ productInstanceId?: string;
11794
+ // 租户id
11795
+ tenantId: string;
11796
+ // 流水号
11797
+ bizNo: string;
11798
+ static names(): { [key: string]: string } {
11799
+ return {
11800
+ authToken: 'auth_token',
11801
+ productInstanceId: 'product_instance_id',
11802
+ tenantId: 'tenant_id',
11803
+ bizNo: 'biz_no',
11804
+ };
11805
+ }
11806
+
11807
+ static types(): { [key: string]: any } {
11808
+ return {
11809
+ authToken: 'string',
11810
+ productInstanceId: 'string',
11811
+ tenantId: 'string',
11812
+ bizNo: 'string',
11813
+ };
11814
+ }
11815
+
11816
+ constructor(map?: { [key: string]: any }) {
11817
+ super(map);
11818
+ }
11819
+ }
11820
+
11821
+ export class DeleteInnerDatadownloadResponse extends $tea.Model {
11822
+ // 请求唯一ID,用于链路跟踪和问题排查
11823
+ reqMsgId?: string;
11824
+ // 结果码,一般OK表示调用成功
11825
+ resultCode?: string;
11826
+ // 异常信息的文本描述
11827
+ resultMsg?: string;
11828
+ static names(): { [key: string]: string } {
11829
+ return {
11830
+ reqMsgId: 'req_msg_id',
11831
+ resultCode: 'result_code',
11832
+ resultMsg: 'result_msg',
11833
+ };
11834
+ }
11835
+
11836
+ static types(): { [key: string]: any } {
11837
+ return {
11838
+ reqMsgId: 'string',
11839
+ resultCode: 'string',
11840
+ resultMsg: 'string',
11841
+ };
11842
+ }
11843
+
11844
+ constructor(map?: { [key: string]: any }) {
11845
+ super(map);
11846
+ }
11847
+ }
11848
+
11849
+ export class PagequeryInnerCompanyinfoRequest extends $tea.Model {
11850
+ // OAuth模式下的授权token
11851
+ authToken?: string;
11852
+ productInstanceId?: string;
11853
+ // 租户id
11854
+ tenantId: string;
11855
+ // 分页参数
11856
+ pageInfo: PageQuery;
11857
+ static names(): { [key: string]: string } {
11858
+ return {
11859
+ authToken: 'auth_token',
11860
+ productInstanceId: 'product_instance_id',
11861
+ tenantId: 'tenant_id',
11862
+ pageInfo: 'page_info',
11863
+ };
11864
+ }
11865
+
11866
+ static types(): { [key: string]: any } {
11867
+ return {
11868
+ authToken: 'string',
11869
+ productInstanceId: 'string',
11870
+ tenantId: 'string',
11871
+ pageInfo: PageQuery,
11872
+ };
11873
+ }
11874
+
11875
+ constructor(map?: { [key: string]: any }) {
11876
+ super(map);
11877
+ }
11878
+ }
11879
+
11880
+ export class PagequeryInnerCompanyinfoResponse extends $tea.Model {
11881
+ // 请求唯一ID,用于链路跟踪和问题排查
11882
+ reqMsgId?: string;
11883
+ // 结果码,一般OK表示调用成功
11884
+ resultCode?: string;
11885
+ // 异常信息的文本描述
11886
+ resultMsg?: string;
11887
+ // 总数
11888
+ total?: number;
11889
+ // 公司信息
11890
+ companyInfo?: CompanySummaryInfo[];
11891
+ static names(): { [key: string]: string } {
11892
+ return {
11893
+ reqMsgId: 'req_msg_id',
11894
+ resultCode: 'result_code',
11895
+ resultMsg: 'result_msg',
11896
+ total: 'total',
11897
+ companyInfo: 'company_info',
11898
+ };
11899
+ }
11900
+
11901
+ static types(): { [key: string]: any } {
11902
+ return {
11903
+ reqMsgId: 'string',
11904
+ resultCode: 'string',
11905
+ resultMsg: 'string',
11906
+ total: 'number',
11907
+ companyInfo: { 'type': 'array', 'itemType': CompanySummaryInfo },
11908
+ };
11909
+ }
11910
+
11911
+ constructor(map?: { [key: string]: any }) {
11912
+ super(map);
11913
+ }
11914
+ }
11915
+
11916
+ export class QueryInnerExpandprocessRequest extends $tea.Model {
11917
+ // OAuth模式下的授权token
11918
+ authToken?: string;
11919
+ productInstanceId?: string;
11920
+ // 租户id
11921
+ tenantId: string;
11922
+ // 进件类型
11923
+ // DIRECT("DIRECT", "直连进件模式"),
11924
+ // AGENT("AGENT", "代理商进件模式"),
11925
+ //
11926
+ expandMode: string;
11927
+ static names(): { [key: string]: string } {
11928
+ return {
11929
+ authToken: 'auth_token',
11930
+ productInstanceId: 'product_instance_id',
11931
+ tenantId: 'tenant_id',
11932
+ expandMode: 'expand_mode',
11933
+ };
11934
+ }
11935
+
11936
+ static types(): { [key: string]: any } {
11937
+ return {
11938
+ authToken: 'string',
11939
+ productInstanceId: 'string',
11940
+ tenantId: 'string',
11941
+ expandMode: 'string',
11942
+ };
11943
+ }
11944
+
11945
+ constructor(map?: { [key: string]: any }) {
11946
+ super(map);
11947
+ }
11948
+ }
11949
+
11950
+ export class QueryInnerExpandprocessResponse extends $tea.Model {
11951
+ // 请求唯一ID,用于链路跟踪和问题排查
11952
+ reqMsgId?: string;
11953
+ // 结果码,一般OK表示调用成功
11954
+ resultCode?: string;
11955
+ // 异常信息的文本描述
11956
+ resultMsg?: string;
11957
+ // 进件流程信息
11958
+ processInfoList?: ExpandProcessInfo[];
11959
+ static names(): { [key: string]: string } {
11960
+ return {
11961
+ reqMsgId: 'req_msg_id',
11962
+ resultCode: 'result_code',
11963
+ resultMsg: 'result_msg',
11964
+ processInfoList: 'process_info_list',
11965
+ };
11966
+ }
11967
+
11968
+ static types(): { [key: string]: any } {
11969
+ return {
11970
+ reqMsgId: 'string',
11971
+ resultCode: 'string',
11972
+ resultMsg: 'string',
11973
+ processInfoList: { 'type': 'array', 'itemType': ExpandProcessInfo },
11974
+ };
11975
+ }
11976
+
11977
+ constructor(map?: { [key: string]: any }) {
11978
+ super(map);
11979
+ }
11980
+ }
11981
+
11982
+ export class CreateInsureRequest extends $tea.Model {
11983
+ // OAuth模式下的授权token
11984
+ authToken?: string;
11985
+ productInstanceId?: string;
11986
+ // 商户的订单号,后续用作和保单结果交互
11987
+ orderId: string;
11988
+ // 风控业务流水号
11989
+ riskFlowId: string;
11990
+ // 保险公司枚举,PA:平安保险
11991
+ insureCompanyType: string;
11992
+ // 保险类型枚举,PERFORMANCE:履约
11993
+ insureProductType: string;
11994
+ // 投保商品信息列表
11995
+ productInfoList: InsureProductInfo[];
11996
+ // 发货方式枚举,可选值:
11997
+ // EXPRESS-物流发货
11998
+ // OFFLINE-线下交易
11999
+ deliveryType: string;
12000
+ // 公司联系人姓名,RSA 加密传输
12001
+ contactName: string;
12002
+ // 公司联系人手机号,RSA 加密传输
12003
+ contactMobile: string;
12004
+ // 实人认证业务流水号
12005
+ facevrfFlowId?: string;
12006
+ // 物流单号,非必填参数。如果选择的物流发货方式为 EXPRESS(物流发货),则该字段必填。
12007
+ logisticsNumber?: string;
12008
+ // 交易时间,非必填参数。如果发货方式为 OFFLINE(线下交易),则该字段必填。
12009
+ tradeTime?: string;
12010
+ // 公司地址信息,此处填写的地址信息为投保时最高优先级地址,其次为公司进件时填写的地址信息。如果取不到明确地址信息,投保会失败。
12011
+ address?: string;
12012
+ // 保险投保期数
12013
+ period?: number;
12014
+ static names(): { [key: string]: string } {
12015
+ return {
12016
+ authToken: 'auth_token',
12017
+ productInstanceId: 'product_instance_id',
12018
+ orderId: 'order_id',
12019
+ riskFlowId: 'risk_flow_id',
12020
+ insureCompanyType: 'insure_company_type',
12021
+ insureProductType: 'insure_product_type',
12022
+ productInfoList: 'product_info_list',
12023
+ deliveryType: 'delivery_type',
12024
+ contactName: 'contact_name',
12025
+ contactMobile: 'contact_mobile',
12026
+ facevrfFlowId: 'facevrf_flow_id',
12027
+ logisticsNumber: 'logistics_number',
12028
+ tradeTime: 'trade_time',
11441
12029
  address: 'address',
11442
12030
  period: 'period',
11443
12031
  };
@@ -12242,7 +12830,7 @@ export class QueryRiskRequest extends $tea.Model {
12242
12830
  authToken?: string;
12243
12831
  productInstanceId?: string;
12244
12832
  // 枚举值:蚁盾版、智租版、旗舰版,蚁盾版代表仅调用蚁盾风控,智租版代表仅调用小程序云风控,旗舰版代表调用蚁盾+旗舰版风控接口
12245
- productName: string;
12833
+ productName?: string;
12246
12834
  // 用户姓名
12247
12835
  userName: string;
12248
12836
  // 用户证件号码
@@ -12262,6 +12850,10 @@ export class QueryRiskRequest extends $tea.Model {
12262
12850
  priceDetail?: PriceDetail;
12263
12851
  // 物流信息,智租版可选
12264
12852
  deliveryDetail?: DeliveryDetail;
12853
+ // 枚举值:3C_RENTAL、NE_RENTAL、OTHER_RENTAL、PETS、BEAUTY、EDUCATION、FITNESS、GENERAL_INDUSTRY_OTHER
12854
+ industry?: string;
12855
+ // 枚举值:ZOLOZ_V2、ZOLOZ_V3、GENERAL_INDUSTRY、APPLET_RISK
12856
+ modelVersion?: string;
12265
12857
  static names(): { [key: string]: string } {
12266
12858
  return {
12267
12859
  authToken: 'auth_token',
@@ -12276,6 +12868,8 @@ export class QueryRiskRequest extends $tea.Model {
12276
12868
  itemDetail: 'item_detail',
12277
12869
  priceDetail: 'price_detail',
12278
12870
  deliveryDetail: 'delivery_detail',
12871
+ industry: 'industry',
12872
+ modelVersion: 'model_version',
12279
12873
  };
12280
12874
  }
12281
12875
 
@@ -12293,6 +12887,8 @@ export class QueryRiskRequest extends $tea.Model {
12293
12887
  itemDetail: ItemDetail,
12294
12888
  priceDetail: PriceDetail,
12295
12889
  deliveryDetail: DeliveryDetail,
12890
+ industry: 'string',
12891
+ modelVersion: 'string',
12296
12892
  };
12297
12893
  }
12298
12894
 
@@ -16203,7 +16799,7 @@ export default class Client {
16203
16799
  req_msg_id: AntchainUtil.getNonce(),
16204
16800
  access_key: this._accessKeyId,
16205
16801
  base_sdk_version: "TeaSDK-2.0",
16206
- sdk_version: "1.14.28",
16802
+ sdk_version: "1.14.40",
16207
16803
  _prod_code: "ATO",
16208
16804
  _prod_channel: "undefined",
16209
16805
  };
@@ -16984,6 +17580,44 @@ export default class Client {
16984
17580
  return $tea.cast<RepayFundPlanResponse>(await this.doRequest("1.0", "antchain.ato.fund.plan.repay", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new RepayFundPlanResponse({}));
16985
17581
  }
16986
17582
 
17583
+ /**
17584
+ * Description: 资方代偿签约链接获取
17585
+ * Summary: 资方代偿签约链接获取
17586
+ */
17587
+ async getFundCompensatesignurl(request: GetFundCompensatesignurlRequest): Promise<GetFundCompensatesignurlResponse> {
17588
+ let runtime = new $Util.RuntimeOptions({ });
17589
+ let headers : {[key: string ]: string} = { };
17590
+ return await this.getFundCompensatesignurlEx(request, headers, runtime);
17591
+ }
17592
+
17593
+ /**
17594
+ * Description: 资方代偿签约链接获取
17595
+ * Summary: 资方代偿签约链接获取
17596
+ */
17597
+ async getFundCompensatesignurlEx(request: GetFundCompensatesignurlRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetFundCompensatesignurlResponse> {
17598
+ Util.validateModel(request);
17599
+ return $tea.cast<GetFundCompensatesignurlResponse>(await this.doRequest("1.0", "antchain.ato.fund.compensatesignurl.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetFundCompensatesignurlResponse({}));
17600
+ }
17601
+
17602
+ /**
17603
+ * Description: 转账代偿签约结果确认
17604
+ * Summary: 转账代偿签约结果确认
17605
+ */
17606
+ async confirmFundCompensate(request: ConfirmFundCompensateRequest): Promise<ConfirmFundCompensateResponse> {
17607
+ let runtime = new $Util.RuntimeOptions({ });
17608
+ let headers : {[key: string ]: string} = { };
17609
+ return await this.confirmFundCompensateEx(request, headers, runtime);
17610
+ }
17611
+
17612
+ /**
17613
+ * Description: 转账代偿签约结果确认
17614
+ * Summary: 转账代偿签约结果确认
17615
+ */
17616
+ async confirmFundCompensateEx(request: ConfirmFundCompensateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ConfirmFundCompensateResponse> {
17617
+ Util.validateModel(request);
17618
+ return $tea.cast<ConfirmFundCompensateResponse>(await this.doRequest("1.0", "antchain.ato.fund.compensate.confirm", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ConfirmFundCompensateResponse({}));
17619
+ }
17620
+
16987
17621
  /**
16988
17622
  * Description: 内部调用,商品信息获取
16989
17623
  * Summary: 商品信息获取
@@ -18487,6 +19121,101 @@ export default class Client {
18487
19121
  return $tea.cast<QueryInnerLoggerResponse>(await this.doRequest("1.0", "antchain.ato.inner.logger.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerLoggerResponse({}));
18488
19122
  }
18489
19123
 
19124
+ /**
19125
+ * Description: 离线数据下载
19126
+ * Summary: 离线数据下载
19127
+ */
19128
+ async submitInnerDatadownload(request: SubmitInnerDatadownloadRequest): Promise<SubmitInnerDatadownloadResponse> {
19129
+ let runtime = new $Util.RuntimeOptions({ });
19130
+ let headers : {[key: string ]: string} = { };
19131
+ return await this.submitInnerDatadownloadEx(request, headers, runtime);
19132
+ }
19133
+
19134
+ /**
19135
+ * Description: 离线数据下载
19136
+ * Summary: 离线数据下载
19137
+ */
19138
+ async submitInnerDatadownloadEx(request: SubmitInnerDatadownloadRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SubmitInnerDatadownloadResponse> {
19139
+ Util.validateModel(request);
19140
+ return $tea.cast<SubmitInnerDatadownloadResponse>(await this.doRequest("1.0", "antchain.ato.inner.datadownload.submit", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SubmitInnerDatadownloadResponse({}));
19141
+ }
19142
+
19143
+ /**
19144
+ * Description: 查询数据下载列表
19145
+ * Summary: 查询数据下载列表
19146
+ */
19147
+ async pagequeryInnerDatadownload(request: PagequeryInnerDatadownloadRequest): Promise<PagequeryInnerDatadownloadResponse> {
19148
+ let runtime = new $Util.RuntimeOptions({ });
19149
+ let headers : {[key: string ]: string} = { };
19150
+ return await this.pagequeryInnerDatadownloadEx(request, headers, runtime);
19151
+ }
19152
+
19153
+ /**
19154
+ * Description: 查询数据下载列表
19155
+ * Summary: 查询数据下载列表
19156
+ */
19157
+ async pagequeryInnerDatadownloadEx(request: PagequeryInnerDatadownloadRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PagequeryInnerDatadownloadResponse> {
19158
+ Util.validateModel(request);
19159
+ return $tea.cast<PagequeryInnerDatadownloadResponse>(await this.doRequest("1.0", "antchain.ato.inner.datadownload.pagequery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PagequeryInnerDatadownloadResponse({}));
19160
+ }
19161
+
19162
+ /**
19163
+ * Description: 删除下载任务
19164
+ * Summary: 删除下载任务
19165
+ */
19166
+ async deleteInnerDatadownload(request: DeleteInnerDatadownloadRequest): Promise<DeleteInnerDatadownloadResponse> {
19167
+ let runtime = new $Util.RuntimeOptions({ });
19168
+ let headers : {[key: string ]: string} = { };
19169
+ return await this.deleteInnerDatadownloadEx(request, headers, runtime);
19170
+ }
19171
+
19172
+ /**
19173
+ * Description: 删除下载任务
19174
+ * Summary: 删除下载任务
19175
+ */
19176
+ async deleteInnerDatadownloadEx(request: DeleteInnerDatadownloadRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteInnerDatadownloadResponse> {
19177
+ Util.validateModel(request);
19178
+ return $tea.cast<DeleteInnerDatadownloadResponse>(await this.doRequest("1.0", "antchain.ato.inner.datadownload.delete", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new DeleteInnerDatadownloadResponse({}));
19179
+ }
19180
+
19181
+ /**
19182
+ * Description: 分页查询公司信息
19183
+ * Summary: 分页查询公司信息
19184
+ */
19185
+ async pagequeryInnerCompanyinfo(request: PagequeryInnerCompanyinfoRequest): Promise<PagequeryInnerCompanyinfoResponse> {
19186
+ let runtime = new $Util.RuntimeOptions({ });
19187
+ let headers : {[key: string ]: string} = { };
19188
+ return await this.pagequeryInnerCompanyinfoEx(request, headers, runtime);
19189
+ }
19190
+
19191
+ /**
19192
+ * Description: 分页查询公司信息
19193
+ * Summary: 分页查询公司信息
19194
+ */
19195
+ async pagequeryInnerCompanyinfoEx(request: PagequeryInnerCompanyinfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PagequeryInnerCompanyinfoResponse> {
19196
+ Util.validateModel(request);
19197
+ return $tea.cast<PagequeryInnerCompanyinfoResponse>(await this.doRequest("1.0", "antchain.ato.inner.companyinfo.pagequery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PagequeryInnerCompanyinfoResponse({}));
19198
+ }
19199
+
19200
+ /**
19201
+ * Description: 查询商户进件流程节点
19202
+ * Summary: 查询商户进件流程节点
19203
+ */
19204
+ async queryInnerExpandprocess(request: QueryInnerExpandprocessRequest): Promise<QueryInnerExpandprocessResponse> {
19205
+ let runtime = new $Util.RuntimeOptions({ });
19206
+ let headers : {[key: string ]: string} = { };
19207
+ return await this.queryInnerExpandprocessEx(request, headers, runtime);
19208
+ }
19209
+
19210
+ /**
19211
+ * Description: 查询商户进件流程节点
19212
+ * Summary: 查询商户进件流程节点
19213
+ */
19214
+ async queryInnerExpandprocessEx(request: QueryInnerExpandprocessRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInnerExpandprocessResponse> {
19215
+ Util.validateModel(request);
19216
+ return $tea.cast<QueryInnerExpandprocessResponse>(await this.doRequest("1.0", "antchain.ato.inner.expandprocess.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerExpandprocessResponse({}));
19217
+ }
19218
+
18490
19219
  /**
18491
19220
  * Description: 一键投保
18492
19221
  * Summary: 投保