tencentcloud-sdk-nodejs 4.0.438 → 4.0.439

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +472 -0
  2. package/SERVICE_CHANGELOG.md +654 -281
  3. package/package.json +1 -1
  4. package/products.md +20 -20
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +5 -0
  7. package/src/services/cfw/v20190904/cfw_client.ts +12 -0
  8. package/src/services/cfw/v20190904/cfw_models.ts +52 -2
  9. package/src/services/clb/v20180317/clb_models.ts +5 -0
  10. package/src/services/cpdp/v20190820/cpdp_models.ts +18 -0
  11. package/src/services/cwp/v20180228/cwp_client.ts +192 -53
  12. package/src/services/cwp/v20180228/cwp_models.ts +1332 -321
  13. package/src/services/ecm/v20190719/ecm_models.ts +9 -0
  14. package/src/services/ess/v20201111/ess_client.ts +3 -2
  15. package/src/services/essbasic/v20210526/essbasic_client.ts +39 -12
  16. package/src/services/essbasic/v20210526/essbasic_models.ts +273 -102
  17. package/src/services/gme/v20180711/gme_client.ts +15 -2
  18. package/src/services/gme/v20180711/gme_models.ts +68 -13
  19. package/src/services/monitor/v20180724/monitor_client.ts +17 -4
  20. package/src/services/monitor/v20180724/monitor_models.ts +162 -53
  21. package/src/services/ms/v20180408/ms_client.ts +26 -11
  22. package/src/services/ms/v20180408/ms_models.ts +224 -27
  23. package/src/services/ocr/v20181119/ocr_client.ts +18 -3
  24. package/src/services/ocr/v20181119/ocr_models.ts +166 -76
  25. package/src/services/rum/v20210622/rum_models.ts +15 -0
  26. package/src/services/sqlserver/v20180328/sqlserver_client.ts +104 -16
  27. package/src/services/sqlserver/v20180328/sqlserver_models.ts +906 -411
  28. package/src/services/taf/v20200210/taf_client.ts +1 -15
  29. package/src/services/taf/v20200210/taf_models.ts +8 -96
  30. package/src/services/teo/v20220106/teo_models.ts +17 -11
  31. package/src/services/trtc/v20190722/trtc_models.ts +2 -2
  32. package/src/services/vod/v20180717/vod_models.ts +2 -2
  33. package/tencentcloud/common/sdk_version.d.ts +1 -1
  34. package/tencentcloud/common/sdk_version.js +1 -1
  35. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +4 -0
  36. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +5 -1
  37. package/tencentcloud/services/cfw/v20190904/cfw_client.js +6 -0
  38. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +43 -2
  39. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -0
  40. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +15 -0
  41. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +64 -17
  42. package/tencentcloud/services/cwp/v20180228/cwp_client.js +93 -24
  43. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1138 -300
  44. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +8 -0
  45. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +2 -1
  46. package/tencentcloud/services/ess/v20201111/ess_client.js +2 -1
  47. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +14 -4
  48. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +18 -4
  49. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +226 -83
  50. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +5 -1
  51. package/tencentcloud/services/gme/v20180711/gme_client.js +6 -0
  52. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +58 -11
  53. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
  54. package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
  55. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +139 -48
  56. package/tencentcloud/services/ms/v20180408/ms_client.d.ts +8 -4
  57. package/tencentcloud/services/ms/v20180408/ms_client.js +10 -4
  58. package/tencentcloud/services/ms/v20180408/ms_models.d.ts +194 -27
  59. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -1
  60. package/tencentcloud/services/ocr/v20181119/ocr_client.js +7 -0
  61. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +141 -63
  62. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +12 -0
  63. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +31 -3
  64. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +45 -3
  65. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +758 -344
  66. package/tencentcloud/services/taf/v20200210/taf_client.d.ts +1 -5
  67. package/tencentcloud/services/taf/v20200210/taf_client.js +0 -6
  68. package/tencentcloud/services/taf/v20200210/taf_models.d.ts +7 -82
  69. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +16 -11
  70. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
  71. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +2 -2
  72. package/test/cfw.v20190904.test.js +10 -0
  73. package/test/cwp.v20180228.test.js +128 -18
  74. package/test/essbasic.v20210526.test.js +22 -2
  75. package/test/gme.v20180711.test.js +10 -0
  76. package/test/monitor.v20180724.test.js +10 -0
  77. package/test/ms.v20180408.test.js +12 -2
  78. package/test/ocr.v20181119.test.js +10 -0
  79. package/test/sqlserver.v20180328.test.js +72 -2
  80. package/test/taf.v20200210.test.js +0 -10
@@ -750,6 +750,31 @@ export interface AppInfo {
750
750
  AppName?: string
751
751
  }
752
752
 
753
+ /**
754
+ * DescribeShieldPlanInstance返回参数结构体
755
+ */
756
+ export interface DescribeShieldPlanInstanceResponse {
757
+ /**
758
+ * 绑定资源信息
759
+ */
760
+ BindInfo: BindInfo
761
+
762
+ /**
763
+ * 加固策略信息
764
+ */
765
+ ShieldPlanInfo: ShieldPlanInfo
766
+
767
+ /**
768
+ * 加固资源信息
769
+ */
770
+ ResourceServiceInfo: ResourceServiceInfo
771
+
772
+ /**
773
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
774
+ */
775
+ RequestId?: string
776
+ }
777
+
753
778
  /**
754
779
  * 提交app加固的服务信息
755
780
  */
@@ -786,48 +811,175 @@ export interface SoInfo {
786
811
  }
787
812
 
788
813
  /**
789
- * DescribeShieldPlanInstance返回参数结构体
814
+ * 安全扫描敏感词
790
815
  */
791
- export interface DescribeShieldPlanInstanceResponse {
816
+ export interface ScanSensitiveInfo {
792
817
  /**
793
- * 绑定资源信息
818
+ * 敏感词
794
819
  */
795
- BindInfo: BindInfo
820
+ WordList: Array<string>
796
821
 
797
822
  /**
798
- * 加固策略信息
823
+ * 敏感词对应的文件信息
799
824
  */
800
- ShieldPlanInfo: ShieldPlanInfo
825
+ FilePath: string
801
826
 
802
827
  /**
803
- * 加固资源信息
828
+ * 文件sha1值
804
829
  */
805
- ResourceServiceInfo: ResourceServiceInfo
830
+ FileSha: string
831
+ }
806
832
 
833
+ /**
834
+ * APK检测服务:广告插件结果结构体
835
+ */
836
+ export interface PluginListItem {
807
837
  /**
808
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
838
+ * 数字类型,分别为 1-通知栏广告,2-积分墙广告,3-banner广告,4- 悬浮窗图标广告,5-精品推荐列表广告, 6-插播广告
809
839
  */
810
- RequestId?: string
840
+ PluginType: string
841
+
842
+ /**
843
+ * 广告插件名称
844
+ */
845
+ PluginName: string
846
+
847
+ /**
848
+ * 广告插件描述
849
+ */
850
+ PluginDesc: string
811
851
  }
812
852
 
813
853
  /**
814
- * 安全扫描敏感词
854
+ * DescribeApkDetectionResult请求参数结构体
815
855
  */
816
- export interface ScanSensitiveInfo {
856
+ export interface DescribeApkDetectionResultRequest {
817
857
  /**
818
- * 敏感词
858
+ * 软件包的下载链接
819
859
  */
820
- WordList: Array<string>
860
+ ApkUrl: string
821
861
 
822
862
  /**
823
- * 敏感词对应的文件信息
863
+ * 软件包的md5值,具有唯一性。腾讯APK云检测服务会根据md5值来判断该包是否为库中已收集的样本,已存在,则返回检测结果,反之,需要一定时间检测该样本。
824
864
  */
825
- FilePath: string
865
+ ApkMd5: string
866
+ }
826
867
 
868
+ /**
869
+ * APK检测服务参数返回具体信息
870
+ */
871
+ export interface ResultListItem {
827
872
  /**
828
- * 文件sha1值
873
+ * banner广告软件标记,分别为-1-不确定,0-否,1-是
829
874
  */
830
- FileSha: string
875
+ Banner: string
876
+
877
+ /**
878
+ * 精品推荐列表广告标记,分别为-1-不确定,0-否,1-是
879
+ */
880
+ BoutiqueRecommand: string
881
+
882
+ /**
883
+ * 悬浮窗图标广告标记,分别为-1-不确定,0-否,1-是
884
+ */
885
+ FloatWindows: string
886
+
887
+ /**
888
+ * 积分墙广告软件标记,分别为 -1 -不确定,0-否,1-是
889
+ */
890
+ IntegralWall: string
891
+
892
+ /**
893
+ * 安装包的md5
894
+ */
895
+ Md5: string
896
+
897
+ /**
898
+ * 通知栏广告软件标记,分别为-1-不确定,0-否,1-是
899
+ */
900
+ NotifyBar: string
901
+
902
+ /**
903
+ * 1表示官方,0表示非官方
904
+ */
905
+ Official: string
906
+
907
+ /**
908
+ * 广告插件结果列表
909
+ */
910
+ PluginList: Array<PluginListItem>
911
+
912
+ /**
913
+ * 非广告插件结果列表(SDK、风险插件等)
914
+ */
915
+ OptPluginList: Array<OptPluginListItem>
916
+
917
+ /**
918
+ * 数字类型,分别为0-未知, 1-安全软件,2-风险软件,3-病毒软件
919
+ */
920
+ SafeType: string
921
+
922
+ /**
923
+ * Session id,合作方可以用来区分回调数据,需要唯一。
924
+ */
925
+ Sid: string
926
+
927
+ /**
928
+ * 安装包名称
929
+ */
930
+ SoftName: string
931
+
932
+ /**
933
+ * 插播广告软件标记,取值:-1 不确定,0否, 1 是
934
+ */
935
+ Spot: string
936
+
937
+ /**
938
+ * 病毒名称,utf8编码
939
+ */
940
+ VirusName: string
941
+
942
+ /**
943
+ * 病毒描述,utf8编码
944
+ */
945
+ VirusDesc: string
946
+
947
+ /**
948
+ * 二次打包状态:0-表示默认;1-表示二次
949
+ */
950
+ RepackageStatus: string
951
+
952
+ /**
953
+ * 应用错误码:0、1-表示正常;
954
+
955
+ 2表示System Error(engine analysis error).
956
+
957
+ 3表示App analysis error, please confirm it.
958
+
959
+ 4表示App have not cert, please confirm it.
960
+
961
+ 5表示App size is zero, please confirm it.
962
+
963
+ 6表示App have not package name, please confirm it.
964
+
965
+ 7表示App build time is empty, please confirm it.
966
+
967
+ 8表示App have not valid cert, please confirm it.
968
+
969
+ 99表示Other error.
970
+
971
+ 1000表示App downloadlink download fail, please confirm it.
972
+
973
+ 1001表示APP md5 different between real md5, please confirm it.
974
+
975
+ 1002表示App md5 uncollect, please offer downloadlink.
976
+ */
977
+ Errno: string
978
+
979
+ /**
980
+ * 对应errno的错误信息描述
981
+ */
982
+ ErrMsg: string
831
983
  }
832
984
 
833
985
  /**
@@ -1051,14 +1203,9 @@ export interface ShieldInfo {
1051
1203
  }
1052
1204
 
1053
1205
  /**
1054
- * 安全扫描系统权限信息
1206
+ * DescribeUserBaseInfoInstance请求参数结构体
1055
1207
  */
1056
- export interface ScanPermissionList {
1057
- /**
1058
- * 系统权限信息
1059
- */
1060
- PermissionList: Array<ScanPermissionInfo>
1061
- }
1208
+ export type DescribeUserBaseInfoInstanceRequest = null
1062
1209
 
1063
1210
  /**
1064
1211
  * CreateResourceInstances返回参数结构体
@@ -1196,9 +1343,29 @@ export interface DescribeScanInstancesRequest {
1196
1343
  }
1197
1344
 
1198
1345
  /**
1199
- * DescribeUserBaseInfoInstance请求参数结构体
1346
+ * DescribeApkDetectionResult返回参数结构体
1200
1347
  */
1201
- export type DescribeUserBaseInfoInstanceRequest = null
1348
+ export interface DescribeApkDetectionResultResponse {
1349
+ /**
1350
+ * 响应结果,ok表示正常,error表示错误
1351
+ */
1352
+ Result: string
1353
+
1354
+ /**
1355
+ * Result为error错误时的原因说明
1356
+ */
1357
+ Reason: string
1358
+
1359
+ /**
1360
+ * APK检测结果数组
1361
+ */
1362
+ ResultList: Array<ResultListItem>
1363
+
1364
+ /**
1365
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1366
+ */
1367
+ RequestId?: string
1368
+ }
1202
1369
 
1203
1370
  /**
1204
1371
  * DescribeResourceInstances返回参数结构体
@@ -1515,6 +1682,36 @@ export interface BindInfo {
1515
1682
  AppPkgName: string
1516
1683
  }
1517
1684
 
1685
+ /**
1686
+ * 安全扫描系统权限信息
1687
+ */
1688
+ export interface ScanPermissionList {
1689
+ /**
1690
+ * 系统权限信息
1691
+ */
1692
+ PermissionList: Array<ScanPermissionInfo>
1693
+ }
1694
+
1695
+ /**
1696
+ * APK检测服务:非广告插件结果列表(SDK、风险插件等)
1697
+ */
1698
+ export interface OptPluginListItem {
1699
+ /**
1700
+ * 非广告类型
1701
+ */
1702
+ PluginType: string
1703
+
1704
+ /**
1705
+ * 非广告插件名称
1706
+ */
1707
+ PluginName: string
1708
+
1709
+ /**
1710
+ * 非广告插件描述
1711
+ */
1712
+ PluginDesc: string
1713
+ }
1714
+
1518
1715
  /**
1519
1716
  * DeleteScanInstances请求参数结构体
1520
1717
  */
@@ -94,7 +94,7 @@ import {
94
94
  GeneralBasicOCRResponse,
95
95
  RecognizeThaiIDCardOCRResponse,
96
96
  CellContent,
97
- RecognizePhilippinesDrivingLicenseOCRResponse,
97
+ RecognizeMedicalInvoiceOCRResponse,
98
98
  MixedInvoiceOCRResponse,
99
99
  ClassifyDetectOCRResponse,
100
100
  VatInvoiceVerifyNewRequest,
@@ -106,6 +106,7 @@ import {
106
106
  TollInvoiceOCRRequest,
107
107
  LicensePlateOCRResponse,
108
108
  HKIDCardOCRResponse,
109
+ MedicalInvoiceInfo,
109
110
  VatInvoiceGoodsInfo,
110
111
  PermitOCRRequest,
111
112
  InvoiceGeneralOCRResponse,
@@ -143,6 +144,7 @@ import {
143
144
  VerifyEnterpriseFourFactorsRequest,
144
145
  RecognizeIndonesiaIDCardOCRRequest,
145
146
  ShipInvoiceInfo,
147
+ Polygon,
146
148
  GeneralAccurateOCRRequest,
147
149
  OrgCodeCertOCRRequest,
148
150
  FlightInvoiceOCRResponse,
@@ -168,6 +170,7 @@ import {
168
170
  BankSlipOCRResponse,
169
171
  PassInvoiceInfo,
170
172
  QuestionObj,
173
+ VehicleRegCertOCRResponse,
171
174
  VinOCRResponse,
172
175
  EduPaperOCRRequest,
173
176
  FormulaOCRRequest,
@@ -183,10 +186,10 @@ import {
183
186
  ResidenceBookletOCRResponse,
184
187
  CarInvoiceOCRResponse,
185
188
  GeneralFastOCRRequest,
186
- Polygon,
189
+ MedicalInvoiceItem,
187
190
  ShipInvoiceOCRResponse,
188
191
  InsuranceBillInfo,
189
- VehicleRegCertOCRResponse,
192
+ RecognizeMedicalInvoiceOCRRequest,
190
193
  ClassifyDetectInfo,
191
194
  GeneralEfficientOCRResponse,
192
195
  ShipInvoiceOCRRequest,
@@ -229,6 +232,7 @@ import {
229
232
  QuotaInvoiceOCRRequest,
230
233
  BankCardOCRResponse,
231
234
  BusinessCardOCRRequest,
235
+ RecognizePhilippinesDrivingLicenseOCRResponse,
232
236
  FinanBillOCRRequest,
233
237
  VerifyEnterpriseFourFactorsResponse,
234
238
  GeneralFastOCRResponse,
@@ -642,6 +646,17 @@ export class Client extends AbstractClient {
642
646
  return this.request("InvoiceGeneralOCR", req, cb)
643
647
  }
644
648
 
649
+ /**
650
+ * 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
651
+
652
+ */
653
+ async RecognizeMedicalInvoiceOCR(
654
+ req: RecognizeMedicalInvoiceOCRRequest,
655
+ cb?: (error: string, rep: RecognizeMedicalInvoiceOCRResponse) => void
656
+ ): Promise<RecognizeMedicalInvoiceOCRResponse> {
657
+ return this.request("RecognizeMedicalInvoiceOCR", req, cb)
658
+ }
659
+
645
660
  /**
646
661
  * 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
647
662
  */
@@ -2474,68 +2474,18 @@ export interface CellContent {
2474
2474
  }
2475
2475
 
2476
2476
  /**
2477
- * RecognizePhilippinesDrivingLicenseOCR返回参数结构体
2477
+ * RecognizeMedicalInvoiceOCR返回参数结构体
2478
2478
  */
2479
- export interface RecognizePhilippinesDrivingLicenseOCRResponse {
2480
- /**
2481
- * 人像照片Base64后的结果
2482
- */
2483
- HeadPortrait: TextDetectionResult
2484
-
2485
- /**
2486
- * 姓名
2487
- */
2488
- Name: TextDetectionResult
2489
-
2490
- /**
2491
- * 姓氏
2492
- */
2493
- LastName: TextDetectionResult
2494
-
2495
- /**
2496
- * 首姓名
2497
- */
2498
- FirstName: TextDetectionResult
2499
-
2500
- /**
2501
- * 中间姓名
2502
- */
2503
- MiddleName: TextDetectionResult
2504
-
2479
+ export interface RecognizeMedicalInvoiceOCRResponse {
2505
2480
  /**
2506
- * 国籍
2507
- */
2508
- Nationality: TextDetectionResult
2509
-
2510
- /**
2511
- * 性别
2512
- */
2513
- Sex: TextDetectionResult
2514
-
2515
- /**
2516
- * 地址
2517
- */
2518
- Address: TextDetectionResult
2519
-
2520
- /**
2521
- * 证号
2522
- */
2523
- LicenseNo: TextDetectionResult
2524
-
2525
- /**
2526
- * 有效期
2527
- */
2528
- ExpiresDate: TextDetectionResult
2529
-
2530
- /**
2531
- * 机构代码
2481
+ * 识别出的字段信息
2532
2482
  */
2533
- AgencyCode: TextDetectionResult
2483
+ MedicalInvoiceInfos: Array<MedicalInvoiceInfo>
2534
2484
 
2535
2485
  /**
2536
- * 出生日期
2486
+ * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
2537
2487
  */
2538
- Birthday: TextDetectionResult
2488
+ Angle: number
2539
2489
 
2540
2490
  /**
2541
2491
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2960,6 +2910,16 @@ export interface HKIDCardOCRResponse {
2960
2910
  RequestId?: string
2961
2911
  }
2962
2912
 
2913
+ /**
2914
+ * 医疗发票识别结果
2915
+ */
2916
+ export interface MedicalInvoiceInfo {
2917
+ /**
2918
+ * 医疗发票识别结果条目
2919
+ */
2920
+ MedicalInvoiceItems: Array<MedicalInvoiceItem>
2921
+ }
2922
+
2963
2923
  /**
2964
2924
  * 发票商品
2965
2925
  */
@@ -4336,6 +4296,32 @@ export interface ShipInvoiceInfo {
4336
4296
  Rect: Rect
4337
4297
  }
4338
4298
 
4299
+ /**
4300
+ * 文本的坐标,以四个顶点坐标表示
4301
+ 注意:此字段可能返回 null,表示取不到有效值
4302
+ */
4303
+ export interface Polygon {
4304
+ /**
4305
+ * 左上顶点坐标
4306
+ */
4307
+ LeftTop: Coord
4308
+
4309
+ /**
4310
+ * 右上顶点坐标
4311
+ */
4312
+ RightTop: Coord
4313
+
4314
+ /**
4315
+ * 右下顶点坐标
4316
+ */
4317
+ RightBottom: Coord
4318
+
4319
+ /**
4320
+ * 左下顶点坐标
4321
+ */
4322
+ LeftBottom: Coord
4323
+ }
4324
+
4339
4325
  /**
4340
4326
  * GeneralAccurateOCR请求参数结构体
4341
4327
  */
@@ -5032,6 +5018,21 @@ export interface QuestionObj {
5032
5018
  QuestionImageCoords: Array<Rect>
5033
5019
  }
5034
5020
 
5021
+ /**
5022
+ * VehicleRegCertOCR返回参数结构体
5023
+ */
5024
+ export interface VehicleRegCertOCRResponse {
5025
+ /**
5026
+ * 机动车登记证书识别结果,具体内容请点击左侧链接。
5027
+ */
5028
+ VehicleRegCertInfos: Array<VehicleRegCertInfo>
5029
+
5030
+ /**
5031
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5032
+ */
5033
+ RequestId?: string
5034
+ }
5035
+
5035
5036
  /**
5036
5037
  * VinOCR返回参数结构体
5037
5038
  */
@@ -5594,29 +5595,31 @@ export interface GeneralFastOCRRequest {
5594
5595
  }
5595
5596
 
5596
5597
  /**
5597
- * 文本的坐标,以四个顶点坐标表示
5598
- 注意:此字段可能返回 null,表示取不到有效值
5598
+ * 医疗发票识别结果
5599
5599
  */
5600
- export interface Polygon {
5600
+ export interface MedicalInvoiceItem {
5601
5601
  /**
5602
- * 左上顶点坐标
5603
- */
5604
- LeftTop: Coord
5602
+ * 识别出的字段名称
5603
+ <table><tr><td>分类</td><td>name</td></tr><tr><td>票据基本信息</td><td>发票名称</td></tr><tr><td></td><td>票据代码</td></tr><tr><td></td><td>票据号码</td></tr><tr><td></td><td>电子票据代码</td></tr><tr><td></td><td>电子票据号码</td></tr><tr><td></td><td>交款人统一社会信用代码</td></tr><tr><td></td><td>校验码</td></tr><tr><td></td><td>交款人</td></tr><tr><td></td><td>开票日期</td></tr><tr><td></td><td>收款单位</td></tr><tr><td></td><td>复核人</td></tr><tr><td></td><td>收款人</td></tr><tr><td></td><td>业务流水号</td></tr><tr><td></td><td>门诊号</td></tr><tr><td></td><td>就诊日期</td></tr><tr><td></td><td>医疗机构类型</td></tr><tr><td></td><td>医保类型</td></tr><tr><td></td><td>医保编号</td></tr><tr><td></td><td>性别</td></tr><tr><td></td><td>医保统筹基金支付</td></tr><tr><td></td><td>其他支付</td></tr><tr><td></td><td>个人账户支付</td></tr><tr><td></td><td>个人现金支付</td></tr><tr><td></td><td>个人自付</td></tr><tr><td></td><td>个人自费</td></tr><tr><td></td><td>病历号</td></tr><tr><td></td><td>住院号</td></tr><tr><td></td><td>住院科别</td></tr><tr><td></td><td>住院时间</td></tr><tr><td></td><td>预缴金额</td></tr><tr><td></td><td>补缴金额</td></tr><tr><td></td><td>退费金额</td></tr><tr><td></td><td>发票属地</td></tr><tr><td></td><td>发票类型</td></tr><tr><td>总金额</td><td>总金额大写</td></tr><tr><td></td><td>总金额小写</td></tr><tr><td>收费大项</td><td>大项名称</td></tr><tr><td></td><td>大项金额</td></tr><tr><td>收费细项</td><td>项目名称</td></tr><tr><td></td><td>数量</td></tr><tr><td></td><td>单位</td></tr><tr><td></td><td>金额</td></tr><tr><td></td><td>备注</td></tr><tr><td>票据其他信息</td><td>入院时间</td></tr><tr><td></td><td>出院时间</td></tr><tr><td></td><td>住院天数</td></tr><tr><td></td><td>自付二</td></tr><tr><td></td><td>自付一</td></tr><tr><td></td><td>起付金额</td></tr><tr><td></td><td>超封顶金额</td></tr><tr><td></td><td>自费</td></tr><tr><td></td><td>本次医保范围内金额</td></tr><tr><td></td><td>累计医保内范围金额</td></tr><tr><td></td><td>门诊大额支付</td></tr><tr><td></td><td>残军补助支付</td></tr><tr><td></td><td>年度门诊大额累计支付</td></tr><tr><td></td><td>单位补充险[原公疗]支付</td></tr><tr><td></td><td>社会保障卡号</td></tr><tr><td></td><td>姓名</td></tr><tr><td></td><td>交易流水号</td></tr><tr><td></td><td>本次支付后个人账户余额</td></tr><tr><td></td><td>基金支付</td></tr><tr><td></td><td>现金支付</td></tr><tr><td></td><td>复核</td></tr><tr><td></td><td>自负</td></tr><tr><td></td><td>结算方式</td></tr><tr><td></td><td>医保统筹/公医记账</td></tr><tr><td></td><td>其他</td></tr><tr><td></td><td>个人支付金额</td></tr><tr><td></td><td>欠费</td></tr><tr><td></td><td>退休补充支付</td></tr><tr><td></td><td>医院类型</td></tr><tr><td></td><td>退款</td></tr><tr><td></td><td>补收</td></tr><tr><td></td><td>附加支付</td></tr><tr><td></td><td>分类自负</td></tr><tr><td></td><td>其它</td></tr><tr><td></td><td>预交款</td></tr><tr><td></td><td>个人缴费</td></tr></table>
5604
+ */
5605
+ Name: string
5605
5606
 
5606
5607
  /**
5607
- * 右上顶点坐标
5608
+ * 识别出的字段名称对应的值,也就是字段name对应的字符串结果
5608
5609
  */
5609
- RightTop: Coord
5610
+ Content: string
5610
5611
 
5611
5612
  /**
5612
- * 右下顶点坐标
5613
- */
5614
- RightBottom: Coord
5613
+ * 识别出的文本行四点坐标
5614
+ 注意:此字段可能返回 null,表示取不到有效值。
5615
+ */
5616
+ Vertex: Polygon
5615
5617
 
5616
5618
  /**
5617
- * 左下顶点坐标
5618
- */
5619
- LeftBottom: Coord
5619
+ * 识别出的文本行在旋转纠正之后的图像中的像素坐标
5620
+ 注意:此字段可能返回 null,表示取不到有效值。
5621
+ */
5622
+ Coord: Rect
5620
5623
  }
5621
5624
 
5622
5625
  /**
@@ -5663,18 +5666,35 @@ export interface InsuranceBillInfo {
5663
5666
  }
5664
5667
 
5665
5668
  /**
5666
- * VehicleRegCertOCR返回参数结构体
5669
+ * RecognizeMedicalInvoiceOCR请求参数结构体
5667
5670
  */
5668
- export interface VehicleRegCertOCRResponse {
5671
+ export interface RecognizeMedicalInvoiceOCRRequest {
5669
5672
  /**
5670
- * 机动车登记证书识别结果,具体内容请点击左侧链接。
5673
+ * 图片的Base64 值。
5674
+ 支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5675
+ 支持的图片大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
5676
+ 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
5677
+ */
5678
+ ImageBase64?: string
5679
+
5680
+ /**
5681
+ * 图片的Url 地址。
5682
+ 支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5683
+ 支持的图片大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
5684
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
5685
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
5686
+ */
5687
+ ImageUrl?: string
5688
+
5689
+ /**
5690
+ * 是否需要返回识别出的文本行在原图上的四点坐标,默认不返回
5671
5691
  */
5672
- VehicleRegCertInfos: Array<VehicleRegCertInfo>
5692
+ ReturnVertex?: boolean
5673
5693
 
5674
5694
  /**
5675
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5695
+ * 是否需要返回识别出的文本行在旋转纠正之后的图像中的四点坐标,默认不返回
5676
5696
  */
5677
- RequestId?: string
5697
+ ReturnCoord?: boolean
5678
5698
  }
5679
5699
 
5680
5700
  /**
@@ -7223,6 +7243,76 @@ Config = {"RetImageType":"PROPROCESS"}
7223
7243
  Config?: string
7224
7244
  }
7225
7245
 
7246
+ /**
7247
+ * RecognizePhilippinesDrivingLicenseOCR返回参数结构体
7248
+ */
7249
+ export interface RecognizePhilippinesDrivingLicenseOCRResponse {
7250
+ /**
7251
+ * 人像照片Base64后的结果
7252
+ */
7253
+ HeadPortrait: TextDetectionResult
7254
+
7255
+ /**
7256
+ * 姓名
7257
+ */
7258
+ Name: TextDetectionResult
7259
+
7260
+ /**
7261
+ * 姓氏
7262
+ */
7263
+ LastName: TextDetectionResult
7264
+
7265
+ /**
7266
+ * 首姓名
7267
+ */
7268
+ FirstName: TextDetectionResult
7269
+
7270
+ /**
7271
+ * 中间姓名
7272
+ */
7273
+ MiddleName: TextDetectionResult
7274
+
7275
+ /**
7276
+ * 国籍
7277
+ */
7278
+ Nationality: TextDetectionResult
7279
+
7280
+ /**
7281
+ * 性别
7282
+ */
7283
+ Sex: TextDetectionResult
7284
+
7285
+ /**
7286
+ * 地址
7287
+ */
7288
+ Address: TextDetectionResult
7289
+
7290
+ /**
7291
+ * 证号
7292
+ */
7293
+ LicenseNo: TextDetectionResult
7294
+
7295
+ /**
7296
+ * 有效期
7297
+ */
7298
+ ExpiresDate: TextDetectionResult
7299
+
7300
+ /**
7301
+ * 机构代码
7302
+ */
7303
+ AgencyCode: TextDetectionResult
7304
+
7305
+ /**
7306
+ * 出生日期
7307
+ */
7308
+ Birthday: TextDetectionResult
7309
+
7310
+ /**
7311
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7312
+ */
7313
+ RequestId?: string
7314
+ }
7315
+
7226
7316
  /**
7227
7317
  * FinanBillOCR请求参数结构体
7228
7318
  */