@antchain/riskplus 1.21.0 → 1.22.2

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
@@ -3640,6 +3640,31 @@ export class CustomerBankCardInfo extends $tea.Model {
3640
3640
  }
3641
3641
  }
3642
3642
 
3643
+ // 供应商
3644
+ export class Supplier extends $tea.Model {
3645
+ // 供应商id
3646
+ supplierId: string;
3647
+ // 供应商名字
3648
+ supplierName: string;
3649
+ static names(): { [key: string]: string } {
3650
+ return {
3651
+ supplierId: 'supplier_id',
3652
+ supplierName: 'supplier_name',
3653
+ };
3654
+ }
3655
+
3656
+ static types(): { [key: string]: any } {
3657
+ return {
3658
+ supplierId: 'string',
3659
+ supplierName: 'string',
3660
+ };
3661
+ }
3662
+
3663
+ constructor(map?: { [key: string]: any }) {
3664
+ super(map);
3665
+ }
3666
+ }
3667
+
3643
3668
  // 查询结果
3644
3669
  export class QueryResult extends $tea.Model {
3645
3670
  // key
@@ -3756,6 +3781,47 @@ export class OverdueInfoResponse extends $tea.Model {
3756
3781
  }
3757
3782
  }
3758
3783
 
3784
+ // 企管盾票税交接决策服务指标
3785
+ export class RdaasTaxDecsionServiceIndicator extends $tea.Model {
3786
+ // 决策指标id
3787
+ id: string;
3788
+ // 决策服务id
3789
+ serviceId: string;
3790
+ // 属性名
3791
+ propertyName: string;
3792
+ // 属性值或指标值
3793
+ propertyValue?: string;
3794
+ // 决策租户
3795
+ decisionTenant?: string;
3796
+ // 创建时间,格式:yyyy-MM-dd HH:mm:ss
3797
+ createTime?: string;
3798
+ static names(): { [key: string]: string } {
3799
+ return {
3800
+ id: 'id',
3801
+ serviceId: 'service_id',
3802
+ propertyName: 'property_name',
3803
+ propertyValue: 'property_value',
3804
+ decisionTenant: 'decision_tenant',
3805
+ createTime: 'create_time',
3806
+ };
3807
+ }
3808
+
3809
+ static types(): { [key: string]: any } {
3810
+ return {
3811
+ id: 'string',
3812
+ serviceId: 'string',
3813
+ propertyName: 'string',
3814
+ propertyValue: 'string',
3815
+ decisionTenant: 'string',
3816
+ createTime: 'string',
3817
+ };
3818
+ }
3819
+
3820
+ constructor(map?: { [key: string]: any }) {
3821
+ super(map);
3822
+ }
3823
+ }
3824
+
3759
3825
  // 天枢预览协议信息
3760
3826
  export class GetAgreementUrlResponseData extends $tea.Model {
3761
3827
  // 协议标题
@@ -4338,6 +4404,51 @@ export class CustomRelationStatus extends $tea.Model {
4338
4404
  }
4339
4405
  }
4340
4406
 
4407
+ // 企管盾票税决策服务
4408
+ export class RdaasTaxDecsionService extends $tea.Model {
4409
+ // 决策服务id
4410
+ id: string;
4411
+ // 产品编码
4412
+ serviceName: string;
4413
+ // 区域编码
4414
+ serviceZone?: string;
4415
+ // 渠道
4416
+ channel?: string;
4417
+ // 决策租户
4418
+ decisionTenant?: string;
4419
+ // 是否启用
4420
+ status?: string;
4421
+ // 创建时间,格式:yyyy-MM-dd HH:mm:ss
4422
+ createTime?: string;
4423
+ static names(): { [key: string]: string } {
4424
+ return {
4425
+ id: 'id',
4426
+ serviceName: 'service_name',
4427
+ serviceZone: 'service_zone',
4428
+ channel: 'channel',
4429
+ decisionTenant: 'decision_tenant',
4430
+ status: 'status',
4431
+ createTime: 'create_time',
4432
+ };
4433
+ }
4434
+
4435
+ static types(): { [key: string]: any } {
4436
+ return {
4437
+ id: 'string',
4438
+ serviceName: 'string',
4439
+ serviceZone: 'string',
4440
+ channel: 'string',
4441
+ decisionTenant: 'string',
4442
+ status: 'string',
4443
+ createTime: 'string',
4444
+ };
4445
+ }
4446
+
4447
+ constructor(map?: { [key: string]: any }) {
4448
+ super(map);
4449
+ }
4450
+ }
4451
+
4341
4452
  // 服务上下文包括环境信息和用户信息
4342
4453
  export class ServiceContext extends $tea.Model {
4343
4454
  // 客户端IP
@@ -11350,6 +11461,120 @@ export class QueryMdipDataservicePocResponse extends $tea.Model {
11350
11461
  }
11351
11462
  }
11352
11463
 
11464
+ export class ListMdipDefaultSupplierRequest extends $tea.Model {
11465
+ // OAuth模式下的授权token
11466
+ authToken?: string;
11467
+ productInstanceId?: string;
11468
+ // ANTCLOUD
11469
+ defaultTenant?: string;
11470
+ static names(): { [key: string]: string } {
11471
+ return {
11472
+ authToken: 'auth_token',
11473
+ productInstanceId: 'product_instance_id',
11474
+ defaultTenant: 'default_tenant',
11475
+ };
11476
+ }
11477
+
11478
+ static types(): { [key: string]: any } {
11479
+ return {
11480
+ authToken: 'string',
11481
+ productInstanceId: 'string',
11482
+ defaultTenant: 'string',
11483
+ };
11484
+ }
11485
+
11486
+ constructor(map?: { [key: string]: any }) {
11487
+ super(map);
11488
+ }
11489
+ }
11490
+
11491
+ export class ListMdipDefaultSupplierResponse extends $tea.Model {
11492
+ // 请求唯一ID,用于链路跟踪和问题排查
11493
+ reqMsgId?: string;
11494
+ // 结果码,一般OK表示调用成功
11495
+ resultCode?: string;
11496
+ // 异常信息的文本描述
11497
+ resultMsg?: string;
11498
+ // 供应商列表
11499
+ supplierList?: Supplier[];
11500
+ static names(): { [key: string]: string } {
11501
+ return {
11502
+ reqMsgId: 'req_msg_id',
11503
+ resultCode: 'result_code',
11504
+ resultMsg: 'result_msg',
11505
+ supplierList: 'supplier_list',
11506
+ };
11507
+ }
11508
+
11509
+ static types(): { [key: string]: any } {
11510
+ return {
11511
+ reqMsgId: 'string',
11512
+ resultCode: 'string',
11513
+ resultMsg: 'string',
11514
+ supplierList: { 'type': 'array', 'itemType': Supplier },
11515
+ };
11516
+ }
11517
+
11518
+ constructor(map?: { [key: string]: any }) {
11519
+ super(map);
11520
+ }
11521
+ }
11522
+
11523
+ export class CallbackMdipYunfengdieParamsRequest extends $tea.Model {
11524
+ // OAuth模式下的授权token
11525
+ authToken?: string;
11526
+ productInstanceId?: string;
11527
+ // 回调参数
11528
+ paramsMap: string;
11529
+ static names(): { [key: string]: string } {
11530
+ return {
11531
+ authToken: 'auth_token',
11532
+ productInstanceId: 'product_instance_id',
11533
+ paramsMap: 'params_map',
11534
+ };
11535
+ }
11536
+
11537
+ static types(): { [key: string]: any } {
11538
+ return {
11539
+ authToken: 'string',
11540
+ productInstanceId: 'string',
11541
+ paramsMap: 'string',
11542
+ };
11543
+ }
11544
+
11545
+ constructor(map?: { [key: string]: any }) {
11546
+ super(map);
11547
+ }
11548
+ }
11549
+
11550
+ export class CallbackMdipYunfengdieParamsResponse extends $tea.Model {
11551
+ // 请求唯一ID,用于链路跟踪和问题排查
11552
+ reqMsgId?: string;
11553
+ // 结果码,一般OK表示调用成功
11554
+ resultCode?: string;
11555
+ // 异常信息的文本描述
11556
+ resultMsg?: string;
11557
+ static names(): { [key: string]: string } {
11558
+ return {
11559
+ reqMsgId: 'req_msg_id',
11560
+ resultCode: 'result_code',
11561
+ resultMsg: 'result_msg',
11562
+ };
11563
+ }
11564
+
11565
+ static types(): { [key: string]: any } {
11566
+ return {
11567
+ reqMsgId: 'string',
11568
+ resultCode: 'string',
11569
+ resultMsg: 'string',
11570
+ };
11571
+ }
11572
+
11573
+ constructor(map?: { [key: string]: any }) {
11574
+ super(map);
11575
+ }
11576
+ }
11577
+
11353
11578
  export class ApplyQmpRtBatchmarketingRequest extends $tea.Model {
11354
11579
  // OAuth模式下的授权token
11355
11580
  authToken?: string;
@@ -13135,8 +13360,493 @@ export class PushQmpBackflowJsondataRequest extends $tea.Model {
13135
13360
  return {
13136
13361
  authToken: 'auth_token',
13137
13362
  productInstanceId: 'product_instance_id',
13138
- eventId: 'event_id',
13139
- eventRecords: 'event_records',
13363
+ eventId: 'event_id',
13364
+ eventRecords: 'event_records',
13365
+ };
13366
+ }
13367
+
13368
+ static types(): { [key: string]: any } {
13369
+ return {
13370
+ authToken: 'string',
13371
+ productInstanceId: 'string',
13372
+ eventId: 'number',
13373
+ eventRecords: 'string',
13374
+ };
13375
+ }
13376
+
13377
+ constructor(map?: { [key: string]: any }) {
13378
+ super(map);
13379
+ }
13380
+ }
13381
+
13382
+ export class PushQmpBackflowJsondataResponse extends $tea.Model {
13383
+ // 请求唯一ID,用于链路跟踪和问题排查
13384
+ reqMsgId?: string;
13385
+ // 结果码,一般OK表示调用成功
13386
+ resultCode?: string;
13387
+ // 异常信息的文本描述
13388
+ resultMsg?: string;
13389
+ static names(): { [key: string]: string } {
13390
+ return {
13391
+ reqMsgId: 'req_msg_id',
13392
+ resultCode: 'result_code',
13393
+ resultMsg: 'result_msg',
13394
+ };
13395
+ }
13396
+
13397
+ static types(): { [key: string]: any } {
13398
+ return {
13399
+ reqMsgId: 'string',
13400
+ resultCode: 'string',
13401
+ resultMsg: 'string',
13402
+ };
13403
+ }
13404
+
13405
+ constructor(map?: { [key: string]: any }) {
13406
+ super(map);
13407
+ }
13408
+ }
13409
+
13410
+ export class SyncRdaasTaxAuthinfoRequest extends $tea.Model {
13411
+ // OAuth模式下的授权token
13412
+ authToken?: string;
13413
+ productInstanceId?: string;
13414
+ // 应用id
13415
+ appId: string;
13416
+ // 授权类型
13417
+ authType: string;
13418
+ // 税号
13419
+ nsrsbh: string;
13420
+ // 应用key
13421
+ appKey?: string;
13422
+ // 授权状态:Y-有效,N-无效
13423
+ authStatus?: string;
13424
+ // 省份编码
13425
+ proCode?: string;
13426
+ // 城市编码
13427
+ cityCode?: string;
13428
+ // 授权回调地址
13429
+ authCallbackUrl?: string;
13430
+ // 过期时间,格式: yyyy-MM-dd HH:mm:ss
13431
+ expireDate?: string;
13432
+ // 最近一次授权成功的订单号
13433
+ orderNo?: string;
13434
+ // 授权场景
13435
+ authScene?: string;
13436
+ // 授权成功时间,格式:yyyy-MM-dd HH:mm:ss
13437
+ authStartTime?: string;
13438
+ // 授权创建时间,格式: yyyy-MM-dd HH:mm:ss
13439
+ authCreateTime?: string;
13440
+ // 企业名称
13441
+ corpName?: string;
13442
+ static names(): { [key: string]: string } {
13443
+ return {
13444
+ authToken: 'auth_token',
13445
+ productInstanceId: 'product_instance_id',
13446
+ appId: 'app_id',
13447
+ authType: 'auth_type',
13448
+ nsrsbh: 'nsrsbh',
13449
+ appKey: 'app_key',
13450
+ authStatus: 'auth_status',
13451
+ proCode: 'pro_code',
13452
+ cityCode: 'city_code',
13453
+ authCallbackUrl: 'auth_callback_url',
13454
+ expireDate: 'expire_date',
13455
+ orderNo: 'order_no',
13456
+ authScene: 'auth_scene',
13457
+ authStartTime: 'auth_start_time',
13458
+ authCreateTime: 'auth_create_time',
13459
+ corpName: 'corp_name',
13460
+ };
13461
+ }
13462
+
13463
+ static types(): { [key: string]: any } {
13464
+ return {
13465
+ authToken: 'string',
13466
+ productInstanceId: 'string',
13467
+ appId: 'string',
13468
+ authType: 'string',
13469
+ nsrsbh: 'string',
13470
+ appKey: 'string',
13471
+ authStatus: 'string',
13472
+ proCode: 'string',
13473
+ cityCode: 'string',
13474
+ authCallbackUrl: 'string',
13475
+ expireDate: 'string',
13476
+ orderNo: 'string',
13477
+ authScene: 'string',
13478
+ authStartTime: 'string',
13479
+ authCreateTime: 'string',
13480
+ corpName: 'string',
13481
+ };
13482
+ }
13483
+
13484
+ constructor(map?: { [key: string]: any }) {
13485
+ super(map);
13486
+ }
13487
+ }
13488
+
13489
+ export class SyncRdaasTaxAuthinfoResponse extends $tea.Model {
13490
+ // 请求唯一ID,用于链路跟踪和问题排查
13491
+ reqMsgId?: string;
13492
+ // 结果码,一般OK表示调用成功
13493
+ resultCode?: string;
13494
+ // 异常信息的文本描述
13495
+ resultMsg?: string;
13496
+ static names(): { [key: string]: string } {
13497
+ return {
13498
+ reqMsgId: 'req_msg_id',
13499
+ resultCode: 'result_code',
13500
+ resultMsg: 'result_msg',
13501
+ };
13502
+ }
13503
+
13504
+ static types(): { [key: string]: any } {
13505
+ return {
13506
+ reqMsgId: 'string',
13507
+ resultCode: 'string',
13508
+ resultMsg: 'string',
13509
+ };
13510
+ }
13511
+
13512
+ constructor(map?: { [key: string]: any }) {
13513
+ super(map);
13514
+ }
13515
+ }
13516
+
13517
+ export class SyncRdaasTaxAuthorderRequest extends $tea.Model {
13518
+ // OAuth模式下的授权token
13519
+ authToken?: string;
13520
+ productInstanceId?: string;
13521
+ // 租户号
13522
+ instCode: string;
13523
+ // 授权类型
13524
+ authType: string;
13525
+ // 税号
13526
+ identityId?: string;
13527
+ // 授权因子
13528
+ factorValue?: string;
13529
+ // 第二授权因子
13530
+ secondFactorValue?: string;
13531
+ // 授权订单号
13532
+ orderNo: string;
13533
+ // 内容
13534
+ content?: string;
13535
+ // 过期时间
13536
+ expireTime?: string;
13537
+ // 授权场景
13538
+ authScene?: string;
13539
+ // 授权状态
13540
+ authStatus?: string;
13541
+ // 授权成功时间,格式:yyyy-MM-dd HH:mm:ss
13542
+ authStartTime?: string;
13543
+ // 授权创建时间,格式: yyyy-MM-dd HH:mm:ss
13544
+ authCreateTime?: string;
13545
+ // 名称
13546
+ identityName?: string;
13547
+ // 企业实际所属税局地区编码
13548
+ taxZoneCode?: string;
13549
+ // 失败原因
13550
+ failReason?: string;
13551
+ static names(): { [key: string]: string } {
13552
+ return {
13553
+ authToken: 'auth_token',
13554
+ productInstanceId: 'product_instance_id',
13555
+ instCode: 'inst_code',
13556
+ authType: 'auth_type',
13557
+ identityId: 'identity_id',
13558
+ factorValue: 'factor_value',
13559
+ secondFactorValue: 'second_factor_value',
13560
+ orderNo: 'order_no',
13561
+ content: 'content',
13562
+ expireTime: 'expire_time',
13563
+ authScene: 'auth_scene',
13564
+ authStatus: 'auth_status',
13565
+ authStartTime: 'auth_start_time',
13566
+ authCreateTime: 'auth_create_time',
13567
+ identityName: 'identity_name',
13568
+ taxZoneCode: 'tax_zone_code',
13569
+ failReason: 'fail_reason',
13570
+ };
13571
+ }
13572
+
13573
+ static types(): { [key: string]: any } {
13574
+ return {
13575
+ authToken: 'string',
13576
+ productInstanceId: 'string',
13577
+ instCode: 'string',
13578
+ authType: 'string',
13579
+ identityId: 'string',
13580
+ factorValue: 'string',
13581
+ secondFactorValue: 'string',
13582
+ orderNo: 'string',
13583
+ content: 'string',
13584
+ expireTime: 'string',
13585
+ authScene: 'string',
13586
+ authStatus: 'string',
13587
+ authStartTime: 'string',
13588
+ authCreateTime: 'string',
13589
+ identityName: 'string',
13590
+ taxZoneCode: 'string',
13591
+ failReason: 'string',
13592
+ };
13593
+ }
13594
+
13595
+ constructor(map?: { [key: string]: any }) {
13596
+ super(map);
13597
+ }
13598
+ }
13599
+
13600
+ export class SyncRdaasTaxAuthorderResponse extends $tea.Model {
13601
+ // 请求唯一ID,用于链路跟踪和问题排查
13602
+ reqMsgId?: string;
13603
+ // 结果码,一般OK表示调用成功
13604
+ resultCode?: string;
13605
+ // 异常信息的文本描述
13606
+ resultMsg?: string;
13607
+ static names(): { [key: string]: string } {
13608
+ return {
13609
+ reqMsgId: 'req_msg_id',
13610
+ resultCode: 'result_code',
13611
+ resultMsg: 'result_msg',
13612
+ };
13613
+ }
13614
+
13615
+ static types(): { [key: string]: any } {
13616
+ return {
13617
+ reqMsgId: 'string',
13618
+ resultCode: 'string',
13619
+ resultMsg: 'string',
13620
+ };
13621
+ }
13622
+
13623
+ constructor(map?: { [key: string]: any }) {
13624
+ super(map);
13625
+ }
13626
+ }
13627
+
13628
+ export class NotifyRdaasTaxCallbackRequest extends $tea.Model {
13629
+ // OAuth模式下的授权token
13630
+ authToken?: string;
13631
+ productInstanceId?: string;
13632
+ // 通知场景
13633
+ notifyScene: string;
13634
+ // 租户号
13635
+ instCode: string;
13636
+ // 解决方案id
13637
+ solutionId?: string;
13638
+ // 通知回调地址
13639
+ callbackUrl?: string;
13640
+ // 业务参数
13641
+ jsonBizParams?: string;
13642
+ static names(): { [key: string]: string } {
13643
+ return {
13644
+ authToken: 'auth_token',
13645
+ productInstanceId: 'product_instance_id',
13646
+ notifyScene: 'notify_scene',
13647
+ instCode: 'inst_code',
13648
+ solutionId: 'solution_id',
13649
+ callbackUrl: 'callback_url',
13650
+ jsonBizParams: 'json_biz_params',
13651
+ };
13652
+ }
13653
+
13654
+ static types(): { [key: string]: any } {
13655
+ return {
13656
+ authToken: 'string',
13657
+ productInstanceId: 'string',
13658
+ notifyScene: 'string',
13659
+ instCode: 'string',
13660
+ solutionId: 'string',
13661
+ callbackUrl: 'string',
13662
+ jsonBizParams: 'string',
13663
+ };
13664
+ }
13665
+
13666
+ constructor(map?: { [key: string]: any }) {
13667
+ super(map);
13668
+ }
13669
+ }
13670
+
13671
+ export class NotifyRdaasTaxCallbackResponse extends $tea.Model {
13672
+ // 请求唯一ID,用于链路跟踪和问题排查
13673
+ reqMsgId?: string;
13674
+ // 结果码,一般OK表示调用成功
13675
+ resultCode?: string;
13676
+ // 异常信息的文本描述
13677
+ resultMsg?: string;
13678
+ // 通知是否成功
13679
+ data?: boolean;
13680
+ static names(): { [key: string]: string } {
13681
+ return {
13682
+ reqMsgId: 'req_msg_id',
13683
+ resultCode: 'result_code',
13684
+ resultMsg: 'result_msg',
13685
+ data: 'data',
13686
+ };
13687
+ }
13688
+
13689
+ static types(): { [key: string]: any } {
13690
+ return {
13691
+ reqMsgId: 'string',
13692
+ resultCode: 'string',
13693
+ resultMsg: 'string',
13694
+ data: 'boolean',
13695
+ };
13696
+ }
13697
+
13698
+ constructor(map?: { [key: string]: any }) {
13699
+ super(map);
13700
+ }
13701
+ }
13702
+
13703
+ export class QueryRdaasTaxRpadecisionserviceRequest extends $tea.Model {
13704
+ // OAuth模式下的授权token
13705
+ authToken?: string;
13706
+ productInstanceId?: string;
13707
+ // 决策服务
13708
+ serviceName: string;
13709
+ // 决策租户
13710
+ decisionTenant: string;
13711
+ static names(): { [key: string]: string } {
13712
+ return {
13713
+ authToken: 'auth_token',
13714
+ productInstanceId: 'product_instance_id',
13715
+ serviceName: 'service_name',
13716
+ decisionTenant: 'decision_tenant',
13717
+ };
13718
+ }
13719
+
13720
+ static types(): { [key: string]: any } {
13721
+ return {
13722
+ authToken: 'string',
13723
+ productInstanceId: 'string',
13724
+ serviceName: 'string',
13725
+ decisionTenant: 'string',
13726
+ };
13727
+ }
13728
+
13729
+ constructor(map?: { [key: string]: any }) {
13730
+ super(map);
13731
+ }
13732
+ }
13733
+
13734
+ export class QueryRdaasTaxRpadecisionserviceResponse extends $tea.Model {
13735
+ // 请求唯一ID,用于链路跟踪和问题排查
13736
+ reqMsgId?: string;
13737
+ // 结果码,一般OK表示调用成功
13738
+ resultCode?: string;
13739
+ // 异常信息的文本描述
13740
+ resultMsg?: string;
13741
+ // 决策服务列表
13742
+ data?: RdaasTaxDecsionService[];
13743
+ static names(): { [key: string]: string } {
13744
+ return {
13745
+ reqMsgId: 'req_msg_id',
13746
+ resultCode: 'result_code',
13747
+ resultMsg: 'result_msg',
13748
+ data: 'data',
13749
+ };
13750
+ }
13751
+
13752
+ static types(): { [key: string]: any } {
13753
+ return {
13754
+ reqMsgId: 'string',
13755
+ resultCode: 'string',
13756
+ resultMsg: 'string',
13757
+ data: { 'type': 'array', 'itemType': RdaasTaxDecsionService },
13758
+ };
13759
+ }
13760
+
13761
+ constructor(map?: { [key: string]: any }) {
13762
+ super(map);
13763
+ }
13764
+ }
13765
+
13766
+ export class QueryRdaasTaxRpadecisionindicatorRequest extends $tea.Model {
13767
+ // OAuth模式下的授权token
13768
+ authToken?: string;
13769
+ productInstanceId?: string;
13770
+ // 决策服务id
13771
+ serviceId: string;
13772
+ // 决策属性名称,目前一种属性: 比重-weight
13773
+ propertyName?: string;
13774
+ // 决策租户
13775
+ decisionTenant?: string;
13776
+ static names(): { [key: string]: string } {
13777
+ return {
13778
+ authToken: 'auth_token',
13779
+ productInstanceId: 'product_instance_id',
13780
+ serviceId: 'service_id',
13781
+ propertyName: 'property_name',
13782
+ decisionTenant: 'decision_tenant',
13783
+ };
13784
+ }
13785
+
13786
+ static types(): { [key: string]: any } {
13787
+ return {
13788
+ authToken: 'string',
13789
+ productInstanceId: 'string',
13790
+ serviceId: 'string',
13791
+ propertyName: 'string',
13792
+ decisionTenant: 'string',
13793
+ };
13794
+ }
13795
+
13796
+ constructor(map?: { [key: string]: any }) {
13797
+ super(map);
13798
+ }
13799
+ }
13800
+
13801
+ export class QueryRdaasTaxRpadecisionindicatorResponse extends $tea.Model {
13802
+ // 请求唯一ID,用于链路跟踪和问题排查
13803
+ reqMsgId?: string;
13804
+ // 结果码,一般OK表示调用成功
13805
+ resultCode?: string;
13806
+ // 异常信息的文本描述
13807
+ resultMsg?: string;
13808
+ // 决策指标
13809
+ data?: RdaasTaxDecsionServiceIndicator[];
13810
+ static names(): { [key: string]: string } {
13811
+ return {
13812
+ reqMsgId: 'req_msg_id',
13813
+ resultCode: 'result_code',
13814
+ resultMsg: 'result_msg',
13815
+ data: 'data',
13816
+ };
13817
+ }
13818
+
13819
+ static types(): { [key: string]: any } {
13820
+ return {
13821
+ reqMsgId: 'string',
13822
+ resultCode: 'string',
13823
+ resultMsg: 'string',
13824
+ data: { 'type': 'array', 'itemType': RdaasTaxDecsionServiceIndicator },
13825
+ };
13826
+ }
13827
+
13828
+ constructor(map?: { [key: string]: any }) {
13829
+ super(map);
13830
+ }
13831
+ }
13832
+
13833
+ export class QueryRdaasTaxSimpleauthdecisionRequest extends $tea.Model {
13834
+ // OAuth模式下的授权token
13835
+ authToken?: string;
13836
+ productInstanceId?: string;
13837
+ // 决策租户
13838
+ decisionTenant: string;
13839
+ // 授权类型
13840
+ authType: string;
13841
+ // 省份
13842
+ provinceCode: string;
13843
+ static names(): { [key: string]: string } {
13844
+ return {
13845
+ authToken: 'auth_token',
13846
+ productInstanceId: 'product_instance_id',
13847
+ decisionTenant: 'decision_tenant',
13848
+ authType: 'auth_type',
13849
+ provinceCode: 'province_code',
13140
13850
  };
13141
13851
  }
13142
13852
 
@@ -13144,8 +13854,9 @@ export class PushQmpBackflowJsondataRequest extends $tea.Model {
13144
13854
  return {
13145
13855
  authToken: 'string',
13146
13856
  productInstanceId: 'string',
13147
- eventId: 'number',
13148
- eventRecords: 'string',
13857
+ decisionTenant: 'string',
13858
+ authType: 'string',
13859
+ provinceCode: 'string',
13149
13860
  };
13150
13861
  }
13151
13862
 
@@ -13154,18 +13865,21 @@ export class PushQmpBackflowJsondataRequest extends $tea.Model {
13154
13865
  }
13155
13866
  }
13156
13867
 
13157
- export class PushQmpBackflowJsondataResponse extends $tea.Model {
13868
+ export class QueryRdaasTaxSimpleauthdecisionResponse extends $tea.Model {
13158
13869
  // 请求唯一ID,用于链路跟踪和问题排查
13159
13870
  reqMsgId?: string;
13160
13871
  // 结果码,一般OK表示调用成功
13161
13872
  resultCode?: string;
13162
13873
  // 异常信息的文本描述
13163
13874
  resultMsg?: string;
13875
+ // json决策结果
13876
+ data?: string;
13164
13877
  static names(): { [key: string]: string } {
13165
13878
  return {
13166
13879
  reqMsgId: 'req_msg_id',
13167
13880
  resultCode: 'result_code',
13168
13881
  resultMsg: 'result_msg',
13882
+ data: 'data',
13169
13883
  };
13170
13884
  }
13171
13885
 
@@ -13174,6 +13888,7 @@ export class PushQmpBackflowJsondataResponse extends $tea.Model {
13174
13888
  reqMsgId: 'string',
13175
13889
  resultCode: 'string',
13176
13890
  resultMsg: 'string',
13891
+ data: 'string',
13177
13892
  };
13178
13893
  }
13179
13894
 
@@ -14664,6 +15379,89 @@ export class PushRbbCustomerStatusResponse extends $tea.Model {
14664
15379
  }
14665
15380
  }
14666
15381
 
15382
+ export class PushRbbInvoiceChargeRequest extends $tea.Model {
15383
+ // OAuth模式下的授权token
15384
+ authToken?: string;
15385
+ productInstanceId?: string;
15386
+ // 租户码
15387
+ tenantCode: string;
15388
+ // 授权类型
15389
+ bizType: string;
15390
+ // 计费项,主租户:税号,子租户:子租户|税号
15391
+ customerId: string;
15392
+ // 请求id
15393
+ taskRequestId: string;
15394
+ // 利润共享方
15395
+ benefitSharePartner: string;
15396
+ // 计费时间
15397
+ feeTime: string;
15398
+ // 税号
15399
+ sharding: string;
15400
+ // true为接收侧提交账单,false接收侧不用提交账单
15401
+ receiverSubmitBill: boolean;
15402
+ static names(): { [key: string]: string } {
15403
+ return {
15404
+ authToken: 'auth_token',
15405
+ productInstanceId: 'product_instance_id',
15406
+ tenantCode: 'tenant_code',
15407
+ bizType: 'biz_type',
15408
+ customerId: 'customer_id',
15409
+ taskRequestId: 'task_request_id',
15410
+ benefitSharePartner: 'benefit_share_partner',
15411
+ feeTime: 'fee_time',
15412
+ sharding: 'sharding',
15413
+ receiverSubmitBill: 'receiver_submit_bill',
15414
+ };
15415
+ }
15416
+
15417
+ static types(): { [key: string]: any } {
15418
+ return {
15419
+ authToken: 'string',
15420
+ productInstanceId: 'string',
15421
+ tenantCode: 'string',
15422
+ bizType: 'string',
15423
+ customerId: 'string',
15424
+ taskRequestId: 'string',
15425
+ benefitSharePartner: 'string',
15426
+ feeTime: 'string',
15427
+ sharding: 'string',
15428
+ receiverSubmitBill: 'boolean',
15429
+ };
15430
+ }
15431
+
15432
+ constructor(map?: { [key: string]: any }) {
15433
+ super(map);
15434
+ }
15435
+ }
15436
+
15437
+ export class PushRbbInvoiceChargeResponse extends $tea.Model {
15438
+ // 请求唯一ID,用于链路跟踪和问题排查
15439
+ reqMsgId?: string;
15440
+ // 结果码,一般OK表示调用成功
15441
+ resultCode?: string;
15442
+ // 异常信息的文本描述
15443
+ resultMsg?: string;
15444
+ static names(): { [key: string]: string } {
15445
+ return {
15446
+ reqMsgId: 'req_msg_id',
15447
+ resultCode: 'result_code',
15448
+ resultMsg: 'result_msg',
15449
+ };
15450
+ }
15451
+
15452
+ static types(): { [key: string]: any } {
15453
+ return {
15454
+ reqMsgId: 'string',
15455
+ resultCode: 'string',
15456
+ resultMsg: 'string',
15457
+ };
15458
+ }
15459
+
15460
+ constructor(map?: { [key: string]: any }) {
15461
+ super(map);
15462
+ }
15463
+ }
15464
+
14667
15465
  export class PushRpaasReportAnswerRequest extends $tea.Model {
14668
15466
  // OAuth模式下的授权token
14669
15467
  authToken?: string;
@@ -20758,6 +21556,71 @@ export class QueryUmktOfflinedecisionPlandetailsResponse extends $tea.Model {
20758
21556
  }
20759
21557
  }
20760
21558
 
21559
+ export class UploadUmktOfflineImportrecordRequest extends $tea.Model {
21560
+ // OAuth模式下的授权token
21561
+ authToken?: string;
21562
+ productInstanceId?: string;
21563
+ // 文件上传后返回的fileId
21564
+ fileObject?: Readable;
21565
+ fileObjectName?: string;
21566
+ fileId: string;
21567
+ // 文件内手机号类型
21568
+ fileTemplate: string;
21569
+ static names(): { [key: string]: string } {
21570
+ return {
21571
+ authToken: 'auth_token',
21572
+ productInstanceId: 'product_instance_id',
21573
+ fileObject: 'fileObject',
21574
+ fileObjectName: 'fileObjectName',
21575
+ fileId: 'file_id',
21576
+ fileTemplate: 'file_template',
21577
+ };
21578
+ }
21579
+
21580
+ static types(): { [key: string]: any } {
21581
+ return {
21582
+ authToken: 'string',
21583
+ productInstanceId: 'string',
21584
+ fileObject: 'Readable',
21585
+ fileObjectName: 'string',
21586
+ fileId: 'string',
21587
+ fileTemplate: 'string',
21588
+ };
21589
+ }
21590
+
21591
+ constructor(map?: { [key: string]: any }) {
21592
+ super(map);
21593
+ }
21594
+ }
21595
+
21596
+ export class UploadUmktOfflineImportrecordResponse extends $tea.Model {
21597
+ // 请求唯一ID,用于链路跟踪和问题排查
21598
+ reqMsgId?: string;
21599
+ // 结果码,一般OK表示调用成功
21600
+ resultCode?: string;
21601
+ // 异常信息的文本描述
21602
+ resultMsg?: string;
21603
+ static names(): { [key: string]: string } {
21604
+ return {
21605
+ reqMsgId: 'req_msg_id',
21606
+ resultCode: 'result_code',
21607
+ resultMsg: 'result_msg',
21608
+ };
21609
+ }
21610
+
21611
+ static types(): { [key: string]: any } {
21612
+ return {
21613
+ reqMsgId: 'string',
21614
+ resultCode: 'string',
21615
+ resultMsg: 'string',
21616
+ };
21617
+ }
21618
+
21619
+ constructor(map?: { [key: string]: any }) {
21620
+ super(map);
21621
+ }
21622
+ }
21623
+
20761
21624
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
20762
21625
  // OAuth模式下的授权token
20763
21626
  authToken?: string;
@@ -20959,7 +21822,7 @@ export default class Client {
20959
21822
  req_msg_id: AntchainUtil.getNonce(),
20960
21823
  access_key: this._accessKeyId,
20961
21824
  base_sdk_version: "TeaSDK-2.0",
20962
- sdk_version: "1.21.0",
21825
+ sdk_version: "1.22.2",
20963
21826
  _prod_code: "RISKPLUS",
20964
21827
  _prod_channel: "undefined",
20965
21828
  };
@@ -22593,6 +23456,44 @@ export default class Client {
22593
23456
  return $tea.cast<QueryMdipDataservicePocResponse>(await this.doRequest("1.0", "riskplus.mdip.dataservice.poc.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryMdipDataservicePocResponse({}));
22594
23457
  }
22595
23458
 
23459
+ /**
23460
+ * Description: 查询默认租户的供应商列表
23461
+ * Summary: 查询默认租户的供应商列表
23462
+ */
23463
+ async listMdipDefaultSupplier(request: ListMdipDefaultSupplierRequest): Promise<ListMdipDefaultSupplierResponse> {
23464
+ let runtime = new $Util.RuntimeOptions({ });
23465
+ let headers : {[key: string ]: string} = { };
23466
+ return await this.listMdipDefaultSupplierEx(request, headers, runtime);
23467
+ }
23468
+
23469
+ /**
23470
+ * Description: 查询默认租户的供应商列表
23471
+ * Summary: 查询默认租户的供应商列表
23472
+ */
23473
+ async listMdipDefaultSupplierEx(request: ListMdipDefaultSupplierRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListMdipDefaultSupplierResponse> {
23474
+ Util.validateModel(request);
23475
+ return $tea.cast<ListMdipDefaultSupplierResponse>(await this.doRequest("1.0", "riskplus.mdip.default.supplier.list", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ListMdipDefaultSupplierResponse({}));
23476
+ }
23477
+
23478
+ /**
23479
+ * Description: 数据回调
23480
+ * Summary: 云凤蝶回调参数
23481
+ */
23482
+ async callbackMdipYunfengdieParams(request: CallbackMdipYunfengdieParamsRequest): Promise<CallbackMdipYunfengdieParamsResponse> {
23483
+ let runtime = new $Util.RuntimeOptions({ });
23484
+ let headers : {[key: string ]: string} = { };
23485
+ return await this.callbackMdipYunfengdieParamsEx(request, headers, runtime);
23486
+ }
23487
+
23488
+ /**
23489
+ * Description: 数据回调
23490
+ * Summary: 云凤蝶回调参数
23491
+ */
23492
+ async callbackMdipYunfengdieParamsEx(request: CallbackMdipYunfengdieParamsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackMdipYunfengdieParamsResponse> {
23493
+ Util.validateModel(request);
23494
+ return $tea.cast<CallbackMdipYunfengdieParamsResponse>(await this.doRequest("1.0", "riskplus.mdip.yunfengdie.params.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMdipYunfengdieParamsResponse({}));
23495
+ }
23496
+
22596
23497
  /**
22597
23498
  * Description: 批量实时触达接口
22598
23499
  * Summary: 发起触达任务
@@ -22992,6 +23893,120 @@ export default class Client {
22992
23893
  return $tea.cast<PushQmpBackflowJsondataResponse>(await this.doRequest("1.0", "riskplus.qmp.backflow.jsondata.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushQmpBackflowJsondataResponse({}));
22993
23894
  }
22994
23895
 
23896
+ /**
23897
+ * Description: 企管盾票税交接授权信息表的同步
23898
+ * Summary: 企管盾票税交接授权信息表的同步
23899
+ */
23900
+ async syncRdaasTaxAuthinfo(request: SyncRdaasTaxAuthinfoRequest): Promise<SyncRdaasTaxAuthinfoResponse> {
23901
+ let runtime = new $Util.RuntimeOptions({ });
23902
+ let headers : {[key: string ]: string} = { };
23903
+ return await this.syncRdaasTaxAuthinfoEx(request, headers, runtime);
23904
+ }
23905
+
23906
+ /**
23907
+ * Description: 企管盾票税交接授权信息表的同步
23908
+ * Summary: 企管盾票税交接授权信息表的同步
23909
+ */
23910
+ async syncRdaasTaxAuthinfoEx(request: SyncRdaasTaxAuthinfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncRdaasTaxAuthinfoResponse> {
23911
+ Util.validateModel(request);
23912
+ return $tea.cast<SyncRdaasTaxAuthinfoResponse>(await this.doRequest("1.0", "riskplus.rdaas.tax.authinfo.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncRdaasTaxAuthinfoResponse({}));
23913
+ }
23914
+
23915
+ /**
23916
+ * Description: 企管盾票税交接授权记录表的同步
23917
+ * Summary: 企管盾票税交接授权记录表的同步
23918
+ */
23919
+ async syncRdaasTaxAuthorder(request: SyncRdaasTaxAuthorderRequest): Promise<SyncRdaasTaxAuthorderResponse> {
23920
+ let runtime = new $Util.RuntimeOptions({ });
23921
+ let headers : {[key: string ]: string} = { };
23922
+ return await this.syncRdaasTaxAuthorderEx(request, headers, runtime);
23923
+ }
23924
+
23925
+ /**
23926
+ * Description: 企管盾票税交接授权记录表的同步
23927
+ * Summary: 企管盾票税交接授权记录表的同步
23928
+ */
23929
+ async syncRdaasTaxAuthorderEx(request: SyncRdaasTaxAuthorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncRdaasTaxAuthorderResponse> {
23930
+ Util.validateModel(request);
23931
+ return $tea.cast<SyncRdaasTaxAuthorderResponse>(await this.doRequest("1.0", "riskplus.rdaas.tax.authorder.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncRdaasTaxAuthorderResponse({}));
23932
+ }
23933
+
23934
+ /**
23935
+ * Description: 企管盾票税交接回调通知
23936
+ * Summary: 企管盾票税交接回调通知
23937
+ */
23938
+ async notifyRdaasTaxCallback(request: NotifyRdaasTaxCallbackRequest): Promise<NotifyRdaasTaxCallbackResponse> {
23939
+ let runtime = new $Util.RuntimeOptions({ });
23940
+ let headers : {[key: string ]: string} = { };
23941
+ return await this.notifyRdaasTaxCallbackEx(request, headers, runtime);
23942
+ }
23943
+
23944
+ /**
23945
+ * Description: 企管盾票税交接回调通知
23946
+ * Summary: 企管盾票税交接回调通知
23947
+ */
23948
+ async notifyRdaasTaxCallbackEx(request: NotifyRdaasTaxCallbackRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<NotifyRdaasTaxCallbackResponse> {
23949
+ Util.validateModel(request);
23950
+ return $tea.cast<NotifyRdaasTaxCallbackResponse>(await this.doRequest("1.0", "riskplus.rdaas.tax.callback.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyRdaasTaxCallbackResponse({}));
23951
+ }
23952
+
23953
+ /**
23954
+ * Description: 企管盾票税交接RPA决策服务查询
23955
+ * Summary: 企管盾票税交接RPA决策服务查询
23956
+ */
23957
+ async queryRdaasTaxRpadecisionservice(request: QueryRdaasTaxRpadecisionserviceRequest): Promise<QueryRdaasTaxRpadecisionserviceResponse> {
23958
+ let runtime = new $Util.RuntimeOptions({ });
23959
+ let headers : {[key: string ]: string} = { };
23960
+ return await this.queryRdaasTaxRpadecisionserviceEx(request, headers, runtime);
23961
+ }
23962
+
23963
+ /**
23964
+ * Description: 企管盾票税交接RPA决策服务查询
23965
+ * Summary: 企管盾票税交接RPA决策服务查询
23966
+ */
23967
+ async queryRdaasTaxRpadecisionserviceEx(request: QueryRdaasTaxRpadecisionserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRdaasTaxRpadecisionserviceResponse> {
23968
+ Util.validateModel(request);
23969
+ return $tea.cast<QueryRdaasTaxRpadecisionserviceResponse>(await this.doRequest("1.0", "riskplus.rdaas.tax.rpadecisionservice.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryRdaasTaxRpadecisionserviceResponse({}));
23970
+ }
23971
+
23972
+ /**
23973
+ * Description: 企管盾票税交接RPA决策服务指标查询
23974
+ * Summary: 企管盾票税交接RPA决策服务指标查询
23975
+ */
23976
+ async queryRdaasTaxRpadecisionindicator(request: QueryRdaasTaxRpadecisionindicatorRequest): Promise<QueryRdaasTaxRpadecisionindicatorResponse> {
23977
+ let runtime = new $Util.RuntimeOptions({ });
23978
+ let headers : {[key: string ]: string} = { };
23979
+ return await this.queryRdaasTaxRpadecisionindicatorEx(request, headers, runtime);
23980
+ }
23981
+
23982
+ /**
23983
+ * Description: 企管盾票税交接RPA决策服务指标查询
23984
+ * Summary: 企管盾票税交接RPA决策服务指标查询
23985
+ */
23986
+ async queryRdaasTaxRpadecisionindicatorEx(request: QueryRdaasTaxRpadecisionindicatorRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRdaasTaxRpadecisionindicatorResponse> {
23987
+ Util.validateModel(request);
23988
+ return $tea.cast<QueryRdaasTaxRpadecisionindicatorResponse>(await this.doRequest("1.0", "riskplus.rdaas.tax.rpadecisionindicator.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryRdaasTaxRpadecisionindicatorResponse({}));
23989
+ }
23990
+
23991
+ /**
23992
+ * Description: 企管盾票税交接要素授权决策查询
23993
+ * Summary: 企管盾票税交接要素授权决策查询
23994
+ */
23995
+ async queryRdaasTaxSimpleauthdecision(request: QueryRdaasTaxSimpleauthdecisionRequest): Promise<QueryRdaasTaxSimpleauthdecisionResponse> {
23996
+ let runtime = new $Util.RuntimeOptions({ });
23997
+ let headers : {[key: string ]: string} = { };
23998
+ return await this.queryRdaasTaxSimpleauthdecisionEx(request, headers, runtime);
23999
+ }
24000
+
24001
+ /**
24002
+ * Description: 企管盾票税交接要素授权决策查询
24003
+ * Summary: 企管盾票税交接要素授权决策查询
24004
+ */
24005
+ async queryRdaasTaxSimpleauthdecisionEx(request: QueryRdaasTaxSimpleauthdecisionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRdaasTaxSimpleauthdecisionResponse> {
24006
+ Util.validateModel(request);
24007
+ return $tea.cast<QueryRdaasTaxSimpleauthdecisionResponse>(await this.doRequest("1.0", "riskplus.rdaas.tax.simpleauthdecision.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryRdaasTaxSimpleauthdecisionResponse({}));
24008
+ }
24009
+
22995
24010
  /**
22996
24011
  * Description: 风险大脑企业版通用查询接口
22997
24012
  * Summary: 【已废弃】
@@ -23432,6 +24447,25 @@ export default class Client {
23432
24447
  return $tea.cast<PushRbbCustomerStatusResponse>(await this.doRequest("1.0", "riskplus.rbb.customer.status.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushRbbCustomerStatusResponse({}));
23433
24448
  }
23434
24449
 
24450
+ /**
24451
+ * Description: 票税计费处理推送,由票税侧请求
24452
+ * Summary: 票税计费处理推送
24453
+ */
24454
+ async pushRbbInvoiceCharge(request: PushRbbInvoiceChargeRequest): Promise<PushRbbInvoiceChargeResponse> {
24455
+ let runtime = new $Util.RuntimeOptions({ });
24456
+ let headers : {[key: string ]: string} = { };
24457
+ return await this.pushRbbInvoiceChargeEx(request, headers, runtime);
24458
+ }
24459
+
24460
+ /**
24461
+ * Description: 票税计费处理推送,由票税侧请求
24462
+ * Summary: 票税计费处理推送
24463
+ */
24464
+ async pushRbbInvoiceChargeEx(request: PushRbbInvoiceChargeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushRbbInvoiceChargeResponse> {
24465
+ Util.validateModel(request);
24466
+ return $tea.cast<PushRbbInvoiceChargeResponse>(await this.doRequest("1.0", "riskplus.rbb.invoice.charge.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushRbbInvoiceChargeResponse({}));
24467
+ }
24468
+
23435
24469
  /**
23436
24470
  * Description: 报告结果推送,算法调用
23437
24471
  * Summary: 报告结果推送
@@ -24905,6 +25939,47 @@ export default class Client {
24905
25939
  return $tea.cast<QueryUmktOfflinedecisionPlandetailsResponse>(await this.doRequest("1.0", "riskplus.umkt.offlinedecision.plandetails.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktOfflinedecisionPlandetailsResponse({}));
24906
25940
  }
24907
25941
 
25942
+ /**
25943
+ * Description: 营销盾离线圈投一体文件上传
25944
+ * Summary: 营销盾离线圈投一体文件上传
25945
+ */
25946
+ async uploadUmktOfflineImportrecord(request: UploadUmktOfflineImportrecordRequest): Promise<UploadUmktOfflineImportrecordResponse> {
25947
+ let runtime = new $Util.RuntimeOptions({ });
25948
+ let headers : {[key: string ]: string} = { };
25949
+ return await this.uploadUmktOfflineImportrecordEx(request, headers, runtime);
25950
+ }
25951
+
25952
+ /**
25953
+ * Description: 营销盾离线圈投一体文件上传
25954
+ * Summary: 营销盾离线圈投一体文件上传
25955
+ */
25956
+ async uploadUmktOfflineImportrecordEx(request: UploadUmktOfflineImportrecordRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UploadUmktOfflineImportrecordResponse> {
25957
+ if (!Util.isUnset(request.fileObject)) {
25958
+ let uploadReq = new CreateAntcloudGatewayxFileUploadRequest({
25959
+ authToken: request.authToken,
25960
+ apiCode: "riskplus.umkt.offline.importrecord.upload",
25961
+ fileName: request.fileObjectName,
25962
+ });
25963
+ let uploadResp = await this.createAntcloudGatewayxFileUploadEx(uploadReq, headers, runtime);
25964
+ if (!AntchainUtil.isSuccess(uploadResp.resultCode, "ok")) {
25965
+ let uploadUmktOfflineImportrecordResponse = new UploadUmktOfflineImportrecordResponse({
25966
+ reqMsgId: uploadResp.reqMsgId,
25967
+ resultCode: uploadResp.resultCode,
25968
+ resultMsg: uploadResp.resultMsg,
25969
+ });
25970
+ return uploadUmktOfflineImportrecordResponse;
25971
+ }
25972
+
25973
+ let uploadHeaders = AntchainUtil.parseUploadHeaders(uploadResp.uploadHeaders);
25974
+ await AntchainUtil.putObject(request.fileObject, uploadHeaders, uploadResp.uploadUrl);
25975
+ request.fileId = uploadResp.fileId;
25976
+ request.fileObject = null;
25977
+ }
25978
+
25979
+ Util.validateModel(request);
25980
+ return $tea.cast<UploadUmktOfflineImportrecordResponse>(await this.doRequest("1.0", "riskplus.umkt.offline.importrecord.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadUmktOfflineImportrecordResponse({}));
25981
+ }
25982
+
24908
25983
  /**
24909
25984
  * Description: 创建HTTP PUT提交的文件上传
24910
25985
  * Summary: 文件上传创建