@antchain/ato 1.14.15 → 1.14.25

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
@@ -2067,6 +2067,35 @@ export class OrderMsgInfo extends $tea.Model {
2067
2067
  }
2068
2068
  }
2069
2069
 
2070
+ // 客诉处理人员信息
2071
+ export class CustomerPersonInfo extends $tea.Model {
2072
+ // 客诉处理员支付宝账号
2073
+ alipayLogonId: string;
2074
+ // 客诉处理员支付宝绑定手机号
2075
+ alipayBindMobile: string;
2076
+ // 客服人员名称
2077
+ customerServiceName: string;
2078
+ static names(): { [key: string]: string } {
2079
+ return {
2080
+ alipayLogonId: 'alipay_logon_id',
2081
+ alipayBindMobile: 'alipay_bind_mobile',
2082
+ customerServiceName: 'customer_service_name',
2083
+ };
2084
+ }
2085
+
2086
+ static types(): { [key: string]: any } {
2087
+ return {
2088
+ alipayLogonId: 'string',
2089
+ alipayBindMobile: 'string',
2090
+ customerServiceName: 'string',
2091
+ };
2092
+ }
2093
+
2094
+ constructor(map?: { [key: string]: any }) {
2095
+ super(map);
2096
+ }
2097
+ }
2098
+
2070
2099
  // 营销发奖风险识别入参模型
2071
2100
  export class AwardingQueryModel extends $tea.Model {
2072
2101
  // 对方支付宝账户 uid,用于表示两个账户在业务交互中的对方账户,如人传人活动用户A会拉用户B来注册领奖,其中用户B为对方账户
@@ -2582,6 +2611,73 @@ export class XNameValuePair extends $tea.Model {
2582
2611
  }
2583
2612
  }
2584
2613
 
2614
+ export class TransferBrokerUserdataRequest extends $tea.Model {
2615
+ // OAuth模式下的授权token
2616
+ authToken?: string;
2617
+ productInstanceId?: string;
2618
+ // 数据的唯一id,支持数字、大小写字母或下划线
2619
+ dataId: string;
2620
+ // 枚举,数据类型
2621
+ dataType: string;
2622
+ // 数据内容,使用JSONArray结构
2623
+ dataContent: string;
2624
+ static names(): { [key: string]: string } {
2625
+ return {
2626
+ authToken: 'auth_token',
2627
+ productInstanceId: 'product_instance_id',
2628
+ dataId: 'data_id',
2629
+ dataType: 'data_type',
2630
+ dataContent: 'data_content',
2631
+ };
2632
+ }
2633
+
2634
+ static types(): { [key: string]: any } {
2635
+ return {
2636
+ authToken: 'string',
2637
+ productInstanceId: 'string',
2638
+ dataId: 'string',
2639
+ dataType: 'string',
2640
+ dataContent: 'string',
2641
+ };
2642
+ }
2643
+
2644
+ constructor(map?: { [key: string]: any }) {
2645
+ super(map);
2646
+ }
2647
+ }
2648
+
2649
+ export class TransferBrokerUserdataResponse extends $tea.Model {
2650
+ // 请求唯一ID,用于链路跟踪和问题排查
2651
+ reqMsgId?: string;
2652
+ // 结果码,一般OK表示调用成功
2653
+ resultCode?: string;
2654
+ // 异常信息的文本描述
2655
+ resultMsg?: string;
2656
+ // 数据id
2657
+ dataId?: string;
2658
+ static names(): { [key: string]: string } {
2659
+ return {
2660
+ reqMsgId: 'req_msg_id',
2661
+ resultCode: 'result_code',
2662
+ resultMsg: 'result_msg',
2663
+ dataId: 'data_id',
2664
+ };
2665
+ }
2666
+
2667
+ static types(): { [key: string]: any } {
2668
+ return {
2669
+ reqMsgId: 'string',
2670
+ resultCode: 'string',
2671
+ resultMsg: 'string',
2672
+ dataId: 'string',
2673
+ };
2674
+ }
2675
+
2676
+ constructor(map?: { [key: string]: any }) {
2677
+ super(map);
2678
+ }
2679
+ }
2680
+
2585
2681
  export class SyncFundSplittingRequest extends $tea.Model {
2586
2682
  // OAuth模式下的授权token
2587
2683
  authToken?: string;
@@ -5244,6 +5340,144 @@ export class QueryFundAssetpackageResponse extends $tea.Model {
5244
5340
  }
5245
5341
  }
5246
5342
 
5343
+ export class ConfirmFundUsercancelRequest extends $tea.Model {
5344
+ // OAuth模式下的授权token
5345
+ authToken?: string;
5346
+ productInstanceId?: string;
5347
+ // 订单id 长度不可超过50
5348
+ orderId: string;
5349
+ // 订单所属商户的社会信用代码
5350
+ merchantId: string;
5351
+ // 融资单的资方社会信用代码
5352
+ fundId: string;
5353
+ static names(): { [key: string]: string } {
5354
+ return {
5355
+ authToken: 'auth_token',
5356
+ productInstanceId: 'product_instance_id',
5357
+ orderId: 'order_id',
5358
+ merchantId: 'merchant_id',
5359
+ fundId: 'fund_id',
5360
+ };
5361
+ }
5362
+
5363
+ static types(): { [key: string]: any } {
5364
+ return {
5365
+ authToken: 'string',
5366
+ productInstanceId: 'string',
5367
+ orderId: 'string',
5368
+ merchantId: 'string',
5369
+ fundId: 'string',
5370
+ };
5371
+ }
5372
+
5373
+ constructor(map?: { [key: string]: any }) {
5374
+ super(map);
5375
+ }
5376
+ }
5377
+
5378
+ export class ConfirmFundUsercancelResponse extends $tea.Model {
5379
+ // 请求唯一ID,用于链路跟踪和问题排查
5380
+ reqMsgId?: string;
5381
+ // 结果码,一般OK表示调用成功
5382
+ resultCode?: string;
5383
+ // 异常信息的文本描述
5384
+ resultMsg?: string;
5385
+ static names(): { [key: string]: string } {
5386
+ return {
5387
+ reqMsgId: 'req_msg_id',
5388
+ resultCode: 'result_code',
5389
+ resultMsg: 'result_msg',
5390
+ };
5391
+ }
5392
+
5393
+ static types(): { [key: string]: any } {
5394
+ return {
5395
+ reqMsgId: 'string',
5396
+ resultCode: 'string',
5397
+ resultMsg: 'string',
5398
+ };
5399
+ }
5400
+
5401
+ constructor(map?: { [key: string]: any }) {
5402
+ super(map);
5403
+ }
5404
+ }
5405
+
5406
+ export class RepayFundPlanRequest extends $tea.Model {
5407
+ // OAuth模式下的授权token
5408
+ authToken?: string;
5409
+ productInstanceId?: string;
5410
+ // 订单id 长度不可超过50
5411
+ orderId: string;
5412
+ // 订单所属商户的社会信用代码
5413
+ merchantId: string;
5414
+ // 融资单的资方社会信用代码
5415
+ fundId: string;
5416
+ // 商户履约的期数
5417
+ termIndex: number;
5418
+ // 还款金额
5419
+ amount: number;
5420
+ // 支付描述
5421
+ paymentDescription: string;
5422
+ static names(): { [key: string]: string } {
5423
+ return {
5424
+ authToken: 'auth_token',
5425
+ productInstanceId: 'product_instance_id',
5426
+ orderId: 'order_id',
5427
+ merchantId: 'merchant_id',
5428
+ fundId: 'fund_id',
5429
+ termIndex: 'term_index',
5430
+ amount: 'amount',
5431
+ paymentDescription: 'payment_description',
5432
+ };
5433
+ }
5434
+
5435
+ static types(): { [key: string]: any } {
5436
+ return {
5437
+ authToken: 'string',
5438
+ productInstanceId: 'string',
5439
+ orderId: 'string',
5440
+ merchantId: 'string',
5441
+ fundId: 'string',
5442
+ termIndex: 'number',
5443
+ amount: 'number',
5444
+ paymentDescription: 'string',
5445
+ };
5446
+ }
5447
+
5448
+ constructor(map?: { [key: string]: any }) {
5449
+ super(map);
5450
+ }
5451
+ }
5452
+
5453
+ export class RepayFundPlanResponse extends $tea.Model {
5454
+ // 请求唯一ID,用于链路跟踪和问题排查
5455
+ reqMsgId?: string;
5456
+ // 结果码,一般OK表示调用成功
5457
+ resultCode?: string;
5458
+ // 异常信息的文本描述
5459
+ resultMsg?: string;
5460
+ static names(): { [key: string]: string } {
5461
+ return {
5462
+ reqMsgId: 'req_msg_id',
5463
+ resultCode: 'result_code',
5464
+ resultMsg: 'result_msg',
5465
+ };
5466
+ }
5467
+
5468
+ static types(): { [key: string]: any } {
5469
+ return {
5470
+ reqMsgId: 'string',
5471
+ resultCode: 'string',
5472
+ resultMsg: 'string',
5473
+ };
5474
+ }
5475
+
5476
+ constructor(map?: { [key: string]: any }) {
5477
+ super(map);
5478
+ }
5479
+ }
5480
+
5247
5481
  export class GetInnerProductRequest extends $tea.Model {
5248
5482
  // OAuth模式下的授权token
5249
5483
  authToken?: string;
@@ -7444,6 +7678,9 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
7444
7678
  expandFailReason?: string;
7445
7679
  // 是否展示客服信息登记入口
7446
7680
  showCustomerServiceBanner?: boolean;
7681
+ // 是否直付通进件已成功
7682
+ // 用于前端判断进件成功之后用户修改操作
7683
+ zftExpandSuccessful?: boolean;
7447
7684
  static names(): { [key: string]: string } {
7448
7685
  return {
7449
7686
  reqMsgId: 'req_msg_id',
@@ -7458,6 +7695,7 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
7458
7695
  expandStatus: 'expand_status',
7459
7696
  expandFailReason: 'expand_fail_reason',
7460
7697
  showCustomerServiceBanner: 'show_customer_service_banner',
7698
+ zftExpandSuccessful: 'zft_expand_successful',
7461
7699
  };
7462
7700
  }
7463
7701
 
@@ -7475,6 +7713,7 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
7475
7713
  expandStatus: 'string',
7476
7714
  expandFailReason: 'string',
7477
7715
  showCustomerServiceBanner: 'boolean',
7716
+ zftExpandSuccessful: 'boolean',
7478
7717
  };
7479
7718
  }
7480
7719
 
@@ -9645,20 +9884,22 @@ export class CreateInnerCustomerserviceRequest extends $tea.Model {
9645
9884
  // MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
9646
9885
  // PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
9647
9886
  processType: string;
9648
- // 服务商名称
9887
+ // 服务商名称(已废弃)
9649
9888
  serviceProviderName?: string;
9650
- // 客诉处理员支付宝绑定手机号
9651
- alipayBindMobile: string;
9652
- // 客诉处理员支付宝账号
9653
- alipayLogonId: string;
9654
9889
  // 客服电话
9655
9890
  customerServicePhone: string;
9656
- // 客服人员名称
9657
- customerServiceName: string;
9891
+ // 客诉处理员支付宝绑定手机号(已废弃)
9892
+ alipayBindMobile?: string;
9893
+ // 客诉处理员支付宝账号(已废弃)
9894
+ alipayLogonId?: string;
9895
+ // 客服人员名称(已废弃)
9896
+ customerServiceName?: string;
9658
9897
  // 在线客服网址
9659
9898
  onlineSupportSiteUrl?: string;
9660
9899
  // 投诉问题
9661
- customerComplaintIssues: string;
9900
+ customerComplaintIssues?: string;
9901
+ // 客诉人员信息,直连必填
9902
+ customerPersonInfoList?: CustomerPersonInfo[];
9662
9903
  // 进件类型
9663
9904
  // DIRECT("DIRECT", "直连进件模式"),
9664
9905
  // AGENT("AGENT", "代理商进件模式"),
@@ -9672,12 +9913,13 @@ export class CreateInnerCustomerserviceRequest extends $tea.Model {
9672
9913
  merchantName: 'merchant_name',
9673
9914
  processType: 'process_type',
9674
9915
  serviceProviderName: 'service_provider_name',
9916
+ customerServicePhone: 'customer_service_phone',
9675
9917
  alipayBindMobile: 'alipay_bind_mobile',
9676
9918
  alipayLogonId: 'alipay_logon_id',
9677
- customerServicePhone: 'customer_service_phone',
9678
9919
  customerServiceName: 'customer_service_name',
9679
9920
  onlineSupportSiteUrl: 'online_support_site_url',
9680
9921
  customerComplaintIssues: 'customer_complaint_issues',
9922
+ customerPersonInfoList: 'customer_person_info_list',
9681
9923
  expandMode: 'expand_mode',
9682
9924
  };
9683
9925
  }
@@ -9691,12 +9933,13 @@ export class CreateInnerCustomerserviceRequest extends $tea.Model {
9691
9933
  merchantName: 'string',
9692
9934
  processType: 'string',
9693
9935
  serviceProviderName: 'string',
9936
+ customerServicePhone: 'string',
9694
9937
  alipayBindMobile: 'string',
9695
9938
  alipayLogonId: 'string',
9696
- customerServicePhone: 'string',
9697
9939
  customerServiceName: 'string',
9698
9940
  onlineSupportSiteUrl: 'string',
9699
9941
  customerComplaintIssues: 'string',
9942
+ customerPersonInfoList: { 'type': 'array', 'itemType': CustomerPersonInfo },
9700
9943
  expandMode: 'string',
9701
9944
  };
9702
9945
  }
@@ -9743,25 +9986,27 @@ export class UpdateInnerCustomerserviceRequest extends $tea.Model {
9743
9986
  // 商家社会统一信用代码,间联模式必传
9744
9987
  merchantId?: string;
9745
9988
  // 公司名称
9746
- merchantName: string;
9989
+ merchantName?: string;
9747
9990
  // 处理类型:
9748
9991
  // MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
9749
9992
  // PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
9750
9993
  processType: string;
9751
- // 服务商名称
9994
+ // 服务商名称(已废弃)
9752
9995
  serviceProviderName?: string;
9753
- // 客诉处理员支付宝绑定手机号
9754
- alipayBindMobile: string;
9755
- // 客诉处理员支付宝账号
9756
- alipayLogonId: string;
9996
+ // 客诉处理员支付宝绑定手机号(已废弃)
9997
+ alipayBindMobile?: string;
9998
+ // 客诉处理员支付宝账号(已废弃)
9999
+ alipayLogonId?: string;
9757
10000
  // 客服电话
9758
10001
  customerServicePhone: string;
9759
- // 客服人员名称
9760
- customerServiceName: string;
10002
+ // 客服人员名称(已废弃)
10003
+ customerServiceName?: string;
9761
10004
  // 在线客服网址
9762
10005
  onlineSupportSiteUrl?: string;
9763
10006
  // 投诉问题
9764
- customerComplaintIssues: string;
10007
+ customerComplaintIssues?: string;
10008
+ // 客诉处理人员信息
10009
+ customerPersonInfoList?: CustomerPersonInfo[];
9765
10010
  // 进件类型
9766
10011
  // DIRECT("DIRECT", "直连进件模式"), AGENT("AGENT", "代理商进件模式"),
9767
10012
  expandMode: string;
@@ -9780,6 +10025,7 @@ export class UpdateInnerCustomerserviceRequest extends $tea.Model {
9780
10025
  customerServiceName: 'customer_service_name',
9781
10026
  onlineSupportSiteUrl: 'online_support_site_url',
9782
10027
  customerComplaintIssues: 'customer_complaint_issues',
10028
+ customerPersonInfoList: 'customer_person_info_list',
9783
10029
  expandMode: 'expand_mode',
9784
10030
  };
9785
10031
  }
@@ -9799,6 +10045,7 @@ export class UpdateInnerCustomerserviceRequest extends $tea.Model {
9799
10045
  customerServiceName: 'string',
9800
10046
  onlineSupportSiteUrl: 'string',
9801
10047
  customerComplaintIssues: 'string',
10048
+ customerPersonInfoList: { 'type': 'array', 'itemType': CustomerPersonInfo },
9802
10049
  expandMode: 'string',
9803
10050
  };
9804
10051
  }
@@ -9969,20 +10216,22 @@ export class DetailInnerCustomerserviceResponse extends $tea.Model {
9969
10216
  // MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
9970
10217
  // PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
9971
10218
  processType?: string;
9972
- // 服务商名称
10219
+ // 服务商名称(已废弃)
9973
10220
  serviceProviderName?: string;
9974
- // 客诉处理员支付宝绑定手机号
10221
+ // 客诉处理员支付宝绑定手机号(已废弃)
9975
10222
  alipayBindMobile?: string;
9976
- // 客诉处理员支付宝账号
10223
+ // 客诉处理员支付宝账号(已废弃)
9977
10224
  alipayLogonId?: string;
9978
10225
  // 客服电话
9979
10226
  customerServicePhone?: string;
9980
- // 客服人员名称
10227
+ // 客服人员名称(已废弃)
9981
10228
  customerServiceName?: string;
9982
10229
  // 在线客服网址
9983
10230
  onlineSupportSiteUrl?: string;
9984
10231
  // 投诉问题
9985
10232
  customerComplaintIssues?: string;
10233
+ // 客诉处理人员信息
10234
+ customerPersonInfoList?: CustomerPersonInfo[];
9986
10235
  static names(): { [key: string]: string } {
9987
10236
  return {
9988
10237
  reqMsgId: 'req_msg_id',
@@ -9998,6 +10247,7 @@ export class DetailInnerCustomerserviceResponse extends $tea.Model {
9998
10247
  customerServiceName: 'customer_service_name',
9999
10248
  onlineSupportSiteUrl: 'online_support_site_url',
10000
10249
  customerComplaintIssues: 'customer_complaint_issues',
10250
+ customerPersonInfoList: 'customer_person_info_list',
10001
10251
  };
10002
10252
  }
10003
10253
 
@@ -10016,6 +10266,7 @@ export class DetailInnerCustomerserviceResponse extends $tea.Model {
10016
10266
  customerServiceName: 'string',
10017
10267
  onlineSupportSiteUrl: 'string',
10018
10268
  customerComplaintIssues: 'string',
10269
+ customerPersonInfoList: { 'type': 'array', 'itemType': CustomerPersonInfo },
10019
10270
  };
10020
10271
  }
10021
10272
 
@@ -10718,6 +10969,10 @@ export class UpdateInnerMerchantpayexpandRequest extends $tea.Model {
10718
10969
  payExpandId: string;
10719
10970
  // 社会统一信用代码
10720
10971
  merchantId: string;
10972
+ // 租户id
10973
+ tenantId: string;
10974
+ // 操作人名称
10975
+ userName: string;
10721
10976
  static names(): { [key: string]: string } {
10722
10977
  return {
10723
10978
  authToken: 'auth_token',
@@ -10727,6 +10982,8 @@ export class UpdateInnerMerchantpayexpandRequest extends $tea.Model {
10727
10982
  applicationInfo: 'application_info',
10728
10983
  payExpandId: 'pay_expand_id',
10729
10984
  merchantId: 'merchant_id',
10985
+ tenantId: 'tenant_id',
10986
+ userName: 'user_name',
10730
10987
  };
10731
10988
  }
10732
10989
 
@@ -10739,6 +10996,8 @@ export class UpdateInnerMerchantpayexpandRequest extends $tea.Model {
10739
10996
  applicationInfo: ApplicationInfoUpdate,
10740
10997
  payExpandId: 'string',
10741
10998
  merchantId: 'string',
10999
+ tenantId: 'string',
11000
+ userName: 'string',
10742
11001
  };
10743
11002
  }
10744
11003
 
@@ -10779,23 +11038,287 @@ export class UpdateInnerMerchantpayexpandResponse extends $tea.Model {
10779
11038
  }
10780
11039
  }
10781
11040
 
10782
- export class CreateInsureRequest extends $tea.Model {
11041
+ export class QueryInnerTenantaccountinfoRequest extends $tea.Model {
10783
11042
  // OAuth模式下的授权token
10784
11043
  authToken?: string;
10785
11044
  productInstanceId?: string;
10786
- // 商户的订单号,后续用作和保单结果交互
10787
- orderId: string;
10788
- // 风控业务流水号
10789
- riskFlowId: string;
10790
- // 保险公司枚举,PA:平安保险
10791
- insureCompanyType: string;
10792
- // 保险类型枚举,PERFORMANCE:履约
10793
- insureProductType: string;
10794
- // 投保商品信息列表
10795
- productInfoList: InsureProductInfo[];
10796
- // 发货方式枚举,可选值:
10797
- // EXPRESS-物流发货
10798
- // OFFLINE-线下交易
11045
+ // 租户id
11046
+ tenantId: string;
11047
+ static names(): { [key: string]: string } {
11048
+ return {
11049
+ authToken: 'auth_token',
11050
+ productInstanceId: 'product_instance_id',
11051
+ tenantId: 'tenant_id',
11052
+ };
11053
+ }
11054
+
11055
+ static types(): { [key: string]: any } {
11056
+ return {
11057
+ authToken: 'string',
11058
+ productInstanceId: 'string',
11059
+ tenantId: 'string',
11060
+ };
11061
+ }
11062
+
11063
+ constructor(map?: { [key: string]: any }) {
11064
+ super(map);
11065
+ }
11066
+ }
11067
+
11068
+ export class QueryInnerTenantaccountinfoResponse extends $tea.Model {
11069
+ // 请求唯一ID,用于链路跟踪和问题排查
11070
+ reqMsgId?: string;
11071
+ // 结果码,一般OK表示调用成功
11072
+ resultCode?: string;
11073
+ // 异常信息的文本描述
11074
+ resultMsg?: string;
11075
+ // 租户id
11076
+ tenantId?: string;
11077
+ // 绑定手机号
11078
+ bindMobile?: string;
11079
+ // 登录账号
11080
+ loginName?: string;
11081
+ // 注册时间
11082
+ createTime?: string;
11083
+ // 是否已实名认证
11084
+ isCertified?: boolean;
11085
+ static names(): { [key: string]: string } {
11086
+ return {
11087
+ reqMsgId: 'req_msg_id',
11088
+ resultCode: 'result_code',
11089
+ resultMsg: 'result_msg',
11090
+ tenantId: 'tenant_id',
11091
+ bindMobile: 'bind_mobile',
11092
+ loginName: 'login_name',
11093
+ createTime: 'create_time',
11094
+ isCertified: 'is_certified',
11095
+ };
11096
+ }
11097
+
11098
+ static types(): { [key: string]: any } {
11099
+ return {
11100
+ reqMsgId: 'string',
11101
+ resultCode: 'string',
11102
+ resultMsg: 'string',
11103
+ tenantId: 'string',
11104
+ bindMobile: 'string',
11105
+ loginName: 'string',
11106
+ createTime: 'string',
11107
+ isCertified: 'boolean',
11108
+ };
11109
+ }
11110
+
11111
+ constructor(map?: { [key: string]: any }) {
11112
+ super(map);
11113
+ }
11114
+ }
11115
+
11116
+ export class CreateInnerTenantaccountinfoRequest extends $tea.Model {
11117
+ // OAuth模式下的授权token
11118
+ authToken?: string;
11119
+ productInstanceId?: string;
11120
+ // 支付宝账号id
11121
+ alipayUserId: string;
11122
+ static names(): { [key: string]: string } {
11123
+ return {
11124
+ authToken: 'auth_token',
11125
+ productInstanceId: 'product_instance_id',
11126
+ alipayUserId: 'alipay_user_id',
11127
+ };
11128
+ }
11129
+
11130
+ static types(): { [key: string]: any } {
11131
+ return {
11132
+ authToken: 'string',
11133
+ productInstanceId: 'string',
11134
+ alipayUserId: 'string',
11135
+ };
11136
+ }
11137
+
11138
+ constructor(map?: { [key: string]: any }) {
11139
+ super(map);
11140
+ }
11141
+ }
11142
+
11143
+ export class CreateInnerTenantaccountinfoResponse extends $tea.Model {
11144
+ // 请求唯一ID,用于链路跟踪和问题排查
11145
+ reqMsgId?: string;
11146
+ // 结果码,一般OK表示调用成功
11147
+ resultCode?: string;
11148
+ // 异常信息的文本描述
11149
+ resultMsg?: string;
11150
+ // 租户id
11151
+ tenantId?: string;
11152
+ // 登录账号
11153
+ loginName?: string;
11154
+ static names(): { [key: string]: string } {
11155
+ return {
11156
+ reqMsgId: 'req_msg_id',
11157
+ resultCode: 'result_code',
11158
+ resultMsg: 'result_msg',
11159
+ tenantId: 'tenant_id',
11160
+ loginName: 'login_name',
11161
+ };
11162
+ }
11163
+
11164
+ static types(): { [key: string]: any } {
11165
+ return {
11166
+ reqMsgId: 'string',
11167
+ resultCode: 'string',
11168
+ resultMsg: 'string',
11169
+ tenantId: 'string',
11170
+ loginName: 'string',
11171
+ };
11172
+ }
11173
+
11174
+ constructor(map?: { [key: string]: any }) {
11175
+ super(map);
11176
+ }
11177
+ }
11178
+
11179
+ export class GetInnerAgentcustomerserviceRequest extends $tea.Model {
11180
+ // OAuth模式下的授权token
11181
+ authToken?: string;
11182
+ productInstanceId?: string;
11183
+ // 租户id
11184
+ tenantId: string;
11185
+ static names(): { [key: string]: string } {
11186
+ return {
11187
+ authToken: 'auth_token',
11188
+ productInstanceId: 'product_instance_id',
11189
+ tenantId: 'tenant_id',
11190
+ };
11191
+ }
11192
+
11193
+ static types(): { [key: string]: any } {
11194
+ return {
11195
+ authToken: 'string',
11196
+ productInstanceId: 'string',
11197
+ tenantId: 'string',
11198
+ };
11199
+ }
11200
+
11201
+ constructor(map?: { [key: string]: any }) {
11202
+ super(map);
11203
+ }
11204
+ }
11205
+
11206
+ export class GetInnerAgentcustomerserviceResponse extends $tea.Model {
11207
+ // 请求唯一ID,用于链路跟踪和问题排查
11208
+ reqMsgId?: string;
11209
+ // 结果码,一般OK表示调用成功
11210
+ resultCode?: string;
11211
+ // 异常信息的文本描述
11212
+ resultMsg?: string;
11213
+ // 客诉问题
11214
+ customerComplaintIssues?: string;
11215
+ // 客诉处理人员信息
11216
+ customerPersonInfoList?: CustomerPersonInfo[];
11217
+ static names(): { [key: string]: string } {
11218
+ return {
11219
+ reqMsgId: 'req_msg_id',
11220
+ resultCode: 'result_code',
11221
+ resultMsg: 'result_msg',
11222
+ customerComplaintIssues: 'customer_complaint_issues',
11223
+ customerPersonInfoList: 'customer_person_info_list',
11224
+ };
11225
+ }
11226
+
11227
+ static types(): { [key: string]: any } {
11228
+ return {
11229
+ reqMsgId: 'string',
11230
+ resultCode: 'string',
11231
+ resultMsg: 'string',
11232
+ customerComplaintIssues: 'string',
11233
+ customerPersonInfoList: { 'type': 'array', 'itemType': CustomerPersonInfo },
11234
+ };
11235
+ }
11236
+
11237
+ constructor(map?: { [key: string]: any }) {
11238
+ super(map);
11239
+ }
11240
+ }
11241
+
11242
+ export class SaveInnerAgentcustomerserviceRequest extends $tea.Model {
11243
+ // OAuth模式下的授权token
11244
+ authToken?: string;
11245
+ productInstanceId?: string;
11246
+ // 租户id
11247
+ tenantId: string;
11248
+ // 客诉问题
11249
+ customerComplaintIssues: string;
11250
+ // 客诉处理人员信息
11251
+ customerPersonInfoList: CustomerPersonInfo[];
11252
+ static names(): { [key: string]: string } {
11253
+ return {
11254
+ authToken: 'auth_token',
11255
+ productInstanceId: 'product_instance_id',
11256
+ tenantId: 'tenant_id',
11257
+ customerComplaintIssues: 'customer_complaint_issues',
11258
+ customerPersonInfoList: 'customer_person_info_list',
11259
+ };
11260
+ }
11261
+
11262
+ static types(): { [key: string]: any } {
11263
+ return {
11264
+ authToken: 'string',
11265
+ productInstanceId: 'string',
11266
+ tenantId: 'string',
11267
+ customerComplaintIssues: 'string',
11268
+ customerPersonInfoList: { 'type': 'array', 'itemType': CustomerPersonInfo },
11269
+ };
11270
+ }
11271
+
11272
+ constructor(map?: { [key: string]: any }) {
11273
+ super(map);
11274
+ }
11275
+ }
11276
+
11277
+ export class SaveInnerAgentcustomerserviceResponse extends $tea.Model {
11278
+ // 请求唯一ID,用于链路跟踪和问题排查
11279
+ reqMsgId?: string;
11280
+ // 结果码,一般OK表示调用成功
11281
+ resultCode?: string;
11282
+ // 异常信息的文本描述
11283
+ resultMsg?: string;
11284
+ static names(): { [key: string]: string } {
11285
+ return {
11286
+ reqMsgId: 'req_msg_id',
11287
+ resultCode: 'result_code',
11288
+ resultMsg: 'result_msg',
11289
+ };
11290
+ }
11291
+
11292
+ static types(): { [key: string]: any } {
11293
+ return {
11294
+ reqMsgId: 'string',
11295
+ resultCode: 'string',
11296
+ resultMsg: 'string',
11297
+ };
11298
+ }
11299
+
11300
+ constructor(map?: { [key: string]: any }) {
11301
+ super(map);
11302
+ }
11303
+ }
11304
+
11305
+ export class CreateInsureRequest extends $tea.Model {
11306
+ // OAuth模式下的授权token
11307
+ authToken?: string;
11308
+ productInstanceId?: string;
11309
+ // 商户的订单号,后续用作和保单结果交互
11310
+ orderId: string;
11311
+ // 风控业务流水号
11312
+ riskFlowId: string;
11313
+ // 保险公司枚举,PA:平安保险
11314
+ insureCompanyType: string;
11315
+ // 保险类型枚举,PERFORMANCE:履约
11316
+ insureProductType: string;
11317
+ // 投保商品信息列表
11318
+ productInfoList: InsureProductInfo[];
11319
+ // 发货方式枚举,可选值:
11320
+ // EXPRESS-物流发货
11321
+ // OFFLINE-线下交易
10799
11322
  deliveryType: string;
10800
11323
  // 公司联系人姓名,RSA 加密传输
10801
11324
  contactName: string;
@@ -15567,7 +16090,7 @@ export default class Client {
15567
16090
  req_msg_id: AntchainUtil.getNonce(),
15568
16091
  access_key: this._accessKeyId,
15569
16092
  base_sdk_version: "TeaSDK-2.0",
15570
- sdk_version: "1.14.15",
16093
+ sdk_version: "1.14.25",
15571
16094
  _prod_code: "ATO",
15572
16095
  _prod_channel: "undefined",
15573
16096
  };
@@ -15615,6 +16138,25 @@ export default class Client {
15615
16138
  throw $tea.newUnretryableError(_lastRequest);
15616
16139
  }
15617
16140
 
16141
+ /**
16142
+ * Description: 数据提供方可以通过此接口传输数据,触达给消费方
16143
+ * Summary: 用户信息传输代理
16144
+ */
16145
+ async transferBrokerUserdata(request: TransferBrokerUserdataRequest): Promise<TransferBrokerUserdataResponse> {
16146
+ let runtime = new $Util.RuntimeOptions({ });
16147
+ let headers : {[key: string ]: string} = { };
16148
+ return await this.transferBrokerUserdataEx(request, headers, runtime);
16149
+ }
16150
+
16151
+ /**
16152
+ * Description: 数据提供方可以通过此接口传输数据,触达给消费方
16153
+ * Summary: 用户信息传输代理
16154
+ */
16155
+ async transferBrokerUserdataEx(request: TransferBrokerUserdataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<TransferBrokerUserdataResponse> {
16156
+ Util.validateModel(request);
16157
+ return $tea.cast<TransferBrokerUserdataResponse>(await this.doRequest("1.0", "antchain.ato.broker.userdata.transfer", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new TransferBrokerUserdataResponse({}));
16158
+ }
16159
+
15618
16160
  /**
15619
16161
  * Description: 分账流水同步
15620
16162
  * Summary: 【仅测试环境生效】分账流水同步
@@ -16287,6 +16829,48 @@ export default class Client {
16287
16829
  return $tea.cast<QueryFundAssetpackageResponse>(await this.doRequest("1.0", "antchain.ato.fund.assetpackage.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFundAssetpackageResponse({}));
16288
16830
  }
16289
16831
 
16832
+ /**
16833
+ * Description: 调用说明:
16834
+ 1. 资方配置用户取消拦截能力后,用户发起取消会通知资方,自发除了发起取消商户履约外,还可以通过次接口确认用户批量取消操作,用户可以进行取消
16835
+ * Summary: 允许用户取消(确认用户取消)
16836
+ */
16837
+ async confirmFundUsercancel(request: ConfirmFundUsercancelRequest): Promise<ConfirmFundUsercancelResponse> {
16838
+ let runtime = new $Util.RuntimeOptions({ });
16839
+ let headers : {[key: string ]: string} = { };
16840
+ return await this.confirmFundUsercancelEx(request, headers, runtime);
16841
+ }
16842
+
16843
+ /**
16844
+ * Description: 调用说明:
16845
+ 1. 资方配置用户取消拦截能力后,用户发起取消会通知资方,自发除了发起取消商户履约外,还可以通过次接口确认用户批量取消操作,用户可以进行取消
16846
+ * Summary: 允许用户取消(确认用户取消)
16847
+ */
16848
+ async confirmFundUsercancelEx(request: ConfirmFundUsercancelRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ConfirmFundUsercancelResponse> {
16849
+ Util.validateModel(request);
16850
+ return $tea.cast<ConfirmFundUsercancelResponse>(await this.doRequest("1.0", "antchain.ato.fund.usercancel.confirm", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ConfirmFundUsercancelResponse({}));
16851
+ }
16852
+
16853
+ /**
16854
+ * Description: 调用说明:
16855
+ 1. 当商户通过其他方式还款后,通过次接口同步信息,同步完成后会将扣款进行取消
16856
+ * Summary: 商户履约其他方式还款(单期取消)
16857
+ */
16858
+ async repayFundPlan(request: RepayFundPlanRequest): Promise<RepayFundPlanResponse> {
16859
+ let runtime = new $Util.RuntimeOptions({ });
16860
+ let headers : {[key: string ]: string} = { };
16861
+ return await this.repayFundPlanEx(request, headers, runtime);
16862
+ }
16863
+
16864
+ /**
16865
+ * Description: 调用说明:
16866
+ 1. 当商户通过其他方式还款后,通过次接口同步信息,同步完成后会将扣款进行取消
16867
+ * Summary: 商户履约其他方式还款(单期取消)
16868
+ */
16869
+ async repayFundPlanEx(request: RepayFundPlanRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RepayFundPlanResponse> {
16870
+ Util.validateModel(request);
16871
+ 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({}));
16872
+ }
16873
+
16290
16874
  /**
16291
16875
  * Description: 内部调用,商品信息获取
16292
16876
  * Summary: 商品信息获取
@@ -17695,6 +18279,82 @@ export default class Client {
17695
18279
  return $tea.cast<UpdateInnerMerchantpayexpandResponse>(await this.doRequest("1.0", "antchain.ato.inner.merchantpayexpand.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateInnerMerchantpayexpandResponse({}));
17696
18280
  }
17697
18281
 
18282
+ /**
18283
+ * Description: 查询租户账号信息
18284
+ * Summary: 查询租户账号信息
18285
+ */
18286
+ async queryInnerTenantaccountinfo(request: QueryInnerTenantaccountinfoRequest): Promise<QueryInnerTenantaccountinfoResponse> {
18287
+ let runtime = new $Util.RuntimeOptions({ });
18288
+ let headers : {[key: string ]: string} = { };
18289
+ return await this.queryInnerTenantaccountinfoEx(request, headers, runtime);
18290
+ }
18291
+
18292
+ /**
18293
+ * Description: 查询租户账号信息
18294
+ * Summary: 查询租户账号信息
18295
+ */
18296
+ async queryInnerTenantaccountinfoEx(request: QueryInnerTenantaccountinfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInnerTenantaccountinfoResponse> {
18297
+ Util.validateModel(request);
18298
+ return $tea.cast<QueryInnerTenantaccountinfoResponse>(await this.doRequest("1.0", "antchain.ato.inner.tenantaccountinfo.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerTenantaccountinfoResponse({}));
18299
+ }
18300
+
18301
+ /**
18302
+ * Description: 创建租户账号信息
18303
+ * Summary: 创建租户账号信息
18304
+ */
18305
+ async createInnerTenantaccountinfo(request: CreateInnerTenantaccountinfoRequest): Promise<CreateInnerTenantaccountinfoResponse> {
18306
+ let runtime = new $Util.RuntimeOptions({ });
18307
+ let headers : {[key: string ]: string} = { };
18308
+ return await this.createInnerTenantaccountinfoEx(request, headers, runtime);
18309
+ }
18310
+
18311
+ /**
18312
+ * Description: 创建租户账号信息
18313
+ * Summary: 创建租户账号信息
18314
+ */
18315
+ async createInnerTenantaccountinfoEx(request: CreateInnerTenantaccountinfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateInnerTenantaccountinfoResponse> {
18316
+ Util.validateModel(request);
18317
+ return $tea.cast<CreateInnerTenantaccountinfoResponse>(await this.doRequest("1.0", "antchain.ato.inner.tenantaccountinfo.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateInnerTenantaccountinfoResponse({}));
18318
+ }
18319
+
18320
+ /**
18321
+ * Description: 查询代理商客服人员信息
18322
+ * Summary: 查询代理商客服人员信息
18323
+ */
18324
+ async getInnerAgentcustomerservice(request: GetInnerAgentcustomerserviceRequest): Promise<GetInnerAgentcustomerserviceResponse> {
18325
+ let runtime = new $Util.RuntimeOptions({ });
18326
+ let headers : {[key: string ]: string} = { };
18327
+ return await this.getInnerAgentcustomerserviceEx(request, headers, runtime);
18328
+ }
18329
+
18330
+ /**
18331
+ * Description: 查询代理商客服人员信息
18332
+ * Summary: 查询代理商客服人员信息
18333
+ */
18334
+ async getInnerAgentcustomerserviceEx(request: GetInnerAgentcustomerserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetInnerAgentcustomerserviceResponse> {
18335
+ Util.validateModel(request);
18336
+ return $tea.cast<GetInnerAgentcustomerserviceResponse>(await this.doRequest("1.0", "antchain.ato.inner.agentcustomerservice.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetInnerAgentcustomerserviceResponse({}));
18337
+ }
18338
+
18339
+ /**
18340
+ * Description: 保存代理商客服人员信息
18341
+ * Summary: 保存代理商客服人员信息
18342
+ */
18343
+ async saveInnerAgentcustomerservice(request: SaveInnerAgentcustomerserviceRequest): Promise<SaveInnerAgentcustomerserviceResponse> {
18344
+ let runtime = new $Util.RuntimeOptions({ });
18345
+ let headers : {[key: string ]: string} = { };
18346
+ return await this.saveInnerAgentcustomerserviceEx(request, headers, runtime);
18347
+ }
18348
+
18349
+ /**
18350
+ * Description: 保存代理商客服人员信息
18351
+ * Summary: 保存代理商客服人员信息
18352
+ */
18353
+ async saveInnerAgentcustomerserviceEx(request: SaveInnerAgentcustomerserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SaveInnerAgentcustomerserviceResponse> {
18354
+ Util.validateModel(request);
18355
+ return $tea.cast<SaveInnerAgentcustomerserviceResponse>(await this.doRequest("1.0", "antchain.ato.inner.agentcustomerservice.save", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SaveInnerAgentcustomerserviceResponse({}));
18356
+ }
18357
+
17698
18358
  /**
17699
18359
  * Description: 一键投保
17700
18360
  * Summary: 投保