tencentcloud-sdk-nodejs 4.0.917 → 4.0.918

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 (33) hide show
  1. package/CHANGELOG.md +190 -0
  2. package/SERVICE_CHANGELOG.md +301 -234
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/dlc/v20210125/dlc_models.ts +54 -1
  7. package/src/services/ess/v20201111/ess_client.ts +45 -28
  8. package/src/services/ess/v20201111/ess_models.ts +122 -41
  9. package/src/services/essbasic/v20210526/essbasic_models.ts +7 -0
  10. package/src/services/goosefs/v20220519/goosefs_models.ts +24 -3
  11. package/src/services/hunyuan/v20230901/hunyuan_models.ts +4 -0
  12. package/src/services/iss/v20230517/iss_models.ts +27 -0
  13. package/src/services/mna/v20210119/mna_client.ts +12 -0
  14. package/src/services/mna/v20210119/mna_models.ts +42 -0
  15. package/src/services/teo/v20220901/teo_models.ts +2 -3
  16. package/src/services/trtc/v20190722/trtc_models.ts +10 -0
  17. package/tencentcloud/common/sdk_version.d.ts +1 -1
  18. package/tencentcloud/common/sdk_version.js +1 -1
  19. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +54 -1
  20. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +29 -20
  21. package/tencentcloud/services/ess/v20201111/ess_client.js +34 -23
  22. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +120 -41
  23. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -0
  24. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +24 -3
  25. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +4 -0
  26. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +27 -0
  27. package/tencentcloud/services/mna/v20210119/mna_client.d.ts +5 -1
  28. package/tencentcloud/services/mna/v20210119/mna_client.js +6 -0
  29. package/tencentcloud/services/mna/v20210119/mna_models.d.ts +40 -0
  30. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -3
  31. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +10 -0
  32. package/test/ess.v20201111.test.js +12 -2
  33. package/test/mna.v20210119.test.js +10 -0
@@ -619,38 +619,35 @@ export interface CreateMultiFlowSignQRCodeResponse {
619
619
  RequestId?: string;
620
620
  }
621
621
  /**
622
- * 签署链接信息。
622
+ * DescribeIntegrationDepartments请求参数结构体
623
623
  */
624
- export interface FlowApproverUrlInfo {
624
+ export interface DescribeIntegrationDepartmentsRequest {
625
625
  /**
626
- * 签署短链接。
627
- 注意:
628
- 1. 该链接有效期为<b>30分钟</b>,同时需要注意保密,不要外泄给无关用户。
629
- 2. 该链接不支持小程序嵌入,仅支持<b>移动端浏览器</b>打开。
630
- 3. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)
626
+ * 执行本接口操作的员工信息。
627
+ 注: `在调用此接口时,请确保指定的员工已获得组织架构管理权限,并具备接口传入的相应资源的数据权限。`
631
628
  */
632
- SignUrl?: string;
629
+ Operator: UserInfo;
633
630
  /**
634
- * 签署人类型。
635
- - **1**: 个人
631
+ * 查询类型,支持以下类型:
632
+ <ul><li>**0**:查询单个部门节点列表,不包含子节点部门信息</li>
633
+ <li>**1**:查询单个部门节点级一级子节点部门信息列表</li></ul>
636
634
  */
637
- ApproverType?: number;
635
+ QueryType: number;
638
636
  /**
639
- * 签署人姓名。
637
+ * 代理企业和员工的信息。
638
+ 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
640
639
  */
641
- ApproverName?: string;
640
+ Agent?: Agent;
642
641
  /**
643
- * 签署人手机号。
642
+ * 查询的部门ID。
643
+ 注:`如果同时指定了DeptId与DeptOpenId参数,系统将优先使用DeptId参数进行查询。当二者都未指定时,系统将返回根节点部门数据。`
644
644
  */
645
- ApproverMobile?: string;
645
+ DeptId?: string;
646
646
  /**
647
- * 签署长链接。
648
- 注意:
649
- 1. 该链接有效期为**30分钟**,同时需要注意保密,不要外泄给无关用户。
650
- 2. 该链接不支持小程序嵌入,仅支持**移动端浏览器**打开。
651
- 3. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)
647
+ * 查询的客户系统部门ID。
648
+ 注:`如果同时指定了DeptId与DeptOpenId参数,系统将优先使用DeptId参数进行查询。当二者都未指定时,系统将返回根节点部门数据。`
652
649
  */
653
- LongUrl?: string;
650
+ DeptOpenId?: string;
654
651
  }
655
652
  /**
656
653
  * 关注方信息
@@ -3526,6 +3523,40 @@ export interface CreateSealPolicyResponse {
3526
3523
  */
3527
3524
  RequestId?: string;
3528
3525
  }
3526
+ /**
3527
+ * 签署链接信息。
3528
+ */
3529
+ export interface FlowApproverUrlInfo {
3530
+ /**
3531
+ * 签署短链接。
3532
+ 注意:
3533
+ 1. 该链接有效期为<b>30分钟</b>,同时需要注意保密,不要外泄给无关用户。
3534
+ 2. 该链接不支持小程序嵌入,仅支持<b>移动端浏览器</b>打开。
3535
+ 3. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)
3536
+ */
3537
+ SignUrl?: string;
3538
+ /**
3539
+ * 签署人类型。
3540
+ - **1**: 个人
3541
+ */
3542
+ ApproverType?: number;
3543
+ /**
3544
+ * 签署人姓名。
3545
+ */
3546
+ ApproverName?: string;
3547
+ /**
3548
+ * 签署人手机号。
3549
+ */
3550
+ ApproverMobile?: string;
3551
+ /**
3552
+ * 签署长链接。
3553
+ 注意:
3554
+ 1. 该链接有效期为**30分钟**,同时需要注意保密,不要外泄给无关用户。
3555
+ 2. 该链接不支持小程序嵌入,仅支持**移动端浏览器**打开。
3556
+ 3. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)
3557
+ */
3558
+ LongUrl?: string;
3559
+ }
3529
3560
  /**
3530
3561
  * DisableUserAutoSign请求参数结构体
3531
3562
  */
@@ -6037,6 +6068,13 @@ export interface Recipient {
6037
6068
  <li> 6 :设备面容识别</li></ul>
6038
6069
  */
6039
6070
  ApproverSignTypes?: Array<number | bigint>;
6071
+ /**
6072
+ * 签署方是否可以转他人处理
6073
+
6074
+ <ul><li> **false** : ( 默认)可以转他人处理</li>
6075
+ <li> **true** :不可以转他人处理</li></ul>
6076
+ */
6077
+ NoTransfer?: boolean;
6040
6078
  }
6041
6079
  /**
6042
6080
  * DescribeFlowEvidenceReport请求参数结构体
@@ -8569,6 +8607,49 @@ export interface EmbedUrlOption {
8569
8607
  */
8570
8608
  ShowTemplateComponent?: boolean;
8571
8609
  }
8610
+ /**
8611
+ * CreateBatchOrganizationAuthorizationUrl请求参数结构体
8612
+ */
8613
+ export interface CreateBatchOrganizationAuthorizationUrlRequest {
8614
+ /**
8615
+ * 执行本接口操作的员工信息。
8616
+ 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
8617
+ */
8618
+ Operator: UserInfo;
8619
+ /**
8620
+ * 组织机构超管姓名。 在注册流程中,必须是超管本人进行操作。
8621
+ 此参数需要跟[创建企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks)中 AdminName 保持一致。
8622
+ */
8623
+ AdminName: string;
8624
+ /**
8625
+ * 组织机构超管手机号。 在注册流程中,必须是超管本人进行操作。此参数需要跟[创建企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks)中 Admin Mobile保持一致。
8626
+ */
8627
+ AdminMobile: string;
8628
+ /**
8629
+ * 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
8630
+ */
8631
+ Agent?: Agent;
8632
+ /**
8633
+ * 企业批量认证链接的子任务 SubTaskId,该 SubTaskId 是通过接口 查询企业批量认证链接 DescribeBatchOrganizationRegistrationUrls 获得。此参数需与超管个人三要素(AdminName,AdminMobile,AdminIdCardNumber)配合使用。若 SubTaskId 不属于传入的超级管理员,将进行筛选。
8634
+ */
8635
+ SubTaskIds?: Array<string>;
8636
+ /**
8637
+ * 组织机构超管证件类型支持以下类型
8638
+ - ID_CARD : 居民身份证 (默认值)
8639
+ - HONGKONG_AND_MACAO : 港澳居民来往内地通行证
8640
+ - HONGKONG_MACAO_AND_TAIWAN : 港澳台居民居住证(格式同居民身份证)
8641
+ 此参数需要跟[创建企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks)中 AdminIdCardType保持一致。
8642
+ */
8643
+ AdminIdCardType?: string;
8644
+ /**
8645
+ * 组织机构超管证件号。 在注册流程中,必须是超管本人进行操作。此参数需要跟[创建企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks)中 AdminIdCardNumber保持一致。
8646
+ */
8647
+ AdminIdCardNumber?: string;
8648
+ /**
8649
+ * 要跳转的链接类型<ul><li> **HTTP**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)</li><li>**HTTP_SHORT_URL**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链</li><li>**APP**: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型</li><li>**QR_CODE**: 跳转电子签小程序的http_url的二维码形式, 可以在页面展示适合此类型</li></ul>
8650
+ */
8651
+ Endpoint?: string;
8652
+ }
8572
8653
  /**
8573
8654
  * CreateBatchCancelFlowUrl请求参数结构体
8574
8655
  */
@@ -8762,35 +8843,33 @@ export interface DescribeExtendedServiceAuthInfosResponse {
8762
8843
  RequestId?: string;
8763
8844
  }
8764
8845
  /**
8765
- * DescribeIntegrationDepartments请求参数结构体
8846
+ * CreateBatchOrganizationAuthorizationUrl返回参数结构体
8766
8847
  */
8767
- export interface DescribeIntegrationDepartmentsRequest {
8848
+ export interface CreateBatchOrganizationAuthorizationUrlResponse {
8768
8849
  /**
8769
- * 执行本接口操作的员工信息。
8770
- 注: `在调用此接口时,请确保指定的员工已获得组织架构管理权限,并具备接口传入的相应资源的数据权限。`
8771
- */
8772
- Operator: UserInfo;
8773
- /**
8774
- * 查询类型,支持以下类型:
8775
- <ul><li>**0**:查询单个部门节点列表,不包含子节点部门信息</li>
8776
- <li>**1**:查询单个部门节点级一级子节点部门信息列表</li></ul>
8850
+ * 批量企业注册链接-单链接包含多条认证流,根据Endpoint的不同设置,返回不同的链接地址。失效时间:7天
8851
+ 跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表
8852
+ <table> <thead> <tr> <th>Endpoint</th> <th>示例</th> <th>链接有效期限</th> </tr> </thead> <tbody>
8853
+ <tr> <td>HTTP</td> <td>https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?to=AUTHORIZATION_ENTERPRISE_FOR_BATCH_SUBMIT&shortKey=yDCHHURDfBxSB2rj2Bfa</td> <td>7天</td> </tr>
8854
+ <tr> <td>HTTP_SHORT_URL</td> <td>https://test.essurl.cn/8gDKUBAWK8</td> <td>7天</td> </tr>
8855
+ <tr> <td>APP</td> <td>pages/guide/index?to=AUTHORIZATION_ENTERPRISE_FOR_BATCH_SUBMIT&shortKey=yDCHpURDfR6iEkdpsDde</td> <td>7天</td> </tr><tr> <td>QR_CODE</td> <td>https://dyn.test.ess.tencent.cn/imgs/qrcode_urls/authorization_enterprise_for_batch_submit/yDCHHUUckpbdauq9UEjnoFDCCumAMmv1.png</td> <td>7天</td> </tr> </tbody> </table>
8856
+ 注:
8857
+ `1.创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义`
8858
+
8777
8859
  */
8778
- QueryType: number;
8860
+ AuthUrl?: string;
8779
8861
  /**
8780
- * 代理企业和员工的信息。
8781
- 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
8862
+ * 认证流认证失败信息
8782
8863
  */
8783
- Agent?: Agent;
8864
+ ErrorMessages?: Array<string>;
8784
8865
  /**
8785
- * 查询的部门ID。
8786
- 注:`如果同时指定了DeptId与DeptOpenId参数,系统将优先使用DeptId参数进行查询。当二者都未指定时,系统将返回根节点部门数据。`
8866
+ * 链接过期时间,为 7 天后,创建时间,格式为Unix标准时间戳(秒)。
8787
8867
  */
8788
- DeptId?: string;
8868
+ ExpireTime?: number;
8789
8869
  /**
8790
- * 查询的客户系统部门ID。
8791
- 注:`如果同时指定了DeptId与DeptOpenId参数,系统将优先使用DeptId参数进行查询。当二者都未指定时,系统将返回根节点部门数据。`
8870
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
8792
8871
  */
8793
- DeptOpenId?: string;
8872
+ RequestId?: string;
8794
8873
  }
8795
8874
  /**
8796
8875
  * DescribeFlowInfo返回参数结构体
@@ -2576,6 +2576,13 @@ export interface Recipient {
2576
2576
  <li> 6 :设备面容识别</li></ul>
2577
2577
  */
2578
2578
  ApproverSignTypes?: Array<number | bigint>;
2579
+ /**
2580
+ * 签署方是否可以转他人处理
2581
+
2582
+ <ul><li> **false** : ( 默认)可以转他人处理</li>
2583
+ <li> **true** :不可以转他人处理</li></ul>
2584
+ */
2585
+ NoTransfer?: boolean;
2579
2586
  }
2580
2587
  /**
2581
2588
  * DescribeTemplates返回参数结构体
@@ -35,15 +35,32 @@ export interface ClientNodeAttribute {
35
35
  /**
36
36
  * 客户端节点IP
37
37
  */
38
- ClientNodeIp: string;
38
+ ClientNodeIp?: string;
39
39
  /**
40
40
  * 客户端节点服务状态, Active(运行中), Adding(添加中), Destroying(销毁中), Down(已停止)
41
41
  */
42
- Status: string;
42
+ Status?: string;
43
43
  /**
44
44
  * 客户端节点类型,extend(扩展节点),manager(管理节点)
45
45
  */
46
- ClientType: string;
46
+ ClientType?: string;
47
+ /**
48
+ * 节点所属vpcid
49
+ */
50
+ VpcId?: string;
51
+ /**
52
+ * 节点所属子网id
53
+ */
54
+ SubnetId?: string;
55
+ /**
56
+ * cvmId
57
+ */
58
+ InstanceId?: string;
59
+ /**
60
+ * 自定义挂载点
61
+ 注意:此字段可能返回 null,表示取不到有效值。
62
+ */
63
+ MountPoint?: string;
47
64
  }
48
65
  /**
49
66
  * ModifyDataRepositoryBandwidth返回参数结构体
@@ -481,6 +498,10 @@ export interface LinuxNodeAttribute {
481
498
  * linux客户端节点地址
482
499
  */
483
500
  LinuxClientNodeIp?: string;
501
+ /**
502
+ * 自定义挂载点
503
+ */
504
+ MountPoint?: string;
484
505
  }
485
506
  /**
486
507
  * BatchDeleteClientNodes请求参数结构体
@@ -94,6 +94,10 @@ export interface ChatCompletionsRequest {
94
94
  3. 未传值时默认开关关闭(false)。
95
95
  */
96
96
  Citation?: boolean;
97
+ /**
98
+ * 是否开启极速版搜索,默认false,不开启;在开启且命中搜索时,会启用极速版搜索,流式输出首字返回更快。
99
+ */
100
+ EnableSpeedSearch?: boolean;
97
101
  }
98
102
  /**
99
103
  * logo参数
@@ -275,6 +275,10 @@ export interface DescribeCNAMERequest {
275
275
  * 服务节点 ID(从查询域名可绑定服务节点接口DescribeDomainRegion中获取)
276
276
  */
277
277
  ClusterId: string;
278
+ /**
279
+ * 域名类型,0:拉流域名 1:推流域名
280
+ */
281
+ DomainType?: number;
278
282
  }
279
283
  /**
280
284
  * 获取云录像下载URL返回的数据
@@ -2388,6 +2392,11 @@ export interface DescribeDomainData {
2388
2392
  注意:此字段可能返回 null,表示取不到有效值。
2389
2393
  */
2390
2394
  CertId?: string;
2395
+ /**
2396
+ * 域名类型 0:拉流域名 1:推流域名
2397
+ 注意:此字段可能返回 null,表示取不到有效值。
2398
+ */
2399
+ DomainType?: number;
2391
2400
  }
2392
2401
  /**
2393
2402
  * ListRecordBackupTemplates返回参数结构体
@@ -2763,6 +2772,16 @@ export interface DescribeDeviceData {
2763
2772
  注意:此字段可能返回 null,表示取不到有效值。
2764
2773
  */
2765
2774
  SubscribeSwitch?: number;
2775
+ /**
2776
+ * RTMP推流地址自定义appName
2777
+ 注意:此字段可能返回 null,表示取不到有效值。
2778
+ */
2779
+ AppName?: string;
2780
+ /**
2781
+ * RTMP推流地址自定义streamName
2782
+ 注意:此字段可能返回 null,表示取不到有效值。
2783
+ */
2784
+ StreamName?: string;
2766
2785
  }
2767
2786
  /**
2768
2787
  * AddUserDevice请求参数结构体
@@ -2824,6 +2843,14 @@ export interface AddUserDeviceRequest {
2824
2843
  * 设备 SN,仅IVCP 协议设备需要
2825
2844
  */
2826
2845
  SNCode?: string;
2846
+ /**
2847
+ * RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字组合限制32个字符内)
2848
+ */
2849
+ AppName?: string;
2850
+ /**
2851
+ * RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字组合限制32个字符内)
2852
+ */
2853
+ StreamName?: string;
2827
2854
  }
2828
2855
  /**
2829
2856
  * ListRecordBackupPlanDevices返回参数结构体
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DeleteL3ConnResponse, GetDeviceResponse, GetMultiFlowStatisticResponse, UpdateL3ConnResponse, UpdateHardwareResponse, UpdateL3SwitchRequest, DescribeQosResponse, AddL3ConnRequest, GetFlowPackagesRequest, SetNotifyUrlResponse, UpdateL3CidrResponse, ModifyPackageRenewFlagRequest, GetFlowPackagesResponse, DeleteL3ConnRequest, GetVendorHardwareResponse, AddGroupRequest, GetGroupListRequest, GetGroupDetailRequest, GroupDeleteDeviceResponse, GroupAddDeviceRequest, GetStatisticDataResponse, GetPublicKeyRequest, GetFlowStatisticByGroupResponse, GetNetMonitorResponse, DeleteQosRequest, GetFlowStatisticByRegionRequest, GetFlowAlarmInfoRequest, GetVendorHardwareRequest, CreateEncryptedKeyRequest, DeleteDeviceRequest, DeleteGroupRequest, CreateEncryptedKeyResponse, UpdateL3SwitchResponse, GetL3ConnListResponse, CreateQosRequest, ModifyPackageRenewFlagResponse, DeleteQosResponse, GetDeviceRequest, ActivateHardwareResponse, GetFlowStatisticByGroupRequest, GetDevicesResponse, DescribeQosRequest, AddL3ConnResponse, GetDevicesRequest, SetNotifyUrlRequest, GetDevicePayModeRequest, CreateQosResponse, GetHardwareListRequest, GroupDeleteDeviceRequest, GetFlowStatisticByRegionResponse, ActivateHardwareRequest, GetMultiFlowStatisticRequest, GetFlowAlarmInfoResponse, OrderFlowPackageRequest, GetGroupDetailResponse, UpdateGroupResponse, GetL3ConnListRequest, GetHardwareListResponse, AddDeviceRequest, UpdateGroupRequest, GetFlowStatisticResponse, UpdateHardwareRequest, GetNetMonitorRequest, GetGroupListResponse, OrderFlowPackageResponse, UpdateDeviceResponse, GroupAddDeviceResponse, GetStatisticDataRequest, UpdateDeviceRequest, DeleteGroupResponse, GetPublicKeyResponse, AddHardwareResponse, GetFlowStatisticRequest, AddDeviceResponse, GetDevicePayModeResponse, UpdateL3ConnRequest, DeleteDeviceResponse, AddHardwareRequest, UpdateL3CidrRequest, AddGroupResponse } from "./mna_models";
3
+ import { DeleteL3ConnResponse, GetDeviceResponse, GetMultiFlowStatisticResponse, UpdateL3ConnResponse, UpdateHardwareResponse, UpdateL3SwitchRequest, DescribeQosResponse, AddL3ConnRequest, OrderPerLicenseResponse, GetFlowPackagesRequest, SetNotifyUrlResponse, UpdateL3CidrResponse, ModifyPackageRenewFlagRequest, GetFlowPackagesResponse, DeleteL3ConnRequest, GetVendorHardwareResponse, AddGroupRequest, GetGroupListRequest, GetGroupDetailRequest, GroupDeleteDeviceResponse, GroupAddDeviceRequest, GetStatisticDataResponse, GetPublicKeyRequest, GetFlowStatisticByGroupResponse, GetNetMonitorResponse, DeleteQosRequest, GetFlowStatisticByRegionRequest, GetFlowAlarmInfoRequest, GetVendorHardwareRequest, CreateEncryptedKeyRequest, DeleteDeviceRequest, DeleteGroupRequest, CreateEncryptedKeyResponse, UpdateL3SwitchResponse, GetL3ConnListResponse, CreateQosRequest, ModifyPackageRenewFlagResponse, DeleteQosResponse, GetDeviceRequest, ActivateHardwareResponse, GetFlowStatisticByGroupRequest, GetDevicesResponse, DescribeQosRequest, AddL3ConnResponse, GetDevicesRequest, SetNotifyUrlRequest, GetDevicePayModeRequest, CreateQosResponse, GetHardwareListRequest, GroupDeleteDeviceRequest, GetFlowStatisticByRegionResponse, ActivateHardwareRequest, GetMultiFlowStatisticRequest, GetFlowAlarmInfoResponse, OrderFlowPackageRequest, GetGroupDetailResponse, UpdateGroupResponse, GetL3ConnListRequest, GetHardwareListResponse, AddDeviceRequest, OrderPerLicenseRequest, UpdateGroupRequest, GetFlowStatisticResponse, UpdateHardwareRequest, GetNetMonitorRequest, GetGroupListResponse, OrderFlowPackageResponse, UpdateDeviceResponse, GroupAddDeviceResponse, GetStatisticDataRequest, UpdateDeviceRequest, DeleteGroupResponse, GetPublicKeyResponse, AddHardwareResponse, GetFlowStatisticRequest, AddDeviceResponse, GetDevicePayModeResponse, UpdateL3ConnRequest, DeleteDeviceResponse, AddHardwareRequest, UpdateL3CidrRequest, AddGroupResponse } from "./mna_models";
4
4
  /**
5
5
  * mna client
6
6
  * @class
@@ -83,6 +83,10 @@ export declare class Client extends AbstractClient {
83
83
  * 更新设备信息
84
84
  */
85
85
  UpdateDevice(req: UpdateDeviceRequest, cb?: (error: string, rep: UpdateDeviceResponse) => void): Promise<UpdateDeviceResponse>;
86
+ /**
87
+ * 购买一次性授权License
88
+ */
89
+ OrderPerLicense(req: OrderPerLicenseRequest, cb?: (error: string, rep: OrderPerLicenseResponse) => void): Promise<OrderPerLicenseResponse>;
86
90
  /**
87
91
  * 获取单设备的实时流量统计指标
88
92
  */
@@ -141,6 +141,12 @@ class Client extends abstract_client_1.AbstractClient {
141
141
  async UpdateDevice(req, cb) {
142
142
  return this.request("UpdateDevice", req, cb);
143
143
  }
144
+ /**
145
+ * 购买一次性授权License
146
+ */
147
+ async OrderPerLicense(req, cb) {
148
+ return this.request("OrderPerLicense", req, cb);
149
+ }
144
150
  /**
145
151
  * 获取单设备的实时流量统计指标
146
152
  */
@@ -159,6 +159,19 @@ export interface AddL3ConnRequest {
159
159
  */
160
160
  Description?: string;
161
161
  }
162
+ /**
163
+ * OrderPerLicense返回参数结构体
164
+ */
165
+ export interface OrderPerLicenseResponse {
166
+ /**
167
+ * 一次性授权License的资源ID
168
+ */
169
+ ResourceId?: string;
170
+ /**
171
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
172
+ */
173
+ RequestId?: string;
174
+ }
162
175
  /**
163
176
  * GetFlowPackages请求参数结构体
164
177
  */
@@ -1683,6 +1696,33 @@ export interface AddDeviceRequest {
1683
1696
  */
1684
1697
  FlowTrunc?: number;
1685
1698
  }
1699
+ /**
1700
+ * OrderPerLicense请求参数结构体
1701
+ */
1702
+ export interface OrderPerLicenseRequest {
1703
+ /**
1704
+ * 购买永久授权License的设备ID,如果是厂商未激活设备采用HardwareId
1705
+ */
1706
+ DeviceId: string;
1707
+ /**
1708
+ * 设备类型,0: SDK,1: CPE,作为用户创建或激活设备时传0,作为厂商创建待激活设备时传1
1709
+ */
1710
+ Type: number;
1711
+ /**
1712
+ * 购买失败后是否回滚(删除)设备,默认true,如果设备绑定了生效中的流量包则不能回滚。
1713
+ */
1714
+ RollBack?: boolean;
1715
+ /**
1716
+ * 是否自动选择代金券,默认false。
1717
+ 有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
1718
+ */
1719
+ AutoVoucher?: boolean;
1720
+ /**
1721
+ * 指定代金券ID。自动选择代金券时此参数无效。目前只允许传入一张代金券。
1722
+ 注:若指定的代金券不符合订单抵扣条件,则正常支付,不扣券
1723
+ */
1724
+ VoucherIds?: Array<string>;
1725
+ }
1686
1726
  /**
1687
1727
  * UpdateGroup请求参数结构体
1688
1728
  */
@@ -1201,8 +1201,7 @@ export interface DescribeDDoSAttackEventResponse {
1201
1201
  */
1202
1202
  export interface DescribePrefetchTasksRequest {
1203
1203
  /**
1204
- * 站点ID
1205
- 必填参数。
1204
+ * 站点ID。该参数必填。
1206
1205
  */
1207
1206
  ZoneId?: string;
1208
1207
  /**
@@ -1222,7 +1221,7 @@ export interface DescribePrefetchTasksRequest {
1222
1221
  */
1223
1222
  Limit?: number;
1224
1223
  /**
1225
- * 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>job-id<br>   按照【<strong>任务ID</strong>】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。<br>   类型:String<br>   必选:否。<br>   模糊查询:不支持。</li><li>target<br>   按照【<strong>目标资源信息</strong>】进行过滤。target形如:http://www.qq.com/1.txt,暂不支持多值。<br>   类型:String<br>   必选:否。<br>   模糊查询:不支持。</li><li>domains<br>   按照【<strong>域名</strong>】进行过滤。domains形如:www.qq.com。<br>   类型:String<br>   必选:否。<br>   模糊查询:不支持。</li><li>statuses<br>   按照【<strong>任务状态</strong>】进行过滤。<br>   必选:否<br>   模糊查询:不支持。<br>   可选项:<br>   processing:处理中<br>   success:成功<br>   failed:失败<br>   timeout:超时</li>
1224
+ * 过滤条件,Filters.Values 的上限为 20。详细的过滤条件如下:<li>job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;</li><li>target:按照目标资源信息进行过滤。target 形如:http://www.qq.com/1.txt,暂不支持多值,不支持模糊查询;</li><li>domains:按照域名行过滤。domains 形如:www.qq.com,不支持模糊查询;</li><li>statuses:按照任务状态进行过滤,不支持模糊查询。可选项:<br>   processing:处理中<br>   success:成功<br>   failed:失败<br>   timeout:超时<br>   invalid:无效。即源站响应非 2xx 状态码,请检查源站服务。</li>
1226
1225
  */
1227
1226
  Filters?: Array<AdvancedFilter>;
1228
1227
  }
@@ -27,6 +27,16 @@ export interface AgentConfig {
27
27
  注意:此字段可能返回 null,表示取不到有效值。
28
28
  */
29
29
  WelcomeMessage?: string;
30
+ /**
31
+ * 智能打断模式,默认为0,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断
32
+ 注意:此字段可能返回 null,表示取不到有效值。
33
+ */
34
+ InterruptMode?: number;
35
+ /**
36
+ * InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。
37
+ 注意:此字段可能返回 null,表示取不到有效值。
38
+ */
39
+ InterruptSpeechDuration?: number;
30
40
  }
31
41
  /**
32
42
  * CreatePicture请求参数结构体
@@ -568,6 +568,16 @@ it("ess.v20201111.CreateFlowBlockchainEvidenceUrl", async function () {
568
568
  }
569
569
  })
570
570
 
571
+ it("ess.v20201111.CreateBatchOrganizationRegistrationTasks", async function () {
572
+ try {
573
+ const data = await client.CreateBatchOrganizationRegistrationTasks({})
574
+ expect(data).to.be.ok
575
+ } catch(error) {
576
+ expect(error.requestId).to.be.ok
577
+ expect(error.code).to.be.ok
578
+ }
579
+ })
580
+
571
581
  it("ess.v20201111.DescribeUserVerifyStatus", async function () {
572
582
  try {
573
583
  const data = await client.DescribeUserVerifyStatus({})
@@ -588,9 +598,9 @@ it("ess.v20201111.ModifyIntegrationRole", async function () {
588
598
  }
589
599
  })
590
600
 
591
- it("ess.v20201111.CreateBatchOrganizationRegistrationTasks", async function () {
601
+ it("ess.v20201111.CreateBatchOrganizationAuthorizationUrl", async function () {
592
602
  try {
593
- const data = await client.CreateBatchOrganizationRegistrationTasks({})
603
+ const data = await client.CreateBatchOrganizationAuthorizationUrl({})
594
604
  expect(data).to.be.ok
595
605
  } catch(error) {
596
606
  expect(error.requestId).to.be.ok
@@ -208,6 +208,16 @@ it("mna.v20210119.UpdateDevice", async function () {
208
208
  }
209
209
  })
210
210
 
211
+ it("mna.v20210119.OrderPerLicense", async function () {
212
+ try {
213
+ const data = await client.OrderPerLicense({})
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("mna.v20210119.GetNetMonitor", async function () {
212
222
  try {
213
223
  const data = await client.GetNetMonitor({})