@antchain/ato 1.9.29 → 1.9.64

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,8 @@ export class AppletRiskModel extends $tea.Model {
169
169
  riskName: string;
170
170
  // 风险等级中文描述
171
171
  riskDesc: string;
172
+ // 流程id
173
+ flowId: string;
172
174
  // 子风险结果列表
173
175
  subRiskResultList?: SubRentRiskItem[];
174
176
  // 调用失败错误提示信息,仅调用失败时返回该字段信息。
@@ -180,6 +182,7 @@ export class AppletRiskModel extends $tea.Model {
180
182
  riskRank: 'risk_rank',
181
183
  riskName: 'risk_name',
182
184
  riskDesc: 'risk_desc',
185
+ flowId: 'flow_id',
183
186
  subRiskResultList: 'sub_risk_result_list',
184
187
  errorMsg: 'error_msg',
185
188
  };
@@ -192,6 +195,7 @@ export class AppletRiskModel extends $tea.Model {
192
195
  riskRank: 'string',
193
196
  riskName: 'string',
194
197
  riskDesc: 'string',
198
+ flowId: 'string',
195
199
  subRiskResultList: { 'type': 'array', 'itemType': SubRentRiskItem },
196
200
  errorMsg: 'string',
197
201
  };
@@ -323,6 +327,35 @@ export class UserPerformanceInfo extends $tea.Model {
323
327
  }
324
328
  }
325
329
 
330
+ // 投保商品信息
331
+ export class InsureProductInfo extends $tea.Model {
332
+ // 商品库id
333
+ productId: string;
334
+ // 商品设备编号
335
+ productImeiId: string;
336
+ // 商品采购价,单位:分
337
+ purchaseAmount: number;
338
+ static names(): { [key: string]: string } {
339
+ return {
340
+ productId: 'product_id',
341
+ productImeiId: 'product_imei_id',
342
+ purchaseAmount: 'purchase_amount',
343
+ };
344
+ }
345
+
346
+ static types(): { [key: string]: any } {
347
+ return {
348
+ productId: 'string',
349
+ productImeiId: 'string',
350
+ purchaseAmount: 'number',
351
+ };
352
+ }
353
+
354
+ constructor(map?: { [key: string]: any }) {
355
+ super(map);
356
+ }
357
+ }
358
+
326
359
  // 策略结果详情
327
360
  export class RiskStrategy extends $tea.Model {
328
361
  // 策略ID
@@ -356,6 +389,55 @@ export class RiskStrategy extends $tea.Model {
356
389
  }
357
390
  }
358
391
 
392
+ // 保单信息
393
+ export class InsureOrderInfo extends $tea.Model {
394
+ // 商家订单ID
395
+ orderId?: string;
396
+ // 投保编号(承保id)
397
+ insureId?: string;
398
+ // 商品名称
399
+ productName?: string;
400
+ // 保险开始时间
401
+ insureStartTime?: string;
402
+ // 保险终止时间
403
+ insureEndTime?: string;
404
+ // 投保金额(保额),单位分 100代表1元
405
+ insureAmount?: number;
406
+ // 投保费用(保费),单位分 100代表1元
407
+ insurePremium?: number;
408
+ // 投保状态枚举
409
+ status?: string;
410
+ static names(): { [key: string]: string } {
411
+ return {
412
+ orderId: 'order_id',
413
+ insureId: 'insure_id',
414
+ productName: 'product_name',
415
+ insureStartTime: 'insure_start_time',
416
+ insureEndTime: 'insure_end_time',
417
+ insureAmount: 'insure_amount',
418
+ insurePremium: 'insure_premium',
419
+ status: 'status',
420
+ };
421
+ }
422
+
423
+ static types(): { [key: string]: any } {
424
+ return {
425
+ orderId: 'string',
426
+ insureId: 'string',
427
+ productName: 'string',
428
+ insureStartTime: 'string',
429
+ insureEndTime: 'string',
430
+ insureAmount: 'number',
431
+ insurePremium: 'number',
432
+ status: 'string',
433
+ };
434
+ }
435
+
436
+ constructor(map?: { [key: string]: any }) {
437
+ super(map);
438
+ }
439
+ }
440
+
359
441
  // 静态数据
360
442
  export class StaticData extends $tea.Model {
361
443
  // 商户类型
@@ -527,6 +609,39 @@ export class OrderInfo extends $tea.Model {
527
609
  }
528
610
  }
529
611
 
612
+ // 通知信息
613
+ export class NoticeInfo extends $tea.Model {
614
+ // 通知id
615
+ noticeId?: number;
616
+ // 通知标题
617
+ title?: string;
618
+ // 通知创建时间
619
+ noticeCreateTime?: string;
620
+ // 是否未读
621
+ unread?: boolean;
622
+ static names(): { [key: string]: string } {
623
+ return {
624
+ noticeId: 'notice_id',
625
+ title: 'title',
626
+ noticeCreateTime: 'notice_create_time',
627
+ unread: 'unread',
628
+ };
629
+ }
630
+
631
+ static types(): { [key: string]: any } {
632
+ return {
633
+ noticeId: 'number',
634
+ title: 'string',
635
+ noticeCreateTime: 'string',
636
+ unread: 'boolean',
637
+ };
638
+ }
639
+
640
+ constructor(map?: { [key: string]: any }) {
641
+ super(map);
642
+ }
643
+ }
644
+
530
645
  // 应用信息修改
531
646
  export class ApplicationInfoUpdate extends $tea.Model {
532
647
  // 应用场景 MINI_APP 小程序 APP 自有app ALL 两种都有
@@ -609,6 +724,59 @@ export class AuditInfo extends $tea.Model {
609
724
  }
610
725
  }
611
726
 
727
+ // 商品信息
728
+ export class ProductInfo extends $tea.Model {
729
+ // 商家社会统一信用代码
730
+ merchantId?: string;
731
+ // 商品名称
732
+ productName?: string;
733
+ // 商品id
734
+ productId?: string;
735
+ // 商品规格
736
+ productModel?: string;
737
+ // 商品版本
738
+ productVersion?: string;
739
+ // 指导价(单位分)
740
+ productPrice?: number;
741
+ // 一级类目
742
+ mainClass?: string;
743
+ // 二级类目
744
+ subClass?: string;
745
+ // 品牌
746
+ productBrand?: string;
747
+ static names(): { [key: string]: string } {
748
+ return {
749
+ merchantId: 'merchant_id',
750
+ productName: 'product_name',
751
+ productId: 'product_id',
752
+ productModel: 'product_model',
753
+ productVersion: 'product_version',
754
+ productPrice: 'product_price',
755
+ mainClass: 'main_class',
756
+ subClass: 'sub_class',
757
+ productBrand: 'product_brand',
758
+ };
759
+ }
760
+
761
+ static types(): { [key: string]: any } {
762
+ return {
763
+ merchantId: 'string',
764
+ productName: 'string',
765
+ productId: 'string',
766
+ productModel: 'string',
767
+ productVersion: 'string',
768
+ productPrice: 'number',
769
+ mainClass: 'string',
770
+ subClass: 'string',
771
+ productBrand: 'string',
772
+ };
773
+ }
774
+
775
+ constructor(map?: { [key: string]: any }) {
776
+ super(map);
777
+ }
778
+ }
779
+
612
780
  // 订单包含的单个商品模型
613
781
  export class OrderGoodsModel extends $tea.Model {
614
782
  static names(): { [key: string]: string } {
@@ -659,6 +827,55 @@ export class LegalInfoUpdate extends $tea.Model {
659
827
  }
660
828
  }
661
829
 
830
+ // 订单信息
831
+ export class MerchantOrderInfo extends $tea.Model {
832
+ // 支付宝代扣协议号
833
+ agreementNo?: string;
834
+ // 订单id
835
+ orderId?: string;
836
+ // 订单创建时间
837
+ orderCreateTime?: string;
838
+ // 租金总额(单位分)
839
+ totalRentMoney?: number;
840
+ // 租期
841
+ rentRerm?: number;
842
+ // 订单状态
843
+ orderStatus?: string;
844
+ // 承租人名称
845
+ userName?: string;
846
+ // 承租人手机号
847
+ userPhoneNumber?: string;
848
+ static names(): { [key: string]: string } {
849
+ return {
850
+ agreementNo: 'agreement_no',
851
+ orderId: 'order_id',
852
+ orderCreateTime: 'order_create_time',
853
+ totalRentMoney: 'total_rent_money',
854
+ rentRerm: 'rent_rerm',
855
+ orderStatus: 'order_status',
856
+ userName: 'user_name',
857
+ userPhoneNumber: 'user_phone_number',
858
+ };
859
+ }
860
+
861
+ static types(): { [key: string]: any } {
862
+ return {
863
+ agreementNo: 'string',
864
+ orderId: 'string',
865
+ orderCreateTime: 'string',
866
+ totalRentMoney: 'number',
867
+ rentRerm: 'number',
868
+ orderStatus: 'string',
869
+ userName: 'string',
870
+ userPhoneNumber: 'string',
871
+ };
872
+ }
873
+
874
+ constructor(map?: { [key: string]: any }) {
875
+ super(map);
876
+ }
877
+ }
878
+
662
879
  // 订单还款计划
663
880
  export class PromiseInfo extends $tea.Model {
664
881
  static names(): { [key: string]: string } {
@@ -1093,6 +1310,8 @@ export class RiskModel extends $tea.Model {
1093
1310
  riskAdvice?: string;
1094
1311
  // 风险等级
1095
1312
  riskRank?: string;
1313
+ // 流程id
1314
+ flowId: string;
1096
1315
  static names(): { [key: string]: string } {
1097
1316
  return {
1098
1317
  sceneCode: 'scene_code',
@@ -1100,6 +1319,7 @@ export class RiskModel extends $tea.Model {
1100
1319
  delinquencyRate: 'delinquency_rate',
1101
1320
  riskAdvice: 'risk_advice',
1102
1321
  riskRank: 'risk_rank',
1322
+ flowId: 'flow_id',
1103
1323
  };
1104
1324
  }
1105
1325
 
@@ -1110,6 +1330,7 @@ export class RiskModel extends $tea.Model {
1110
1330
  delinquencyRate: 'string',
1111
1331
  riskAdvice: 'string',
1112
1332
  riskRank: 'string',
1333
+ flowId: 'string',
1113
1334
  };
1114
1335
  }
1115
1336
 
@@ -6246,29 +6467,20 @@ export class GetInnerFunddividemerchantResponse extends $tea.Model {
6246
6467
  }
6247
6468
  }
6248
6469
 
6249
- export class RegisterMerchantexpandMerchantRequest extends $tea.Model {
6470
+ export class QueryInnerInsuresignRequest extends $tea.Model {
6250
6471
  // OAuth模式下的授权token
6251
6472
  authToken?: string;
6252
6473
  productInstanceId?: string;
6253
- // 公司信息
6254
- companyInfo: CompanyInfo;
6255
- // 法人信息
6256
- legalInfo: LegalInfo;
6257
- // 应用信息
6258
- applicationInfo: ApplicationInfo;
6259
- // 进件模式 DIRECT(直连进件) AGENT(代理进件)
6260
- expandMode: string;
6261
- // expand_mode=_AGENT_ 必填
6262
- subTenantId?: string;
6474
+ // 商户租户id
6475
+ merchantTenantId: string;
6476
+ // 保司社会统一信用代码
6477
+ insureMerchantId: string;
6263
6478
  static names(): { [key: string]: string } {
6264
6479
  return {
6265
6480
  authToken: 'auth_token',
6266
6481
  productInstanceId: 'product_instance_id',
6267
- companyInfo: 'company_info',
6268
- legalInfo: 'legal_info',
6269
- applicationInfo: 'application_info',
6270
- expandMode: 'expand_mode',
6271
- subTenantId: 'sub_tenant_id',
6482
+ merchantTenantId: 'merchant_tenant_id',
6483
+ insureMerchantId: 'insure_merchant_id',
6272
6484
  };
6273
6485
  }
6274
6486
 
@@ -6276,11 +6488,8 @@ export class RegisterMerchantexpandMerchantRequest extends $tea.Model {
6276
6488
  return {
6277
6489
  authToken: 'string',
6278
6490
  productInstanceId: 'string',
6279
- companyInfo: CompanyInfo,
6280
- legalInfo: LegalInfo,
6281
- applicationInfo: ApplicationInfo,
6282
- expandMode: 'string',
6283
- subTenantId: 'string',
6491
+ merchantTenantId: 'string',
6492
+ insureMerchantId: 'string',
6284
6493
  };
6285
6494
  }
6286
6495
 
@@ -6289,21 +6498,33 @@ export class RegisterMerchantexpandMerchantRequest extends $tea.Model {
6289
6498
  }
6290
6499
  }
6291
6500
 
6292
- export class RegisterMerchantexpandMerchantResponse extends $tea.Model {
6501
+ export class QueryInnerInsuresignResponse extends $tea.Model {
6293
6502
  // 请求唯一ID,用于链路跟踪和问题排查
6294
6503
  reqMsgId?: string;
6295
6504
  // 结果码,一般OK表示调用成功
6296
6505
  resultCode?: string;
6297
6506
  // 异常信息的文本描述
6298
6507
  resultMsg?: string;
6299
- // 进件流水号
6300
- payExpandId?: string;
6508
+ // 商户社会统一信用代码
6509
+ merchantId?: string;
6510
+ // 保司社会统一信用代码
6511
+ insureMerchantId?: string;
6512
+ // 外部代扣协议号
6513
+ externalAgreementNo?: string;
6514
+ // 合同未签署:CONTRACT_UN_SIGNED
6515
+ // 合同已签署:CONTRACT_SIGNED
6516
+ // 代扣已签署:WITHHOLD_SIGNED
6517
+ // 代扣已解约:WITHHOLD_UN_SIGNED
6518
+ status?: string;
6301
6519
  static names(): { [key: string]: string } {
6302
6520
  return {
6303
6521
  reqMsgId: 'req_msg_id',
6304
6522
  resultCode: 'result_code',
6305
6523
  resultMsg: 'result_msg',
6306
- payExpandId: 'pay_expand_id',
6524
+ merchantId: 'merchant_id',
6525
+ insureMerchantId: 'insure_merchant_id',
6526
+ externalAgreementNo: 'external_agreement_no',
6527
+ status: 'status',
6307
6528
  };
6308
6529
  }
6309
6530
 
@@ -6312,7 +6533,10 @@ export class RegisterMerchantexpandMerchantResponse extends $tea.Model {
6312
6533
  reqMsgId: 'string',
6313
6534
  resultCode: 'string',
6314
6535
  resultMsg: 'string',
6315
- payExpandId: 'string',
6536
+ merchantId: 'string',
6537
+ insureMerchantId: 'string',
6538
+ externalAgreementNo: 'string',
6539
+ status: 'string',
6316
6540
  };
6317
6541
  }
6318
6542
 
@@ -6321,20 +6545,20 @@ export class RegisterMerchantexpandMerchantResponse extends $tea.Model {
6321
6545
  }
6322
6546
  }
6323
6547
 
6324
- export class UploadMerchantexpandFileRequest extends $tea.Model {
6548
+ export class CreateInnerInsuresignRequest extends $tea.Model {
6325
6549
  // OAuth模式下的授权token
6326
6550
  authToken?: string;
6327
6551
  productInstanceId?: string;
6328
- // 文件名称 包含后缀
6329
- fileName: string;
6330
- // ● BUSINESS_LICENSE 营业执照 ● CARD_FRONT 身份证正面 ● CARD_BACK 身份证反面 ● SPLITTING 分账
6331
- bizScene: string;
6552
+ // 商户租户id
6553
+ merchantTenantId: string;
6554
+ // 外部代扣协议号
6555
+ externalAgreementNo: string;
6332
6556
  static names(): { [key: string]: string } {
6333
6557
  return {
6334
6558
  authToken: 'auth_token',
6335
6559
  productInstanceId: 'product_instance_id',
6336
- fileName: 'file_name',
6337
- bizScene: 'biz_scene',
6560
+ merchantTenantId: 'merchant_tenant_id',
6561
+ externalAgreementNo: 'external_agreement_no',
6338
6562
  };
6339
6563
  }
6340
6564
 
@@ -6342,8 +6566,8 @@ export class UploadMerchantexpandFileRequest extends $tea.Model {
6342
6566
  return {
6343
6567
  authToken: 'string',
6344
6568
  productInstanceId: 'string',
6345
- fileName: 'string',
6346
- bizScene: 'string',
6569
+ merchantTenantId: 'string',
6570
+ externalAgreementNo: 'string',
6347
6571
  };
6348
6572
  }
6349
6573
 
@@ -6352,24 +6576,21 @@ export class UploadMerchantexpandFileRequest extends $tea.Model {
6352
6576
  }
6353
6577
  }
6354
6578
 
6355
- export class UploadMerchantexpandFileResponse extends $tea.Model {
6579
+ export class CreateInnerInsuresignResponse extends $tea.Model {
6356
6580
  // 请求唯一ID,用于链路跟踪和问题排查
6357
6581
  reqMsgId?: string;
6358
6582
  // 结果码,一般OK表示调用成功
6359
6583
  resultCode?: string;
6360
6584
  // 异常信息的文本描述
6361
6585
  resultMsg?: string;
6362
- // 临时上传文件地址
6363
- uploadUrl?: string;
6364
- // 文件key
6365
- fileKey?: string;
6586
+ // 签约链接
6587
+ signStr?: string;
6366
6588
  static names(): { [key: string]: string } {
6367
6589
  return {
6368
6590
  reqMsgId: 'req_msg_id',
6369
6591
  resultCode: 'result_code',
6370
6592
  resultMsg: 'result_msg',
6371
- uploadUrl: 'upload_url',
6372
- fileKey: 'file_key',
6593
+ signStr: 'sign_str',
6373
6594
  };
6374
6595
  }
6375
6596
 
@@ -6378,8 +6599,7 @@ export class UploadMerchantexpandFileResponse extends $tea.Model {
6378
6599
  reqMsgId: 'string',
6379
6600
  resultCode: 'string',
6380
6601
  resultMsg: 'string',
6381
- uploadUrl: 'string',
6382
- fileKey: 'string',
6602
+ signStr: 'string',
6383
6603
  };
6384
6604
  }
6385
6605
 
@@ -6388,17 +6608,30 @@ export class UploadMerchantexpandFileResponse extends $tea.Model {
6388
6608
  }
6389
6609
  }
6390
6610
 
6391
- export class QueryMerchantexpandMerchantRequest extends $tea.Model {
6611
+ export class PagequeryInnerInsureorderRequest extends $tea.Model {
6392
6612
  // OAuth模式下的授权token
6393
6613
  authToken?: string;
6394
6614
  productInstanceId?: string;
6395
- // 商户入驻返回的进件编号 expand_mode=AGENT必填
6396
- payExpandId: string;
6615
+ // 租户id
6616
+ // (商家后台接口特有)
6617
+ tenantId: string;
6618
+ // 商家订单ID
6619
+ orderId?: string;
6620
+ // 分页查询对象
6621
+ pageInfo: PageQuery;
6622
+ // 保司信息merchant_id
6623
+ insureMerchantId: string;
6624
+ // 投保状态枚举
6625
+ status?: string;
6397
6626
  static names(): { [key: string]: string } {
6398
6627
  return {
6399
6628
  authToken: 'auth_token',
6400
6629
  productInstanceId: 'product_instance_id',
6401
- payExpandId: 'pay_expand_id',
6630
+ tenantId: 'tenant_id',
6631
+ orderId: 'order_id',
6632
+ pageInfo: 'page_info',
6633
+ insureMerchantId: 'insure_merchant_id',
6634
+ status: 'status',
6402
6635
  };
6403
6636
  }
6404
6637
 
@@ -6406,7 +6639,11 @@ export class QueryMerchantexpandMerchantRequest extends $tea.Model {
6406
6639
  return {
6407
6640
  authToken: 'string',
6408
6641
  productInstanceId: 'string',
6409
- payExpandId: 'string',
6642
+ tenantId: 'string',
6643
+ orderId: 'string',
6644
+ pageInfo: PageQuery,
6645
+ insureMerchantId: 'string',
6646
+ status: 'string',
6410
6647
  };
6411
6648
  }
6412
6649
 
@@ -6415,27 +6652,24 @@ export class QueryMerchantexpandMerchantRequest extends $tea.Model {
6415
6652
  }
6416
6653
  }
6417
6654
 
6418
- export class QueryMerchantexpandMerchantResponse extends $tea.Model {
6655
+ export class PagequeryInnerInsureorderResponse extends $tea.Model {
6419
6656
  // 请求唯一ID,用于链路跟踪和问题排查
6420
6657
  reqMsgId?: string;
6421
6658
  // 结果码,一般OK表示调用成功
6422
6659
  resultCode?: string;
6423
6660
  // 异常信息的文本描述
6424
6661
  resultMsg?: string;
6425
- // 商户入驻状态
6426
- // INIT 入驻中
6427
- // SUCCESS 入驻成功
6428
- // FAIL 入驻失败
6429
- enrollmentStatus?: string;
6430
- // 入驻失败原因
6431
- failReason?: string;
6662
+ // 数据总量
6663
+ totalSize?: number;
6664
+ // 保单信息
6665
+ inusreOrderInfos?: InsureOrderInfo[];
6432
6666
  static names(): { [key: string]: string } {
6433
6667
  return {
6434
6668
  reqMsgId: 'req_msg_id',
6435
6669
  resultCode: 'result_code',
6436
6670
  resultMsg: 'result_msg',
6437
- enrollmentStatus: 'enrollment_status',
6438
- failReason: 'fail_reason',
6671
+ totalSize: 'total_size',
6672
+ inusreOrderInfos: 'inusre_order_infos',
6439
6673
  };
6440
6674
  }
6441
6675
 
@@ -6444,8 +6678,8 @@ export class QueryMerchantexpandMerchantResponse extends $tea.Model {
6444
6678
  reqMsgId: 'string',
6445
6679
  resultCode: 'string',
6446
6680
  resultMsg: 'string',
6447
- enrollmentStatus: 'string',
6448
- failReason: 'string',
6681
+ totalSize: 'number',
6682
+ inusreOrderInfos: { 'type': 'array', 'itemType': InsureOrderInfo },
6449
6683
  };
6450
6684
  }
6451
6685
 
@@ -6454,29 +6688,35 @@ export class QueryMerchantexpandMerchantResponse extends $tea.Model {
6454
6688
  }
6455
6689
  }
6456
6690
 
6457
- export class UpdateMerchantexpandMerchantRequest extends $tea.Model {
6691
+ export class PagequeryInnerProductRequest extends $tea.Model {
6458
6692
  // OAuth模式下的授权token
6459
6693
  authToken?: string;
6460
6694
  productInstanceId?: string;
6461
- // 公司信息
6462
- companyInfo: CompanyInfoUpdate;
6463
- // 法人信息
6464
- legalInfo: LegalInfoUpdate;
6465
- // 应用信息
6466
- applicationInfo: ApplicationInfoUpdate;
6467
- // 进件流水号
6468
- payExpandId: string;
6469
- // 社会统一信用代码
6470
- merchantId: string;
6695
+ // 商户租户id
6696
+ tenantId: string;
6697
+ // 商品名称
6698
+ productName?: string;
6699
+ // 商品id
6700
+ productId?: string;
6701
+ // 一级类目
6702
+ mainClass?: string;
6703
+ // 二级类目
6704
+ subClass?: string;
6705
+ // 品牌
6706
+ productBrand?: string;
6707
+ // 分页
6708
+ pageInfo: PageQuery;
6471
6709
  static names(): { [key: string]: string } {
6472
6710
  return {
6473
6711
  authToken: 'auth_token',
6474
6712
  productInstanceId: 'product_instance_id',
6475
- companyInfo: 'company_info',
6476
- legalInfo: 'legal_info',
6477
- applicationInfo: 'application_info',
6478
- payExpandId: 'pay_expand_id',
6479
- merchantId: 'merchant_id',
6713
+ tenantId: 'tenant_id',
6714
+ productName: 'product_name',
6715
+ productId: 'product_id',
6716
+ mainClass: 'main_class',
6717
+ subClass: 'sub_class',
6718
+ productBrand: 'product_brand',
6719
+ pageInfo: 'page_info',
6480
6720
  };
6481
6721
  }
6482
6722
 
@@ -6484,11 +6724,13 @@ export class UpdateMerchantexpandMerchantRequest extends $tea.Model {
6484
6724
  return {
6485
6725
  authToken: 'string',
6486
6726
  productInstanceId: 'string',
6487
- companyInfo: CompanyInfoUpdate,
6488
- legalInfo: LegalInfoUpdate,
6489
- applicationInfo: ApplicationInfoUpdate,
6490
- payExpandId: 'string',
6491
- merchantId: 'string',
6727
+ tenantId: 'string',
6728
+ productName: 'string',
6729
+ productId: 'string',
6730
+ mainClass: 'string',
6731
+ subClass: 'string',
6732
+ productBrand: 'string',
6733
+ pageInfo: PageQuery,
6492
6734
  };
6493
6735
  }
6494
6736
 
@@ -6497,21 +6739,24 @@ export class UpdateMerchantexpandMerchantRequest extends $tea.Model {
6497
6739
  }
6498
6740
  }
6499
6741
 
6500
- export class UpdateMerchantexpandMerchantResponse extends $tea.Model {
6742
+ export class PagequeryInnerProductResponse extends $tea.Model {
6501
6743
  // 请求唯一ID,用于链路跟踪和问题排查
6502
6744
  reqMsgId?: string;
6503
6745
  // 结果码,一般OK表示调用成功
6504
6746
  resultCode?: string;
6505
6747
  // 异常信息的文本描述
6506
6748
  resultMsg?: string;
6507
- // 进件流水号
6508
- payExpandId?: string;
6749
+ // 总量
6750
+ total?: number;
6751
+ // 商品列表
6752
+ productInfoList?: ProductInfo[];
6509
6753
  static names(): { [key: string]: string } {
6510
6754
  return {
6511
6755
  reqMsgId: 'req_msg_id',
6512
6756
  resultCode: 'result_code',
6513
6757
  resultMsg: 'result_msg',
6514
- payExpandId: 'pay_expand_id',
6758
+ total: 'total',
6759
+ productInfoList: 'product_info_list',
6515
6760
  };
6516
6761
  }
6517
6762
 
@@ -6520,7 +6765,8 @@ export class UpdateMerchantexpandMerchantResponse extends $tea.Model {
6520
6765
  reqMsgId: 'string',
6521
6766
  resultCode: 'string',
6522
6767
  resultMsg: 'string',
6523
- payExpandId: 'string',
6768
+ total: 'number',
6769
+ productInfoList: { 'type': 'array', 'itemType': ProductInfo },
6524
6770
  };
6525
6771
  }
6526
6772
 
@@ -6529,18 +6775,963 @@ export class UpdateMerchantexpandMerchantResponse extends $tea.Model {
6529
6775
  }
6530
6776
  }
6531
6777
 
6532
- export class CreateRealpersonFacevrfRequest extends $tea.Model {
6778
+ export class DetailInnerProductRequest extends $tea.Model {
6533
6779
  // OAuth模式下的授权token
6534
6780
  authToken?: string;
6535
6781
  productInstanceId?: string;
6536
- // 实人认证方案枚举
6537
- // APP(客户端android/ios方案)
6538
- // H5(网页)
6539
- // ZFB(支付宝客户端H5方案)
6540
- solutionType: string;
6541
- // 真实姓名
6542
- certName: string;
6543
- // 证件号码
6782
+ // 商户租户id
6783
+ tenantId: string;
6784
+ // 商家社会统一信用代码
6785
+ merchantId: string;
6786
+ // 商品id
6787
+ productId: string;
6788
+ // 商品版本
6789
+ productVersion: string;
6790
+ static names(): { [key: string]: string } {
6791
+ return {
6792
+ authToken: 'auth_token',
6793
+ productInstanceId: 'product_instance_id',
6794
+ tenantId: 'tenant_id',
6795
+ merchantId: 'merchant_id',
6796
+ productId: 'product_id',
6797
+ productVersion: 'product_version',
6798
+ };
6799
+ }
6800
+
6801
+ static types(): { [key: string]: any } {
6802
+ return {
6803
+ authToken: 'string',
6804
+ productInstanceId: 'string',
6805
+ tenantId: 'string',
6806
+ merchantId: 'string',
6807
+ productId: 'string',
6808
+ productVersion: 'string',
6809
+ };
6810
+ }
6811
+
6812
+ constructor(map?: { [key: string]: any }) {
6813
+ super(map);
6814
+ }
6815
+ }
6816
+
6817
+ export class DetailInnerProductResponse extends $tea.Model {
6818
+ // 请求唯一ID,用于链路跟踪和问题排查
6819
+ reqMsgId?: string;
6820
+ // 结果码,一般OK表示调用成功
6821
+ resultCode?: string;
6822
+ // 异常信息的文本描述
6823
+ resultMsg?: string;
6824
+ // 商家社会统一信用代码
6825
+ merchantId?: string;
6826
+ // 商品名称
6827
+ productName?: string;
6828
+ // 商品id
6829
+ productId?: string;
6830
+ // 商品规格
6831
+ productModel?: string;
6832
+ // 商品版本
6833
+ productVersion?: string;
6834
+ // 指导价
6835
+ productPrice?: string;
6836
+ // 一级类目
6837
+ mainClass?: string;
6838
+ // 二级类目
6839
+ subClass?: string;
6840
+ // 品牌
6841
+ productBrand?: string;
6842
+ // 商品链接
6843
+ productUrl?: string;
6844
+ // 商品详情
6845
+ productDetailInfo?: string;
6846
+ static names(): { [key: string]: string } {
6847
+ return {
6848
+ reqMsgId: 'req_msg_id',
6849
+ resultCode: 'result_code',
6850
+ resultMsg: 'result_msg',
6851
+ merchantId: 'merchant_id',
6852
+ productName: 'product_name',
6853
+ productId: 'product_id',
6854
+ productModel: 'product_model',
6855
+ productVersion: 'product_version',
6856
+ productPrice: 'product_price',
6857
+ mainClass: 'main_class',
6858
+ subClass: 'sub_class',
6859
+ productBrand: 'product_brand',
6860
+ productUrl: 'product_url',
6861
+ productDetailInfo: 'product_detail_info',
6862
+ };
6863
+ }
6864
+
6865
+ static types(): { [key: string]: any } {
6866
+ return {
6867
+ reqMsgId: 'string',
6868
+ resultCode: 'string',
6869
+ resultMsg: 'string',
6870
+ merchantId: 'string',
6871
+ productName: 'string',
6872
+ productId: 'string',
6873
+ productModel: 'string',
6874
+ productVersion: 'string',
6875
+ productPrice: 'string',
6876
+ mainClass: 'string',
6877
+ subClass: 'string',
6878
+ productBrand: 'string',
6879
+ productUrl: 'string',
6880
+ productDetailInfo: 'string',
6881
+ };
6882
+ }
6883
+
6884
+ constructor(map?: { [key: string]: any }) {
6885
+ super(map);
6886
+ }
6887
+ }
6888
+
6889
+ export class GetInnerHomepagenoticeRequest extends $tea.Model {
6890
+ // OAuth模式下的授权token
6891
+ authToken?: string;
6892
+ productInstanceId?: string;
6893
+ // 商户租户id
6894
+ tenantId: string;
6895
+ static names(): { [key: string]: string } {
6896
+ return {
6897
+ authToken: 'auth_token',
6898
+ productInstanceId: 'product_instance_id',
6899
+ tenantId: 'tenant_id',
6900
+ };
6901
+ }
6902
+
6903
+ static types(): { [key: string]: any } {
6904
+ return {
6905
+ authToken: 'string',
6906
+ productInstanceId: 'string',
6907
+ tenantId: 'string',
6908
+ };
6909
+ }
6910
+
6911
+ constructor(map?: { [key: string]: any }) {
6912
+ super(map);
6913
+ }
6914
+ }
6915
+
6916
+ export class GetInnerHomepagenoticeResponse extends $tea.Model {
6917
+ // 请求唯一ID,用于链路跟踪和问题排查
6918
+ reqMsgId?: string;
6919
+ // 结果码,一般OK表示调用成功
6920
+ resultCode?: string;
6921
+ // 异常信息的文本描述
6922
+ resultMsg?: string;
6923
+ // 通知id
6924
+ noticeId?: number;
6925
+ // 通知标题
6926
+ title?: string;
6927
+ // 未读数量
6928
+ unreadCount?: number;
6929
+ static names(): { [key: string]: string } {
6930
+ return {
6931
+ reqMsgId: 'req_msg_id',
6932
+ resultCode: 'result_code',
6933
+ resultMsg: 'result_msg',
6934
+ noticeId: 'notice_id',
6935
+ title: 'title',
6936
+ unreadCount: 'unread_count',
6937
+ };
6938
+ }
6939
+
6940
+ static types(): { [key: string]: any } {
6941
+ return {
6942
+ reqMsgId: 'string',
6943
+ resultCode: 'string',
6944
+ resultMsg: 'string',
6945
+ noticeId: 'number',
6946
+ title: 'string',
6947
+ unreadCount: 'number',
6948
+ };
6949
+ }
6950
+
6951
+ constructor(map?: { [key: string]: any }) {
6952
+ super(map);
6953
+ }
6954
+ }
6955
+
6956
+ export class PagequeryInnerNoticeRequest extends $tea.Model {
6957
+ // OAuth模式下的授权token
6958
+ authToken?: string;
6959
+ productInstanceId?: string;
6960
+ // 商户租户id
6961
+ tenantId: string;
6962
+ // 分页
6963
+ pageInfo: PageQuery;
6964
+ static names(): { [key: string]: string } {
6965
+ return {
6966
+ authToken: 'auth_token',
6967
+ productInstanceId: 'product_instance_id',
6968
+ tenantId: 'tenant_id',
6969
+ pageInfo: 'page_info',
6970
+ };
6971
+ }
6972
+
6973
+ static types(): { [key: string]: any } {
6974
+ return {
6975
+ authToken: 'string',
6976
+ productInstanceId: 'string',
6977
+ tenantId: 'string',
6978
+ pageInfo: PageQuery,
6979
+ };
6980
+ }
6981
+
6982
+ constructor(map?: { [key: string]: any }) {
6983
+ super(map);
6984
+ }
6985
+ }
6986
+
6987
+ export class PagequeryInnerNoticeResponse extends $tea.Model {
6988
+ // 请求唯一ID,用于链路跟踪和问题排查
6989
+ reqMsgId?: string;
6990
+ // 结果码,一般OK表示调用成功
6991
+ resultCode?: string;
6992
+ // 异常信息的文本描述
6993
+ resultMsg?: string;
6994
+ // 总量
6995
+ total?: number;
6996
+ // 商户通知信息
6997
+ noticeInfoList?: NoticeInfo[];
6998
+ static names(): { [key: string]: string } {
6999
+ return {
7000
+ reqMsgId: 'req_msg_id',
7001
+ resultCode: 'result_code',
7002
+ resultMsg: 'result_msg',
7003
+ total: 'total',
7004
+ noticeInfoList: 'notice_info_list',
7005
+ };
7006
+ }
7007
+
7008
+ static types(): { [key: string]: any } {
7009
+ return {
7010
+ reqMsgId: 'string',
7011
+ resultCode: 'string',
7012
+ resultMsg: 'string',
7013
+ total: 'number',
7014
+ noticeInfoList: { 'type': 'array', 'itemType': NoticeInfo },
7015
+ };
7016
+ }
7017
+
7018
+ constructor(map?: { [key: string]: any }) {
7019
+ super(map);
7020
+ }
7021
+ }
7022
+
7023
+ export class DetailInnerNoticeRequest extends $tea.Model {
7024
+ // OAuth模式下的授权token
7025
+ authToken?: string;
7026
+ productInstanceId?: string;
7027
+ // 商户租户id
7028
+ tenantId: string;
7029
+ // 通知id
7030
+ noticeId: number;
7031
+ static names(): { [key: string]: string } {
7032
+ return {
7033
+ authToken: 'auth_token',
7034
+ productInstanceId: 'product_instance_id',
7035
+ tenantId: 'tenant_id',
7036
+ noticeId: 'notice_id',
7037
+ };
7038
+ }
7039
+
7040
+ static types(): { [key: string]: any } {
7041
+ return {
7042
+ authToken: 'string',
7043
+ productInstanceId: 'string',
7044
+ tenantId: 'string',
7045
+ noticeId: 'number',
7046
+ };
7047
+ }
7048
+
7049
+ constructor(map?: { [key: string]: any }) {
7050
+ super(map);
7051
+ }
7052
+ }
7053
+
7054
+ export class DetailInnerNoticeResponse extends $tea.Model {
7055
+ // 请求唯一ID,用于链路跟踪和问题排查
7056
+ reqMsgId?: string;
7057
+ // 结果码,一般OK表示调用成功
7058
+ resultCode?: string;
7059
+ // 异常信息的文本描述
7060
+ resultMsg?: string;
7061
+ // 通知标题
7062
+ title?: string;
7063
+ // 通知内容
7064
+ content?: string;
7065
+ // 通知创建时间
7066
+ noticCreateTime?: string;
7067
+ static names(): { [key: string]: string } {
7068
+ return {
7069
+ reqMsgId: 'req_msg_id',
7070
+ resultCode: 'result_code',
7071
+ resultMsg: 'result_msg',
7072
+ title: 'title',
7073
+ content: 'content',
7074
+ noticCreateTime: 'notic_create_time',
7075
+ };
7076
+ }
7077
+
7078
+ static types(): { [key: string]: any } {
7079
+ return {
7080
+ reqMsgId: 'string',
7081
+ resultCode: 'string',
7082
+ resultMsg: 'string',
7083
+ title: 'string',
7084
+ content: 'string',
7085
+ noticCreateTime: 'string',
7086
+ };
7087
+ }
7088
+
7089
+ constructor(map?: { [key: string]: any }) {
7090
+ super(map);
7091
+ }
7092
+ }
7093
+
7094
+ export class PagequeryInnerOrderRequest extends $tea.Model {
7095
+ // OAuth模式下的授权token
7096
+ authToken?: string;
7097
+ productInstanceId?: string;
7098
+ // 商户租户id
7099
+ tenantId: string;
7100
+ // 订单id
7101
+ orderId?: string;
7102
+ // 支付宝代扣协议号
7103
+ agreementNo?: string;
7104
+ // 订单创建时间开始
7105
+ orderCreateTimeStart?: string;
7106
+ // 订单创建时间结束
7107
+ orderCreateTimeEnd?: string;
7108
+ // 订单状态
7109
+ orderStatus?: string;
7110
+ // 分页
7111
+ pageInfo: PageQuery;
7112
+ static names(): { [key: string]: string } {
7113
+ return {
7114
+ authToken: 'auth_token',
7115
+ productInstanceId: 'product_instance_id',
7116
+ tenantId: 'tenant_id',
7117
+ orderId: 'order_id',
7118
+ agreementNo: 'agreement_no',
7119
+ orderCreateTimeStart: 'order_create_time_start',
7120
+ orderCreateTimeEnd: 'order_create_time_end',
7121
+ orderStatus: 'order_status',
7122
+ pageInfo: 'page_info',
7123
+ };
7124
+ }
7125
+
7126
+ static types(): { [key: string]: any } {
7127
+ return {
7128
+ authToken: 'string',
7129
+ productInstanceId: 'string',
7130
+ tenantId: 'string',
7131
+ orderId: 'string',
7132
+ agreementNo: 'string',
7133
+ orderCreateTimeStart: 'string',
7134
+ orderCreateTimeEnd: 'string',
7135
+ orderStatus: 'string',
7136
+ pageInfo: PageQuery,
7137
+ };
7138
+ }
7139
+
7140
+ constructor(map?: { [key: string]: any }) {
7141
+ super(map);
7142
+ }
7143
+ }
7144
+
7145
+ export class PagequeryInnerOrderResponse extends $tea.Model {
7146
+ // 请求唯一ID,用于链路跟踪和问题排查
7147
+ reqMsgId?: string;
7148
+ // 结果码,一般OK表示调用成功
7149
+ resultCode?: string;
7150
+ // 异常信息的文本描述
7151
+ resultMsg?: string;
7152
+ // 订单列表信息
7153
+ orderInfoList?: MerchantOrderInfo[];
7154
+ // 总量
7155
+ total?: number;
7156
+ static names(): { [key: string]: string } {
7157
+ return {
7158
+ reqMsgId: 'req_msg_id',
7159
+ resultCode: 'result_code',
7160
+ resultMsg: 'result_msg',
7161
+ orderInfoList: 'order_info_list',
7162
+ total: 'total',
7163
+ };
7164
+ }
7165
+
7166
+ static types(): { [key: string]: any } {
7167
+ return {
7168
+ reqMsgId: 'string',
7169
+ resultCode: 'string',
7170
+ resultMsg: 'string',
7171
+ orderInfoList: { 'type': 'array', 'itemType': MerchantOrderInfo },
7172
+ total: 'number',
7173
+ };
7174
+ }
7175
+
7176
+ constructor(map?: { [key: string]: any }) {
7177
+ super(map);
7178
+ }
7179
+ }
7180
+
7181
+ export class CreateInsureRequest extends $tea.Model {
7182
+ // OAuth模式下的授权token
7183
+ authToken?: string;
7184
+ productInstanceId?: string;
7185
+ // 商户的订单号,后续用作和保单结果交互
7186
+ orderId: string;
7187
+ // 风控业务流水号
7188
+ riskFlowId: string;
7189
+ // 保险公司枚举,PA:平安保险
7190
+ insureCompanyType: string;
7191
+ // 保险类型枚举,PERFORMANCE:履约
7192
+ insureProductType: string;
7193
+ // 投保商品信息列表
7194
+ productInfoList: InsureProductInfo[];
7195
+ // 发货方式枚举,可选值:
7196
+ // EXPRESS-物流发货
7197
+ // OFFLINE-线下交易
7198
+ deliveryType: string;
7199
+ // 公司联系人姓名,RSA 加密传输
7200
+ contactName: string;
7201
+ // 公司联系人手机号,RSA 加密传输
7202
+ contactMobile: string;
7203
+ // 物流单号
7204
+ logisticsNumber: string;
7205
+ // 实人认证业务流水号
7206
+ facevrfFlowId?: string;
7207
+ // 交易时间,非必填参数。如果发货方式为 OFFLINE(线下交易),则该字段必填。
7208
+ tradeTime?: string;
7209
+ static names(): { [key: string]: string } {
7210
+ return {
7211
+ authToken: 'auth_token',
7212
+ productInstanceId: 'product_instance_id',
7213
+ orderId: 'order_id',
7214
+ riskFlowId: 'risk_flow_id',
7215
+ insureCompanyType: 'insure_company_type',
7216
+ insureProductType: 'insure_product_type',
7217
+ productInfoList: 'product_info_list',
7218
+ deliveryType: 'delivery_type',
7219
+ contactName: 'contact_name',
7220
+ contactMobile: 'contact_mobile',
7221
+ logisticsNumber: 'logistics_number',
7222
+ facevrfFlowId: 'facevrf_flow_id',
7223
+ tradeTime: 'trade_time',
7224
+ };
7225
+ }
7226
+
7227
+ static types(): { [key: string]: any } {
7228
+ return {
7229
+ authToken: 'string',
7230
+ productInstanceId: 'string',
7231
+ orderId: 'string',
7232
+ riskFlowId: 'string',
7233
+ insureCompanyType: 'string',
7234
+ insureProductType: 'string',
7235
+ productInfoList: { 'type': 'array', 'itemType': InsureProductInfo },
7236
+ deliveryType: 'string',
7237
+ contactName: 'string',
7238
+ contactMobile: 'string',
7239
+ logisticsNumber: 'string',
7240
+ facevrfFlowId: 'string',
7241
+ tradeTime: 'string',
7242
+ };
7243
+ }
7244
+
7245
+ constructor(map?: { [key: string]: any }) {
7246
+ super(map);
7247
+ }
7248
+ }
7249
+
7250
+ export class CreateInsureResponse extends $tea.Model {
7251
+ // 请求唯一ID,用于链路跟踪和问题排查
7252
+ reqMsgId?: string;
7253
+ // 结果码,一般OK表示调用成功
7254
+ resultCode?: string;
7255
+ // 异常信息的文本描述
7256
+ resultMsg?: string;
7257
+ // 创建结果,true 表示创建成功
7258
+ result?: boolean;
7259
+ // 创建操作描述信息
7260
+ msg?: string;
7261
+ static names(): { [key: string]: string } {
7262
+ return {
7263
+ reqMsgId: 'req_msg_id',
7264
+ resultCode: 'result_code',
7265
+ resultMsg: 'result_msg',
7266
+ result: 'result',
7267
+ msg: 'msg',
7268
+ };
7269
+ }
7270
+
7271
+ static types(): { [key: string]: any } {
7272
+ return {
7273
+ reqMsgId: 'string',
7274
+ resultCode: 'string',
7275
+ resultMsg: 'string',
7276
+ result: 'boolean',
7277
+ msg: 'string',
7278
+ };
7279
+ }
7280
+
7281
+ constructor(map?: { [key: string]: any }) {
7282
+ super(map);
7283
+ }
7284
+ }
7285
+
7286
+ export class QueryInsureRequest extends $tea.Model {
7287
+ // OAuth模式下的授权token
7288
+ authToken?: string;
7289
+ productInstanceId?: string;
7290
+ // 商户的订单号
7291
+ orderId: string;
7292
+ // 保险类型枚举,PERFORMANCE:履约
7293
+ insureProductType: string;
7294
+ // 保险公司枚举,PA:平安保险
7295
+ insureCompanyType: string;
7296
+ static names(): { [key: string]: string } {
7297
+ return {
7298
+ authToken: 'auth_token',
7299
+ productInstanceId: 'product_instance_id',
7300
+ orderId: 'order_id',
7301
+ insureProductType: 'insure_product_type',
7302
+ insureCompanyType: 'insure_company_type',
7303
+ };
7304
+ }
7305
+
7306
+ static types(): { [key: string]: any } {
7307
+ return {
7308
+ authToken: 'string',
7309
+ productInstanceId: 'string',
7310
+ orderId: 'string',
7311
+ insureProductType: 'string',
7312
+ insureCompanyType: 'string',
7313
+ };
7314
+ }
7315
+
7316
+ constructor(map?: { [key: string]: any }) {
7317
+ super(map);
7318
+ }
7319
+ }
7320
+
7321
+ export class QueryInsureResponse extends $tea.Model {
7322
+ // 请求唯一ID,用于链路跟踪和问题排查
7323
+ reqMsgId?: string;
7324
+ // 结果码,一般OK表示调用成功
7325
+ resultCode?: string;
7326
+ // 异常信息的文本描述
7327
+ resultMsg?: string;
7328
+ // 商户的订单号
7329
+ orderId?: string;
7330
+ // 保单号
7331
+ insureId?: string;
7332
+ // 保险订单状态。TOBE_INSURE:待发起投保 ;INSUR_PRE_SUCC:投保成功。WITHHOLD_DEDUCTING:代扣中;WITHHOLD_SUCC:代扣成功。WITHHOLD_FAIL:代扣失败。INSUR_SUCC:承保成功
7333
+ status?: string;
7334
+ // 商品名称
7335
+ productName?: string;
7336
+ // 2024-09-24 20:04:35
7337
+ insureStartTime?: string;
7338
+ // 2024-12-24 20:04:35
7339
+ insureEndTime?: string;
7340
+ // 投保金额(保额),单位分。100代表1元
7341
+ insureAmount?: string;
7342
+ // 投保费用(保费),单位分。100代表1元
7343
+ insurePremium?: string;
7344
+ static names(): { [key: string]: string } {
7345
+ return {
7346
+ reqMsgId: 'req_msg_id',
7347
+ resultCode: 'result_code',
7348
+ resultMsg: 'result_msg',
7349
+ orderId: 'order_id',
7350
+ insureId: 'insure_id',
7351
+ status: 'status',
7352
+ productName: 'product_name',
7353
+ insureStartTime: 'insure_start_time',
7354
+ insureEndTime: 'insure_end_time',
7355
+ insureAmount: 'insure_amount',
7356
+ insurePremium: 'insure_premium',
7357
+ };
7358
+ }
7359
+
7360
+ static types(): { [key: string]: any } {
7361
+ return {
7362
+ reqMsgId: 'string',
7363
+ resultCode: 'string',
7364
+ resultMsg: 'string',
7365
+ orderId: 'string',
7366
+ insureId: 'string',
7367
+ status: 'string',
7368
+ productName: 'string',
7369
+ insureStartTime: 'string',
7370
+ insureEndTime: 'string',
7371
+ insureAmount: 'string',
7372
+ insurePremium: 'string',
7373
+ };
7374
+ }
7375
+
7376
+ constructor(map?: { [key: string]: any }) {
7377
+ super(map);
7378
+ }
7379
+ }
7380
+
7381
+ export class RetryInsurePayRequest extends $tea.Model {
7382
+ // OAuth模式下的授权token
7383
+ authToken?: string;
7384
+ productInstanceId?: string;
7385
+ // 商户的订单号,后续用作和保单结果交互
7386
+ orderId: string;
7387
+ // 保险公司产品(险种)类型
7388
+ insureProductType: string;
7389
+ static names(): { [key: string]: string } {
7390
+ return {
7391
+ authToken: 'auth_token',
7392
+ productInstanceId: 'product_instance_id',
7393
+ orderId: 'order_id',
7394
+ insureProductType: 'insure_product_type',
7395
+ };
7396
+ }
7397
+
7398
+ static types(): { [key: string]: any } {
7399
+ return {
7400
+ authToken: 'string',
7401
+ productInstanceId: 'string',
7402
+ orderId: 'string',
7403
+ insureProductType: 'string',
7404
+ };
7405
+ }
7406
+
7407
+ constructor(map?: { [key: string]: any }) {
7408
+ super(map);
7409
+ }
7410
+ }
7411
+
7412
+ export class RetryInsurePayResponse extends $tea.Model {
7413
+ // 请求唯一ID,用于链路跟踪和问题排查
7414
+ reqMsgId?: string;
7415
+ // 结果码,一般OK表示调用成功
7416
+ resultCode?: string;
7417
+ // 异常信息的文本描述
7418
+ resultMsg?: string;
7419
+ static names(): { [key: string]: string } {
7420
+ return {
7421
+ reqMsgId: 'req_msg_id',
7422
+ resultCode: 'result_code',
7423
+ resultMsg: 'result_msg',
7424
+ };
7425
+ }
7426
+
7427
+ static types(): { [key: string]: any } {
7428
+ return {
7429
+ reqMsgId: 'string',
7430
+ resultCode: 'string',
7431
+ resultMsg: 'string',
7432
+ };
7433
+ }
7434
+
7435
+ constructor(map?: { [key: string]: any }) {
7436
+ super(map);
7437
+ }
7438
+ }
7439
+
7440
+ export class RegisterMerchantexpandMerchantRequest extends $tea.Model {
7441
+ // OAuth模式下的授权token
7442
+ authToken?: string;
7443
+ productInstanceId?: string;
7444
+ // 公司信息
7445
+ companyInfo: CompanyInfo;
7446
+ // 法人信息
7447
+ legalInfo: LegalInfo;
7448
+ // 应用信息
7449
+ applicationInfo: ApplicationInfo;
7450
+ // 进件模式 DIRECT(直连进件) AGENT(代理进件)
7451
+ expandMode: string;
7452
+ // expand_mode=_AGENT_ 必填
7453
+ subTenantId?: string;
7454
+ static names(): { [key: string]: string } {
7455
+ return {
7456
+ authToken: 'auth_token',
7457
+ productInstanceId: 'product_instance_id',
7458
+ companyInfo: 'company_info',
7459
+ legalInfo: 'legal_info',
7460
+ applicationInfo: 'application_info',
7461
+ expandMode: 'expand_mode',
7462
+ subTenantId: 'sub_tenant_id',
7463
+ };
7464
+ }
7465
+
7466
+ static types(): { [key: string]: any } {
7467
+ return {
7468
+ authToken: 'string',
7469
+ productInstanceId: 'string',
7470
+ companyInfo: CompanyInfo,
7471
+ legalInfo: LegalInfo,
7472
+ applicationInfo: ApplicationInfo,
7473
+ expandMode: 'string',
7474
+ subTenantId: 'string',
7475
+ };
7476
+ }
7477
+
7478
+ constructor(map?: { [key: string]: any }) {
7479
+ super(map);
7480
+ }
7481
+ }
7482
+
7483
+ export class RegisterMerchantexpandMerchantResponse extends $tea.Model {
7484
+ // 请求唯一ID,用于链路跟踪和问题排查
7485
+ reqMsgId?: string;
7486
+ // 结果码,一般OK表示调用成功
7487
+ resultCode?: string;
7488
+ // 异常信息的文本描述
7489
+ resultMsg?: string;
7490
+ // 进件流水号
7491
+ payExpandId?: string;
7492
+ static names(): { [key: string]: string } {
7493
+ return {
7494
+ reqMsgId: 'req_msg_id',
7495
+ resultCode: 'result_code',
7496
+ resultMsg: 'result_msg',
7497
+ payExpandId: 'pay_expand_id',
7498
+ };
7499
+ }
7500
+
7501
+ static types(): { [key: string]: any } {
7502
+ return {
7503
+ reqMsgId: 'string',
7504
+ resultCode: 'string',
7505
+ resultMsg: 'string',
7506
+ payExpandId: 'string',
7507
+ };
7508
+ }
7509
+
7510
+ constructor(map?: { [key: string]: any }) {
7511
+ super(map);
7512
+ }
7513
+ }
7514
+
7515
+ export class UploadMerchantexpandFileRequest extends $tea.Model {
7516
+ // OAuth模式下的授权token
7517
+ authToken?: string;
7518
+ productInstanceId?: string;
7519
+ // 文件名称 包含后缀
7520
+ fileName: string;
7521
+ // ● BUSINESS_LICENSE 营业执照 ● CARD_FRONT 身份证正面 ● CARD_BACK 身份证反面 ● SPLITTING 分账
7522
+ bizScene: string;
7523
+ static names(): { [key: string]: string } {
7524
+ return {
7525
+ authToken: 'auth_token',
7526
+ productInstanceId: 'product_instance_id',
7527
+ fileName: 'file_name',
7528
+ bizScene: 'biz_scene',
7529
+ };
7530
+ }
7531
+
7532
+ static types(): { [key: string]: any } {
7533
+ return {
7534
+ authToken: 'string',
7535
+ productInstanceId: 'string',
7536
+ fileName: 'string',
7537
+ bizScene: 'string',
7538
+ };
7539
+ }
7540
+
7541
+ constructor(map?: { [key: string]: any }) {
7542
+ super(map);
7543
+ }
7544
+ }
7545
+
7546
+ export class UploadMerchantexpandFileResponse extends $tea.Model {
7547
+ // 请求唯一ID,用于链路跟踪和问题排查
7548
+ reqMsgId?: string;
7549
+ // 结果码,一般OK表示调用成功
7550
+ resultCode?: string;
7551
+ // 异常信息的文本描述
7552
+ resultMsg?: string;
7553
+ // 临时上传文件地址
7554
+ uploadUrl?: string;
7555
+ // 文件key
7556
+ fileKey?: string;
7557
+ static names(): { [key: string]: string } {
7558
+ return {
7559
+ reqMsgId: 'req_msg_id',
7560
+ resultCode: 'result_code',
7561
+ resultMsg: 'result_msg',
7562
+ uploadUrl: 'upload_url',
7563
+ fileKey: 'file_key',
7564
+ };
7565
+ }
7566
+
7567
+ static types(): { [key: string]: any } {
7568
+ return {
7569
+ reqMsgId: 'string',
7570
+ resultCode: 'string',
7571
+ resultMsg: 'string',
7572
+ uploadUrl: 'string',
7573
+ fileKey: 'string',
7574
+ };
7575
+ }
7576
+
7577
+ constructor(map?: { [key: string]: any }) {
7578
+ super(map);
7579
+ }
7580
+ }
7581
+
7582
+ export class QueryMerchantexpandMerchantRequest extends $tea.Model {
7583
+ // OAuth模式下的授权token
7584
+ authToken?: string;
7585
+ productInstanceId?: string;
7586
+ // 商户入驻返回的进件编号 expand_mode=AGENT必填
7587
+ payExpandId: string;
7588
+ static names(): { [key: string]: string } {
7589
+ return {
7590
+ authToken: 'auth_token',
7591
+ productInstanceId: 'product_instance_id',
7592
+ payExpandId: 'pay_expand_id',
7593
+ };
7594
+ }
7595
+
7596
+ static types(): { [key: string]: any } {
7597
+ return {
7598
+ authToken: 'string',
7599
+ productInstanceId: 'string',
7600
+ payExpandId: 'string',
7601
+ };
7602
+ }
7603
+
7604
+ constructor(map?: { [key: string]: any }) {
7605
+ super(map);
7606
+ }
7607
+ }
7608
+
7609
+ export class QueryMerchantexpandMerchantResponse extends $tea.Model {
7610
+ // 请求唯一ID,用于链路跟踪和问题排查
7611
+ reqMsgId?: string;
7612
+ // 结果码,一般OK表示调用成功
7613
+ resultCode?: string;
7614
+ // 异常信息的文本描述
7615
+ resultMsg?: string;
7616
+ // 商户入驻状态
7617
+ // INIT 入驻中
7618
+ // SUCCESS 入驻成功
7619
+ // FAIL 入驻失败
7620
+ enrollmentStatus?: string;
7621
+ // 入驻失败原因
7622
+ failReason?: string;
7623
+ static names(): { [key: string]: string } {
7624
+ return {
7625
+ reqMsgId: 'req_msg_id',
7626
+ resultCode: 'result_code',
7627
+ resultMsg: 'result_msg',
7628
+ enrollmentStatus: 'enrollment_status',
7629
+ failReason: 'fail_reason',
7630
+ };
7631
+ }
7632
+
7633
+ static types(): { [key: string]: any } {
7634
+ return {
7635
+ reqMsgId: 'string',
7636
+ resultCode: 'string',
7637
+ resultMsg: 'string',
7638
+ enrollmentStatus: 'string',
7639
+ failReason: 'string',
7640
+ };
7641
+ }
7642
+
7643
+ constructor(map?: { [key: string]: any }) {
7644
+ super(map);
7645
+ }
7646
+ }
7647
+
7648
+ export class UpdateMerchantexpandMerchantRequest extends $tea.Model {
7649
+ // OAuth模式下的授权token
7650
+ authToken?: string;
7651
+ productInstanceId?: string;
7652
+ // 公司信息
7653
+ companyInfo: CompanyInfoUpdate;
7654
+ // 法人信息
7655
+ legalInfo: LegalInfoUpdate;
7656
+ // 应用信息
7657
+ applicationInfo: ApplicationInfoUpdate;
7658
+ // 进件流水号
7659
+ payExpandId: string;
7660
+ // 社会统一信用代码
7661
+ merchantId: string;
7662
+ static names(): { [key: string]: string } {
7663
+ return {
7664
+ authToken: 'auth_token',
7665
+ productInstanceId: 'product_instance_id',
7666
+ companyInfo: 'company_info',
7667
+ legalInfo: 'legal_info',
7668
+ applicationInfo: 'application_info',
7669
+ payExpandId: 'pay_expand_id',
7670
+ merchantId: 'merchant_id',
7671
+ };
7672
+ }
7673
+
7674
+ static types(): { [key: string]: any } {
7675
+ return {
7676
+ authToken: 'string',
7677
+ productInstanceId: 'string',
7678
+ companyInfo: CompanyInfoUpdate,
7679
+ legalInfo: LegalInfoUpdate,
7680
+ applicationInfo: ApplicationInfoUpdate,
7681
+ payExpandId: 'string',
7682
+ merchantId: 'string',
7683
+ };
7684
+ }
7685
+
7686
+ constructor(map?: { [key: string]: any }) {
7687
+ super(map);
7688
+ }
7689
+ }
7690
+
7691
+ export class UpdateMerchantexpandMerchantResponse extends $tea.Model {
7692
+ // 请求唯一ID,用于链路跟踪和问题排查
7693
+ reqMsgId?: string;
7694
+ // 结果码,一般OK表示调用成功
7695
+ resultCode?: string;
7696
+ // 异常信息的文本描述
7697
+ resultMsg?: string;
7698
+ // 进件流水号
7699
+ payExpandId?: string;
7700
+ static names(): { [key: string]: string } {
7701
+ return {
7702
+ reqMsgId: 'req_msg_id',
7703
+ resultCode: 'result_code',
7704
+ resultMsg: 'result_msg',
7705
+ payExpandId: 'pay_expand_id',
7706
+ };
7707
+ }
7708
+
7709
+ static types(): { [key: string]: any } {
7710
+ return {
7711
+ reqMsgId: 'string',
7712
+ resultCode: 'string',
7713
+ resultMsg: 'string',
7714
+ payExpandId: 'string',
7715
+ };
7716
+ }
7717
+
7718
+ constructor(map?: { [key: string]: any }) {
7719
+ super(map);
7720
+ }
7721
+ }
7722
+
7723
+ export class CreateRealpersonFacevrfRequest extends $tea.Model {
7724
+ // OAuth模式下的授权token
7725
+ authToken?: string;
7726
+ productInstanceId?: string;
7727
+ // 实人认证方案枚举
7728
+ // APP(客户端android/ios方案)
7729
+ // H5(网页)
7730
+ // ZFB(支付宝客户端H5方案)
7731
+ solutionType: string;
7732
+ // 真实姓名
7733
+ certName: string;
7734
+ // 证件号码
6544
7735
  certNo: string;
6545
7736
  // 身份信息来源类型
6546
7737
  // IDENTITY_CARD(身份证)
@@ -8663,12 +9854,15 @@ export class CreateWithholdSignResponse extends $tea.Model {
8663
9854
  resultMsg?: string;
8664
9855
  // 签约字符串
8665
9856
  signStr?: string;
9857
+ // 签约字符串类型。SIGN_ONLY:仅签约;PAY_SIGN:支付并签约
9858
+ signStrType?: string;
8666
9859
  static names(): { [key: string]: string } {
8667
9860
  return {
8668
9861
  reqMsgId: 'req_msg_id',
8669
9862
  resultCode: 'result_code',
8670
9863
  resultMsg: 'result_msg',
8671
9864
  signStr: 'sign_str',
9865
+ signStrType: 'sign_str_type',
8672
9866
  };
8673
9867
  }
8674
9868
 
@@ -8678,6 +9872,7 @@ export class CreateWithholdSignResponse extends $tea.Model {
8678
9872
  resultCode: 'string',
8679
9873
  resultMsg: 'string',
8680
9874
  signStr: 'string',
9875
+ signStrType: 'string',
8681
9876
  };
8682
9877
  }
8683
9878
 
@@ -9685,7 +10880,7 @@ export default class Client {
9685
10880
  req_msg_id: AntchainUtil.getNonce(),
9686
10881
  access_key: this._accessKeyId,
9687
10882
  base_sdk_version: "TeaSDK-2.0",
9688
- sdk_version: "1.9.29",
10883
+ sdk_version: "1.9.64",
9689
10884
  _prod_code: "ATO",
9690
10885
  _prod_channel: "undefined",
9691
10886
  };
@@ -11087,6 +12282,234 @@ export default class Client {
11087
12282
  return $tea.cast<GetInnerFunddividemerchantResponse>(await this.doRequest("1.0", "antchain.ato.inner.funddividemerchant.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetInnerFunddividemerchantResponse({}));
11088
12283
  }
11089
12284
 
12285
+ /**
12286
+ * Description: 查询商户和保司协议签署信息
12287
+ * Summary: 查询商户和保司协议签署信息
12288
+ */
12289
+ async queryInnerInsuresign(request: QueryInnerInsuresignRequest): Promise<QueryInnerInsuresignResponse> {
12290
+ let runtime = new $Util.RuntimeOptions({ });
12291
+ let headers : {[key: string ]: string} = { };
12292
+ return await this.queryInnerInsuresignEx(request, headers, runtime);
12293
+ }
12294
+
12295
+ /**
12296
+ * Description: 查询商户和保司协议签署信息
12297
+ * Summary: 查询商户和保司协议签署信息
12298
+ */
12299
+ async queryInnerInsuresignEx(request: QueryInnerInsuresignRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInnerInsuresignResponse> {
12300
+ Util.validateModel(request);
12301
+ return $tea.cast<QueryInnerInsuresignResponse>(await this.doRequest("1.0", "antchain.ato.inner.insuresign.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerInsuresignResponse({}));
12302
+ }
12303
+
12304
+ /**
12305
+ * Description: 生成商户和保司签约链接
12306
+ * Summary: 生成商户和保司签约链接
12307
+ */
12308
+ async createInnerInsuresign(request: CreateInnerInsuresignRequest): Promise<CreateInnerInsuresignResponse> {
12309
+ let runtime = new $Util.RuntimeOptions({ });
12310
+ let headers : {[key: string ]: string} = { };
12311
+ return await this.createInnerInsuresignEx(request, headers, runtime);
12312
+ }
12313
+
12314
+ /**
12315
+ * Description: 生成商户和保司签约链接
12316
+ * Summary: 生成商户和保司签约链接
12317
+ */
12318
+ async createInnerInsuresignEx(request: CreateInnerInsuresignRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateInnerInsuresignResponse> {
12319
+ Util.validateModel(request);
12320
+ return $tea.cast<CreateInnerInsuresignResponse>(await this.doRequest("1.0", "antchain.ato.inner.insuresign.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateInnerInsuresignResponse({}));
12321
+ }
12322
+
12323
+ /**
12324
+ * Description: 查询保单信息
12325
+ * Summary: 查询保单信息
12326
+ */
12327
+ async pagequeryInnerInsureorder(request: PagequeryInnerInsureorderRequest): Promise<PagequeryInnerInsureorderResponse> {
12328
+ let runtime = new $Util.RuntimeOptions({ });
12329
+ let headers : {[key: string ]: string} = { };
12330
+ return await this.pagequeryInnerInsureorderEx(request, headers, runtime);
12331
+ }
12332
+
12333
+ /**
12334
+ * Description: 查询保单信息
12335
+ * Summary: 查询保单信息
12336
+ */
12337
+ async pagequeryInnerInsureorderEx(request: PagequeryInnerInsureorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PagequeryInnerInsureorderResponse> {
12338
+ Util.validateModel(request);
12339
+ return $tea.cast<PagequeryInnerInsureorderResponse>(await this.doRequest("1.0", "antchain.ato.inner.insureorder.pagequery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PagequeryInnerInsureorderResponse({}));
12340
+ }
12341
+
12342
+ /**
12343
+ * Description: 商户控制台商品列表
12344
+ * Summary: 商品列表
12345
+ */
12346
+ async pagequeryInnerProduct(request: PagequeryInnerProductRequest): Promise<PagequeryInnerProductResponse> {
12347
+ let runtime = new $Util.RuntimeOptions({ });
12348
+ let headers : {[key: string ]: string} = { };
12349
+ return await this.pagequeryInnerProductEx(request, headers, runtime);
12350
+ }
12351
+
12352
+ /**
12353
+ * Description: 商户控制台商品列表
12354
+ * Summary: 商品列表
12355
+ */
12356
+ async pagequeryInnerProductEx(request: PagequeryInnerProductRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PagequeryInnerProductResponse> {
12357
+ Util.validateModel(request);
12358
+ 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({}));
12359
+ }
12360
+
12361
+ /**
12362
+ * Description: 商户控制台商品详情
12363
+ * Summary: 商品详情
12364
+ */
12365
+ async detailInnerProduct(request: DetailInnerProductRequest): Promise<DetailInnerProductResponse> {
12366
+ let runtime = new $Util.RuntimeOptions({ });
12367
+ let headers : {[key: string ]: string} = { };
12368
+ return await this.detailInnerProductEx(request, headers, runtime);
12369
+ }
12370
+
12371
+ /**
12372
+ * Description: 商户控制台商品详情
12373
+ * Summary: 商品详情
12374
+ */
12375
+ async detailInnerProductEx(request: DetailInnerProductRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DetailInnerProductResponse> {
12376
+ Util.validateModel(request);
12377
+ 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({}));
12378
+ }
12379
+
12380
+ /**
12381
+ * Description: 商户控制台首页通知栏
12382
+ * Summary: 首页通知栏
12383
+ */
12384
+ async getInnerHomepagenotice(request: GetInnerHomepagenoticeRequest): Promise<GetInnerHomepagenoticeResponse> {
12385
+ let runtime = new $Util.RuntimeOptions({ });
12386
+ let headers : {[key: string ]: string} = { };
12387
+ return await this.getInnerHomepagenoticeEx(request, headers, runtime);
12388
+ }
12389
+
12390
+ /**
12391
+ * Description: 商户控制台首页通知栏
12392
+ * Summary: 首页通知栏
12393
+ */
12394
+ async getInnerHomepagenoticeEx(request: GetInnerHomepagenoticeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetInnerHomepagenoticeResponse> {
12395
+ Util.validateModel(request);
12396
+ return $tea.cast<GetInnerHomepagenoticeResponse>(await this.doRequest("1.0", "antchain.ato.inner.homepagenotice.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetInnerHomepagenoticeResponse({}));
12397
+ }
12398
+
12399
+ /**
12400
+ * Description: 商户控制台通知列表
12401
+ * Summary: 通知列表
12402
+ */
12403
+ async pagequeryInnerNotice(request: PagequeryInnerNoticeRequest): Promise<PagequeryInnerNoticeResponse> {
12404
+ let runtime = new $Util.RuntimeOptions({ });
12405
+ let headers : {[key: string ]: string} = { };
12406
+ return await this.pagequeryInnerNoticeEx(request, headers, runtime);
12407
+ }
12408
+
12409
+ /**
12410
+ * Description: 商户控制台通知列表
12411
+ * Summary: 通知列表
12412
+ */
12413
+ async pagequeryInnerNoticeEx(request: PagequeryInnerNoticeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PagequeryInnerNoticeResponse> {
12414
+ Util.validateModel(request);
12415
+ return $tea.cast<PagequeryInnerNoticeResponse>(await this.doRequest("1.0", "antchain.ato.inner.notice.pagequery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PagequeryInnerNoticeResponse({}));
12416
+ }
12417
+
12418
+ /**
12419
+ * Description: 商户控制台通知详情
12420
+ * Summary: 通知详情
12421
+ */
12422
+ async detailInnerNotice(request: DetailInnerNoticeRequest): Promise<DetailInnerNoticeResponse> {
12423
+ let runtime = new $Util.RuntimeOptions({ });
12424
+ let headers : {[key: string ]: string} = { };
12425
+ return await this.detailInnerNoticeEx(request, headers, runtime);
12426
+ }
12427
+
12428
+ /**
12429
+ * Description: 商户控制台通知详情
12430
+ * Summary: 通知详情
12431
+ */
12432
+ async detailInnerNoticeEx(request: DetailInnerNoticeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DetailInnerNoticeResponse> {
12433
+ Util.validateModel(request);
12434
+ return $tea.cast<DetailInnerNoticeResponse>(await this.doRequest("1.0", "antchain.ato.inner.notice.detail", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new DetailInnerNoticeResponse({}));
12435
+ }
12436
+
12437
+ /**
12438
+ * Description: 商户控制台订单列表
12439
+ * Summary: 订单列表
12440
+ */
12441
+ async pagequeryInnerOrder(request: PagequeryInnerOrderRequest): Promise<PagequeryInnerOrderResponse> {
12442
+ let runtime = new $Util.RuntimeOptions({ });
12443
+ let headers : {[key: string ]: string} = { };
12444
+ return await this.pagequeryInnerOrderEx(request, headers, runtime);
12445
+ }
12446
+
12447
+ /**
12448
+ * Description: 商户控制台订单列表
12449
+ * Summary: 订单列表
12450
+ */
12451
+ async pagequeryInnerOrderEx(request: PagequeryInnerOrderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PagequeryInnerOrderResponse> {
12452
+ Util.validateModel(request);
12453
+ return $tea.cast<PagequeryInnerOrderResponse>(await this.doRequest("1.0", "antchain.ato.inner.order.pagequery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PagequeryInnerOrderResponse({}));
12454
+ }
12455
+
12456
+ /**
12457
+ * Description: 一键投保
12458
+ * Summary: 投保
12459
+ */
12460
+ async createInsure(request: CreateInsureRequest): Promise<CreateInsureResponse> {
12461
+ let runtime = new $Util.RuntimeOptions({ });
12462
+ let headers : {[key: string ]: string} = { };
12463
+ return await this.createInsureEx(request, headers, runtime);
12464
+ }
12465
+
12466
+ /**
12467
+ * Description: 一键投保
12468
+ * Summary: 投保
12469
+ */
12470
+ async createInsureEx(request: CreateInsureRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateInsureResponse> {
12471
+ Util.validateModel(request);
12472
+ return $tea.cast<CreateInsureResponse>(await this.doRequest("1.0", "antchain.ato.insure.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateInsureResponse({}));
12473
+ }
12474
+
12475
+ /**
12476
+ * Description: 保单查询
12477
+ * Summary: 保单查询
12478
+ */
12479
+ async queryInsure(request: QueryInsureRequest): Promise<QueryInsureResponse> {
12480
+ let runtime = new $Util.RuntimeOptions({ });
12481
+ let headers : {[key: string ]: string} = { };
12482
+ return await this.queryInsureEx(request, headers, runtime);
12483
+ }
12484
+
12485
+ /**
12486
+ * Description: 保单查询
12487
+ * Summary: 保单查询
12488
+ */
12489
+ async queryInsureEx(request: QueryInsureRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInsureResponse> {
12490
+ Util.validateModel(request);
12491
+ return $tea.cast<QueryInsureResponse>(await this.doRequest("1.0", "antchain.ato.insure.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInsureResponse({}));
12492
+ }
12493
+
12494
+ /**
12495
+ * Description: 保险代扣重试
12496
+ * Summary: 保险代扣重试
12497
+ */
12498
+ async retryInsurePay(request: RetryInsurePayRequest): Promise<RetryInsurePayResponse> {
12499
+ let runtime = new $Util.RuntimeOptions({ });
12500
+ let headers : {[key: string ]: string} = { };
12501
+ return await this.retryInsurePayEx(request, headers, runtime);
12502
+ }
12503
+
12504
+ /**
12505
+ * Description: 保险代扣重试
12506
+ * Summary: 保险代扣重试
12507
+ */
12508
+ async retryInsurePayEx(request: RetryInsurePayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RetryInsurePayResponse> {
12509
+ Util.validateModel(request);
12510
+ return $tea.cast<RetryInsurePayResponse>(await this.doRequest("1.0", "antchain.ato.insure.pay.retry", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new RetryInsurePayResponse({}));
12511
+ }
12512
+
11090
12513
  /**
11091
12514
  * Description: 商户入驻
11092
12515
  * Summary: 商户入驻