tencentcloud-sdk-nodejs 4.0.1003 → 4.0.1005

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 (78) hide show
  1. package/CHANGELOG.md +312 -0
  2. package/SERVICE_CHANGELOG.md +333 -354
  3. package/package.json +1 -1
  4. package/products.md +32 -32
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aca/v20210323/aca_models.ts +1 -6
  7. package/src/services/cbs/v20170312/cbs_models.ts +4 -0
  8. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +10 -2
  9. package/src/services/ckafka/v20190819/ckafka_models.ts +5 -0
  10. package/src/services/clb/v20180317/clb_client.ts +2 -3
  11. package/src/services/clb/v20180317/clb_models.ts +2 -2
  12. package/src/services/cls/v20201016/cls_models.ts +40 -27
  13. package/src/services/cvm/v20170312/cvm_models.ts +3 -3
  14. package/src/services/cwp/v20180228/cwp_models.ts +1 -1
  15. package/src/services/dts/v20211206/dts_models.ts +4 -0
  16. package/src/services/ecm/v20190719/ecm_models.ts +4 -4
  17. package/src/services/emr/v20190103/emr_models.ts +55 -411
  18. package/src/services/ess/v20201111/ess_models.ts +6 -5
  19. package/src/services/essbasic/v20210526/essbasic_models.ts +6 -5
  20. package/src/services/gwlb/v20240906/gwlb_models.ts +0 -7
  21. package/src/services/hunyuan/v20230901/hunyuan_models.ts +1 -1
  22. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +1 -1
  23. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +45 -46
  24. package/src/services/mna/v20210119/mna_models.ts +12 -21
  25. package/src/services/ocr/v20181119/ocr_client.ts +95 -109
  26. package/src/services/ocr/v20181119/ocr_models.ts +117 -209
  27. package/src/services/pts/v20210728/pts_models.ts +6 -6
  28. package/src/services/scf/v20180416/scf_client.ts +36 -24
  29. package/src/services/scf/v20180416/scf_models.ts +158 -168
  30. package/src/services/sqlserver/v20180328/sqlserver_models.ts +13 -1
  31. package/src/services/tcb/v20180608/tcb_models.ts +14 -20
  32. package/src/services/tcr/v20190924/tcr_models.ts +86 -81
  33. package/src/services/thpc/v20211109/thpc_models.ts +6 -14
  34. package/src/services/thpc/v20220401/thpc_models.ts +6 -14
  35. package/src/services/thpc/v20230321/thpc_models.ts +9 -14
  36. package/src/services/tke/v20180525/tke_models.ts +144 -144
  37. package/src/services/tke/v20220501/tke_models.ts +15 -15
  38. package/src/services/vpc/v20170312/vpc_models.ts +51 -77
  39. package/tencentcloud/common/sdk_version.d.ts +1 -1
  40. package/tencentcloud/common/sdk_version.js +1 -1
  41. package/tencentcloud/services/aca/v20210323/aca_models.d.ts +1 -6
  42. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +4 -0
  43. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +10 -2
  44. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -0
  45. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +0 -1
  46. package/tencentcloud/services/clb/v20180317/clb_client.js +0 -1
  47. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2 -2
  48. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +40 -27
  49. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +3 -3
  50. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
  51. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +4 -0
  52. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +4 -4
  53. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +54 -410
  54. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +6 -5
  55. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +6 -5
  56. package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +0 -7
  57. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +1 -1
  58. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +1 -1
  59. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +45 -46
  60. package/tencentcloud/services/mna/v20210119/mna_models.d.ts +12 -21
  61. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +76 -82
  62. package/tencentcloud/services/ocr/v20181119/ocr_client.js +79 -87
  63. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +116 -206
  64. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +6 -6
  65. package/tencentcloud/services/scf/v20180416/scf_client.d.ts +13 -9
  66. package/tencentcloud/services/scf/v20180416/scf_client.js +18 -12
  67. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +156 -168
  68. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +13 -1
  69. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +14 -20
  70. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +86 -81
  71. package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +6 -14
  72. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +6 -14
  73. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +9 -14
  74. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +144 -144
  75. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +15 -15
  76. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +51 -77
  77. package/test/ocr.v20181119.test.js +14 -24
  78. package/test/scf.v20180416.test.js +24 -14
@@ -179,35 +179,6 @@ FailedOperation.UnKnowError:表示识别失败;
179
179
  ItemPolygon?: Array<ItemPolygonInfo>
180
180
  }
181
181
 
182
- /**
183
- * HKIDCardOCR请求参数结构体
184
- */
185
- export interface HKIDCardOCRRequest {
186
- /**
187
- * 是否返回人像照片。
188
- */
189
- ReturnHeadImage: boolean
190
- /**
191
- * 是否鉴伪。
192
- * @deprecated
193
- */
194
- DetectFake?: boolean
195
- /**
196
- * 图片的 Base64 值。
197
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
198
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
199
- */
200
- ImageBase64?: string
201
- /**
202
- * 图片的 Url 地址。
203
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
204
- 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
205
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
206
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
207
- */
208
- ImageUrl?: string
209
- }
210
-
211
182
  /**
212
183
  * BankSlipOCR请求参数结构体
213
184
  */
@@ -363,43 +334,32 @@ export interface ResidencePermitInfo {
363
334
  }
364
335
 
365
336
  /**
366
- * BankCardOCR请求参数结构体
337
+ * HKIDCardOCR请求参数结构体
367
338
  */
368
- export interface BankCardOCRRequest {
369
- /**
370
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
371
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
372
- */
373
- ImageBase64?: string
374
- /**
375
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
376
- 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
377
- */
378
- ImageUrl?: string
379
- /**
380
- * 是否返回预处理(精确剪裁对齐)后的银行卡图片数据,默认false。
381
- */
382
- RetBorderCutImage?: boolean
383
- /**
384
- * 是否返回卡号的切图图片数据,默认false。
385
- */
386
- RetCardNoImage?: boolean
339
+ export interface HKIDCardOCRRequest {
387
340
  /**
388
- * 复印件检测开关,如果输入的图片是银行卡复印件图片则返回告警,默认false。
341
+ * 是否返回人像照片。
389
342
  */
390
- EnableCopyCheck?: boolean
343
+ ReturnHeadImage: boolean
391
344
  /**
392
- * 翻拍检测开关,如果输入的图片是银行卡翻拍图片则返回告警,默认false。
345
+ * 是否鉴伪。
346
+ * @deprecated
393
347
  */
394
- EnableReshootCheck?: boolean
348
+ DetectFake?: boolean
395
349
  /**
396
- * 边框遮挡检测开关,如果输入的图片是银行卡边框被遮挡则返回告警,默认false。
350
+ * 图片的 Base64 值。
351
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
352
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
397
353
  */
398
- EnableBorderCheck?: boolean
354
+ ImageBase64?: string
399
355
  /**
400
- * 是否返回图片质量分数(图片质量分数是评价一个图片的模糊程度的标准),默认false。
356
+ * 图片的 Url 地址。
357
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
358
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
359
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
360
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
401
361
  */
402
- EnableQualityValue?: boolean
362
+ ImageUrl?: string
403
363
  }
404
364
 
405
365
  /**
@@ -587,32 +547,26 @@ export interface EstateCertOCRResponse {
587
547
  }
588
548
 
589
549
  /**
590
- * FlightInvoiceOCR请求参数结构体
550
+ * GeneralHandwritingOCR返回参数结构体
591
551
  */
592
- export interface FlightInvoiceOCRRequest {
552
+ export interface GeneralHandwritingOCRResponse {
593
553
  /**
594
- * 图片的 Base64 值。
595
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
596
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
597
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
554
+ * 检测到的文本信息,具体内容请点击左侧链接。
598
555
  */
599
- ImageBase64?: string
556
+ TextDetections?: Array<TextGeneralHandwriting>
600
557
  /**
601
- * 图片的 Url 地址。
602
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
603
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
604
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
605
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
558
+ * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
559
+ * @deprecated
606
560
  */
607
- ImageUrl?: string
561
+ Angel?: number
608
562
  /**
609
- * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
563
+ * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
610
564
  */
611
- IsPdf?: boolean
565
+ Angle?: number
612
566
  /**
613
- * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1
567
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
614
568
  */
615
- PdfPageNumber?: number
569
+ RequestId?: string
616
570
  }
617
571
 
618
572
  /**
@@ -1394,25 +1348,32 @@ export interface SingleInvoiceInfo {
1394
1348
  }
1395
1349
 
1396
1350
  /**
1397
- * 增值税普通发票(卷票)条目
1351
+ * FlightInvoiceOCR请求参数结构体
1398
1352
  */
1399
- export interface VatRollItem {
1353
+ export interface FlightInvoiceOCRRequest {
1400
1354
  /**
1401
- * 项目名称
1355
+ * 图片的 Base64 值。
1356
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1357
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
1358
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1402
1359
  */
1403
- Name?: string
1360
+ ImageBase64?: string
1404
1361
  /**
1405
- * 数量
1362
+ * 图片的 Url 地址。
1363
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1364
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
1365
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
1366
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1406
1367
  */
1407
- Quantity?: string
1368
+ ImageUrl?: string
1408
1369
  /**
1409
- * 单价
1370
+ * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
1410
1371
  */
1411
- Price?: string
1372
+ IsPdf?: boolean
1412
1373
  /**
1413
- * 金额
1374
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
1414
1375
  */
1415
- Total?: string
1376
+ PdfPageNumber?: number
1416
1377
  }
1417
1378
 
1418
1379
  /**
@@ -1862,6 +1823,10 @@ export interface SmartStructuralProRequest {
1862
1823
  * 配置id支持:General -- 通用场景 InvoiceEng -- 海运提单、国际invoice模版 WayBillEng --海运订单模板
1863
1824
  */
1864
1825
  ConfigId?: string
1826
+ /**
1827
+ * 是否开启全文字段坐标值的识别
1828
+ */
1829
+ EnableCoord?: boolean
1865
1830
  }
1866
1831
 
1867
1832
  /**
@@ -3024,19 +2989,49 @@ export interface BusInvoice {
3024
2989
  }
3025
2990
 
3026
2991
  /**
3027
- * QrcodeOCR请求参数结构体
2992
+ * 定额发票
3028
2993
  */
3029
- export interface QrcodeOCRRequest {
2994
+ export interface QuotaInvoice {
3030
2995
  /**
3031
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,支持PNG、JPG、JPEG格式。
3032
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2996
+ * 发票名称
3033
2997
  */
3034
- ImageBase64?: string
2998
+ Title?: string
3035
2999
  /**
3036
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,支持PNG、JPG、JPEG格式。
3037
- 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
3000
+ * 发票代码
3038
3001
  */
3039
- ImageUrl?: string
3002
+ Code?: string
3003
+ /**
3004
+ * 发票号码
3005
+ */
3006
+ Number?: string
3007
+ /**
3008
+ * 价税合计(小写)
3009
+ */
3010
+ Total?: string
3011
+ /**
3012
+ * 价税合计(大写)
3013
+ */
3014
+ TotalCn?: string
3015
+ /**
3016
+ * 发票消费类型
3017
+ */
3018
+ Kind?: string
3019
+ /**
3020
+ * 省
3021
+ */
3022
+ Province?: string
3023
+ /**
3024
+ * 市
3025
+ */
3026
+ City?: string
3027
+ /**
3028
+ * 是否存在二维码(1:有,0:无)
3029
+ */
3030
+ QRCodeMark?: number
3031
+ /**
3032
+ * 是否有公司印章(0:没有,1:有)
3033
+ */
3034
+ CompanySealMark?: number
3040
3035
  }
3041
3036
 
3042
3037
  /**
@@ -10115,52 +10110,6 @@ export interface PermitOCRResponse {
10115
10110
  RequestId?: string
10116
10111
  }
10117
10112
 
10118
- /**
10119
- * 定额发票
10120
- */
10121
- export interface QuotaInvoice {
10122
- /**
10123
- * 发票名称
10124
- */
10125
- Title?: string
10126
- /**
10127
- * 发票代码
10128
- */
10129
- Code?: string
10130
- /**
10131
- * 发票号码
10132
- */
10133
- Number?: string
10134
- /**
10135
- * 价税合计(小写)
10136
- */
10137
- Total?: string
10138
- /**
10139
- * 价税合计(大写)
10140
- */
10141
- TotalCn?: string
10142
- /**
10143
- * 发票消费类型
10144
- */
10145
- Kind?: string
10146
- /**
10147
- * 省
10148
- */
10149
- Province?: string
10150
- /**
10151
- * 市
10152
- */
10153
- City?: string
10154
- /**
10155
- * 是否存在二维码(1:有,0:无)
10156
- */
10157
- QRCodeMark?: number
10158
- /**
10159
- * 是否有公司印章(0:没有,1:有)
10160
- */
10161
- CompanySealMark?: number
10162
- }
10163
-
10164
10113
  /**
10165
10114
  * InsuranceBillOCR请求参数结构体
10166
10115
  */
@@ -10183,26 +10132,19 @@ export interface InsuranceBillOCRRequest {
10183
10132
  }
10184
10133
 
10185
10134
  /**
10186
- * GeneralHandwritingOCR返回参数结构体
10135
+ * QrcodeOCR请求参数结构体
10187
10136
  */
10188
- export interface GeneralHandwritingOCRResponse {
10189
- /**
10190
- * 检测到的文本信息,具体内容请点击左侧链接。
10191
- */
10192
- TextDetections?: Array<TextGeneralHandwriting>
10193
- /**
10194
- * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
10195
- * @deprecated
10196
- */
10197
- Angel?: number
10137
+ export interface QrcodeOCRRequest {
10198
10138
  /**
10199
- * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
10139
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,支持PNG、JPG、JPEG格式。
10140
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10200
10141
  */
10201
- Angle?: number
10142
+ ImageBase64?: string
10202
10143
  /**
10203
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10144
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,支持PNG、JPG、JPEG格式。
10145
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
10204
10146
  */
10205
- RequestId?: string
10147
+ ImageUrl?: string
10206
10148
  }
10207
10149
 
10208
10150
  /**
@@ -10310,6 +10252,28 @@ export interface QuestionBlockObj {
10310
10252
  QuestionBboxCoord: Rect
10311
10253
  }
10312
10254
 
10255
+ /**
10256
+ * 增值税普通发票(卷票)条目
10257
+ */
10258
+ export interface VatRollItem {
10259
+ /**
10260
+ * 项目名称
10261
+ */
10262
+ Name?: string
10263
+ /**
10264
+ * 数量
10265
+ */
10266
+ Quantity?: string
10267
+ /**
10268
+ * 单价
10269
+ */
10270
+ Price?: string
10271
+ /**
10272
+ * 金额
10273
+ */
10274
+ Total?: string
10275
+ }
10276
+
10313
10277
  /**
10314
10278
  * AdvertiseOCR返回参数结构体
10315
10279
  */
@@ -10955,62 +10919,6 @@ export interface QuotaInvoiceOCRRequest {
10955
10919
  PdfPageNumber?: number
10956
10920
  }
10957
10921
 
10958
- /**
10959
- * BankCardOCR返回参数结构体
10960
- */
10961
- export interface BankCardOCRResponse {
10962
- /**
10963
- * 卡号
10964
- */
10965
- CardNo?: string
10966
- /**
10967
- * 银行信息
10968
- */
10969
- BankInfo?: string
10970
- /**
10971
- * 有效期,格式如:07/2023
10972
- */
10973
- ValidDate?: string
10974
- /**
10975
- * 卡类型
10976
- */
10977
- CardType?: string
10978
- /**
10979
- * 卡名字
10980
- */
10981
- CardName?: string
10982
- /**
10983
- * 切片图片数据
10984
- 注意:此字段可能返回 null,表示取不到有效值。
10985
- */
10986
- BorderCutImage?: string
10987
- /**
10988
- * 卡号图片数据
10989
- 注意:此字段可能返回 null,表示取不到有效值。
10990
- */
10991
- CardNoImage?: string
10992
- /**
10993
- * WarningCode 告警码列表和释义:
10994
- -9110:银行卡日期无效;
10995
- -9111:银行卡边框不完整;
10996
- -9112:银行卡图片反光;
10997
- -9113:银行卡复印件;
10998
- -9114:银行卡翻拍件
10999
- (告警码可以同时存在多个)
11000
- 注意:此字段可能返回 null,表示取不到有效值。
11001
- */
11002
- WarningCode?: Array<number | bigint>
11003
- /**
11004
- * 图片质量分数,请求EnableQualityValue时返回(取值范围:0-100,分数越低越模糊,建议阈值≥50)。
11005
- 注意:此字段可能返回 null,表示取不到有效值。
11006
- */
11007
- QualityValue?: number
11008
- /**
11009
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11010
- */
11011
- RequestId?: string
11012
- }
11013
-
11014
10922
  /**
11015
10923
  * BusinessCardOCR请求参数结构体
11016
10924
  */
@@ -1440,7 +1440,7 @@ export interface DescribeSampleMatrixQueryRequest {
1440
1440
  */
1441
1441
  Filters?: Array<Filter>
1442
1442
  /**
1443
- * 分组
1443
+ * 分组;取值范围参见 DescribeMetricLabelWithValues 接口返回的指标及其支持的标签名
1444
1444
  */
1445
1445
  GroupBy?: Array<string>
1446
1446
  }
@@ -2766,12 +2766,12 @@ export interface DescribeCronJobsResponse {
2766
2766
  /**
2767
2767
  * 定时任务总数
2768
2768
  */
2769
- Total: number
2769
+ Total?: number
2770
2770
  /**
2771
2771
  * 定时任务信息
2772
2772
  注意:此字段可能返回 null,表示取不到有效值。
2773
2773
  */
2774
- CronJobSet: Array<CronJob>
2774
+ CronJobSet?: Array<CronJob>
2775
2775
  /**
2776
2776
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2777
2777
  */
@@ -3386,7 +3386,7 @@ export interface DescribeCheckSummaryResponse {
3386
3386
  * 检查点汇总信息
3387
3387
  注意:此字段可能返回 null,表示取不到有效值。
3388
3388
  */
3389
- CheckSummarySet: Array<CheckSummary>
3389
+ CheckSummarySet?: Array<CheckSummary>
3390
3390
  /**
3391
3391
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3392
3392
  */
@@ -3443,11 +3443,11 @@ export interface DescribeScenariosResponse {
3443
3443
  * 场景列表
3444
3444
  注意:此字段可能返回 null,表示取不到有效值。
3445
3445
  */
3446
- ScenarioSet: Array<Scenario>
3446
+ ScenarioSet?: Array<Scenario>
3447
3447
  /**
3448
3448
  * 场景总数
3449
3449
  */
3450
- Total: number
3450
+ Total?: number
3451
3451
  /**
3452
3452
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3453
3453
  */
@@ -25,6 +25,7 @@ import {
25
25
  ListTriggersResponse,
26
26
  ListAliasesResponse,
27
27
  DeleteLayerVersionResponse,
28
+ DeleteFunctionVersionRequest,
28
29
  GetReservedConcurrencyConfigResponse,
29
30
  ProtocolParams,
30
31
  RoutingConfig,
@@ -137,9 +138,10 @@ import {
137
138
  FunctionLog,
138
139
  InvokeFunctionRequest,
139
140
  RetryConfig,
140
- GetFunctionAddressResponse,
141
+ GetProvisionedConcurrencyConfigResponse,
141
142
  CfsInsInfo,
142
143
  InstanceConcurrencyConfig,
144
+ DeleteFunctionVersionResponse,
143
145
  UpdateTriggerStatusRequest,
144
146
  TriggerAction,
145
147
  LimitsInfo,
@@ -172,7 +174,7 @@ import {
172
174
  SearchKey,
173
175
  DeleteTriggerRequest,
174
176
  VpcConfig,
175
- GetProvisionedConcurrencyConfigResponse,
177
+ GetFunctionAddressResponse,
176
178
  ListAsyncEventsResponse,
177
179
  ListNamespacesResponse,
178
180
  EipConfigOut,
@@ -328,13 +330,13 @@ export class Client extends AbstractClient {
328
330
  }
329
331
 
330
332
  /**
331
- * 该接口根据指定的日志查询条件返回函数运行日志。该接口已下线,查询函数请求运行的返回信息,请使用 [GetRequestStatus](https://cloud.tencent.com/document/product/583/65348)。查询函数运行日志,请参考[日志检索教程](https://cloud.tencent.com/document/product/583/52637)。
333
+ * 该接口根据传入的参数删除命名空间。
332
334
  */
333
- async GetFunctionLogs(
334
- req: GetFunctionLogsRequest,
335
- cb?: (error: string, rep: GetFunctionLogsResponse) => void
336
- ): Promise<GetFunctionLogsResponse> {
337
- return this.request("GetFunctionLogs", req, cb)
335
+ async DeleteNamespace(
336
+ req: DeleteNamespaceRequest,
337
+ cb?: (error: string, rep: DeleteNamespaceResponse) => void
338
+ ): Promise<DeleteNamespaceResponse> {
339
+ return this.request("DeleteNamespace", req, cb)
338
340
  }
339
341
 
340
342
  /**
@@ -428,13 +430,13 @@ export class Client extends AbstractClient {
428
430
  }
429
431
 
430
432
  /**
431
- * 该接口根据传入的参数删除命名空间。
433
+ * 修改账号并发限制配额
432
434
  */
433
- async DeleteNamespace(
434
- req: DeleteNamespaceRequest,
435
- cb?: (error: string, rep: DeleteNamespaceResponse) => void
436
- ): Promise<DeleteNamespaceResponse> {
437
- return this.request("DeleteNamespace", req, cb)
435
+ async PutTotalConcurrencyConfig(
436
+ req: PutTotalConcurrencyConfigRequest,
437
+ cb?: (error: string, rep: PutTotalConcurrencyConfigResponse) => void
438
+ ): Promise<PutTotalConcurrencyConfigResponse> {
439
+ return this.request("PutTotalConcurrencyConfig", req, cb)
438
440
  }
439
441
 
440
442
  /**
@@ -447,6 +449,26 @@ export class Client extends AbstractClient {
447
449
  return this.request("UpdateTriggerStatus", req, cb)
448
450
  }
449
451
 
452
+ /**
453
+ * 该接口根据传入参数删除函数的指定版本。
454
+ */
455
+ async DeleteFunctionVersion(
456
+ req: DeleteFunctionVersionRequest,
457
+ cb?: (error: string, rep: DeleteFunctionVersionResponse) => void
458
+ ): Promise<DeleteFunctionVersionResponse> {
459
+ return this.request("DeleteFunctionVersion", req, cb)
460
+ }
461
+
462
+ /**
463
+ * 该接口根据指定的日志查询条件返回函数运行日志。该接口已下线,查询函数请求运行的返回信息,请使用 [GetRequestStatus](https://cloud.tencent.com/document/product/583/65348)。查询函数运行日志,请参考[日志检索教程](https://cloud.tencent.com/document/product/583/52637)。
464
+ */
465
+ async GetFunctionLogs(
466
+ req: GetFunctionLogsRequest,
467
+ cb?: (error: string, rep: GetFunctionLogsResponse) => void
468
+ ): Promise<GetFunctionLogsResponse> {
469
+ return this.request("GetFunctionLogs", req, cb)
470
+ }
471
+
450
472
  /**
451
473
  * 为某个函数版本创建一个别名,您可以使用别名来标记特定的函数版本,如DEV/RELEASE版本,也可以随时修改别名指向的版本。
452
474
  一个别名必须指向一个主版本,此外还可以同时指向一个附加版本。调用函数时指定特定的别名,则请求会被发送到别名指向的版本上,您可以配置请求发送到主版本和附加版本的比例。
@@ -653,16 +675,6 @@ CustomArgument 触发器用户附加信息(注意:只有timer触发器展示
653
675
  return this.request("GetReservedConcurrencyConfig", req, cb)
654
676
  }
655
677
 
656
- /**
657
- * 修改账号并发限制配额
658
- */
659
- async PutTotalConcurrencyConfig(
660
- req: PutTotalConcurrencyConfigRequest,
661
- cb?: (error: string, rep: PutTotalConcurrencyConfigResponse) => void
662
- ): Promise<PutTotalConcurrencyConfigResponse> {
663
- return this.request("PutTotalConcurrencyConfig", req, cb)
664
- }
665
-
666
678
  /**
667
679
  * 查看云函数自定义域名详情
668
680
  */