@antchain/riskplus 1.21.0 → 1.22.0

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
@@ -3756,6 +3756,47 @@ export class OverdueInfoResponse extends $tea.Model {
3756
3756
  }
3757
3757
  }
3758
3758
 
3759
+ // 企管盾票税交接决策服务指标
3760
+ export class RdaasTaxDecsionServiceIndicator extends $tea.Model {
3761
+ // 决策指标id
3762
+ id: string;
3763
+ // 决策服务id
3764
+ serviceId: string;
3765
+ // 属性名
3766
+ propertyName: string;
3767
+ // 属性值或指标值
3768
+ propertyValue?: string;
3769
+ // 决策租户
3770
+ decisionTenant?: string;
3771
+ // 创建时间,格式:yyyy-MM-dd HH:mm:ss
3772
+ createTime?: string;
3773
+ static names(): { [key: string]: string } {
3774
+ return {
3775
+ id: 'id',
3776
+ serviceId: 'service_id',
3777
+ propertyName: 'property_name',
3778
+ propertyValue: 'property_value',
3779
+ decisionTenant: 'decision_tenant',
3780
+ createTime: 'create_time',
3781
+ };
3782
+ }
3783
+
3784
+ static types(): { [key: string]: any } {
3785
+ return {
3786
+ id: 'string',
3787
+ serviceId: 'string',
3788
+ propertyName: 'string',
3789
+ propertyValue: 'string',
3790
+ decisionTenant: 'string',
3791
+ createTime: 'string',
3792
+ };
3793
+ }
3794
+
3795
+ constructor(map?: { [key: string]: any }) {
3796
+ super(map);
3797
+ }
3798
+ }
3799
+
3759
3800
  // 天枢预览协议信息
3760
3801
  export class GetAgreementUrlResponseData extends $tea.Model {
3761
3802
  // 协议标题
@@ -4338,6 +4379,51 @@ export class CustomRelationStatus extends $tea.Model {
4338
4379
  }
4339
4380
  }
4340
4381
 
4382
+ // 企管盾票税决策服务
4383
+ export class RdaasTaxDecsionService extends $tea.Model {
4384
+ // 决策服务id
4385
+ id: string;
4386
+ // 产品编码
4387
+ serviceName: string;
4388
+ // 区域编码
4389
+ serviceZone?: string;
4390
+ // 渠道
4391
+ channel?: string;
4392
+ // 决策租户
4393
+ decisionTenant?: string;
4394
+ // 是否启用
4395
+ status?: string;
4396
+ // 创建时间,格式:yyyy-MM-dd HH:mm:ss
4397
+ createTime?: string;
4398
+ static names(): { [key: string]: string } {
4399
+ return {
4400
+ id: 'id',
4401
+ serviceName: 'service_name',
4402
+ serviceZone: 'service_zone',
4403
+ channel: 'channel',
4404
+ decisionTenant: 'decision_tenant',
4405
+ status: 'status',
4406
+ createTime: 'create_time',
4407
+ };
4408
+ }
4409
+
4410
+ static types(): { [key: string]: any } {
4411
+ return {
4412
+ id: 'string',
4413
+ serviceName: 'string',
4414
+ serviceZone: 'string',
4415
+ channel: 'string',
4416
+ decisionTenant: 'string',
4417
+ status: 'string',
4418
+ createTime: 'string',
4419
+ };
4420
+ }
4421
+
4422
+ constructor(map?: { [key: string]: any }) {
4423
+ super(map);
4424
+ }
4425
+ }
4426
+
4341
4427
  // 服务上下文包括环境信息和用户信息
4342
4428
  export class ServiceContext extends $tea.Model {
4343
4429
  // 客户端IP
@@ -13051,11 +13137,485 @@ export class QueryQmpTextsmsTemplateResponse extends $tea.Model {
13051
13137
  reqMsgId: 'string',
13052
13138
  resultCode: 'string',
13053
13139
  resultMsg: 'string',
13054
- total: 'number',
13055
- pageNum: 'number',
13056
- pageSize: 'number',
13057
- extInfo: 'string',
13058
- smsTemplates: { 'type': 'array', 'itemType': SmsTemplate },
13140
+ total: 'number',
13141
+ pageNum: 'number',
13142
+ pageSize: 'number',
13143
+ extInfo: 'string',
13144
+ smsTemplates: { 'type': 'array', 'itemType': SmsTemplate },
13145
+ };
13146
+ }
13147
+
13148
+ constructor(map?: { [key: string]: any }) {
13149
+ super(map);
13150
+ }
13151
+ }
13152
+
13153
+ export class PushQmpBackflowEventRequest extends $tea.Model {
13154
+ // OAuth模式下的授权token
13155
+ authToken?: string;
13156
+ productInstanceId?: string;
13157
+ // 回流事件id,对应租户回流事件id
13158
+ eventId: number;
13159
+ // 回流事件记录列表
13160
+ eventRecords: BackflowEventRecord[];
13161
+ static names(): { [key: string]: string } {
13162
+ return {
13163
+ authToken: 'auth_token',
13164
+ productInstanceId: 'product_instance_id',
13165
+ eventId: 'event_id',
13166
+ eventRecords: 'event_records',
13167
+ };
13168
+ }
13169
+
13170
+ static types(): { [key: string]: any } {
13171
+ return {
13172
+ authToken: 'string',
13173
+ productInstanceId: 'string',
13174
+ eventId: 'number',
13175
+ eventRecords: { 'type': 'array', 'itemType': BackflowEventRecord },
13176
+ };
13177
+ }
13178
+
13179
+ constructor(map?: { [key: string]: any }) {
13180
+ super(map);
13181
+ }
13182
+ }
13183
+
13184
+ export class PushQmpBackflowEventResponse extends $tea.Model {
13185
+ // 请求唯一ID,用于链路跟踪和问题排查
13186
+ reqMsgId?: string;
13187
+ // 结果码,一般OK表示调用成功
13188
+ resultCode?: string;
13189
+ // 异常信息的文本描述
13190
+ resultMsg?: string;
13191
+ static names(): { [key: string]: string } {
13192
+ return {
13193
+ reqMsgId: 'req_msg_id',
13194
+ resultCode: 'result_code',
13195
+ resultMsg: 'result_msg',
13196
+ };
13197
+ }
13198
+
13199
+ static types(): { [key: string]: any } {
13200
+ return {
13201
+ reqMsgId: 'string',
13202
+ resultCode: 'string',
13203
+ resultMsg: 'string',
13204
+ };
13205
+ }
13206
+
13207
+ constructor(map?: { [key: string]: any }) {
13208
+ super(map);
13209
+ }
13210
+ }
13211
+
13212
+ export class PushQmpBackflowJsondataRequest extends $tea.Model {
13213
+ // OAuth模式下的授权token
13214
+ authToken?: string;
13215
+ productInstanceId?: string;
13216
+ // 回流事件id,对应租户回流事件id
13217
+ eventId: number;
13218
+ // 回流事件记录列表
13219
+ eventRecords: string;
13220
+ static names(): { [key: string]: string } {
13221
+ return {
13222
+ authToken: 'auth_token',
13223
+ productInstanceId: 'product_instance_id',
13224
+ eventId: 'event_id',
13225
+ eventRecords: 'event_records',
13226
+ };
13227
+ }
13228
+
13229
+ static types(): { [key: string]: any } {
13230
+ return {
13231
+ authToken: 'string',
13232
+ productInstanceId: 'string',
13233
+ eventId: 'number',
13234
+ eventRecords: 'string',
13235
+ };
13236
+ }
13237
+
13238
+ constructor(map?: { [key: string]: any }) {
13239
+ super(map);
13240
+ }
13241
+ }
13242
+
13243
+ export class PushQmpBackflowJsondataResponse extends $tea.Model {
13244
+ // 请求唯一ID,用于链路跟踪和问题排查
13245
+ reqMsgId?: string;
13246
+ // 结果码,一般OK表示调用成功
13247
+ resultCode?: string;
13248
+ // 异常信息的文本描述
13249
+ resultMsg?: string;
13250
+ static names(): { [key: string]: string } {
13251
+ return {
13252
+ reqMsgId: 'req_msg_id',
13253
+ resultCode: 'result_code',
13254
+ resultMsg: 'result_msg',
13255
+ };
13256
+ }
13257
+
13258
+ static types(): { [key: string]: any } {
13259
+ return {
13260
+ reqMsgId: 'string',
13261
+ resultCode: 'string',
13262
+ resultMsg: 'string',
13263
+ };
13264
+ }
13265
+
13266
+ constructor(map?: { [key: string]: any }) {
13267
+ super(map);
13268
+ }
13269
+ }
13270
+
13271
+ export class SyncRdaasTaxAuthinfoRequest extends $tea.Model {
13272
+ // OAuth模式下的授权token
13273
+ authToken?: string;
13274
+ productInstanceId?: string;
13275
+ // 应用id
13276
+ appId: string;
13277
+ // 授权类型
13278
+ authType: string;
13279
+ // 税号
13280
+ nsrsbh: string;
13281
+ // 应用key
13282
+ appKey?: string;
13283
+ // 授权状态:Y-有效,N-无效
13284
+ authStatus?: string;
13285
+ // 省份编码
13286
+ proCode?: string;
13287
+ // 城市编码
13288
+ cityCode?: string;
13289
+ // 授权回调地址
13290
+ authCallbackUrl?: string;
13291
+ // 过期时间,格式: yyyy-MM-dd HH:mm:ss
13292
+ expireDate?: string;
13293
+ // 最近一次授权成功的订单号
13294
+ orderNo?: string;
13295
+ // 授权场景
13296
+ authScene?: string;
13297
+ // 授权成功时间,格式:yyyy-MM-dd HH:mm:ss
13298
+ authStartTime?: string;
13299
+ // 授权创建时间,格式: yyyy-MM-dd HH:mm:ss
13300
+ authCreateTime?: string;
13301
+ // 企业名称
13302
+ corpName?: string;
13303
+ static names(): { [key: string]: string } {
13304
+ return {
13305
+ authToken: 'auth_token',
13306
+ productInstanceId: 'product_instance_id',
13307
+ appId: 'app_id',
13308
+ authType: 'auth_type',
13309
+ nsrsbh: 'nsrsbh',
13310
+ appKey: 'app_key',
13311
+ authStatus: 'auth_status',
13312
+ proCode: 'pro_code',
13313
+ cityCode: 'city_code',
13314
+ authCallbackUrl: 'auth_callback_url',
13315
+ expireDate: 'expire_date',
13316
+ orderNo: 'order_no',
13317
+ authScene: 'auth_scene',
13318
+ authStartTime: 'auth_start_time',
13319
+ authCreateTime: 'auth_create_time',
13320
+ corpName: 'corp_name',
13321
+ };
13322
+ }
13323
+
13324
+ static types(): { [key: string]: any } {
13325
+ return {
13326
+ authToken: 'string',
13327
+ productInstanceId: 'string',
13328
+ appId: 'string',
13329
+ authType: 'string',
13330
+ nsrsbh: 'string',
13331
+ appKey: 'string',
13332
+ authStatus: 'string',
13333
+ proCode: 'string',
13334
+ cityCode: 'string',
13335
+ authCallbackUrl: 'string',
13336
+ expireDate: 'string',
13337
+ orderNo: 'string',
13338
+ authScene: 'string',
13339
+ authStartTime: 'string',
13340
+ authCreateTime: 'string',
13341
+ corpName: 'string',
13342
+ };
13343
+ }
13344
+
13345
+ constructor(map?: { [key: string]: any }) {
13346
+ super(map);
13347
+ }
13348
+ }
13349
+
13350
+ export class SyncRdaasTaxAuthinfoResponse extends $tea.Model {
13351
+ // 请求唯一ID,用于链路跟踪和问题排查
13352
+ reqMsgId?: string;
13353
+ // 结果码,一般OK表示调用成功
13354
+ resultCode?: string;
13355
+ // 异常信息的文本描述
13356
+ resultMsg?: string;
13357
+ static names(): { [key: string]: string } {
13358
+ return {
13359
+ reqMsgId: 'req_msg_id',
13360
+ resultCode: 'result_code',
13361
+ resultMsg: 'result_msg',
13362
+ };
13363
+ }
13364
+
13365
+ static types(): { [key: string]: any } {
13366
+ return {
13367
+ reqMsgId: 'string',
13368
+ resultCode: 'string',
13369
+ resultMsg: 'string',
13370
+ };
13371
+ }
13372
+
13373
+ constructor(map?: { [key: string]: any }) {
13374
+ super(map);
13375
+ }
13376
+ }
13377
+
13378
+ export class SyncRdaasTaxAuthorderRequest extends $tea.Model {
13379
+ // OAuth模式下的授权token
13380
+ authToken?: string;
13381
+ productInstanceId?: string;
13382
+ // 租户号
13383
+ instCode: string;
13384
+ // 授权类型
13385
+ authType: string;
13386
+ // 税号
13387
+ identityId?: string;
13388
+ // 授权因子
13389
+ factorValue?: string;
13390
+ // 第二授权因子
13391
+ secondFactorValue?: string;
13392
+ // 授权订单号
13393
+ orderNo: string;
13394
+ // 内容
13395
+ content?: string;
13396
+ // 过期时间
13397
+ expireTime?: string;
13398
+ // 授权场景
13399
+ authScene?: string;
13400
+ // 授权状态
13401
+ authStatus?: string;
13402
+ // 授权成功时间,格式:yyyy-MM-dd HH:mm:ss
13403
+ authStartTime?: string;
13404
+ // 授权创建时间,格式: yyyy-MM-dd HH:mm:ss
13405
+ authCreateTime?: string;
13406
+ // 名称
13407
+ identityName?: string;
13408
+ // 企业实际所属税局地区编码
13409
+ taxZoneCode?: string;
13410
+ // 失败原因
13411
+ failReason?: string;
13412
+ static names(): { [key: string]: string } {
13413
+ return {
13414
+ authToken: 'auth_token',
13415
+ productInstanceId: 'product_instance_id',
13416
+ instCode: 'inst_code',
13417
+ authType: 'auth_type',
13418
+ identityId: 'identity_id',
13419
+ factorValue: 'factor_value',
13420
+ secondFactorValue: 'second_factor_value',
13421
+ orderNo: 'order_no',
13422
+ content: 'content',
13423
+ expireTime: 'expire_time',
13424
+ authScene: 'auth_scene',
13425
+ authStatus: 'auth_status',
13426
+ authStartTime: 'auth_start_time',
13427
+ authCreateTime: 'auth_create_time',
13428
+ identityName: 'identity_name',
13429
+ taxZoneCode: 'tax_zone_code',
13430
+ failReason: 'fail_reason',
13431
+ };
13432
+ }
13433
+
13434
+ static types(): { [key: string]: any } {
13435
+ return {
13436
+ authToken: 'string',
13437
+ productInstanceId: 'string',
13438
+ instCode: 'string',
13439
+ authType: 'string',
13440
+ identityId: 'string',
13441
+ factorValue: 'string',
13442
+ secondFactorValue: 'string',
13443
+ orderNo: 'string',
13444
+ content: 'string',
13445
+ expireTime: 'string',
13446
+ authScene: 'string',
13447
+ authStatus: 'string',
13448
+ authStartTime: 'string',
13449
+ authCreateTime: 'string',
13450
+ identityName: 'string',
13451
+ taxZoneCode: 'string',
13452
+ failReason: 'string',
13453
+ };
13454
+ }
13455
+
13456
+ constructor(map?: { [key: string]: any }) {
13457
+ super(map);
13458
+ }
13459
+ }
13460
+
13461
+ export class SyncRdaasTaxAuthorderResponse extends $tea.Model {
13462
+ // 请求唯一ID,用于链路跟踪和问题排查
13463
+ reqMsgId?: string;
13464
+ // 结果码,一般OK表示调用成功
13465
+ resultCode?: string;
13466
+ // 异常信息的文本描述
13467
+ resultMsg?: string;
13468
+ static names(): { [key: string]: string } {
13469
+ return {
13470
+ reqMsgId: 'req_msg_id',
13471
+ resultCode: 'result_code',
13472
+ resultMsg: 'result_msg',
13473
+ };
13474
+ }
13475
+
13476
+ static types(): { [key: string]: any } {
13477
+ return {
13478
+ reqMsgId: 'string',
13479
+ resultCode: 'string',
13480
+ resultMsg: 'string',
13481
+ };
13482
+ }
13483
+
13484
+ constructor(map?: { [key: string]: any }) {
13485
+ super(map);
13486
+ }
13487
+ }
13488
+
13489
+ export class NotifyRdaasTaxCallbackRequest extends $tea.Model {
13490
+ // OAuth模式下的授权token
13491
+ authToken?: string;
13492
+ productInstanceId?: string;
13493
+ // 通知场景
13494
+ notifyScene: string;
13495
+ // 租户号
13496
+ instCode: string;
13497
+ // 解决方案id
13498
+ solutionId?: string;
13499
+ // 通知回调地址
13500
+ callbackUrl?: string;
13501
+ // 业务参数
13502
+ jsonBizParams?: string;
13503
+ static names(): { [key: string]: string } {
13504
+ return {
13505
+ authToken: 'auth_token',
13506
+ productInstanceId: 'product_instance_id',
13507
+ notifyScene: 'notify_scene',
13508
+ instCode: 'inst_code',
13509
+ solutionId: 'solution_id',
13510
+ callbackUrl: 'callback_url',
13511
+ jsonBizParams: 'json_biz_params',
13512
+ };
13513
+ }
13514
+
13515
+ static types(): { [key: string]: any } {
13516
+ return {
13517
+ authToken: 'string',
13518
+ productInstanceId: 'string',
13519
+ notifyScene: 'string',
13520
+ instCode: 'string',
13521
+ solutionId: 'string',
13522
+ callbackUrl: 'string',
13523
+ jsonBizParams: 'string',
13524
+ };
13525
+ }
13526
+
13527
+ constructor(map?: { [key: string]: any }) {
13528
+ super(map);
13529
+ }
13530
+ }
13531
+
13532
+ export class NotifyRdaasTaxCallbackResponse extends $tea.Model {
13533
+ // 请求唯一ID,用于链路跟踪和问题排查
13534
+ reqMsgId?: string;
13535
+ // 结果码,一般OK表示调用成功
13536
+ resultCode?: string;
13537
+ // 异常信息的文本描述
13538
+ resultMsg?: string;
13539
+ // 通知是否成功
13540
+ data?: boolean;
13541
+ static names(): { [key: string]: string } {
13542
+ return {
13543
+ reqMsgId: 'req_msg_id',
13544
+ resultCode: 'result_code',
13545
+ resultMsg: 'result_msg',
13546
+ data: 'data',
13547
+ };
13548
+ }
13549
+
13550
+ static types(): { [key: string]: any } {
13551
+ return {
13552
+ reqMsgId: 'string',
13553
+ resultCode: 'string',
13554
+ resultMsg: 'string',
13555
+ data: 'boolean',
13556
+ };
13557
+ }
13558
+
13559
+ constructor(map?: { [key: string]: any }) {
13560
+ super(map);
13561
+ }
13562
+ }
13563
+
13564
+ export class QueryRdaasTaxRpadecisionserviceRequest extends $tea.Model {
13565
+ // OAuth模式下的授权token
13566
+ authToken?: string;
13567
+ productInstanceId?: string;
13568
+ // 决策服务
13569
+ serviceName: string;
13570
+ // 决策租户
13571
+ decisionTenant: string;
13572
+ static names(): { [key: string]: string } {
13573
+ return {
13574
+ authToken: 'auth_token',
13575
+ productInstanceId: 'product_instance_id',
13576
+ serviceName: 'service_name',
13577
+ decisionTenant: 'decision_tenant',
13578
+ };
13579
+ }
13580
+
13581
+ static types(): { [key: string]: any } {
13582
+ return {
13583
+ authToken: 'string',
13584
+ productInstanceId: 'string',
13585
+ serviceName: 'string',
13586
+ decisionTenant: 'string',
13587
+ };
13588
+ }
13589
+
13590
+ constructor(map?: { [key: string]: any }) {
13591
+ super(map);
13592
+ }
13593
+ }
13594
+
13595
+ export class QueryRdaasTaxRpadecisionserviceResponse extends $tea.Model {
13596
+ // 请求唯一ID,用于链路跟踪和问题排查
13597
+ reqMsgId?: string;
13598
+ // 结果码,一般OK表示调用成功
13599
+ resultCode?: string;
13600
+ // 异常信息的文本描述
13601
+ resultMsg?: string;
13602
+ // 决策服务列表
13603
+ data?: RdaasTaxDecsionService[];
13604
+ static names(): { [key: string]: string } {
13605
+ return {
13606
+ reqMsgId: 'req_msg_id',
13607
+ resultCode: 'result_code',
13608
+ resultMsg: 'result_msg',
13609
+ data: 'data',
13610
+ };
13611
+ }
13612
+
13613
+ static types(): { [key: string]: any } {
13614
+ return {
13615
+ reqMsgId: 'string',
13616
+ resultCode: 'string',
13617
+ resultMsg: 'string',
13618
+ data: { 'type': 'array', 'itemType': RdaasTaxDecsionService },
13059
13619
  };
13060
13620
  }
13061
13621
 
@@ -13064,20 +13624,23 @@ export class QueryQmpTextsmsTemplateResponse extends $tea.Model {
13064
13624
  }
13065
13625
  }
13066
13626
 
13067
- export class PushQmpBackflowEventRequest extends $tea.Model {
13627
+ export class QueryRdaasTaxRpadecisionindicatorRequest extends $tea.Model {
13068
13628
  // OAuth模式下的授权token
13069
13629
  authToken?: string;
13070
13630
  productInstanceId?: string;
13071
- // 回流事件id,对应租户回流事件id
13072
- eventId: number;
13073
- // 回流事件记录列表
13074
- eventRecords: BackflowEventRecord[];
13631
+ // 决策服务id
13632
+ serviceId: string;
13633
+ // 决策属性名称,目前一种属性: 比重-weight
13634
+ propertyName?: string;
13635
+ // 决策租户
13636
+ decisionTenant?: string;
13075
13637
  static names(): { [key: string]: string } {
13076
13638
  return {
13077
13639
  authToken: 'auth_token',
13078
13640
  productInstanceId: 'product_instance_id',
13079
- eventId: 'event_id',
13080
- eventRecords: 'event_records',
13641
+ serviceId: 'service_id',
13642
+ propertyName: 'property_name',
13643
+ decisionTenant: 'decision_tenant',
13081
13644
  };
13082
13645
  }
13083
13646
 
@@ -13085,8 +13648,9 @@ export class PushQmpBackflowEventRequest extends $tea.Model {
13085
13648
  return {
13086
13649
  authToken: 'string',
13087
13650
  productInstanceId: 'string',
13088
- eventId: 'number',
13089
- eventRecords: { 'type': 'array', 'itemType': BackflowEventRecord },
13651
+ serviceId: 'string',
13652
+ propertyName: 'string',
13653
+ decisionTenant: 'string',
13090
13654
  };
13091
13655
  }
13092
13656
 
@@ -13095,18 +13659,21 @@ export class PushQmpBackflowEventRequest extends $tea.Model {
13095
13659
  }
13096
13660
  }
13097
13661
 
13098
- export class PushQmpBackflowEventResponse extends $tea.Model {
13662
+ export class QueryRdaasTaxRpadecisionindicatorResponse extends $tea.Model {
13099
13663
  // 请求唯一ID,用于链路跟踪和问题排查
13100
13664
  reqMsgId?: string;
13101
13665
  // 结果码,一般OK表示调用成功
13102
13666
  resultCode?: string;
13103
13667
  // 异常信息的文本描述
13104
13668
  resultMsg?: string;
13669
+ // 决策指标
13670
+ data?: RdaasTaxDecsionServiceIndicator[];
13105
13671
  static names(): { [key: string]: string } {
13106
13672
  return {
13107
13673
  reqMsgId: 'req_msg_id',
13108
13674
  resultCode: 'result_code',
13109
13675
  resultMsg: 'result_msg',
13676
+ data: 'data',
13110
13677
  };
13111
13678
  }
13112
13679
 
@@ -13115,6 +13682,7 @@ export class PushQmpBackflowEventResponse extends $tea.Model {
13115
13682
  reqMsgId: 'string',
13116
13683
  resultCode: 'string',
13117
13684
  resultMsg: 'string',
13685
+ data: { 'type': 'array', 'itemType': RdaasTaxDecsionServiceIndicator },
13118
13686
  };
13119
13687
  }
13120
13688
 
@@ -13123,20 +13691,23 @@ export class PushQmpBackflowEventResponse extends $tea.Model {
13123
13691
  }
13124
13692
  }
13125
13693
 
13126
- export class PushQmpBackflowJsondataRequest extends $tea.Model {
13694
+ export class QueryRdaasTaxSimpleauthdecisionRequest extends $tea.Model {
13127
13695
  // OAuth模式下的授权token
13128
13696
  authToken?: string;
13129
13697
  productInstanceId?: string;
13130
- // 回流事件id,对应租户回流事件id
13131
- eventId: number;
13132
- // 回流事件记录列表
13133
- eventRecords: string;
13698
+ // 决策租户
13699
+ decisionTenant: string;
13700
+ // 授权类型
13701
+ authType: string;
13702
+ // 省份
13703
+ provinceCode: string;
13134
13704
  static names(): { [key: string]: string } {
13135
13705
  return {
13136
13706
  authToken: 'auth_token',
13137
13707
  productInstanceId: 'product_instance_id',
13138
- eventId: 'event_id',
13139
- eventRecords: 'event_records',
13708
+ decisionTenant: 'decision_tenant',
13709
+ authType: 'auth_type',
13710
+ provinceCode: 'province_code',
13140
13711
  };
13141
13712
  }
13142
13713
 
@@ -13144,8 +13715,9 @@ export class PushQmpBackflowJsondataRequest extends $tea.Model {
13144
13715
  return {
13145
13716
  authToken: 'string',
13146
13717
  productInstanceId: 'string',
13147
- eventId: 'number',
13148
- eventRecords: 'string',
13718
+ decisionTenant: 'string',
13719
+ authType: 'string',
13720
+ provinceCode: 'string',
13149
13721
  };
13150
13722
  }
13151
13723
 
@@ -13154,18 +13726,21 @@ export class PushQmpBackflowJsondataRequest extends $tea.Model {
13154
13726
  }
13155
13727
  }
13156
13728
 
13157
- export class PushQmpBackflowJsondataResponse extends $tea.Model {
13729
+ export class QueryRdaasTaxSimpleauthdecisionResponse extends $tea.Model {
13158
13730
  // 请求唯一ID,用于链路跟踪和问题排查
13159
13731
  reqMsgId?: string;
13160
13732
  // 结果码,一般OK表示调用成功
13161
13733
  resultCode?: string;
13162
13734
  // 异常信息的文本描述
13163
13735
  resultMsg?: string;
13736
+ // json决策结果
13737
+ data?: string;
13164
13738
  static names(): { [key: string]: string } {
13165
13739
  return {
13166
13740
  reqMsgId: 'req_msg_id',
13167
13741
  resultCode: 'result_code',
13168
13742
  resultMsg: 'result_msg',
13743
+ data: 'data',
13169
13744
  };
13170
13745
  }
13171
13746
 
@@ -13174,6 +13749,7 @@ export class PushQmpBackflowJsondataResponse extends $tea.Model {
13174
13749
  reqMsgId: 'string',
13175
13750
  resultCode: 'string',
13176
13751
  resultMsg: 'string',
13752
+ data: 'string',
13177
13753
  };
13178
13754
  }
13179
13755
 
@@ -14664,6 +15240,89 @@ export class PushRbbCustomerStatusResponse extends $tea.Model {
14664
15240
  }
14665
15241
  }
14666
15242
 
15243
+ export class PushRbbInvoiceChargeRequest extends $tea.Model {
15244
+ // OAuth模式下的授权token
15245
+ authToken?: string;
15246
+ productInstanceId?: string;
15247
+ // 租户码
15248
+ tenantCode: string;
15249
+ // 授权类型
15250
+ bizType: string;
15251
+ // 计费项,主租户:税号,子租户:子租户|税号
15252
+ customerId: string;
15253
+ // 请求id
15254
+ taskRequestId: string;
15255
+ // 利润共享方
15256
+ benefitSharePartner: string;
15257
+ // 计费时间
15258
+ feeTime: string;
15259
+ // 税号
15260
+ sharding: string;
15261
+ // true为接收侧提交账单,false接收侧不用提交账单
15262
+ receiverSubmitBill: boolean;
15263
+ static names(): { [key: string]: string } {
15264
+ return {
15265
+ authToken: 'auth_token',
15266
+ productInstanceId: 'product_instance_id',
15267
+ tenantCode: 'tenant_code',
15268
+ bizType: 'biz_type',
15269
+ customerId: 'customer_id',
15270
+ taskRequestId: 'task_request_id',
15271
+ benefitSharePartner: 'benefit_share_partner',
15272
+ feeTime: 'fee_time',
15273
+ sharding: 'sharding',
15274
+ receiverSubmitBill: 'receiver_submit_bill',
15275
+ };
15276
+ }
15277
+
15278
+ static types(): { [key: string]: any } {
15279
+ return {
15280
+ authToken: 'string',
15281
+ productInstanceId: 'string',
15282
+ tenantCode: 'string',
15283
+ bizType: 'string',
15284
+ customerId: 'string',
15285
+ taskRequestId: 'string',
15286
+ benefitSharePartner: 'string',
15287
+ feeTime: 'string',
15288
+ sharding: 'string',
15289
+ receiverSubmitBill: 'boolean',
15290
+ };
15291
+ }
15292
+
15293
+ constructor(map?: { [key: string]: any }) {
15294
+ super(map);
15295
+ }
15296
+ }
15297
+
15298
+ export class PushRbbInvoiceChargeResponse extends $tea.Model {
15299
+ // 请求唯一ID,用于链路跟踪和问题排查
15300
+ reqMsgId?: string;
15301
+ // 结果码,一般OK表示调用成功
15302
+ resultCode?: string;
15303
+ // 异常信息的文本描述
15304
+ resultMsg?: string;
15305
+ static names(): { [key: string]: string } {
15306
+ return {
15307
+ reqMsgId: 'req_msg_id',
15308
+ resultCode: 'result_code',
15309
+ resultMsg: 'result_msg',
15310
+ };
15311
+ }
15312
+
15313
+ static types(): { [key: string]: any } {
15314
+ return {
15315
+ reqMsgId: 'string',
15316
+ resultCode: 'string',
15317
+ resultMsg: 'string',
15318
+ };
15319
+ }
15320
+
15321
+ constructor(map?: { [key: string]: any }) {
15322
+ super(map);
15323
+ }
15324
+ }
15325
+
14667
15326
  export class PushRpaasReportAnswerRequest extends $tea.Model {
14668
15327
  // OAuth模式下的授权token
14669
15328
  authToken?: string;
@@ -20758,6 +21417,71 @@ export class QueryUmktOfflinedecisionPlandetailsResponse extends $tea.Model {
20758
21417
  }
20759
21418
  }
20760
21419
 
21420
+ export class UploadUmktOfflineImportrecordRequest extends $tea.Model {
21421
+ // OAuth模式下的授权token
21422
+ authToken?: string;
21423
+ productInstanceId?: string;
21424
+ // 文件上传后返回的fileId
21425
+ fileObject?: Readable;
21426
+ fileObjectName?: string;
21427
+ fileId: string;
21428
+ // 文件内手机号类型
21429
+ fileTemplate: string;
21430
+ static names(): { [key: string]: string } {
21431
+ return {
21432
+ authToken: 'auth_token',
21433
+ productInstanceId: 'product_instance_id',
21434
+ fileObject: 'fileObject',
21435
+ fileObjectName: 'fileObjectName',
21436
+ fileId: 'file_id',
21437
+ fileTemplate: 'file_template',
21438
+ };
21439
+ }
21440
+
21441
+ static types(): { [key: string]: any } {
21442
+ return {
21443
+ authToken: 'string',
21444
+ productInstanceId: 'string',
21445
+ fileObject: 'Readable',
21446
+ fileObjectName: 'string',
21447
+ fileId: 'string',
21448
+ fileTemplate: 'string',
21449
+ };
21450
+ }
21451
+
21452
+ constructor(map?: { [key: string]: any }) {
21453
+ super(map);
21454
+ }
21455
+ }
21456
+
21457
+ export class UploadUmktOfflineImportrecordResponse extends $tea.Model {
21458
+ // 请求唯一ID,用于链路跟踪和问题排查
21459
+ reqMsgId?: string;
21460
+ // 结果码,一般OK表示调用成功
21461
+ resultCode?: string;
21462
+ // 异常信息的文本描述
21463
+ resultMsg?: string;
21464
+ static names(): { [key: string]: string } {
21465
+ return {
21466
+ reqMsgId: 'req_msg_id',
21467
+ resultCode: 'result_code',
21468
+ resultMsg: 'result_msg',
21469
+ };
21470
+ }
21471
+
21472
+ static types(): { [key: string]: any } {
21473
+ return {
21474
+ reqMsgId: 'string',
21475
+ resultCode: 'string',
21476
+ resultMsg: 'string',
21477
+ };
21478
+ }
21479
+
21480
+ constructor(map?: { [key: string]: any }) {
21481
+ super(map);
21482
+ }
21483
+ }
21484
+
20761
21485
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
20762
21486
  // OAuth模式下的授权token
20763
21487
  authToken?: string;
@@ -20959,7 +21683,7 @@ export default class Client {
20959
21683
  req_msg_id: AntchainUtil.getNonce(),
20960
21684
  access_key: this._accessKeyId,
20961
21685
  base_sdk_version: "TeaSDK-2.0",
20962
- sdk_version: "1.21.0",
21686
+ sdk_version: "1.22.0",
20963
21687
  _prod_code: "RISKPLUS",
20964
21688
  _prod_channel: "undefined",
20965
21689
  };
@@ -22992,6 +23716,120 @@ export default class Client {
22992
23716
  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
23717
  }
22994
23718
 
23719
+ /**
23720
+ * Description: 企管盾票税交接授权信息表的同步
23721
+ * Summary: 企管盾票税交接授权信息表的同步
23722
+ */
23723
+ async syncRdaasTaxAuthinfo(request: SyncRdaasTaxAuthinfoRequest): Promise<SyncRdaasTaxAuthinfoResponse> {
23724
+ let runtime = new $Util.RuntimeOptions({ });
23725
+ let headers : {[key: string ]: string} = { };
23726
+ return await this.syncRdaasTaxAuthinfoEx(request, headers, runtime);
23727
+ }
23728
+
23729
+ /**
23730
+ * Description: 企管盾票税交接授权信息表的同步
23731
+ * Summary: 企管盾票税交接授权信息表的同步
23732
+ */
23733
+ async syncRdaasTaxAuthinfoEx(request: SyncRdaasTaxAuthinfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncRdaasTaxAuthinfoResponse> {
23734
+ Util.validateModel(request);
23735
+ 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({}));
23736
+ }
23737
+
23738
+ /**
23739
+ * Description: 企管盾票税交接授权记录表的同步
23740
+ * Summary: 企管盾票税交接授权记录表的同步
23741
+ */
23742
+ async syncRdaasTaxAuthorder(request: SyncRdaasTaxAuthorderRequest): Promise<SyncRdaasTaxAuthorderResponse> {
23743
+ let runtime = new $Util.RuntimeOptions({ });
23744
+ let headers : {[key: string ]: string} = { };
23745
+ return await this.syncRdaasTaxAuthorderEx(request, headers, runtime);
23746
+ }
23747
+
23748
+ /**
23749
+ * Description: 企管盾票税交接授权记录表的同步
23750
+ * Summary: 企管盾票税交接授权记录表的同步
23751
+ */
23752
+ async syncRdaasTaxAuthorderEx(request: SyncRdaasTaxAuthorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncRdaasTaxAuthorderResponse> {
23753
+ Util.validateModel(request);
23754
+ 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({}));
23755
+ }
23756
+
23757
+ /**
23758
+ * Description: 企管盾票税交接回调通知
23759
+ * Summary: 企管盾票税交接回调通知
23760
+ */
23761
+ async notifyRdaasTaxCallback(request: NotifyRdaasTaxCallbackRequest): Promise<NotifyRdaasTaxCallbackResponse> {
23762
+ let runtime = new $Util.RuntimeOptions({ });
23763
+ let headers : {[key: string ]: string} = { };
23764
+ return await this.notifyRdaasTaxCallbackEx(request, headers, runtime);
23765
+ }
23766
+
23767
+ /**
23768
+ * Description: 企管盾票税交接回调通知
23769
+ * Summary: 企管盾票税交接回调通知
23770
+ */
23771
+ async notifyRdaasTaxCallbackEx(request: NotifyRdaasTaxCallbackRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<NotifyRdaasTaxCallbackResponse> {
23772
+ Util.validateModel(request);
23773
+ 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({}));
23774
+ }
23775
+
23776
+ /**
23777
+ * Description: 企管盾票税交接RPA决策服务查询
23778
+ * Summary: 企管盾票税交接RPA决策服务查询
23779
+ */
23780
+ async queryRdaasTaxRpadecisionservice(request: QueryRdaasTaxRpadecisionserviceRequest): Promise<QueryRdaasTaxRpadecisionserviceResponse> {
23781
+ let runtime = new $Util.RuntimeOptions({ });
23782
+ let headers : {[key: string ]: string} = { };
23783
+ return await this.queryRdaasTaxRpadecisionserviceEx(request, headers, runtime);
23784
+ }
23785
+
23786
+ /**
23787
+ * Description: 企管盾票税交接RPA决策服务查询
23788
+ * Summary: 企管盾票税交接RPA决策服务查询
23789
+ */
23790
+ async queryRdaasTaxRpadecisionserviceEx(request: QueryRdaasTaxRpadecisionserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRdaasTaxRpadecisionserviceResponse> {
23791
+ Util.validateModel(request);
23792
+ 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({}));
23793
+ }
23794
+
23795
+ /**
23796
+ * Description: 企管盾票税交接RPA决策服务指标查询
23797
+ * Summary: 企管盾票税交接RPA决策服务指标查询
23798
+ */
23799
+ async queryRdaasTaxRpadecisionindicator(request: QueryRdaasTaxRpadecisionindicatorRequest): Promise<QueryRdaasTaxRpadecisionindicatorResponse> {
23800
+ let runtime = new $Util.RuntimeOptions({ });
23801
+ let headers : {[key: string ]: string} = { };
23802
+ return await this.queryRdaasTaxRpadecisionindicatorEx(request, headers, runtime);
23803
+ }
23804
+
23805
+ /**
23806
+ * Description: 企管盾票税交接RPA决策服务指标查询
23807
+ * Summary: 企管盾票税交接RPA决策服务指标查询
23808
+ */
23809
+ async queryRdaasTaxRpadecisionindicatorEx(request: QueryRdaasTaxRpadecisionindicatorRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRdaasTaxRpadecisionindicatorResponse> {
23810
+ Util.validateModel(request);
23811
+ 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({}));
23812
+ }
23813
+
23814
+ /**
23815
+ * Description: 企管盾票税交接要素授权决策查询
23816
+ * Summary: 企管盾票税交接要素授权决策查询
23817
+ */
23818
+ async queryRdaasTaxSimpleauthdecision(request: QueryRdaasTaxSimpleauthdecisionRequest): Promise<QueryRdaasTaxSimpleauthdecisionResponse> {
23819
+ let runtime = new $Util.RuntimeOptions({ });
23820
+ let headers : {[key: string ]: string} = { };
23821
+ return await this.queryRdaasTaxSimpleauthdecisionEx(request, headers, runtime);
23822
+ }
23823
+
23824
+ /**
23825
+ * Description: 企管盾票税交接要素授权决策查询
23826
+ * Summary: 企管盾票税交接要素授权决策查询
23827
+ */
23828
+ async queryRdaasTaxSimpleauthdecisionEx(request: QueryRdaasTaxSimpleauthdecisionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRdaasTaxSimpleauthdecisionResponse> {
23829
+ Util.validateModel(request);
23830
+ 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({}));
23831
+ }
23832
+
22995
23833
  /**
22996
23834
  * Description: 风险大脑企业版通用查询接口
22997
23835
  * Summary: 【已废弃】
@@ -23432,6 +24270,25 @@ export default class Client {
23432
24270
  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
24271
  }
23434
24272
 
24273
+ /**
24274
+ * Description: 票税计费处理推送,由票税侧请求
24275
+ * Summary: 票税计费处理推送
24276
+ */
24277
+ async pushRbbInvoiceCharge(request: PushRbbInvoiceChargeRequest): Promise<PushRbbInvoiceChargeResponse> {
24278
+ let runtime = new $Util.RuntimeOptions({ });
24279
+ let headers : {[key: string ]: string} = { };
24280
+ return await this.pushRbbInvoiceChargeEx(request, headers, runtime);
24281
+ }
24282
+
24283
+ /**
24284
+ * Description: 票税计费处理推送,由票税侧请求
24285
+ * Summary: 票税计费处理推送
24286
+ */
24287
+ async pushRbbInvoiceChargeEx(request: PushRbbInvoiceChargeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushRbbInvoiceChargeResponse> {
24288
+ Util.validateModel(request);
24289
+ 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({}));
24290
+ }
24291
+
23435
24292
  /**
23436
24293
  * Description: 报告结果推送,算法调用
23437
24294
  * Summary: 报告结果推送
@@ -24905,6 +25762,47 @@ export default class Client {
24905
25762
  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
25763
  }
24907
25764
 
25765
+ /**
25766
+ * Description: 营销盾离线圈投一体文件上传
25767
+ * Summary: 营销盾离线圈投一体文件上传
25768
+ */
25769
+ async uploadUmktOfflineImportrecord(request: UploadUmktOfflineImportrecordRequest): Promise<UploadUmktOfflineImportrecordResponse> {
25770
+ let runtime = new $Util.RuntimeOptions({ });
25771
+ let headers : {[key: string ]: string} = { };
25772
+ return await this.uploadUmktOfflineImportrecordEx(request, headers, runtime);
25773
+ }
25774
+
25775
+ /**
25776
+ * Description: 营销盾离线圈投一体文件上传
25777
+ * Summary: 营销盾离线圈投一体文件上传
25778
+ */
25779
+ async uploadUmktOfflineImportrecordEx(request: UploadUmktOfflineImportrecordRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UploadUmktOfflineImportrecordResponse> {
25780
+ if (!Util.isUnset(request.fileObject)) {
25781
+ let uploadReq = new CreateAntcloudGatewayxFileUploadRequest({
25782
+ authToken: request.authToken,
25783
+ apiCode: "riskplus.umkt.offline.importrecord.upload",
25784
+ fileName: request.fileObjectName,
25785
+ });
25786
+ let uploadResp = await this.createAntcloudGatewayxFileUploadEx(uploadReq, headers, runtime);
25787
+ if (!AntchainUtil.isSuccess(uploadResp.resultCode, "ok")) {
25788
+ let uploadUmktOfflineImportrecordResponse = new UploadUmktOfflineImportrecordResponse({
25789
+ reqMsgId: uploadResp.reqMsgId,
25790
+ resultCode: uploadResp.resultCode,
25791
+ resultMsg: uploadResp.resultMsg,
25792
+ });
25793
+ return uploadUmktOfflineImportrecordResponse;
25794
+ }
25795
+
25796
+ let uploadHeaders = AntchainUtil.parseUploadHeaders(uploadResp.uploadHeaders);
25797
+ await AntchainUtil.putObject(request.fileObject, uploadHeaders, uploadResp.uploadUrl);
25798
+ request.fileId = uploadResp.fileId;
25799
+ request.fileObject = null;
25800
+ }
25801
+
25802
+ Util.validateModel(request);
25803
+ 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({}));
25804
+ }
25805
+
24908
25806
  /**
24909
25807
  * Description: 创建HTTP PUT提交的文件上传
24910
25808
  * Summary: 文件上传创建