@antchain/ato 1.12.11 → 1.13.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
@@ -365,6 +365,27 @@ export class AppletRiskModel extends $tea.Model {
365
365
  }
366
366
  }
367
367
 
368
+ // 分账关系绑定收入方信息
369
+ export class DivideBindingTransInInfo extends $tea.Model {
370
+ // 分账方支付宝pid
371
+ alipayPid: string;
372
+ static names(): { [key: string]: string } {
373
+ return {
374
+ alipayPid: 'alipay_pid',
375
+ };
376
+ }
377
+
378
+ static types(): { [key: string]: any } {
379
+ return {
380
+ alipayPid: 'string',
381
+ };
382
+ }
383
+
384
+ constructor(map?: { [key: string]: any }) {
385
+ super(map);
386
+ }
387
+ }
388
+
368
389
  // 投保商品信息
369
390
  export class InsureProductInfo extends $tea.Model {
370
391
  // 商品库id
@@ -4032,6 +4053,132 @@ export class GetFundOrderfinanceinfoResponse extends $tea.Model {
4032
4053
  }
4033
4054
  }
4034
4055
 
4056
+ export class AddFundDividerelationRequest extends $tea.Model {
4057
+ // OAuth模式下的授权token
4058
+ authToken?: string;
4059
+ productInstanceId?: string;
4060
+ // 被分账方社会统一信用代码
4061
+ merchantId: string;
4062
+ // 分账方信息,最多支持10组
4063
+ divideBindingTransInInfoList: DivideBindingTransInInfo[];
4064
+ // 分账比例上限
4065
+ divideRadio?: string;
4066
+ static names(): { [key: string]: string } {
4067
+ return {
4068
+ authToken: 'auth_token',
4069
+ productInstanceId: 'product_instance_id',
4070
+ merchantId: 'merchant_id',
4071
+ divideBindingTransInInfoList: 'divide_binding_trans_in_info_list',
4072
+ divideRadio: 'divide_radio',
4073
+ };
4074
+ }
4075
+
4076
+ static types(): { [key: string]: any } {
4077
+ return {
4078
+ authToken: 'string',
4079
+ productInstanceId: 'string',
4080
+ merchantId: 'string',
4081
+ divideBindingTransInInfoList: { 'type': 'array', 'itemType': DivideBindingTransInInfo },
4082
+ divideRadio: 'string',
4083
+ };
4084
+ }
4085
+
4086
+ constructor(map?: { [key: string]: any }) {
4087
+ super(map);
4088
+ }
4089
+ }
4090
+
4091
+ export class AddFundDividerelationResponse extends $tea.Model {
4092
+ // 请求唯一ID,用于链路跟踪和问题排查
4093
+ reqMsgId?: string;
4094
+ // 结果码,一般OK表示调用成功
4095
+ resultCode?: string;
4096
+ // 异常信息的文本描述
4097
+ resultMsg?: string;
4098
+ static names(): { [key: string]: string } {
4099
+ return {
4100
+ reqMsgId: 'req_msg_id',
4101
+ resultCode: 'result_code',
4102
+ resultMsg: 'result_msg',
4103
+ };
4104
+ }
4105
+
4106
+ static types(): { [key: string]: any } {
4107
+ return {
4108
+ reqMsgId: 'string',
4109
+ resultCode: 'string',
4110
+ resultMsg: 'string',
4111
+ };
4112
+ }
4113
+
4114
+ constructor(map?: { [key: string]: any }) {
4115
+ super(map);
4116
+ }
4117
+ }
4118
+
4119
+ export class QueryFundDividerelationRequest extends $tea.Model {
4120
+ // OAuth模式下的授权token
4121
+ authToken?: string;
4122
+ productInstanceId?: string;
4123
+ // 被分账方社会统一信用代码
4124
+ merchantId: string;
4125
+ static names(): { [key: string]: string } {
4126
+ return {
4127
+ authToken: 'auth_token',
4128
+ productInstanceId: 'product_instance_id',
4129
+ merchantId: 'merchant_id',
4130
+ };
4131
+ }
4132
+
4133
+ static types(): { [key: string]: any } {
4134
+ return {
4135
+ authToken: 'string',
4136
+ productInstanceId: 'string',
4137
+ merchantId: 'string',
4138
+ };
4139
+ }
4140
+
4141
+ constructor(map?: { [key: string]: any }) {
4142
+ super(map);
4143
+ }
4144
+ }
4145
+
4146
+ export class QueryFundDividerelationResponse extends $tea.Model {
4147
+ // 请求唯一ID,用于链路跟踪和问题排查
4148
+ reqMsgId?: string;
4149
+ // 结果码,一般OK表示调用成功
4150
+ resultCode?: string;
4151
+ // 异常信息的文本描述
4152
+ resultMsg?: string;
4153
+ // 分账绑定关系支付宝pid
4154
+ alipayPidList?: string[];
4155
+ // 分账比例上限
4156
+ divideRadio?: string;
4157
+ static names(): { [key: string]: string } {
4158
+ return {
4159
+ reqMsgId: 'req_msg_id',
4160
+ resultCode: 'result_code',
4161
+ resultMsg: 'result_msg',
4162
+ alipayPidList: 'alipay_pid_list',
4163
+ divideRadio: 'divide_radio',
4164
+ };
4165
+ }
4166
+
4167
+ static types(): { [key: string]: any } {
4168
+ return {
4169
+ reqMsgId: 'string',
4170
+ resultCode: 'string',
4171
+ resultMsg: 'string',
4172
+ alipayPidList: { 'type': 'array', 'itemType': 'string' },
4173
+ divideRadio: 'string',
4174
+ };
4175
+ }
4176
+
4177
+ constructor(map?: { [key: string]: any }) {
4178
+ super(map);
4179
+ }
4180
+ }
4181
+
4035
4182
  export class GetInnerProductRequest extends $tea.Model {
4036
4183
  // OAuth模式下的授权token
4037
4184
  authToken?: string;
@@ -5869,12 +6016,15 @@ export class QueryInnerMerchantagreementRequest extends $tea.Model {
5869
6016
  tenantId: string;
5870
6017
  // 协议id
5871
6018
  agreementId: string;
6019
+ // 租户账号
6020
+ userName?: string;
5872
6021
  static names(): { [key: string]: string } {
5873
6022
  return {
5874
6023
  authToken: 'auth_token',
5875
6024
  productInstanceId: 'product_instance_id',
5876
6025
  tenantId: 'tenant_id',
5877
6026
  agreementId: 'agreement_id',
6027
+ userName: 'user_name',
5878
6028
  };
5879
6029
  }
5880
6030
 
@@ -5884,6 +6034,7 @@ export class QueryInnerMerchantagreementRequest extends $tea.Model {
5884
6034
  productInstanceId: 'string',
5885
6035
  tenantId: 'string',
5886
6036
  agreementId: 'string',
6037
+ userName: 'string',
5887
6038
  };
5888
6039
  }
5889
6040
 
@@ -5943,12 +6094,15 @@ export class PagequeryInnerMerchantagreementRequest extends $tea.Model {
5943
6094
  tenantId: string;
5944
6095
  // 分页对象
5945
6096
  pageInfo: PageQuery;
6097
+ // 租户账号
6098
+ userName?: string;
5946
6099
  static names(): { [key: string]: string } {
5947
6100
  return {
5948
6101
  authToken: 'auth_token',
5949
6102
  productInstanceId: 'product_instance_id',
5950
6103
  tenantId: 'tenant_id',
5951
6104
  pageInfo: 'page_info',
6105
+ userName: 'user_name',
5952
6106
  };
5953
6107
  }
5954
6108
 
@@ -5958,6 +6112,7 @@ export class PagequeryInnerMerchantagreementRequest extends $tea.Model {
5958
6112
  productInstanceId: 'string',
5959
6113
  tenantId: 'string',
5960
6114
  pageInfo: PageQuery,
6115
+ userName: 'string',
5961
6116
  };
5962
6117
  }
5963
6118
 
@@ -9732,6 +9887,132 @@ export class UpdateMerchantexpandMerchantResponse extends $tea.Model {
9732
9887
  }
9733
9888
  }
9734
9889
 
9890
+ export class AddMerchantexpandDividerelationRequest extends $tea.Model {
9891
+ // OAuth模式下的授权token
9892
+ authToken?: string;
9893
+ productInstanceId?: string;
9894
+ // 被分账方社会统一信用代码
9895
+ merchantId: string;
9896
+ // 分账方信息,最多支持10组
9897
+ divideBindingTransInInfoList: DivideBindingTransInInfo[];
9898
+ // 分账比例上限
9899
+ divideRadio?: string;
9900
+ static names(): { [key: string]: string } {
9901
+ return {
9902
+ authToken: 'auth_token',
9903
+ productInstanceId: 'product_instance_id',
9904
+ merchantId: 'merchant_id',
9905
+ divideBindingTransInInfoList: 'divide_binding_trans_in_info_list',
9906
+ divideRadio: 'divide_radio',
9907
+ };
9908
+ }
9909
+
9910
+ static types(): { [key: string]: any } {
9911
+ return {
9912
+ authToken: 'string',
9913
+ productInstanceId: 'string',
9914
+ merchantId: 'string',
9915
+ divideBindingTransInInfoList: { 'type': 'array', 'itemType': DivideBindingTransInInfo },
9916
+ divideRadio: 'string',
9917
+ };
9918
+ }
9919
+
9920
+ constructor(map?: { [key: string]: any }) {
9921
+ super(map);
9922
+ }
9923
+ }
9924
+
9925
+ export class AddMerchantexpandDividerelationResponse extends $tea.Model {
9926
+ // 请求唯一ID,用于链路跟踪和问题排查
9927
+ reqMsgId?: string;
9928
+ // 结果码,一般OK表示调用成功
9929
+ resultCode?: string;
9930
+ // 异常信息的文本描述
9931
+ resultMsg?: string;
9932
+ static names(): { [key: string]: string } {
9933
+ return {
9934
+ reqMsgId: 'req_msg_id',
9935
+ resultCode: 'result_code',
9936
+ resultMsg: 'result_msg',
9937
+ };
9938
+ }
9939
+
9940
+ static types(): { [key: string]: any } {
9941
+ return {
9942
+ reqMsgId: 'string',
9943
+ resultCode: 'string',
9944
+ resultMsg: 'string',
9945
+ };
9946
+ }
9947
+
9948
+ constructor(map?: { [key: string]: any }) {
9949
+ super(map);
9950
+ }
9951
+ }
9952
+
9953
+ export class QueryMerchantexpandDividerelationRequest extends $tea.Model {
9954
+ // OAuth模式下的授权token
9955
+ authToken?: string;
9956
+ productInstanceId?: string;
9957
+ // 被分账方社会统一信用代码
9958
+ merchantId: string;
9959
+ static names(): { [key: string]: string } {
9960
+ return {
9961
+ authToken: 'auth_token',
9962
+ productInstanceId: 'product_instance_id',
9963
+ merchantId: 'merchant_id',
9964
+ };
9965
+ }
9966
+
9967
+ static types(): { [key: string]: any } {
9968
+ return {
9969
+ authToken: 'string',
9970
+ productInstanceId: 'string',
9971
+ merchantId: 'string',
9972
+ };
9973
+ }
9974
+
9975
+ constructor(map?: { [key: string]: any }) {
9976
+ super(map);
9977
+ }
9978
+ }
9979
+
9980
+ export class QueryMerchantexpandDividerelationResponse extends $tea.Model {
9981
+ // 请求唯一ID,用于链路跟踪和问题排查
9982
+ reqMsgId?: string;
9983
+ // 结果码,一般OK表示调用成功
9984
+ resultCode?: string;
9985
+ // 异常信息的文本描述
9986
+ resultMsg?: string;
9987
+ // 分账绑定关系支付宝pid
9988
+ alipayPidList?: string[];
9989
+ // 分账比例上限
9990
+ divideRadio?: string;
9991
+ static names(): { [key: string]: string } {
9992
+ return {
9993
+ reqMsgId: 'req_msg_id',
9994
+ resultCode: 'result_code',
9995
+ resultMsg: 'result_msg',
9996
+ alipayPidList: 'alipay_pid_list',
9997
+ divideRadio: 'divide_radio',
9998
+ };
9999
+ }
10000
+
10001
+ static types(): { [key: string]: any } {
10002
+ return {
10003
+ reqMsgId: 'string',
10004
+ resultCode: 'string',
10005
+ resultMsg: 'string',
10006
+ alipayPidList: { 'type': 'array', 'itemType': 'string' },
10007
+ divideRadio: 'string',
10008
+ };
10009
+ }
10010
+
10011
+ constructor(map?: { [key: string]: any }) {
10012
+ super(map);
10013
+ }
10014
+ }
10015
+
9735
10016
  export class CreateRealpersonFacevrfRequest extends $tea.Model {
9736
10017
  // OAuth模式下的授权token
9737
10018
  authToken?: string;
@@ -10002,6 +10283,8 @@ export class QueryRiskGoRequest extends $tea.Model {
10002
10283
  productInstanceId?: string;
10003
10284
  // 风险类型。枚举值:MARKETING_PURCHASE_COMMON 营销抢购风险识别;INDUSTRY_SCALPER_COMMON 行业黄牛风险识别;MARKETING_AWARDING_COMMON 营销发奖风险识别;INDUSTRY_FARMING_COMMON 行业刷单风险识别;INDUSTRY_BADDEBT_COMMON 履约坏账风险识别
10004
10285
  riskType: string;
10286
+ // 单次请求流水号,需要保证唯一
10287
+ flowId: string;
10005
10288
  // 调用行业,枚举值:
10006
10289
  // 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
10290
  businessCode: string;
@@ -10036,11 +10319,14 @@ export class QueryRiskGoRequest extends $tea.Model {
10036
10319
  farmingQueryModel?: FarmingQueryModel;
10037
10320
  // 行业履约风险识别入参模型
10038
10321
  baddebtQueryModel?: BaddebtQueryModel;
10322
+ // 商户appId,当openId不为空时必填
10323
+ merchantAppId?: string;
10039
10324
  static names(): { [key: string]: string } {
10040
10325
  return {
10041
10326
  authToken: 'auth_token',
10042
10327
  productInstanceId: 'product_instance_id',
10043
10328
  riskType: 'risk_type',
10329
+ flowId: 'flow_id',
10044
10330
  businessCode: 'business_code',
10045
10331
  scene: 'scene',
10046
10332
  userId: 'user_id',
@@ -10057,6 +10343,7 @@ export class QueryRiskGoRequest extends $tea.Model {
10057
10343
  awardingQueryModel: 'awarding_query_model',
10058
10344
  farmingQueryModel: 'farming_query_model',
10059
10345
  baddebtQueryModel: 'baddebt_query_model',
10346
+ merchantAppId: 'merchant_app_id',
10060
10347
  };
10061
10348
  }
10062
10349
 
@@ -10065,6 +10352,7 @@ export class QueryRiskGoRequest extends $tea.Model {
10065
10352
  authToken: 'string',
10066
10353
  productInstanceId: 'string',
10067
10354
  riskType: 'string',
10355
+ flowId: 'string',
10068
10356
  businessCode: 'string',
10069
10357
  scene: 'string',
10070
10358
  userId: 'string',
@@ -10081,6 +10369,7 @@ export class QueryRiskGoRequest extends $tea.Model {
10081
10369
  awardingQueryModel: AwardingQueryModel,
10082
10370
  farmingQueryModel: FarmingQueryModel,
10083
10371
  baddebtQueryModel: BaddebtQueryModel,
10372
+ merchantAppId: 'string',
10084
10373
  };
10085
10374
  }
10086
10375
 
@@ -10121,23 +10410,36 @@ export class QueryRiskGoResponse extends $tea.Model {
10121
10410
  }
10122
10411
  }
10123
10412
 
10124
- export class AllSignTemplateRequest extends $tea.Model {
10413
+ export class UploadInnerRiskcallRequest extends $tea.Model {
10125
10414
  // OAuth模式下的授权token
10126
10415
  authToken?: string;
10127
10416
  productInstanceId?: string;
10128
- // 合同类型,如果不传则返回所有
10129
- contractType?: string;
10130
- // 商户统一社会信用代码,SIT环境,非融必填
10131
- merchantId?: string;
10132
- // 模板id
10133
- templateId?: string;
10417
+ // 幂等id
10418
+ idempotentId: string;
10419
+ // 商户的支付宝唯一id
10420
+ pid: string;
10421
+ // 计量值
10422
+ serviceAmount: number;
10423
+ // 上报的数据开始时间,格式 yyyy-MM-dd HH:mm:ss
10424
+ startTime: string;
10425
+ // 上报的数据结束时间,格式 yyyy-MM-dd HH:mm:ss
10426
+ endTime: string;
10427
+ // 支付宝开放平台购买的实例 id
10428
+ alipayInstanceId: string;
10429
+ // 扩展参数
10430
+ // jsonString
10431
+ extInfo?: string;
10134
10432
  static names(): { [key: string]: string } {
10135
10433
  return {
10136
10434
  authToken: 'auth_token',
10137
10435
  productInstanceId: 'product_instance_id',
10138
- contractType: 'contract_type',
10139
- merchantId: 'merchant_id',
10140
- templateId: 'template_id',
10436
+ idempotentId: 'idempotent_id',
10437
+ pid: 'pid',
10438
+ serviceAmount: 'service_amount',
10439
+ startTime: 'start_time',
10440
+ endTime: 'end_time',
10441
+ alipayInstanceId: 'alipay_instance_id',
10442
+ extInfo: 'ext_info',
10141
10443
  };
10142
10444
  }
10143
10445
 
@@ -10145,9 +10447,13 @@ export class AllSignTemplateRequest extends $tea.Model {
10145
10447
  return {
10146
10448
  authToken: 'string',
10147
10449
  productInstanceId: 'string',
10148
- contractType: 'string',
10149
- merchantId: 'string',
10150
- templateId: 'string',
10450
+ idempotentId: 'string',
10451
+ pid: 'string',
10452
+ serviceAmount: 'number',
10453
+ startTime: 'string',
10454
+ endTime: 'string',
10455
+ alipayInstanceId: 'string',
10456
+ extInfo: 'string',
10151
10457
  };
10152
10458
  }
10153
10459
 
@@ -10156,21 +10462,21 @@ export class AllSignTemplateRequest extends $tea.Model {
10156
10462
  }
10157
10463
  }
10158
10464
 
10159
- export class AllSignTemplateResponse extends $tea.Model {
10465
+ export class UploadInnerRiskcallResponse extends $tea.Model {
10160
10466
  // 请求唯一ID,用于链路跟踪和问题排查
10161
10467
  reqMsgId?: string;
10162
10468
  // 结果码,一般OK表示调用成功
10163
10469
  resultCode?: string;
10164
10470
  // 异常信息的文本描述
10165
10471
  resultMsg?: string;
10166
- // List<JSONObject>格式内容
10167
- templateList?: string;
10472
+ // 上报成功返回 true,否则返回 false
10473
+ result?: boolean;
10168
10474
  static names(): { [key: string]: string } {
10169
10475
  return {
10170
10476
  reqMsgId: 'req_msg_id',
10171
10477
  resultCode: 'result_code',
10172
10478
  resultMsg: 'result_msg',
10173
- templateList: 'template_list',
10479
+ result: 'result',
10174
10480
  };
10175
10481
  }
10176
10482
 
@@ -10179,7 +10485,83 @@ export class AllSignTemplateResponse extends $tea.Model {
10179
10485
  reqMsgId: 'string',
10180
10486
  resultCode: 'string',
10181
10487
  resultMsg: 'string',
10182
- templateList: 'string',
10488
+ result: 'boolean',
10489
+ };
10490
+ }
10491
+
10492
+ constructor(map?: { [key: string]: any }) {
10493
+ super(map);
10494
+ }
10495
+ }
10496
+
10497
+ export class AllSignTemplateRequest extends $tea.Model {
10498
+ // OAuth模式下的授权token
10499
+ authToken?: string;
10500
+ productInstanceId?: string;
10501
+ // 合同类型,如果不传则返回所有
10502
+ contractType?: string;
10503
+ // 商户统一社会信用代码,SIT环境,非融必填
10504
+ merchantId?: string;
10505
+ // 查询融资类型时,需要传入资方统一社会信用代码
10506
+ fundId?: string;
10507
+ // -FINANCE 融资
10508
+ // -NON_FINANCE 非融资
10509
+ fundType?: string;
10510
+ // 模板id
10511
+ templateId?: string;
10512
+ static names(): { [key: string]: string } {
10513
+ return {
10514
+ authToken: 'auth_token',
10515
+ productInstanceId: 'product_instance_id',
10516
+ contractType: 'contract_type',
10517
+ merchantId: 'merchant_id',
10518
+ fundId: 'fund_id',
10519
+ fundType: 'fund_type',
10520
+ templateId: 'template_id',
10521
+ };
10522
+ }
10523
+
10524
+ static types(): { [key: string]: any } {
10525
+ return {
10526
+ authToken: 'string',
10527
+ productInstanceId: 'string',
10528
+ contractType: 'string',
10529
+ merchantId: 'string',
10530
+ fundId: 'string',
10531
+ fundType: 'string',
10532
+ templateId: 'string',
10533
+ };
10534
+ }
10535
+
10536
+ constructor(map?: { [key: string]: any }) {
10537
+ super(map);
10538
+ }
10539
+ }
10540
+
10541
+ export class AllSignTemplateResponse extends $tea.Model {
10542
+ // 请求唯一ID,用于链路跟踪和问题排查
10543
+ reqMsgId?: string;
10544
+ // 结果码,一般OK表示调用成功
10545
+ resultCode?: string;
10546
+ // 异常信息的文本描述
10547
+ resultMsg?: string;
10548
+ // List<JSONObject>格式内容
10549
+ templateList?: string;
10550
+ static names(): { [key: string]: string } {
10551
+ return {
10552
+ reqMsgId: 'req_msg_id',
10553
+ resultCode: 'result_code',
10554
+ resultMsg: 'result_msg',
10555
+ templateList: 'template_list',
10556
+ };
10557
+ }
10558
+
10559
+ static types(): { [key: string]: any } {
10560
+ return {
10561
+ reqMsgId: 'string',
10562
+ resultCode: 'string',
10563
+ resultMsg: 'string',
10564
+ templateList: 'string',
10183
10565
  };
10184
10566
  }
10185
10567
 
@@ -12301,6 +12683,219 @@ export class GetTradeOrderfinanceinfoResponse extends $tea.Model {
12301
12683
  }
12302
12684
  }
12303
12685
 
12686
+ export class SyncTradeUserpromisedelayRequest extends $tea.Model {
12687
+ // OAuth模式下的授权token
12688
+ authToken?: string;
12689
+ productInstanceId?: string;
12690
+ // order_id
12691
+ orderId: string;
12692
+ // merchant_id
12693
+ merchantId: string;
12694
+ // 1
12695
+ delayStartPeriod: number;
12696
+ // 延期时间单位
12697
+ delayTimeUnit: string;
12698
+ // 延期时间数值
12699
+ delayTimeValue: number;
12700
+ // 原因描述
12701
+ reason: string;
12702
+ static names(): { [key: string]: string } {
12703
+ return {
12704
+ authToken: 'auth_token',
12705
+ productInstanceId: 'product_instance_id',
12706
+ orderId: 'order_id',
12707
+ merchantId: 'merchant_id',
12708
+ delayStartPeriod: 'delay_start_period',
12709
+ delayTimeUnit: 'delay_time_unit',
12710
+ delayTimeValue: 'delay_time_value',
12711
+ reason: 'reason',
12712
+ };
12713
+ }
12714
+
12715
+ static types(): { [key: string]: any } {
12716
+ return {
12717
+ authToken: 'string',
12718
+ productInstanceId: 'string',
12719
+ orderId: 'string',
12720
+ merchantId: 'string',
12721
+ delayStartPeriod: 'number',
12722
+ delayTimeUnit: 'string',
12723
+ delayTimeValue: 'number',
12724
+ reason: 'string',
12725
+ };
12726
+ }
12727
+
12728
+ constructor(map?: { [key: string]: any }) {
12729
+ super(map);
12730
+ }
12731
+ }
12732
+
12733
+ export class SyncTradeUserpromisedelayResponse extends $tea.Model {
12734
+ // 请求唯一ID,用于链路跟踪和问题排查
12735
+ reqMsgId?: string;
12736
+ // 结果码,一般OK表示调用成功
12737
+ resultCode?: string;
12738
+ // 异常信息的文本描述
12739
+ resultMsg?: string;
12740
+ static names(): { [key: string]: string } {
12741
+ return {
12742
+ reqMsgId: 'req_msg_id',
12743
+ resultCode: 'result_code',
12744
+ resultMsg: 'result_msg',
12745
+ };
12746
+ }
12747
+
12748
+ static types(): { [key: string]: any } {
12749
+ return {
12750
+ reqMsgId: 'string',
12751
+ resultCode: 'string',
12752
+ resultMsg: 'string',
12753
+ };
12754
+ }
12755
+
12756
+ constructor(map?: { [key: string]: any }) {
12757
+ super(map);
12758
+ }
12759
+ }
12760
+
12761
+ export class PauseTradeUserpromiseRequest extends $tea.Model {
12762
+ // OAuth模式下的授权token
12763
+ authToken?: string;
12764
+ productInstanceId?: string;
12765
+ // 订单id
12766
+ orderId: string;
12767
+ // 社会信用代码
12768
+ merchantId: string;
12769
+ // 理由
12770
+ reason: string;
12771
+ static names(): { [key: string]: string } {
12772
+ return {
12773
+ authToken: 'auth_token',
12774
+ productInstanceId: 'product_instance_id',
12775
+ orderId: 'order_id',
12776
+ merchantId: 'merchant_id',
12777
+ reason: 'reason',
12778
+ };
12779
+ }
12780
+
12781
+ static types(): { [key: string]: any } {
12782
+ return {
12783
+ authToken: 'string',
12784
+ productInstanceId: 'string',
12785
+ orderId: 'string',
12786
+ merchantId: 'string',
12787
+ reason: 'string',
12788
+ };
12789
+ }
12790
+
12791
+ constructor(map?: { [key: string]: any }) {
12792
+ super(map);
12793
+ }
12794
+ }
12795
+
12796
+ export class PauseTradeUserpromiseResponse extends $tea.Model {
12797
+ // 请求唯一ID,用于链路跟踪和问题排查
12798
+ reqMsgId?: string;
12799
+ // 结果码,一般OK表示调用成功
12800
+ resultCode?: string;
12801
+ // 异常信息的文本描述
12802
+ resultMsg?: string;
12803
+ // 暂停后自动重启时间
12804
+ autoResumeDay?: string;
12805
+ // 暂停后自动执行代扣时间,为autoResumeDay的第二天重新开始执行代扣计划
12806
+ autoWithholdRestartDay?: string;
12807
+ static names(): { [key: string]: string } {
12808
+ return {
12809
+ reqMsgId: 'req_msg_id',
12810
+ resultCode: 'result_code',
12811
+ resultMsg: 'result_msg',
12812
+ autoResumeDay: 'auto_resume_day',
12813
+ autoWithholdRestartDay: 'auto_withhold_restart_day',
12814
+ };
12815
+ }
12816
+
12817
+ static types(): { [key: string]: any } {
12818
+ return {
12819
+ reqMsgId: 'string',
12820
+ resultCode: 'string',
12821
+ resultMsg: 'string',
12822
+ autoResumeDay: 'string',
12823
+ autoWithholdRestartDay: 'string',
12824
+ };
12825
+ }
12826
+
12827
+ constructor(map?: { [key: string]: any }) {
12828
+ super(map);
12829
+ }
12830
+ }
12831
+
12832
+ export class ResumeTradeUserpromiseRequest extends $tea.Model {
12833
+ // OAuth模式下的授权token
12834
+ authToken?: string;
12835
+ productInstanceId?: string;
12836
+ // order_id
12837
+ orderId: string;
12838
+ // merchant_id
12839
+ merchantId: string;
12840
+ static names(): { [key: string]: string } {
12841
+ return {
12842
+ authToken: 'auth_token',
12843
+ productInstanceId: 'product_instance_id',
12844
+ orderId: 'order_id',
12845
+ merchantId: 'merchant_id',
12846
+ };
12847
+ }
12848
+
12849
+ static types(): { [key: string]: any } {
12850
+ return {
12851
+ authToken: 'string',
12852
+ productInstanceId: 'string',
12853
+ orderId: 'string',
12854
+ merchantId: 'string',
12855
+ };
12856
+ }
12857
+
12858
+ constructor(map?: { [key: string]: any }) {
12859
+ super(map);
12860
+ }
12861
+ }
12862
+
12863
+ export class ResumeTradeUserpromiseResponse extends $tea.Model {
12864
+ // 请求唯一ID,用于链路跟踪和问题排查
12865
+ reqMsgId?: string;
12866
+ // 结果码,一般OK表示调用成功
12867
+ resultCode?: string;
12868
+ // 异常信息的文本描述
12869
+ resultMsg?: string;
12870
+ // 订单重启时间
12871
+ resumeDay?: string;
12872
+ // withhold_restart_day
12873
+ withholdRestartDay?: string;
12874
+ static names(): { [key: string]: string } {
12875
+ return {
12876
+ reqMsgId: 'req_msg_id',
12877
+ resultCode: 'result_code',
12878
+ resultMsg: 'result_msg',
12879
+ resumeDay: 'resume_day',
12880
+ withholdRestartDay: 'withhold_restart_day',
12881
+ };
12882
+ }
12883
+
12884
+ static types(): { [key: string]: any } {
12885
+ return {
12886
+ reqMsgId: 'string',
12887
+ resultCode: 'string',
12888
+ resultMsg: 'string',
12889
+ resumeDay: 'string',
12890
+ withholdRestartDay: 'string',
12891
+ };
12892
+ }
12893
+
12894
+ constructor(map?: { [key: string]: any }) {
12895
+ super(map);
12896
+ }
12897
+ }
12898
+
12304
12899
  export class CreateWithholdSignRequest extends $tea.Model {
12305
12900
  // OAuth模式下的授权token
12306
12901
  authToken?: string;
@@ -13524,7 +14119,7 @@ export default class Client {
13524
14119
  req_msg_id: AntchainUtil.getNonce(),
13525
14120
  access_key: this._accessKeyId,
13526
14121
  base_sdk_version: "TeaSDK-2.0",
13527
- sdk_version: "1.12.11",
14122
+ sdk_version: "1.13.11",
13528
14123
  _prod_code: "ATO",
13529
14124
  _prod_channel: "undefined",
13530
14125
  };
@@ -14031,6 +14626,44 @@ export default class Client {
14031
14626
  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
14627
  }
14033
14628
 
14629
+ /**
14630
+ * Description: 添加分账绑定关系
14631
+ * Summary: 添加分账绑定关系
14632
+ */
14633
+ async addFundDividerelation(request: AddFundDividerelationRequest): Promise<AddFundDividerelationResponse> {
14634
+ let runtime = new $Util.RuntimeOptions({ });
14635
+ let headers : {[key: string ]: string} = { };
14636
+ return await this.addFundDividerelationEx(request, headers, runtime);
14637
+ }
14638
+
14639
+ /**
14640
+ * Description: 添加分账绑定关系
14641
+ * Summary: 添加分账绑定关系
14642
+ */
14643
+ async addFundDividerelationEx(request: AddFundDividerelationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AddFundDividerelationResponse> {
14644
+ Util.validateModel(request);
14645
+ return $tea.cast<AddFundDividerelationResponse>(await this.doRequest("1.0", "antchain.ato.fund.dividerelation.add", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new AddFundDividerelationResponse({}));
14646
+ }
14647
+
14648
+ /**
14649
+ * Description: 分账绑定关系查询
14650
+ * Summary: 分账绑定关系查询
14651
+ */
14652
+ async queryFundDividerelation(request: QueryFundDividerelationRequest): Promise<QueryFundDividerelationResponse> {
14653
+ let runtime = new $Util.RuntimeOptions({ });
14654
+ let headers : {[key: string ]: string} = { };
14655
+ return await this.queryFundDividerelationEx(request, headers, runtime);
14656
+ }
14657
+
14658
+ /**
14659
+ * Description: 分账绑定关系查询
14660
+ * Summary: 分账绑定关系查询
14661
+ */
14662
+ async queryFundDividerelationEx(request: QueryFundDividerelationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryFundDividerelationResponse> {
14663
+ Util.validateModel(request);
14664
+ return $tea.cast<QueryFundDividerelationResponse>(await this.doRequest("1.0", "antchain.ato.fund.dividerelation.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFundDividerelationResponse({}));
14665
+ }
14666
+
14034
14667
  /**
14035
14668
  * Description: 内部调用,商品信息获取
14036
14669
  * Summary: 商品信息获取
@@ -15477,6 +16110,44 @@ export default class Client {
15477
16110
  return $tea.cast<UpdateMerchantexpandMerchantResponse>(await this.doRequest("1.0", "antchain.ato.merchantexpand.merchant.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateMerchantexpandMerchantResponse({}));
15478
16111
  }
15479
16112
 
16113
+ /**
16114
+ * Description: 添加分账绑定关系
16115
+ * Summary: 添加分账绑定关系
16116
+ */
16117
+ async addMerchantexpandDividerelation(request: AddMerchantexpandDividerelationRequest): Promise<AddMerchantexpandDividerelationResponse> {
16118
+ let runtime = new $Util.RuntimeOptions({ });
16119
+ let headers : {[key: string ]: string} = { };
16120
+ return await this.addMerchantexpandDividerelationEx(request, headers, runtime);
16121
+ }
16122
+
16123
+ /**
16124
+ * Description: 添加分账绑定关系
16125
+ * Summary: 添加分账绑定关系
16126
+ */
16127
+ async addMerchantexpandDividerelationEx(request: AddMerchantexpandDividerelationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AddMerchantexpandDividerelationResponse> {
16128
+ Util.validateModel(request);
16129
+ return $tea.cast<AddMerchantexpandDividerelationResponse>(await this.doRequest("1.0", "antchain.ato.merchantexpand.dividerelation.add", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new AddMerchantexpandDividerelationResponse({}));
16130
+ }
16131
+
16132
+ /**
16133
+ * Description: 分账绑定关系查询
16134
+ * Summary: 分账绑定关系查询
16135
+ */
16136
+ async queryMerchantexpandDividerelation(request: QueryMerchantexpandDividerelationRequest): Promise<QueryMerchantexpandDividerelationResponse> {
16137
+ let runtime = new $Util.RuntimeOptions({ });
16138
+ let headers : {[key: string ]: string} = { };
16139
+ return await this.queryMerchantexpandDividerelationEx(request, headers, runtime);
16140
+ }
16141
+
16142
+ /**
16143
+ * Description: 分账绑定关系查询
16144
+ * Summary: 分账绑定关系查询
16145
+ */
16146
+ async queryMerchantexpandDividerelationEx(request: QueryMerchantexpandDividerelationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryMerchantexpandDividerelationResponse> {
16147
+ Util.validateModel(request);
16148
+ return $tea.cast<QueryMerchantexpandDividerelationResponse>(await this.doRequest("1.0", "antchain.ato.merchantexpand.dividerelation.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryMerchantexpandDividerelationResponse({}));
16149
+ }
16150
+
15480
16151
  /**
15481
16152
  * Description: 可信身份认证,创建认证
15482
16153
  * Summary: 创建认证
@@ -15553,6 +16224,25 @@ export default class Client {
15553
16224
  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
16225
  }
15555
16226
 
16227
+ /**
16228
+ * Description: 小程序云调用,上报计量信息
16229
+ * Summary: 小程序云调用,上报计量信息
16230
+ */
16231
+ async uploadInnerRiskcall(request: UploadInnerRiskcallRequest): Promise<UploadInnerRiskcallResponse> {
16232
+ let runtime = new $Util.RuntimeOptions({ });
16233
+ let headers : {[key: string ]: string} = { };
16234
+ return await this.uploadInnerRiskcallEx(request, headers, runtime);
16235
+ }
16236
+
16237
+ /**
16238
+ * Description: 小程序云调用,上报计量信息
16239
+ * Summary: 小程序云调用,上报计量信息
16240
+ */
16241
+ async uploadInnerRiskcallEx(request: UploadInnerRiskcallRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UploadInnerRiskcallResponse> {
16242
+ Util.validateModel(request);
16243
+ return $tea.cast<UploadInnerRiskcallResponse>(await this.doRequest("1.0", "antchain.ato.inner.riskcall.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadInnerRiskcallResponse({}));
16244
+ }
16245
+
15556
16246
  /**
15557
16247
  * Description: 电子合同签署的合同模板查询服务
15558
16248
  * Summary: 电子合同签署的合同模板查询服务
@@ -16110,6 +16800,63 @@ export default class Client {
16110
16800
  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
16801
  }
16112
16802
 
16803
+ /**
16804
+ * Description: 订单代扣计划延期
16805
+ * Summary: 订单代扣计划延期
16806
+ */
16807
+ async syncTradeUserpromisedelay(request: SyncTradeUserpromisedelayRequest): Promise<SyncTradeUserpromisedelayResponse> {
16808
+ let runtime = new $Util.RuntimeOptions({ });
16809
+ let headers : {[key: string ]: string} = { };
16810
+ return await this.syncTradeUserpromisedelayEx(request, headers, runtime);
16811
+ }
16812
+
16813
+ /**
16814
+ * Description: 订单代扣计划延期
16815
+ * Summary: 订单代扣计划延期
16816
+ */
16817
+ async syncTradeUserpromisedelayEx(request: SyncTradeUserpromisedelayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncTradeUserpromisedelayResponse> {
16818
+ Util.validateModel(request);
16819
+ return $tea.cast<SyncTradeUserpromisedelayResponse>(await this.doRequest("1.0", "antchain.ato.trade.userpromisedelay.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncTradeUserpromisedelayResponse({}));
16820
+ }
16821
+
16822
+ /**
16823
+ * Description: 订单代扣计划暂停
16824
+ * Summary: 订单代扣计划暂停
16825
+ */
16826
+ async pauseTradeUserpromise(request: PauseTradeUserpromiseRequest): Promise<PauseTradeUserpromiseResponse> {
16827
+ let runtime = new $Util.RuntimeOptions({ });
16828
+ let headers : {[key: string ]: string} = { };
16829
+ return await this.pauseTradeUserpromiseEx(request, headers, runtime);
16830
+ }
16831
+
16832
+ /**
16833
+ * Description: 订单代扣计划暂停
16834
+ * Summary: 订单代扣计划暂停
16835
+ */
16836
+ async pauseTradeUserpromiseEx(request: PauseTradeUserpromiseRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseTradeUserpromiseResponse> {
16837
+ Util.validateModel(request);
16838
+ return $tea.cast<PauseTradeUserpromiseResponse>(await this.doRequest("1.0", "antchain.ato.trade.userpromise.pause", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PauseTradeUserpromiseResponse({}));
16839
+ }
16840
+
16841
+ /**
16842
+ * Description: 代扣计划重启
16843
+ * Summary: 代扣计划重启
16844
+ */
16845
+ async resumeTradeUserpromise(request: ResumeTradeUserpromiseRequest): Promise<ResumeTradeUserpromiseResponse> {
16846
+ let runtime = new $Util.RuntimeOptions({ });
16847
+ let headers : {[key: string ]: string} = { };
16848
+ return await this.resumeTradeUserpromiseEx(request, headers, runtime);
16849
+ }
16850
+
16851
+ /**
16852
+ * Description: 代扣计划重启
16853
+ * Summary: 代扣计划重启
16854
+ */
16855
+ async resumeTradeUserpromiseEx(request: ResumeTradeUserpromiseRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeTradeUserpromiseResponse> {
16856
+ Util.validateModel(request);
16857
+ return $tea.cast<ResumeTradeUserpromiseResponse>(await this.doRequest("1.0", "antchain.ato.trade.userpromise.resume", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ResumeTradeUserpromiseResponse({}));
16858
+ }
16859
+
16113
16860
  /**
16114
16861
  * Description: 代扣签约创建
16115
16862
  * Summary: 代扣签约