tencentcloud-sdk-nodejs 4.0.840 → 4.0.842

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 (85) hide show
  1. package/CHANGELOG.md +315 -0
  2. package/README.md +7 -0
  3. package/SERVICE_CHANGELOG.md +330 -91
  4. package/examples/common/common_client.js +47 -0
  5. package/examples/common/common_client.ts +47 -0
  6. package/package.json +6 -1
  7. package/products.md +26 -26
  8. package/src/common/index.ts +3 -0
  9. package/src/common/sdk_version.ts +1 -1
  10. package/src/services/aiart/v20221229/aiart_client.ts +99 -13
  11. package/src/services/aiart/v20221229/aiart_models.ts +359 -76
  12. package/src/services/apm/v20210622/apm_client.ts +46 -8
  13. package/src/services/apm/v20210622/apm_models.ts +233 -24
  14. package/src/services/billing/v20180709/billing_models.ts +15 -0
  15. package/src/services/ccc/v20200210/ccc_models.ts +2 -1
  16. package/src/services/cdn/v20180606/cdn_client.ts +1 -1
  17. package/src/services/cloudstudio/v20230508/cloudstudio_models.ts +1 -1
  18. package/src/services/dcdb/v20180411/dcdb_client.ts +1 -0
  19. package/src/services/dcdb/v20180411/dcdb_models.ts +25 -3
  20. package/src/services/ess/v20201111/ess_client.ts +2 -0
  21. package/src/services/ess/v20201111/ess_models.ts +30 -2
  22. package/src/services/essbasic/v20210526/essbasic_client.ts +2 -0
  23. package/src/services/essbasic/v20210526/essbasic_models.ts +30 -2
  24. package/src/services/ims/v20201229/ims_client.ts +2 -3
  25. package/src/services/ims/v20201229/ims_models.ts +54 -54
  26. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +13 -0
  27. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +47 -0
  28. package/src/services/iss/v20230517/iss_models.ts +16 -0
  29. package/src/services/lighthouse/v20200324/lighthouse_client.ts +2 -0
  30. package/src/services/live/v20180801/live_client.ts +1 -1
  31. package/src/services/live/v20180801/live_models.ts +6 -6
  32. package/src/services/lke/v20231130/lke_client.ts +0 -24
  33. package/src/services/lke/v20231130/lke_models.ts +0 -81
  34. package/src/services/mariadb/v20170312/mariadb_client.ts +1 -0
  35. package/src/services/mariadb/v20170312/mariadb_models.ts +24 -2
  36. package/src/services/ocr/v20181119/ocr_models.ts +1 -0
  37. package/src/services/tdid/v20210519/tdid_client.ts +1 -1
  38. package/src/services/tdmq/v20200217/tdmq_models.ts +44 -25
  39. package/src/services/teo/v20220901/teo_models.ts +8 -9
  40. package/src/services/tione/v20211111/tione_client.ts +1 -0
  41. package/src/services/tione/v20211111/tione_models.ts +16 -0
  42. package/tencentcloud/common/index.d.ts +3 -0
  43. package/tencentcloud/common/index.js +6 -0
  44. package/tencentcloud/common/sdk_version.d.ts +1 -1
  45. package/tencentcloud/common/sdk_version.js +1 -1
  46. package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +48 -3
  47. package/tencentcloud/services/aiart/v20221229/aiart_client.js +59 -4
  48. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +346 -74
  49. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +15 -3
  50. package/tencentcloud/services/apm/v20210622/apm_client.js +21 -3
  51. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +225 -24
  52. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +15 -0
  53. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +2 -1
  54. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
  55. package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -1
  56. package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +1 -1
  57. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +24 -3
  58. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +28 -2
  59. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +28 -2
  60. package/tencentcloud/services/ims/v20201229/ims_client.d.ts +2 -3
  61. package/tencentcloud/services/ims/v20201229/ims_client.js +2 -3
  62. package/tencentcloud/services/ims/v20201229/ims_models.d.ts +54 -54
  63. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
  64. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
  65. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +44 -0
  66. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +16 -0
  67. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -0
  68. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -0
  69. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
  70. package/tencentcloud/services/live/v20180801/live_client.js +1 -1
  71. package/tencentcloud/services/live/v20180801/live_models.d.ts +6 -6
  72. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -9
  73. package/tencentcloud/services/lke/v20231130/lke_client.js +0 -12
  74. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +0 -77
  75. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +23 -2
  76. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -0
  77. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +1 -1
  78. package/tencentcloud/services/tdid/v20210519/tdid_client.js +1 -1
  79. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +44 -25
  80. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +8 -9
  81. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +15 -0
  82. package/test/aiart.v20221229.test.js +52 -2
  83. package/test/apm.v20210622.test.js +32 -2
  84. package/test/iotexplorer.v20190423.test.js +10 -0
  85. package/test/lke.v20231130.test.js +0 -20
@@ -15,7 +15,7 @@ export interface ImageModerationRequest {
15
15
  */
16
16
  FileContent?: string;
17
17
  /**
18
- * 该字段表示待检测图片文件的访问链接,图片支持PNG、JPG、JPEG、BMP、GIF、WEBP格式,**大小不超过5MB**,建议**分辨率不低于256x256**;图片下载时间限制为3秒,超过则会返回下载超时;由于网络安全策略,**送审带重定向的链接,可能引起下载失败**,请尽量避免,比如Http返回302状态码的链接,可能导致接口返回ResourceUnavailable.ImageDownloadError。<br>备注:**该字段与FileContent必须选择输入其中一个**。
18
+ * 该字段表示待检测图片文件的访问链接。图片支持PNG、JPG、JPEG、BMP、GIF、WEBP格式,且**大小不得超过5MB**,建议**分辨率不低于256x256**。**图片下载时间限制为3秒,超时将进行一次重试,若再次失败,则会返回下载超时**。由于网络安全策略,**送审带重定向的链接**可能引起下载失败,请尽量避免使用返回302或其他非200状态码的HTTP链接,会导致接口返回 ResourceUnavailable.ImageDownloadError 错误。<br>备注:该字段与FileContent必须选择输入其中一个。
19
19
  */
20
20
  FileUrl?: string;
21
21
  /**
@@ -57,34 +57,34 @@ export interface ObjectResult {
57
57
  /**
58
58
  * 该字段用于返回实体识别出的实体场景结果,如二维码、logo、图片OCR等场景。
59
59
  */
60
- Scene: string;
60
+ Scene?: string;
61
61
  /**
62
62
  * 该字段用于返回针对当前恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
63
63
  */
64
- Suggestion: string;
64
+ Suggestion?: string;
65
65
  /**
66
- * 该字段用于返回检测结果所对应的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
66
+ * 该字段用于返回检测结果所对应的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
67
67
  */
68
- Label: string;
68
+ Label?: string;
69
69
  /**
70
70
  * 该字段用于返回当前恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior* 等子标签。
71
71
  */
72
- SubLabel: string;
72
+ SubLabel?: string;
73
73
  /**
74
74
  * 该字段用于返回命中当前恶意标签下子标签的分值,取值为**0-100**,如:*Porn-SexBehavior 99* 则代表相应识别内容命中色情-性行为标签的分值为99。
75
75
  */
76
- Score: number;
76
+ Score?: number;
77
77
  /**
78
78
  * 该标签用于返回所识别出的实体名称。
79
79
  注意:此字段可能返回 null,表示取不到有效值。
80
80
  */
81
- Names: Array<string>;
81
+ Names?: Array<string>;
82
82
  /**
83
83
  * 该标签用于返回所识别出实体的详细信息,如:序号、命中标签名称、位置坐标等信息,详细返回内容敬请参考相应数据结构([ObjectDetail
84
84
  ](https://cloud.tencent.com/document/api/1125/53274#ObjectDetail))。
85
85
  注意:此字段可能返回 null,表示取不到有效值。
86
86
  */
87
- Details: Array<ObjectDetail>;
87
+ Details?: Array<ObjectDetail>;
88
88
  }
89
89
  /**
90
90
  * 用于返回OCR文本结果详情,图片中的文本越多,可能导致接口返回时间增加。
@@ -93,39 +93,39 @@ export interface OcrTextDetail {
93
93
  /**
94
94
  * 该字段用于返回OCR识别出的文本内容。<br>备注:OCR文本识别上限在**5000字节内**。
95
95
  */
96
- Text: string;
96
+ Text?: string;
97
97
  /**
98
- * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
98
+ * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
99
99
  */
100
- Label: string;
100
+ Label?: string;
101
101
  /**
102
- * 该字段**仅当Label为Custom自定义关键词时有效**,用于返回自定义库的ID,以方便自定义库管理和配置。
102
+ * 该字段用于返回自定义库的ID,以方便自定义库管理和配置。
103
103
  */
104
- LibId: string;
104
+ LibId?: string;
105
105
  /**
106
- * 该字段**仅当Label为Custom自定义关键词时有效**,用于返回自定义库的名称,以方便自定义库管理和配置。
106
+ * 该字段用于返回自定义库的名称,以方便自定义库管理和配置。
107
107
  */
108
- LibName: string;
108
+ LibName?: string;
109
109
  /**
110
110
  * 该参数用于返回在当前label下命中的关键词。
111
111
  */
112
- Keywords: Array<string>;
112
+ Keywords?: Array<string>;
113
113
  /**
114
114
  * 该参数用于返回在当前恶意标签下模型命中的分值,取值为**0-100**;分数越高,代表当前场景越符合该恶意标签所对应的场景。
115
115
  */
116
- Score: number;
116
+ Score?: number;
117
117
  /**
118
118
  * 该参数用于返回OCR检测框在图片中的位置(左上角xy坐标、长宽、旋转角度),以方便快速定位识别文字的相关信息。
119
119
  */
120
- Location: Location;
120
+ Location?: Location;
121
121
  /**
122
122
  * 该参数用于返回OCR文本识别结果的置信度,取值在**0**(**置信度最低**)-**100**(**置信度最高**),越高代表对应图像越有可能是识别出的文字;如:*你好 99*,则表明OCR识别框内的文字大概率是”你好“。
123
123
  */
124
- Rate: number;
124
+ Rate?: number;
125
125
  /**
126
126
  * 该字段用于返回检测结果所对应的恶意二级标签。
127
127
  */
128
- SubLabel: string;
128
+ SubLabel?: string;
129
129
  }
130
130
  /**
131
131
  * CreateImageModerationAsyncTask返回参数结构体
@@ -239,32 +239,32 @@ export interface OcrResult {
239
239
  /**
240
240
  * 该字段表示识别场景,取值默认为OCR(图片OCR识别)。
241
241
  */
242
- Scene: string;
242
+ Scene?: string;
243
243
  /**
244
244
  * 该字段用于返回优先级最高的恶意标签对应的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
245
245
  */
246
- Suggestion: string;
246
+ Suggestion?: string;
247
247
  /**
248
- * 该字段用于返回OCR检测结果所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
248
+ * 该字段用于返回OCR检测结果所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
249
249
  */
250
- Label: string;
250
+ Label?: string;
251
251
  /**
252
252
  * 该字段用于返回当前标签(Label)下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。
253
253
  */
254
- SubLabel: string;
254
+ SubLabel?: string;
255
255
  /**
256
256
  * 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容;*色情 0*,则表明该文本不属于色情内容。
257
257
  */
258
- Score: number;
258
+ Score?: number;
259
259
  /**
260
260
  * 该字段用于返回OCR识别出的结果的详细内容,如:文本内容、对应标签、识别框位置等信息。
261
261
  注意:此字段可能返回 null,表示取不到有效值。
262
262
  */
263
- Details: Array<OcrTextDetail>;
263
+ Details?: Array<OcrTextDetail>;
264
264
  /**
265
265
  * 该字段用于返回OCR识别出的文字信息。
266
266
  */
267
- Text: string;
267
+ Text?: string;
268
268
  }
269
269
  /**
270
270
  * 用于返回自定义库/黑白库的明细信息
@@ -273,33 +273,33 @@ export interface LibDetail {
273
273
  /**
274
274
  * 该字段用于返回识别对象的ID以方便识别和区分。
275
275
  */
276
- Id: number;
276
+ Id?: number;
277
277
  /**
278
- * 该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的ID,以方便自定义库管理和配置。
278
+ * 该字段用于返回自定义库的ID,以方便自定义库管理和配置。
279
279
  */
280
- LibId: string;
280
+ LibId?: string;
281
281
  /**
282
- * 该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的名称,以方便自定义库管理和配置。
282
+ * 该字段用于返回自定义库的名称,以方便自定义库管理和配置。
283
283
  注意:此字段可能返回 null,表示取不到有效值。
284
284
  */
285
- LibName: string;
285
+ LibName?: string;
286
286
  /**
287
287
  * 该字段用于返回识别图像对象的ID以方便文件管理。
288
288
  */
289
- ImageId: string;
289
+ ImageId?: string;
290
290
  /**
291
- * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
291
+ * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
292
292
  */
293
- Label: string;
293
+ Label?: string;
294
294
  /**
295
295
  * 该字段用于返回其他自定义标签以满足您的定制化场景需求,若无需求则可略过。
296
296
  注意:此字段可能返回 null,表示取不到有效值。
297
297
  */
298
- Tag: string;
298
+ Tag?: string;
299
299
  /**
300
300
  * 该字段用于返回对应模型命中的分值,取值为**0-100**,如:*Porn 99* 则代表相应识别内容命中色情标签的分值为99。
301
301
  */
302
- Score: number;
302
+ Score?: number;
303
303
  }
304
304
  /**
305
305
  * 坐标
@@ -333,28 +333,28 @@ export interface LabelResult {
333
333
  /**
334
334
  * 该字段用于返回模型识别出的场景结果,如广告、色情、有害内容等场景。
335
335
  */
336
- Scene: string;
336
+ Scene?: string;
337
337
  /**
338
338
  * 该字段用于返回针对当前恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
339
339
  */
340
- Suggestion: string;
340
+ Suggestion?: string;
341
341
  /**
342
- * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
342
+ * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
343
343
  */
344
- Label: string;
344
+ Label?: string;
345
345
  /**
346
346
  * 该字段用于返回对应恶意标签下的子标签的检测结果,如:*Porn-SexBehavior*等子标签。
347
347
  */
348
- SubLabel: string;
348
+ SubLabel?: string;
349
349
  /**
350
350
  * 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表图片越有可能属于当前返回的标签;如:*色情 99*,则表明该图片非常有可能属于色情内容;*色情 0*,则表明该图片不属于色情内容。
351
351
  */
352
- Score: number;
352
+ Score?: number;
353
353
  /**
354
354
  * 该字段用于返回分类模型命中子标签的详细信息,如:序号、命中标签名称、分数等信息。
355
355
  注意:此字段可能返回 null,表示取不到有效值。
356
356
  */
357
- Details: Array<LabelDetailItem>;
357
+ Details?: Array<LabelDetailItem>;
358
358
  }
359
359
  /**
360
360
  * 用于返回分类模型命中子标签的详细结果
@@ -424,29 +424,29 @@ export interface LibResult {
424
424
  /**
425
425
  * 该字段表示模型的场景识别结果,默认取值为Similar。
426
426
  */
427
- Scene: string;
427
+ Scene?: string;
428
428
  /**
429
429
  * 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
430
430
  */
431
- Suggestion: string;
431
+ Suggestion?: string;
432
432
  /**
433
- * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
433
+ * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
434
434
  */
435
- Label: string;
435
+ Label?: string;
436
436
  /**
437
437
  * 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。
438
438
  注意:此字段可能返回 null,表示取不到有效值。
439
439
  */
440
- SubLabel: string;
440
+ SubLabel?: string;
441
441
  /**
442
442
  * 该字段用于返回图片检索模型识别的分值,取值为**0-100**,表示该审核图片**与库中样本的相似分值**,得分越高,代表当前内容越有可能命中相似图库内的样本。
443
443
  */
444
- Score: number;
444
+ Score?: number;
445
445
  /**
446
446
  * 该字段用于返回黑白库比对结果的详细信息,如:序号、库名称、恶意标签等信息;详细返回信息敬请参考对应数据结构([LibDetail](https://cloud.tencent.com/document/product/1125/53274#LibDetail))的描述文档
447
447
  注意:此字段可能返回 null,表示取不到有效值。
448
448
  */
449
- Details: Array<LibDetail>;
449
+ Details?: Array<LibDetail>;
450
450
  }
451
451
  /**
452
452
  * ImageModeration返回参数结构体
@@ -457,7 +457,7 @@ export interface ImageModerationResponse {
457
457
  */
458
458
  Suggestion?: string;
459
459
  /**
460
- * 该字段用于返回检测结果(LabelResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
460
+ * 该字段用于返回检测结果(LabelResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
461
461
  */
462
462
  Label?: string;
463
463
  /**
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { UpdateDevicesEnableStateResponse, DescribeCloudStorageDateRequest, DescribeDeviceLocationSolveRequest, DeleteProjectRequest, DescribeCloudStorageAIServiceResponse, ListEventHistoryResponse, ModifyLoRaGatewayRequest, DeleteFenceBindRequest, DescribeModelDefinitionResponse, UnbindDevicesRequest, PublishBroadcastMessageRequest, DeleteDevicesResponse, DeleteCloudStorageEventResponse, DescribeCloudStorageTimeResponse, GetGatewaySubDeviceListResponse, DescribeCloudStorageThumbnailListRequest, DeleteStudioProductResponse, BindDevicesRequest, DescribeDevicePackagesRequest, GetDeviceListResponse, GenerateSignedVideoURLRequest, DeleteLoRaFrequencyResponse, DescribeCloudStorageMultiThumbnailResponse, ModifyPositionFenceRequest, DeleteTopicRuleResponse, InheritCloudStorageUserRequest, TransferCloudStorageResponse, CreateStudioProductResponse, CallDeviceActionSyncRequest, GetProjectListResponse, DescribeDevicePositionListRequest, GetDeviceLocationHistoryResponse, UpdateFirmwareResponse, ModifyPositionFenceResponse, ModifyStudioProductRequest, ModifyPositionSpaceResponse, CreateStudioProductRequest, DisableTopicRuleRequest, CreateBatchProductionRequest, DeletePositionFenceResponse, ModifyLoRaFrequencyRequest, DescribeCloudStoragePackageConsumeDetailsResponse, DescribeCloudStoragePackageConsumeStatsResponse, ModifyCloudStorageAIServiceCallbackResponse, DescribeCloudStorageUsersResponse, SearchTopicRuleRequest, DescribeDeviceDataRequest, ModifyProductCloudStorageAIServiceResponse, DescribeCloudStorageStreamDataRequest, ListTopicPolicyResponse, SearchPositionSpaceResponse, DescribePositionFenceListResponse, DescribeCloudStorageMultiThumbnailRequest, GenSingleDeviceSignatureOfPublicResponse, GetDeviceSumStatisticsResponse, DeletePositionSpaceRequest, DescribePackageConsumeTasksRequest, CreateProjectRequest, DescribeProjectResponse, UnbindProductsRequest, SearchStudioProductResponse, ModifyCloudStorageAIServiceResponse, GetTopicRuleListRequest, GetFamilyDeviceUserListResponse, DescribeCloudStorageOrderRequest, ModifyProjectRequest, DescribeBatchProductionResponse, PublishRRPCMessageRequest, DescribeProductCloudStorageAIServiceResponse, DeleteDeviceRequest, DeleteLoRaFrequencyRequest, ModifyStudioProductResponse, ControlDeviceDataRequest, ListFirmwaresResponse, ReleaseStudioProductResponse, DescribeSpaceFenceEventListResponse, DescribePackageConsumeTasksResponse, DeleteLoRaGatewayRequest, UnbindProductsResponse, DescribeTopicPolicyResponse, SearchPositionSpaceRequest, ModifyTopicPolicyResponse, DescribeCloudStorageStreamDataResponse, GetPositionSpaceListRequest, DescribeDeviceFirmWareResponse, SearchTopicRuleResponse, DescribeFenceEventListResponse, ModifyCloudStorageAIServiceCallbackRequest, DescribeDeviceFirmWareRequest, UpdateDevicesEnableStateRequest, BindCloudStorageUserRequest, DescribeTopicRuleRequest, GetDeviceLocationHistoryRequest, CallDeviceActionSyncResponse, CreateLoRaGatewayRequest, ReleaseStudioProductRequest, CreateProjectResponse, DescribeDeviceDataHistoryResponse, DeleteProjectResponse, CreateTopicPolicyResponse, ModifyCloudStorageAIServiceRequest, CreateDeviceResponse, CreateDeviceRequest, DescribeDevicePositionListResponse, InheritCloudStorageUserResponse, GetStudioProductListRequest, DescribeFirmwareTaskResponse, DescribeTopicPolicyRequest, DisableTopicRuleResponse, DescribeDeviceLocationSolveResponse, DescribeCloudStorageAIServiceTasksRequest, DescribeStudioProductResponse, CreateFenceBindRequest, CreateIotVideoCloudStorageResponse, DescribePackageConsumeTaskResponse, DescribeDeviceResponse, DescribeCloudStorageEventsRequest, ListFirmwaresRequest, GetStudioProductListResponse, PublishMessageRequest, DescribeProductCloudStorageAIServiceRequest, ModifyTopicRuleRequest, UploadFirmwareRequest, GetDeviceListRequest, ModifySpacePropertyRequest, GetPositionSpaceListResponse, GetCOSURLResponse, ModifyFenceBindRequest, GetTopicRuleListResponse, ResetCloudStorageEventRequest, DescribeFenceEventListRequest, GetLoRaGatewayListResponse, ModifyPositionSpaceRequest, DescribeGatewaySubProductsResponse, ModifyLoRaGatewayResponse, DirectBindDeviceInFamilyResponse, CallDeviceActionAsyncRequest, CallDeviceActionAsyncResponse, DescribeCloudStoragePackageConsumeStatsRequest, ListEventHistoryRequest, DeleteFenceBindResponse, DeleteTopicPolicyRequest, CreateFenceBindResponse, DescribeTopicRuleResponse, CreatePositionFenceResponse, DescribeCloudStorageThumbnailRequest, PublishBroadcastMessageResponse, DescribeFenceBindListRequest, EnableTopicRuleRequest, DescribeBindedProductsResponse, DescribeDeviceRequest, ModifyModelDefinitionRequest, DescribePositionFenceListRequest, ModifyTopicRuleResponse, DescribeBatchProductionRequest, CreateTopicPolicyRequest, DirectBindDeviceInFamilyRequest, DescribeCloudStorageEventsResponse, GetFamilyDeviceUserListRequest, DescribeBindedProductsRequest, DescribeCloudStorageDateResponse, DescribeInstanceResponse, DescribeGatewaySubDeviceListResponse, DescribeSpaceFenceEventListRequest, GetLoRaGatewayListRequest, DescribeProjectRequest, UnbindDevicesResponse, CreateIotVideoCloudStorageRequest, ModifyModelDefinitionResponse, DescribeCloudStoragePackageConsumeDetailsRequest, UploadFirmwareResponse, DescribePackageConsumeTaskRequest, DeleteTopicRuleRequest, CreateLoRaGatewayResponse, BindCloudStorageUserResponse, DeleteTopicPolicyResponse, DeleteLoRaGatewayResponse, CreateLoRaFrequencyRequest, DescribeDeviceBindGatewayResponse, DescribeGatewaySubDeviceListRequest, ControlDeviceDataResponse, DescribeDeviceDataHistoryRequest, UpdateFirmwareRequest, DescribeStudioProductRequest, CreatePositionSpaceResponse, CreateBatchProductionResponse, ModifyLoRaFrequencyResponse, DescribeFenceBindListResponse, DescribeCloudStorageThumbnailListResponse, DeletePositionFenceRequest, ResetCloudStorageResponse, ResetCloudStorageEventResponse, GetProjectListRequest, DescribeCloudStorageAIServiceTasksResponse, DeletePositionSpaceResponse, DescribeDeviceBindGatewayRequest, CreateLoRaFrequencyResponse, EnableTopicRuleResponse, TransferCloudStorageRequest, GetGatewaySubDeviceListRequest, SearchStudioProductRequest, ListTopicPolicyRequest, GenSingleDeviceSignatureOfPublicRequest, DeleteDevicesRequest, BindProductsResponse, ModifyProjectResponse, DeleteCloudStorageEventRequest, GetCOSURLRequest, DescribeLoRaFrequencyRequest, ModifyProductCloudStorageAIServiceRequest, DescribeCloudStorageResponse, ResetCloudStorageRequest, DescribeGatewayBindDevicesRequest, DescribeCloudStorageAIServiceCallbackResponse, DescribeGatewaySubProductsRequest, DeleteStudioProductRequest, BindProductsRequest, GetDeviceSumStatisticsRequest, ModifySpacePropertyResponse, PublishMessageResponse, DescribeCloudStorageAIServiceCallbackRequest, ModifyTopicPolicyRequest, DescribeCloudStorageRequest, BindDevicesResponse, GenerateSignedVideoURLResponse, DescribeCloudStorageThumbnailResponse, CreatePositionFenceRequest, DescribeModelDefinitionRequest, DescribeCloudStorageAIServiceRequest, DescribeCloudStorageUsersRequest, CreateTopicRuleResponse, DescribeDeviceDataResponse, DescribeCloudStorageOrderResponse, CreateTopicRuleRequest, PublishRRPCMessageResponse, DescribeDevicePackagesResponse, GetBatchProductionsListRequest, DeleteDeviceResponse, ModifyFenceBindResponse, DescribeInstanceRequest, DescribeLoRaFrequencyResponse, DescribeCloudStorageTimeRequest, GetBatchProductionsListResponse, DescribeGatewayBindDevicesResponse, DescribeFirmwareTaskRequest, CreatePositionSpaceRequest } from "./iotexplorer_models";
3
+ import { UpdateDevicesEnableStateResponse, DescribeCloudStorageDateRequest, DescribeDeviceLocationSolveRequest, DeleteProjectRequest, DescribeCloudStorageAIServiceResponse, ListEventHistoryResponse, ModifyLoRaGatewayRequest, DescribeDeviceFirmwaresRequest, DeleteFenceBindRequest, DescribeModelDefinitionResponse, UnbindDevicesRequest, PublishBroadcastMessageRequest, DeleteDevicesResponse, DeleteCloudStorageEventResponse, DescribeCloudStorageTimeResponse, GetGatewaySubDeviceListResponse, DescribeCloudStorageThumbnailListRequest, DeleteStudioProductResponse, BindDevicesRequest, DescribeDevicePackagesRequest, GetDeviceListResponse, GenerateSignedVideoURLRequest, DeleteLoRaFrequencyResponse, DescribeCloudStorageMultiThumbnailResponse, ModifyPositionFenceRequest, DeleteTopicRuleResponse, InheritCloudStorageUserRequest, TransferCloudStorageResponse, CreateStudioProductResponse, CallDeviceActionSyncRequest, GetProjectListResponse, DescribeDevicePositionListRequest, GetDeviceLocationHistoryResponse, UpdateFirmwareResponse, ModifyPositionFenceResponse, ModifyStudioProductRequest, ModifyPositionSpaceResponse, CreateStudioProductRequest, DisableTopicRuleRequest, CreateBatchProductionRequest, DeletePositionFenceResponse, ModifyLoRaFrequencyRequest, DescribeCloudStoragePackageConsumeDetailsResponse, DescribeCloudStoragePackageConsumeStatsResponse, ModifyCloudStorageAIServiceCallbackResponse, DescribeCloudStorageUsersResponse, SearchTopicRuleRequest, DescribeDeviceDataRequest, ModifyProductCloudStorageAIServiceResponse, DescribeCloudStorageStreamDataRequest, ListTopicPolicyResponse, SearchPositionSpaceResponse, DescribePositionFenceListResponse, DescribeCloudStorageMultiThumbnailRequest, GenSingleDeviceSignatureOfPublicResponse, GetDeviceSumStatisticsResponse, DeletePositionSpaceRequest, DescribePackageConsumeTasksRequest, CreateProjectRequest, DescribeProjectResponse, UnbindProductsRequest, SearchStudioProductResponse, ModifyCloudStorageAIServiceResponse, GetTopicRuleListRequest, GetFamilyDeviceUserListResponse, DescribeCloudStorageOrderRequest, ModifyProjectRequest, DescribeBatchProductionResponse, PublishRRPCMessageRequest, DescribeProductCloudStorageAIServiceResponse, DeleteDeviceRequest, DeleteLoRaFrequencyRequest, ModifyStudioProductResponse, ControlDeviceDataRequest, ListFirmwaresResponse, ReleaseStudioProductResponse, DescribeSpaceFenceEventListResponse, DescribePackageConsumeTasksResponse, DeleteLoRaGatewayRequest, UnbindProductsResponse, DescribeTopicPolicyResponse, SearchPositionSpaceRequest, ModifyTopicPolicyResponse, DescribeCloudStorageStreamDataResponse, GetPositionSpaceListRequest, DescribeDeviceFirmWareResponse, SearchTopicRuleResponse, DescribeFenceEventListResponse, ModifyCloudStorageAIServiceCallbackRequest, DescribeDeviceFirmWareRequest, UpdateDevicesEnableStateRequest, BindCloudStorageUserRequest, DescribeTopicRuleRequest, GetDeviceLocationHistoryRequest, CallDeviceActionSyncResponse, CreateLoRaGatewayRequest, ReleaseStudioProductRequest, CreateProjectResponse, DescribeDeviceDataHistoryResponse, DeleteProjectResponse, CreateTopicPolicyResponse, ModifyCloudStorageAIServiceRequest, CreateDeviceResponse, CreateDeviceRequest, DescribeDevicePositionListResponse, InheritCloudStorageUserResponse, GetStudioProductListRequest, DescribeFirmwareTaskResponse, DescribeTopicPolicyRequest, DisableTopicRuleResponse, DescribeDeviceLocationSolveResponse, DescribeCloudStorageAIServiceTasksRequest, DescribeStudioProductResponse, CreateFenceBindRequest, CreateIotVideoCloudStorageResponse, DescribePackageConsumeTaskResponse, DescribeDeviceResponse, DescribeCloudStorageEventsRequest, ListFirmwaresRequest, GetStudioProductListResponse, PublishMessageRequest, DescribeProductCloudStorageAIServiceRequest, ModifyTopicRuleRequest, UploadFirmwareRequest, GetDeviceListRequest, ModifySpacePropertyRequest, GetPositionSpaceListResponse, GetCOSURLResponse, ModifyFenceBindRequest, GetTopicRuleListResponse, ResetCloudStorageEventRequest, DescribeFenceEventListRequest, GetLoRaGatewayListResponse, ModifyPositionSpaceRequest, DescribeGatewaySubProductsResponse, ModifyLoRaGatewayResponse, DirectBindDeviceInFamilyResponse, CallDeviceActionAsyncRequest, CallDeviceActionAsyncResponse, DescribeCloudStoragePackageConsumeStatsRequest, ListEventHistoryRequest, DeleteFenceBindResponse, DeleteTopicPolicyRequest, CreateFenceBindResponse, DescribeTopicRuleResponse, CreatePositionFenceResponse, DescribeCloudStorageThumbnailRequest, PublishBroadcastMessageResponse, DescribeFenceBindListRequest, EnableTopicRuleRequest, DescribeBindedProductsResponse, DescribeDeviceRequest, ModifyModelDefinitionRequest, DescribePositionFenceListRequest, ModifyTopicRuleResponse, DescribeBatchProductionRequest, CreateTopicPolicyRequest, DirectBindDeviceInFamilyRequest, DescribeCloudStorageEventsResponse, GetFamilyDeviceUserListRequest, DescribeBindedProductsRequest, DescribeCloudStorageDateResponse, DescribeInstanceResponse, DescribeGatewaySubDeviceListResponse, DescribeSpaceFenceEventListRequest, GetLoRaGatewayListRequest, DescribeProjectRequest, UnbindDevicesResponse, CreateIotVideoCloudStorageRequest, ModifyModelDefinitionResponse, DescribeCloudStoragePackageConsumeDetailsRequest, UploadFirmwareResponse, DescribePackageConsumeTaskRequest, DeleteTopicRuleRequest, CreateLoRaGatewayResponse, BindCloudStorageUserResponse, DeleteTopicPolicyResponse, DeleteLoRaGatewayResponse, CreateLoRaFrequencyRequest, DescribeDeviceBindGatewayResponse, DescribeGatewaySubDeviceListRequest, ControlDeviceDataResponse, DescribeDeviceDataHistoryRequest, UpdateFirmwareRequest, DescribeStudioProductRequest, CreatePositionSpaceResponse, CreateBatchProductionResponse, ModifyLoRaFrequencyResponse, DescribeFenceBindListResponse, DescribeCloudStorageThumbnailListResponse, DeletePositionFenceRequest, ResetCloudStorageResponse, ResetCloudStorageEventResponse, GetProjectListRequest, DescribeCloudStorageAIServiceTasksResponse, DeletePositionSpaceResponse, DescribeDeviceBindGatewayRequest, CreateLoRaFrequencyResponse, EnableTopicRuleResponse, TransferCloudStorageRequest, GetGatewaySubDeviceListRequest, SearchStudioProductRequest, ListTopicPolicyRequest, GenSingleDeviceSignatureOfPublicRequest, DeleteDevicesRequest, BindProductsResponse, ModifyProjectResponse, DeleteCloudStorageEventRequest, GetCOSURLRequest, DescribeLoRaFrequencyRequest, ModifyProductCloudStorageAIServiceRequest, DescribeCloudStorageResponse, ResetCloudStorageRequest, DescribeGatewayBindDevicesRequest, DescribeCloudStorageAIServiceCallbackResponse, DescribeGatewaySubProductsRequest, DeleteStudioProductRequest, BindProductsRequest, GetDeviceSumStatisticsRequest, ModifySpacePropertyResponse, PublishMessageResponse, DescribeCloudStorageAIServiceCallbackRequest, ModifyTopicPolicyRequest, DescribeCloudStorageRequest, BindDevicesResponse, GenerateSignedVideoURLResponse, DescribeCloudStorageThumbnailResponse, CreatePositionFenceRequest, DescribeModelDefinitionRequest, DescribeCloudStorageAIServiceRequest, DescribeCloudStorageUsersRequest, CreateTopicRuleResponse, DescribeDeviceDataResponse, DescribeCloudStorageOrderResponse, CreateTopicRuleRequest, PublishRRPCMessageResponse, DescribeDevicePackagesResponse, GetBatchProductionsListRequest, DeleteDeviceResponse, ModifyFenceBindResponse, DescribeInstanceRequest, DescribeLoRaFrequencyResponse, DescribeCloudStorageTimeRequest, GetBatchProductionsListResponse, DescribeGatewayBindDevicesResponse, DescribeDeviceFirmwaresResponse, DescribeFirmwareTaskRequest, CreatePositionSpaceRequest } from "./iotexplorer_models";
4
4
  /**
5
5
  * iotexplorer client
6
6
  * @class
@@ -331,6 +331,10 @@ export declare class Client extends AbstractClient {
331
331
  * 获取设备位置列表
332
332
  */
333
333
  DescribeDevicePositionList(req: DescribeDevicePositionListRequest, cb?: (error: string, rep: DescribeDevicePositionListResponse) => void): Promise<DescribeDevicePositionListResponse>;
334
+ /**
335
+ * 获取设备当前固件信息
336
+ */
337
+ DescribeDeviceFirmwares(req: DescribeDeviceFirmwaresRequest, cb?: (error: string, rep: DescribeDeviceFirmwaresResponse) => void): Promise<DescribeDeviceFirmwaresResponse>;
334
338
  /**
335
339
  * 批量绑定子设备
336
340
  */
@@ -513,6 +513,12 @@ class Client extends abstract_client_1.AbstractClient {
513
513
  async DescribeDevicePositionList(req, cb) {
514
514
  return this.request("DescribeDevicePositionList", req, cb);
515
515
  }
516
+ /**
517
+ * 获取设备当前固件信息
518
+ */
519
+ async DescribeDeviceFirmwares(req, cb) {
520
+ return this.request("DescribeDeviceFirmwares", req, cb);
521
+ }
516
522
  /**
517
523
  * 批量绑定子设备
518
524
  */
@@ -188,6 +188,19 @@ export interface ThumbnailURLInfoList {
188
188
  */
189
189
  ExpireTime?: number;
190
190
  }
191
+ /**
192
+ * DescribeDeviceFirmwares请求参数结构体
193
+ */
194
+ export interface DescribeDeviceFirmwaresRequest {
195
+ /**
196
+ * 产品ID
197
+ */
198
+ ProductId: string;
199
+ /**
200
+ * 设备名
201
+ */
202
+ DeviceName: string;
203
+ }
191
204
  /**
192
205
  * ProductId -> DeviceName
193
206
  */
@@ -666,6 +679,23 @@ export interface InheritCloudStorageUserRequest {
666
679
  */
667
680
  ToUserId: string;
668
681
  }
682
+ /**
683
+ * 设备固件信息
684
+ */
685
+ export interface DeviceFirmwareInfo {
686
+ /**
687
+ * 固件类型
688
+ */
689
+ FwType: string;
690
+ /**
691
+ * 固件版本
692
+ */
693
+ Version: string;
694
+ /**
695
+ * 最后更新时间
696
+ */
697
+ UpdateTime: number;
698
+ }
669
699
  /**
670
700
  * TransferCloudStorage返回参数结构体
671
701
  */
@@ -5731,6 +5761,20 @@ export interface DescribeGatewayBindDevicesResponse {
5731
5761
  */
5732
5762
  RequestId?: string;
5733
5763
  }
5764
+ /**
5765
+ * DescribeDeviceFirmwares返回参数结构体
5766
+ */
5767
+ export interface DescribeDeviceFirmwaresResponse {
5768
+ /**
5769
+ * 固件信息列表
5770
+ 注意:此字段可能返回 null,表示取不到有效值。
5771
+ */
5772
+ Firmwares: Array<DeviceFirmwareInfo>;
5773
+ /**
5774
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5775
+ */
5776
+ RequestId?: string;
5777
+ }
5734
5778
  /**
5735
5779
  * DescribeFirmwareTask请求参数结构体
5736
5780
  */
@@ -2450,6 +2450,10 @@ export interface DescribeRecordPlaybackUrlRequest {
2450
2450
  * 回放结束时间,UTC秒数,例如:1662114246,开始和结束时间段最长为一天,且不能跨天
2451
2451
  */
2452
2452
  EndTime: number;
2453
+ /**
2454
+ * 是否获取内网地址
2455
+ */
2456
+ IsInternal?: boolean;
2453
2457
  }
2454
2458
  /**
2455
2459
  * ListRecordPlans返回参数结构体
@@ -3211,6 +3215,10 @@ export interface DescribeVideoDownloadUrlRequest {
3211
3215
  * 响应data中是否携带实际下载录像的开始时间与结束时间
3212
3216
  */
3213
3217
  IsRespActualTime?: boolean;
3218
+ /**
3219
+ * 是否返回内网下载URL,默认是false,返回公网下载URL,true则返回内网下载URL
3220
+ */
3221
+ IsInternal?: boolean;
3214
3222
  }
3215
3223
  /**
3216
3224
  * DescribeGatewayVersion返回参数结构体
@@ -3466,6 +3474,10 @@ export interface PlayRecordRequest {
3466
3474
  * 分辨率(1:QCIF;2:CIF; 3:4CIF; 4:D1; 5:720P; 6:1080P/I; 自定义的19201080等等(需设备支持)(不可以和 StreamType 同时下发))
3467
3475
  */
3468
3476
  Resolution?: string;
3477
+ /**
3478
+ * 是否内网
3479
+ */
3480
+ IsInternal?: boolean;
3469
3481
  }
3470
3482
  /**
3471
3483
  * 修改录像上云模板数据结构
@@ -3586,6 +3598,10 @@ export interface ControlDeviceStreamRequest {
3586
3598
  自定义的19201080等等(需设备支持)(不可以和 StreamType 同时下发))
3587
3599
  */
3588
3600
  Resolution?: string;
3601
+ /**
3602
+ * 是否内网
3603
+ */
3604
+ IsInternal?: boolean;
3589
3605
  }
3590
3606
  /**
3591
3607
  * ListRecordRetrieveTasks返回参数结构体
@@ -389,6 +389,8 @@ https://img.qcloud.com/qcloud/app/active_vnc/index.html?InstanceVncUrl=wss%3A%2F
389
389
 
390
390
  * FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接修改防火墙规则备注。
391
391
 
392
+ 用FirewallRule参数来指定要修改的防火墙规则,使用其中的Protocol, Port, CidrBlock,Action字段来匹配要修改的防火墙规则。
393
+
392
394
  在 FirewallRule 参数中:
393
395
  * Protocol 字段支持输入 TCP,UDP,ICMP,ALL。
394
396
  * Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。
@@ -559,6 +559,8 @@ https://img.qcloud.com/qcloud/app/active_vnc/index.html?InstanceVncUrl=wss%3A%2F
559
559
 
560
560
  * FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接修改防火墙规则备注。
561
561
 
562
+ 用FirewallRule参数来指定要修改的防火墙规则,使用其中的Protocol, Port, CidrBlock,Action字段来匹配要修改的防火墙规则。
563
+
562
564
  在 FirewallRule 参数中:
563
565
  * Protocol 字段支持输入 TCP,UDP,ICMP,ALL。
564
566
  * Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。
@@ -699,7 +699,7 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
699
699
  * 创建一个在指定时间启动、结束的录制任务,并使用指定录制模板ID对应的配置进行录制。
700
700
  - 使用前提
701
701
  1. 录制文件存放于点播平台,所以用户如需使用录制功能,需首先自行开通点播服务。
702
- 2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考 [对应文档](https://cloud.tencent.com/document/product/266/2837)。
702
+ 2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考[对应文档](https://cloud.tencent.com/document/product/266/2837)。
703
703
  - 注意事项
704
704
  1. 断流会结束当前录制并生成录制文件。在结束时间到达之前任务仍然有效,期间只要正常推流都会正常录制,与是否多次推、断流无关。
705
705
  2. 使用上避免创建时间段相互重叠的录制任务。若同一条流当前存在多个时段重叠的任务,为避免重复录制系统将启动最多3个录制任务。
@@ -1005,7 +1005,7 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
1005
1005
  * 创建一个在指定时间启动、结束的录制任务,并使用指定录制模板ID对应的配置进行录制。
1006
1006
  - 使用前提
1007
1007
  1. 录制文件存放于点播平台,所以用户如需使用录制功能,需首先自行开通点播服务。
1008
- 2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考 [对应文档](https://cloud.tencent.com/document/product/266/2837)。
1008
+ 2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考[对应文档](https://cloud.tencent.com/document/product/266/2837)。
1009
1009
  - 注意事项
1010
1010
  1. 断流会结束当前录制并生成录制文件。在结束时间到达之前任务仍然有效,期间只要正常推流都会正常录制,与是否多次推、断流无关。
1011
1011
  2. 使用上避免创建时间段相互重叠的录制任务。若同一条流当前存在多个时段重叠的任务,为避免重复录制系统将启动最多3个录制任务。
@@ -1782,11 +1782,11 @@ export interface CreateRecordTaskRequest {
1782
1782
  */
1783
1783
  AppName: string;
1784
1784
  /**
1785
- * 录制任务结束时间,Unix时间戳。设置时间必须大于StartTime及当前时间,且EndTime - StartTime不能超过24小时。
1785
+ * 录制任务结束时间,Unix时间戳。设置时间必须大于StartTime及当前时间,且小于当前时间+7天。
1786
1786
  */
1787
1787
  EndTime: number;
1788
1788
  /**
1789
- * 录制任务开始时间,Unix时间戳。如果不填表示立即启动录制。StartTime不能超过当前时间+6天。
1789
+ * 录制任务开始时间,Unix时间戳。如果不填表示立即启动录制。EndTime - StartTime不能超过24小时。
1790
1790
  */
1791
1791
  StartTime?: number;
1792
1792
  /**
@@ -2388,7 +2388,7 @@ export interface CreateScreenshotTaskResponse {
2388
2388
  /**
2389
2389
  * 任务ID,全局唯一标识截图任务。返回TaskId字段说明截图任务创建成功。
2390
2390
  */
2391
- TaskId: string;
2391
+ TaskId?: string;
2392
2392
  /**
2393
2393
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2394
2394
  */
@@ -4174,7 +4174,7 @@ export interface CreateRecordTaskResponse {
4174
4174
  /**
4175
4175
  * 任务ID,全局唯一标识录制任务。返回TaskId字段说明录制任务创建成功。
4176
4176
  */
4177
- TaskId: string;
4177
+ TaskId?: string;
4178
4178
  /**
4179
4179
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4180
4180
  */
@@ -4928,7 +4928,7 @@ export interface CreateScreenshotTaskRequest {
4928
4928
  */
4929
4929
  AppName: string;
4930
4930
  /**
4931
- * 截图任务结束时间,Unix时间戳。设置时间必须大于StartTime及当前时间,且EndTime - StartTime不能超过24小时。
4931
+ * 截图任务结束时间,Unix时间戳。设置时间必须大于StartTime及当前时间,且小于当前时间+7天。
4932
4932
  */
4933
4933
  EndTime: number;
4934
4934
  /**
@@ -4936,7 +4936,7 @@ export interface CreateScreenshotTaskRequest {
4936
4936
  */
4937
4937
  TemplateId: number;
4938
4938
  /**
4939
- * 截图任务开始时间,Unix时间戳。如果不填表示立即启动截图。StartTime不能超过当前时间+6天。
4939
+ * 截图任务开始时间,Unix时间戳。如果不填表示立即启动截图。EndTime - StartTime不能超过24小时。
4940
4940
  */
4941
4941
  StartTime?: number;
4942
4942
  /**
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { ModifyQAAttrRangeResponse, GetWsTokenResponse, CheckAttributeLabelExistRequest, DescribeQAResponse, GetAppKnowledgeCountRequest, ResetSessionResponse, ListSelectDocResponse, DescribeReleaseInfoRequest, DeleteDocRequest, DescribeAppResponse, UploadAttributeLabelResponse, ListUnsatisfiedReplyResponse, ExportAttributeLabelResponse, ExportQAListResponse, GetAppSecretResponse, CreateQACateResponse, ModifyDocAttrRangeResponse, GetMsgRecordResponse, DescribeUnsatisfiedReplyContextRequest, ListAppRequest, ModifyQAAttrRangeRequest, ListRejectedQuestionResponse, ModifyDocResponse, CreateCorpResponse, ListQARequest, ListUnsatisfiedReplyRequest, DeleteQARequest, ParseDocRequest, ListReleaseRequest, ListModelRequest, ModifyAppResponse, ListDocResponse, ModifyQARequest, GetDocPreviewRequest, ListRejectedQuestionPreviewResponse, DescribeCorpRequest, ListAppCategoryResponse, CreateAppResponse, DescribeAttributeLabelRequest, CreateQARequest, CreateCorpRequest, RetryDocParseRequest, QueryRewriteResponse, DeleteAttributeLabelRequest, DescribeRobotBizIDByAppKeyResponse, DescribeDocResponse, CreateReleaseRequest, CheckAttributeLabelReferRequest, ModifyQACateRequest, ModifyAttributeLabelRequest, VerifyQARequest, ResetSessionRequest, GetAppSecretRequest, DeleteQACateResponse, QueryParseDocResultResponse, ListReleaseDocPreviewResponse, GenerateQAResponse, GetTaskStatusResponse, DescribeDocRequest, RetryDocAuditRequest, SaveDocRequest, ModifyQACateResponse, DescribeAttributeLabelResponse, ModifyAttributeLabelResponse, ListQACateResponse, RetryDocParseResponse, CreateRejectedQuestionResponse, GetEmbeddingResponse, ExportUnsatisfiedReplyRequest, GroupQAResponse, RetryReleaseRequest, CreateAppRequest, DescribeReleaseRequest, ListAppCategoryRequest, ListReleaseConfigPreviewRequest, ListReleaseQAPreviewResponse, ModifyRejectedQuestionResponse, ListReleaseDocPreviewRequest, DescribeUnsatisfiedReplyContextResponse, ExportUnsatisfiedReplyResponse, RateMsgRecordResponse, DescribeReferResponse, ListDocRequest, GetEmbeddingRequest, GroupQARequest, IsTransferIntentResponse, DescribeQARequest, DescribeAppRequest, ListQAResponse, IgnoreUnsatisfiedReplyRequest, DescribeReleaseResponse, RateMsgRecordRequest, RetryDocAuditResponse, RetryReleaseResponse, SaveDocResponse, DeleteRejectedQuestionResponse, CreateAttributeLabelRequest, ListAppResponse, QueryParseDocResultRequest, ListRejectedQuestionPreviewRequest, ListReleaseConfigPreviewResponse, DeleteRejectedQuestionRequest, ExportQAListRequest, GetDocPreviewResponse, CreateReleaseResponse, QueryRewriteRequest, ModifyAppRequest, DeleteAttributeLabelResponse, DeleteQACateRequest, GenerateQARequest, GetWsTokenRequest, ModifyDocRequest, DeleteAppResponse, ListAttributeLabelRequest, DeleteDocResponse, UploadAttributeLabelRequest, ExportAttributeLabelRequest, GetAppKnowledgeCountResponse, CreateAttributeLabelResponse, CreateQAResponse, StopDocParseResponse, ParseDocResponse, ListQACateRequest, ListReleaseQAPreviewRequest, DescribeReleaseInfoResponse, IsTransferIntentRequest, DescribeReferRequest, DeleteAppRequest, VerifyQAResponse, DescribeStorageCredentialRequest, DescribeCorpResponse, ListReleaseResponse, ListModelResponse, ListAttributeLabelResponse, ModifyQAResponse, DeleteQAResponse, GetMsgRecordRequest, DescribeStorageCredentialResponse, CheckAttributeLabelExistResponse, GetTaskStatusRequest, CheckAttributeLabelReferResponse, ModifyDocAttrRangeRequest, CreateQACateRequest, DescribeRobotBizIDByAppKeyRequest, CreateRejectedQuestionRequest, ListRejectedQuestionRequest, ModifyRejectedQuestionRequest, IgnoreUnsatisfiedReplyResponse, StopDocParseRequest, ListSelectDocRequest } from "./lke_models";
3
+ import { ModifyQAAttrRangeResponse, GetWsTokenResponse, CheckAttributeLabelExistRequest, DescribeQAResponse, GetAppKnowledgeCountRequest, ResetSessionResponse, ListSelectDocResponse, DescribeReleaseInfoRequest, DeleteDocRequest, DescribeAppResponse, UploadAttributeLabelResponse, ListUnsatisfiedReplyResponse, ExportAttributeLabelResponse, ExportQAListResponse, GetAppSecretResponse, CreateQACateResponse, ModifyDocAttrRangeResponse, GetMsgRecordResponse, DescribeUnsatisfiedReplyContextRequest, ListAppRequest, ModifyQAAttrRangeRequest, ListRejectedQuestionResponse, ModifyDocResponse, CreateCorpResponse, ListQARequest, ListUnsatisfiedReplyRequest, DeleteQARequest, ListReleaseRequest, ListModelRequest, ModifyAppResponse, ListDocResponse, ModifyQARequest, GetDocPreviewRequest, ListRejectedQuestionPreviewResponse, DescribeCorpRequest, ListAppCategoryResponse, CreateAppResponse, DescribeAttributeLabelRequest, CreateQARequest, CreateCorpRequest, RetryDocParseRequest, QueryRewriteResponse, DeleteAttributeLabelRequest, DescribeRobotBizIDByAppKeyResponse, DescribeDocResponse, CreateReleaseRequest, CheckAttributeLabelReferRequest, ModifyQACateRequest, ModifyAttributeLabelRequest, VerifyQARequest, ResetSessionRequest, GetAppSecretRequest, DeleteQACateResponse, ListReleaseDocPreviewResponse, GenerateQAResponse, GetTaskStatusResponse, DescribeDocRequest, RetryDocAuditRequest, SaveDocRequest, ModifyQACateResponse, DescribeAttributeLabelResponse, ModifyAttributeLabelResponse, ListQACateResponse, RetryDocParseResponse, CreateRejectedQuestionResponse, GetEmbeddingResponse, ExportUnsatisfiedReplyRequest, GroupQAResponse, RetryReleaseRequest, CreateAppRequest, DescribeReleaseRequest, ListAppCategoryRequest, ListReleaseConfigPreviewRequest, ListReleaseQAPreviewResponse, ModifyRejectedQuestionResponse, ListReleaseDocPreviewRequest, DescribeUnsatisfiedReplyContextResponse, ExportUnsatisfiedReplyResponse, RateMsgRecordResponse, DescribeReferResponse, ListDocRequest, GetEmbeddingRequest, GroupQARequest, IsTransferIntentResponse, DescribeQARequest, DescribeAppRequest, ListQAResponse, IgnoreUnsatisfiedReplyRequest, DescribeReleaseResponse, RateMsgRecordRequest, RetryDocAuditResponse, RetryReleaseResponse, SaveDocResponse, DeleteRejectedQuestionResponse, CreateAttributeLabelRequest, ListAppResponse, ListRejectedQuestionPreviewRequest, ListReleaseConfigPreviewResponse, DeleteRejectedQuestionRequest, ExportQAListRequest, GetDocPreviewResponse, CreateReleaseResponse, QueryRewriteRequest, ModifyAppRequest, DeleteAttributeLabelResponse, DeleteQACateRequest, GenerateQARequest, GetWsTokenRequest, ModifyDocRequest, DeleteAppResponse, ListAttributeLabelRequest, DeleteDocResponse, UploadAttributeLabelRequest, ExportAttributeLabelRequest, GetAppKnowledgeCountResponse, CreateAttributeLabelResponse, CreateQAResponse, StopDocParseResponse, ListQACateRequest, ListReleaseQAPreviewRequest, DescribeReleaseInfoResponse, IsTransferIntentRequest, DescribeReferRequest, DeleteAppRequest, VerifyQAResponse, DescribeStorageCredentialRequest, DescribeCorpResponse, ListReleaseResponse, ListModelResponse, ListAttributeLabelResponse, ModifyQAResponse, DeleteQAResponse, GetMsgRecordRequest, DescribeStorageCredentialResponse, CheckAttributeLabelExistResponse, GetTaskStatusRequest, CheckAttributeLabelReferResponse, ModifyDocAttrRangeRequest, CreateQACateRequest, DescribeRobotBizIDByAppKeyRequest, CreateRejectedQuestionRequest, ListRejectedQuestionRequest, ModifyRejectedQuestionRequest, IgnoreUnsatisfiedReplyResponse, StopDocParseRequest, ListSelectDocRequest } from "./lke_models";
4
4
  /**
5
5
  * lke client
6
6
  * @class
@@ -193,10 +193,6 @@ export declare class Client extends AbstractClient {
193
193
  * 录入问答
194
194
  */
195
195
  CreateQA(req: CreateQARequest, cb?: (error: string, rep: CreateQAResponse) => void): Promise<CreateQAResponse>;
196
- /**
197
- * 查询文件解析结果
198
- */
199
- QueryParseDocResult(req: QueryParseDocResultRequest, cb?: (error: string, rep: QueryParseDocResultResponse) => void): Promise<QueryParseDocResultResponse>;
200
196
  /**
201
197
  * 查询属性标签列表
202
198
  */
@@ -241,10 +237,6 @@ export declare class Client extends AbstractClient {
241
237
  * 修改文档
242
238
  */
243
239
  ModifyDoc(req: ModifyDocRequest, cb?: (error: string, rep: ModifyDocResponse) => void): Promise<ModifyDocResponse>;
244
- /**
245
- * 解析拆分文件
246
- */
247
- ParseDoc(req: ParseDocRequest, cb?: (error: string, rep: ParseDocResponse) => void): Promise<ParseDocResponse>;
248
240
  /**
249
241
  * 获取ws token
250
242
  */
@@ -305,12 +305,6 @@ class Client extends abstract_client_1.AbstractClient {
305
305
  async CreateQA(req, cb) {
306
306
  return this.request("CreateQA", req, cb);
307
307
  }
308
- /**
309
- * 查询文件解析结果
310
- */
311
- async QueryParseDocResult(req, cb) {
312
- return this.request("QueryParseDocResult", req, cb);
313
- }
314
308
  /**
315
309
  * 查询属性标签列表
316
310
  */
@@ -377,12 +371,6 @@ class Client extends abstract_client_1.AbstractClient {
377
371
  async ModifyDoc(req, cb) {
378
372
  return this.request("ModifyDoc", req, cb);
379
373
  }
380
- /**
381
- * 解析拆分文件
382
- */
383
- async ParseDoc(req, cb) {
384
- return this.request("ParseDoc", req, cb);
385
- }
386
374
  /**
387
375
  * 获取ws token
388
376
  */