tencentcloud-sdk-nodejs 4.0.528 → 4.0.530

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 (82) hide show
  1. package/CHANGELOG.md +304 -0
  2. package/SERVICE_CHANGELOG.md +379 -37
  3. package/package.json +1 -1
  4. package/products.md +42 -41
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdb/v20170320/cdb_client.ts +1 -1
  7. package/src/services/cdb/v20170320/cdb_models.ts +2 -2
  8. package/src/services/ckafka/v20190819/ckafka_models.ts +6 -0
  9. package/src/services/clb/v20180317/clb_client.ts +1 -1
  10. package/src/services/clb/v20180317/clb_models.ts +31 -1
  11. package/src/services/cynosdb/v20190107/cynosdb_client.ts +18 -6
  12. package/src/services/cynosdb/v20190107/cynosdb_models.ts +25 -0
  13. package/src/services/es/v20180416/es_models.ts +5 -0
  14. package/src/services/ess/v20201111/ess_client.ts +23 -8
  15. package/src/services/ess/v20201111/ess_models.ts +58 -8
  16. package/src/services/essbasic/v20210526/essbasic_client.ts +39 -24
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +209 -153
  18. package/src/services/fmu/v20191213/fmu_models.ts +8 -6
  19. package/src/services/gme/v20180711/gme_models.ts +20 -14
  20. package/src/services/goosefs/index.ts +5 -0
  21. package/src/services/goosefs/v20220519/goosefs_client.ts +40 -0
  22. package/src/services/goosefs/v20220519/goosefs_models.ts +61 -0
  23. package/src/services/goosefs/v20220519/index.ts +6 -0
  24. package/src/services/index.ts +1 -0
  25. package/src/services/lcic/v20220817/lcic_client.ts +32 -6
  26. package/src/services/lcic/v20220817/lcic_models.ts +188 -7
  27. package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
  28. package/src/services/monitor/v20180724/monitor_client.ts +241 -55
  29. package/src/services/monitor/v20180724/monitor_models.ts +998 -339
  30. package/src/services/mps/v20190612/mps_models.ts +16 -1
  31. package/src/services/tcb/v20180608/tcb_models.ts +54 -30
  32. package/src/services/vpc/v20170312/vpc_client.ts +3 -2
  33. package/src/services/vpc/v20170312/vpc_models.ts +35 -2
  34. package/src/services/waf/v20180125/waf_models.ts +10 -10
  35. package/tencentcloud/common/sdk_version.d.ts +1 -1
  36. package/tencentcloud/common/sdk_version.js +1 -1
  37. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
  38. package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
  39. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
  40. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -0
  41. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -1
  42. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +26 -1
  43. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +7 -3
  44. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +9 -3
  45. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +22 -0
  46. package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
  47. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -3
  48. package/tencentcloud/services/ess/v20201111/ess_client.js +11 -3
  49. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +51 -8
  50. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +14 -8
  51. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +17 -9
  52. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +180 -131
  53. package/tencentcloud/services/fmu/v20191213/fmu_models.d.ts +4 -2
  54. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +18 -13
  55. package/tencentcloud/services/goosefs/index.d.ts +6 -0
  56. package/tencentcloud/services/goosefs/index.js +7 -0
  57. package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +14 -0
  58. package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +37 -0
  59. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +38 -0
  60. package/tencentcloud/services/goosefs/v20220519/goosefs_models.js +18 -0
  61. package/tencentcloud/services/goosefs/v20220519/index.d.ts +6 -0
  62. package/tencentcloud/services/goosefs/v20220519/index.js +9 -0
  63. package/tencentcloud/services/index.d.ts +1 -0
  64. package/tencentcloud/services/index.js +2 -0
  65. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +11 -3
  66. package/tencentcloud/services/lcic/v20220817/lcic_client.js +15 -3
  67. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +163 -6
  68. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
  69. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +75 -15
  70. package/tencentcloud/services/monitor/v20180724/monitor_client.js +111 -21
  71. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +807 -243
  72. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +13 -1
  73. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +50 -30
  74. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -2
  75. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +32 -2
  76. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +10 -10
  77. package/test/cynosdb.v20190107.test.js +12 -2
  78. package/test/ess.v20201111.test.js +12 -2
  79. package/test/essbasic.v20210526.test.js +14 -4
  80. package/test/goosefs.v20220519.test.js +31 -0
  81. package/test/lcic.v20220817.test.js +22 -2
  82. package/test/monitor.v20180724.test.js +164 -14
@@ -2423,7 +2423,11 @@ export interface CreateStreamLinkFlowRequest {
2423
2423
  /**
2424
2424
  * 流的输入组。
2425
2425
  */
2426
- InputGroup: Array<CreateInput>;
2426
+ InputGroup?: Array<CreateInput>;
2427
+ /**
2428
+ * 该Flow关联的媒体传输事件ID,每个flow只能关联一个Event。
2429
+ */
2430
+ EventId?: string;
2427
2431
  }
2428
2432
  /**
2429
2433
  * 创建媒体传输流的输出SRT的目标地址。
@@ -9605,6 +9609,14 @@ export interface DescribeFlow {
9605
9609
  注意:此字段可能返回 null,表示取不到有效值。
9606
9610
  */
9607
9611
  OutputGroup: Array<DescribeOutput>;
9612
+ /**
9613
+ * 该Flow关联的媒体传输事件EventId。
9614
+ */
9615
+ EventId: string;
9616
+ /**
9617
+ * 媒体传输输入流所属的区域,取值和InputRegion相同。
9618
+ */
9619
+ Region: string;
9608
9620
  }
9609
9621
  /**
9610
9622
  * CreateWatermarkTemplate返回参数结构体
@@ -2280,6 +2280,11 @@ export interface SpecialCostItem {
2280
2280
  * EstablishCloudBaseRunServer返回参数结构体
2281
2281
  */
2282
2282
  export interface EstablishCloudBaseRunServerResponse {
2283
+ /**
2284
+ * 创建服务是否成功
2285
+ 注意:此字段可能返回 null,表示取不到有效值。
2286
+ */
2287
+ Result?: string;
2283
2288
  /**
2284
2289
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2285
2290
  */
@@ -4537,146 +4542,161 @@ export interface DescribeCloudBaseRunVersionResponse {
4537
4542
  /**
4538
4543
  * 版本名称
4539
4544
  */
4540
- VersionName: string;
4545
+ VersionName?: string;
4541
4546
  /**
4542
4547
  * 备注
4543
4548
  注意:此字段可能返回 null,表示取不到有效值。
4544
4549
  */
4545
- Remark: string;
4550
+ Remark?: string;
4546
4551
  /**
4547
4552
  * Dockefile的路径
4548
4553
  注意:此字段可能返回 null,表示取不到有效值。
4549
4554
  */
4550
- DockerfilePath: string;
4555
+ DockerfilePath?: string;
4551
4556
  /**
4552
4557
  * DockerBuild的目录
4553
4558
  注意:此字段可能返回 null,表示取不到有效值。
4554
4559
  */
4555
- BuildDir: string;
4560
+ BuildDir?: string;
4556
4561
  /**
4557
4562
  * 副本最小值
4558
4563
  */
4559
- MinNum: number;
4564
+ MinNum?: number;
4560
4565
  /**
4561
4566
  * 副本最大值
4562
4567
  */
4563
- MaxNum: number;
4568
+ MaxNum?: number;
4564
4569
  /**
4565
4570
  * 策略类型
4566
4571
  */
4567
- PolicyType: string;
4572
+ PolicyType?: string;
4568
4573
  /**
4569
4574
  * 策略阈值
4570
4575
  */
4571
- PolicyThreshold: number;
4576
+ PolicyThreshold?: number;
4572
4577
  /**
4573
4578
  * 环境变量
4574
4579
  注意:此字段可能返回 null,表示取不到有效值。
4575
4580
  */
4576
- EnvParams: string;
4581
+ EnvParams?: string;
4577
4582
  /**
4578
4583
  * 创建时间
4579
4584
  */
4580
- CreatedTime: string;
4585
+ CreatedTime?: string;
4581
4586
  /**
4582
4587
  * 更新时间
4583
4588
  */
4584
- UpdatedTime: string;
4589
+ UpdatedTime?: string;
4585
4590
  /**
4586
4591
  * 版本的IP
4587
4592
  注意:此字段可能返回 null,表示取不到有效值。
4588
4593
  */
4589
- VersionIP: string;
4594
+ VersionIP?: string;
4590
4595
  /**
4591
4596
  * 版本的端口号
4592
4597
  注意:此字段可能返回 null,表示取不到有效值。
4593
4598
  */
4594
- VersionPort: number;
4599
+ VersionPort?: number;
4595
4600
  /**
4596
4601
  * 版本状态
4597
4602
  注意:此字段可能返回 null,表示取不到有效值。
4598
4603
  */
4599
- Status: string;
4604
+ Status?: string;
4600
4605
  /**
4601
4606
  * 代码包的名字
4602
4607
  注意:此字段可能返回 null,表示取不到有效值。
4603
4608
  */
4604
- PackageName: string;
4609
+ PackageName?: string;
4605
4610
  /**
4606
4611
  * 代码版本的名字
4607
4612
  注意:此字段可能返回 null,表示取不到有效值。
4608
4613
  */
4609
- PackageVersion: string;
4614
+ PackageVersion?: string;
4610
4615
  /**
4611
4616
  * 枚举(package/repository/image)
4612
4617
  注意:此字段可能返回 null,表示取不到有效值。
4613
4618
  */
4614
- UploadType: string;
4619
+ UploadType?: string;
4615
4620
  /**
4616
4621
  * Repo的类型(coding/gitlab/github/coding)
4617
4622
  注意:此字段可能返回 null,表示取不到有效值。
4618
4623
  */
4619
- RepoType: string;
4624
+ RepoType?: string;
4620
4625
  /**
4621
4626
  * 地址
4622
4627
  注意:此字段可能返回 null,表示取不到有效值。
4623
4628
  */
4624
- Repo: string;
4629
+ Repo?: string;
4625
4630
  /**
4626
4631
  * 分支
4627
4632
  注意:此字段可能返回 null,表示取不到有效值。
4628
4633
  */
4629
- Branch: string;
4634
+ Branch?: string;
4630
4635
  /**
4631
4636
  * 服务名字
4632
4637
  注意:此字段可能返回 null,表示取不到有效值。
4633
4638
  */
4634
- ServerName: string;
4639
+ ServerName?: string;
4635
4640
  /**
4636
4641
  * 是否对于外网开放
4637
4642
  注意:此字段可能返回 null,表示取不到有效值。
4638
4643
  */
4639
- IsPublic: boolean;
4644
+ IsPublic?: boolean;
4640
4645
  /**
4641
4646
  * vpc id
4642
4647
  注意:此字段可能返回 null,表示取不到有效值。
4643
4648
  */
4644
- VpcId: string;
4649
+ VpcId?: string;
4645
4650
  /**
4646
4651
  * 子网实例id
4647
4652
  注意:此字段可能返回 null,表示取不到有效值。
4648
4653
  */
4649
- SubnetIds: Array<string>;
4654
+ SubnetIds?: Array<string>;
4650
4655
  /**
4651
4656
  * 日志采集路径
4652
4657
  注意:此字段可能返回 null,表示取不到有效值。
4653
4658
  */
4654
- CustomLogs: string;
4659
+ CustomLogs?: string;
4655
4660
  /**
4656
4661
  * 监听端口
4657
4662
  注意:此字段可能返回 null,表示取不到有效值。
4658
4663
  */
4659
- ContainerPort: number;
4664
+ ContainerPort?: number;
4660
4665
  /**
4661
4666
  * 延迟多长时间开始健康检查(单位s)
4662
4667
  注意:此字段可能返回 null,表示取不到有效值。
4663
4668
  */
4664
- InitialDelaySeconds: number;
4669
+ InitialDelaySeconds?: number;
4665
4670
  /**
4666
4671
  * 镜像地址
4667
4672
  注意:此字段可能返回 null,表示取不到有效值。
4668
4673
  */
4669
- ImageUrl: string;
4674
+ ImageUrl?: string;
4670
4675
  /**
4671
4676
  * CPU 大小
4672
4677
  注意:此字段可能返回 null,表示取不到有效值。
4673
4678
  */
4674
- CpuSize: number;
4679
+ CpuSize?: number;
4675
4680
  /**
4676
4681
  * MEM 大小
4677
4682
  注意:此字段可能返回 null,表示取不到有效值。
4678
4683
  */
4679
- MemSize: number;
4684
+ MemSize?: number;
4685
+ /**
4686
+ * 扩缩容策略详情
4687
+ 注意:此字段可能返回 null,表示取不到有效值。
4688
+ */
4689
+ PolicyDetail?: Array<HpaPolicy>;
4690
+ /**
4691
+ * Cpu的Request值
4692
+ 注意:此字段可能返回 null,表示取不到有效值。
4693
+ */
4694
+ Cpu?: number;
4695
+ /**
4696
+ * Mem的Request值
4697
+ 注意:此字段可能返回 null,表示取不到有效值。
4698
+ */
4699
+ Mem?: number;
4680
4700
  /**
4681
4701
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4682
4702
  */
@@ -368,7 +368,7 @@ export declare class Client extends AbstractClient {
368
368
  该接口一般用来封禁地域间限速的云联网实例下的限速实例, 目前联通内部运营系统通过云API调用, 如果是出口限速, 一般使用更粗的云联网实例粒度封禁(LockCcns)。
369
369
  如有需要, 可以封禁任意限速实例, 可接入到内部运营系统。
370
370
  */
371
- LockCcnBandwidths(req?: LockCcnBandwidthsRequest, cb?: (error: string, rep: LockCcnBandwidthsResponse) => void): Promise<LockCcnBandwidthsResponse>;
371
+ LockCcnBandwidths(req: LockCcnBandwidthsRequest, cb?: (error: string, rep: LockCcnBandwidthsResponse) => void): Promise<LockCcnBandwidthsResponse>;
372
372
  /**
373
373
  * 本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板
374
374
  */
@@ -914,7 +914,7 @@ export declare class Client extends AbstractClient {
914
914
  该接口一般用来封禁地域间限速的云联网实例下的限速实例, 目前联通内部运营系统通过云API调用, 如果是出口限速, 一般使用更粗的云联网实例粒度封禁(SecurityUnlockCcns)。
915
915
  如有需要, 可以封禁任意限速实例, 可接入到内部运营系统。
916
916
  */
917
- UnlockCcnBandwidths(req?: UnlockCcnBandwidthsRequest, cb?: (error: string, rep: UnlockCcnBandwidthsResponse) => void): Promise<UnlockCcnBandwidthsResponse>;
917
+ UnlockCcnBandwidths(req: UnlockCcnBandwidthsRequest, cb?: (error: string, rep: UnlockCcnBandwidthsResponse) => void): Promise<UnlockCcnBandwidthsResponse>;
918
918
  /**
919
919
  * 本接口(CreateSecurityGroup)用于创建新的安全组(SecurityGroup)。
920
920
  * 每个账户下每个地域的每个项目的<a href="https://cloud.tencent.com/document/product/213/12453">安全组数量限制</a>。
@@ -1921,7 +1921,12 @@ export interface DescribeIpGeolocationDatabaseUrlResponse {
1921
1921
  /**
1922
1922
  * UnlockCcnBandwidths请求参数结构体
1923
1923
  */
1924
- export declare type UnlockCcnBandwidthsRequest = null;
1924
+ export interface UnlockCcnBandwidthsRequest {
1925
+ /**
1926
+ * 带宽实例对象数组。
1927
+ */
1928
+ Instances: Array<CcnFlowLock>;
1929
+ }
1925
1930
  /**
1926
1931
  * DeleteIp6Translators返回参数结构体
1927
1932
  */
@@ -8388,6 +8393,26 @@ export interface ModifyIpv6AddressesAttributeRequest {
8388
8393
  * DescribeCustomerGatewayVendors请求参数结构体
8389
8394
  */
8390
8395
  export declare type DescribeCustomerGatewayVendorsRequest = null;
8396
+ /**
8397
+ * 云联网限速实例锁对象,该对象特用于运营端使用,用于封禁实例流量。
8398
+ */
8399
+ export interface CcnFlowLock {
8400
+ /**
8401
+ * 带宽所属的云联网ID。
8402
+ 注意:此字段可能返回 null,表示取不到有效值。
8403
+ */
8404
+ CcnId: string;
8405
+ /**
8406
+ * 实例所属用户主账号ID。
8407
+ 注意:此字段可能返回 null,表示取不到有效值。
8408
+ */
8409
+ UserAccountID: string;
8410
+ /**
8411
+ * 带宽实例的唯一ID。作为`UnlockCcnBandwidths`接口和`LockCcnBandwidths`接口的入参时,该字段必传。
8412
+ 注意:此字段可能返回 null,表示取不到有效值。
8413
+ */
8414
+ RegionFlowControlId?: string;
8415
+ }
8391
8416
  /**
8392
8417
  * DetachSnapshotInstances请求参数结构体
8393
8418
  */
@@ -8430,7 +8455,12 @@ export interface ResetVpnGatewayInternetMaxBandwidthResponse {
8430
8455
  /**
8431
8456
  * LockCcnBandwidths请求参数结构体
8432
8457
  */
8433
- export declare type LockCcnBandwidthsRequest = null;
8458
+ export interface LockCcnBandwidthsRequest {
8459
+ /**
8460
+ * 带宽实例的唯一ID数组。
8461
+ */
8462
+ Instances: Array<CcnFlowLock>;
8463
+ }
8434
8464
  /**
8435
8465
  * 用于描述弹性公网IP的费用对象
8436
8466
  */
@@ -861,31 +861,31 @@ export interface DescribeIpAccessControlRequest {
861
861
  */
862
862
  Count: number;
863
863
  /**
864
- * 动作
864
+ * 动作,40表示查询白名单,42表示查询黑名单
865
865
  */
866
866
  ActionType?: number;
867
867
  /**
868
- * 有效时间最小时间戳
868
+ * 最小有效时间的时间戳
869
869
  */
870
870
  VtsMin?: number;
871
871
  /**
872
- * 有效时间最大时间戳
872
+ * 最大有效时间的时间戳
873
873
  */
874
874
  VtsMax?: number;
875
875
  /**
876
- * 创建时间最小时间戳
876
+ * 最小创建时间的时间戳
877
877
  */
878
878
  CtsMin?: number;
879
879
  /**
880
- * 创建时间最大时间戳
880
+ * 最大创建时间的时间戳
881
881
  */
882
882
  CtsMax?: number;
883
883
  /**
884
- * 偏移
884
+ * 分页开始条数
885
885
  */
886
886
  OffSet?: number;
887
887
  /**
888
- * 限制
888
+ * 每页的条数
889
889
  */
890
890
  Limit?: number;
891
891
  /**
@@ -1093,7 +1093,7 @@ export interface DeleteIpAccessControlRequest {
1093
1093
  */
1094
1094
  Items: Array<string>;
1095
1095
  /**
1096
- * 删除对应的域名下的所有黑/白IP名额单
1096
+ * 是否删除对应的域名下的所有黑/白IP名单,true表示全部删除,false表示只删除指定ip名单
1097
1097
  */
1098
1098
  DeleteAll?: boolean;
1099
1099
  /**
@@ -1505,12 +1505,12 @@ export interface DeleteIpAccessControlResponse {
1505
1505
  * 删除失败的条目
1506
1506
  注意:此字段可能返回 null,表示取不到有效值。
1507
1507
  */
1508
- FailedItems: string;
1508
+ FailedItems?: string;
1509
1509
  /**
1510
1510
  * 删除失败的条目数
1511
1511
  注意:此字段可能返回 null,表示取不到有效值。
1512
1512
  */
1513
- FailedCount: number;
1513
+ FailedCount?: number;
1514
1514
  /**
1515
1515
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1516
1516
  */
@@ -368,9 +368,9 @@ it("cynosdb.v20190107.ResumeServerless", async function () {
368
368
  }
369
369
  })
370
370
 
371
- it("cynosdb.v20190107.SwitchProxyVpc", async function () {
371
+ it("cynosdb.v20190107.RestartInstance", async function () {
372
372
  try {
373
- const data = await client.SwitchProxyVpc({})
373
+ const data = await client.RestartInstance({})
374
374
  expect(data).to.be.ok
375
375
  } catch(error) {
376
376
  expect(error.requestId).to.be.ok
@@ -458,6 +458,16 @@ it("cynosdb.v20190107.ModifyClusterName", async function () {
458
458
  }
459
459
  })
460
460
 
461
+ it("cynosdb.v20190107.SwitchProxyVpc", async function () {
462
+ try {
463
+ const data = await client.SwitchProxyVpc({})
464
+ expect(data).to.be.ok
465
+ } catch(error) {
466
+ expect(error.requestId).to.be.ok
467
+ expect(error.code).to.be.ok
468
+ }
469
+ })
470
+
461
471
  it("cynosdb.v20190107.DescribeClusterDetail", async function () {
462
472
  try {
463
473
  const data = await client.DescribeClusterDetail({})
@@ -208,6 +208,16 @@ it("ess.v20201111.DescribeIntegrationEmployees", async function () {
208
208
  }
209
209
  })
210
210
 
211
+ it("ess.v20201111.CreateFlowSignUrl", async function () {
212
+ try {
213
+ const data = await client.CreateFlowSignUrl({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
211
221
  it("ess.v20201111.CreateConvertTaskApi", async function () {
212
222
  try {
213
223
  const data = await client.CreateConvertTaskApi({})
@@ -238,9 +248,9 @@ it("ess.v20201111.UploadFiles", async function () {
238
248
  }
239
249
  })
240
250
 
241
- it("ess.v20201111.CreateFlowSignUrl", async function () {
251
+ it("ess.v20201111.CreateFlowReminds", async function () {
242
252
  try {
243
- const data = await client.CreateFlowSignUrl({})
253
+ const data = await client.CreateFlowReminds({})
244
254
  expect(data).to.be.ok
245
255
  } catch(error) {
246
256
  expect(error.requestId).to.be.ok
@@ -128,6 +128,16 @@ it("essbasic.v20210526.CreateFlowsByTemplates", async function () {
128
128
  }
129
129
  })
130
130
 
131
+ it("essbasic.v20210526.ChannelDescribeOrganizationSeals", async function () {
132
+ try {
133
+ const data = await client.ChannelDescribeOrganizationSeals({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
131
141
  it("essbasic.v20210526.CreateSignUrls", async function () {
132
142
  try {
133
143
  const data = await client.CreateSignUrls({})
@@ -208,9 +218,9 @@ it("essbasic.v20210526.GetDownloadFlowUrl", async function () {
208
218
  }
209
219
  })
210
220
 
211
- it("essbasic.v20210526.ChannelDescribeOrganizationSeals", async function () {
221
+ it("essbasic.v20210526.ChannelCreateFlowSignUrl", async function () {
212
222
  try {
213
- const data = await client.ChannelDescribeOrganizationSeals({})
223
+ const data = await client.ChannelCreateFlowSignUrl({})
214
224
  expect(data).to.be.ok
215
225
  } catch(error) {
216
226
  expect(error.requestId).to.be.ok
@@ -288,9 +298,9 @@ it("essbasic.v20210526.UploadFiles", async function () {
288
298
  }
289
299
  })
290
300
 
291
- it("essbasic.v20210526.ChannelCreateFlowSignUrl", async function () {
301
+ it("essbasic.v20210526.ChannelCreateFlowReminds", async function () {
292
302
  try {
293
- const data = await client.ChannelCreateFlowSignUrl({})
303
+ const data = await client.ChannelCreateFlowReminds({})
294
304
  expect(data).to.be.ok
295
305
  } catch(error) {
296
306
  expect(error.requestId).to.be.ok
@@ -0,0 +1,31 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.goosefs.v20220519.Client({
5
+ credential: {
6
+ secretId: process.env.secretId,
7
+ secretKey: process.env.secretKey,
8
+ },
9
+ region: "ap-shanghai",
10
+ profile: {
11
+ signMethod: "TC3-HMAC-SHA256",
12
+ httpProfile: {
13
+ reqMethod: "POST",
14
+ reqTimeout: 30,
15
+ endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
+ },
17
+ },
18
+ })
19
+ describe("goosefs.v20220519.test.js", function () {
20
+
21
+ it("goosefs.v20220519.CreateDataRepositoryTask", async function () {
22
+ try {
23
+ const data = await client.CreateDataRepositoryTask({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
31
+ })
@@ -38,6 +38,16 @@ it("lcic.v20220817.CreateDocument", async function () {
38
38
  }
39
39
  })
40
40
 
41
+ it("lcic.v20220817.ModifyApp", async function () {
42
+ try {
43
+ const data = await client.ModifyApp({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
41
51
  it("lcic.v20220817.SetAppCustomContent", async function () {
42
52
  try {
43
53
  const data = await client.SetAppCustomContent({})
@@ -68,6 +78,16 @@ it("lcic.v20220817.DeleteRoom", async function () {
68
78
  }
69
79
  })
70
80
 
81
+ it("lcic.v20220817.ModifyRoom", async function () {
82
+ try {
83
+ const data = await client.ModifyRoom({})
84
+ expect(data).to.be.ok
85
+ } catch(error) {
86
+ expect(error.requestId).to.be.ok
87
+ expect(error.code).to.be.ok
88
+ }
89
+ })
90
+
71
91
  it("lcic.v20220817.UnbindDocumentFromRoom", async function () {
72
92
  try {
73
93
  const data = await client.UnbindDocumentFromRoom({})
@@ -108,9 +128,9 @@ it("lcic.v20220817.DescribeUser", async function () {
108
128
  }
109
129
  })
110
130
 
111
- it("lcic.v20220817.ModifyApp", async function () {
131
+ it("lcic.v20220817.BatchRegister", async function () {
112
132
  try {
113
- const data = await client.ModifyApp({})
133
+ const data = await client.BatchRegister({})
114
134
  expect(data).to.be.ok
115
135
  } catch(error) {
116
136
  expect(error.requestId).to.be.ok