tencentcloud-sdk-nodejs 4.0.821 → 4.0.823

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 (96) hide show
  1. package/CHANGELOG.md +628 -0
  2. package/SERVICE_CHANGELOG.md +713 -59
  3. package/package.json +4 -2
  4. package/products.md +26 -26
  5. package/src/common/abstract_client.ts +36 -6
  6. package/src/common/exception/tencent_cloud_sdk_exception.ts +17 -3
  7. package/src/common/sdk_version.ts +1 -1
  8. package/src/services/asr/v20190614/asr_client.ts +1 -1
  9. package/src/services/asr/v20190614/asr_models.ts +3 -4
  10. package/src/services/bi/v20220105/bi_models.ts +12 -0
  11. package/src/services/billing/v20180709/billing_models.ts +189 -72
  12. package/src/services/ccc/v20200210/ccc_client.ts +52 -14
  13. package/src/services/ccc/v20200210/ccc_models.ts +234 -15
  14. package/src/services/cdwpg/v20201230/cdwpg_models.ts +4 -0
  15. package/src/services/ckafka/v20190819/ckafka_client.ts +38 -12
  16. package/src/services/ckafka/v20190819/ckafka_models.ts +396 -304
  17. package/src/services/clb/v20180317/clb_models.ts +0 -1
  18. package/src/services/cloudstudio/v20230508/cloudstudio_models.ts +20 -4
  19. package/src/services/csip/v20221121/csip_models.ts +9 -8
  20. package/src/services/cwp/v20180228/cwp_client.ts +9 -4
  21. package/src/services/cwp/v20180228/cwp_models.ts +57 -4
  22. package/src/services/cynosdb/v20190107/cynosdb_client.ts +12 -0
  23. package/src/services/cynosdb/v20190107/cynosdb_models.ts +130 -0
  24. package/src/services/dlc/v20210125/dlc_models.ts +2 -0
  25. package/src/services/dsgc/v20190723/dsgc_models.ts +8 -0
  26. package/src/services/dts/v20211206/dts_models.ts +20 -0
  27. package/src/services/es/v20180416/es_client.ts +2 -1
  28. package/src/services/es/v20180416/es_models.ts +94 -41
  29. package/src/services/ess/v20201111/ess_models.ts +51 -34
  30. package/src/services/essbasic/v20210526/essbasic_models.ts +18 -7
  31. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +356 -72
  32. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +1375 -314
  33. package/src/services/lcic/v20220817/lcic_client.ts +1 -0
  34. package/src/services/lcic/v20220817/lcic_models.ts +31 -0
  35. package/src/services/mps/v20190612/mps_models.ts +69 -25
  36. package/src/services/ocr/v20181119/ocr_client.ts +26 -11
  37. package/src/services/ocr/v20181119/ocr_models.ts +168 -14
  38. package/src/services/tione/v20211111/tione_client.ts +2 -1
  39. package/src/services/tione/v20211111/tione_models.ts +41 -3
  40. package/src/services/tms/v20201229/tms_client.ts +1 -1
  41. package/src/services/tts/v20190823/tts_models.ts +5 -0
  42. package/src/services/vod/v20180717/vod_models.ts +12 -17
  43. package/src/services/wedata/v20210820/wedata_models.ts +173 -68
  44. package/tencentcloud/common/abstract_client.js +32 -6
  45. package/tencentcloud/common/exception/tencent_cloud_sdk_exception.d.ts +6 -1
  46. package/tencentcloud/common/exception/tencent_cloud_sdk_exception.js +11 -3
  47. package/tencentcloud/common/sdk_version.d.ts +1 -1
  48. package/tencentcloud/common/sdk_version.js +1 -1
  49. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  50. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  51. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +3 -4
  52. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +12 -0
  53. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +189 -72
  54. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +17 -5
  55. package/tencentcloud/services/ccc/v20200210/ccc_client.js +24 -6
  56. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +226 -15
  57. package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +4 -0
  58. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +11 -3
  59. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +15 -3
  60. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +393 -307
  61. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +0 -1
  62. package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +20 -4
  63. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +9 -8
  64. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +6 -2
  65. package/tencentcloud/services/cwp/v20180228/cwp_client.js +6 -2
  66. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +56 -4
  67. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  68. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  69. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +128 -0
  70. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +2 -0
  71. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +8 -0
  72. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +20 -0
  73. package/tencentcloud/services/es/v20180416/es_client.d.ts +1 -1
  74. package/tencentcloud/services/es/v20180416/es_models.d.ts +93 -41
  75. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +51 -34
  76. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +18 -7
  77. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +109 -17
  78. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +162 -24
  79. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +1320 -313
  80. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +30 -0
  81. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +69 -25
  82. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +9 -5
  83. package/tencentcloud/services/ocr/v20181119/ocr_client.js +11 -5
  84. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +163 -14
  85. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +1 -1
  86. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +40 -3
  87. package/tencentcloud/services/tms/v20201229/tms_client.d.ts +1 -1
  88. package/tencentcloud/services/tms/v20201229/tms_client.js +1 -1
  89. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +5 -0
  90. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +12 -17
  91. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +173 -68
  92. package/test/ccc.v20200210.test.js +34 -4
  93. package/test/ckafka.v20190819.test.js +22 -2
  94. package/test/cynosdb.v20190107.test.js +10 -0
  95. package/test/iotexplorer.v20190423.test.js +246 -16
  96. package/test/ocr.v20181119.test.js +12 -2
@@ -1323,6 +1323,11 @@ export interface MessageItem {
1323
1323
  注意:此字段可能返回 null,表示取不到有效值。
1324
1324
  */
1325
1325
  ImageMessage?: string;
1326
+ /**
1327
+ * 自定义消息内容。message type为2时有效。
1328
+ 注意:此字段可能返回 null,表示取不到有效值。
1329
+ */
1330
+ CustomMessage?: CustomMsgContent;
1326
1331
  }
1327
1332
  /**
1328
1333
  * 获取群组列表返回的群组信息
@@ -2850,6 +2855,26 @@ export interface DescribeRoomStatisticsRequest {
2850
2855
  */
2851
2856
  Limit: number;
2852
2857
  }
2858
+ /**
2859
+ * 自定义消息
2860
+ */
2861
+ export interface CustomMsgContent {
2862
+ /**
2863
+ * 自定义消息数据。
2864
+ 注意:此字段可能返回 null,表示取不到有效值。
2865
+ */
2866
+ Data?: string;
2867
+ /**
2868
+ * 自定义消息描述信息。
2869
+ 注意:此字段可能返回 null,表示取不到有效值。
2870
+ */
2871
+ Desc?: string;
2872
+ /**
2873
+ * 扩展字段。
2874
+ 注意:此字段可能返回 null,表示取不到有效值。
2875
+ */
2876
+ Ext?: string;
2877
+ }
2853
2878
  /**
2854
2879
  * DescribeDocumentsByRoom返回参数结构体
2855
2880
  */
@@ -3194,6 +3219,7 @@ export interface MsgBody {
3194
3219
  TIMTextElem(文本消息)
3195
3220
  TIMFaceElem(表情消息)
3196
3221
  TIMImageElem(图像消息)
3222
+ TIMCustomElem(自定义消息)
3197
3223
  */
3198
3224
  MsgType: string;
3199
3225
  /**
@@ -3208,6 +3234,10 @@ export interface MsgBody {
3208
3234
  * 图像消息,当MsgType为TIMImageElem(图像消息)必选。
3209
3235
  */
3210
3236
  ImageMsgContent?: ImageMsgContent;
3237
+ /**
3238
+ * 自定义消息,TIMCustomElem(自定义消息)必选。
3239
+ */
3240
+ CustomMsgContent?: CustomMsgContent;
3211
3241
  }
3212
3242
  /**
3213
3243
  * CreateSupervisor返回参数结构体
@@ -1538,20 +1538,20 @@ export interface AudioTemplateInfoForUpdate {
1538
1538
  当不需要对音频进行转码时,可选值为:
1539
1539
  <li>copy。</li>
1540
1540
  当外层参数 Container 为 mp3 时,可选值为:
1541
- <li>libmp3lame。</li>
1541
+ <li>mp3。</li>
1542
1542
  当外层参数 Container 为 ogg 或 flac 时,可选值为:
1543
1543
  <li>flac。</li>
1544
1544
  当外层参数 Container 为 m4a 时,可选值为:
1545
- <li>libfdk_aac;</li>
1546
- <li>libmp3lame;</li>
1545
+ <li>aac;</li>
1546
+ <li>mp3;</li>
1547
1547
  <li>ac3。</li>
1548
1548
  当外层参数 Container 为 mp4 或 flv 时,可选值为:
1549
- <li>libfdk_aac:更适合 mp4;</li>
1550
- <li>libmp3lame:更适合 flv;</li>
1549
+ <li>aac:更适合 mp4;</li>
1550
+ <li>mp3:更适合 flv;</li>
1551
1551
  <li>mp2。</li>
1552
1552
  当外层参数 Container 为 hls 时,可选值为:
1553
- <li>libfdk_aac;</li>
1554
- <li>libmp3lame。</li>
1553
+ <li>aac;</li>
1554
+ <li>mp3。</li>
1555
1555
  注意:此字段可能返回 null,表示取不到有效值。
1556
1556
  */
1557
1557
  Codec?: string;
@@ -1883,20 +1883,20 @@ export interface AudioTemplateInfo {
1883
1883
  当不需要对音频进行转码时,可选值为:
1884
1884
  <li>copy。</li>
1885
1885
  当外层参数 Container 为 mp3 时,可选值为:
1886
- <li>libmp3lame。</li>
1886
+ <li>mp3。</li>
1887
1887
  当外层参数 Container 为 ogg 或 flac 时,可选值为:
1888
1888
  <li>flac。</li>
1889
1889
  当外层参数 Container 为 m4a 时,可选值为:
1890
- <li>libfdk_aac;</li>
1891
- <li>libmp3lame;</li>
1890
+ <li>aac;</li>
1891
+ <li>mp3;</li>
1892
1892
  <li>ac3。</li>
1893
1893
  当外层参数 Container 为 mp4 或 flv 时,可选值为:
1894
- <li>libfdk_aac:更适合 mp4;</li>
1895
- <li>libmp3lame:更适合 flv;</li>
1894
+ <li>aac:更适合 mp4;</li>
1895
+ <li>mp3:更适合 flv;</li>
1896
1896
  <li>mp2。</li>
1897
1897
  当外层参数 Container 为 hls 时,可选值为:
1898
- <li>libfdk_aac;</li>
1899
- <li>libmp3lame。</li>
1898
+ <li>aac;</li>
1899
+ <li>mp3。</li>
1900
1900
  */
1901
1901
  Codec: string;
1902
1902
  /**
@@ -2357,7 +2357,7 @@ export interface HdrConfig {
2357
2357
  <li>HDR10</li>
2358
2358
  <li>HLG</li>
2359
2359
  默认值:HDR10。
2360
- 注意:video的编码方式需要为libx265
2360
+ 注意:video的编码方式需要为h265
2361
2361
  注意:视频编码位深为10。
2362
2362
  注意:此字段可能返回 null,表示取不到有效值。
2363
2363
  */
@@ -4680,8 +4680,8 @@ export interface LiveStreamTaskNotifyConfig {
4680
4680
  export interface VideoTemplateInfo {
4681
4681
  /**
4682
4682
  * 视频流的编码格式,可选值:
4683
- <li>libx264:H.264 编码</li>
4684
- <li>libx265:H.265 编码</li>
4683
+ <li>h264:H.264 编码</li>
4684
+ <li>h265:H.265 编码</li>
4685
4685
  <li>av1:AOMedia Video 1 编码</li>
4686
4686
  注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。
4687
4687
  注意:av1 编码容器目前只支持 mp4 。
@@ -5926,7 +5926,14 @@ export interface SnapshotByTimeOffsetTaskInput {
5926
5926
  */
5927
5927
  OutputStorage?: TaskOutputStorage;
5928
5928
  /**
5929
- * 时间点截图后图片文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}`。
5929
+ * 时间点截图后图片文件的输出路径,可以为相对路径或者绝对路径。
5930
+ 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
5931
+ 相对路径示例:
5932
+ <li>文件名_{变量名}.{format}</li>
5933
+ <li>文件名.{format}</li>
5934
+ 绝对路径示例:
5935
+ <li>/自定义路径/文件名_{变量名}.{format}</li>
5936
+ 如果不填,则默认为相对路径:`{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}`。
5930
5937
  */
5931
5938
  OutputObjectPath?: string;
5932
5939
  /**
@@ -5949,7 +5956,14 @@ export interface ImageSpriteTaskInput {
5949
5956
  */
5950
5957
  OutputStorage?: TaskOutputStorage;
5951
5958
  /**
5952
- * 截取雪碧图后,雪碧图图片文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}_{number}.{format}`。
5959
+ * 截取雪碧图后,雪碧图图片文件的输出路径,可以为相对路径或者绝对路径。
5960
+ 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
5961
+ 相对路径示例:
5962
+ <li>文件名_{变量名}.{format}</li>
5963
+ <li>文件名.{format}</li>
5964
+ 绝对路径示例:
5965
+ <li>/自定义路径/文件名_{变量名}.{format}</li>
5966
+ 如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}_{number}.{format}`。
5953
5967
  */
5954
5968
  OutputObjectPath?: string;
5955
5969
  /**
@@ -6834,7 +6848,14 @@ export interface AnimatedGraphicTaskInput {
6834
6848
  */
6835
6849
  OutputStorage?: TaskOutputStorage;
6836
6850
  /**
6837
- * 转动图后文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。
6851
+ * 转动图后文件的输出路径,可以为相对路径或者绝对路径。
6852
+ 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
6853
+ 相对路径示例:
6854
+ <li>文件名_{变量名}.{format}</li>
6855
+ <li>文件名.{format}</li>
6856
+ 绝对路径示例:
6857
+ <li>/自定义路径/文件名_{变量名}.{format}</li>
6858
+ 如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。
6838
6859
  */
6839
6860
  OutputObjectPath?: string;
6840
6861
  }
@@ -8893,7 +8914,15 @@ export interface TranscodeTaskInput {
8893
8914
  */
8894
8915
  OutputStorage?: TaskOutputStorage;
8895
8916
  /**
8896
- * 转码后主文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_transcode_{definition}.{format}`。
8917
+ * 转码后主文件的输出路径,可以为相对路径或者绝对路径。
8918
+ 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
8919
+ 相对路径示例:
8920
+ <li>文件名_{变量名}.{format}</li>
8921
+ <li>文件名.{format}</li>
8922
+ 绝对路径示例:
8923
+ <li>/自定义路径/文件名_{变量名}.{format}</li>
8924
+ 如果不填,则默认为相对路径:`{inputName}_transcode_{definition}.{format}`。
8925
+
8897
8926
  */
8898
8927
  OutputObjectPath?: string;
8899
8928
  /**
@@ -10048,8 +10077,8 @@ export interface ExpressionConfigInfo {
10048
10077
  export interface VideoTemplateInfoForUpdate {
10049
10078
  /**
10050
10079
  * 视频流的编码格式,可选值:
10051
- <li>libx264:H.264 编码</li>
10052
- <li>libx265:H.265 编码</li>
10080
+ <li>h264:H.264 编码</li>
10081
+ <li>h265:H.265 编码</li>
10053
10082
  <li>av1:AOMedia Video 1 编码</li>
10054
10083
  注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。
10055
10084
  注意:av1 编码容器目前只支持 mp4 。
@@ -10196,7 +10225,14 @@ export interface AdaptiveDynamicStreamingTaskInput {
10196
10225
  */
10197
10226
  OutputStorage?: TaskOutputStorage;
10198
10227
  /**
10199
- * 转自适应码流后,manifest 文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}.{format}`。
10228
+ * 转自适应码流后,manifest 文件的输出路径,可以为相对路径或者绝对路径。
10229
+ 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
10230
+ 相对路径示例:
10231
+ <li>文件名_{变量名}.{format}</li>
10232
+ <li>文件名.{format}</li>
10233
+ 绝对路径示例:
10234
+ <li>/自定义路径/文件名_{变量名}.{format}</li>
10235
+ 如果不填,则默认为相对路径:{inputName}_adaptiveDynamicStreaming_{definition}.{format}。
10200
10236
  */
10201
10237
  OutputObjectPath?: string;
10202
10238
  /**
@@ -13335,7 +13371,15 @@ export interface SampleSnapshotTaskInput {
13335
13371
  */
13336
13372
  OutputStorage?: TaskOutputStorage;
13337
13373
  /**
13338
- * 采样截图后图片文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_sampleSnapshot_{definition}_{number}.{format}`。
13374
+ * 采样截图后图片文件的输出路径,可以为相对路径或者绝对路径。
13375
+ 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
13376
+ 相对路径示例:
13377
+ <li>文件名_{变量名}.{format}</li>
13378
+ <li>文件名.{format}</li>
13379
+ 绝对路径示例:
13380
+ <li>/自定义路径/文件名_{变量名}.{format}</li>
13381
+ 如果不填,则默认为相对路径:`{inputName}_sampleSnapshot_{definition}_{number}.{format}`。
13382
+
13339
13383
  */
13340
13384
  OutputObjectPath?: string;
13341
13385
  /**
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, GeneralHandwritingOCRResponse, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, RideHailingTransportLicenseOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, GeneralAccurateOCRResponse, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, RecognizePhilippinesSssIDOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, ImageEnhancementResponse, PassportOCRResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, GeneralEfficientOCRRequest, RecognizePhilippinesUMIDOCRResponse, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RecognizeEncryptedIDCardOCRRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, QrcodeOCRRequest, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, VatInvoiceOCRRequest, RecognizePhilippinesUMIDOCRRequest, MLIDCardOCRResponse, RecognizePhilippinesTinIDOCRRequest, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, TableOCRRequest, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, QuotaInvoiceOCRResponse, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
3
+ import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, GeneralHandwritingOCRResponse, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, RideHailingTransportLicenseOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, GeneralAccurateOCRResponse, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, RecognizePhilippinesSssIDOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, ImageEnhancementResponse, PassportOCRResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, ReconstructDocumentResponse, GeneralEfficientOCRRequest, RecognizePhilippinesUMIDOCRResponse, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, ShipInvoiceOCRResponse, ReconstructDocumentRequest, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RecognizeEncryptedIDCardOCRRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, QrcodeOCRRequest, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, VatInvoiceOCRRequest, RecognizePhilippinesUMIDOCRRequest, MLIDCardOCRResponse, RecognizePhilippinesTinIDOCRRequest, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, TableOCRRequest, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, QuotaInvoiceOCRResponse, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
4
4
  /**
5
5
  * ocr client
6
6
  * @class
@@ -345,6 +345,12 @@ export declare class Client extends AbstractClient {
345
345
  默认接口请求频率限制:5次/秒。
346
346
  */
347
347
  InvoiceGeneralOCR(req: InvoiceGeneralOCRRequest, cb?: (error: string, rep: InvoiceGeneralOCRResponse) => void): Promise<InvoiceGeneralOCRResponse>;
348
+ /**
349
+ * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
350
+
351
+ 默认接口请求频率限制:5次/秒。
352
+ */
353
+ RideHailingTransportLicenseOCR(req: RideHailingTransportLicenseOCRRequest, cb?: (error: string, rep: RideHailingTransportLicenseOCRResponse) => void): Promise<RideHailingTransportLicenseOCRResponse>;
348
354
  /**
349
355
  * 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
350
356
  */
@@ -754,11 +760,9 @@ export declare class Client extends AbstractClient {
754
760
  */
755
761
  EduPaperOCR(req: EduPaperOCRRequest, cb?: (error: string, rep: EduPaperOCRResponse) => void): Promise<EduPaperOCRResponse>;
756
762
  /**
757
- * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
758
-
759
- 默认接口请求频率限制:5次/秒。
763
+ * 支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
760
764
  */
761
- RideHailingTransportLicenseOCR(req: RideHailingTransportLicenseOCRRequest, cb?: (error: string, rep: RideHailingTransportLicenseOCRResponse) => void): Promise<RideHailingTransportLicenseOCRResponse>;
765
+ ReconstructDocument(req: ReconstructDocumentRequest, cb?: (error: string, rep: ReconstructDocumentResponse) => void): Promise<ReconstructDocumentResponse>;
762
766
  /**
763
767
  * 菲律宾TinID识别
764
768
  */
@@ -427,6 +427,14 @@ class Client extends abstract_client_1.AbstractClient {
427
427
  async InvoiceGeneralOCR(req, cb) {
428
428
  return this.request("InvoiceGeneralOCR", req, cb);
429
429
  }
430
+ /**
431
+ * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
432
+
433
+ 默认接口请求频率限制:5次/秒。
434
+ */
435
+ async RideHailingTransportLicenseOCR(req, cb) {
436
+ return this.request("RideHailingTransportLicenseOCR", req, cb);
437
+ }
430
438
  /**
431
439
  * 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
432
440
  */
@@ -932,12 +940,10 @@ class Client extends abstract_client_1.AbstractClient {
932
940
  return this.request("EduPaperOCR", req, cb);
933
941
  }
934
942
  /**
935
- * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
936
-
937
- 默认接口请求频率限制:5次/秒。
943
+ * 支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
938
944
  */
939
- async RideHailingTransportLicenseOCR(req, cb) {
940
- return this.request("RideHailingTransportLicenseOCR", req, cb);
945
+ async ReconstructDocument(req, cb) {
946
+ return this.request("ReconstructDocument", req, cb);
941
947
  }
942
948
  /**
943
949
  * 菲律宾TinID识别
@@ -288,6 +288,19 @@ export interface CarInvoiceOCRRequest {
288
288
  */
289
289
  PdfPageNumber?: number;
290
290
  }
291
+ /**
292
+ * 识别结果
293
+ */
294
+ export interface TextDetectionResult {
295
+ /**
296
+ * 识别出的文本行内容
297
+ */
298
+ Value: string;
299
+ /**
300
+ * 坐标,以四个顶点坐标表示
301
+ */
302
+ Polygon: Array<Coord>;
303
+ }
291
304
  /**
292
305
  * 混贴票据单张发票识别信息
293
306
  */
@@ -5285,6 +5298,54 @@ export interface WordCoordPoint {
5285
5298
  */
5286
5299
  WordCoordinate: Array<Coord>;
5287
5300
  }
5301
+ /**
5302
+ * 单页文档识别的内容
5303
+ */
5304
+ export interface DocumentRecognizeInfo {
5305
+ /**
5306
+ * 输入PDF文件的页码,从1开始。输入图片的话值始终为1
5307
+ 注意:此字段可能返回 null,表示取不到有效值。
5308
+ */
5309
+ PageNumber?: number;
5310
+ /**
5311
+ * 旋转角度
5312
+
5313
+ 注意:此字段可能返回 null,表示取不到有效值。
5314
+ * @deprecated
5315
+ */
5316
+ Angle?: number;
5317
+ /**
5318
+ * AI算法识别处理后的图片高度
5319
+ 注意:此字段可能返回 null,表示取不到有效值。
5320
+ */
5321
+ Height?: number;
5322
+ /**
5323
+ * AI算法识别处理后的图片宽度
5324
+ 注意:此字段可能返回 null,表示取不到有效值。
5325
+ */
5326
+ Width?: number;
5327
+ /**
5328
+ * 图片的原始高度,输入PDF文件则表示单页PDF转图片之后的图片高度
5329
+ 注意:此字段可能返回 null,表示取不到有效值。
5330
+ */
5331
+ OriginHeight?: number;
5332
+ /**
5333
+ * 图片的原始宽度,输入PDF文件则表示单页PDF转图片之后的图片宽度
5334
+ 注意:此字段可能返回 null,表示取不到有效值。
5335
+ */
5336
+ OriginWidth?: number;
5337
+ /**
5338
+ * 文档元素信息
5339
+ 注意:此字段可能返回 null,表示取不到有效值。
5340
+ */
5341
+ Elements?: Array<DocumentElement>;
5342
+ /**
5343
+ * 旋转角度
5344
+
5345
+ 注意:此字段可能返回 null,表示取不到有效值。
5346
+ */
5347
+ RotatedAngle?: number;
5348
+ }
5288
5349
  /**
5289
5350
  * LicensePlateOCR请求参数结构体
5290
5351
  */
@@ -5514,6 +5575,30 @@ export interface RecognizeIndonesiaIDCardOCRResponse {
5514
5575
  */
5515
5576
  RequestId?: string;
5516
5577
  }
5578
+ /**
5579
+ * ReconstructDocument返回参数结构体
5580
+ */
5581
+ export interface ReconstructDocumentResponse {
5582
+ /**
5583
+ * 识别生成的Markdown文件base64编码的字符串
5584
+ 注意:此字段可能返回 null,表示取不到有效值。
5585
+ */
5586
+ MarkdownBase64?: string;
5587
+ /**
5588
+ * 输入文件中嵌入的图片放在一个文件夹中打包为.zip压缩文件,识别生成的Markdown文件通过路径关联插入本文件夹中的图片。
5589
+ 注意:此字段可能返回 null,表示取不到有效值。
5590
+ */
5591
+ InsetImagePackage?: string;
5592
+ /**
5593
+ * 输入文件中嵌入的图片中文字内容的识别结果
5594
+ 注意:此字段可能返回 null,表示取不到有效值。
5595
+ */
5596
+ DocumentRecognizeInfo?: Array<DocumentRecognizeInfo>;
5597
+ /**
5598
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5599
+ */
5600
+ RequestId?: string;
5601
+ }
5517
5602
  /**
5518
5603
  * GeneralEfficientOCR请求参数结构体
5519
5604
  */
@@ -6073,17 +6158,51 @@ export interface FlightInvoiceOCRResponse {
6073
6158
  RequestId?: string;
6074
6159
  }
6075
6160
  /**
6076
- * 识别结果
6161
+ * ShipInvoiceOCR返回参数结构体
6077
6162
  */
6078
- export interface TextDetectionResult {
6163
+ export interface ShipInvoiceOCRResponse {
6079
6164
  /**
6080
- * 识别出的文本行内容
6165
+ * 轮船票识别结果,具体内容请点击左侧链接。
6081
6166
  */
6082
- Value: string;
6167
+ ShipInvoiceInfos?: Array<ShipInvoiceInfo>;
6083
6168
  /**
6084
- * 坐标,以四个顶点坐标表示
6169
+ * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
6085
6170
  */
6086
- Polygon: Array<Coord>;
6171
+ Angle?: number;
6172
+ /**
6173
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6174
+ */
6175
+ RequestId?: string;
6176
+ }
6177
+ /**
6178
+ * ReconstructDocument请求参数结构体
6179
+ */
6180
+ export interface ReconstructDocumentRequest {
6181
+ /**
6182
+ * PDF,Image
6183
+ */
6184
+ FileType: string;
6185
+ /**
6186
+ * 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
6187
+ */
6188
+ FileBase64?: string;
6189
+ /**
6190
+ * 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6191
+ */
6192
+ FileUrl?: string;
6193
+ /**
6194
+ * 当传入文件是PDF类型(IsPdf=true)时,用来指定pdf识别的起始页码,识别的页码包含当前值。
6195
+ */
6196
+ FileStartPageNumber?: number;
6197
+ /**
6198
+ * 当传入文件是PDF类型(IsPdf=true)时,用来指定pdf识别的结束页码,识别的页码包含当前值。
6199
+ 单次调用,最多支持10页pdf的智能识别。
6200
+ */
6201
+ FileEndPageNumber?: number;
6202
+ /**
6203
+ * 配置选项,支持配置是否在生成的Markdown中是否嵌入图片
6204
+ */
6205
+ Config?: ReconstructDocumentConfig;
6087
6206
  }
6088
6207
  /**
6089
6208
  * InstitutionOCR请求参数结构体
@@ -7857,21 +7976,42 @@ export interface MedicalInvoiceItem {
7857
7976
  Coord: Rect;
7858
7977
  }
7859
7978
  /**
7860
- * ShipInvoiceOCR返回参数结构体
7979
+ * 文档元素字段
7861
7980
  */
7862
- export interface ShipInvoiceOCRResponse {
7981
+ export interface DocumentElement {
7863
7982
  /**
7864
- * 轮船票识别结果,具体内容请点击左侧链接。
7983
+ * 文档元素索引
7984
+ 注意:此字段可能返回 null,表示取不到有效值。
7865
7985
  */
7866
- ShipInvoiceInfos?: Array<ShipInvoiceInfo>;
7986
+ Index?: number;
7867
7987
  /**
7868
- * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
7988
+ * 元素类型,包括paragraph、table、formula、figure、title、header、footer、figure_text
7989
+
7990
+ 注意:此字段可能返回 null,表示取不到有效值。
7869
7991
  */
7870
- Angle?: number;
7992
+ Type?: string;
7871
7993
  /**
7872
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7994
+ * 元素内容,当type为figure或formula(公式识别关闭)时该字段内容为图片的位置
7995
+
7996
+ 注意:此字段可能返回 null,表示取不到有效值。
7873
7997
  */
7874
- RequestId?: string;
7998
+ Text?: string;
7999
+ /**
8000
+ * 元素坐标,左上角(x1, y1),右上角(x2, y2),右下角(x3, y3),左下角(x4, y4)
8001
+
8002
+ 注意:此字段可能返回 null,表示取不到有效值。
8003
+ */
8004
+ Polygon?: Polygon;
8005
+ /**
8006
+ * 元素层级
8007
+ 注意:此字段可能返回 null,表示取不到有效值。
8008
+ */
8009
+ Level?: number;
8010
+ /**
8011
+ * 嵌套的文档元素信息,一般包含的是文档内嵌入图片的文字识别结果
8012
+ 注意:此字段可能返回 null,表示取不到有效值。
8013
+ */
8014
+ Elements?: Array<DocumentElement>;
7875
8015
  }
7876
8016
  /**
7877
8017
  * RecognizeGeneralInvoice返回参数结构体
@@ -9201,6 +9341,15 @@ export interface WaybillOCRRequest {
9201
9341
  */
9202
9342
  PdfPageNumber?: number;
9203
9343
  }
9344
+ /**
9345
+ * ReconstructDocument配置选项
9346
+ */
9347
+ export interface ReconstructDocumentConfig {
9348
+ /**
9349
+ * 生成的Markdown中是否嵌入图片
9350
+ */
9351
+ EnableInsetImage?: boolean;
9352
+ }
9204
9353
  /**
9205
9354
  * VinOCR请求参数结构体
9206
9355
  */
@@ -50,7 +50,7 @@ export declare class Client extends AbstractClient {
50
50
  /**
51
51
  * 获取内置镜像列表
52
52
  */
53
- DescribeBuildInImages(req?: DescribeBuildInImagesRequest, cb?: (error: string, rep: DescribeBuildInImagesResponse) => void): Promise<DescribeBuildInImagesResponse>;
53
+ DescribeBuildInImages(req: DescribeBuildInImagesRequest, cb?: (error: string, rep: DescribeBuildInImagesResponse) => void): Promise<DescribeBuildInImagesResponse>;
54
54
  /**
55
55
  * 启动Notebook
56
56
  */
@@ -146,7 +146,7 @@ export interface CreateModelServiceRequest {
146
146
  */
147
147
  Command?: string;
148
148
  /**
149
- * 是否开启TIONE内网访问外部
149
+ * 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。
150
150
  */
151
151
  ServiceEIP?: ServiceEIP;
152
152
  }
@@ -1790,6 +1790,23 @@ export interface ResourceInstanceRunningJobInfo {
1790
1790
  */
1791
1791
  TaskName?: string;
1792
1792
  }
1793
+ /**
1794
+ * 镜像列表过滤
1795
+ */
1796
+ export interface ImageFIlter {
1797
+ /**
1798
+ * 过滤字段名称
1799
+ */
1800
+ Name: string;
1801
+ /**
1802
+ * 过滤值
1803
+ */
1804
+ Values: Array<string>;
1805
+ /**
1806
+ * 是否反选
1807
+ */
1808
+ Negative?: boolean;
1809
+ }
1793
1810
  /**
1794
1811
  * DescribeLatestTrainingMetrics返回参数结构体
1795
1812
  */
@@ -2115,7 +2132,12 @@ export interface DescribeModelAccelerateVersionsResponse {
2115
2132
  /**
2116
2133
  * DescribeBuildInImages请求参数结构体
2117
2134
  */
2118
- export declare type DescribeBuildInImagesRequest = null;
2135
+ export interface DescribeBuildInImagesRequest {
2136
+ /**
2137
+ * 镜像过滤器
2138
+ */
2139
+ ImageFilters?: Array<ImageFIlter>;
2140
+ }
2119
2141
  /**
2120
2142
  * notebook ssh端口配置
2121
2143
  */
@@ -2330,7 +2352,7 @@ export interface ModifyModelServiceRequest {
2330
2352
  */
2331
2353
  Command?: string;
2332
2354
  /**
2333
- * 是否开启TIONE内网访问外部
2355
+ * 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。
2334
2356
  */
2335
2357
  ServiceEIP?: ServiceEIP;
2336
2358
  }
@@ -4111,6 +4133,11 @@ export interface ImageInfo {
4111
4133
  注意:此字段可能返回 null,表示取不到有效值。
4112
4134
  */
4113
4135
  ImageName?: string;
4136
+ /**
4137
+ * 是否支持数据构建
4138
+ 注意:此字段可能返回 null,表示取不到有效值。
4139
+ */
4140
+ SupportDataPipeline?: boolean;
4114
4141
  }
4115
4142
  /**
4116
4143
  * 推理服务在集群中的信息
@@ -4884,6 +4911,16 @@ export interface Instance {
4884
4911
  * 纳管cvmid
4885
4912
  */
4886
4913
  CvmInstanceId?: string;
4914
+ /**
4915
+ * 部署失败错误码
4916
+ 注意:此字段可能返回 null,表示取不到有效值。
4917
+ */
4918
+ ErrCode?: string;
4919
+ /**
4920
+ * 部署失败错误信息
4921
+ 注意:此字段可能返回 null,表示取不到有效值。
4922
+ */
4923
+ ErrMsg?: string;
4887
4924
  }
4888
4925
  /**
4889
4926
  * DescribeBillingSpecs返回参数结构体
@@ -8,7 +8,7 @@ import { ModerateTextResponse, TextModerationRequest, ModerateTextRequest, TextM
8
8
  export declare class Client extends AbstractClient {
9
9
  constructor(clientConfig: ClientConfig);
10
10
  /**
11
- * 天御文本内容安全审核接口,改接口会按照客户定制标签输出审核结果
11
+ * 天御文本内容安全定制标签文本审核接口为定制接口,会按照客户定制标签输出审核结果,如需使用请联系商务经理或[在线客服](https://cloud.tencent.com/online-service?from=doc_1125)咨询。
12
12
  */
13
13
  ModerateText(req: ModerateTextRequest, cb?: (error: string, rep: ModerateTextResponse) => void): Promise<ModerateTextResponse>;
14
14
  /**
@@ -28,7 +28,7 @@ class Client extends abstract_client_1.AbstractClient {
28
28
  super("tms.tencentcloudapi.com", "2020-12-29", clientConfig);
29
29
  }
30
30
  /**
31
- * 天御文本内容安全审核接口,改接口会按照客户定制标签输出审核结果
31
+ * 天御文本内容安全定制标签文本审核接口为定制接口,会按照客户定制标签输出审核结果,如需使用请联系商务经理或[在线客服](https://cloud.tencent.com/online-service?from=doc_1125)咨询。
32
32
  */
33
33
  async ModerateText(req, cb) {
34
34
  return this.request("ModerateText", req, cb);