tencentcloud-sdk-nodejs 4.0.457 → 4.0.459
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.
- package/CHANGELOG.md +267 -0
- package/SERVICE_CHANGELOG.md +273 -99
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/abstract_client.ts +11 -1
- package/src/common/http/fetch.ts +12 -5
- package/src/common/http/http_connection.ts +23 -19
- package/src/common/interface.ts +11 -0
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20210624/bma_client.ts +12 -11
- package/src/services/bma/v20210624/bma_models.ts +149 -149
- package/src/services/captcha/v20190722/captcha_models.ts +7 -23
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/cvm/v20170312/cvm_client.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +4 -4
- package/src/services/cwp/v20180228/cwp_client.ts +70 -19
- package/src/services/cwp/v20180228/cwp_models.ts +627 -215
- package/src/services/gaap/v20180529/gaap_models.ts +48 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +25 -89
- package/src/services/mariadb/v20170312/mariadb_models.ts +67 -526
- package/src/services/redis/v20180412/redis_models.ts +5 -5
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +1 -1
- package/src/services/trp/v20210515/trp_client.ts +4 -3
- package/src/services/trp/v20210515/trp_models.ts +136 -67
- package/src/services/tse/v20201207/tse_client.ts +12 -0
- package/src/services/tse/v20201207/tse_models.ts +30 -0
- package/src/services/vod/v20180717/vod_models.ts +21 -0
- package/src/services/wav/v20210129/wav_models.ts +6 -0
- package/src/services/wedata/v20210820/wedata_client.ts +15 -3
- package/src/services/wedata/v20210820/wedata_models.ts +101 -44
- package/tencentcloud/common/abstract_client.d.ts +5 -1
- package/tencentcloud/common/abstract_client.js +6 -0
- package/tencentcloud/common/http/fetch.d.ts +6 -1
- package/tencentcloud/common/http/fetch.js +3 -2
- package/tencentcloud/common/http/http_connection.d.ts +10 -2
- package/tencentcloud/common/http/http_connection.js +8 -2
- package/tencentcloud/common/interface.d.ts +12 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +11 -10
- package/tencentcloud/services/bma/v20210624/bma_client.js +11 -10
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +148 -148
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +7 -23
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -4
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +21 -5
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +30 -6
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +526 -178
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +40 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +7 -27
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +9 -39
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +61 -443
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +5 -5
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +1 -1
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +2 -2
- package/tencentcloud/services/trp/v20210515/trp_client.js +1 -1
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +115 -58
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +26 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +18 -0
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +5 -0
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +86 -38
- package/test/cwp.v20180228.test.js +44 -4
- package/test/mariadb.v20170312.test.js +6 -56
- package/test/tse.v20201207.test.js +10 -0
- package/test/wedata.v20210820.test.js +10 -0
|
@@ -2917,27 +2917,27 @@ export interface ModifyParamTemplateResponse {
|
|
|
2917
2917
|
*/
|
|
2918
2918
|
export interface DescribeProjectSecurityGroupsRequest {
|
|
2919
2919
|
/**
|
|
2920
|
-
*
|
|
2920
|
+
* 数据库引擎名称,本接口取值:redis。
|
|
2921
2921
|
*/
|
|
2922
2922
|
Product: string
|
|
2923
2923
|
|
|
2924
2924
|
/**
|
|
2925
|
-
* 项目
|
|
2925
|
+
* 项目 ID。
|
|
2926
2926
|
*/
|
|
2927
2927
|
ProjectId: number
|
|
2928
2928
|
|
|
2929
2929
|
/**
|
|
2930
|
-
*
|
|
2930
|
+
* 偏移量,取值为Limit的整数倍。
|
|
2931
2931
|
*/
|
|
2932
2932
|
Offset?: number
|
|
2933
2933
|
|
|
2934
2934
|
/**
|
|
2935
|
-
* 拉取数量限制,默认20
|
|
2935
|
+
* 拉取数量限制,默认 20。
|
|
2936
2936
|
*/
|
|
2937
2937
|
Limit?: number
|
|
2938
2938
|
|
|
2939
2939
|
/**
|
|
2940
|
-
* 搜索条件,支持安全组
|
|
2940
|
+
* 搜索条件,支持安全组 ID 或者安全组名称。
|
|
2941
2941
|
*/
|
|
2942
2942
|
SearchKey?: string
|
|
2943
2943
|
}
|
|
@@ -90,7 +90,7 @@ export interface CreateDBInstancesRequest {
|
|
|
90
90
|
VoucherIds?: Array<string>
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* sqlserver
|
|
93
|
+
* sqlserver版本,目前所有支持的版本有:2008R2 (SQL Server 2008 R2 Enterprise),2012SP3 (SQL Server 2012 Enterprise),201202 (SQL Server 2012 Standard),2014SP2 (SQL Server 2014 Enterprise),201402 (SQL Server 2014 Standard),2016SP1 (SQL Server 2016 Enterprise),201602 (SQL Server 2016 Standard),2017 (SQL Server 2017 Enterprise),201702 (SQL Server 2017 Standard),2019 (SQL Server 2019 Enterprise),201902 (SQL Server 2019 Standard)。每个地域支持售卖的版本不同,可通过DescribeProductConfig接口来拉取每个地域可售卖的版本信息。不填,默认为版本2008R2。
|
|
94
94
|
*/
|
|
95
95
|
DBVersion?: string
|
|
96
96
|
|
|
@@ -39,9 +39,9 @@ import {
|
|
|
39
39
|
DescribeCodeBatchsRequest,
|
|
40
40
|
DescribeProductsRequest,
|
|
41
41
|
DescribeCodeBatchByIdResponse,
|
|
42
|
-
TraceCode,
|
|
43
|
-
DeleteTraceDataResponse,
|
|
44
42
|
ModifyProductRequest,
|
|
43
|
+
DeleteTraceDataResponse,
|
|
44
|
+
Job,
|
|
45
45
|
CreateCodePackResponse,
|
|
46
46
|
DescribeMerchantsResponse,
|
|
47
47
|
DescribeTraceDataListRequest,
|
|
@@ -80,6 +80,7 @@ import {
|
|
|
80
80
|
ModifyCodeBatchResponse,
|
|
81
81
|
Product,
|
|
82
82
|
DescribeTraceCodesRequest,
|
|
83
|
+
TraceCode,
|
|
83
84
|
ModifyTraceCodeResponse,
|
|
84
85
|
ChainData,
|
|
85
86
|
PhaseData,
|
|
@@ -367,7 +368,7 @@ export class Client extends AbstractClient {
|
|
|
367
368
|
}
|
|
368
369
|
|
|
369
370
|
/**
|
|
370
|
-
*
|
|
371
|
+
* 生成普通码包
|
|
371
372
|
*/
|
|
372
373
|
async CreateCodePack(
|
|
373
374
|
req: CreateCodePackRequest,
|
|
@@ -114,6 +114,12 @@ export interface CodeBatch {
|
|
|
114
114
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
115
115
|
*/
|
|
116
116
|
TplName?: string
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* 调度任务
|
|
120
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
121
|
+
*/
|
|
122
|
+
Job?: Job
|
|
117
123
|
}
|
|
118
124
|
|
|
119
125
|
/**
|
|
@@ -311,6 +317,16 @@ export interface ModifyMerchantRequest {
|
|
|
311
317
|
* 企业ID
|
|
312
318
|
*/
|
|
313
319
|
CorpId?: number
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* 码包来源 0:自建, 1:第三码包,暂不支持修改
|
|
323
|
+
*/
|
|
324
|
+
CodeType?: number
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* 码包前缀地址 第三方码包时必填
|
|
328
|
+
*/
|
|
329
|
+
CodeUrl?: string
|
|
314
330
|
}
|
|
315
331
|
|
|
316
332
|
/**
|
|
@@ -505,6 +521,17 @@ export interface Merchant {
|
|
|
505
521
|
* 商户码规则
|
|
506
522
|
*/
|
|
507
523
|
CodeRule: string
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* 码来源类型 0: 安心平台 1: 第三方码
|
|
527
|
+
*/
|
|
528
|
+
CodeType: number
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* 第三方码域名前缀
|
|
532
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
533
|
+
*/
|
|
534
|
+
CodeUrl: string
|
|
508
535
|
}
|
|
509
536
|
|
|
510
537
|
/**
|
|
@@ -629,63 +656,43 @@ export interface DescribeCodeBatchByIdResponse {
|
|
|
629
656
|
}
|
|
630
657
|
|
|
631
658
|
/**
|
|
632
|
-
*
|
|
659
|
+
* ModifyProduct请求参数结构体
|
|
633
660
|
*/
|
|
634
|
-
export interface
|
|
635
|
-
/**
|
|
636
|
-
* 码
|
|
637
|
-
*/
|
|
638
|
-
Code: string
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* 企业ID
|
|
642
|
-
*/
|
|
643
|
-
CorpId: number
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* 包ID
|
|
647
|
-
*/
|
|
648
|
-
PackId: string
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* 批次ID
|
|
652
|
-
*/
|
|
653
|
-
BatchId: string
|
|
654
|
-
|
|
661
|
+
export interface ModifyProductRequest {
|
|
655
662
|
/**
|
|
656
|
-
*
|
|
663
|
+
* 商品名称
|
|
657
664
|
*/
|
|
658
|
-
|
|
665
|
+
Name: string
|
|
659
666
|
|
|
660
667
|
/**
|
|
661
|
-
*
|
|
668
|
+
* 商品ID
|
|
662
669
|
*/
|
|
663
670
|
ProductId: string
|
|
664
671
|
|
|
665
672
|
/**
|
|
666
|
-
*
|
|
673
|
+
* 备注
|
|
667
674
|
*/
|
|
668
|
-
|
|
675
|
+
Remark?: string
|
|
669
676
|
|
|
670
677
|
/**
|
|
671
|
-
*
|
|
678
|
+
* 商品规格
|
|
672
679
|
*/
|
|
673
|
-
|
|
680
|
+
Specification?: string
|
|
674
681
|
|
|
675
682
|
/**
|
|
676
|
-
*
|
|
683
|
+
* 商品图片
|
|
677
684
|
*/
|
|
678
|
-
|
|
685
|
+
Logo?: Array<string>
|
|
679
686
|
|
|
680
687
|
/**
|
|
681
|
-
*
|
|
688
|
+
* 企业ID
|
|
682
689
|
*/
|
|
683
|
-
|
|
690
|
+
CorpId?: number
|
|
684
691
|
|
|
685
692
|
/**
|
|
686
|
-
*
|
|
693
|
+
* 预留字段
|
|
687
694
|
*/
|
|
688
|
-
|
|
695
|
+
Ext?: Ext
|
|
689
696
|
}
|
|
690
697
|
|
|
691
698
|
/**
|
|
@@ -705,43 +712,18 @@ export interface DeleteTraceDataResponse {
|
|
|
705
712
|
}
|
|
706
713
|
|
|
707
714
|
/**
|
|
708
|
-
*
|
|
715
|
+
* 通用调度任务
|
|
709
716
|
*/
|
|
710
|
-
export interface
|
|
711
|
-
/**
|
|
712
|
-
* 商品名称
|
|
713
|
-
*/
|
|
714
|
-
Name: string
|
|
715
|
-
|
|
716
|
-
/**
|
|
717
|
-
* 商品ID
|
|
718
|
-
*/
|
|
719
|
-
ProductId: string
|
|
720
|
-
|
|
717
|
+
export interface Job {
|
|
721
718
|
/**
|
|
722
|
-
*
|
|
719
|
+
* 调度ID
|
|
723
720
|
*/
|
|
724
|
-
|
|
721
|
+
JobId: number
|
|
725
722
|
|
|
726
723
|
/**
|
|
727
|
-
*
|
|
724
|
+
* 执行状态 init:初始化, pending: 执行中, done: 执行成功, error: 执行失败
|
|
728
725
|
*/
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
/**
|
|
732
|
-
* 商品图片
|
|
733
|
-
*/
|
|
734
|
-
Logo?: Array<string>
|
|
735
|
-
|
|
736
|
-
/**
|
|
737
|
-
* 企业ID
|
|
738
|
-
*/
|
|
739
|
-
CorpId?: number
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
* 预留字段
|
|
743
|
-
*/
|
|
744
|
-
Ext?: Ext
|
|
726
|
+
Status: string
|
|
745
727
|
}
|
|
746
728
|
|
|
747
729
|
/**
|
|
@@ -980,6 +962,12 @@ export interface TraceItem {
|
|
|
980
962
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
981
963
|
*/
|
|
982
964
|
Key: string
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* 扩展字段
|
|
968
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
969
|
+
*/
|
|
970
|
+
Ext: string
|
|
983
971
|
}
|
|
984
972
|
|
|
985
973
|
/**
|
|
@@ -1025,6 +1013,11 @@ export interface DescribeMerchantsRequest {
|
|
|
1025
1013
|
* 企业ID
|
|
1026
1014
|
*/
|
|
1027
1015
|
CorpId?: number
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* 码来源类型 0:自建, 1:第三方
|
|
1019
|
+
*/
|
|
1020
|
+
CodeType?: number
|
|
1028
1021
|
}
|
|
1029
1022
|
|
|
1030
1023
|
/**
|
|
@@ -1166,6 +1159,16 @@ export interface CreateMerchantRequest {
|
|
|
1166
1159
|
* 企业ID
|
|
1167
1160
|
*/
|
|
1168
1161
|
CorpId?: number
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* 码包来源 0:自建, 1:第三发
|
|
1165
|
+
*/
|
|
1166
|
+
CodeType?: number
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* 码包前缀地址 第三方码包时必填
|
|
1170
|
+
*/
|
|
1171
|
+
CodeUrl?: string
|
|
1169
1172
|
}
|
|
1170
1173
|
|
|
1171
1174
|
/**
|
|
@@ -1330,7 +1333,7 @@ export interface DescribeProductByIdResponse {
|
|
|
1330
1333
|
}
|
|
1331
1334
|
|
|
1332
1335
|
/**
|
|
1333
|
-
*
|
|
1336
|
+
* 层级码配置
|
|
1334
1337
|
*/
|
|
1335
1338
|
export interface PackSpec {
|
|
1336
1339
|
/**
|
|
@@ -1347,6 +1350,12 @@ export interface PackSpec {
|
|
|
1347
1350
|
* 数量
|
|
1348
1351
|
*/
|
|
1349
1352
|
Amount: number
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* 码规则ID
|
|
1356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1357
|
+
*/
|
|
1358
|
+
CustomId?: string
|
|
1350
1359
|
}
|
|
1351
1360
|
|
|
1352
1361
|
/**
|
|
@@ -1690,6 +1699,66 @@ export interface DescribeTraceCodesRequest {
|
|
|
1690
1699
|
CorpId?: number
|
|
1691
1700
|
}
|
|
1692
1701
|
|
|
1702
|
+
/**
|
|
1703
|
+
* 溯源码
|
|
1704
|
+
*/
|
|
1705
|
+
export interface TraceCode {
|
|
1706
|
+
/**
|
|
1707
|
+
* 码
|
|
1708
|
+
*/
|
|
1709
|
+
Code: string
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* 企业ID
|
|
1713
|
+
*/
|
|
1714
|
+
CorpId: number
|
|
1715
|
+
|
|
1716
|
+
/**
|
|
1717
|
+
* 包ID
|
|
1718
|
+
*/
|
|
1719
|
+
PackId: string
|
|
1720
|
+
|
|
1721
|
+
/**
|
|
1722
|
+
* 批次ID
|
|
1723
|
+
*/
|
|
1724
|
+
BatchId: string
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* 所属商户ID
|
|
1728
|
+
*/
|
|
1729
|
+
MerchantId: string
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* 产品ID
|
|
1733
|
+
*/
|
|
1734
|
+
ProductId: string
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* 状态
|
|
1738
|
+
*/
|
|
1739
|
+
Status: number
|
|
1740
|
+
|
|
1741
|
+
/**
|
|
1742
|
+
* 创建时间
|
|
1743
|
+
*/
|
|
1744
|
+
CreateTime: string
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* 修改时间
|
|
1748
|
+
*/
|
|
1749
|
+
UpdateTime: string
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* 商户名称
|
|
1753
|
+
*/
|
|
1754
|
+
MerchantName: string
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* 产品名称
|
|
1758
|
+
*/
|
|
1759
|
+
ProductName: string
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1693
1762
|
/**
|
|
1694
1763
|
* ModifyTraceCode返回参数结构体
|
|
1695
1764
|
*/
|
|
@@ -20,7 +20,9 @@ import { ClientConfig } from "../../../common/interface"
|
|
|
20
20
|
import {
|
|
21
21
|
NacosReplica,
|
|
22
22
|
DescribeNacosReplicasRequest,
|
|
23
|
+
UpdateEngineInternetAccessRequest,
|
|
23
24
|
ApolloEnvParam,
|
|
25
|
+
UpdateEngineInternetAccessResponse,
|
|
24
26
|
KVPair,
|
|
25
27
|
DeleteEngineResponse,
|
|
26
28
|
CreateEngineResponse,
|
|
@@ -125,6 +127,16 @@ export class Client extends AbstractClient {
|
|
|
125
127
|
return this.request("DescribeZookeeperServerInterfaces", req, cb)
|
|
126
128
|
}
|
|
127
129
|
|
|
130
|
+
/**
|
|
131
|
+
* 修改引擎公网访问配置
|
|
132
|
+
*/
|
|
133
|
+
async UpdateEngineInternetAccess(
|
|
134
|
+
req: UpdateEngineInternetAccessRequest,
|
|
135
|
+
cb?: (error: string, rep: UpdateEngineInternetAccessResponse) => void
|
|
136
|
+
): Promise<UpdateEngineInternetAccessResponse> {
|
|
137
|
+
return this.request("UpdateEngineInternetAccess", req, cb)
|
|
138
|
+
}
|
|
139
|
+
|
|
128
140
|
/**
|
|
129
141
|
* 创建引擎实例
|
|
130
142
|
*/
|
|
@@ -73,6 +73,26 @@ export interface DescribeNacosReplicasRequest {
|
|
|
73
73
|
Offset?: number
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
/**
|
|
77
|
+
* UpdateEngineInternetAccess请求参数结构体
|
|
78
|
+
*/
|
|
79
|
+
export interface UpdateEngineInternetAccessRequest {
|
|
80
|
+
/**
|
|
81
|
+
* 引擎ID
|
|
82
|
+
*/
|
|
83
|
+
InstanceId: string
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* 引擎类型
|
|
87
|
+
*/
|
|
88
|
+
EngineType: string
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* 是否开启客户端公网访问,true开 false关
|
|
92
|
+
*/
|
|
93
|
+
EnableClientInternetAccess?: boolean
|
|
94
|
+
}
|
|
95
|
+
|
|
76
96
|
/**
|
|
77
97
|
* Apollo 环境配置参数
|
|
78
98
|
*/
|
|
@@ -108,6 +128,16 @@ export interface ApolloEnvParam {
|
|
|
108
128
|
SubnetId: string
|
|
109
129
|
}
|
|
110
130
|
|
|
131
|
+
/**
|
|
132
|
+
* UpdateEngineInternetAccess返回参数结构体
|
|
133
|
+
*/
|
|
134
|
+
export interface UpdateEngineInternetAccessResponse {
|
|
135
|
+
/**
|
|
136
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
137
|
+
*/
|
|
138
|
+
RequestId?: string
|
|
139
|
+
}
|
|
140
|
+
|
|
111
141
|
/**
|
|
112
142
|
* 键值对
|
|
113
143
|
*/
|
|
@@ -5944,6 +5944,14 @@ export interface VideoTemplateInfo {
|
|
|
5944
5944
|
默认值:OFF。
|
|
5945
5945
|
*/
|
|
5946
5946
|
PreserveHDRSwitch?: string
|
|
5947
|
+
|
|
5948
|
+
/**
|
|
5949
|
+
* 编码标签,仅当视频流的编码格式为 H.265 编码时有效,可选值:
|
|
5950
|
+
<li>hvc1 表示 hvc1 标签;</li>
|
|
5951
|
+
<li>hev1 表示 hev1 标签。 </li>
|
|
5952
|
+
默认值:hvc1。
|
|
5953
|
+
*/
|
|
5954
|
+
CodecTag?: string
|
|
5947
5955
|
}
|
|
5948
5956
|
|
|
5949
5957
|
/**
|
|
@@ -13175,6 +13183,14 @@ export interface VideoTemplateInfoForUpdate {
|
|
|
13175
13183
|
<li>OFF: 无论原始文件是 HDR 还是 SDR,转码输出均为 SDR。</li>
|
|
13176
13184
|
*/
|
|
13177
13185
|
PreserveHDRSwitch?: string
|
|
13186
|
+
|
|
13187
|
+
/**
|
|
13188
|
+
* 编码标签,仅当视频流的编码格式为 H.265 编码时有效,可选值:
|
|
13189
|
+
<li>hvc1 表示 hvc1 标签;</li>
|
|
13190
|
+
<li>hev1 表示 hev1 标签。 </li>
|
|
13191
|
+
默认值:hvc1。
|
|
13192
|
+
*/
|
|
13193
|
+
CodecTag?: string
|
|
13178
13194
|
}
|
|
13179
13195
|
|
|
13180
13196
|
/**
|
|
@@ -14330,6 +14346,11 @@ export interface MediaVideoStreamItem {
|
|
|
14330
14346
|
* 帧率,单位:hz。
|
|
14331
14347
|
*/
|
|
14332
14348
|
Fps: number
|
|
14349
|
+
|
|
14350
|
+
/**
|
|
14351
|
+
* 编码标签,仅当 Codec 为 hevc 时有效。
|
|
14352
|
+
*/
|
|
14353
|
+
CodecTag: string
|
|
14333
14354
|
}
|
|
14334
14355
|
|
|
14335
14356
|
/**
|
|
@@ -39,8 +39,9 @@ import {
|
|
|
39
39
|
TaskInnerInfo,
|
|
40
40
|
BatchDeleteTasksNewResponse,
|
|
41
41
|
ModifyTaskLinksResponse,
|
|
42
|
+
DescribeDatasourceResponse,
|
|
43
|
+
DescribeDatasourceRequest,
|
|
42
44
|
IntegrationNodeMapping,
|
|
43
|
-
IntegrationNodeSchema,
|
|
44
45
|
KillInstancesResponse,
|
|
45
46
|
SetTaskAlarmNewRequest,
|
|
46
47
|
CommonContent,
|
|
@@ -88,7 +89,7 @@ import {
|
|
|
88
89
|
BatchModifyOwnersNewResponse,
|
|
89
90
|
DescribeDataSourceWithoutInfoRequest,
|
|
90
91
|
CanvasInfo,
|
|
91
|
-
|
|
92
|
+
IntegrationNodeSchema,
|
|
92
93
|
DeleteWorkflowNewRequest,
|
|
93
94
|
FreezeTasksByMultiWorkflowRequest,
|
|
94
95
|
InstanceInfo,
|
|
@@ -121,13 +122,14 @@ import {
|
|
|
121
122
|
CreateTaskResponse,
|
|
122
123
|
BatchResult,
|
|
123
124
|
ModifyDataSourceRequest,
|
|
125
|
+
CreateCustomFunctionResponse,
|
|
124
126
|
DescribeTaskInstancesResponse,
|
|
125
127
|
ModifyTaskInfoRequest,
|
|
126
128
|
DataSourceInfo,
|
|
127
129
|
DescribeTaskDetailRequest,
|
|
128
130
|
SetTaskAlarmNewResponse,
|
|
129
131
|
CreateWorkflowResponse,
|
|
130
|
-
|
|
132
|
+
CreateCustomFunctionRequest,
|
|
131
133
|
DeleteDataSourcesResponse,
|
|
132
134
|
RegisterEventListenerRequest,
|
|
133
135
|
ModifyTaskLinksRequest,
|
|
@@ -475,6 +477,16 @@ export class Client extends AbstractClient {
|
|
|
475
477
|
return this.request("ModifyTaskLinks", req, cb)
|
|
476
478
|
}
|
|
477
479
|
|
|
480
|
+
/**
|
|
481
|
+
* 创建用户自定义函数
|
|
482
|
+
*/
|
|
483
|
+
async CreateCustomFunction(
|
|
484
|
+
req: CreateCustomFunctionRequest,
|
|
485
|
+
cb?: (error: string, rep: CreateCustomFunctionResponse) => void
|
|
486
|
+
): Promise<CreateCustomFunctionResponse> {
|
|
487
|
+
return this.request("CreateCustomFunction", req, cb)
|
|
488
|
+
}
|
|
489
|
+
|
|
478
490
|
/**
|
|
479
491
|
* <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
|
480
492
|
文件夹更新
|