tencentcloud-sdk-nodejs 4.0.638 → 4.0.640

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 (159) hide show
  1. package/CHANGELOG.md +422 -0
  2. package/SERVICE_CHANGELOG.md +450 -201
  3. package/package.json +1 -1
  4. package/products.md +32 -31
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/as/v20180419/as_models.ts +2 -2
  7. package/src/services/bma/index.ts +2 -2
  8. package/src/services/btoe/index.ts +2 -2
  9. package/src/services/cdn/v20180606/cdn_models.ts +43 -43
  10. package/src/services/cfs/v20190719/cfs_models.ts +36 -19
  11. package/src/services/chdfs/index.ts +2 -2
  12. package/src/services/cls/v20201016/cls_models.ts +4 -0
  13. package/src/services/cms/v20190321/cms_models.ts +13 -1
  14. package/src/services/cynosdb/v20190107/cynosdb_models.ts +38 -38
  15. package/src/services/dbbrain/index.ts +2 -2
  16. package/src/services/ecm/v20190719/ecm_client.ts +146 -27
  17. package/src/services/ecm/v20190719/ecm_models.ts +424 -90
  18. package/src/services/eis/index.ts +2 -2
  19. package/src/services/emr/v20190103/emr_models.ts +5 -5
  20. package/src/services/es/v20180416/es_client.ts +19 -7
  21. package/src/services/es/v20180416/es_models.ts +32 -8
  22. package/src/services/ess/v20201111/ess_client.ts +39 -10
  23. package/src/services/ess/v20201111/ess_models.ts +280 -87
  24. package/src/services/essbasic/v20210526/essbasic_client.ts +13 -1
  25. package/src/services/essbasic/v20210526/essbasic_models.ts +51 -1
  26. package/src/services/facefusion/index.ts +2 -2
  27. package/src/services/index.ts +1 -0
  28. package/src/services/iotcloud/index.ts +2 -2
  29. package/src/services/iotvideo/index.ts +2 -2
  30. package/src/services/irp/index.ts +2 -2
  31. package/src/services/lcic/v20220817/lcic_models.ts +18 -14
  32. package/src/services/live/v20180801/live_models.ts +4 -1
  33. package/src/services/mongodb/index.ts +2 -2
  34. package/src/services/monitor/v20180724/monitor_models.ts +3 -3
  35. package/src/services/ocr/v20181119/ocr_client.ts +1 -1
  36. package/src/services/ocr/v20181119/ocr_models.ts +0 -2
  37. package/src/services/sqlserver/v20180328/sqlserver_client.ts +4 -3
  38. package/src/services/sqlserver/v20180328/sqlserver_models.ts +12 -6
  39. package/src/services/tcb/v20180608/tcb_models.ts +25 -18
  40. package/src/services/tchd/index.ts +5 -0
  41. package/src/services/tchd/v20230306/index.ts +6 -0
  42. package/src/services/tchd/v20230306/tchd_client.ts +45 -0
  43. package/src/services/tchd/v20230306/tchd_models.ts +96 -0
  44. package/src/services/tdmq/v20200217/tdmq_models.ts +5 -5
  45. package/src/services/tem/index.ts +2 -2
  46. package/src/services/teo/index.ts +2 -2
  47. package/src/services/thpc/index.ts +2 -2
  48. package/src/services/tione/index.ts +2 -2
  49. package/src/services/tke/v20180525/tke_models.ts +6 -6
  50. package/src/services/trtc/v20190722/trtc_client.ts +0 -17
  51. package/src/services/trtc/v20190722/trtc_models.ts +0 -104
  52. package/src/services/tse/v20201207/tse_models.ts +1 -1
  53. package/src/services/tsw/index.ts +2 -2
  54. package/src/services/tts/v20190823/tts_models.ts +4 -1
  55. package/src/services/vm/index.ts +2 -2
  56. package/src/services/vod/v20180717/vod_client.ts +6 -6
  57. package/src/services/vod/v20180717/vod_models.ts +15 -15
  58. package/src/services/vpc/v20170312/vpc_models.ts +11 -3
  59. package/src/services/wav/v20210129/wav_models.ts +4 -0
  60. package/src/services/wedata/v20210820/wedata_client.ts +29 -0
  61. package/src/services/wedata/v20210820/wedata_models.ts +444 -0
  62. package/src/services/yunsou/index.ts +2 -2
  63. package/tencentcloud/common/sdk_version.d.ts +1 -1
  64. package/tencentcloud/common/sdk_version.js +1 -1
  65. package/tencentcloud/services/as/v20180419/as_models.d.ts +2 -2
  66. package/tencentcloud/services/bma/index.d.ts +4 -4
  67. package/tencentcloud/services/bma/index.js +2 -2
  68. package/tencentcloud/services/btoe/index.d.ts +4 -4
  69. package/tencentcloud/services/btoe/index.js +2 -2
  70. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +43 -43
  71. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +36 -19
  72. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  73. package/tencentcloud/services/chdfs/index.js +2 -2
  74. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +4 -0
  75. package/tencentcloud/services/cms/v20190321/cms_models.d.ts +13 -1
  76. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +38 -38
  77. package/tencentcloud/services/dbbrain/index.d.ts +4 -4
  78. package/tencentcloud/services/dbbrain/index.js +2 -2
  79. package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +52 -7
  80. package/tencentcloud/services/ecm/v20190719/ecm_client.js +72 -9
  81. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +404 -90
  82. package/tencentcloud/services/eis/index.d.ts +4 -4
  83. package/tencentcloud/services/eis/index.js +2 -2
  84. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +5 -5
  85. package/tencentcloud/services/es/v20180416/es_client.d.ts +7 -3
  86. package/tencentcloud/services/es/v20180416/es_client.js +9 -3
  87. package/tencentcloud/services/es/v20180416/es_models.d.ts +30 -8
  88. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +14 -3
  89. package/tencentcloud/services/ess/v20201111/ess_client.js +18 -3
  90. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +274 -87
  91. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +6 -2
  92. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +7 -1
  93. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +49 -1
  94. package/tencentcloud/services/facefusion/index.d.ts +4 -4
  95. package/tencentcloud/services/facefusion/index.js +2 -2
  96. package/tencentcloud/services/index.d.ts +1 -0
  97. package/tencentcloud/services/index.js +2 -0
  98. package/tencentcloud/services/iotcloud/index.d.ts +4 -4
  99. package/tencentcloud/services/iotcloud/index.js +2 -2
  100. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  101. package/tencentcloud/services/iotvideo/index.js +2 -2
  102. package/tencentcloud/services/irp/index.d.ts +4 -4
  103. package/tencentcloud/services/irp/index.js +2 -2
  104. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +18 -14
  105. package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -1
  106. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  107. package/tencentcloud/services/mongodb/index.js +2 -2
  108. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +3 -3
  109. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  110. package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
  111. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +0 -2
  112. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +3 -2
  113. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +3 -2
  114. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +12 -6
  115. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +25 -18
  116. package/tencentcloud/services/tchd/index.d.ts +6 -0
  117. package/tencentcloud/services/tchd/index.js +7 -0
  118. package/tencentcloud/services/tchd/v20230306/index.d.ts +6 -0
  119. package/tencentcloud/services/tchd/v20230306/index.js +9 -0
  120. package/tencentcloud/services/tchd/v20230306/tchd_client.d.ts +14 -0
  121. package/tencentcloud/services/tchd/v20230306/tchd_client.js +37 -0
  122. package/tencentcloud/services/tchd/v20230306/tchd_models.d.ts +76 -0
  123. package/tencentcloud/services/tchd/v20230306/tchd_models.js +18 -0
  124. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +5 -5
  125. package/tencentcloud/services/tem/index.d.ts +4 -4
  126. package/tencentcloud/services/tem/index.js +2 -2
  127. package/tencentcloud/services/teo/index.d.ts +4 -4
  128. package/tencentcloud/services/teo/index.js +2 -2
  129. package/tencentcloud/services/thpc/index.d.ts +4 -4
  130. package/tencentcloud/services/thpc/index.js +2 -2
  131. package/tencentcloud/services/tione/index.d.ts +4 -4
  132. package/tencentcloud/services/tione/index.js +2 -2
  133. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +6 -6
  134. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -8
  135. package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -9
  136. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -100
  137. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +1 -1
  138. package/tencentcloud/services/tsw/index.d.ts +4 -4
  139. package/tencentcloud/services/tsw/index.js +2 -2
  140. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +4 -1
  141. package/tencentcloud/services/vm/index.d.ts +4 -4
  142. package/tencentcloud/services/vm/index.js +2 -2
  143. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +6 -6
  144. package/tencentcloud/services/vod/v20180717/vod_client.js +6 -6
  145. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +15 -15
  146. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +11 -3
  147. package/tencentcloud/services/wav/v20210129/wav_models.d.ts +4 -0
  148. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +9 -1
  149. package/tencentcloud/services/wedata/v20210820/wedata_client.js +12 -0
  150. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +435 -0
  151. package/tencentcloud/services/yunsou/index.d.ts +4 -4
  152. package/tencentcloud/services/yunsou/index.js +2 -2
  153. package/test/ecm.v20190719.test.js +96 -6
  154. package/test/es.v20180416.test.js +12 -2
  155. package/test/ess.v20201111.test.js +22 -2
  156. package/test/essbasic.v20210526.test.js +10 -0
  157. package/test/tchd.v20230306.test.js +31 -0
  158. package/test/trtc.v20190722.test.js +0 -10
  159. package/test/wedata.v20210820.test.js +20 -0
@@ -1,7 +1,7 @@
1
- import { v20181201 } from "./v20181201"
2
1
  import { v20220927 } from "./v20220927"
2
+ import { v20181201 } from "./v20181201"
3
3
 
4
4
  export const facefusion = {
5
- v20181201: v20181201,
6
5
  v20220927: v20220927,
6
+ v20181201: v20181201,
7
7
  }
@@ -184,6 +184,7 @@ export { tcaplusdb } from "./tcaplusdb"
184
184
  export { tcb } from "./tcb"
185
185
  export { tcbr } from "./tcbr"
186
186
  export { tcex } from "./tcex"
187
+ export { tchd } from "./tchd"
187
188
  export { tci } from "./tci"
188
189
  export { tcm } from "./tcm"
189
190
  export { tcr } from "./tcr"
@@ -1,7 +1,7 @@
1
- import { v20180614 } from "./v20180614"
2
1
  import { v20210408 } from "./v20210408"
2
+ import { v20180614 } from "./v20180614"
3
3
 
4
4
  export const iotcloud = {
5
- v20180614: v20180614,
6
5
  v20210408: v20210408,
6
+ v20180614: v20180614,
7
7
  }
@@ -1,9 +1,9 @@
1
+ import { v20201215 } from "./v20201215"
1
2
  import { v20211125 } from "./v20211125"
2
3
  import { v20191126 } from "./v20191126"
3
- import { v20201215 } from "./v20201215"
4
4
 
5
5
  export const iotvideo = {
6
+ v20201215: v20201215,
6
7
  v20211125: v20211125,
7
8
  v20191126: v20191126,
8
- v20201215: v20201215,
9
9
  }
@@ -1,7 +1,7 @@
1
- import { v20220805 } from "./v20220805"
2
1
  import { v20220324 } from "./v20220324"
2
+ import { v20220805 } from "./v20220805"
3
3
 
4
4
  export const irp = {
5
- v20220805: v20220805,
6
5
  v20220324: v20220324,
6
+ v20220805: v20220805,
7
7
  }
@@ -1333,59 +1333,63 @@ export interface DescribeDocumentResponse {
1333
1333
  /**
1334
1334
  * 文档Id
1335
1335
  */
1336
- DocumentId: string
1336
+ DocumentId?: string
1337
1337
  /**
1338
1338
  * 文档原址url
1339
1339
  */
1340
- DocumentUrl: string
1340
+ DocumentUrl?: string
1341
1341
  /**
1342
1342
  * 文档名称
1343
1343
  */
1344
- DocumentName: string
1344
+ DocumentName?: string
1345
1345
  /**
1346
1346
  * 文档所有者UserId
1347
1347
  */
1348
- Owner: string
1348
+ Owner?: string
1349
1349
  /**
1350
1350
  * 应用Id
1351
1351
  */
1352
- SdkAppId: number
1352
+ SdkAppId?: number
1353
1353
  /**
1354
1354
  * 文档权限
1355
1355
  */
1356
- Permission: number
1356
+ Permission?: number
1357
1357
  /**
1358
1358
  * 转码结果,无需转码为空,转码成功为结果url,转码失败为错误码
1359
1359
  */
1360
- TranscodeResult: string
1360
+ TranscodeResult?: string
1361
1361
  /**
1362
1362
  * 转码类型
1363
1363
  */
1364
- TranscodeType: number
1364
+ TranscodeType?: number
1365
1365
  /**
1366
1366
  * 转码进度, 0 - 100 表示(0% - 100%)
1367
1367
  */
1368
- TranscodeProgress: number
1368
+ TranscodeProgress?: number
1369
1369
  /**
1370
1370
  * 转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功
1371
1371
  */
1372
- TranscodeState: number
1372
+ TranscodeState?: number
1373
1373
  /**
1374
1374
  * 转码失败后的错误信息
1375
1375
  */
1376
- TranscodeInfo: string
1376
+ TranscodeInfo?: string
1377
1377
  /**
1378
1378
  * 文档类型
1379
1379
  */
1380
- DocumentType: string
1380
+ DocumentType?: string
1381
1381
  /**
1382
1382
  * 文档大小,单位:字节
1383
1383
  */
1384
- DocumentSize: number
1384
+ DocumentSize?: number
1385
1385
  /**
1386
1386
  * 更新的UNIX时间戳
1387
1387
  */
1388
- UpdateTime: number
1388
+ UpdateTime?: number
1389
+ /**
1390
+ * 课件页数
1391
+ */
1392
+ Pages?: number
1389
1393
  /**
1390
1394
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1391
1395
  */
@@ -1383,7 +1383,7 @@ export interface DeleteLiveTranscodeTemplateRequest {
1383
1383
  /**
1384
1384
  * 模板 ID。
1385
1385
  1. 在创建转码模板接口 [CreateLiveTranscodeTemplate](/document/product/267/32646) 调用的返回值中获取模板 ID。
1386
- 2. 可以从接口 [DescribeLiveTranscodeTemplates](/document/product/267/32641) 查询已经创建的过的模板列表。
1386
+ 2. 可以从接口 [DescribeLiveTranscodeTemplates](/document/product/267/32641) 查询已经创建过的模板列表。
1387
1387
  */
1388
1388
  TemplateId: number
1389
1389
  }
@@ -4826,6 +4826,9 @@ ContinueBreakPoint:播放完当前正在播放的点播 url 后再使用新的
4826
4826
  * 完整目标 URL 地址。
4827
4827
  用法注意:如果使用该参数来传完整目标地址,则 DomainName, AppName, StreamName 需要传入空字符串,任务将会使用该 ToUrl 参数指定的目标地址。
4828
4828
 
4829
+ 使用该方式传入目标地址支持的协议有:
4830
+ rtmp、rtmps、rtsp、rtp、srt。
4831
+
4829
4832
  注意:签名时间需要超过任务结束时间,避免因签名过期造成任务失败。
4830
4833
  */
4831
4834
  ToUrl?: string
@@ -1,7 +1,7 @@
1
- import { v20180408 } from "./v20180408"
2
1
  import { v20190725 } from "./v20190725"
2
+ import { v20180408 } from "./v20180408"
3
3
 
4
4
  export const mongodb = {
5
- v20180408: v20180408,
6
5
  v20190725: v20190725,
6
+ v20180408: v20180408,
7
7
  }
@@ -1847,7 +1847,7 @@ export interface DescribeExporterIntegrationsResponse {
1847
1847
  /**
1848
1848
  * 集成配置列表
1849
1849
  */
1850
- IntegrationSet: Array<IntegrationConfiguration>
1850
+ IntegrationSet?: Array<IntegrationConfiguration>
1851
1851
  /**
1852
1852
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1853
1853
  */
@@ -9828,11 +9828,11 @@ export interface DescribePrometheusAgentsResponse {
9828
9828
  * Agent 列表
9829
9829
  注意:此字段可能返回 null,表示取不到有效值。
9830
9830
  */
9831
- AgentSet: Array<PrometheusAgent>
9831
+ AgentSet?: Array<PrometheusAgent>
9832
9832
  /**
9833
9833
  * Agent 总量
9834
9834
  */
9835
- TotalCount: number
9835
+ TotalCount?: number
9836
9836
  /**
9837
9837
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9838
9838
  */
@@ -1349,7 +1349,7 @@ export class Client extends AbstractClient {
1349
1349
 
1350
1350
  驾驶证副页:包括证号、姓名、档案编号、记录。
1351
1351
 
1352
- 另外,本接口还支持复印件、翻拍和PS告警功能。同时支持识别交管12123APP发放的电子驾驶证正页。
1352
+ 另外,本接口还支持复印件、翻拍告警功能。同时支持识别交管12123 APP发放的电子驾驶证正页。
1353
1353
 
1354
1354
  电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
1355
1355
 
@@ -851,7 +851,6 @@ export interface DriverLicenseOCRResponse {
851
851
  * Code 告警码列表和释义:
852
852
  -9102 复印件告警
853
853
  -9103 翻拍件告警
854
- -9106 ps告警
855
854
  注:告警码可以同时存在多个
856
855
  */
857
856
  RecognizeWarnCode?: Array<number>
@@ -859,7 +858,6 @@ export interface DriverLicenseOCRResponse {
859
858
  * 告警码说明:
860
859
  WARN_DRIVER_LICENSE_COPY_CARD 复印件告警
861
860
  WARN_DRIVER_LICENSE_SCREENED_CARD 翻拍件告警
862
- WARN_DRIVER_LICENSE_PS_CARD ps告警
863
861
  注:告警信息可以同时存在多个
864
862
  */
865
863
  RecognizeWarnMsg?: Array<string>
@@ -1284,8 +1284,9 @@ export class Client extends AbstractClient {
1284
1284
  }
1285
1285
 
1286
1286
  /**
1287
- * 本接口(InquiryPriceUpgradeDBInstance)用于查询升级实例的价格。
1288
- */
1287
+ * 本接口(InquiryPriceUpgradeDBInstance)用于查询包年包月实例升级变配的价格。
1288
+ 按量计费实例变配后的价格参考InquiryPriceCreateDBInstances接口。
1289
+ */
1289
1290
  async InquiryPriceUpgradeDBInstance(
1290
1291
  req: InquiryPriceUpgradeDBInstanceRequest,
1291
1292
  cb?: (error: string, rep: InquiryPriceUpgradeDBInstanceResponse) => void
@@ -1304,7 +1305,7 @@ export class Client extends AbstractClient {
1304
1305
  }
1305
1306
 
1306
1307
  /**
1307
- * 本接口(InquiryPriceRenewDBInstance)用于查询续费实例的价格。
1308
+ * 本接口(InquiryPriceRenewDBInstance)用于查询包年包月实例的续费价格。
1308
1309
  */
1309
1310
  async InquiryPriceRenewDBInstance(
1310
1311
  req: InquiryPriceRenewDBInstanceRequest,
@@ -1857,11 +1857,17 @@ export interface DescribeOrdersResponse {
1857
1857
  */
1858
1858
  export interface InquiryPriceCreateDBInstancesResponse {
1859
1859
  /**
1860
- * 未打折前价格,其值除以100表示多少钱。例如10010表示100.10元
1860
+ * 未打折前价格,其值除以100表示最终的价格。
1861
+ InstanceChargeType=PREPAID时,单位是"每月"。
1862
+ InstanceChargeType=POSTPAID时,单位是"每小时"。
1863
+ 例如10010,在InstanceChargeType=PREPAID情况下,表示每月100.10元。
1861
1864
  */
1862
1865
  OriginalPrice?: number
1863
1866
  /**
1864
- * 实际需要支付的价格,其值除以100表示多少钱。例如10010表示100.10元
1867
+ * 实际需要支付的价格,其值除以100表示最终的价格。
1868
+ InstanceChargeType=PREPAID时,单位是"每月"。
1869
+ InstanceChargeType=POSTPAID时,单位是"每小时"。
1870
+ 例如10010,在InstanceChargeType=PREPAID情况下,表示每月100.10元。
1865
1871
  */
1866
1872
  Price?: number
1867
1873
  /**
@@ -5391,11 +5397,11 @@ export interface InquiryPriceUpgradeDBInstanceResponse {
5391
5397
  /**
5392
5398
  * 未打折的原价,其值除以100表示最终的价格。例如10094表示100.94元
5393
5399
  */
5394
- OriginalPrice: number
5400
+ OriginalPrice?: number
5395
5401
  /**
5396
5402
  * 实际需要支付价格,其值除以100表示最终的价格。例如10094表示100.94元
5397
5403
  */
5398
- Price: number
5404
+ Price?: number
5399
5405
  /**
5400
5406
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5401
5407
  */
@@ -6178,11 +6184,11 @@ export interface InquiryPriceRenewDBInstanceResponse {
6178
6184
  /**
6179
6185
  * 未打折的原价,其值除以100表示最终的价格。例如10094表示100.94元
6180
6186
  */
6181
- OriginalPrice: number
6187
+ OriginalPrice?: number
6182
6188
  /**
6183
6189
  * 实际需要支付价格,其值除以100表示最终的价格。例如10094表示100.94元
6184
6190
  */
6185
- Price: number
6191
+ Price?: number
6186
6192
  /**
6187
6193
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6188
6194
  */
@@ -4376,91 +4376,91 @@ export interface CloudBaseRunServerVersionItem {
4376
4376
  /**
4377
4377
  * 版本名称
4378
4378
  */
4379
- VersionName: string
4379
+ VersionName?: string
4380
4380
  /**
4381
4381
  * 状态
4382
4382
  注意:此字段可能返回 null,表示取不到有效值。
4383
4383
  */
4384
- Status: string
4384
+ Status?: string
4385
4385
  /**
4386
4386
  * 流量占比
4387
4387
  */
4388
- FlowRatio: number
4388
+ FlowRatio?: number
4389
4389
  /**
4390
4390
  * 创建时间
4391
4391
  注意:此字段可能返回 null,表示取不到有效值。
4392
4392
  */
4393
- CreatedTime: string
4393
+ CreatedTime?: string
4394
4394
  /**
4395
4395
  * 更新时间
4396
4396
  注意:此字段可能返回 null,表示取不到有效值。
4397
4397
  */
4398
- UpdatedTime: string
4398
+ UpdatedTime?: string
4399
4399
  /**
4400
4400
  * 构建ID
4401
4401
  注意:此字段可能返回 null,表示取不到有效值。
4402
4402
  */
4403
- BuildId: number
4403
+ BuildId?: number
4404
4404
  /**
4405
4405
  * 构建方式
4406
4406
  注意:此字段可能返回 null,表示取不到有效值。
4407
4407
  */
4408
- UploadType: string
4408
+ UploadType?: string
4409
4409
  /**
4410
4410
  * 备注
4411
4411
  注意:此字段可能返回 null,表示取不到有效值。
4412
4412
  */
4413
- Remark: string
4413
+ Remark?: string
4414
4414
  /**
4415
4415
  * url中的参数路径
4416
4416
  注意:此字段可能返回 null,表示取不到有效值。
4417
4417
  */
4418
- UrlParam: ObjectKV
4418
+ UrlParam?: ObjectKV
4419
4419
  /**
4420
4420
  * 优先级(数值越小,优先级越高)
4421
4421
  注意:此字段可能返回 null,表示取不到有效值。
4422
4422
  */
4423
- Priority: number
4423
+ Priority?: number
4424
4424
  /**
4425
4425
  * 是否是默认兜底版本
4426
4426
  注意:此字段可能返回 null,表示取不到有效值。
4427
4427
  */
4428
- IsDefaultPriority: boolean
4428
+ IsDefaultPriority?: boolean
4429
4429
  /**
4430
4430
  * KV Params
4431
4431
  注意:此字段可能返回 null,表示取不到有效值。
4432
4432
  */
4433
- FlowParams: Array<CloudBaseRunKVPriority>
4433
+ FlowParams?: Array<CloudBaseRunKVPriority>
4434
4434
  /**
4435
4435
  * 最小副本数
4436
4436
  注意:此字段可能返回 null,表示取不到有效值。
4437
4437
  */
4438
- MinReplicas: number
4438
+ MinReplicas?: number
4439
4439
  /**
4440
4440
  * 最大副本数
4441
4441
  注意:此字段可能返回 null,表示取不到有效值。
4442
4442
  */
4443
- MaxReplicas: number
4443
+ MaxReplicas?: number
4444
4444
  /**
4445
4445
  * 操作记录id
4446
4446
  注意:此字段可能返回 null,表示取不到有效值。
4447
4447
  */
4448
- RunId: string
4448
+ RunId?: string
4449
4449
  /**
4450
4450
  * 进度
4451
4451
  注意:此字段可能返回 null,表示取不到有效值。
4452
4452
  */
4453
- Percent: number
4453
+ Percent?: number
4454
4454
  /**
4455
4455
  * 当前副本数
4456
4456
  注意:此字段可能返回 null,表示取不到有效值。
4457
4457
  */
4458
- CurrentReplicas: number
4458
+ CurrentReplicas?: number
4459
4459
  /**
4460
4460
  * Monolithic,Microservice
4461
4461
  注意:此字段可能返回 null,表示取不到有效值。
4462
4462
  */
4463
- Architecture: string
4463
+ Architecture?: string
4464
4464
  }
4465
4465
 
4466
4466
  /**
@@ -5321,10 +5321,12 @@ export interface LogServiceInfo {
5321
5321
  export interface FrequencyLimitConfig {
5322
5322
  /**
5323
5323
  * 限额对象 "ConnectionsLimit" 或 "QPSLimit"
5324
+ 注意:此字段可能返回 null,表示取不到有效值。
5324
5325
  */
5325
5326
  LimitObject?: string
5326
5327
  /**
5327
5328
  * 限额配置
5329
+ 注意:此字段可能返回 null,表示取不到有效值。
5328
5330
  */
5329
5331
  LimitConfig?: string
5330
5332
  }
@@ -5526,6 +5528,11 @@ export interface WxGatewayRountItem {
5526
5528
  注意:此字段可能返回 null,表示取不到有效值。
5527
5529
  */
5528
5530
  GatewayRoutePort: number
5531
+ /**
5532
+ * 路由环境ID
5533
+ 注意:此字段可能返回 null,表示取不到有效值。
5534
+ */
5535
+ GatewayRouteEnvId?: string
5529
5536
  }
5530
5537
 
5531
5538
  /**
@@ -0,0 +1,5 @@
1
+ import { v20230306 } from "./v20230306"
2
+
3
+ export const tchd = {
4
+ v20230306: v20230306,
5
+ }
@@ -0,0 +1,6 @@
1
+ import * as Models from "./tchd_models"
2
+ import { Client } from "./tchd_client"
3
+ export const v20230306 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ }
@@ -0,0 +1,45 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { AbstractClient } from "../../../common/abstract_client"
19
+ import { ClientConfig } from "../../../common/interface"
20
+ import {
21
+ EventDetail,
22
+ DescribeEventsResponse,
23
+ DescribeEventsRequest,
24
+ ProductEventList,
25
+ } from "./tchd_models"
26
+
27
+ /**
28
+ * tchd client
29
+ * @class
30
+ */
31
+ export class Client extends AbstractClient {
32
+ constructor(clientConfig: ClientConfig) {
33
+ super("tchd.tencentcloudapi.com", "2023-03-06", clientConfig)
34
+ }
35
+
36
+ /**
37
+ * 本接口用于查询腾讯云健康看板的可用性事件信息,可以通过产品列表、地域列表和事件发生日期进行过滤查询。
38
+ */
39
+ async DescribeEvents(
40
+ req: DescribeEventsRequest,
41
+ cb?: (error: string, rep: DescribeEventsResponse) => void
42
+ ): Promise<DescribeEventsResponse> {
43
+ return this.request("DescribeEvents", req, cb)
44
+ }
45
+ }
@@ -0,0 +1,96 @@
1
+ /*
2
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+
18
+ /**
19
+ * 事件详情信息,包含:产品名称、地域名称、事件开始时间、事件结束时间、事件当前状态;
20
+ */
21
+ export interface EventDetail {
22
+ /**
23
+ * 产品ID
24
+ */
25
+ ProductId?: string
26
+ /**
27
+ * 产品名称
28
+ */
29
+ ProductName?: string
30
+ /**
31
+ * 地域ID,非区域性地域返回non-regional
32
+ */
33
+ RegionId?: string
34
+ /**
35
+ * 地域名称
36
+ */
37
+ RegionName?: string
38
+ /**
39
+ * 事件开始时间
40
+ */
41
+ StartTime?: string
42
+ /**
43
+ * 事件结束时间,当事件正在发生还未结束时,结束时间返回空
44
+ */
45
+ EndTime?: string
46
+ /**
47
+ * 事件当前状态:提示、异常、正常
48
+ */
49
+ CurrentStatus?: string
50
+ }
51
+
52
+ /**
53
+ * DescribeEvents返回参数结构体
54
+ */
55
+ export interface DescribeEventsResponse {
56
+ /**
57
+ * 事件详情列表
58
+ */
59
+ Data?: ProductEventList
60
+ /**
61
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
62
+ */
63
+ RequestId?: string
64
+ }
65
+
66
+ /**
67
+ * DescribeEvents请求参数结构体
68
+ */
69
+ export interface DescribeEventsRequest {
70
+ /**
71
+ * 事件的发生日期
72
+ */
73
+ EventDate: string
74
+ /**
75
+ * 1. 不指定产品列表时将查询所有产品。
76
+ 2. 产品ID示例:cvm、lb、cdb、cdn、crs
77
+ */
78
+ ProductIds?: Array<string>
79
+ /**
80
+ * 1. 不指定地域列表时将查询所有地域。
81
+ 2. 查询非区域性产品事件时,地域ID指定为:non-regional
82
+ 3. 其他地域ID取值请参考:https://cloud.tencent.com/document/api/213/15692
83
+ */
84
+ RegionIds?: Array<string>
85
+ }
86
+
87
+ /**
88
+ * 产品可用性事件详情列表
89
+ */
90
+ export interface ProductEventList {
91
+ /**
92
+ * 事件详情列表
93
+ 注意:此字段可能返回 null,表示取不到有效值。
94
+ */
95
+ EventList?: Array<EventDetail>
96
+ }
@@ -4684,20 +4684,20 @@ export interface CreateTopicResponse {
4684
4684
  /**
4685
4685
  * 环境(命名空间)名称。
4686
4686
  */
4687
- EnvironmentId: string
4687
+ EnvironmentId?: string
4688
4688
  /**
4689
4689
  * 主题名。
4690
4690
  */
4691
- TopicName: string
4691
+ TopicName?: string
4692
4692
  /**
4693
4693
  * 0或1:非分区topic,无分区;大于1:具体分区topic的分区数。(存量非分区主题返回0,增量非分区主题返回1)
4694
4694
  */
4695
- Partitions: number
4695
+ Partitions?: number
4696
4696
  /**
4697
4697
  * 备注,128字符以内。
4698
4698
  注意:此字段可能返回 null,表示取不到有效值。
4699
4699
  */
4700
- Remark: string
4700
+ Remark?: string
4701
4701
  /**
4702
4702
  * 0: 普通消息;
4703
4703
  1 :全局顺序消息;
@@ -4706,7 +4706,7 @@ export interface CreateTopicResponse {
4706
4706
  4 :死信队列;
4707
4707
  注意:此字段可能返回 null,表示取不到有效值。
4708
4708
  */
4709
- TopicType: number
4709
+ TopicType?: number
4710
4710
  /**
4711
4711
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4712
4712
  */
@@ -1,7 +1,7 @@
1
- import { v20210701 } from "./v20210701"
2
1
  import { v20201221 } from "./v20201221"
2
+ import { v20210701 } from "./v20210701"
3
3
 
4
4
  export const tem = {
5
- v20210701: v20210701,
6
5
  v20201221: v20201221,
6
+ v20210701: v20210701,
7
7
  }
@@ -1,7 +1,7 @@
1
- import { v20220106 } from "./v20220106"
2
1
  import { v20220901 } from "./v20220901"
2
+ import { v20220106 } from "./v20220106"
3
3
 
4
4
  export const teo = {
5
- v20220106: v20220106,
6
5
  v20220901: v20220901,
6
+ v20220106: v20220106,
7
7
  }
@@ -1,9 +1,9 @@
1
- import { v20220401 } from "./v20220401"
2
1
  import { v20230321 } from "./v20230321"
3
2
  import { v20211109 } from "./v20211109"
3
+ import { v20220401 } from "./v20220401"
4
4
 
5
5
  export const thpc = {
6
- v20220401: v20220401,
7
6
  v20230321: v20230321,
8
7
  v20211109: v20211109,
8
+ v20220401: v20220401,
9
9
  }
@@ -1,7 +1,7 @@
1
- import { v20211111 } from "./v20211111"
2
1
  import { v20191022 } from "./v20191022"
2
+ import { v20211111 } from "./v20211111"
3
3
 
4
4
  export const tione = {
5
- v20211111: v20211111,
6
5
  v20191022: v20191022,
6
+ v20211111: v20211111,
7
7
  }