tencentcloud-sdk-cii 1.0.245 → 1.0.246

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: caa01eca2132540dcbea8722d20fa2919bf731ae
4
- data.tar.gz: 91873b89c24b29ae7028d7b822eab7a994c8ed95
3
+ metadata.gz: b33bbb69fa226158aa0fc3334e2418a972244eff
4
+ data.tar.gz: af5dcc0989c44388a4afc9a3838ab42ab2cd02ff
5
5
  SHA512:
6
- metadata.gz: 67cc28d6187a25456ef8bbe7e0ce54439631b46f3921e42e84dbc82f9a6839b693b1eaff26d75439a018fc73eb5fdadef51c4dfee87dbbd7e4f9b80b1dd20a38
7
- data.tar.gz: 13d58bbdf06e13cb7526cc7f04bf8ddf3b09624590a1f14cad51efa76b776c80b840b71ffd3fc7dfe2c22af887bbc70745019b6daf38e198163b8f12583c30e7
6
+ metadata.gz: 5a3eb2ca03dc00eb9bed5ef458c6d181599f48f7ae4ca9a6bef04fd3570761dedfd30ab4ea1fdc5bc600b83da496893e82f9c69decc6810e3b151d19849eea04
7
+ data.tar.gz: 83d28f791ab23471e8868a79eb4a2625ce2fa49f93f7e6f1973813ab354119ed90b2c26e9228391a18314deb58b1341cef3a70e1ac5140c36d4715307b4286cc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.245
1
+ 1.0.246
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 中银三星需求,基于主任务批量添加结构化子任务
33
+
34
+ # @param request: Request instance for AddSubStructureTasks.
35
+ # @type request: :class:`Tencentcloud::cii::V20210408::AddSubStructureTasksRequest`
36
+ # @rtype: :class:`Tencentcloud::cii::V20210408::AddSubStructureTasksResponse`
37
+ def AddSubStructureTasks(request)
38
+ body = send_request('AddSubStructureTasks', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = AddSubStructureTasksResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 本接口(CreateAutoClassifyStructureTask)基于提供的客户及保单信息,创建并启动结构化识别任务。
33
57
 
34
58
  # @param request: Request instance for CreateAutoClassifyStructureTask.
@@ -125,6 +149,30 @@ module TencentCloud
125
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
150
  end
127
151
 
152
+ # saas页面集成了自动分类功能,该接口提供自动分类结果
153
+
154
+ # @param request: Request instance for DescribeReportClassify.
155
+ # @type request: :class:`Tencentcloud::cii::V20210408::DescribeReportClassifyRequest`
156
+ # @rtype: :class:`Tencentcloud::cii::V20210408::DescribeReportClassifyResponse`
157
+ def DescribeReportClassify(request)
158
+ body = send_request('DescribeReportClassify', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = DescribeReportClassifyResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
128
176
  # 结构化对比查询接口,对比结构化复核前后数据差异,查询识别正确率,召回率。
129
177
 
130
178
  # @param request: Request instance for DescribeStructCompareData.
@@ -221,6 +269,30 @@ module TencentCloud
221
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
270
  end
223
271
 
272
+ # 本接口(DescribeUnderwriteTask)用于查询核保任务结果
273
+
274
+ # @param request: Request instance for DescribeUnderwriteTask.
275
+ # @type request: :class:`Tencentcloud::cii::V20210408::DescribeUnderwriteTaskRequest`
276
+ # @rtype: :class:`Tencentcloud::cii::V20210408::DescribeUnderwriteTaskResponse`
277
+ def DescribeUnderwriteTask(request)
278
+ body = send_request('DescribeUnderwriteTask', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DescribeUnderwriteTaskResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
224
296
  # 上传医疗影像文件,可以用来做结构化。
225
297
 
226
298
  # @param request: Request instance for UploadMedicalFile.
@@ -17,6 +17,73 @@
17
17
  module TencentCloud
18
18
  module Cii
19
19
  module V20210408
20
+ # AddSubStructureTasks请求参数结构体
21
+ class AddSubStructureTasksRequest < TencentCloud::Common::AbstractModel
22
+ # @param MainTaskId: 主任务id
23
+ # @type MainTaskId: String
24
+ # @param TaskInfos: 子任务信息数组
25
+ # @type TaskInfos: Array
26
+
27
+ attr_accessor :MainTaskId, :TaskInfos
28
+
29
+ def initialize(maintaskid=nil, taskinfos=nil)
30
+ @MainTaskId = maintaskid
31
+ @TaskInfos = taskinfos
32
+ end
33
+
34
+ def deserialize(params)
35
+ @MainTaskId = params['MainTaskId']
36
+ unless params['TaskInfos'].nil?
37
+ @TaskInfos = []
38
+ params['TaskInfos'].each do |i|
39
+ createstructuretaskinfo_tmp = CreateStructureTaskInfo.new
40
+ createstructuretaskinfo_tmp.deserialize(i)
41
+ @TaskInfos << createstructuretaskinfo_tmp
42
+ end
43
+ end
44
+ end
45
+ end
46
+
47
+ # AddSubStructureTasks返回参数结构体
48
+ class AddSubStructureTasksResponse < TencentCloud::Common::AbstractModel
49
+ # @param SubTaskIds: 增量子任务id数组
50
+ # @type SubTaskIds: Array
51
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
52
+ # @type RequestId: String
53
+
54
+ attr_accessor :SubTaskIds, :RequestId
55
+
56
+ def initialize(subtaskids=nil, requestid=nil)
57
+ @SubTaskIds = subtaskids
58
+ @RequestId = requestid
59
+ end
60
+
61
+ def deserialize(params)
62
+ @SubTaskIds = params['SubTaskIds']
63
+ @RequestId = params['RequestId']
64
+ end
65
+ end
66
+
67
+ # 报告分类结果
68
+ class ClassifiedReports < TencentCloud::Common::AbstractModel
69
+ # @param ReportType: 报告类型
70
+ # @type ReportType: String
71
+ # @param FileList: 文件列表
72
+ # @type FileList: Array
73
+
74
+ attr_accessor :ReportType, :FileList
75
+
76
+ def initialize(reporttype=nil, filelist=nil)
77
+ @ReportType = reporttype
78
+ @FileList = filelist
79
+ end
80
+
81
+ def deserialize(params)
82
+ @ReportType = params['ReportType']
83
+ @FileList = params['FileList']
84
+ end
85
+ end
86
+
20
87
  # 报告分类信息
21
88
  class ClassifyInfo < TencentCloud::Common::AbstractModel
22
89
  # @param FirstClass: 一级分类
@@ -406,6 +473,53 @@ module TencentCloud
406
473
  end
407
474
  end
408
475
 
476
+ # DescribeReportClassify请求参数结构体
477
+ class DescribeReportClassifyRequest < TencentCloud::Common::AbstractModel
478
+ # @param ServiceType: 服务类型(Structured/Underwrite)
479
+ # @type ServiceType: String
480
+ # @param FileList: 文件地址数组
481
+ # @type FileList: Array
482
+
483
+ attr_accessor :ServiceType, :FileList
484
+
485
+ def initialize(servicetype=nil, filelist=nil)
486
+ @ServiceType = servicetype
487
+ @FileList = filelist
488
+ end
489
+
490
+ def deserialize(params)
491
+ @ServiceType = params['ServiceType']
492
+ @FileList = params['FileList']
493
+ end
494
+ end
495
+
496
+ # DescribeReportClassify返回参数结构体
497
+ class DescribeReportClassifyResponse < TencentCloud::Common::AbstractModel
498
+ # @param Reports: 报告分类结果
499
+ # @type Reports: Array
500
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
501
+ # @type RequestId: String
502
+
503
+ attr_accessor :Reports, :RequestId
504
+
505
+ def initialize(reports=nil, requestid=nil)
506
+ @Reports = reports
507
+ @RequestId = requestid
508
+ end
509
+
510
+ def deserialize(params)
511
+ unless params['Reports'].nil?
512
+ @Reports = []
513
+ params['Reports'].each do |i|
514
+ classifiedreports_tmp = ClassifiedReports.new
515
+ classifiedreports_tmp.deserialize(i)
516
+ @Reports << classifiedreports_tmp
517
+ end
518
+ end
519
+ @RequestId = params['RequestId']
520
+ end
521
+ end
522
+
409
523
  # DescribeStructCompareData请求参数结构体
410
524
  class DescribeStructCompareDataRequest < TencentCloud::Common::AbstractModel
411
525
  # @param MainTaskId: 主任务号
@@ -670,6 +784,73 @@ module TencentCloud
670
784
  end
671
785
  end
672
786
 
787
+ # DescribeUnderwriteTask请求参数结构体
788
+ class DescribeUnderwriteTaskRequest < TencentCloud::Common::AbstractModel
789
+ # @param UnderwriteTaskId: 任务ID
790
+ # @type UnderwriteTaskId: String
791
+
792
+ attr_accessor :UnderwriteTaskId
793
+
794
+ def initialize(underwritetaskid=nil)
795
+ @UnderwriteTaskId = underwritetaskid
796
+ end
797
+
798
+ def deserialize(params)
799
+ @UnderwriteTaskId = params['UnderwriteTaskId']
800
+ end
801
+ end
802
+
803
+ # DescribeUnderwriteTask返回参数结构体
804
+ class DescribeUnderwriteTaskResponse < TencentCloud::Common::AbstractModel
805
+ # @param Uin: 腾讯云主账号ID
806
+ # @type Uin: String
807
+ # @param SubAccountUin: 操作人子账户ID
808
+ # @type SubAccountUin: String
809
+ # @param PolicyId: 保单ID
810
+ # @type PolicyId: String
811
+ # @param MainTaskId: 主任务ID
812
+ # @type MainTaskId: String
813
+ # @param UnderwriteTaskId: 核保任务ID
814
+ # @type UnderwriteTaskId: String
815
+ # @param Status: 状态码
816
+ # @type Status: Integer
817
+ # @param UnderwriteResults: 核保结果
818
+ # @type UnderwriteResults: Array
819
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
820
+ # @type RequestId: String
821
+
822
+ attr_accessor :Uin, :SubAccountUin, :PolicyId, :MainTaskId, :UnderwriteTaskId, :Status, :UnderwriteResults, :RequestId
823
+
824
+ def initialize(uin=nil, subaccountuin=nil, policyid=nil, maintaskid=nil, underwritetaskid=nil, status=nil, underwriteresults=nil, requestid=nil)
825
+ @Uin = uin
826
+ @SubAccountUin = subaccountuin
827
+ @PolicyId = policyid
828
+ @MainTaskId = maintaskid
829
+ @UnderwriteTaskId = underwritetaskid
830
+ @Status = status
831
+ @UnderwriteResults = underwriteresults
832
+ @RequestId = requestid
833
+ end
834
+
835
+ def deserialize(params)
836
+ @Uin = params['Uin']
837
+ @SubAccountUin = params['SubAccountUin']
838
+ @PolicyId = params['PolicyId']
839
+ @MainTaskId = params['MainTaskId']
840
+ @UnderwriteTaskId = params['UnderwriteTaskId']
841
+ @Status = params['Status']
842
+ unless params['UnderwriteResults'].nil?
843
+ @UnderwriteResults = []
844
+ params['UnderwriteResults'].each do |i|
845
+ underwriteoutput_tmp = UnderwriteOutput.new
846
+ underwriteoutput_tmp.deserialize(i)
847
+ @UnderwriteResults << underwriteoutput_tmp
848
+ end
849
+ end
850
+ @RequestId = params['RequestId']
851
+ end
852
+ end
853
+
673
854
  # 包含险种的各个核保结论
674
855
  class InsuranceResult < TencentCloud::Common::AbstractModel
675
856
  # @param InsuranceType: 险种:CriticalDiseaseInsurance(重疾险);LifeInsurance(寿险);AccidentInsurance(意外险);MedicalInsurance(医疗险)
@@ -971,6 +1152,30 @@ module TencentCloud
971
1152
  end
972
1153
  end
973
1154
 
1155
+ # 核保结论 机器结论和人工结论统一数据结构
1156
+ class UnderwriteConclusion < TencentCloud::Common::AbstractModel
1157
+ # @param Type: 类型
1158
+ # @type Type: String
1159
+ # @param Conclusion: 结论
1160
+ # @type Conclusion: String
1161
+ # @param Explanation: 解释
1162
+ # @type Explanation: String
1163
+
1164
+ attr_accessor :Type, :Conclusion, :Explanation
1165
+
1166
+ def initialize(type=nil, conclusion=nil, explanation=nil)
1167
+ @Type = type
1168
+ @Conclusion = conclusion
1169
+ @Explanation = explanation
1170
+ end
1171
+
1172
+ def deserialize(params)
1173
+ @Type = params['Type']
1174
+ @Conclusion = params['Conclusion']
1175
+ @Explanation = params['Explanation']
1176
+ end
1177
+ end
1178
+
974
1179
  # 机器核保结论子项
975
1180
  class UnderwriteItem < TencentCloud::Common::AbstractModel
976
1181
  # @param Name: 字段名
@@ -995,6 +1200,52 @@ module TencentCloud
995
1200
  end
996
1201
  end
997
1202
 
1203
+ # 核保结果输出
1204
+ class UnderwriteOutput < TencentCloud::Common::AbstractModel
1205
+ # @param CustomerId: 客户ID
1206
+ # @type CustomerId: String
1207
+ # @param CustomerName: 客户姓名
1208
+ # @type CustomerName: String
1209
+ # @param Results: 结果
1210
+ # @type Results: Array
1211
+ # @param ReviewTime: 复核时间
1212
+ # @type ReviewTime: String
1213
+ # @param ManualDetail: 人工复核结果
1214
+ # @type ManualDetail: Array
1215
+
1216
+ attr_accessor :CustomerId, :CustomerName, :Results, :ReviewTime, :ManualDetail
1217
+
1218
+ def initialize(customerid=nil, customername=nil, results=nil, reviewtime=nil, manualdetail=nil)
1219
+ @CustomerId = customerid
1220
+ @CustomerName = customername
1221
+ @Results = results
1222
+ @ReviewTime = reviewtime
1223
+ @ManualDetail = manualdetail
1224
+ end
1225
+
1226
+ def deserialize(params)
1227
+ @CustomerId = params['CustomerId']
1228
+ @CustomerName = params['CustomerName']
1229
+ unless params['Results'].nil?
1230
+ @Results = []
1231
+ params['Results'].each do |i|
1232
+ insuranceresult_tmp = InsuranceResult.new
1233
+ insuranceresult_tmp.deserialize(i)
1234
+ @Results << insuranceresult_tmp
1235
+ end
1236
+ end
1237
+ @ReviewTime = params['ReviewTime']
1238
+ unless params['ManualDetail'].nil?
1239
+ @ManualDetail = []
1240
+ params['ManualDetail'].each do |i|
1241
+ underwriteconclusion_tmp = UnderwriteConclusion.new
1242
+ underwriteconclusion_tmp.deserialize(i)
1243
+ @ManualDetail << underwriteconclusion_tmp
1244
+ end
1245
+ end
1246
+ end
1247
+ end
1248
+
998
1249
  # UploadMedicalFile请求参数结构体
999
1250
  class UploadMedicalFileRequest < TencentCloud::Common::AbstractModel
1000
1251
  # @param File: 文件内容的base64的值。FileBase64与FileURL有一个不为空即可,若FileURL同时存在,那么取FileBase64。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cii
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.245
4
+ version: 1.0.246
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-19 00:00:00.000000000 Z
11
+ date: 2022-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common