@antchain/ato 1.9.72 → 1.10.16

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
@@ -169,6 +169,51 @@ export class StaticDataModuleDetail extends $tea.Model {
169
169
  }
170
170
  }
171
171
 
172
+ // 站点信息
173
+ export class SiteInfo extends $tea.Model {
174
+ // 小程序id
175
+ tinyAppId?: string;
176
+ // 站点名称
177
+ siteName?: string;
178
+ //
179
+ // 截图照片
180
+ screenshotImage?: string;
181
+ // 站点地址
182
+ siteUrl?: string;
183
+ // 站点类型
184
+ // 网站: 01
185
+ // APP: 02
186
+ // 服务窗: 03
187
+ // 公众号: 04
188
+ // 其他: 05
189
+ // 支付宝小程序: 06
190
+ // 手机网站/H5: 07
191
+ siteType?: string;
192
+ static names(): { [key: string]: string } {
193
+ return {
194
+ tinyAppId: 'tiny_app_id',
195
+ siteName: 'site_name',
196
+ screenshotImage: 'screenshot_image',
197
+ siteUrl: 'site_url',
198
+ siteType: 'site_type',
199
+ };
200
+ }
201
+
202
+ static types(): { [key: string]: any } {
203
+ return {
204
+ tinyAppId: 'string',
205
+ siteName: 'string',
206
+ screenshotImage: 'string',
207
+ siteUrl: 'string',
208
+ siteType: 'string',
209
+ };
210
+ }
211
+
212
+ constructor(map?: { [key: string]: any }) {
213
+ super(map);
214
+ }
215
+ }
216
+
172
217
  // 文件信息
173
218
  export class FileInfo extends $tea.Model {
174
219
  // 文件名称
@@ -364,6 +409,27 @@ export class UserPerformanceInfo extends $tea.Model {
364
409
  }
365
410
  }
366
411
 
412
+ // 营销分查询对象
413
+ export class MarketingScoreQueryInfo extends $tea.Model {
414
+ // 手机号码
415
+ phoneNum?: string;
416
+ static names(): { [key: string]: string } {
417
+ return {
418
+ phoneNum: 'phone_num',
419
+ };
420
+ }
421
+
422
+ static types(): { [key: string]: any } {
423
+ return {
424
+ phoneNum: 'string',
425
+ };
426
+ }
427
+
428
+ constructor(map?: { [key: string]: any }) {
429
+ super(map);
430
+ }
431
+ }
432
+
367
433
  // 投保商品信息
368
434
  export class InsureProductInfo extends $tea.Model {
369
435
  // 商品库id
@@ -426,6 +492,59 @@ export class RiskStrategy extends $tea.Model {
426
492
  }
427
493
  }
428
494
 
495
+ // 模板组件(文本域)
496
+ export class TemplateComponent extends $tea.Model {
497
+ // 模板编码
498
+ templateCode: string;
499
+ // 组件(文本域)id
500
+ id: string;
501
+ // 组件(文本域)名称
502
+ name: string;
503
+ // 组件(文本域)的唯一标识
504
+ uk?: string;
505
+ // 占位符,组件(文本域)的展示样式值
506
+ placeholder?: string;
507
+ // 组件(文本域)是否可以编辑。取值:Y/N
508
+ enableEdit?: string;
509
+ // 是否必填,取值:Y/N
510
+ required?: string;
511
+ // 组件(文本域)类型,INPUT:单行文本 TEXTAREA:多行文本
512
+ type?: string;
513
+ // 组件(文本域)值
514
+ value: string;
515
+ static names(): { [key: string]: string } {
516
+ return {
517
+ templateCode: 'template_code',
518
+ id: 'id',
519
+ name: 'name',
520
+ uk: 'uk',
521
+ placeholder: 'placeholder',
522
+ enableEdit: 'enable_edit',
523
+ required: 'required',
524
+ type: 'type',
525
+ value: 'value',
526
+ };
527
+ }
528
+
529
+ static types(): { [key: string]: any } {
530
+ return {
531
+ templateCode: 'string',
532
+ id: 'string',
533
+ name: 'string',
534
+ uk: 'string',
535
+ placeholder: 'string',
536
+ enableEdit: 'string',
537
+ required: 'string',
538
+ type: 'string',
539
+ value: 'string',
540
+ };
541
+ }
542
+
543
+ constructor(map?: { [key: string]: any }) {
544
+ super(map);
545
+ }
546
+ }
547
+
429
548
  // 保单信息
430
549
  export class InsureOrderInfo extends $tea.Model {
431
550
  // 商家订单ID
@@ -444,6 +563,10 @@ export class InsureOrderInfo extends $tea.Model {
444
563
  insurePremium?: number;
445
564
  // 投保状态枚举
446
565
  status?: string;
566
+ // 电子保单下载链接
567
+ policyUrl?: string;
568
+ // 验真码
569
+ validateCode?: string;
447
570
  static names(): { [key: string]: string } {
448
571
  return {
449
572
  orderId: 'order_id',
@@ -454,6 +577,8 @@ export class InsureOrderInfo extends $tea.Model {
454
577
  insureAmount: 'insure_amount',
455
578
  insurePremium: 'insure_premium',
456
579
  status: 'status',
580
+ policyUrl: 'policy_url',
581
+ validateCode: 'validate_code',
457
582
  };
458
583
  }
459
584
 
@@ -467,6 +592,33 @@ export class InsureOrderInfo extends $tea.Model {
467
592
  insureAmount: 'number',
468
593
  insurePremium: 'number',
469
594
  status: 'string',
595
+ policyUrl: 'string',
596
+ validateCode: 'string',
597
+ };
598
+ }
599
+
600
+ constructor(map?: { [key: string]: any }) {
601
+ super(map);
602
+ }
603
+ }
604
+
605
+ // 营销分对象
606
+ export class MarketingScoreInfo extends $tea.Model {
607
+ // 手机号
608
+ phoneNum?: string;
609
+ // 营销分
610
+ score?: string;
611
+ static names(): { [key: string]: string } {
612
+ return {
613
+ phoneNum: 'phone_num',
614
+ score: 'score',
615
+ };
616
+ }
617
+
618
+ static types(): { [key: string]: any } {
619
+ return {
620
+ phoneNum: 'string',
621
+ score: 'string',
470
622
  };
471
623
  }
472
624
 
@@ -1079,6 +1231,36 @@ export class DeliveryDetail extends $tea.Model {
1079
1231
  }
1080
1232
  }
1081
1233
 
1234
+ // 经营分账收入模型
1235
+ export class OperationDivideTransInModel extends $tea.Model {
1236
+ // 分账收入方支付宝用户id, 支付宝2088id
1237
+ transInUserId: string;
1238
+ // 分账金额,单位为分
1239
+ //
1240
+ divideAmount: number;
1241
+ // 分账描述
1242
+ desc?: string;
1243
+ static names(): { [key: string]: string } {
1244
+ return {
1245
+ transInUserId: 'trans_in_user_id',
1246
+ divideAmount: 'divide_amount',
1247
+ desc: 'desc',
1248
+ };
1249
+ }
1250
+
1251
+ static types(): { [key: string]: any } {
1252
+ return {
1253
+ transInUserId: 'string',
1254
+ divideAmount: 'number',
1255
+ desc: 'string',
1256
+ };
1257
+ }
1258
+
1259
+ constructor(map?: { [key: string]: any }) {
1260
+ super(map);
1261
+ }
1262
+ }
1263
+
1082
1264
  // 租户协议分页对象
1083
1265
  export class AgreementPage extends $tea.Model {
1084
1266
  // 协议id
@@ -1387,6 +1569,8 @@ export class ApplicationInfo extends $tea.Model {
1387
1569
  // 商户服务描述。
1388
1570
  // 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
1389
1571
  merchantServiceDesc: string;
1572
+ // 站点信息
1573
+ siteInfo?: SiteInfo[];
1390
1574
  static names(): { [key: string]: string } {
1391
1575
  return {
1392
1576
  applicationScene: 'application_scene',
@@ -1396,6 +1580,7 @@ export class ApplicationInfo extends $tea.Model {
1396
1580
  merchantName: 'merchant_name',
1397
1581
  merchantServiceName: 'merchant_service_name',
1398
1582
  merchantServiceDesc: 'merchant_service_desc',
1583
+ siteInfo: 'site_info',
1399
1584
  };
1400
1585
  }
1401
1586
 
@@ -1408,6 +1593,7 @@ export class ApplicationInfo extends $tea.Model {
1408
1593
  merchantName: 'string',
1409
1594
  merchantServiceName: 'string',
1410
1595
  merchantServiceDesc: 'string',
1596
+ siteInfo: { 'type': 'array', 'itemType': SiteInfo },
1411
1597
  };
1412
1598
  }
1413
1599
 
@@ -3176,6 +3362,73 @@ export class SyncFundFinanceprecheckresultResponse extends $tea.Model {
3176
3362
  }
3177
3363
  }
3178
3364
 
3365
+ export class QueryFundCompensateaccountRequest extends $tea.Model {
3366
+ // OAuth模式下的授权token
3367
+ authToken?: string;
3368
+ productInstanceId?: string;
3369
+ // 资方社会信用代码
3370
+ fundId: string;
3371
+ // 商户社会信用代码
3372
+ merchantId: string;
3373
+ // 商户租户id
3374
+ merchantTenantId: string;
3375
+ static names(): { [key: string]: string } {
3376
+ return {
3377
+ authToken: 'auth_token',
3378
+ productInstanceId: 'product_instance_id',
3379
+ fundId: 'fund_id',
3380
+ merchantId: 'merchant_id',
3381
+ merchantTenantId: 'merchant_tenant_id',
3382
+ };
3383
+ }
3384
+
3385
+ static types(): { [key: string]: any } {
3386
+ return {
3387
+ authToken: 'string',
3388
+ productInstanceId: 'string',
3389
+ fundId: 'string',
3390
+ merchantId: 'string',
3391
+ merchantTenantId: 'string',
3392
+ };
3393
+ }
3394
+
3395
+ constructor(map?: { [key: string]: any }) {
3396
+ super(map);
3397
+ }
3398
+ }
3399
+
3400
+ export class QueryFundCompensateaccountResponse extends $tea.Model {
3401
+ // 请求唯一ID,用于链路跟踪和问题排查
3402
+ reqMsgId?: string;
3403
+ // 结果码,一般OK表示调用成功
3404
+ resultCode?: string;
3405
+ // 异常信息的文本描述
3406
+ resultMsg?: string;
3407
+ // 可用余额,单位为分
3408
+ availableAmount?: number;
3409
+ static names(): { [key: string]: string } {
3410
+ return {
3411
+ reqMsgId: 'req_msg_id',
3412
+ resultCode: 'result_code',
3413
+ resultMsg: 'result_msg',
3414
+ availableAmount: 'available_amount',
3415
+ };
3416
+ }
3417
+
3418
+ static types(): { [key: string]: any } {
3419
+ return {
3420
+ reqMsgId: 'string',
3421
+ resultCode: 'string',
3422
+ resultMsg: 'string',
3423
+ availableAmount: 'number',
3424
+ };
3425
+ }
3426
+
3427
+ constructor(map?: { [key: string]: any }) {
3428
+ super(map);
3429
+ }
3430
+ }
3431
+
3179
3432
  export class GetInnerProductRequest extends $tea.Model {
3180
3433
  // OAuth模式下的授权token
3181
3434
  authToken?: string;
@@ -5685,17 +5938,17 @@ export class UpdateInnerTemplateRequest extends $tea.Model {
5685
5938
  productInstanceId?: string;
5686
5939
  // 商户对应租户ID
5687
5940
  tenantId: string;
5688
- // 魔法库版本id
5689
- templateVersionId: string;
5690
5941
  // 模板名称
5691
5942
  templateName: string;
5943
+ // 模板code
5944
+ templateCode: string;
5692
5945
  static names(): { [key: string]: string } {
5693
5946
  return {
5694
5947
  authToken: 'auth_token',
5695
5948
  productInstanceId: 'product_instance_id',
5696
5949
  tenantId: 'tenant_id',
5697
- templateVersionId: 'template_version_id',
5698
5950
  templateName: 'template_name',
5951
+ templateCode: 'template_code',
5699
5952
  };
5700
5953
  }
5701
5954
 
@@ -5704,8 +5957,8 @@ export class UpdateInnerTemplateRequest extends $tea.Model {
5704
5957
  authToken: 'string',
5705
5958
  productInstanceId: 'string',
5706
5959
  tenantId: 'string',
5707
- templateVersionId: 'string',
5708
5960
  templateName: 'string',
5961
+ templateCode: 'string',
5709
5962
  };
5710
5963
  }
5711
5964
 
@@ -6998,117 +7251,6 @@ export class PagequeryInnerProductResponse extends $tea.Model {
6998
7251
  }
6999
7252
  }
7000
7253
 
7001
- export class DetailInnerProductRequest extends $tea.Model {
7002
- // OAuth模式下的授权token
7003
- authToken?: string;
7004
- productInstanceId?: string;
7005
- // 商户租户id
7006
- tenantId: string;
7007
- // 商家社会统一信用代码
7008
- merchantId: string;
7009
- // 商品id
7010
- productId: string;
7011
- // 商品版本
7012
- productVersion: string;
7013
- static names(): { [key: string]: string } {
7014
- return {
7015
- authToken: 'auth_token',
7016
- productInstanceId: 'product_instance_id',
7017
- tenantId: 'tenant_id',
7018
- merchantId: 'merchant_id',
7019
- productId: 'product_id',
7020
- productVersion: 'product_version',
7021
- };
7022
- }
7023
-
7024
- static types(): { [key: string]: any } {
7025
- return {
7026
- authToken: 'string',
7027
- productInstanceId: 'string',
7028
- tenantId: 'string',
7029
- merchantId: 'string',
7030
- productId: 'string',
7031
- productVersion: 'string',
7032
- };
7033
- }
7034
-
7035
- constructor(map?: { [key: string]: any }) {
7036
- super(map);
7037
- }
7038
- }
7039
-
7040
- export class DetailInnerProductResponse extends $tea.Model {
7041
- // 请求唯一ID,用于链路跟踪和问题排查
7042
- reqMsgId?: string;
7043
- // 结果码,一般OK表示调用成功
7044
- resultCode?: string;
7045
- // 异常信息的文本描述
7046
- resultMsg?: string;
7047
- // 商家社会统一信用代码
7048
- merchantId?: string;
7049
- // 商品名称
7050
- productName?: string;
7051
- // 商品id
7052
- productId?: string;
7053
- // 商品规格
7054
- productModel?: string;
7055
- // 商品版本
7056
- productVersion?: string;
7057
- // 指导价
7058
- productPrice?: string;
7059
- // 一级类目
7060
- mainClass?: string;
7061
- // 二级类目
7062
- subClass?: string;
7063
- // 品牌
7064
- productBrand?: string;
7065
- // 商品链接
7066
- productUrl?: string;
7067
- // 商品详情
7068
- productDetailInfo?: string;
7069
- static names(): { [key: string]: string } {
7070
- return {
7071
- reqMsgId: 'req_msg_id',
7072
- resultCode: 'result_code',
7073
- resultMsg: 'result_msg',
7074
- merchantId: 'merchant_id',
7075
- productName: 'product_name',
7076
- productId: 'product_id',
7077
- productModel: 'product_model',
7078
- productVersion: 'product_version',
7079
- productPrice: 'product_price',
7080
- mainClass: 'main_class',
7081
- subClass: 'sub_class',
7082
- productBrand: 'product_brand',
7083
- productUrl: 'product_url',
7084
- productDetailInfo: 'product_detail_info',
7085
- };
7086
- }
7087
-
7088
- static types(): { [key: string]: any } {
7089
- return {
7090
- reqMsgId: 'string',
7091
- resultCode: 'string',
7092
- resultMsg: 'string',
7093
- merchantId: 'string',
7094
- productName: 'string',
7095
- productId: 'string',
7096
- productModel: 'string',
7097
- productVersion: 'string',
7098
- productPrice: 'string',
7099
- mainClass: 'string',
7100
- subClass: 'string',
7101
- productBrand: 'string',
7102
- productUrl: 'string',
7103
- productDetailInfo: 'string',
7104
- };
7105
- }
7106
-
7107
- constructor(map?: { [key: string]: any }) {
7108
- super(map);
7109
- }
7110
- }
7111
-
7112
7254
  export class GetInnerHomepagenoticeRequest extends $tea.Model {
7113
7255
  // OAuth模式下的授权token
7114
7256
  authToken?: string;
@@ -7188,12 +7330,15 @@ export class PagequeryInnerNoticeRequest extends $tea.Model {
7188
7330
  tenantId: string;
7189
7331
  // 分页
7190
7332
  pageInfo: PageQuery;
7333
+ // 是否未读
7334
+ unread?: boolean;
7191
7335
  static names(): { [key: string]: string } {
7192
7336
  return {
7193
7337
  authToken: 'auth_token',
7194
7338
  productInstanceId: 'product_instance_id',
7195
7339
  tenantId: 'tenant_id',
7196
7340
  pageInfo: 'page_info',
7341
+ unread: 'unread',
7197
7342
  };
7198
7343
  }
7199
7344
 
@@ -7203,6 +7348,7 @@ export class PagequeryInnerNoticeRequest extends $tea.Model {
7203
7348
  productInstanceId: 'string',
7204
7349
  tenantId: 'string',
7205
7350
  pageInfo: PageQuery,
7351
+ unread: 'boolean',
7206
7352
  };
7207
7353
  }
7208
7354
 
@@ -7500,6 +7646,140 @@ export class DetailInnerOrderResponse extends $tea.Model {
7500
7646
  }
7501
7647
  }
7502
7648
 
7649
+ export class RenderInnerTemplateinstanceRequest extends $tea.Model {
7650
+ // OAuth模式下的授权token
7651
+ authToken?: string;
7652
+ productInstanceId?: string;
7653
+ // 商户对应租户ID
7654
+ tenantId: string;
7655
+ // 模板编码集,数组
7656
+ templateCodes: string[];
7657
+ // 幂等值
7658
+ idempotent: string;
7659
+ // 业务方id,唯一
7660
+ bizBusinessId: string;
7661
+ // 组件(文本域)的实际值
7662
+ componentInstDtos: TemplateComponent[];
7663
+ static names(): { [key: string]: string } {
7664
+ return {
7665
+ authToken: 'auth_token',
7666
+ productInstanceId: 'product_instance_id',
7667
+ tenantId: 'tenant_id',
7668
+ templateCodes: 'template_codes',
7669
+ idempotent: 'idempotent',
7670
+ bizBusinessId: 'biz_business_id',
7671
+ componentInstDtos: 'component_inst_dtos',
7672
+ };
7673
+ }
7674
+
7675
+ static types(): { [key: string]: any } {
7676
+ return {
7677
+ authToken: 'string',
7678
+ productInstanceId: 'string',
7679
+ tenantId: 'string',
7680
+ templateCodes: { 'type': 'array', 'itemType': 'string' },
7681
+ idempotent: 'string',
7682
+ bizBusinessId: 'string',
7683
+ componentInstDtos: { 'type': 'array', 'itemType': TemplateComponent },
7684
+ };
7685
+ }
7686
+
7687
+ constructor(map?: { [key: string]: any }) {
7688
+ super(map);
7689
+ }
7690
+ }
7691
+
7692
+ export class RenderInnerTemplateinstanceResponse extends $tea.Model {
7693
+ // 请求唯一ID,用于链路跟踪和问题排查
7694
+ reqMsgId?: string;
7695
+ // 结果码,一般OK表示调用成功
7696
+ resultCode?: string;
7697
+ // 异常信息的文本描述
7698
+ resultMsg?: string;
7699
+ // 实例化成功时返回唯一业务id
7700
+ businessId?: string;
7701
+ static names(): { [key: string]: string } {
7702
+ return {
7703
+ reqMsgId: 'req_msg_id',
7704
+ resultCode: 'result_code',
7705
+ resultMsg: 'result_msg',
7706
+ businessId: 'business_id',
7707
+ };
7708
+ }
7709
+
7710
+ static types(): { [key: string]: any } {
7711
+ return {
7712
+ reqMsgId: 'string',
7713
+ resultCode: 'string',
7714
+ resultMsg: 'string',
7715
+ businessId: 'string',
7716
+ };
7717
+ }
7718
+
7719
+ constructor(map?: { [key: string]: any }) {
7720
+ super(map);
7721
+ }
7722
+ }
7723
+
7724
+ export class BatchqueryInnerMarketingscoreRequest extends $tea.Model {
7725
+ // OAuth模式下的授权token
7726
+ authToken?: string;
7727
+ productInstanceId?: string;
7728
+ // 营销分查询对象
7729
+ marketingScoreQueryInfos: MarketingScoreQueryInfo[];
7730
+ static names(): { [key: string]: string } {
7731
+ return {
7732
+ authToken: 'auth_token',
7733
+ productInstanceId: 'product_instance_id',
7734
+ marketingScoreQueryInfos: 'marketing_score_query_infos',
7735
+ };
7736
+ }
7737
+
7738
+ static types(): { [key: string]: any } {
7739
+ return {
7740
+ authToken: 'string',
7741
+ productInstanceId: 'string',
7742
+ marketingScoreQueryInfos: { 'type': 'array', 'itemType': MarketingScoreQueryInfo },
7743
+ };
7744
+ }
7745
+
7746
+ constructor(map?: { [key: string]: any }) {
7747
+ super(map);
7748
+ }
7749
+ }
7750
+
7751
+ export class BatchqueryInnerMarketingscoreResponse extends $tea.Model {
7752
+ // 请求唯一ID,用于链路跟踪和问题排查
7753
+ reqMsgId?: string;
7754
+ // 结果码,一般OK表示调用成功
7755
+ resultCode?: string;
7756
+ // 异常信息的文本描述
7757
+ resultMsg?: string;
7758
+ // 营销分返回对象
7759
+ marketingScoreInfo?: MarketingScoreInfo[];
7760
+ static names(): { [key: string]: string } {
7761
+ return {
7762
+ reqMsgId: 'req_msg_id',
7763
+ resultCode: 'result_code',
7764
+ resultMsg: 'result_msg',
7765
+ marketingScoreInfo: 'marketing_score_info',
7766
+ };
7767
+ }
7768
+
7769
+ static types(): { [key: string]: any } {
7770
+ return {
7771
+ reqMsgId: 'string',
7772
+ resultCode: 'string',
7773
+ resultMsg: 'string',
7774
+ marketingScoreInfo: { 'type': 'array', 'itemType': MarketingScoreInfo },
7775
+ };
7776
+ }
7777
+
7778
+ constructor(map?: { [key: string]: any }) {
7779
+ super(map);
7780
+ }
7781
+ }
7782
+
7503
7783
  export class CreateInsureRequest extends $tea.Model {
7504
7784
  // OAuth模式下的授权token
7505
7785
  authToken?: string;
@@ -7655,6 +7935,10 @@ export class QueryInsureResponse extends $tea.Model {
7655
7935
  insureAmount?: string;
7656
7936
  // 投保费用(保费),单位分。100代表1元
7657
7937
  insurePremium?: string;
7938
+ // 电子保单下载链接
7939
+ policyUrl?: string;
7940
+ // 验真码
7941
+ validateCode?: string;
7658
7942
  static names(): { [key: string]: string } {
7659
7943
  return {
7660
7944
  reqMsgId: 'req_msg_id',
@@ -7668,6 +7952,8 @@ export class QueryInsureResponse extends $tea.Model {
7668
7952
  insureEndTime: 'insure_end_time',
7669
7953
  insureAmount: 'insure_amount',
7670
7954
  insurePremium: 'insure_premium',
7955
+ policyUrl: 'policy_url',
7956
+ validateCode: 'validate_code',
7671
7957
  };
7672
7958
  }
7673
7959
 
@@ -7684,6 +7970,8 @@ export class QueryInsureResponse extends $tea.Model {
7684
7970
  insureEndTime: 'string',
7685
7971
  insureAmount: 'string',
7686
7972
  insurePremium: 'string',
7973
+ policyUrl: 'string',
7974
+ validateCode: 'string',
7687
7975
  };
7688
7976
  }
7689
7977
 
@@ -7931,6 +8219,8 @@ export class QueryMerchantexpandMerchantResponse extends $tea.Model {
7931
8219
  // INIT 入驻中
7932
8220
  // SUCCESS 入驻成功
7933
8221
  // FAIL 入驻失败
8222
+ // MERCHANT_CONFIRM 待商户B站确认
8223
+ // SUB_MERCHANT_CREDIT 二级户商户签约中
7934
8224
  enrollmentStatus?: string;
7935
8225
  // 入驻失败原因
7936
8226
  failReason?: string;
@@ -10615,14 +10905,31 @@ export class CreateWithholdActivepayRequest extends $tea.Model {
10615
10905
  productInstanceId?: string;
10616
10906
  // 订单id 长度不可超过50
10617
10907
  orderId: string;
10618
- // 第几期
10619
- periodNum: number;
10908
+ // 第几期,当支付类型为PERFORMANCE或为空必填
10909
+ periodNum?: number;
10910
+ // 支付类型
10911
+ payType?: string;
10912
+ // 支付渠道,非必填。可选值:JSAPI-JSAPI支付,APP-APP支付。默认值:JSAPI
10913
+ payChannel?: string;
10914
+ // 支付金额,单位为分
10915
+ payAmount?: number;
10916
+ // 经营分账标识Y/N
10917
+ // 当pay_type=BUYOUT、PENALTY必填。
10918
+ operationDivideFlag?: string;
10919
+ // 当operation_divide_flag=Y 必填
10920
+ // 经营分账收入列表,最多10条,分账比例与正常限制一致。
10921
+ operationDivideTransInList?: OperationDivideTransInModel[];
10620
10922
  static names(): { [key: string]: string } {
10621
10923
  return {
10622
10924
  authToken: 'auth_token',
10623
10925
  productInstanceId: 'product_instance_id',
10624
10926
  orderId: 'order_id',
10625
10927
  periodNum: 'period_num',
10928
+ payType: 'pay_type',
10929
+ payChannel: 'pay_channel',
10930
+ payAmount: 'pay_amount',
10931
+ operationDivideFlag: 'operation_divide_flag',
10932
+ operationDivideTransInList: 'operation_divide_trans_in_list',
10626
10933
  };
10627
10934
  }
10628
10935
 
@@ -10632,6 +10939,11 @@ export class CreateWithholdActivepayRequest extends $tea.Model {
10632
10939
  productInstanceId: 'string',
10633
10940
  orderId: 'string',
10634
10941
  periodNum: 'number',
10942
+ payType: 'string',
10943
+ payChannel: 'string',
10944
+ payAmount: 'number',
10945
+ operationDivideFlag: 'string',
10946
+ operationDivideTransInList: { 'type': 'array', 'itemType': OperationDivideTransInModel },
10635
10947
  };
10636
10948
  }
10637
10949
 
@@ -10649,12 +10961,15 @@ export class CreateWithholdActivepayResponse extends $tea.Model {
10649
10961
  resultMsg?: string;
10650
10962
  // 支付宝支付订单号,用于拉起主动支付页面
10651
10963
  tradeNo?: string;
10964
+ // 签名字符串,用于APP支付场景,客户端唤起支付宝收银台使用。
10965
+ orderStr?: string;
10652
10966
  static names(): { [key: string]: string } {
10653
10967
  return {
10654
10968
  reqMsgId: 'req_msg_id',
10655
10969
  resultCode: 'result_code',
10656
10970
  resultMsg: 'result_msg',
10657
10971
  tradeNo: 'trade_no',
10972
+ orderStr: 'order_str',
10658
10973
  };
10659
10974
  }
10660
10975
 
@@ -10664,6 +10979,7 @@ export class CreateWithholdActivepayResponse extends $tea.Model {
10664
10979
  resultCode: 'string',
10665
10980
  resultMsg: 'string',
10666
10981
  tradeNo: 'string',
10982
+ orderStr: 'string',
10667
10983
  };
10668
10984
  }
10669
10985
 
@@ -10678,10 +10994,12 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
10678
10994
  productInstanceId?: string;
10679
10995
  // 订单id 长度不可超过50
10680
10996
  orderId: string;
10681
- // 第几期
10682
- periodNum: number;
10997
+ // 第几期,当支付类型为PERFORMANCE或为空必填
10998
+ periodNum?: number;
10683
10999
  // 支付宝支付订单号,当传递此单号时,只会返回当前单据
10684
11000
  tradeNo?: string;
11001
+ // 支付类型
11002
+ payType?: string;
10685
11003
  static names(): { [key: string]: string } {
10686
11004
  return {
10687
11005
  authToken: 'auth_token',
@@ -10689,6 +11007,7 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
10689
11007
  orderId: 'order_id',
10690
11008
  periodNum: 'period_num',
10691
11009
  tradeNo: 'trade_no',
11010
+ payType: 'pay_type',
10692
11011
  };
10693
11012
  }
10694
11013
 
@@ -10699,6 +11018,7 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
10699
11018
  orderId: 'string',
10700
11019
  periodNum: 'number',
10701
11020
  tradeNo: 'string',
11021
+ payType: 'string',
10702
11022
  };
10703
11023
  }
10704
11024
 
@@ -10818,7 +11138,7 @@ export class CreateWithholdRefundRequest extends $tea.Model {
10818
11138
  orderId: string;
10819
11139
  // 第几期
10820
11140
  // 针对用户履约的第几期进行退款申请
10821
- periodNum: number;
11141
+ periodNum?: number;
10822
11142
  // 外部系统传入的退款请求号
10823
11143
  refundRequestNo: string;
10824
11144
  // 本次请求的退款金额,单位为分
@@ -10826,6 +11146,11 @@ export class CreateWithholdRefundRequest extends $tea.Model {
10826
11146
  refundMoney: number;
10827
11147
  // 退款原因
10828
11148
  refundReason?: string;
11149
+ // 支付类型
11150
+ // ORDER_BUYOUT:买断金
11151
+ // ORDER_PENALTY:违约金
11152
+ // PERFORMANCE:正常履约(默认)
11153
+ payType?: string;
10829
11154
  static names(): { [key: string]: string } {
10830
11155
  return {
10831
11156
  authToken: 'auth_token',
@@ -10835,6 +11160,7 @@ export class CreateWithholdRefundRequest extends $tea.Model {
10835
11160
  refundRequestNo: 'refund_request_no',
10836
11161
  refundMoney: 'refund_money',
10837
11162
  refundReason: 'refund_reason',
11163
+ payType: 'pay_type',
10838
11164
  };
10839
11165
  }
10840
11166
 
@@ -10847,6 +11173,7 @@ export class CreateWithholdRefundRequest extends $tea.Model {
10847
11173
  refundRequestNo: 'string',
10848
11174
  refundMoney: 'number',
10849
11175
  refundReason: 'string',
11176
+ payType: 'string',
10850
11177
  };
10851
11178
  }
10852
11179
 
@@ -10903,9 +11230,14 @@ export class QueryWithholdRefundRequest extends $tea.Model {
10903
11230
  orderId: string;
10904
11231
  // 几期
10905
11232
  // 针对用户履约的第几期进行退款申请
10906
- periodNum: number;
11233
+ periodNum?: number;
10907
11234
  // 外部系统传入的退款请求号
10908
11235
  refundRequestNo: string;
11236
+ // 支付类型
11237
+ // ORDER_BUYOUT:买断金
11238
+ // ORDER_PENALTY:违约金
11239
+ // PERFORMANCE:正常履约(默认)
11240
+ payType?: string;
10909
11241
  static names(): { [key: string]: string } {
10910
11242
  return {
10911
11243
  authToken: 'auth_token',
@@ -10913,6 +11245,7 @@ export class QueryWithholdRefundRequest extends $tea.Model {
10913
11245
  orderId: 'order_id',
10914
11246
  periodNum: 'period_num',
10915
11247
  refundRequestNo: 'refund_request_no',
11248
+ payType: 'pay_type',
10916
11249
  };
10917
11250
  }
10918
11251
 
@@ -10923,6 +11256,7 @@ export class QueryWithholdRefundRequest extends $tea.Model {
10923
11256
  orderId: 'string',
10924
11257
  periodNum: 'number',
10925
11258
  refundRequestNo: 'string',
11259
+ payType: 'string',
10926
11260
  };
10927
11261
  }
10928
11262
 
@@ -10993,6 +11327,77 @@ export class QueryWithholdRefundResponse extends $tea.Model {
10993
11327
  }
10994
11328
  }
10995
11329
 
11330
+ export class QueryWithholdCompensateaccountRequest extends $tea.Model {
11331
+ // OAuth模式下的授权token
11332
+ authToken?: string;
11333
+ productInstanceId?: string;
11334
+ // 商户社会信用代码
11335
+ merchantId: string;
11336
+ // 资方社会信用代码
11337
+ fundId: string;
11338
+ // 资方租户id
11339
+ fundTenantId: string;
11340
+ static names(): { [key: string]: string } {
11341
+ return {
11342
+ authToken: 'auth_token',
11343
+ productInstanceId: 'product_instance_id',
11344
+ merchantId: 'merchant_id',
11345
+ fundId: 'fund_id',
11346
+ fundTenantId: 'fund_tenant_id',
11347
+ };
11348
+ }
11349
+
11350
+ static types(): { [key: string]: any } {
11351
+ return {
11352
+ authToken: 'string',
11353
+ productInstanceId: 'string',
11354
+ merchantId: 'string',
11355
+ fundId: 'string',
11356
+ fundTenantId: 'string',
11357
+ };
11358
+ }
11359
+
11360
+ constructor(map?: { [key: string]: any }) {
11361
+ super(map);
11362
+ }
11363
+ }
11364
+
11365
+ export class QueryWithholdCompensateaccountResponse extends $tea.Model {
11366
+ // 请求唯一ID,用于链路跟踪和问题排查
11367
+ reqMsgId?: string;
11368
+ // 结果码,一般OK表示调用成功
11369
+ resultCode?: string;
11370
+ // 异常信息的文本描述
11371
+ resultMsg?: string;
11372
+ // 代偿卡号
11373
+ cardNo?: string;
11374
+ // 可用余额,单位为分
11375
+ availableAmount?: number;
11376
+ static names(): { [key: string]: string } {
11377
+ return {
11378
+ reqMsgId: 'req_msg_id',
11379
+ resultCode: 'result_code',
11380
+ resultMsg: 'result_msg',
11381
+ cardNo: 'card_no',
11382
+ availableAmount: 'available_amount',
11383
+ };
11384
+ }
11385
+
11386
+ static types(): { [key: string]: any } {
11387
+ return {
11388
+ reqMsgId: 'string',
11389
+ resultCode: 'string',
11390
+ resultMsg: 'string',
11391
+ cardNo: 'string',
11392
+ availableAmount: 'number',
11393
+ };
11394
+ }
11395
+
11396
+ constructor(map?: { [key: string]: any }) {
11397
+ super(map);
11398
+ }
11399
+ }
11400
+
10996
11401
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
10997
11402
  // OAuth模式下的授权token
10998
11403
  authToken?: string;
@@ -11194,7 +11599,7 @@ export default class Client {
11194
11599
  req_msg_id: AntchainUtil.getNonce(),
11195
11600
  access_key: this._accessKeyId,
11196
11601
  base_sdk_version: "TeaSDK-2.0",
11197
- sdk_version: "1.9.72",
11602
+ sdk_version: "1.10.16",
11198
11603
  _prod_code: "ATO",
11199
11604
  _prod_channel: "undefined",
11200
11605
  };
@@ -11663,6 +12068,25 @@ export default class Client {
11663
12068
  return $tea.cast<SyncFundFinanceprecheckresultResponse>(await this.doRequest("1.0", "antchain.ato.fund.financeprecheckresult.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncFundFinanceprecheckresultResponse({}));
11664
12069
  }
11665
12070
 
12071
+ /**
12072
+ * Description: 资方查询代偿户余额
12073
+ * Summary: 代偿户查询
12074
+ */
12075
+ async queryFundCompensateaccount(request: QueryFundCompensateaccountRequest): Promise<QueryFundCompensateaccountResponse> {
12076
+ let runtime = new $Util.RuntimeOptions({ });
12077
+ let headers : {[key: string ]: string} = { };
12078
+ return await this.queryFundCompensateaccountEx(request, headers, runtime);
12079
+ }
12080
+
12081
+ /**
12082
+ * Description: 资方查询代偿户余额
12083
+ * Summary: 代偿户查询
12084
+ */
12085
+ async queryFundCompensateaccountEx(request: QueryFundCompensateaccountRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryFundCompensateaccountResponse> {
12086
+ Util.validateModel(request);
12087
+ return $tea.cast<QueryFundCompensateaccountResponse>(await this.doRequest("1.0", "antchain.ato.fund.compensateaccount.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFundCompensateaccountResponse({}));
12088
+ }
12089
+
11666
12090
  /**
11667
12091
  * Description: 内部调用,商品信息获取
11668
12092
  * Summary: 商品信息获取
@@ -12672,25 +13096,6 @@ export default class Client {
12672
13096
  return $tea.cast<PagequeryInnerProductResponse>(await this.doRequest("1.0", "antchain.ato.inner.product.pagequery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PagequeryInnerProductResponse({}));
12673
13097
  }
12674
13098
 
12675
- /**
12676
- * Description: 商户控制台商品详情
12677
- * Summary: 商品详情
12678
- */
12679
- async detailInnerProduct(request: DetailInnerProductRequest): Promise<DetailInnerProductResponse> {
12680
- let runtime = new $Util.RuntimeOptions({ });
12681
- let headers : {[key: string ]: string} = { };
12682
- return await this.detailInnerProductEx(request, headers, runtime);
12683
- }
12684
-
12685
- /**
12686
- * Description: 商户控制台商品详情
12687
- * Summary: 商品详情
12688
- */
12689
- async detailInnerProductEx(request: DetailInnerProductRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DetailInnerProductResponse> {
12690
- Util.validateModel(request);
12691
- return $tea.cast<DetailInnerProductResponse>(await this.doRequest("1.0", "antchain.ato.inner.product.detail", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new DetailInnerProductResponse({}));
12692
- }
12693
-
12694
13099
  /**
12695
13100
  * Description: 商户控制台首页通知栏
12696
13101
  * Summary: 首页通知栏
@@ -12786,6 +13191,44 @@ export default class Client {
12786
13191
  return $tea.cast<DetailInnerOrderResponse>(await this.doRequest("1.0", "antchain.ato.inner.order.detail", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new DetailInnerOrderResponse({}));
12787
13192
  }
12788
13193
 
13194
+ /**
13195
+ * Description: 合同模板实例化渲染,文本域赋值
13196
+ * Summary: 合同模板实例化渲染
13197
+ */
13198
+ async renderInnerTemplateinstance(request: RenderInnerTemplateinstanceRequest): Promise<RenderInnerTemplateinstanceResponse> {
13199
+ let runtime = new $Util.RuntimeOptions({ });
13200
+ let headers : {[key: string ]: string} = { };
13201
+ return await this.renderInnerTemplateinstanceEx(request, headers, runtime);
13202
+ }
13203
+
13204
+ /**
13205
+ * Description: 合同模板实例化渲染,文本域赋值
13206
+ * Summary: 合同模板实例化渲染
13207
+ */
13208
+ async renderInnerTemplateinstanceEx(request: RenderInnerTemplateinstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RenderInnerTemplateinstanceResponse> {
13209
+ Util.validateModel(request);
13210
+ return $tea.cast<RenderInnerTemplateinstanceResponse>(await this.doRequest("1.0", "antchain.ato.inner.templateinstance.render", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new RenderInnerTemplateinstanceResponse({}));
13211
+ }
13212
+
13213
+ /**
13214
+ * Description: 批量查询营销分
13215
+ * Summary: 批量查询营销分
13216
+ */
13217
+ async batchqueryInnerMarketingscore(request: BatchqueryInnerMarketingscoreRequest): Promise<BatchqueryInnerMarketingscoreResponse> {
13218
+ let runtime = new $Util.RuntimeOptions({ });
13219
+ let headers : {[key: string ]: string} = { };
13220
+ return await this.batchqueryInnerMarketingscoreEx(request, headers, runtime);
13221
+ }
13222
+
13223
+ /**
13224
+ * Description: 批量查询营销分
13225
+ * Summary: 批量查询营销分
13226
+ */
13227
+ async batchqueryInnerMarketingscoreEx(request: BatchqueryInnerMarketingscoreRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryInnerMarketingscoreResponse> {
13228
+ Util.validateModel(request);
13229
+ return $tea.cast<BatchqueryInnerMarketingscoreResponse>(await this.doRequest("1.0", "antchain.ato.inner.marketingscore.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryInnerMarketingscoreResponse({}));
13230
+ }
13231
+
12789
13232
  /**
12790
13233
  * Description: 一键投保
12791
13234
  * Summary: 投保
@@ -13670,6 +14113,25 @@ export default class Client {
13670
14113
  return $tea.cast<QueryWithholdRefundResponse>(await this.doRequest("1.0", "antchain.ato.withhold.refund.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryWithholdRefundResponse({}));
13671
14114
  }
13672
14115
 
14116
+ /**
14117
+ * Description: 代偿户账户查询
14118
+ * Summary: 代偿户账户查询
14119
+ */
14120
+ async queryWithholdCompensateaccount(request: QueryWithholdCompensateaccountRequest): Promise<QueryWithholdCompensateaccountResponse> {
14121
+ let runtime = new $Util.RuntimeOptions({ });
14122
+ let headers : {[key: string ]: string} = { };
14123
+ return await this.queryWithholdCompensateaccountEx(request, headers, runtime);
14124
+ }
14125
+
14126
+ /**
14127
+ * Description: 代偿户账户查询
14128
+ * Summary: 代偿户账户查询
14129
+ */
14130
+ async queryWithholdCompensateaccountEx(request: QueryWithholdCompensateaccountRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryWithholdCompensateaccountResponse> {
14131
+ Util.validateModel(request);
14132
+ return $tea.cast<QueryWithholdCompensateaccountResponse>(await this.doRequest("1.0", "antchain.ato.withhold.compensateaccount.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryWithholdCompensateaccountResponse({}));
14133
+ }
14134
+
13673
14135
  /**
13674
14136
  * Description: 创建HTTP PUT提交的文件上传
13675
14137
  * Summary: 文件上传创建