tencentcloud-sdk-nodejs 4.0.356 → 4.0.357

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 (81) hide show
  1. package/CHANGELOG.md +270 -0
  2. package/SERVICE_CHANGELOG.md +491 -513
  3. package/package.json +1 -1
  4. package/products.md +14 -12
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/acp/index.ts +5 -0
  7. package/src/services/acp/v20220105/acp_client.ts +106 -0
  8. package/src/services/acp/v20220105/acp_models.ts +605 -0
  9. package/src/services/acp/v20220105/index.ts +6 -0
  10. package/src/services/ams/v20201229/ams_client.ts +2 -0
  11. package/src/services/ams/v20201229/ams_models.ts +54 -0
  12. package/src/services/asr/v20190614/asr_models.ts +2 -2
  13. package/src/services/bsca/v20210811/bsca_client.ts +12 -0
  14. package/src/services/bsca/v20210811/bsca_models.ts +25 -0
  15. package/src/services/ecm/v20190719/ecm_models.ts +10 -2
  16. package/src/services/emr/v20190103/emr_client.ts +6 -4
  17. package/src/services/emr/v20190103/emr_models.ts +7 -1
  18. package/src/services/index.ts +2 -0
  19. package/src/services/live/v20180801/live_client.ts +1 -1
  20. package/src/services/live/v20180801/live_models.ts +1 -1
  21. package/src/services/mmps/index.ts +5 -0
  22. package/src/services/mmps/v20200710/index.ts +6 -0
  23. package/src/services/mmps/v20200710/mmps_client.ts +167 -0
  24. package/src/services/mmps/v20200710/mmps_models.ts +846 -0
  25. package/src/services/ocr/v20181119/ocr_client.ts +38 -1
  26. package/src/services/ocr/v20181119/ocr_models.ts +329 -10
  27. package/src/services/tem/v20210701/tem_models.ts +7 -2
  28. package/src/services/tiia/v20190529/tiia_client.ts +17 -2
  29. package/src/services/tiia/v20190529/tiia_models.ts +74 -35
  30. package/src/services/tke/v20180525/tke_client.ts +1 -0
  31. package/src/services/tke/v20180525/tke_models.ts +20 -0
  32. package/src/services/vm/v20201229/vm_client.ts +2 -0
  33. package/src/services/vm/v20201229/vm_models.ts +54 -0
  34. package/src/services/vod/v20180717/vod_models.ts +5 -5
  35. package/tencentcloud/common/sdk_version.d.ts +1 -1
  36. package/tencentcloud/common/sdk_version.js +1 -1
  37. package/tencentcloud/services/acp/index.d.ts +6 -0
  38. package/tencentcloud/services/acp/index.js +7 -0
  39. package/tencentcloud/services/acp/v20220105/acp_client.d.ts +34 -0
  40. package/tencentcloud/services/acp/v20220105/acp_client.js +67 -0
  41. package/tencentcloud/services/acp/v20220105/acp_models.d.ts +491 -0
  42. package/tencentcloud/services/acp/v20220105/acp_models.js +18 -0
  43. package/tencentcloud/services/acp/v20220105/index.d.ts +6 -0
  44. package/tencentcloud/services/acp/v20220105/index.js +9 -0
  45. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +47 -0
  46. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
  47. package/tencentcloud/services/bsca/v20210811/bsca_client.d.ts +5 -1
  48. package/tencentcloud/services/bsca/v20210811/bsca_client.js +6 -0
  49. package/tencentcloud/services/bsca/v20210811/bsca_models.d.ts +22 -0
  50. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +9 -2
  51. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +4 -2
  52. package/tencentcloud/services/emr/v20190103/emr_client.js +4 -2
  53. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +7 -1
  54. package/tencentcloud/services/index.d.ts +2 -0
  55. package/tencentcloud/services/index.js +4 -0
  56. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
  57. package/tencentcloud/services/live/v20180801/live_client.js +1 -1
  58. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
  59. package/tencentcloud/services/mmps/index.d.ts +6 -0
  60. package/tencentcloud/services/mmps/index.js +7 -0
  61. package/tencentcloud/services/mmps/v20200710/index.d.ts +6 -0
  62. package/tencentcloud/services/mmps/v20200710/index.js +9 -0
  63. package/tencentcloud/services/mmps/v20200710/mmps_client.d.ts +54 -0
  64. package/tencentcloud/services/mmps/v20200710/mmps_client.js +97 -0
  65. package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +695 -0
  66. package/tencentcloud/services/mmps/v20200710/mmps_models.js +18 -0
  67. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +13 -1
  68. package/tencentcloud/services/ocr/v20181119/ocr_client.js +18 -0
  69. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +275 -8
  70. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +6 -2
  71. package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +8 -1
  72. package/tencentcloud/services/tiia/v20190529/tiia_client.js +9 -0
  73. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +64 -29
  74. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +17 -0
  75. package/tencentcloud/services/vm/v20201229/vm_models.d.ts +47 -0
  76. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -4
  77. package/test/acp.v20220105.test.js +81 -0
  78. package/test/bsca.v20210811.test.js +10 -0
  79. package/test/mmps.v20200710.test.js +131 -0
  80. package/test/ocr.v20181119.test.js +30 -0
  81. package/test/tiia.v20190529.test.js +10 -0
@@ -30,6 +30,7 @@ import {
30
30
  TrainTicketOCRRequest,
31
31
  EstateCertOCRResponse,
32
32
  FlightInvoiceOCRRequest,
33
+ RecognizePhilippinesDrivingLicenseOCRRequest,
33
34
  MLIDPassportOCRRequest,
34
35
  TextDetectResponse,
35
36
  TollInvoiceOCRResponse,
@@ -50,6 +51,7 @@ import {
50
51
  VehicleRegCertInfo,
51
52
  VehicleLicenseOCRRequest,
52
53
  EnterpriseLicenseOCRResponse,
54
+ RecognizePhilippinesVoteIDOCRRequest,
53
55
  InvoiceGeneralInfo,
54
56
  WordCoordPoint,
55
57
  InstitutionOCRResponse,
@@ -80,6 +82,7 @@ import {
80
82
  GeneralHandwritingOCRRequest,
81
83
  BizLicenseOCRRequest,
82
84
  MixedInvoiceDetectResponse,
85
+ RideHailingDriverLicenseOCRRequest,
83
86
  VatInvoiceUserInfo,
84
87
  InsuranceBillOCRResponse,
85
88
  GeneralAccurateOCRResponse,
@@ -89,6 +92,7 @@ import {
89
92
  GeneralBasicOCRResponse,
90
93
  RecognizeThaiIDCardOCRResponse,
91
94
  CellContent,
95
+ RecognizePhilippinesDrivingLicenseOCRResponse,
92
96
  MixedInvoiceOCRResponse,
93
97
  ClassifyDetectOCRResponse,
94
98
  VatInvoiceVerifyNewRequest,
@@ -125,6 +129,7 @@ import {
125
129
  LicensePlateOCRRequest,
126
130
  GeneralBasicOCRRequest,
127
131
  TextVehicleBack,
132
+ RecognizeIndonesiaIDCardOCRResponse,
128
133
  GeneralEfficientOCRRequest,
129
134
  AdvertiseOCRRequest,
130
135
  RideHailingDriverLicenseOCRResponse,
@@ -134,10 +139,12 @@ import {
134
139
  SmartStructuralOCRResponse,
135
140
  DetectedWords,
136
141
  VerifyEnterpriseFourFactorsRequest,
142
+ RecognizeIndonesiaIDCardOCRRequest,
137
143
  ShipInvoiceInfo,
138
144
  GeneralAccurateOCRRequest,
139
145
  OrgCodeCertOCRRequest,
140
146
  FlightInvoiceOCRResponse,
147
+ TextDetectionResult,
141
148
  InstitutionOCRRequest,
142
149
  CarInvoiceInfo,
143
150
  FlightInvoiceInfo,
@@ -165,7 +172,7 @@ import {
165
172
  PassportOCRRequest,
166
173
  DutyPaidProofOCRRequest,
167
174
  RecognizeHealthCodeOCRResponse,
168
- RideHailingDriverLicenseOCRRequest,
175
+ RecognizePhilippinesVoteIDOCRResponse,
169
176
  QueryBarCodeRequest,
170
177
  ItemCoord,
171
178
  OrgCodeCertOCRResponse,
@@ -913,6 +920,16 @@ export class Client extends AbstractClient {
913
920
  return this.request("SealOCR", req, cb)
914
921
  }
915
922
 
923
+ /**
924
+ * 菲律宾VoteID识别
925
+ */
926
+ async RecognizePhilippinesVoteIDOCR(
927
+ req: RecognizePhilippinesVoteIDOCRRequest,
928
+ cb?: (error: string, rep: RecognizePhilippinesVoteIDOCRResponse) => void
929
+ ): Promise<RecognizePhilippinesVoteIDOCRResponse> {
930
+ return this.request("RecognizePhilippinesVoteIDOCR", req, cb)
931
+ }
932
+
916
933
  /**
917
934
  * 本接口支持火车票全字段的识别,包括编号、票价、姓名、座位号、出发时间、出发站、到达站、车次、席别、发票类型及序列号等。
918
935
 
@@ -1145,6 +1162,16 @@ export class Client extends AbstractClient {
1145
1162
  return this.request("FinanBillOCR", req, cb)
1146
1163
  }
1147
1164
 
1165
+ /**
1166
+ * 菲律宾驾驶证识别
1167
+ */
1168
+ async RecognizePhilippinesDrivingLicenseOCR(
1169
+ req: RecognizePhilippinesDrivingLicenseOCRRequest,
1170
+ cb?: (error: string, rep: RecognizePhilippinesDrivingLicenseOCRResponse) => void
1171
+ ): Promise<RecognizePhilippinesDrivingLicenseOCRResponse> {
1172
+ return this.request("RecognizePhilippinesDrivingLicenseOCR", req, cb)
1173
+ }
1174
+
1148
1175
  /**
1149
1176
  * 本接口支持OFD格式的增值税电子普通发票和增值税电子专用发票的识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
1150
1177
  */
@@ -1165,6 +1192,16 @@ export class Client extends AbstractClient {
1165
1192
  return this.request("MixedInvoiceOCR", req, cb)
1166
1193
  }
1167
1194
 
1195
+ /**
1196
+ * 印尼身份证识别
1197
+ */
1198
+ async RecognizeIndonesiaIDCardOCR(
1199
+ req: RecognizeIndonesiaIDCardOCRRequest,
1200
+ cb?: (error: string, rep: RecognizeIndonesiaIDCardOCRResponse) => void
1201
+ ): Promise<RecognizeIndonesiaIDCardOCRResponse> {
1202
+ return this.request("RecognizeIndonesiaIDCardOCR", req, cb)
1203
+ }
1204
+
1168
1205
  /**
1169
1206
  * 本接口支持北京、上海、广东、江苏、吉林、黑龙江省市健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
1170
1207
  */
@@ -403,6 +403,33 @@ export interface FlightInvoiceOCRRequest {
403
403
  ImageUrl?: string
404
404
  }
405
405
 
406
+ /**
407
+ * RecognizePhilippinesDrivingLicenseOCR请求参数结构体
408
+ */
409
+ export interface RecognizePhilippinesDrivingLicenseOCRRequest {
410
+ /**
411
+ * 是否返回人像照片。
412
+ */
413
+ ReturnHeadImage: boolean
414
+
415
+ /**
416
+ * 图片的 Base64 值。
417
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
418
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
419
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
420
+ */
421
+ ImageBase64?: string
422
+
423
+ /**
424
+ * 图片的 Url 地址。
425
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
426
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
427
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
428
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
429
+ */
430
+ ImageUrl?: string
431
+ }
432
+
406
433
  /**
407
434
  * MLIDPassportOCR请求参数结构体
408
435
  */
@@ -1135,6 +1162,33 @@ export interface EnterpriseLicenseOCRResponse {
1135
1162
  RequestId?: string
1136
1163
  }
1137
1164
 
1165
+ /**
1166
+ * RecognizePhilippinesVoteIDOCR请求参数结构体
1167
+ */
1168
+ export interface RecognizePhilippinesVoteIDOCRRequest {
1169
+ /**
1170
+ * 是否返回人像照片。
1171
+ */
1172
+ ReturnHeadImage: boolean
1173
+
1174
+ /**
1175
+ * 图片的 Base64 值。
1176
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1177
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
1178
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1179
+ */
1180
+ ImageBase64?: string
1181
+
1182
+ /**
1183
+ * 图片的 Url 地址。
1184
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1185
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
1186
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
1187
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1188
+ */
1189
+ ImageUrl?: string
1190
+ }
1191
+
1138
1192
  /**
1139
1193
  * 通用机打发票信息
1140
1194
  */
@@ -2039,6 +2093,23 @@ export interface MixedInvoiceDetectResponse {
2039
2093
  RequestId?: string
2040
2094
  }
2041
2095
 
2096
+ /**
2097
+ * RideHailingDriverLicenseOCR请求参数结构体
2098
+ */
2099
+ export interface RideHailingDriverLicenseOCRRequest {
2100
+ /**
2101
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
2102
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2103
+ */
2104
+ ImageBase64?: string
2105
+
2106
+ /**
2107
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
2108
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
2109
+ */
2110
+ ImageUrl?: string
2111
+ }
2112
+
2042
2113
  /**
2043
2114
  * 发票人员信息
2044
2115
  */
@@ -2314,6 +2385,76 @@ export interface CellContent {
2314
2385
  WordSize: number
2315
2386
  }
2316
2387
 
2388
+ /**
2389
+ * RecognizePhilippinesDrivingLicenseOCR返回参数结构体
2390
+ */
2391
+ export interface RecognizePhilippinesDrivingLicenseOCRResponse {
2392
+ /**
2393
+ * 人像照片Base64后的结果
2394
+ */
2395
+ HeadPortrait: TextDetectionResult
2396
+
2397
+ /**
2398
+ * 姓名
2399
+ */
2400
+ Name: TextDetectionResult
2401
+
2402
+ /**
2403
+ * 姓氏
2404
+ */
2405
+ LastName: TextDetectionResult
2406
+
2407
+ /**
2408
+ * 首姓名
2409
+ */
2410
+ FirstName: TextDetectionResult
2411
+
2412
+ /**
2413
+ * 中间姓名
2414
+ */
2415
+ MiddleName: TextDetectionResult
2416
+
2417
+ /**
2418
+ * 国籍
2419
+ */
2420
+ Nationality: TextDetectionResult
2421
+
2422
+ /**
2423
+ * 性别
2424
+ */
2425
+ Sex: TextDetectionResult
2426
+
2427
+ /**
2428
+ * 地址
2429
+ */
2430
+ Address: TextDetectionResult
2431
+
2432
+ /**
2433
+ * 证号
2434
+ */
2435
+ LicenseNo: TextDetectionResult
2436
+
2437
+ /**
2438
+ * 有效期
2439
+ */
2440
+ ExpiresDate: TextDetectionResult
2441
+
2442
+ /**
2443
+ * 机构代码
2444
+ */
2445
+ AgencyCode: TextDetectionResult
2446
+
2447
+ /**
2448
+ * 出生日期
2449
+ */
2450
+ Birthday: TextDetectionResult
2451
+
2452
+ /**
2453
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2454
+ */
2455
+ RequestId?: string
2456
+ }
2457
+
2317
2458
  /**
2318
2459
  * MixedInvoiceOCR返回参数结构体
2319
2460
  */
@@ -3743,6 +3884,96 @@ export interface TextVehicleBack {
3743
3884
  TotalQuasiMass: string
3744
3885
  }
3745
3886
 
3887
+ /**
3888
+ * RecognizeIndonesiaIDCardOCR返回参数结构体
3889
+ */
3890
+ export interface RecognizeIndonesiaIDCardOCRResponse {
3891
+ /**
3892
+ * 证件号码
3893
+ */
3894
+ NIK: string
3895
+
3896
+ /**
3897
+ * 姓名
3898
+ */
3899
+ Nama: string
3900
+
3901
+ /**
3902
+ * 出生地/出生时间
3903
+ */
3904
+ TempatTglLahir: string
3905
+
3906
+ /**
3907
+ * 性别
3908
+ */
3909
+ JenisKelamin: string
3910
+
3911
+ /**
3912
+ * 血型
3913
+ */
3914
+ GolDarah: string
3915
+
3916
+ /**
3917
+ * 地址
3918
+ */
3919
+ Alamat: string
3920
+
3921
+ /**
3922
+ * 街道
3923
+ */
3924
+ RTRW: string
3925
+
3926
+ /**
3927
+ * 村
3928
+ */
3929
+ KelDesa: string
3930
+
3931
+ /**
3932
+ * 地区
3933
+ */
3934
+ Kecamatan: string
3935
+
3936
+ /**
3937
+ * 宗教信仰
3938
+ */
3939
+ Agama: string
3940
+
3941
+ /**
3942
+ * 婚姻状况
3943
+ */
3944
+ StatusPerkawinan: string
3945
+
3946
+ /**
3947
+ * 职业
3948
+ */
3949
+ Perkerjaan: string
3950
+
3951
+ /**
3952
+ * 国籍
3953
+ */
3954
+ KewargaNegaraan: string
3955
+
3956
+ /**
3957
+ * 身份证有效期限
3958
+ */
3959
+ BerlakuHingga: string
3960
+
3961
+ /**
3962
+ * 发证日期
3963
+ */
3964
+ IssuedDate: string
3965
+
3966
+ /**
3967
+ * 人像截图
3968
+ */
3969
+ Photo: string
3970
+
3971
+ /**
3972
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3973
+ */
3974
+ RequestId?: string
3975
+ }
3976
+
3746
3977
  /**
3747
3978
  * GeneralEfficientOCR请求参数结构体
3748
3979
  */
@@ -3956,6 +4187,41 @@ export interface VerifyEnterpriseFourFactorsRequest {
3956
4187
  EnterpriseMark: string
3957
4188
  }
3958
4189
 
4190
+ /**
4191
+ * RecognizeIndonesiaIDCardOCR请求参数结构体
4192
+ */
4193
+ export interface RecognizeIndonesiaIDCardOCRRequest {
4194
+ /**
4195
+ * 图片的 Base64 值。
4196
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4197
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
4198
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
4199
+ */
4200
+ ImageBase64?: string
4201
+
4202
+ /**
4203
+ * 图片的 Url 地址。
4204
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4205
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
4206
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
4207
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
4208
+ */
4209
+ ImageUrl?: string
4210
+
4211
+ /**
4212
+ * 是否返回人像照片。
4213
+ */
4214
+ ReturnHeadImage?: boolean
4215
+
4216
+ /**
4217
+ * 场景参数,默认值为V1
4218
+ 可选值:
4219
+ V1
4220
+ V2
4221
+ */
4222
+ Scene?: string
4223
+ }
4224
+
3959
4225
  /**
3960
4226
  * 轮船票字段信息
3961
4227
  */
@@ -4053,6 +4319,21 @@ export interface FlightInvoiceOCRResponse {
4053
4319
  RequestId?: string
4054
4320
  }
4055
4321
 
4322
+ /**
4323
+ * 识别结果
4324
+ */
4325
+ export interface TextDetectionResult {
4326
+ /**
4327
+ * 识别出的文本行内容
4328
+ */
4329
+ Value: string
4330
+
4331
+ /**
4332
+ * 坐标,以四个顶点坐标表示
4333
+ */
4334
+ Polygon: Array<Coord>
4335
+ }
4336
+
4056
4337
  /**
4057
4338
  * InstitutionOCR请求参数结构体
4058
4339
  */
@@ -4814,20 +5095,58 @@ export interface RecognizeHealthCodeOCRResponse {
4814
5095
  }
4815
5096
 
4816
5097
  /**
4817
- * RideHailingDriverLicenseOCR请求参数结构体
5098
+ * RecognizePhilippinesVoteIDOCR返回参数结构体
4818
5099
  */
4819
- export interface RideHailingDriverLicenseOCRRequest {
5100
+ export interface RecognizePhilippinesVoteIDOCRResponse {
4820
5101
  /**
4821
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
4822
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
4823
- */
4824
- ImageBase64?: string
5102
+ * 人像照片Base64后的结果
5103
+ */
5104
+ HeadPortrait: TextDetectionResult
4825
5105
 
4826
5106
  /**
4827
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
4828
- 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
4829
- */
4830
- ImageUrl?: string
5107
+ * 菲律宾VoteID的VIN
5108
+ */
5109
+ VIN: TextDetectionResult
5110
+
5111
+ /**
5112
+ * 姓名
5113
+ */
5114
+ FirstName: TextDetectionResult
5115
+
5116
+ /**
5117
+ * 姓氏
5118
+ */
5119
+ LastName: TextDetectionResult
5120
+
5121
+ /**
5122
+ * 出生日期
5123
+ */
5124
+ Birthday: TextDetectionResult
5125
+
5126
+ /**
5127
+ * 婚姻状况
5128
+ */
5129
+ CivilStatus: TextDetectionResult
5130
+
5131
+ /**
5132
+ * 国籍
5133
+ */
5134
+ Citizenship: TextDetectionResult
5135
+
5136
+ /**
5137
+ * 地址
5138
+ */
5139
+ Address: TextDetectionResult
5140
+
5141
+ /**
5142
+ * 地区
5143
+ */
5144
+ PrecinctNo: TextDetectionResult
5145
+
5146
+ /**
5147
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5148
+ */
5149
+ RequestId?: string
4831
5150
  }
4832
5151
 
4833
5152
  /**
@@ -772,12 +772,12 @@ export interface DeployApplicationRequest {
772
772
  DeployStrategyConf?: DeployStrategyConf
773
773
 
774
774
  /**
775
- * 弹性策略
775
+ * 弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
776
776
  */
777
777
  HorizontalAutoscaler?: Array<HorizontalAutoscaler>
778
778
 
779
779
  /**
780
- * 定时弹性策略
780
+ * 定时弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
781
781
  */
782
782
  CronHorizontalAutoscaler?: Array<CronHorizontalAutoscaler>
783
783
 
@@ -816,6 +816,11 @@ export interface DeployApplicationRequest {
816
816
  * 是否开启prometheus 业务指标监控
817
817
  */
818
818
  EnablePrometheusConf?: EnablePrometheusConf
819
+
820
+ /**
821
+ * 1:开始apm采集;0:关闭apm采集
822
+ */
823
+ EnableTracing?: number
819
824
  }
820
825
 
821
826
  /**
@@ -28,16 +28,17 @@ import {
28
28
  DeleteImagesResponse,
29
29
  CropImageRequest,
30
30
  DetectProductRequest,
31
- ObjectInfo,
31
+ DetectLabelResponse,
32
32
  RegionDetected,
33
33
  DescribeGroupsRequest,
34
34
  DetectMisbehaviorResponse,
35
35
  AssessQualityResponse,
36
36
  DetectDisgustResponse,
37
+ ObjectInfo,
37
38
  SearchImageRequest,
38
39
  RecognizeCarResponse,
39
40
  DetectLabelRequest,
40
- DetectLabelResponse,
41
+ DetectLabelProResponse,
41
42
  EnhanceImageResponse,
42
43
  ProductInfo,
43
44
  AssessQualityRequest,
@@ -61,6 +62,7 @@ import {
61
62
  DetectLabelItem,
62
63
  Location,
63
64
  CarPlateContent,
65
+ DetectLabelProRequest,
64
66
  DetectLabelBetaResponse,
65
67
  ImageInfo,
66
68
  Attribute,
@@ -109,6 +111,19 @@ export class Client extends AbstractClient {
109
111
  return this.request("DetectProductBeta", req, cb)
110
112
  }
111
113
 
114
+ /**
115
+ * 通用图像标签可识别数千种常见物体或场景,覆盖日常物品、场景、动物、植物、食物、饮品、交通工具等多个大类,返回主体的标签名称和所属细分类目等,广泛应用于拍照识物、场景分析、图像内容审核与推荐、智能相册分类等场景。
116
+
117
+ >
118
+ - 通用图像标签在原图像标签接口的基础上进行了升级,识别精度和标签覆盖范围相比原图像标签接口更优,推荐使用。
119
+ */
120
+ async DetectLabelPro(
121
+ req: DetectLabelProRequest,
122
+ cb?: (error: string, rep: DetectLabelProResponse) => void
123
+ ): Promise<DetectLabelProResponse> {
124
+ return this.request("DetectLabelPro", req, cb)
125
+ }
126
+
112
127
  /**
113
128
  * 车辆识别可对图片中车辆的车型进行识别,可识别7000多种车型,输出车辆的品牌(如路虎)、车系(如神行者2)、类型(如中型SUV)、颜色、年份和坐标等信息,覆盖轿车、SUV、大型客车等市面常见车。如果图片中存在多辆车,会分别输出每辆车的车型和坐标。
114
129