tencentcloud-sdk-nodejs 4.0.919 → 4.0.920

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 (44) hide show
  1. package/CHANGELOG.md +187 -0
  2. package/SERVICE_CHANGELOG.md +214 -119
  3. package/package.json +1 -1
  4. package/products.md +12 -12
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +19 -7
  7. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +54 -8
  8. package/src/services/dbbrain/v20210527/dbbrain_client.ts +3 -0
  9. package/src/services/dbbrain/v20210527/dbbrain_models.ts +71 -1
  10. package/src/services/ess/v20201111/ess_models.ts +4 -0
  11. package/src/services/faceid/v20180301/faceid_models.ts +10 -2
  12. package/src/services/hunyuan/v20230901/hunyuan_client.ts +1 -1
  13. package/src/services/ims/v20201229/ims_client.ts +1 -1
  14. package/src/services/ims/v20201229/ims_models.ts +1 -1
  15. package/src/services/lke/v20231130/lke_models.ts +12 -0
  16. package/src/services/sqlserver/v20180328/sqlserver_client.ts +17 -3
  17. package/src/services/sqlserver/v20180328/sqlserver_models.ts +125 -69
  18. package/src/services/tiia/v20190529/tiia_client.ts +11 -33
  19. package/src/services/tiia/v20190529/tiia_models.ts +38 -196
  20. package/src/services/vod/v20180717/vod_models.ts +29 -7
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +7 -3
  24. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +9 -3
  25. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +52 -8
  26. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +68 -1
  27. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -0
  28. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +10 -2
  29. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +1 -1
  30. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +1 -1
  31. package/tencentcloud/services/ims/v20201229/ims_client.d.ts +1 -1
  32. package/tencentcloud/services/ims/v20201229/ims_client.js +1 -1
  33. package/tencentcloud/services/ims/v20201229/ims_models.d.ts +1 -1
  34. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +12 -0
  35. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +5 -1
  36. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +6 -0
  37. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +120 -68
  38. package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +4 -14
  39. package/tencentcloud/services/tiia/v20190529/tiia_client.js +4 -16
  40. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +38 -190
  41. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +29 -7
  42. package/test/cdwdoris.v20211228.test.js +12 -2
  43. package/test/sqlserver.v20180328.test.js +10 -0
  44. package/test/tiia.v20190529.test.js +2 -12
@@ -256,6 +256,20 @@ export interface DescribeInquiryPriceParameterResponse {
256
256
  RequestId?: string
257
257
  }
258
258
 
259
+ /**
260
+ * ModifyDatabasePrivilege请求参数结构体
261
+ */
262
+ export interface ModifyDatabasePrivilegeRequest {
263
+ /**
264
+ * 数据库实例ID,形如mssql-njj2mtpl
265
+ */
266
+ InstanceId: string
267
+ /**
268
+ * 数据库权限变更信息
269
+ */
270
+ DataBaseSet: Array<DataBasePrivilegeModifyInfo>
271
+ }
272
+
259
273
  /**
260
274
  * DescribeCollationTimeZone返回参数结构体
261
275
  */
@@ -1308,6 +1322,20 @@ export interface DescribeRestoreTimeRangeResponse {
1308
1322
  RequestId?: string
1309
1323
  }
1310
1324
 
1325
+ /**
1326
+ * ModifyDatabasePrivilege返回参数结构体
1327
+ */
1328
+ export interface ModifyDatabasePrivilegeResponse {
1329
+ /**
1330
+ * 异步任务流程ID
1331
+ */
1332
+ FlowId: number
1333
+ /**
1334
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1335
+ */
1336
+ RequestId?: string
1337
+ }
1338
+
1311
1339
  /**
1312
1340
  * CreateIncrementalMigration返回参数结构体
1313
1341
  */
@@ -4508,33 +4536,17 @@ export interface CreateBasicDBInstancesResponse {
4508
4536
  }
4509
4537
 
4510
4538
  /**
4511
- * DescribeAccounts请求参数结构体
4539
+ * 数据库账号权限变更信息
4512
4540
  */
4513
- export interface DescribeAccountsRequest {
4514
- /**
4515
- * 实例ID
4516
- */
4517
- InstanceId: string
4518
- /**
4519
- * 分页返回,每页返回的数目,取值为1-100,默认值为20
4520
- */
4521
- Limit?: number
4522
- /**
4523
- * 分页返回,页编号,默认值为第0页
4524
- */
4525
- Offset?: number
4541
+ export interface DataBasePrivilegeModifyInfo {
4526
4542
  /**
4527
- * 账号名称
4528
- */
4529
- Name?: string
4530
- /**
4531
- * createTime,updateTime,passTime" note:"排序字段,默认按照账号创建时间倒序
4543
+ * 数据库名称
4532
4544
  */
4533
- OrderBy?: string
4545
+ DataBaseName: string
4534
4546
  /**
4535
- * 排序规则(desc-降序,asc-升序),默认desc
4547
+ * 数据库权限变更信息
4536
4548
  */
4537
- OrderByType?: string
4549
+ AccountPrivileges: Array<AccountPrivilege>
4538
4550
  }
4539
4551
 
4540
4552
  /**
@@ -5674,7 +5686,7 @@ export interface AccountPrivilegeModifyInfo {
5674
5686
  */
5675
5687
  UserName: string
5676
5688
  /**
5677
- * 账号权限变更信息
5689
+ * 账号权限变更信息。参数DBPrivileges和AccAllDB只能二选一
5678
5690
  */
5679
5691
  DBPrivileges: Array<DBPrivilegeModifyInfo>
5680
5692
  /**
@@ -5685,6 +5697,10 @@ export interface AccountPrivilegeModifyInfo {
5685
5697
  * 账号类型,IsAdmin字段的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3
5686
5698
  */
5687
5699
  AccountType?: string
5700
+ /**
5701
+ * 全量修改指定账号下的所有DB权限,只支持特殊权限账号和普通权限账号。参数DBPrivileges和AccAllDB只能二选一
5702
+ */
5703
+ AccAllDB?: SelectAllDB
5688
5704
  }
5689
5705
 
5690
5706
  /**
@@ -6018,6 +6034,16 @@ export interface DescribeMigrationDetailRequest {
6018
6034
  MigrateId: number
6019
6035
  }
6020
6036
 
6037
+ /**
6038
+ * DB权限修改类型
6039
+ */
6040
+ export interface SelectAllDB {
6041
+ /**
6042
+ * 权限变更信息。ReadWrite表示可读写,ReadOnly表示只读,Delete表示删除账号对该DB的权限,DBOwner所有者
6043
+ */
6044
+ Privilege: string
6045
+ }
6046
+
6021
6047
  /**
6022
6048
  * DescribeReadOnlyGroupDetails请求参数结构体
6023
6049
  */
@@ -7093,32 +7119,6 @@ export interface RecycleReadOnlyGroupResponse {
7093
7119
  RequestId?: string
7094
7120
  }
7095
7121
 
7096
- /**
7097
- * DescribeDBPrivilegeByAccount请求参数结构体
7098
- */
7099
- export interface DescribeDBPrivilegeByAccountRequest {
7100
- /**
7101
- * 实例ID,形如mssql-njj2mtpl
7102
- */
7103
- InstanceId: string
7104
- /**
7105
- * 账号名称
7106
- */
7107
- AccountName: string
7108
- /**
7109
- * 账号关联的数据库名称
7110
- */
7111
- DBName?: string
7112
- /**
7113
- * 分页返回,每页返回的数目,取值为1-100,默认值为20
7114
- */
7115
- Limit?: number
7116
- /**
7117
- * 分页返回,页编号,默认值为第0页
7118
- */
7119
- Offset?: number
7120
- }
7121
-
7122
7122
  /**
7123
7123
  * DescribeHASwitchLog请求参数结构体
7124
7124
  */
@@ -7351,6 +7351,36 @@ export interface DescribeUploadIncrementalInfoRequest {
7351
7351
  IncrementalMigrationId: string
7352
7352
  }
7353
7353
 
7354
+ /**
7355
+ * DescribeAccounts请求参数结构体
7356
+ */
7357
+ export interface DescribeAccountsRequest {
7358
+ /**
7359
+ * 实例ID
7360
+ */
7361
+ InstanceId: string
7362
+ /**
7363
+ * 分页返回,每页返回的数目,取值为1-100,默认值为20
7364
+ */
7365
+ Limit?: number
7366
+ /**
7367
+ * 分页返回,页编号,默认值为第0页
7368
+ */
7369
+ Offset?: number
7370
+ /**
7371
+ * 账号名称
7372
+ */
7373
+ Name?: string
7374
+ /**
7375
+ * createTime,updateTime,passTime" note:"排序字段,默认按照账号创建时间倒序
7376
+ */
7377
+ OrderBy?: string
7378
+ /**
7379
+ * 排序规则(desc-降序,asc-升序),默认desc
7380
+ */
7381
+ OrderByType?: string
7382
+ }
7383
+
7354
7384
  /**
7355
7385
  * DescribeBackupByFlowId返回参数结构体
7356
7386
  */
@@ -7561,37 +7591,29 @@ export interface ModifyDBInstanceSecurityGroupsResponse {
7561
7591
  }
7562
7592
 
7563
7593
  /**
7564
- * 安全组
7594
+ * DescribeDBPrivilegeByAccount请求参数结构体
7565
7595
  */
7566
- export interface SecurityGroup {
7567
- /**
7568
- * 项目ID
7569
- */
7570
- ProjectId: number
7571
- /**
7572
- * 创建时间,时间格式:yyyy-mm-dd hh:mm:ss
7573
- */
7574
- CreateTime: string
7596
+ export interface DescribeDBPrivilegeByAccountRequest {
7575
7597
  /**
7576
- * 入站规则
7598
+ * 实例ID,形如mssql-njj2mtpl
7577
7599
  */
7578
- InboundSet: Array<SecurityGroupPolicy>
7600
+ InstanceId: string
7579
7601
  /**
7580
- * 出站规则
7602
+ * 账号名称
7581
7603
  */
7582
- OutboundSet: Array<SecurityGroupPolicy>
7604
+ AccountName: string
7583
7605
  /**
7584
- * 安全组ID
7606
+ * 账号关联的数据库名称
7585
7607
  */
7586
- SecurityGroupId: string
7608
+ DBName?: string
7587
7609
  /**
7588
- * 安全组名称
7610
+ * 分页返回,每页返回的数目,取值为1-100,默认值为20
7589
7611
  */
7590
- SecurityGroupName: string
7612
+ Limit?: number
7591
7613
  /**
7592
- * 安全组备注
7614
+ * 分页返回,页编号,默认值为第0页
7593
7615
  */
7594
- SecurityGroupRemark: string
7616
+ Offset?: number
7595
7617
  }
7596
7618
 
7597
7619
  /**
@@ -7774,6 +7796,40 @@ export interface DescribeBackupMigrationRequest {
7774
7796
  OrderByType?: string
7775
7797
  }
7776
7798
 
7799
+ /**
7800
+ * 安全组
7801
+ */
7802
+ export interface SecurityGroup {
7803
+ /**
7804
+ * 项目ID
7805
+ */
7806
+ ProjectId: number
7807
+ /**
7808
+ * 创建时间,时间格式:yyyy-mm-dd hh:mm:ss
7809
+ */
7810
+ CreateTime: string
7811
+ /**
7812
+ * 入站规则
7813
+ */
7814
+ InboundSet: Array<SecurityGroupPolicy>
7815
+ /**
7816
+ * 出站规则
7817
+ */
7818
+ OutboundSet: Array<SecurityGroupPolicy>
7819
+ /**
7820
+ * 安全组ID
7821
+ */
7822
+ SecurityGroupId: string
7823
+ /**
7824
+ * 安全组名称
7825
+ */
7826
+ SecurityGroupName: string
7827
+ /**
7828
+ * 安全组备注
7829
+ */
7830
+ SecurityGroupRemark: string
7831
+ }
7832
+
7777
7833
  /**
7778
7834
  * 实例的数据库信息
7779
7835
  */
@@ -18,13 +18,12 @@
18
18
  import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
- DetectProductBetaResponse,
21
+ RecognizeCarProRequest,
22
22
  DetectChefDressResponse,
23
23
  SearchImageResponse,
24
24
  DetectDisgustRequest,
25
25
  Pet,
26
26
  DetectPetRequest,
27
- RecognizeCarProResponse,
28
27
  CreateImageRequest,
29
28
  BodyAttributes,
30
29
  DeleteImagesResponse,
@@ -32,7 +31,6 @@ import {
32
31
  DetectProductRequest,
33
32
  DetectLabelBetaRequest,
34
33
  DetectLabelResponse,
35
- RegionDetected,
36
34
  DescribeGroupsRequest,
37
35
  DetectMisbehaviorResponse,
38
36
  AssessQualityResponse,
@@ -41,17 +39,15 @@ import {
41
39
  SearchImageRequest,
42
40
  AttributesForBody,
43
41
  DetectLabelRequest,
44
- RecognizeCarResponse,
45
42
  DetectLabelProResponse,
46
43
  EnhanceImageResponse,
47
- ProductInfo,
48
44
  AssessQualityRequest,
49
45
  DeleteImagesRequest,
50
46
  CreateGroupRequest,
51
47
  UpdateImageRequest,
52
48
  DescribeImagesRequest,
53
49
  Rect,
54
- DetectProductBetaRequest,
50
+ RecognizeCarResponse,
55
51
  Box,
56
52
  DetectSecurityResponse,
57
53
  RecognizeCarRequest,
@@ -69,7 +65,7 @@ import {
69
65
  ImageRect,
70
66
  CreateImageResponse,
71
67
  DetectLabelItem,
72
- Location,
68
+ UpdateImageResponse,
73
69
  CarPlateContent,
74
70
  DetectLabelProRequest,
75
71
  DetectLabelBetaResponse,
@@ -77,13 +73,11 @@ import {
77
73
  ImageTag,
78
74
  Attribute,
79
75
  ImageInfo,
80
- RecognizeCarProRequest,
76
+ RecognizeCarProResponse,
81
77
  DescribeGroupsResponse,
82
78
  CarTagItem,
83
- LemmaInfo,
84
79
  DescribeImagesResponse,
85
80
  DetectMisbehaviorRequest,
86
- UpdateImageResponse,
87
81
  CreateGroupResponse,
88
82
  } from "./tiia_models"
89
83
 
@@ -124,19 +118,15 @@ export class Client extends AbstractClient {
124
118
  }
125
119
 
126
120
  /**
127
- * 产品不再维护,准备下线。
128
-
129
- 商品识别-微信识物版,基于人工智能技术、海量训练图片、亿级商品库,可以实现全覆盖、细粒度、高准确率的商品识别和商品推荐功能。
130
- 本服务可以识别出图片中的主体位置、主体商品类型,覆盖亿级SKU,输出具体商品的价格、型号等详细信息。
131
- 客户无需自建商品库,即可快速实现商品识别、拍照搜商品等功能。
132
- >?
121
+ * 传入一张图片,识别出图片中是否存在宠物
122
+ >
133
123
  - 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
134
124
  */
135
- async DetectProductBeta(
136
- req: DetectProductBetaRequest,
137
- cb?: (error: string, rep: DetectProductBetaResponse) => void
138
- ): Promise<DetectProductBetaResponse> {
139
- return this.request("DetectProductBeta", req, cb)
125
+ async DetectPet(
126
+ req: DetectPetRequest,
127
+ cb?: (error: string, rep: DetectPetResponse) => void
128
+ ): Promise<DetectPetResponse> {
129
+ return this.request("DetectPet", req, cb)
140
130
  }
141
131
 
142
132
  /**
@@ -463,16 +453,4 @@ export class Client extends AbstractClient {
463
453
  ): Promise<UpdateImageResponse> {
464
454
  return this.request("UpdateImage", req, cb)
465
455
  }
466
-
467
- /**
468
- * 传入一张图片,识别出图片中是否存在宠物
469
- >
470
- - 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
471
- */
472
- async DetectPet(
473
- req: DetectPetRequest,
474
- cb?: (error: string, rep: DetectPetResponse) => void
475
- ): Promise<DetectPetResponse> {
476
- return this.request("DetectPet", req, cb)
477
- }
478
456
  }
@@ -16,29 +16,26 @@
16
16
  */
17
17
 
18
18
  /**
19
- * DetectProductBeta返回参数结构体
19
+ * RecognizeCarPro请求参数结构体
20
20
  */
21
- export interface DetectProductBetaResponse {
22
- /**
23
- * 检测到的图片中的商品位置和品类预测。
24
- 当图片中存在多个商品时,输出多组坐标,按照__显著性__排序(综合考虑面积、是否在中心、检测算法置信度)。
25
- 最多可以输出__3组__检测结果。
26
- */
27
- RegionDetected: Array<RegionDetected>
28
- /**
29
- * 图像识别出的商品的详细信息。
30
- 当图像中检测到多个物品时,会对显著性最高的进行识别。
31
- */
32
- ProductInfo: ProductInfo
21
+ export interface RecognizeCarProRequest {
33
22
  /**
34
- * 相似商品信息列表
35
- 注意:此字段可能返回 null,表示取不到有效值。
23
+ * 图片URL地址。
24
+ 图片限制:
25
+ • 图片格式:PNG、JPG、JPEG。
26
+ • 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
27
+ 建议:
28
+ • 图片像素:大于50*50像素,否则影响识别效果;
29
+ • 长宽比:长边:短边<5;
30
+ 接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
36
31
  */
37
- ProductInfoList: Array<ProductInfo>
32
+ ImageUrl?: string
38
33
  /**
39
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
34
+ * 图片经过base64编码的内容。最大不超过4M。与ImageUrl同时存在时优先使用ImageUrl字段。
35
+ **注意:图片需要base64编码,并且要去掉编码头部。**
36
+ 支持的图片格式:PNG、JPG、JPEG、BMP,暂不支持GIF格式。支持的图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
40
37
  */
41
- RequestId?: string
38
+ ImageBase64?: string
42
39
  }
43
40
 
44
41
  /**
@@ -140,25 +137,6 @@ export interface DetectPetRequest {
140
137
  ImageBase64?: string
141
138
  }
142
139
 
143
- /**
144
- * RecognizeCarPro返回参数结构体
145
- */
146
- export interface RecognizeCarProResponse {
147
- /**
148
- * 汽车的四个矩形顶点坐标,如果图片中存在多辆车,则输出最大车辆的坐标。
149
- */
150
- CarCoords?: Array<Coord>
151
- /**
152
- * 车辆属性识别的结果数组,如果识别到多辆车,则会输出每辆车的top1结果。
153
- 注意:置信度是指车牌信息置信度。
154
- */
155
- CarTags?: Array<CarTagItem>
156
- /**
157
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
158
- */
159
- RequestId?: string
160
- }
161
-
162
140
  /**
163
141
  * CreateImage请求参数结构体
164
142
  */
@@ -384,27 +362,6 @@ export interface DetectLabelResponse {
384
362
  RequestId?: string
385
363
  }
386
364
 
387
- /**
388
- * 检测到的图片中的商品位置和品类预测。
389
- 当图片中存在多个商品时,输出多组坐标,按照__显著性__排序(综合考虑面积、是否在中心、检测算法置信度)。
390
- 最多可以输出__3组__检测结果。
391
- */
392
- export interface RegionDetected {
393
- /**
394
- * 商品的品类预测结果。
395
- 包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。
396
- */
397
- Category: string
398
- /**
399
- * 商品品类预测的置信度
400
- */
401
- CategoryScore: number
402
- /**
403
- * 检测到的主体在图片中的坐标,表示为矩形框的四个顶点坐标
404
- */
405
- Location: Location
406
- }
407
-
408
365
  /**
409
366
  * DescribeGroups请求参数结构体
410
367
  */
@@ -672,24 +629,6 @@ export interface DetectLabelRequest {
672
629
  Scenes?: Array<string>
673
630
  }
674
631
 
675
- /**
676
- * RecognizeCar返回参数结构体
677
- */
678
- export interface RecognizeCarResponse {
679
- /**
680
- * 汽车的四个矩形顶点坐标,如果图片中存在多辆车,则输出最大车辆的坐标。
681
- */
682
- CarCoords: Array<Coord>
683
- /**
684
- * 车辆属性识别的结果数组,如果识别到多辆车,则会输出每辆车的top1结果。
685
- */
686
- CarTags: Array<CarTagItem>
687
- /**
688
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
689
- */
690
- RequestId?: string
691
- }
692
-
693
632
  /**
694
633
  * DetectLabelPro返回参数结构体
695
634
  */
@@ -719,54 +658,6 @@ export interface EnhanceImageResponse {
719
658
  RequestId?: string
720
659
  }
721
660
 
722
- /**
723
- * 图像识别出的商品的详细信息。
724
- 当图像中检测到多个物品时,会对显著性最高的物品进行识别。
725
- */
726
- export interface ProductInfo {
727
- /**
728
- * 1表示找到同款商品,以下字段为同款商品信息;
729
- 0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目和参考图片(商品库中找到的最相似图片,供参考)。
730
- 是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。
731
- */
732
- FindSKU: number
733
- /**
734
- * 本商品在图片中的坐标,表示为矩形框的四个顶点坐标。
735
- */
736
- Location: Location
737
- /**
738
- * 商品名称
739
- */
740
- Name: string
741
- /**
742
- * 商品品牌
743
- */
744
- Brand: string
745
- /**
746
- * 参考价格,综合多个信息源,仅供参考。
747
- */
748
- Price: string
749
- /**
750
- * 识别结果的商品类目。
751
- 包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。
752
- 当类别为“非商品”时,除Location、Score和本字段之外的商品信息为空。
753
- */
754
- ProductCategory: string
755
- /**
756
- * 输入图片中的主体物品和输出结果的相似度。分值越大,输出结果与输入图片是同款的可能性越高。
757
- */
758
- Score: number
759
- /**
760
- * 搜索到的商品配图URL。
761
- */
762
- Image: string
763
- /**
764
- * 百科词条列表
765
- 注意:此字段可能返回 null,表示取不到有效值。
766
- */
767
- LemmaInfoList: Array<LemmaInfo>
768
- }
769
-
770
661
  /**
771
662
  * AssessQuality请求参数结构体
772
663
  */
@@ -910,23 +801,21 @@ export interface Rect {
910
801
  }
911
802
 
912
803
  /**
913
- * DetectProductBeta请求参数结构体
804
+ * RecognizeCar返回参数结构体
914
805
  */
915
- export interface DetectProductBetaRequest {
806
+ export interface RecognizeCarResponse {
916
807
  /**
917
- * 图片限制:内测版仅支持jpg、jpeg,图片大小不超过1M,分辨率在25万到100万之间。
918
- 建议先对图片进行压缩,以便提升处理速度。
808
+ * 汽车的四个矩形顶点坐标,如果图片中存在多辆车,则输出最大车辆的坐标。
919
809
  */
920
- ImageUrl?: string
810
+ CarCoords: Array<Coord>
921
811
  /**
922
- * 图片经过base64编码的内容。最大不超过1M,分辨率在25万到100万之间。
923
- 与ImageUrl同时存在时优先使用ImageUrl字段。
812
+ * 车辆属性识别的结果数组,如果识别到多辆车,则会输出每辆车的top1结果。
924
813
  */
925
- ImageBase64?: string
814
+ CarTags: Array<CarTagItem>
926
815
  /**
927
- * 是否需要百科信息 1:是,0: 否,默认是0
816
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
928
817
  */
929
- NeedLemma?: number
818
+ RequestId?: string
930
819
  }
931
820
 
932
821
  /**
@@ -1336,25 +1225,13 @@ export interface DetectLabelItem {
1336
1225
  }
1337
1226
 
1338
1227
  /**
1339
- * 检测到的主体在图片中的矩形框位置(四个顶点坐标)
1228
+ * UpdateImage返回参数结构体
1340
1229
  */
1341
- export interface Location {
1342
- /**
1343
- * 位置矩形框的左上角横坐标
1344
- */
1345
- XMin: number
1346
- /**
1347
- * 位置矩形框的左上角纵坐标
1348
- */
1349
- YMin: number
1350
- /**
1351
- * 位置矩形框的右下角横坐标
1352
- */
1353
- XMax: number
1230
+ export interface UpdateImageResponse {
1354
1231
  /**
1355
- * 位置矩形框的右下角纵坐标
1232
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1356
1233
  */
1357
- YMax: number
1234
+ RequestId?: string
1358
1235
  }
1359
1236
 
1360
1237
  /**
@@ -1543,26 +1420,22 @@ export interface ImageInfo {
1543
1420
  }
1544
1421
 
1545
1422
  /**
1546
- * RecognizeCarPro请求参数结构体
1423
+ * RecognizeCarPro返回参数结构体
1547
1424
  */
1548
- export interface RecognizeCarProRequest {
1425
+ export interface RecognizeCarProResponse {
1549
1426
  /**
1550
- * 图片URL地址。
1551
- 图片限制:
1552
- • 图片格式:PNG、JPG、JPEG。
1553
- • 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
1554
- 建议:
1555
- • 图片像素:大于50*50像素,否则影响识别效果;
1556
- • 长宽比:长边:短边<5;
1557
- 接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
1427
+ * 汽车的四个矩形顶点坐标,如果图片中存在多辆车,则输出最大车辆的坐标。
1558
1428
  */
1559
- ImageUrl?: string
1429
+ CarCoords?: Array<Coord>
1560
1430
  /**
1561
- * 图片经过base64编码的内容。最大不超过4M。与ImageUrl同时存在时优先使用ImageUrl字段。
1562
- **注意:图片需要base64编码,并且要去掉编码头部。**
1563
- 支持的图片格式:PNG、JPG、JPEG、BMP,暂不支持GIF格式。支持的图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
1431
+ * 车辆属性识别的结果数组,如果识别到多辆车,则会输出每辆车的top1结果。
1432
+ 注意:置信度是指车牌信息置信度。
1564
1433
  */
1565
- ImageBase64?: string
1434
+ CarTags?: Array<CarTagItem>
1435
+ /**
1436
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1437
+ */
1438
+ RequestId?: string
1566
1439
  }
1567
1440
 
1568
1441
  /**
@@ -1644,27 +1517,6 @@ export interface CarTagItem {
1644
1517
  OrientationConfidence: number
1645
1518
  }
1646
1519
 
1647
- /**
1648
- * 百科词条信息
1649
- */
1650
- export interface LemmaInfo {
1651
- /**
1652
- * 词条
1653
- 注意:此字段可能返回 null,表示取不到有效值。
1654
- */
1655
- LemmaTitle: string
1656
- /**
1657
- * 词条描述
1658
- 注意:此字段可能返回 null,表示取不到有效值。
1659
- */
1660
- LemmaAbstract: string
1661
- /**
1662
- * 标签
1663
- 注意:此字段可能返回 null,表示取不到有效值。
1664
- */
1665
- Tag: string
1666
- }
1667
-
1668
1520
  /**
1669
1521
  * DescribeImages返回参数结构体
1670
1522
  */
@@ -1709,16 +1561,6 @@ export interface DetectMisbehaviorRequest {
1709
1561
  ImageBase64?: string
1710
1562
  }
1711
1563
 
1712
- /**
1713
- * UpdateImage返回参数结构体
1714
- */
1715
- export interface UpdateImageResponse {
1716
- /**
1717
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1718
- */
1719
- RequestId?: string
1720
- }
1721
-
1722
1564
  /**
1723
1565
  * CreateGroup返回参数结构体
1724
1566
  */