tencentcloud-sdk-nodejs 4.0.1004 → 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 (37) hide show
  1. package/CHANGELOG.md +208 -0
  2. package/SERVICE_CHANGELOG.md +302 -32
  3. package/package.json +1 -1
  4. package/products.md +13 -13
  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/cls/v20201016/cls_models.ts +40 -27
  10. package/src/services/cvm/v20170312/cvm_models.ts +3 -3
  11. package/src/services/dts/v20211206/dts_models.ts +4 -0
  12. package/src/services/ocr/v20181119/ocr_client.ts +92 -106
  13. package/src/services/ocr/v20181119/ocr_models.ts +113 -209
  14. package/src/services/scf/v20180416/scf_client.ts +36 -24
  15. package/src/services/scf/v20180416/scf_models.ts +158 -168
  16. package/src/services/tcr/v20190924/tcr_models.ts +86 -81
  17. package/src/services/tke/v20180525/tke_models.ts +143 -143
  18. package/src/services/vpc/v20170312/vpc_models.ts +51 -77
  19. package/tencentcloud/common/sdk_version.d.ts +1 -1
  20. package/tencentcloud/common/sdk_version.js +1 -1
  21. package/tencentcloud/services/aca/v20210323/aca_models.d.ts +1 -6
  22. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +4 -0
  23. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +10 -2
  24. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +40 -27
  25. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +3 -3
  26. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +4 -0
  27. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +73 -79
  28. package/tencentcloud/services/ocr/v20181119/ocr_client.js +76 -84
  29. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +112 -206
  30. package/tencentcloud/services/scf/v20180416/scf_client.d.ts +13 -9
  31. package/tencentcloud/services/scf/v20180416/scf_client.js +18 -12
  32. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +156 -168
  33. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +86 -81
  34. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +143 -143
  35. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +51 -77
  36. package/test/ocr.v20181119.test.js +14 -24
  37. package/test/scf.v20180416.test.js +24 -14
@@ -159,19 +159,19 @@ export interface AccessVpc {
159
159
  /**
160
160
  * Vpc的Id
161
161
  */
162
- VpcId: string
162
+ VpcId?: string
163
163
  /**
164
164
  * 子网Id
165
165
  */
166
- SubnetId: string
166
+ SubnetId?: string
167
167
  /**
168
168
  * 内网接入状态
169
169
  */
170
- Status: string
170
+ Status?: string
171
171
  /**
172
172
  * 内网接入Ip
173
173
  */
174
- AccessIp: string
174
+ AccessIp?: string
175
175
  }
176
176
 
177
177
  /**
@@ -295,47 +295,47 @@ export interface TriggerLogResp {
295
295
  * 仓库名称
296
296
  注意:此字段可能返回 null,表示取不到有效值。
297
297
  */
298
- RepoName: string
298
+ RepoName?: string
299
299
  /**
300
300
  * Tag名称
301
301
  注意:此字段可能返回 null,表示取不到有效值。
302
302
  */
303
- TagName: string
303
+ TagName?: string
304
304
  /**
305
305
  * 触发器名称
306
306
  注意:此字段可能返回 null,表示取不到有效值。
307
307
  */
308
- TriggerName: string
308
+ TriggerName?: string
309
309
  /**
310
310
  * 触发方式
311
311
  注意:此字段可能返回 null,表示取不到有效值。
312
312
  */
313
- InvokeSource: string
313
+ InvokeSource?: string
314
314
  /**
315
315
  * 触发动作
316
316
  注意:此字段可能返回 null,表示取不到有效值。
317
317
  */
318
- InvokeAction: string
318
+ InvokeAction?: string
319
319
  /**
320
320
  * 触发时间
321
321
  注意:此字段可能返回 null,表示取不到有效值。
322
322
  */
323
- InvokeTime: string
323
+ InvokeTime?: string
324
324
  /**
325
325
  * 触发条件
326
326
  注意:此字段可能返回 null,表示取不到有效值。
327
327
  */
328
- InvokeCondition: TriggerInvokeCondition
328
+ InvokeCondition?: TriggerInvokeCondition
329
329
  /**
330
330
  * 触发参数
331
331
  注意:此字段可能返回 null,表示取不到有效值。
332
332
  */
333
- InvokePara: TriggerInvokePara
333
+ InvokePara?: TriggerInvokePara
334
334
  /**
335
335
  * 触发结果
336
336
  注意:此字段可能返回 null,表示取不到有效值。
337
337
  */
338
- InvokeResult: TriggerInvokeResult
338
+ InvokeResult?: TriggerInvokeResult
339
339
  }
340
340
 
341
341
  /**
@@ -473,16 +473,16 @@ export interface RegistryCondition {
473
473
  /**
474
474
  * 实例创建过程类型
475
475
  */
476
- Type: string
476
+ Type?: string
477
477
  /**
478
478
  * 实例创建过程状态
479
479
  */
480
- Status: string
480
+ Status?: string
481
481
  /**
482
482
  * 转换到该过程的简明原因
483
483
  注意:此字段可能返回 null,表示取不到有效值。
484
484
  */
485
- Reason: string
485
+ Reason?: string
486
486
  }
487
487
 
488
488
  /**
@@ -548,27 +548,27 @@ export interface AutoDelStrategyInfo {
548
548
  /**
549
549
  * 用户名
550
550
  */
551
- Username: string
551
+ Username?: string
552
552
  /**
553
553
  * 仓库名
554
554
  */
555
- RepoName: string
555
+ RepoName?: string
556
556
  /**
557
557
  * 类型
558
558
  */
559
- Type: string
559
+ Type?: string
560
560
  /**
561
561
  * 策略值
562
562
  */
563
- Value: number
563
+ Value?: number
564
564
  /**
565
565
  * Valid
566
566
  */
567
- Valid: number
567
+ Valid?: number
568
568
  /**
569
569
  * 创建时间
570
570
  */
571
- CreationTime: string
571
+ CreationTime?: string
572
572
  }
573
573
 
574
574
  /**
@@ -818,12 +818,12 @@ export interface FavorResp {
818
818
  /**
819
819
  * 收藏仓库的总数
820
820
  */
821
- TotalCount: number
821
+ TotalCount?: number
822
822
  /**
823
823
  * 仓库信息数组
824
824
  注意:此字段可能返回 null,表示取不到有效值。
825
825
  */
826
- RepoInfo: Array<Favors>
826
+ RepoInfo?: Array<Favors>
827
827
  }
828
828
 
829
829
  /**
@@ -954,37 +954,37 @@ export interface TriggerResp {
954
954
  * 触发器名称
955
955
  注意:此字段可能返回 null,表示取不到有效值。
956
956
  */
957
- TriggerName: string
957
+ TriggerName?: string
958
958
  /**
959
959
  * 触发来源
960
960
  注意:此字段可能返回 null,表示取不到有效值。
961
961
  */
962
- InvokeSource: string
962
+ InvokeSource?: string
963
963
  /**
964
964
  * 触发动作
965
965
  注意:此字段可能返回 null,表示取不到有效值。
966
966
  */
967
- InvokeAction: string
967
+ InvokeAction?: string
968
968
  /**
969
969
  * 创建时间
970
970
  注意:此字段可能返回 null,表示取不到有效值。
971
971
  */
972
- CreateTime: string
972
+ CreateTime?: string
973
973
  /**
974
974
  * 更新时间
975
975
  注意:此字段可能返回 null,表示取不到有效值。
976
976
  */
977
- UpdateTime: string
977
+ UpdateTime?: string
978
978
  /**
979
979
  * 触发条件
980
980
  注意:此字段可能返回 null,表示取不到有效值。
981
981
  */
982
- InvokeCondition: TriggerInvokeCondition
982
+ InvokeCondition?: TriggerInvokeCondition
983
983
  /**
984
984
  * 触发器参数
985
985
  注意:此字段可能返回 null,表示取不到有效值。
986
986
  */
987
- InvokePara: TriggerInvokePara
987
+ InvokePara?: TriggerInvokePara
988
988
  }
989
989
 
990
990
  /**
@@ -1064,7 +1064,7 @@ export interface DescribeServiceAccountsRequest {
1064
1064
  */
1065
1065
  EmbedPermission?: boolean
1066
1066
  /**
1067
- * 过滤条件
1067
+ * 过滤条件,key 目前只支持ServiceAccountName
1068
1068
  */
1069
1069
  Filters?: Array<Filter>
1070
1070
  /**
@@ -1313,7 +1313,7 @@ export interface DupImageTagResp {
1313
1313
  /**
1314
1314
  * 镜像Digest值
1315
1315
  */
1316
- Digest: string
1316
+ Digest?: string
1317
1317
  }
1318
1318
 
1319
1319
  /**
@@ -1426,12 +1426,12 @@ export interface AutoDelStrategyInfoResp {
1426
1426
  /**
1427
1427
  * 总数目
1428
1428
  */
1429
- TotalCount: number
1429
+ TotalCount?: number
1430
1430
  /**
1431
1431
  * 自动删除策略列表
1432
1432
  注意:此字段可能返回 null,表示取不到有效值。
1433
1433
  */
1434
- StrategyInfo: Array<AutoDelStrategyInfo>
1434
+ StrategyInfo?: Array<AutoDelStrategyInfo>
1435
1435
  }
1436
1436
 
1437
1437
  /**
@@ -1760,7 +1760,7 @@ export interface RepoIsExistResp {
1760
1760
  /**
1761
1761
  * 仓库是否存在
1762
1762
  */
1763
- IsExist: boolean
1763
+ IsExist?: boolean
1764
1764
  }
1765
1765
 
1766
1766
  /**
@@ -1967,49 +1967,49 @@ export interface Favors {
1967
1967
  /**
1968
1968
  * 仓库名字
1969
1969
  */
1970
- RepoName: string
1970
+ RepoName?: string
1971
1971
  /**
1972
1972
  * 仓库类型
1973
1973
  */
1974
- RepoType: string
1974
+ RepoType?: string
1975
1975
  /**
1976
1976
  * Pull总共的次数
1977
1977
  注意:此字段可能返回 null,表示取不到有效值。
1978
1978
  */
1979
- PullCount: number
1979
+ PullCount?: number
1980
1980
  /**
1981
1981
  * 仓库收藏次数
1982
1982
  注意:此字段可能返回 null,表示取不到有效值。
1983
1983
  */
1984
- FavorCount: number
1984
+ FavorCount?: number
1985
1985
  /**
1986
1986
  * 仓库是否公开
1987
1987
  注意:此字段可能返回 null,表示取不到有效值。
1988
1988
  */
1989
- Public: number
1989
+ Public?: number
1990
1990
  /**
1991
1991
  * 是否为官方所有
1992
1992
  注意:此字段可能返回 null,表示取不到有效值。
1993
1993
  */
1994
- IsQcloudOfficial: boolean
1994
+ IsQcloudOfficial?: boolean
1995
1995
  /**
1996
1996
  * 仓库Tag的数量
1997
1997
  注意:此字段可能返回 null,表示取不到有效值。
1998
1998
  */
1999
- TagCount: number
1999
+ TagCount?: number
2000
2000
  /**
2001
2001
  * Logo
2002
2002
  注意:此字段可能返回 null,表示取不到有效值。
2003
2003
  */
2004
- Logo: string
2004
+ Logo?: string
2005
2005
  /**
2006
2006
  * 地域
2007
2007
  */
2008
- Region: string
2008
+ Region?: string
2009
2009
  /**
2010
2010
  * 地域的Id
2011
2011
  */
2012
- RegionId: number
2012
+ RegionId?: number
2013
2013
  }
2014
2014
 
2015
2015
  /**
@@ -2149,29 +2149,29 @@ export interface TcrNamespaceInfo {
2149
2149
  /**
2150
2150
  * 命名空间名称
2151
2151
  */
2152
- Name: string
2152
+ Name?: string
2153
2153
  /**
2154
2154
  * 创建时间
2155
2155
  */
2156
- CreationTime: string
2156
+ CreationTime?: string
2157
2157
  /**
2158
2158
  * 访问级别
2159
2159
  */
2160
- Public: boolean
2160
+ Public?: boolean
2161
2161
  /**
2162
2162
  * 命名空间的Id
2163
2163
  */
2164
- NamespaceId: number
2164
+ NamespaceId?: number
2165
2165
  /**
2166
2166
  * 实例云标签
2167
2167
  注意:此字段可能返回 null,表示取不到有效值。
2168
2168
  */
2169
- TagSpecification: TagSpecification
2169
+ TagSpecification?: TagSpecification
2170
2170
  /**
2171
2171
  * 命名空间元数据
2172
2172
  注意:此字段可能返回 null,表示取不到有效值。
2173
2173
  */
2174
- Metadata: Array<KeyValueString>
2174
+ Metadata?: Array<KeyValueString>
2175
2175
  /**
2176
2176
  * 漏洞白名单列表
2177
2177
  */
@@ -2335,15 +2335,15 @@ export interface RepoInfoResp {
2335
2335
  /**
2336
2336
  * 仓库总数
2337
2337
  */
2338
- TotalCount: number
2338
+ TotalCount?: number
2339
2339
  /**
2340
2340
  * 仓库信息列表
2341
2341
  */
2342
- RepoInfo: Array<RepoInfo>
2342
+ RepoInfo?: Array<RepoInfo>
2343
2343
  /**
2344
2344
  * Server信息
2345
2345
  */
2346
- Server: string
2346
+ Server?: string
2347
2347
  }
2348
2348
 
2349
2349
  /**
@@ -2445,6 +2445,11 @@ export interface WebhookTrigger {
2445
2445
  * 触发器所属命名空间 Id
2446
2446
  */
2447
2447
  NamespaceId?: number
2448
+ /**
2449
+ * 触发器所属命名空间名称
2450
+ 注意:此字段可能返回 null,表示取不到有效值。
2451
+ */
2452
+ NamespaceName?: string
2448
2453
  }
2449
2454
 
2450
2455
  /**
@@ -2551,12 +2556,12 @@ export interface DescribeApplicationTriggerLogPersonalResp {
2551
2556
  /**
2552
2557
  * 返回总数
2553
2558
  */
2554
- TotalCount: number
2559
+ TotalCount?: number
2555
2560
  /**
2556
2561
  * 触发日志列表
2557
2562
  注意:此字段可能返回 null,表示取不到有效值。
2558
2563
  */
2559
- LogInfo: Array<TriggerLogResp>
2564
+ LogInfo?: Array<TriggerLogResp>
2560
2565
  }
2561
2566
 
2562
2567
  /**
@@ -2654,11 +2659,11 @@ export interface NamespaceInfoResp {
2654
2659
  /**
2655
2660
  * 命名空间数量
2656
2661
  */
2657
- NamespaceCount: number
2662
+ NamespaceCount?: number
2658
2663
  /**
2659
2664
  * 命名空间信息
2660
2665
  */
2661
- NamespaceInfo: Array<NamespaceInfo>
2666
+ NamespaceInfo?: Array<NamespaceInfo>
2662
2667
  }
2663
2668
 
2664
2669
  /**
@@ -2769,12 +2774,12 @@ export interface TriggerInvokeResult {
2769
2774
  * 请求TKE返回值
2770
2775
  注意:此字段可能返回 null,表示取不到有效值。
2771
2776
  */
2772
- ReturnCode: number
2777
+ ReturnCode?: number
2773
2778
  /**
2774
2779
  * 请求TKE返回信息
2775
2780
  注意:此字段可能返回 null,表示取不到有效值。
2776
2781
  */
2777
- ReturnMsg: string
2782
+ ReturnMsg?: string
2778
2783
  }
2779
2784
 
2780
2785
  /**
@@ -3252,23 +3257,23 @@ export interface GCJobInfo {
3252
3257
  /**
3253
3258
  * 作业 ID
3254
3259
  */
3255
- ID: number
3260
+ ID?: number
3256
3261
  /**
3257
3262
  * 作业状态
3258
3263
  */
3259
- JobStatus: string
3264
+ JobStatus?: string
3260
3265
  /**
3261
3266
  * 创建时间
3262
3267
  */
3263
- CreationTime: string
3268
+ CreationTime?: string
3264
3269
  /**
3265
3270
  * 更新时间
3266
3271
  */
3267
- UpdateTime: string
3272
+ UpdateTime?: string
3268
3273
  /**
3269
3274
  * 调度信息
3270
3275
  */
3271
- Schedule: Schedule
3276
+ Schedule?: Schedule
3272
3277
  }
3273
3278
 
3274
3279
  /**
@@ -3500,12 +3505,12 @@ export interface TriggerInvokeCondition {
3500
3505
  /**
3501
3506
  * 触发方式
3502
3507
  */
3503
- InvokeMethod: string
3508
+ InvokeMethod?: string
3504
3509
  /**
3505
3510
  * 触发表达式
3506
3511
  注意:此字段可能返回 null,表示取不到有效值。
3507
3512
  */
3508
- InvokeExpr: string
3513
+ InvokeExpr?: string
3509
3514
  }
3510
3515
 
3511
3516
  /**
@@ -3599,47 +3604,47 @@ export interface RepoInfo {
3599
3604
  /**
3600
3605
  * 仓库名称
3601
3606
  */
3602
- RepoName: string
3607
+ RepoName?: string
3603
3608
  /**
3604
3609
  * 仓库类型
3605
3610
  */
3606
- RepoType: string
3611
+ RepoType?: string
3607
3612
  /**
3608
3613
  * Tag数量
3609
3614
  */
3610
- TagCount: number
3615
+ TagCount?: number
3611
3616
  /**
3612
3617
  * 是否为公开
3613
3618
  */
3614
- Public: number
3619
+ Public?: number
3615
3620
  /**
3616
3621
  * 是否为用户收藏
3617
3622
  */
3618
- IsUserFavor: boolean
3623
+ IsUserFavor?: boolean
3619
3624
  /**
3620
3625
  * 是否为腾讯云官方仓库
3621
3626
  */
3622
- IsQcloudOfficial: boolean
3627
+ IsQcloudOfficial?: boolean
3623
3628
  /**
3624
3629
  * 被收藏的个数
3625
3630
  */
3626
- FavorCount: number
3631
+ FavorCount?: number
3627
3632
  /**
3628
3633
  * 拉取的数量
3629
3634
  */
3630
- PullCount: number
3635
+ PullCount?: number
3631
3636
  /**
3632
3637
  * 描述
3633
3638
  */
3634
- Description: string
3639
+ Description?: string
3635
3640
  /**
3636
3641
  * 仓库创建时间
3637
3642
  */
3638
- CreationTime: string
3643
+ CreationTime?: string
3639
3644
  /**
3640
3645
  * 仓库更新时间
3641
3646
  */
3642
- UpdateTime: string
3647
+ UpdateTime?: string
3643
3648
  }
3644
3649
 
3645
3650
  /**
@@ -4543,11 +4548,11 @@ export interface DescribeApplicationTriggerPersonalResp {
4543
4548
  /**
4544
4549
  * 返回条目总数
4545
4550
  */
4546
- TotalCount: number
4551
+ TotalCount?: number
4547
4552
  /**
4548
4553
  * 触发器列表
4549
4554
  */
4550
- TriggerInfo: Array<TriggerResp>
4555
+ TriggerInfo?: Array<TriggerResp>
4551
4556
  }
4552
4557
 
4553
4558
  /**