@antchain/ato 1.12.11 → 1.13.15

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
@@ -1732,6 +1753,50 @@ export class MarketingScoreInfo extends $tea.Model {
1732
1753
  }
1733
1754
  }
1734
1755
 
1756
+ // 待办信息
1757
+ export class PendingEventInfo extends $tea.Model {
1758
+ // 事件id
1759
+ eventId?: string;
1760
+ // 通知:NOTIFICATION
1761
+ // 确认函:CONFIRMATION
1762
+ type?: string;
1763
+ // ("PENDING","待办中"), ("CONFIRMED","确认"),
1764
+ // ("REJECTED","已拒绝")
1765
+ // ("FAILED","失败"),("EXPIRED","已过期");
1766
+ status?: string;
1767
+ // 待办内容主题
1768
+ contentSubject?: string;
1769
+ // 事件有效期开始
1770
+ effectiveStartTime?: string;
1771
+ // 事件有效期结束
1772
+ effectiveEndTime?: string;
1773
+ static names(): { [key: string]: string } {
1774
+ return {
1775
+ eventId: 'event_id',
1776
+ type: 'type',
1777
+ status: 'status',
1778
+ contentSubject: 'content_subject',
1779
+ effectiveStartTime: 'effective_start_time',
1780
+ effectiveEndTime: 'effective_end_time',
1781
+ };
1782
+ }
1783
+
1784
+ static types(): { [key: string]: any } {
1785
+ return {
1786
+ eventId: 'string',
1787
+ type: 'string',
1788
+ status: 'string',
1789
+ contentSubject: 'string',
1790
+ effectiveStartTime: 'string',
1791
+ effectiveEndTime: 'string',
1792
+ };
1793
+ }
1794
+
1795
+ constructor(map?: { [key: string]: any }) {
1796
+ super(map);
1797
+ }
1798
+ }
1799
+
1735
1800
  // 智租风控-商品价格
1736
1801
  export class PriceDetail extends $tea.Model {
1737
1802
  // 商品租赁期数
@@ -2145,6 +2210,35 @@ export class OrderProductInfo extends $tea.Model {
2145
2210
  }
2146
2211
  }
2147
2212
 
2213
+ // 用信订单信息
2214
+ export class CreditUtilizationOrder extends $tea.Model {
2215
+ // 123
2216
+ orderId: string;
2217
+ // 订单用信额度,单位为分
2218
+ orderCreditLine: number;
2219
+ // 订单商户应还金额,单位为分
2220
+ orderMerchantRepaymentMoney: number;
2221
+ static names(): { [key: string]: string } {
2222
+ return {
2223
+ orderId: 'order_id',
2224
+ orderCreditLine: 'order_credit_line',
2225
+ orderMerchantRepaymentMoney: 'order_merchant_repayment_money',
2226
+ };
2227
+ }
2228
+
2229
+ static types(): { [key: string]: any } {
2230
+ return {
2231
+ orderId: 'string',
2232
+ orderCreditLine: 'number',
2233
+ orderMerchantRepaymentMoney: 'number',
2234
+ };
2235
+ }
2236
+
2237
+ constructor(map?: { [key: string]: any }) {
2238
+ super(map);
2239
+ }
2240
+ }
2241
+
2148
2242
  // 主动支付单据
2149
2243
  export class ActivePayOrder extends $tea.Model {
2150
2244
  // 支付宝支付订单号,用于拉起主动支付页面
@@ -4032,6 +4126,219 @@ export class GetFundOrderfinanceinfoResponse extends $tea.Model {
4032
4126
  }
4033
4127
  }
4034
4128
 
4129
+ export class AddFundDividerelationRequest extends $tea.Model {
4130
+ // OAuth模式下的授权token
4131
+ authToken?: string;
4132
+ productInstanceId?: string;
4133
+ // 被分账方社会统一信用代码
4134
+ merchantId: string;
4135
+ // 分账方信息,最多支持10组
4136
+ divideBindingTransInInfoList: DivideBindingTransInInfo[];
4137
+ // 分账比例上限
4138
+ divideRadio?: string;
4139
+ static names(): { [key: string]: string } {
4140
+ return {
4141
+ authToken: 'auth_token',
4142
+ productInstanceId: 'product_instance_id',
4143
+ merchantId: 'merchant_id',
4144
+ divideBindingTransInInfoList: 'divide_binding_trans_in_info_list',
4145
+ divideRadio: 'divide_radio',
4146
+ };
4147
+ }
4148
+
4149
+ static types(): { [key: string]: any } {
4150
+ return {
4151
+ authToken: 'string',
4152
+ productInstanceId: 'string',
4153
+ merchantId: 'string',
4154
+ divideBindingTransInInfoList: { 'type': 'array', 'itemType': DivideBindingTransInInfo },
4155
+ divideRadio: 'string',
4156
+ };
4157
+ }
4158
+
4159
+ constructor(map?: { [key: string]: any }) {
4160
+ super(map);
4161
+ }
4162
+ }
4163
+
4164
+ export class AddFundDividerelationResponse extends $tea.Model {
4165
+ // 请求唯一ID,用于链路跟踪和问题排查
4166
+ reqMsgId?: string;
4167
+ // 结果码,一般OK表示调用成功
4168
+ resultCode?: string;
4169
+ // 异常信息的文本描述
4170
+ resultMsg?: string;
4171
+ static names(): { [key: string]: string } {
4172
+ return {
4173
+ reqMsgId: 'req_msg_id',
4174
+ resultCode: 'result_code',
4175
+ resultMsg: 'result_msg',
4176
+ };
4177
+ }
4178
+
4179
+ static types(): { [key: string]: any } {
4180
+ return {
4181
+ reqMsgId: 'string',
4182
+ resultCode: 'string',
4183
+ resultMsg: 'string',
4184
+ };
4185
+ }
4186
+
4187
+ constructor(map?: { [key: string]: any }) {
4188
+ super(map);
4189
+ }
4190
+ }
4191
+
4192
+ export class QueryFundDividerelationRequest extends $tea.Model {
4193
+ // OAuth模式下的授权token
4194
+ authToken?: string;
4195
+ productInstanceId?: string;
4196
+ // 被分账方社会统一信用代码
4197
+ merchantId: string;
4198
+ static names(): { [key: string]: string } {
4199
+ return {
4200
+ authToken: 'auth_token',
4201
+ productInstanceId: 'product_instance_id',
4202
+ merchantId: 'merchant_id',
4203
+ };
4204
+ }
4205
+
4206
+ static types(): { [key: string]: any } {
4207
+ return {
4208
+ authToken: 'string',
4209
+ productInstanceId: 'string',
4210
+ merchantId: 'string',
4211
+ };
4212
+ }
4213
+
4214
+ constructor(map?: { [key: string]: any }) {
4215
+ super(map);
4216
+ }
4217
+ }
4218
+
4219
+ export class QueryFundDividerelationResponse extends $tea.Model {
4220
+ // 请求唯一ID,用于链路跟踪和问题排查
4221
+ reqMsgId?: string;
4222
+ // 结果码,一般OK表示调用成功
4223
+ resultCode?: string;
4224
+ // 异常信息的文本描述
4225
+ resultMsg?: string;
4226
+ // 分账绑定关系支付宝pid
4227
+ alipayPidList?: string[];
4228
+ // 分账比例上限
4229
+ divideRadio?: string;
4230
+ static names(): { [key: string]: string } {
4231
+ return {
4232
+ reqMsgId: 'req_msg_id',
4233
+ resultCode: 'result_code',
4234
+ resultMsg: 'result_msg',
4235
+ alipayPidList: 'alipay_pid_list',
4236
+ divideRadio: 'divide_radio',
4237
+ };
4238
+ }
4239
+
4240
+ static types(): { [key: string]: any } {
4241
+ return {
4242
+ reqMsgId: 'string',
4243
+ resultCode: 'string',
4244
+ resultMsg: 'string',
4245
+ alipayPidList: { 'type': 'array', 'itemType': 'string' },
4246
+ divideRadio: 'string',
4247
+ };
4248
+ }
4249
+
4250
+ constructor(map?: { [key: string]: any }) {
4251
+ super(map);
4252
+ }
4253
+ }
4254
+
4255
+ export class ApplyFundCreditutilizationRequest extends $tea.Model {
4256
+ // OAuth模式下的授权token
4257
+ authToken?: string;
4258
+ productInstanceId?: string;
4259
+ // 订单列表
4260
+ orderList: CreditUtilizationOrder[];
4261
+ // 商户租户id
4262
+ tenantId: string;
4263
+ // 商户统一社会信用代码
4264
+ merchantId: string;
4265
+ // 资方统一社会信用代码
4266
+ fundId: string;
4267
+ // 授信Id
4268
+ grantingId: string;
4269
+ // 用信授权id
4270
+ utilizationAuthId: string;
4271
+ // 用信id, 需保证唯一性
4272
+ utilizationId: string;
4273
+ static names(): { [key: string]: string } {
4274
+ return {
4275
+ authToken: 'auth_token',
4276
+ productInstanceId: 'product_instance_id',
4277
+ orderList: 'order_list',
4278
+ tenantId: 'tenant_id',
4279
+ merchantId: 'merchant_id',
4280
+ fundId: 'fund_id',
4281
+ grantingId: 'granting_id',
4282
+ utilizationAuthId: 'utilization_auth_id',
4283
+ utilizationId: 'utilization_id',
4284
+ };
4285
+ }
4286
+
4287
+ static types(): { [key: string]: any } {
4288
+ return {
4289
+ authToken: 'string',
4290
+ productInstanceId: 'string',
4291
+ orderList: { 'type': 'array', 'itemType': CreditUtilizationOrder },
4292
+ tenantId: 'string',
4293
+ merchantId: 'string',
4294
+ fundId: 'string',
4295
+ grantingId: 'string',
4296
+ utilizationAuthId: 'string',
4297
+ utilizationId: 'string',
4298
+ };
4299
+ }
4300
+
4301
+ constructor(map?: { [key: string]: any }) {
4302
+ super(map);
4303
+ }
4304
+ }
4305
+
4306
+ export class ApplyFundCreditutilizationResponse extends $tea.Model {
4307
+ // 请求唯一ID,用于链路跟踪和问题排查
4308
+ reqMsgId?: string;
4309
+ // 结果码,一般OK表示调用成功
4310
+ resultCode?: string;
4311
+ // 异常信息的文本描述
4312
+ resultMsg?: string;
4313
+ // 用信Id
4314
+ utilizationId?: string;
4315
+ // 用信授权id
4316
+ utilizationAuthId?: string;
4317
+ static names(): { [key: string]: string } {
4318
+ return {
4319
+ reqMsgId: 'req_msg_id',
4320
+ resultCode: 'result_code',
4321
+ resultMsg: 'result_msg',
4322
+ utilizationId: 'utilization_id',
4323
+ utilizationAuthId: 'utilization_auth_id',
4324
+ };
4325
+ }
4326
+
4327
+ static types(): { [key: string]: any } {
4328
+ return {
4329
+ reqMsgId: 'string',
4330
+ resultCode: 'string',
4331
+ resultMsg: 'string',
4332
+ utilizationId: 'string',
4333
+ utilizationAuthId: 'string',
4334
+ };
4335
+ }
4336
+
4337
+ constructor(map?: { [key: string]: any }) {
4338
+ super(map);
4339
+ }
4340
+ }
4341
+
4035
4342
  export class GetInnerProductRequest extends $tea.Model {
4036
4343
  // OAuth模式下的授权token
4037
4344
  authToken?: string;
@@ -5869,12 +6176,15 @@ export class QueryInnerMerchantagreementRequest extends $tea.Model {
5869
6176
  tenantId: string;
5870
6177
  // 协议id
5871
6178
  agreementId: string;
6179
+ // 租户账号
6180
+ userName?: string;
5872
6181
  static names(): { [key: string]: string } {
5873
6182
  return {
5874
6183
  authToken: 'auth_token',
5875
6184
  productInstanceId: 'product_instance_id',
5876
6185
  tenantId: 'tenant_id',
5877
6186
  agreementId: 'agreement_id',
6187
+ userName: 'user_name',
5878
6188
  };
5879
6189
  }
5880
6190
 
@@ -5884,6 +6194,7 @@ export class QueryInnerMerchantagreementRequest extends $tea.Model {
5884
6194
  productInstanceId: 'string',
5885
6195
  tenantId: 'string',
5886
6196
  agreementId: 'string',
6197
+ userName: 'string',
5887
6198
  };
5888
6199
  }
5889
6200
 
@@ -5943,12 +6254,15 @@ export class PagequeryInnerMerchantagreementRequest extends $tea.Model {
5943
6254
  tenantId: string;
5944
6255
  // 分页对象
5945
6256
  pageInfo: PageQuery;
6257
+ // 租户账号
6258
+ userName?: string;
5946
6259
  static names(): { [key: string]: string } {
5947
6260
  return {
5948
6261
  authToken: 'auth_token',
5949
6262
  productInstanceId: 'product_instance_id',
5950
6263
  tenantId: 'tenant_id',
5951
6264
  pageInfo: 'page_info',
6265
+ userName: 'user_name',
5952
6266
  };
5953
6267
  }
5954
6268
 
@@ -5958,6 +6272,7 @@ export class PagequeryInnerMerchantagreementRequest extends $tea.Model {
5958
6272
  productInstanceId: 'string',
5959
6273
  tenantId: 'string',
5960
6274
  pageInfo: PageQuery,
6275
+ userName: 'string',
5961
6276
  };
5962
6277
  }
5963
6278
 
@@ -9180,38 +9495,338 @@ export class SubmitInnerTemplatesyncreviewResponse extends $tea.Model {
9180
9495
  }
9181
9496
  }
9182
9497
 
9183
- export class CreateInsureRequest extends $tea.Model {
9498
+ export class SubmitInnerPendingeventRequest extends $tea.Model {
9184
9499
  // OAuth模式下的授权token
9185
9500
  authToken?: string;
9186
9501
  productInstanceId?: string;
9187
- // 商户的订单号,后续用作和保单结果交互
9188
- orderId: string;
9189
- // 风控业务流水号
9190
- riskFlowId: string;
9191
- // 保险公司枚举,PA:平安保险
9192
- insureCompanyType: string;
9193
- // 保险类型枚举,PERFORMANCE:履约
9194
- insureProductType: string;
9195
- // 投保商品信息列表
9196
- productInfoList: InsureProductInfo[];
9197
- // 发货方式枚举,可选值:
9198
- // EXPRESS-物流发货
9199
- // OFFLINE-线下交易
9200
- deliveryType: string;
9201
- // 公司联系人姓名,RSA 加密传输
9202
- contactName: string;
9203
- // 公司联系人手机号,RSA 加密传输
9204
- contactMobile: string;
9205
- // 实人认证业务流水号
9206
- facevrfFlowId?: string;
9207
- // 物流单号,非必填参数。如果选择的物流发货方式为 EXPRESS(物流发货),则该字段必填。
9208
- logisticsNumber?: string;
9209
- // 交易时间,非必填参数。如果发货方式为 OFFLINE(线下交易),则该字段必填。
9210
- tradeTime?: string;
9211
- // 公司地址信息,此处填写的地址信息为投保时最高优先级地址,其次为公司进件时填写的地址信息。如果取不到明确地址信息,投保会失败。
9212
- address?: string;
9213
- // 保险投保期数
9214
- period?: number;
9502
+ // 租户id
9503
+ tenantId: string;
9504
+ // 待办事件id
9505
+ eventId: string;
9506
+ // 商家处理动作
9507
+ // REJECT拒绝,APPROVE 同意
9508
+ action: string;
9509
+ // 操作人
9510
+ operator: string;
9511
+ static names(): { [key: string]: string } {
9512
+ return {
9513
+ authToken: 'auth_token',
9514
+ productInstanceId: 'product_instance_id',
9515
+ tenantId: 'tenant_id',
9516
+ eventId: 'event_id',
9517
+ action: 'action',
9518
+ operator: 'operator',
9519
+ };
9520
+ }
9521
+
9522
+ static types(): { [key: string]: any } {
9523
+ return {
9524
+ authToken: 'string',
9525
+ productInstanceId: 'string',
9526
+ tenantId: 'string',
9527
+ eventId: 'string',
9528
+ action: 'string',
9529
+ operator: 'string',
9530
+ };
9531
+ }
9532
+
9533
+ constructor(map?: { [key: string]: any }) {
9534
+ super(map);
9535
+ }
9536
+ }
9537
+
9538
+ export class SubmitInnerPendingeventResponse extends $tea.Model {
9539
+ // 请求唯一ID,用于链路跟踪和问题排查
9540
+ reqMsgId?: string;
9541
+ // 结果码,一般OK表示调用成功
9542
+ resultCode?: string;
9543
+ // 异常信息的文本描述
9544
+ resultMsg?: string;
9545
+ static names(): { [key: string]: string } {
9546
+ return {
9547
+ reqMsgId: 'req_msg_id',
9548
+ resultCode: 'result_code',
9549
+ resultMsg: 'result_msg',
9550
+ };
9551
+ }
9552
+
9553
+ static types(): { [key: string]: any } {
9554
+ return {
9555
+ reqMsgId: 'string',
9556
+ resultCode: 'string',
9557
+ resultMsg: 'string',
9558
+ };
9559
+ }
9560
+
9561
+ constructor(map?: { [key: string]: any }) {
9562
+ super(map);
9563
+ }
9564
+ }
9565
+
9566
+ export class DetailInnerPendingeventRequest extends $tea.Model {
9567
+ // OAuth模式下的授权token
9568
+ authToken?: string;
9569
+ productInstanceId?: string;
9570
+ // 租户id
9571
+ tenantId: string;
9572
+ // 事件id
9573
+ eventId: string;
9574
+ static names(): { [key: string]: string } {
9575
+ return {
9576
+ authToken: 'auth_token',
9577
+ productInstanceId: 'product_instance_id',
9578
+ tenantId: 'tenant_id',
9579
+ eventId: 'event_id',
9580
+ };
9581
+ }
9582
+
9583
+ static types(): { [key: string]: any } {
9584
+ return {
9585
+ authToken: 'string',
9586
+ productInstanceId: 'string',
9587
+ tenantId: 'string',
9588
+ eventId: 'string',
9589
+ };
9590
+ }
9591
+
9592
+ constructor(map?: { [key: string]: any }) {
9593
+ super(map);
9594
+ }
9595
+ }
9596
+
9597
+ export class DetailInnerPendingeventResponse extends $tea.Model {
9598
+ // 请求唯一ID,用于链路跟踪和问题排查
9599
+ reqMsgId?: string;
9600
+ // 结果码,一般OK表示调用成功
9601
+ resultCode?: string;
9602
+ // 异常信息的文本描述
9603
+ resultMsg?: string;
9604
+ // 事件id
9605
+ eventId?: string;
9606
+ // 通知:NOTIFICATION
9607
+ // 确认函:CONFIRMATION
9608
+ type?: string;
9609
+ // ("PENDING","待办中"), ("CONFIRMED","确认"), ("REJECTED","已拒绝") ("FAILED","失败"),("EXPIRED","已过期");
9610
+ status?: string;
9611
+ // 待办内容主题
9612
+ contentSubject?: string;
9613
+ // 待办内容详情
9614
+ contentDetails?: string;
9615
+ // 待办处理页面操作按钮
9616
+ // ACKNOWLEDGE 我已知晓
9617
+ // CONFIRM 确认
9618
+ // RETURN 返回
9619
+ // REJECT 拒绝
9620
+ actionOptionsConfig?: string;
9621
+ // 事件有效期开始
9622
+ effectiveStartTime?: string;
9623
+ // 事件有效期结束
9624
+ effectiveEndTime?: string;
9625
+ static names(): { [key: string]: string } {
9626
+ return {
9627
+ reqMsgId: 'req_msg_id',
9628
+ resultCode: 'result_code',
9629
+ resultMsg: 'result_msg',
9630
+ eventId: 'event_id',
9631
+ type: 'type',
9632
+ status: 'status',
9633
+ contentSubject: 'content_subject',
9634
+ contentDetails: 'content_details',
9635
+ actionOptionsConfig: 'action_options_config',
9636
+ effectiveStartTime: 'effective_start_time',
9637
+ effectiveEndTime: 'effective_end_time',
9638
+ };
9639
+ }
9640
+
9641
+ static types(): { [key: string]: any } {
9642
+ return {
9643
+ reqMsgId: 'string',
9644
+ resultCode: 'string',
9645
+ resultMsg: 'string',
9646
+ eventId: 'string',
9647
+ type: 'string',
9648
+ status: 'string',
9649
+ contentSubject: 'string',
9650
+ contentDetails: 'string',
9651
+ actionOptionsConfig: 'string',
9652
+ effectiveStartTime: 'string',
9653
+ effectiveEndTime: 'string',
9654
+ };
9655
+ }
9656
+
9657
+ constructor(map?: { [key: string]: any }) {
9658
+ super(map);
9659
+ }
9660
+ }
9661
+
9662
+ export class AddInnerTemplateRequest extends $tea.Model {
9663
+ // OAuth模式下的授权token
9664
+ authToken?: string;
9665
+ productInstanceId?: string;
9666
+ // 租户id
9667
+ tenantId: string;
9668
+ // 合同模板code
9669
+ templateCode: string;
9670
+ static names(): { [key: string]: string } {
9671
+ return {
9672
+ authToken: 'auth_token',
9673
+ productInstanceId: 'product_instance_id',
9674
+ tenantId: 'tenant_id',
9675
+ templateCode: 'template_code',
9676
+ };
9677
+ }
9678
+
9679
+ static types(): { [key: string]: any } {
9680
+ return {
9681
+ authToken: 'string',
9682
+ productInstanceId: 'string',
9683
+ tenantId: 'string',
9684
+ templateCode: 'string',
9685
+ };
9686
+ }
9687
+
9688
+ constructor(map?: { [key: string]: any }) {
9689
+ super(map);
9690
+ }
9691
+ }
9692
+
9693
+ export class AddInnerTemplateResponse extends $tea.Model {
9694
+ // 请求唯一ID,用于链路跟踪和问题排查
9695
+ reqMsgId?: string;
9696
+ // 结果码,一般OK表示调用成功
9697
+ resultCode?: string;
9698
+ // 异常信息的文本描述
9699
+ resultMsg?: string;
9700
+ static names(): { [key: string]: string } {
9701
+ return {
9702
+ reqMsgId: 'req_msg_id',
9703
+ resultCode: 'result_code',
9704
+ resultMsg: 'result_msg',
9705
+ };
9706
+ }
9707
+
9708
+ static types(): { [key: string]: any } {
9709
+ return {
9710
+ reqMsgId: 'string',
9711
+ resultCode: 'string',
9712
+ resultMsg: 'string',
9713
+ };
9714
+ }
9715
+
9716
+ constructor(map?: { [key: string]: any }) {
9717
+ super(map);
9718
+ }
9719
+ }
9720
+
9721
+ export class PagequeryInnerPendingeventRequest extends $tea.Model {
9722
+ // OAuth模式下的授权token
9723
+ authToken?: string;
9724
+ productInstanceId?: string;
9725
+ // 租户id
9726
+ tenantId: string;
9727
+ // 待办状态
9728
+ statusList?: string[];
9729
+ // 事件类型
9730
+ // 通知:NOTIFICATION
9731
+ // 确认函:CONFIRMATION
9732
+ type?: string;
9733
+ // 分页
9734
+ pageInfo: PageQuery;
9735
+ static names(): { [key: string]: string } {
9736
+ return {
9737
+ authToken: 'auth_token',
9738
+ productInstanceId: 'product_instance_id',
9739
+ tenantId: 'tenant_id',
9740
+ statusList: 'status_list',
9741
+ type: 'type',
9742
+ pageInfo: 'page_info',
9743
+ };
9744
+ }
9745
+
9746
+ static types(): { [key: string]: any } {
9747
+ return {
9748
+ authToken: 'string',
9749
+ productInstanceId: 'string',
9750
+ tenantId: 'string',
9751
+ statusList: { 'type': 'array', 'itemType': 'string' },
9752
+ type: 'string',
9753
+ pageInfo: PageQuery,
9754
+ };
9755
+ }
9756
+
9757
+ constructor(map?: { [key: string]: any }) {
9758
+ super(map);
9759
+ }
9760
+ }
9761
+
9762
+ export class PagequeryInnerPendingeventResponse extends $tea.Model {
9763
+ // 请求唯一ID,用于链路跟踪和问题排查
9764
+ reqMsgId?: string;
9765
+ // 结果码,一般OK表示调用成功
9766
+ resultCode?: string;
9767
+ // 异常信息的文本描述
9768
+ resultMsg?: string;
9769
+ // 总量
9770
+ total?: number;
9771
+ // 待办列表信息
9772
+ pendingEventInfoList?: PendingEventInfo[];
9773
+ static names(): { [key: string]: string } {
9774
+ return {
9775
+ reqMsgId: 'req_msg_id',
9776
+ resultCode: 'result_code',
9777
+ resultMsg: 'result_msg',
9778
+ total: 'total',
9779
+ pendingEventInfoList: 'pending_event_info_list',
9780
+ };
9781
+ }
9782
+
9783
+ static types(): { [key: string]: any } {
9784
+ return {
9785
+ reqMsgId: 'string',
9786
+ resultCode: 'string',
9787
+ resultMsg: 'string',
9788
+ total: 'number',
9789
+ pendingEventInfoList: { 'type': 'array', 'itemType': PendingEventInfo },
9790
+ };
9791
+ }
9792
+
9793
+ constructor(map?: { [key: string]: any }) {
9794
+ super(map);
9795
+ }
9796
+ }
9797
+
9798
+ export class CreateInsureRequest extends $tea.Model {
9799
+ // OAuth模式下的授权token
9800
+ authToken?: string;
9801
+ productInstanceId?: string;
9802
+ // 商户的订单号,后续用作和保单结果交互
9803
+ orderId: string;
9804
+ // 风控业务流水号
9805
+ riskFlowId: string;
9806
+ // 保险公司枚举,PA:平安保险
9807
+ insureCompanyType: string;
9808
+ // 保险类型枚举,PERFORMANCE:履约
9809
+ insureProductType: string;
9810
+ // 投保商品信息列表
9811
+ productInfoList: InsureProductInfo[];
9812
+ // 发货方式枚举,可选值:
9813
+ // EXPRESS-物流发货
9814
+ // OFFLINE-线下交易
9815
+ deliveryType: string;
9816
+ // 公司联系人姓名,RSA 加密传输
9817
+ contactName: string;
9818
+ // 公司联系人手机号,RSA 加密传输
9819
+ contactMobile: string;
9820
+ // 实人认证业务流水号
9821
+ facevrfFlowId?: string;
9822
+ // 物流单号,非必填参数。如果选择的物流发货方式为 EXPRESS(物流发货),则该字段必填。
9823
+ logisticsNumber?: string;
9824
+ // 交易时间,非必填参数。如果发货方式为 OFFLINE(线下交易),则该字段必填。
9825
+ tradeTime?: string;
9826
+ // 公司地址信息,此处填写的地址信息为投保时最高优先级地址,其次为公司进件时填写的地址信息。如果取不到明确地址信息,投保会失败。
9827
+ address?: string;
9828
+ // 保险投保期数
9829
+ period?: number;
9215
9830
  static names(): { [key: string]: string } {
9216
9831
  return {
9217
9832
  authToken: 'auth_token',
@@ -9732,6 +10347,132 @@ export class UpdateMerchantexpandMerchantResponse extends $tea.Model {
9732
10347
  }
9733
10348
  }
9734
10349
 
10350
+ export class AddMerchantexpandDividerelationRequest extends $tea.Model {
10351
+ // OAuth模式下的授权token
10352
+ authToken?: string;
10353
+ productInstanceId?: string;
10354
+ // 被分账方社会统一信用代码
10355
+ merchantId: string;
10356
+ // 分账方信息,最多支持10组
10357
+ divideBindingTransInInfoList: DivideBindingTransInInfo[];
10358
+ // 分账比例上限
10359
+ divideRadio?: string;
10360
+ static names(): { [key: string]: string } {
10361
+ return {
10362
+ authToken: 'auth_token',
10363
+ productInstanceId: 'product_instance_id',
10364
+ merchantId: 'merchant_id',
10365
+ divideBindingTransInInfoList: 'divide_binding_trans_in_info_list',
10366
+ divideRadio: 'divide_radio',
10367
+ };
10368
+ }
10369
+
10370
+ static types(): { [key: string]: any } {
10371
+ return {
10372
+ authToken: 'string',
10373
+ productInstanceId: 'string',
10374
+ merchantId: 'string',
10375
+ divideBindingTransInInfoList: { 'type': 'array', 'itemType': DivideBindingTransInInfo },
10376
+ divideRadio: 'string',
10377
+ };
10378
+ }
10379
+
10380
+ constructor(map?: { [key: string]: any }) {
10381
+ super(map);
10382
+ }
10383
+ }
10384
+
10385
+ export class AddMerchantexpandDividerelationResponse extends $tea.Model {
10386
+ // 请求唯一ID,用于链路跟踪和问题排查
10387
+ reqMsgId?: string;
10388
+ // 结果码,一般OK表示调用成功
10389
+ resultCode?: string;
10390
+ // 异常信息的文本描述
10391
+ resultMsg?: string;
10392
+ static names(): { [key: string]: string } {
10393
+ return {
10394
+ reqMsgId: 'req_msg_id',
10395
+ resultCode: 'result_code',
10396
+ resultMsg: 'result_msg',
10397
+ };
10398
+ }
10399
+
10400
+ static types(): { [key: string]: any } {
10401
+ return {
10402
+ reqMsgId: 'string',
10403
+ resultCode: 'string',
10404
+ resultMsg: 'string',
10405
+ };
10406
+ }
10407
+
10408
+ constructor(map?: { [key: string]: any }) {
10409
+ super(map);
10410
+ }
10411
+ }
10412
+
10413
+ export class QueryMerchantexpandDividerelationRequest extends $tea.Model {
10414
+ // OAuth模式下的授权token
10415
+ authToken?: string;
10416
+ productInstanceId?: string;
10417
+ // 被分账方社会统一信用代码
10418
+ merchantId: string;
10419
+ static names(): { [key: string]: string } {
10420
+ return {
10421
+ authToken: 'auth_token',
10422
+ productInstanceId: 'product_instance_id',
10423
+ merchantId: 'merchant_id',
10424
+ };
10425
+ }
10426
+
10427
+ static types(): { [key: string]: any } {
10428
+ return {
10429
+ authToken: 'string',
10430
+ productInstanceId: 'string',
10431
+ merchantId: 'string',
10432
+ };
10433
+ }
10434
+
10435
+ constructor(map?: { [key: string]: any }) {
10436
+ super(map);
10437
+ }
10438
+ }
10439
+
10440
+ export class QueryMerchantexpandDividerelationResponse extends $tea.Model {
10441
+ // 请求唯一ID,用于链路跟踪和问题排查
10442
+ reqMsgId?: string;
10443
+ // 结果码,一般OK表示调用成功
10444
+ resultCode?: string;
10445
+ // 异常信息的文本描述
10446
+ resultMsg?: string;
10447
+ // 分账绑定关系支付宝pid
10448
+ alipayPidList?: string[];
10449
+ // 分账比例上限
10450
+ divideRadio?: string;
10451
+ static names(): { [key: string]: string } {
10452
+ return {
10453
+ reqMsgId: 'req_msg_id',
10454
+ resultCode: 'result_code',
10455
+ resultMsg: 'result_msg',
10456
+ alipayPidList: 'alipay_pid_list',
10457
+ divideRadio: 'divide_radio',
10458
+ };
10459
+ }
10460
+
10461
+ static types(): { [key: string]: any } {
10462
+ return {
10463
+ reqMsgId: 'string',
10464
+ resultCode: 'string',
10465
+ resultMsg: 'string',
10466
+ alipayPidList: { 'type': 'array', 'itemType': 'string' },
10467
+ divideRadio: 'string',
10468
+ };
10469
+ }
10470
+
10471
+ constructor(map?: { [key: string]: any }) {
10472
+ super(map);
10473
+ }
10474
+ }
10475
+
9735
10476
  export class CreateRealpersonFacevrfRequest extends $tea.Model {
9736
10477
  // OAuth模式下的授权token
9737
10478
  authToken?: string;
@@ -10002,6 +10743,8 @@ export class QueryRiskGoRequest extends $tea.Model {
10002
10743
  productInstanceId?: string;
10003
10744
  // 风险类型。枚举值:MARKETING_PURCHASE_COMMON 营销抢购风险识别;INDUSTRY_SCALPER_COMMON 行业黄牛风险识别;MARKETING_AWARDING_COMMON 营销发奖风险识别;INDUSTRY_FARMING_COMMON 行业刷单风险识别;INDUSTRY_BADDEBT_COMMON 履约坏账风险识别
10004
10745
  riskType: string;
10746
+ // 单次请求流水号,需要保证唯一
10747
+ flowId: string;
10005
10748
  // 调用行业,枚举值:
10006
10749
  // 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
10750
  businessCode: string;
@@ -10036,11 +10779,14 @@ export class QueryRiskGoRequest extends $tea.Model {
10036
10779
  farmingQueryModel?: FarmingQueryModel;
10037
10780
  // 行业履约风险识别入参模型
10038
10781
  baddebtQueryModel?: BaddebtQueryModel;
10782
+ // 商户appId,当openId不为空时必填
10783
+ merchantAppId?: string;
10039
10784
  static names(): { [key: string]: string } {
10040
10785
  return {
10041
10786
  authToken: 'auth_token',
10042
10787
  productInstanceId: 'product_instance_id',
10043
10788
  riskType: 'risk_type',
10789
+ flowId: 'flow_id',
10044
10790
  businessCode: 'business_code',
10045
10791
  scene: 'scene',
10046
10792
  userId: 'user_id',
@@ -10057,6 +10803,7 @@ export class QueryRiskGoRequest extends $tea.Model {
10057
10803
  awardingQueryModel: 'awarding_query_model',
10058
10804
  farmingQueryModel: 'farming_query_model',
10059
10805
  baddebtQueryModel: 'baddebt_query_model',
10806
+ merchantAppId: 'merchant_app_id',
10060
10807
  };
10061
10808
  }
10062
10809
 
@@ -10065,6 +10812,7 @@ export class QueryRiskGoRequest extends $tea.Model {
10065
10812
  authToken: 'string',
10066
10813
  productInstanceId: 'string',
10067
10814
  riskType: 'string',
10815
+ flowId: 'string',
10068
10816
  businessCode: 'string',
10069
10817
  scene: 'string',
10070
10818
  userId: 'string',
@@ -10081,6 +10829,91 @@ export class QueryRiskGoRequest extends $tea.Model {
10081
10829
  awardingQueryModel: AwardingQueryModel,
10082
10830
  farmingQueryModel: FarmingQueryModel,
10083
10831
  baddebtQueryModel: BaddebtQueryModel,
10832
+ merchantAppId: 'string',
10833
+ };
10834
+ }
10835
+
10836
+ constructor(map?: { [key: string]: any }) {
10837
+ super(map);
10838
+ }
10839
+ }
10840
+
10841
+ export class QueryRiskGoResponse extends $tea.Model {
10842
+ // 请求唯一ID,用于链路跟踪和问题排查
10843
+ reqMsgId?: string;
10844
+ // 结果码,一般OK表示调用成功
10845
+ resultCode?: string;
10846
+ // 异常信息的文本描述
10847
+ resultMsg?: string;
10848
+ // 风险查询结果
10849
+ model?: RiskGoModel;
10850
+ static names(): { [key: string]: string } {
10851
+ return {
10852
+ reqMsgId: 'req_msg_id',
10853
+ resultCode: 'result_code',
10854
+ resultMsg: 'result_msg',
10855
+ model: 'model',
10856
+ };
10857
+ }
10858
+
10859
+ static types(): { [key: string]: any } {
10860
+ return {
10861
+ reqMsgId: 'string',
10862
+ resultCode: 'string',
10863
+ resultMsg: 'string',
10864
+ model: RiskGoModel,
10865
+ };
10866
+ }
10867
+
10868
+ constructor(map?: { [key: string]: any }) {
10869
+ super(map);
10870
+ }
10871
+ }
10872
+
10873
+ export class UploadInnerRiskcallRequest extends $tea.Model {
10874
+ // OAuth模式下的授权token
10875
+ authToken?: string;
10876
+ productInstanceId?: string;
10877
+ // 幂等id
10878
+ idempotentId: string;
10879
+ // 商户的支付宝唯一id
10880
+ pid: string;
10881
+ // 计量值
10882
+ serviceAmount: number;
10883
+ // 上报的数据开始时间,格式 yyyy-MM-dd HH:mm:ss
10884
+ startTime: string;
10885
+ // 上报的数据结束时间,格式 yyyy-MM-dd HH:mm:ss
10886
+ endTime: string;
10887
+ // 支付宝开放平台购买的实例 id
10888
+ alipayInstanceId: string;
10889
+ // 扩展参数
10890
+ // jsonString
10891
+ extInfo?: string;
10892
+ static names(): { [key: string]: string } {
10893
+ return {
10894
+ authToken: 'auth_token',
10895
+ productInstanceId: 'product_instance_id',
10896
+ idempotentId: 'idempotent_id',
10897
+ pid: 'pid',
10898
+ serviceAmount: 'service_amount',
10899
+ startTime: 'start_time',
10900
+ endTime: 'end_time',
10901
+ alipayInstanceId: 'alipay_instance_id',
10902
+ extInfo: 'ext_info',
10903
+ };
10904
+ }
10905
+
10906
+ static types(): { [key: string]: any } {
10907
+ return {
10908
+ authToken: 'string',
10909
+ productInstanceId: 'string',
10910
+ idempotentId: 'string',
10911
+ pid: 'string',
10912
+ serviceAmount: 'number',
10913
+ startTime: 'string',
10914
+ endTime: 'string',
10915
+ alipayInstanceId: 'string',
10916
+ extInfo: 'string',
10084
10917
  };
10085
10918
  }
10086
10919
 
@@ -10089,21 +10922,21 @@ export class QueryRiskGoRequest extends $tea.Model {
10089
10922
  }
10090
10923
  }
10091
10924
 
10092
- export class QueryRiskGoResponse extends $tea.Model {
10925
+ export class UploadInnerRiskcallResponse extends $tea.Model {
10093
10926
  // 请求唯一ID,用于链路跟踪和问题排查
10094
10927
  reqMsgId?: string;
10095
10928
  // 结果码,一般OK表示调用成功
10096
10929
  resultCode?: string;
10097
10930
  // 异常信息的文本描述
10098
10931
  resultMsg?: string;
10099
- // 风险查询结果
10100
- model?: RiskGoModel;
10932
+ // 上报成功返回 true,否则返回 false
10933
+ result?: boolean;
10101
10934
  static names(): { [key: string]: string } {
10102
10935
  return {
10103
10936
  reqMsgId: 'req_msg_id',
10104
10937
  resultCode: 'result_code',
10105
10938
  resultMsg: 'result_msg',
10106
- model: 'model',
10939
+ result: 'result',
10107
10940
  };
10108
10941
  }
10109
10942
 
@@ -10112,7 +10945,7 @@ export class QueryRiskGoResponse extends $tea.Model {
10112
10945
  reqMsgId: 'string',
10113
10946
  resultCode: 'string',
10114
10947
  resultMsg: 'string',
10115
- model: RiskGoModel,
10948
+ result: 'boolean',
10116
10949
  };
10117
10950
  }
10118
10951
 
@@ -10129,6 +10962,11 @@ export class AllSignTemplateRequest extends $tea.Model {
10129
10962
  contractType?: string;
10130
10963
  // 商户统一社会信用代码,SIT环境,非融必填
10131
10964
  merchantId?: string;
10965
+ // 查询融资类型时,需要传入资方统一社会信用代码
10966
+ fundId?: string;
10967
+ // -FINANCE 融资
10968
+ // -NON_FINANCE 非融资
10969
+ fundType?: string;
10132
10970
  // 模板id
10133
10971
  templateId?: string;
10134
10972
  static names(): { [key: string]: string } {
@@ -10137,6 +10975,8 @@ export class AllSignTemplateRequest extends $tea.Model {
10137
10975
  productInstanceId: 'product_instance_id',
10138
10976
  contractType: 'contract_type',
10139
10977
  merchantId: 'merchant_id',
10978
+ fundId: 'fund_id',
10979
+ fundType: 'fund_type',
10140
10980
  templateId: 'template_id',
10141
10981
  };
10142
10982
  }
@@ -10147,6 +10987,8 @@ export class AllSignTemplateRequest extends $tea.Model {
10147
10987
  productInstanceId: 'string',
10148
10988
  contractType: 'string',
10149
10989
  merchantId: 'string',
10990
+ fundId: 'string',
10991
+ fundType: 'string',
10150
10992
  templateId: 'string',
10151
10993
  };
10152
10994
  }
@@ -11963,28 +12805,262 @@ export class ApplyTradeFinanceprecheckRequest extends $tea.Model {
11963
12805
  }
11964
12806
  }
11965
12807
 
11966
- export class ApplyTradeFinanceprecheckResponse extends $tea.Model {
12808
+ export class ApplyTradeFinanceprecheckResponse extends $tea.Model {
12809
+ // 请求唯一ID,用于链路跟踪和问题排查
12810
+ reqMsgId?: string;
12811
+ // 结果码,一般OK表示调用成功
12812
+ resultCode?: string;
12813
+ // 异常信息的文本描述
12814
+ resultMsg?: string;
12815
+ // ● EXEMPTION : 资方免预审
12816
+ // ● SUBMIT_SUCCESS: 异步预审提交成功
12817
+ responseData?: string;
12818
+ // order_id
12819
+ orderId?: string;
12820
+ // merchant_id
12821
+ merchantId?: string;
12822
+ static names(): { [key: string]: string } {
12823
+ return {
12824
+ reqMsgId: 'req_msg_id',
12825
+ resultCode: 'result_code',
12826
+ resultMsg: 'result_msg',
12827
+ responseData: 'response_data',
12828
+ orderId: 'order_id',
12829
+ merchantId: 'merchant_id',
12830
+ };
12831
+ }
12832
+
12833
+ static types(): { [key: string]: any } {
12834
+ return {
12835
+ reqMsgId: 'string',
12836
+ resultCode: 'string',
12837
+ resultMsg: 'string',
12838
+ responseData: 'string',
12839
+ orderId: 'string',
12840
+ merchantId: 'string',
12841
+ };
12842
+ }
12843
+
12844
+ constructor(map?: { [key: string]: any }) {
12845
+ super(map);
12846
+ }
12847
+ }
12848
+
12849
+ export class TransferTradeFinanceRequest extends $tea.Model {
12850
+ // OAuth模式下的授权token
12851
+ authToken?: string;
12852
+ productInstanceId?: string;
12853
+ // 订单id
12854
+ orderId: string;
12855
+ // 公司社会信用代码
12856
+ merchantId: string;
12857
+ // 待预审资方列表
12858
+ fundIdList: string[];
12859
+ // 融资签署模式
12860
+ fundSignMode: string;
12861
+ // 商户分账起始期数
12862
+ divideStartTermIndex: number;
12863
+ static names(): { [key: string]: string } {
12864
+ return {
12865
+ authToken: 'auth_token',
12866
+ productInstanceId: 'product_instance_id',
12867
+ orderId: 'order_id',
12868
+ merchantId: 'merchant_id',
12869
+ fundIdList: 'fund_id_list',
12870
+ fundSignMode: 'fund_sign_mode',
12871
+ divideStartTermIndex: 'divide_start_term_index',
12872
+ };
12873
+ }
12874
+
12875
+ static types(): { [key: string]: any } {
12876
+ return {
12877
+ authToken: 'string',
12878
+ productInstanceId: 'string',
12879
+ orderId: 'string',
12880
+ merchantId: 'string',
12881
+ fundIdList: { 'type': 'array', 'itemType': 'string' },
12882
+ fundSignMode: 'string',
12883
+ divideStartTermIndex: 'number',
12884
+ };
12885
+ }
12886
+
12887
+ constructor(map?: { [key: string]: any }) {
12888
+ super(map);
12889
+ }
12890
+ }
12891
+
12892
+ export class TransferTradeFinanceResponse extends $tea.Model {
12893
+ // 请求唯一ID,用于链路跟踪和问题排查
12894
+ reqMsgId?: string;
12895
+ // 结果码,一般OK表示调用成功
12896
+ resultCode?: string;
12897
+ // 异常信息的文本描述
12898
+ resultMsg?: string;
12899
+ // order_id
12900
+ orderId?: string;
12901
+ // merchant_id
12902
+ merchantId?: string;
12903
+ // jsonArray.toString
12904
+ fundCandidates?: string;
12905
+ // 转融资结果
12906
+ transferResult?: string;
12907
+ static names(): { [key: string]: string } {
12908
+ return {
12909
+ reqMsgId: 'req_msg_id',
12910
+ resultCode: 'result_code',
12911
+ resultMsg: 'result_msg',
12912
+ orderId: 'order_id',
12913
+ merchantId: 'merchant_id',
12914
+ fundCandidates: 'fund_candidates',
12915
+ transferResult: 'transfer_result',
12916
+ };
12917
+ }
12918
+
12919
+ static types(): { [key: string]: any } {
12920
+ return {
12921
+ reqMsgId: 'string',
12922
+ resultCode: 'string',
12923
+ resultMsg: 'string',
12924
+ orderId: 'string',
12925
+ merchantId: 'string',
12926
+ fundCandidates: 'string',
12927
+ transferResult: 'string',
12928
+ };
12929
+ }
12930
+
12931
+ constructor(map?: { [key: string]: any }) {
12932
+ super(map);
12933
+ }
12934
+ }
12935
+
12936
+ export class UpdateTradeOrderRequest extends $tea.Model {
12937
+ // OAuth模式下的授权token
12938
+ authToken?: string;
12939
+ productInstanceId?: string;
12940
+ // order_id
12941
+ orderId: string;
12942
+ // merchant_id
12943
+ merchantId: string;
12944
+ // json字符串
12945
+ updateOrderInfo: string;
12946
+ static names(): { [key: string]: string } {
12947
+ return {
12948
+ authToken: 'auth_token',
12949
+ productInstanceId: 'product_instance_id',
12950
+ orderId: 'order_id',
12951
+ merchantId: 'merchant_id',
12952
+ updateOrderInfo: 'update_order_info',
12953
+ };
12954
+ }
12955
+
12956
+ static types(): { [key: string]: any } {
12957
+ return {
12958
+ authToken: 'string',
12959
+ productInstanceId: 'string',
12960
+ orderId: 'string',
12961
+ merchantId: 'string',
12962
+ updateOrderInfo: 'string',
12963
+ };
12964
+ }
12965
+
12966
+ constructor(map?: { [key: string]: any }) {
12967
+ super(map);
12968
+ }
12969
+ }
12970
+
12971
+ export class UpdateTradeOrderResponse extends $tea.Model {
12972
+ // 请求唯一ID,用于链路跟踪和问题排查
12973
+ reqMsgId?: string;
12974
+ // 结果码,一般OK表示调用成功
12975
+ resultCode?: string;
12976
+ // 异常信息的文本描述
12977
+ resultMsg?: string;
12978
+ // order_id
12979
+ orderId?: string;
12980
+ // merchant_id
12981
+ merchantId?: string;
12982
+ static names(): { [key: string]: string } {
12983
+ return {
12984
+ reqMsgId: 'req_msg_id',
12985
+ resultCode: 'result_code',
12986
+ resultMsg: 'result_msg',
12987
+ orderId: 'order_id',
12988
+ merchantId: 'merchant_id',
12989
+ };
12990
+ }
12991
+
12992
+ static types(): { [key: string]: any } {
12993
+ return {
12994
+ reqMsgId: 'string',
12995
+ resultCode: 'string',
12996
+ resultMsg: 'string',
12997
+ orderId: 'string',
12998
+ merchantId: 'string',
12999
+ };
13000
+ }
13001
+
13002
+ constructor(map?: { [key: string]: any }) {
13003
+ super(map);
13004
+ }
13005
+ }
13006
+
13007
+ export class AddTradeFinanceprecheckRequest extends $tea.Model {
13008
+ // OAuth模式下的授权token
13009
+ authToken?: string;
13010
+ productInstanceId?: string;
13011
+ // order_id
13012
+ orderId: string;
13013
+ // merchant_id
13014
+ merchantId: string;
13015
+ // ["1","2"]
13016
+ fundIdList: string[];
13017
+ static names(): { [key: string]: string } {
13018
+ return {
13019
+ authToken: 'auth_token',
13020
+ productInstanceId: 'product_instance_id',
13021
+ orderId: 'order_id',
13022
+ merchantId: 'merchant_id',
13023
+ fundIdList: 'fund_id_list',
13024
+ };
13025
+ }
13026
+
13027
+ static types(): { [key: string]: any } {
13028
+ return {
13029
+ authToken: 'string',
13030
+ productInstanceId: 'string',
13031
+ orderId: 'string',
13032
+ merchantId: 'string',
13033
+ fundIdList: { 'type': 'array', 'itemType': 'string' },
13034
+ };
13035
+ }
13036
+
13037
+ constructor(map?: { [key: string]: any }) {
13038
+ super(map);
13039
+ }
13040
+ }
13041
+
13042
+ export class AddTradeFinanceprecheckResponse extends $tea.Model {
11967
13043
  // 请求唯一ID,用于链路跟踪和问题排查
11968
13044
  reqMsgId?: string;
11969
13045
  // 结果码,一般OK表示调用成功
11970
13046
  resultCode?: string;
11971
13047
  // 异常信息的文本描述
11972
13048
  resultMsg?: string;
11973
- // ● EXEMPTION : 资方免预审
11974
- // ● SUBMIT_SUCCESS: 异步预审提交成功
11975
- responseData?: string;
11976
- // order_id
11977
- orderId?: string;
11978
13049
  // merchant_id
11979
13050
  merchantId?: string;
13051
+ // order_id
13052
+ orderId?: string;
13053
+ // fund_candidates
13054
+ // List<FundCompanyInfo> 的jsonArray.toString
13055
+ fundCandidates?: string;
11980
13056
  static names(): { [key: string]: string } {
11981
13057
  return {
11982
13058
  reqMsgId: 'req_msg_id',
11983
13059
  resultCode: 'result_code',
11984
13060
  resultMsg: 'result_msg',
11985
- responseData: 'response_data',
11986
- orderId: 'order_id',
11987
13061
  merchantId: 'merchant_id',
13062
+ orderId: 'order_id',
13063
+ fundCandidates: 'fund_candidates',
11988
13064
  };
11989
13065
  }
11990
13066
 
@@ -11993,9 +13069,9 @@ export class ApplyTradeFinanceprecheckResponse extends $tea.Model {
11993
13069
  reqMsgId: 'string',
11994
13070
  resultCode: 'string',
11995
13071
  resultMsg: 'string',
11996
- responseData: 'string',
11997
- orderId: 'string',
11998
13072
  merchantId: 'string',
13073
+ orderId: 'string',
13074
+ fundCandidates: 'string',
11999
13075
  };
12000
13076
  }
12001
13077
 
@@ -12004,29 +13080,20 @@ export class ApplyTradeFinanceprecheckResponse extends $tea.Model {
12004
13080
  }
12005
13081
  }
12006
13082
 
12007
- export class TransferTradeFinanceRequest extends $tea.Model {
13083
+ export class GetTradeOrderfinanceinfoRequest extends $tea.Model {
12008
13084
  // OAuth模式下的授权token
12009
13085
  authToken?: string;
12010
13086
  productInstanceId?: string;
12011
- // 订单id
13087
+ // 订单Id
12012
13088
  orderId: string;
12013
- // 公司社会信用代码
13089
+ // 商户社会信用代码
12014
13090
  merchantId: string;
12015
- // 待预审资方列表
12016
- fundIdList: string[];
12017
- // 融资签署模式
12018
- fundSignMode: string;
12019
- // 商户分账起始期数
12020
- divideStartTermIndex: number;
12021
13091
  static names(): { [key: string]: string } {
12022
13092
  return {
12023
13093
  authToken: 'auth_token',
12024
13094
  productInstanceId: 'product_instance_id',
12025
13095
  orderId: 'order_id',
12026
13096
  merchantId: 'merchant_id',
12027
- fundIdList: 'fund_id_list',
12028
- fundSignMode: 'fund_sign_mode',
12029
- divideStartTermIndex: 'divide_start_term_index',
12030
13097
  };
12031
13098
  }
12032
13099
 
@@ -12036,9 +13103,6 @@ export class TransferTradeFinanceRequest extends $tea.Model {
12036
13103
  productInstanceId: 'string',
12037
13104
  orderId: 'string',
12038
13105
  merchantId: 'string',
12039
- fundIdList: { 'type': 'array', 'itemType': 'string' },
12040
- fundSignMode: 'string',
12041
- divideStartTermIndex: 'number',
12042
13106
  };
12043
13107
  }
12044
13108
 
@@ -12047,30 +13111,21 @@ export class TransferTradeFinanceRequest extends $tea.Model {
12047
13111
  }
12048
13112
  }
12049
13113
 
12050
- export class TransferTradeFinanceResponse extends $tea.Model {
13114
+ export class GetTradeOrderfinanceinfoResponse extends $tea.Model {
12051
13115
  // 请求唯一ID,用于链路跟踪和问题排查
12052
13116
  reqMsgId?: string;
12053
13117
  // 结果码,一般OK表示调用成功
12054
13118
  resultCode?: string;
12055
13119
  // 异常信息的文本描述
12056
13120
  resultMsg?: string;
12057
- // order_id
12058
- orderId?: string;
12059
- // merchant_id
12060
- merchantId?: string;
12061
- // jsonArray.toString
12062
- fundCandidates?: string;
12063
- // 转融资结果
12064
- transferResult?: string;
13121
+ // 订单融资信息
13122
+ responseData?: string;
12065
13123
  static names(): { [key: string]: string } {
12066
13124
  return {
12067
13125
  reqMsgId: 'req_msg_id',
12068
13126
  resultCode: 'result_code',
12069
13127
  resultMsg: 'result_msg',
12070
- orderId: 'order_id',
12071
- merchantId: 'merchant_id',
12072
- fundCandidates: 'fund_candidates',
12073
- transferResult: 'transfer_result',
13128
+ responseData: 'response_data',
12074
13129
  };
12075
13130
  }
12076
13131
 
@@ -12079,10 +13134,7 @@ export class TransferTradeFinanceResponse extends $tea.Model {
12079
13134
  reqMsgId: 'string',
12080
13135
  resultCode: 'string',
12081
13136
  resultMsg: 'string',
12082
- orderId: 'string',
12083
- merchantId: 'string',
12084
- fundCandidates: 'string',
12085
- transferResult: 'string',
13137
+ responseData: 'string',
12086
13138
  };
12087
13139
  }
12088
13140
 
@@ -12091,7 +13143,7 @@ export class TransferTradeFinanceResponse extends $tea.Model {
12091
13143
  }
12092
13144
  }
12093
13145
 
12094
- export class UpdateTradeOrderRequest extends $tea.Model {
13146
+ export class SyncTradeUserpromisedelayRequest extends $tea.Model {
12095
13147
  // OAuth模式下的授权token
12096
13148
  authToken?: string;
12097
13149
  productInstanceId?: string;
@@ -12099,15 +13151,24 @@ export class UpdateTradeOrderRequest extends $tea.Model {
12099
13151
  orderId: string;
12100
13152
  // merchant_id
12101
13153
  merchantId: string;
12102
- // json字符串
12103
- updateOrderInfo: string;
13154
+ // 1
13155
+ delayStartPeriod: number;
13156
+ // 延期时间单位
13157
+ delayTimeUnit: string;
13158
+ // 延期时间数值
13159
+ delayTimeValue: number;
13160
+ // 原因描述
13161
+ reason: string;
12104
13162
  static names(): { [key: string]: string } {
12105
13163
  return {
12106
13164
  authToken: 'auth_token',
12107
13165
  productInstanceId: 'product_instance_id',
12108
13166
  orderId: 'order_id',
12109
13167
  merchantId: 'merchant_id',
12110
- updateOrderInfo: 'update_order_info',
13168
+ delayStartPeriod: 'delay_start_period',
13169
+ delayTimeUnit: 'delay_time_unit',
13170
+ delayTimeValue: 'delay_time_value',
13171
+ reason: 'reason',
12111
13172
  };
12112
13173
  }
12113
13174
 
@@ -12117,7 +13178,10 @@ export class UpdateTradeOrderRequest extends $tea.Model {
12117
13178
  productInstanceId: 'string',
12118
13179
  orderId: 'string',
12119
13180
  merchantId: 'string',
12120
- updateOrderInfo: 'string',
13181
+ delayStartPeriod: 'number',
13182
+ delayTimeUnit: 'string',
13183
+ delayTimeValue: 'number',
13184
+ reason: 'string',
12121
13185
  };
12122
13186
  }
12123
13187
 
@@ -12126,24 +13190,18 @@ export class UpdateTradeOrderRequest extends $tea.Model {
12126
13190
  }
12127
13191
  }
12128
13192
 
12129
- export class UpdateTradeOrderResponse extends $tea.Model {
13193
+ export class SyncTradeUserpromisedelayResponse extends $tea.Model {
12130
13194
  // 请求唯一ID,用于链路跟踪和问题排查
12131
13195
  reqMsgId?: string;
12132
13196
  // 结果码,一般OK表示调用成功
12133
13197
  resultCode?: string;
12134
13198
  // 异常信息的文本描述
12135
13199
  resultMsg?: string;
12136
- // order_id
12137
- orderId?: string;
12138
- // merchant_id
12139
- merchantId?: string;
12140
13200
  static names(): { [key: string]: string } {
12141
13201
  return {
12142
13202
  reqMsgId: 'req_msg_id',
12143
13203
  resultCode: 'result_code',
12144
13204
  resultMsg: 'result_msg',
12145
- orderId: 'order_id',
12146
- merchantId: 'merchant_id',
12147
13205
  };
12148
13206
  }
12149
13207
 
@@ -12152,8 +13210,6 @@ export class UpdateTradeOrderResponse extends $tea.Model {
12152
13210
  reqMsgId: 'string',
12153
13211
  resultCode: 'string',
12154
13212
  resultMsg: 'string',
12155
- orderId: 'string',
12156
- merchantId: 'string',
12157
13213
  };
12158
13214
  }
12159
13215
 
@@ -12162,23 +13218,23 @@ export class UpdateTradeOrderResponse extends $tea.Model {
12162
13218
  }
12163
13219
  }
12164
13220
 
12165
- export class AddTradeFinanceprecheckRequest extends $tea.Model {
13221
+ export class PauseTradeUserpromiseRequest extends $tea.Model {
12166
13222
  // OAuth模式下的授权token
12167
13223
  authToken?: string;
12168
13224
  productInstanceId?: string;
12169
- // order_id
13225
+ // 订单id
12170
13226
  orderId: string;
12171
- // merchant_id
13227
+ // 社会信用代码
12172
13228
  merchantId: string;
12173
- // ["1","2"]
12174
- fundIdList: string[];
13229
+ // 理由
13230
+ reason: string;
12175
13231
  static names(): { [key: string]: string } {
12176
13232
  return {
12177
13233
  authToken: 'auth_token',
12178
13234
  productInstanceId: 'product_instance_id',
12179
13235
  orderId: 'order_id',
12180
13236
  merchantId: 'merchant_id',
12181
- fundIdList: 'fund_id_list',
13237
+ reason: 'reason',
12182
13238
  };
12183
13239
  }
12184
13240
 
@@ -12188,7 +13244,7 @@ export class AddTradeFinanceprecheckRequest extends $tea.Model {
12188
13244
  productInstanceId: 'string',
12189
13245
  orderId: 'string',
12190
13246
  merchantId: 'string',
12191
- fundIdList: { 'type': 'array', 'itemType': 'string' },
13247
+ reason: 'string',
12192
13248
  };
12193
13249
  }
12194
13250
 
@@ -12197,28 +13253,24 @@ export class AddTradeFinanceprecheckRequest extends $tea.Model {
12197
13253
  }
12198
13254
  }
12199
13255
 
12200
- export class AddTradeFinanceprecheckResponse extends $tea.Model {
13256
+ export class PauseTradeUserpromiseResponse extends $tea.Model {
12201
13257
  // 请求唯一ID,用于链路跟踪和问题排查
12202
13258
  reqMsgId?: string;
12203
13259
  // 结果码,一般OK表示调用成功
12204
13260
  resultCode?: string;
12205
13261
  // 异常信息的文本描述
12206
13262
  resultMsg?: string;
12207
- // merchant_id
12208
- merchantId?: string;
12209
- // order_id
12210
- orderId?: string;
12211
- // fund_candidates
12212
- // List<FundCompanyInfo> 的jsonArray.toString
12213
- fundCandidates?: string;
13263
+ // 暂停后自动重启时间
13264
+ autoResumeDay?: string;
13265
+ // 暂停后自动执行代扣时间,为autoResumeDay的第二天重新开始执行代扣计划
13266
+ autoWithholdRestartDay?: string;
12214
13267
  static names(): { [key: string]: string } {
12215
13268
  return {
12216
13269
  reqMsgId: 'req_msg_id',
12217
13270
  resultCode: 'result_code',
12218
13271
  resultMsg: 'result_msg',
12219
- merchantId: 'merchant_id',
12220
- orderId: 'order_id',
12221
- fundCandidates: 'fund_candidates',
13272
+ autoResumeDay: 'auto_resume_day',
13273
+ autoWithholdRestartDay: 'auto_withhold_restart_day',
12222
13274
  };
12223
13275
  }
12224
13276
 
@@ -12227,9 +13279,8 @@ export class AddTradeFinanceprecheckResponse extends $tea.Model {
12227
13279
  reqMsgId: 'string',
12228
13280
  resultCode: 'string',
12229
13281
  resultMsg: 'string',
12230
- merchantId: 'string',
12231
- orderId: 'string',
12232
- fundCandidates: 'string',
13282
+ autoResumeDay: 'string',
13283
+ autoWithholdRestartDay: 'string',
12233
13284
  };
12234
13285
  }
12235
13286
 
@@ -12238,13 +13289,13 @@ export class AddTradeFinanceprecheckResponse extends $tea.Model {
12238
13289
  }
12239
13290
  }
12240
13291
 
12241
- export class GetTradeOrderfinanceinfoRequest extends $tea.Model {
13292
+ export class ResumeTradeUserpromiseRequest extends $tea.Model {
12242
13293
  // OAuth模式下的授权token
12243
13294
  authToken?: string;
12244
13295
  productInstanceId?: string;
12245
- // 订单Id
13296
+ // order_id
12246
13297
  orderId: string;
12247
- // 商户社会信用代码
13298
+ // merchant_id
12248
13299
  merchantId: string;
12249
13300
  static names(): { [key: string]: string } {
12250
13301
  return {
@@ -12269,21 +13320,24 @@ export class GetTradeOrderfinanceinfoRequest extends $tea.Model {
12269
13320
  }
12270
13321
  }
12271
13322
 
12272
- export class GetTradeOrderfinanceinfoResponse extends $tea.Model {
13323
+ export class ResumeTradeUserpromiseResponse extends $tea.Model {
12273
13324
  // 请求唯一ID,用于链路跟踪和问题排查
12274
13325
  reqMsgId?: string;
12275
13326
  // 结果码,一般OK表示调用成功
12276
13327
  resultCode?: string;
12277
13328
  // 异常信息的文本描述
12278
13329
  resultMsg?: string;
12279
- // 订单融资信息
12280
- responseData?: string;
13330
+ // 订单重启时间
13331
+ resumeDay?: string;
13332
+ // withhold_restart_day
13333
+ withholdRestartDay?: string;
12281
13334
  static names(): { [key: string]: string } {
12282
13335
  return {
12283
13336
  reqMsgId: 'req_msg_id',
12284
13337
  resultCode: 'result_code',
12285
13338
  resultMsg: 'result_msg',
12286
- responseData: 'response_data',
13339
+ resumeDay: 'resume_day',
13340
+ withholdRestartDay: 'withhold_restart_day',
12287
13341
  };
12288
13342
  }
12289
13343
 
@@ -12292,7 +13346,8 @@ export class GetTradeOrderfinanceinfoResponse extends $tea.Model {
12292
13346
  reqMsgId: 'string',
12293
13347
  resultCode: 'string',
12294
13348
  resultMsg: 'string',
12295
- responseData: 'string',
13349
+ resumeDay: 'string',
13350
+ withholdRestartDay: 'string',
12296
13351
  };
12297
13352
  }
12298
13353
 
@@ -13524,7 +14579,7 @@ export default class Client {
13524
14579
  req_msg_id: AntchainUtil.getNonce(),
13525
14580
  access_key: this._accessKeyId,
13526
14581
  base_sdk_version: "TeaSDK-2.0",
13527
- sdk_version: "1.12.11",
14582
+ sdk_version: "1.13.15",
13528
14583
  _prod_code: "ATO",
13529
14584
  _prod_channel: "undefined",
13530
14585
  };
@@ -14031,6 +15086,65 @@ export default class Client {
14031
15086
  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
15087
  }
14033
15088
 
15089
+ /**
15090
+ * Description: 添加分账绑定关系
15091
+ * Summary: 添加分账绑定关系
15092
+ */
15093
+ async addFundDividerelation(request: AddFundDividerelationRequest): Promise<AddFundDividerelationResponse> {
15094
+ let runtime = new $Util.RuntimeOptions({ });
15095
+ let headers : {[key: string ]: string} = { };
15096
+ return await this.addFundDividerelationEx(request, headers, runtime);
15097
+ }
15098
+
15099
+ /**
15100
+ * Description: 添加分账绑定关系
15101
+ * Summary: 添加分账绑定关系
15102
+ */
15103
+ async addFundDividerelationEx(request: AddFundDividerelationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AddFundDividerelationResponse> {
15104
+ Util.validateModel(request);
15105
+ 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({}));
15106
+ }
15107
+
15108
+ /**
15109
+ * Description: 分账绑定关系查询
15110
+ * Summary: 分账绑定关系查询
15111
+ */
15112
+ async queryFundDividerelation(request: QueryFundDividerelationRequest): Promise<QueryFundDividerelationResponse> {
15113
+ let runtime = new $Util.RuntimeOptions({ });
15114
+ let headers : {[key: string ]: string} = { };
15115
+ return await this.queryFundDividerelationEx(request, headers, runtime);
15116
+ }
15117
+
15118
+ /**
15119
+ * Description: 分账绑定关系查询
15120
+ * Summary: 分账绑定关系查询
15121
+ */
15122
+ async queryFundDividerelationEx(request: QueryFundDividerelationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryFundDividerelationResponse> {
15123
+ Util.validateModel(request);
15124
+ 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({}));
15125
+ }
15126
+
15127
+ /**
15128
+ * Description: ● 本接口获取用信授权
15129
+ ● 本接口返回成功后,仅代表用信申请成功;不代表订单融资发起申请成功,融资申请结果通过异步消息通知
15130
+ * Summary: 用信申请接口
15131
+ */
15132
+ async applyFundCreditutilization(request: ApplyFundCreditutilizationRequest): Promise<ApplyFundCreditutilizationResponse> {
15133
+ let runtime = new $Util.RuntimeOptions({ });
15134
+ let headers : {[key: string ]: string} = { };
15135
+ return await this.applyFundCreditutilizationEx(request, headers, runtime);
15136
+ }
15137
+
15138
+ /**
15139
+ * Description: ● 本接口获取用信授权
15140
+ ● 本接口返回成功后,仅代表用信申请成功;不代表订单融资发起申请成功,融资申请结果通过异步消息通知
15141
+ * Summary: 用信申请接口
15142
+ */
15143
+ async applyFundCreditutilizationEx(request: ApplyFundCreditutilizationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyFundCreditutilizationResponse> {
15144
+ Util.validateModel(request);
15145
+ return $tea.cast<ApplyFundCreditutilizationResponse>(await this.doRequest("1.0", "antchain.ato.fund.creditutilization.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyFundCreditutilizationResponse({}));
15146
+ }
15147
+
14034
15148
  /**
14035
15149
  * Description: 内部调用,商品信息获取
14036
15150
  * Summary: 商品信息获取
@@ -15344,6 +16458,82 @@ export default class Client {
15344
16458
  return $tea.cast<SubmitInnerTemplatesyncreviewResponse>(await this.doRequest("1.0", "antchain.ato.inner.templatesyncreview.submit", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SubmitInnerTemplatesyncreviewResponse({}));
15345
16459
  }
15346
16460
 
16461
+ /**
16462
+ * Description: 待办事件处理
16463
+ * Summary: 待办事件处理
16464
+ */
16465
+ async submitInnerPendingevent(request: SubmitInnerPendingeventRequest): Promise<SubmitInnerPendingeventResponse> {
16466
+ let runtime = new $Util.RuntimeOptions({ });
16467
+ let headers : {[key: string ]: string} = { };
16468
+ return await this.submitInnerPendingeventEx(request, headers, runtime);
16469
+ }
16470
+
16471
+ /**
16472
+ * Description: 待办事件处理
16473
+ * Summary: 待办事件处理
16474
+ */
16475
+ async submitInnerPendingeventEx(request: SubmitInnerPendingeventRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SubmitInnerPendingeventResponse> {
16476
+ Util.validateModel(request);
16477
+ return $tea.cast<SubmitInnerPendingeventResponse>(await this.doRequest("1.0", "antchain.ato.inner.pendingevent.submit", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SubmitInnerPendingeventResponse({}));
16478
+ }
16479
+
16480
+ /**
16481
+ * Description: 待办事件详情查询
16482
+ * Summary: 待办事件详情查询
16483
+ */
16484
+ async detailInnerPendingevent(request: DetailInnerPendingeventRequest): Promise<DetailInnerPendingeventResponse> {
16485
+ let runtime = new $Util.RuntimeOptions({ });
16486
+ let headers : {[key: string ]: string} = { };
16487
+ return await this.detailInnerPendingeventEx(request, headers, runtime);
16488
+ }
16489
+
16490
+ /**
16491
+ * Description: 待办事件详情查询
16492
+ * Summary: 待办事件详情查询
16493
+ */
16494
+ async detailInnerPendingeventEx(request: DetailInnerPendingeventRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DetailInnerPendingeventResponse> {
16495
+ Util.validateModel(request);
16496
+ return $tea.cast<DetailInnerPendingeventResponse>(await this.doRequest("1.0", "antchain.ato.inner.pendingevent.detail", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new DetailInnerPendingeventResponse({}));
16497
+ }
16498
+
16499
+ /**
16500
+ * Description: 合同模板制作根据已有模板新增合同模板文件
16501
+ * Summary: 根据已有模板新增合同模板文件
16502
+ */
16503
+ async addInnerTemplate(request: AddInnerTemplateRequest): Promise<AddInnerTemplateResponse> {
16504
+ let runtime = new $Util.RuntimeOptions({ });
16505
+ let headers : {[key: string ]: string} = { };
16506
+ return await this.addInnerTemplateEx(request, headers, runtime);
16507
+ }
16508
+
16509
+ /**
16510
+ * Description: 合同模板制作根据已有模板新增合同模板文件
16511
+ * Summary: 根据已有模板新增合同模板文件
16512
+ */
16513
+ async addInnerTemplateEx(request: AddInnerTemplateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AddInnerTemplateResponse> {
16514
+ Util.validateModel(request);
16515
+ return $tea.cast<AddInnerTemplateResponse>(await this.doRequest("1.0", "antchain.ato.inner.template.add", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new AddInnerTemplateResponse({}));
16516
+ }
16517
+
16518
+ /**
16519
+ * Description: 查询待办列表
16520
+ * Summary: 查询待办列表
16521
+ */
16522
+ async pagequeryInnerPendingevent(request: PagequeryInnerPendingeventRequest): Promise<PagequeryInnerPendingeventResponse> {
16523
+ let runtime = new $Util.RuntimeOptions({ });
16524
+ let headers : {[key: string ]: string} = { };
16525
+ return await this.pagequeryInnerPendingeventEx(request, headers, runtime);
16526
+ }
16527
+
16528
+ /**
16529
+ * Description: 查询待办列表
16530
+ * Summary: 查询待办列表
16531
+ */
16532
+ async pagequeryInnerPendingeventEx(request: PagequeryInnerPendingeventRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PagequeryInnerPendingeventResponse> {
16533
+ Util.validateModel(request);
16534
+ return $tea.cast<PagequeryInnerPendingeventResponse>(await this.doRequest("1.0", "antchain.ato.inner.pendingevent.pagequery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PagequeryInnerPendingeventResponse({}));
16535
+ }
16536
+
15347
16537
  /**
15348
16538
  * Description: 一键投保
15349
16539
  * Summary: 投保
@@ -15477,6 +16667,44 @@ export default class Client {
15477
16667
  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
16668
  }
15479
16669
 
16670
+ /**
16671
+ * Description: 添加分账绑定关系
16672
+ * Summary: 添加分账绑定关系
16673
+ */
16674
+ async addMerchantexpandDividerelation(request: AddMerchantexpandDividerelationRequest): Promise<AddMerchantexpandDividerelationResponse> {
16675
+ let runtime = new $Util.RuntimeOptions({ });
16676
+ let headers : {[key: string ]: string} = { };
16677
+ return await this.addMerchantexpandDividerelationEx(request, headers, runtime);
16678
+ }
16679
+
16680
+ /**
16681
+ * Description: 添加分账绑定关系
16682
+ * Summary: 添加分账绑定关系
16683
+ */
16684
+ async addMerchantexpandDividerelationEx(request: AddMerchantexpandDividerelationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AddMerchantexpandDividerelationResponse> {
16685
+ Util.validateModel(request);
16686
+ 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({}));
16687
+ }
16688
+
16689
+ /**
16690
+ * Description: 分账绑定关系查询
16691
+ * Summary: 分账绑定关系查询
16692
+ */
16693
+ async queryMerchantexpandDividerelation(request: QueryMerchantexpandDividerelationRequest): Promise<QueryMerchantexpandDividerelationResponse> {
16694
+ let runtime = new $Util.RuntimeOptions({ });
16695
+ let headers : {[key: string ]: string} = { };
16696
+ return await this.queryMerchantexpandDividerelationEx(request, headers, runtime);
16697
+ }
16698
+
16699
+ /**
16700
+ * Description: 分账绑定关系查询
16701
+ * Summary: 分账绑定关系查询
16702
+ */
16703
+ async queryMerchantexpandDividerelationEx(request: QueryMerchantexpandDividerelationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryMerchantexpandDividerelationResponse> {
16704
+ Util.validateModel(request);
16705
+ 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({}));
16706
+ }
16707
+
15480
16708
  /**
15481
16709
  * Description: 可信身份认证,创建认证
15482
16710
  * Summary: 创建认证
@@ -15553,6 +16781,25 @@ export default class Client {
15553
16781
  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
16782
  }
15555
16783
 
16784
+ /**
16785
+ * Description: 小程序云调用,上报计量信息
16786
+ * Summary: 小程序云调用,上报计量信息
16787
+ */
16788
+ async uploadInnerRiskcall(request: UploadInnerRiskcallRequest): Promise<UploadInnerRiskcallResponse> {
16789
+ let runtime = new $Util.RuntimeOptions({ });
16790
+ let headers : {[key: string ]: string} = { };
16791
+ return await this.uploadInnerRiskcallEx(request, headers, runtime);
16792
+ }
16793
+
16794
+ /**
16795
+ * Description: 小程序云调用,上报计量信息
16796
+ * Summary: 小程序云调用,上报计量信息
16797
+ */
16798
+ async uploadInnerRiskcallEx(request: UploadInnerRiskcallRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UploadInnerRiskcallResponse> {
16799
+ Util.validateModel(request);
16800
+ 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({}));
16801
+ }
16802
+
15556
16803
  /**
15557
16804
  * Description: 电子合同签署的合同模板查询服务
15558
16805
  * Summary: 电子合同签署的合同模板查询服务
@@ -16110,6 +17357,63 @@ export default class Client {
16110
17357
  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
17358
  }
16112
17359
 
17360
+ /**
17361
+ * Description: 订单代扣计划延期
17362
+ * Summary: 订单代扣计划延期
17363
+ */
17364
+ async syncTradeUserpromisedelay(request: SyncTradeUserpromisedelayRequest): Promise<SyncTradeUserpromisedelayResponse> {
17365
+ let runtime = new $Util.RuntimeOptions({ });
17366
+ let headers : {[key: string ]: string} = { };
17367
+ return await this.syncTradeUserpromisedelayEx(request, headers, runtime);
17368
+ }
17369
+
17370
+ /**
17371
+ * Description: 订单代扣计划延期
17372
+ * Summary: 订单代扣计划延期
17373
+ */
17374
+ async syncTradeUserpromisedelayEx(request: SyncTradeUserpromisedelayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncTradeUserpromisedelayResponse> {
17375
+ Util.validateModel(request);
17376
+ 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({}));
17377
+ }
17378
+
17379
+ /**
17380
+ * Description: 订单代扣计划暂停
17381
+ * Summary: 订单代扣计划暂停
17382
+ */
17383
+ async pauseTradeUserpromise(request: PauseTradeUserpromiseRequest): Promise<PauseTradeUserpromiseResponse> {
17384
+ let runtime = new $Util.RuntimeOptions({ });
17385
+ let headers : {[key: string ]: string} = { };
17386
+ return await this.pauseTradeUserpromiseEx(request, headers, runtime);
17387
+ }
17388
+
17389
+ /**
17390
+ * Description: 订单代扣计划暂停
17391
+ * Summary: 订单代扣计划暂停
17392
+ */
17393
+ async pauseTradeUserpromiseEx(request: PauseTradeUserpromiseRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PauseTradeUserpromiseResponse> {
17394
+ Util.validateModel(request);
17395
+ 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({}));
17396
+ }
17397
+
17398
+ /**
17399
+ * Description: 代扣计划重启
17400
+ * Summary: 代扣计划重启
17401
+ */
17402
+ async resumeTradeUserpromise(request: ResumeTradeUserpromiseRequest): Promise<ResumeTradeUserpromiseResponse> {
17403
+ let runtime = new $Util.RuntimeOptions({ });
17404
+ let headers : {[key: string ]: string} = { };
17405
+ return await this.resumeTradeUserpromiseEx(request, headers, runtime);
17406
+ }
17407
+
17408
+ /**
17409
+ * Description: 代扣计划重启
17410
+ * Summary: 代扣计划重启
17411
+ */
17412
+ async resumeTradeUserpromiseEx(request: ResumeTradeUserpromiseRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ResumeTradeUserpromiseResponse> {
17413
+ Util.validateModel(request);
17414
+ 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({}));
17415
+ }
17416
+
16113
17417
  /**
16114
17418
  * Description: 代扣签约创建
16115
17419
  * Summary: 代扣签约