tencentcloud-sdk-nodejs 4.1.316 → 4.1.317
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/es/common/sdk_version.js +1 -1
- package/es/services/apm/v20210622/apm_client.js +3 -0
- package/es/services/index.js +1 -0
- package/es/services/live/v20180801/live_client.js +37 -10
- package/es/services/tcb/v20180608/tcb_client.js +9 -0
- package/es/services/workbuddyenterprise/index.js +4 -0
- package/es/services/workbuddyenterprise/v20260709/index.js +6 -0
- package/es/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.js +81 -0
- package/es/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.js +1 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +13 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +4 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +22 -5
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +217 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +12 -0
- package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +27 -29
- package/tencentcloud/services/fwm/v20250611/fwm_models.d.ts +6 -6
- package/tencentcloud/services/hai/v20230812/hai_client.d.ts +1 -1
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +18 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +63 -21
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +63 -21
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +3 -1
- package/tencentcloud/services/live/v20180801/live_client.d.ts +47 -11
- package/tencentcloud/services/live/v20180801/live_client.js +69 -15
- package/tencentcloud/services/live/v20180801/live_models.d.ts +547 -177
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +6 -2
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +13 -1
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +18 -0
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +131 -0
- package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +8 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +125 -58
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +15 -16
- package/tencentcloud/services/workbuddyenterprise/index.d.ts +6 -0
- package/tencentcloud/services/workbuddyenterprise/index.js +7 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/index.d.ts +6 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/index.js +10 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.d.ts +110 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.js +181 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.d.ts +2100 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.js +18 -0
|
@@ -3719,41 +3719,21 @@ export interface WebSecurityTemplates {
|
|
|
3719
3719
|
Policy?: SecurityPolicy;
|
|
3720
3720
|
}
|
|
3721
3721
|
/**
|
|
3722
|
-
*
|
|
3722
|
+
* ApplyFreeCertificate返回参数结构体
|
|
3723
3723
|
*/
|
|
3724
|
-
export interface
|
|
3725
|
-
/**
|
|
3726
|
-
* 触发规则后的处置方式,取值有:
|
|
3727
|
-
<li>drop:拦截;</li>
|
|
3728
|
-
<li>trans:放行;</li>
|
|
3729
|
-
<li>alg:Javascript挑战;</li>
|
|
3730
|
-
<li>monitor:观察。</li>
|
|
3731
|
-
*/
|
|
3732
|
-
Action: string;
|
|
3733
|
-
/**
|
|
3734
|
-
* 本规则的ID。仅出参使用。
|
|
3735
|
-
*/
|
|
3736
|
-
RuleID?: number;
|
|
3737
|
-
/**
|
|
3738
|
-
* 放行的规则ID。默认所有规则不配置放行。
|
|
3739
|
-
*/
|
|
3740
|
-
TransManagedIds?: Array<number | bigint>;
|
|
3741
|
-
/**
|
|
3742
|
-
* JS挑战的规则ID。默认所有规则不配置JS挑战。
|
|
3743
|
-
*/
|
|
3744
|
-
AlgManagedIds?: Array<number | bigint>;
|
|
3724
|
+
export interface ApplyFreeCertificateResponse {
|
|
3745
3725
|
/**
|
|
3746
|
-
*
|
|
3726
|
+
* 当 VerificationMethod 为 dns_challenge 时,域名申请免费证书的相关验证信息。
|
|
3747
3727
|
*/
|
|
3748
|
-
|
|
3728
|
+
DnsVerification?: DnsVerification;
|
|
3749
3729
|
/**
|
|
3750
|
-
*
|
|
3730
|
+
* 当 VerificationMethod 为 http_challenge 时,域名申请免费证书的相关验证信息。
|
|
3751
3731
|
*/
|
|
3752
|
-
|
|
3732
|
+
FileVerification?: FileVerification;
|
|
3753
3733
|
/**
|
|
3754
|
-
*
|
|
3734
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3755
3735
|
*/
|
|
3756
|
-
|
|
3736
|
+
RequestId?: string;
|
|
3757
3737
|
}
|
|
3758
3738
|
/**
|
|
3759
3739
|
* 时序类型详细数据
|
|
@@ -3829,21 +3809,41 @@ export interface RangeOriginPullParameters {
|
|
|
3829
3809
|
Switch?: string;
|
|
3830
3810
|
}
|
|
3831
3811
|
/**
|
|
3832
|
-
*
|
|
3812
|
+
* Bot 规则,下列规则ID可参考接口 DescribeBotManagedRules返回的ID信息
|
|
3833
3813
|
*/
|
|
3834
|
-
export interface
|
|
3814
|
+
export interface BotManagedRule {
|
|
3835
3815
|
/**
|
|
3836
|
-
*
|
|
3816
|
+
* 触发规则后的处置方式,取值有:
|
|
3817
|
+
<li>drop:拦截;</li>
|
|
3818
|
+
<li>trans:放行;</li>
|
|
3819
|
+
<li>alg:Javascript挑战;</li>
|
|
3820
|
+
<li>monitor:观察。</li>
|
|
3837
3821
|
*/
|
|
3838
|
-
|
|
3822
|
+
Action: string;
|
|
3839
3823
|
/**
|
|
3840
|
-
*
|
|
3824
|
+
* 本规则的ID。仅出参使用。
|
|
3841
3825
|
*/
|
|
3842
|
-
|
|
3826
|
+
RuleID?: number;
|
|
3843
3827
|
/**
|
|
3844
|
-
*
|
|
3828
|
+
* 放行的规则ID。默认所有规则不配置放行。
|
|
3845
3829
|
*/
|
|
3846
|
-
|
|
3830
|
+
TransManagedIds?: Array<number | bigint>;
|
|
3831
|
+
/**
|
|
3832
|
+
* JS挑战的规则ID。默认所有规则不配置JS挑战。
|
|
3833
|
+
*/
|
|
3834
|
+
AlgManagedIds?: Array<number | bigint>;
|
|
3835
|
+
/**
|
|
3836
|
+
* 数字验证码的规则ID。默认所有规则不配置数字验证码。
|
|
3837
|
+
*/
|
|
3838
|
+
CapManagedIds?: Array<number | bigint>;
|
|
3839
|
+
/**
|
|
3840
|
+
* 观察的规则ID。默认所有规则不配置观察。
|
|
3841
|
+
*/
|
|
3842
|
+
MonManagedIds?: Array<number | bigint>;
|
|
3843
|
+
/**
|
|
3844
|
+
* 拦截的规则ID。默认所有规则不配置拦截。
|
|
3845
|
+
*/
|
|
3846
|
+
DropManagedIds?: Array<number | bigint>;
|
|
3847
3847
|
}
|
|
3848
3848
|
/**
|
|
3849
3849
|
* 当前生效的回源 IP 网段。
|
|
@@ -8175,23 +8175,23 @@ export interface CreatePlanForZoneRequest {
|
|
|
8175
8175
|
*/
|
|
8176
8176
|
export interface DeviceProfile {
|
|
8177
8177
|
/**
|
|
8178
|
-
*
|
|
8178
|
+
* <p>客户端设备类型。取值有:<li>iOS;</li><li>Android;</li><li>WebView;</li><li>WeChatMiniProgram。</li></p>
|
|
8179
8179
|
*/
|
|
8180
8180
|
ClientType: string;
|
|
8181
8181
|
/**
|
|
8182
|
-
*
|
|
8182
|
+
* <p>高风险请求的最低风险分数。分数大于等于该值时,判定为高风险。</p><p>取值范围:[2, 99]</p><p>默认值:50</p>
|
|
8183
8183
|
*/
|
|
8184
8184
|
HighRiskMinScore?: number;
|
|
8185
8185
|
/**
|
|
8186
|
-
*
|
|
8186
|
+
* <p>高风险请求的处置方式。SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Redirect:重定向;</li><li>Challenge:挑战。</li>默认值为 Monitor。</p>
|
|
8187
8187
|
*/
|
|
8188
8188
|
HighRiskRequestAction?: SecurityAction;
|
|
8189
8189
|
/**
|
|
8190
|
-
*
|
|
8190
|
+
* <p>中风险请求的最低风险分数。分数大于等于该值且小于 HighRiskMinScore 时,判定为中风险;低于该值时,判定为低风险。</p><p>取值范围:[1, 98]</p><p>默认值:15</p>
|
|
8191
8191
|
*/
|
|
8192
8192
|
MediumRiskMinScore?: number;
|
|
8193
8193
|
/**
|
|
8194
|
-
*
|
|
8194
|
+
* <p>中风险请求的处置方式。SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Redirect:重定向;</li><li>Challenge:挑战。</li>默认值为 Monitor。</p>
|
|
8195
8195
|
*/
|
|
8196
8196
|
MediumRiskRequestAction?: SecurityAction;
|
|
8197
8197
|
}
|
|
@@ -8877,6 +8877,23 @@ export interface DeleteJustInTimeTranscodeTemplatesResponse {
|
|
|
8877
8877
|
*/
|
|
8878
8878
|
RequestId?: string;
|
|
8879
8879
|
}
|
|
8880
|
+
/**
|
|
8881
|
+
* 回源请求携带安全头部配置,配置生效后将携带对应 keyname 的请求头部回源。
|
|
8882
|
+
*/
|
|
8883
|
+
export interface SecurityHeadersToOrigin {
|
|
8884
|
+
/**
|
|
8885
|
+
* <p>Bot 标识信息回源头部配置。</p><p>枚举值:</p><ul><li>EO-Bot-Botnet-ID: 基于 Bot 请求特征生成的识别标识。</li></ul>
|
|
8886
|
+
*/
|
|
8887
|
+
BotIdentificationHeaders?: Array<string>;
|
|
8888
|
+
/**
|
|
8889
|
+
* <p>高级 Bot 管理模块识别结果回源头部配置。</p><p>枚举值:</p><ul><li>EO-Bot-Client-Attestation: 高级 Bot 管理 - 客户端认证模块认证票据校验结果;</li><li>EO-Bot-Client-Risk: 高级 Bot 管理 - 客户端认证模块设备风险评估结果;</li><li>EO-Bot-Intelligence: 高级 Bot 管理 - Bot 智能分析模块识别结果;</li><li>EO-Bot-IP-Reputation: 高级 Bot 管理 - 客户端画像分析识别结果;</li><li>EO-Bot-Known-Tool: 高级 Bot 管理 - 基础特征管理 - UA 特征规则模块识别结果;</li><li>EO-Bot-Search-Engine: 高级 Bot 管理 - 基础特征管理 - 搜索引擎规则模块识别结果;</li><li>EO-Bot-Source-IDC: 高级 Bot 管理 - 基础特征管理 - IDC 规则模块识别结果;</li><li>EO-Bot-User-Risk: 高级 Bot 管理 - 客户端认证模块账号风险评估结果。</li></ul>
|
|
8890
|
+
*/
|
|
8891
|
+
BotManagementHeaders?: Array<string>;
|
|
8892
|
+
/**
|
|
8893
|
+
* <p>客户端指纹信息回源头部配置。</p><p>枚举值:</p><ul><li>EO-Bot-Fingerprint: 客户端指纹信息。</li></ul>
|
|
8894
|
+
*/
|
|
8895
|
+
ClientFingerprintHeaders?: Array<string>;
|
|
8896
|
+
}
|
|
8880
8897
|
/**
|
|
8881
8898
|
* DeleteRules返回参数结构体
|
|
8882
8899
|
*/
|
|
@@ -9677,37 +9694,41 @@ export interface DescribeWebSecurityTemplateRequest {
|
|
|
9677
9694
|
*/
|
|
9678
9695
|
export interface ClientAttestationRule {
|
|
9679
9696
|
/**
|
|
9680
|
-
*
|
|
9697
|
+
* <p>客户端认证规则的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li> <b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li> <b>删除</b>已有规则:BotManagement 参数中,ClientAttestationRule 列表中未包含的已有规则将被删除。</li></p>
|
|
9681
9698
|
*/
|
|
9682
9699
|
Id?: string;
|
|
9683
9700
|
/**
|
|
9684
|
-
*
|
|
9701
|
+
* <p>客户端认证规则的名称。</p>
|
|
9685
9702
|
*/
|
|
9686
9703
|
Name?: string;
|
|
9687
9704
|
/**
|
|
9688
|
-
*
|
|
9705
|
+
* <p>规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li></p>
|
|
9689
9706
|
*/
|
|
9690
9707
|
Enabled?: string;
|
|
9691
9708
|
/**
|
|
9692
|
-
*
|
|
9709
|
+
* <p>规则的优先级,数值越小越优先执行,范围是 0 ~ 100,默认为 0。</p>
|
|
9693
9710
|
*/
|
|
9694
9711
|
Priority?: number;
|
|
9695
9712
|
/**
|
|
9696
|
-
*
|
|
9713
|
+
* <p>规则的具体内容,需符合表达式语法,详细规范参见产品文档。</p>
|
|
9697
9714
|
*/
|
|
9698
9715
|
Condition?: string;
|
|
9699
9716
|
/**
|
|
9700
|
-
*
|
|
9717
|
+
* <p>客户端认证选项 ID。</p>
|
|
9701
9718
|
*/
|
|
9702
9719
|
AttesterId?: string;
|
|
9703
9720
|
/**
|
|
9704
|
-
*
|
|
9721
|
+
* <p>客户端认证未通过的处置方式。SecurityAction.Name 取值范围如下:</p><ul><li>Allow:放行,其中 AllowActionParameters 支持 MinDelayTime 和 MaxDelayTime 配置;</li><li>Deny:拦截,其中 DenyActionParameters 中支持 BlockIp、ReturnCustomPage 和 Stall 配置;</li><li>Monitor:观察;</li><li>Challenge:挑战,其中 ChallengeActionParameters.ChallengeOption 支持 JSChallenge、ManagedChallenge、InterstitialChallenge 和 InlineChallenge;</li><li>Redirect:重定向至URL。</li></ul>
|
|
9722
|
+
*/
|
|
9723
|
+
InvalidAttestationAction?: SecurityAction;
|
|
9724
|
+
/**
|
|
9725
|
+
* <p>客户端设备配置。若 ClientAttestationRules 参数中,未指定 DeviceProfiles 参数值:保持已有客户端设备配置,不做修改。</p>
|
|
9705
9726
|
*/
|
|
9706
9727
|
DeviceProfiles?: Array<DeviceProfile>;
|
|
9707
9728
|
/**
|
|
9708
|
-
*
|
|
9729
|
+
* <p>账号保护配置。</p>
|
|
9709
9730
|
*/
|
|
9710
|
-
|
|
9731
|
+
AccountProtectionSettings?: AccountProtectionSettings;
|
|
9711
9732
|
}
|
|
9712
9733
|
/**
|
|
9713
9734
|
* 实时日志投递到自定义 HTTP(S) 接口的配置信息。
|
|
@@ -9740,6 +9761,27 @@ export interface CustomEndpoint {
|
|
|
9740
9761
|
*/
|
|
9741
9762
|
Headers?: Array<Header>;
|
|
9742
9763
|
}
|
|
9764
|
+
/**
|
|
9765
|
+
* 账号保护配置。
|
|
9766
|
+
*/
|
|
9767
|
+
export interface AccountProtectionSettings {
|
|
9768
|
+
/**
|
|
9769
|
+
* <p>账号保护功能开关。</p><p>枚举值:</p><ul><li>on: 开启;</li><li>off: 关闭。</li></ul><p>默认值:off。</p>
|
|
9770
|
+
*/
|
|
9771
|
+
Enabled?: string;
|
|
9772
|
+
/**
|
|
9773
|
+
* <p>请求目的。用于标识请求所属的业务操作场景。</p> <p>枚举值:</p> <ul> <li>ACCOUNT.CHANGE_PASSWORD:在已知原密码的情况下修改密码的请求;</li> <li>ACCOUNT.CHANGE_SECURITY_QUESTION:修改账号安全问题的请求;</li> <li>ACCOUNT.CHECK_EXISTENCE:校验账号是否已存在的请求,常见于登录或注册页面输入邮箱、手机号后的预校验;</li> <li>ACCOUNT.LOGIN:登录账号的请求;</li> <li>ACCOUNT.REGISTER:注册新账号的请求;</li> <li>ACCOUNT.RESET_PASSWORD:重置密码的请求,通常通过邮箱或短信验证身份后设置新密码;</li> <li>ACCOUNT.UPDATE:修改账号关联信息的请求,例如手机号、邮箱、支付卡号、收货地址等;</li> <li>ASSET.CHECK_GIFTCARD_BALANCE:通过卡号等信息查询礼品卡余额的请求;</li> <li>ASSET.CHECK_LOYALTY_POINTS:查询账号积分余额的请求;</li> <li>ASSET.REDEEM_CODE:使用兑换码兑换权益的请求;</li> <li>BROWSE.QUERY:站内搜索商品或服务的请求;</li> <li>PAYMENT.ADD_TO_CART:将商品加入购物车的请求;</li> <li>PAYMENT.GET_METHODS:获取账号已绑定支付方式列表的请求;</li> <li>PAYMENT.MAKE_PAYMENT:提交支付、结算或转账的请求。</li> </ul>
|
|
9774
|
+
*/
|
|
9775
|
+
RequestPurpose?: string;
|
|
9776
|
+
/**
|
|
9777
|
+
* <p>用户标识在请求来源中的位置,其中 key 替换为实际的参数名称。</p><p>取值有:</p><ul><li>http.request.cookies["key"]:从 Cookie 中获取名称为 key 的 Cookie 值;</li><li>http.request.headers["key"]:从请求头中获取名称为 key 的头部值;</li><li>http.request.uri.args["key"]:从 URL 查询参数中获取名称为 key 的参数值。</li></ul>
|
|
9778
|
+
*/
|
|
9779
|
+
UserIDSource?: string;
|
|
9780
|
+
/**
|
|
9781
|
+
* <p>用户风险等级配置。</p>
|
|
9782
|
+
*/
|
|
9783
|
+
UserRiskProfile?: UserRiskProfile;
|
|
9784
|
+
}
|
|
9743
9785
|
/**
|
|
9744
9786
|
* ModifyOriginACL返回参数结构体
|
|
9745
9787
|
*/
|
|
@@ -11574,37 +11616,41 @@ export interface BotSessionValidation {
|
|
|
11574
11616
|
*/
|
|
11575
11617
|
export interface SecurityPolicy {
|
|
11576
11618
|
/**
|
|
11577
|
-
*
|
|
11619
|
+
* <p>自定义规则配置。</p>
|
|
11578
11620
|
*/
|
|
11579
11621
|
CustomRules?: CustomRules;
|
|
11580
11622
|
/**
|
|
11581
|
-
*
|
|
11623
|
+
* <p>托管规则配置。</p>
|
|
11582
11624
|
*/
|
|
11583
11625
|
ManagedRules?: ManagedRules;
|
|
11584
11626
|
/**
|
|
11585
|
-
* HTTP DDOS
|
|
11627
|
+
* <p>HTTP DDOS 防护配置。</p>
|
|
11586
11628
|
*/
|
|
11587
11629
|
HttpDDoSProtection?: HttpDDoSProtection;
|
|
11588
11630
|
/**
|
|
11589
|
-
*
|
|
11631
|
+
* <p>速率限制规则配置。</p>
|
|
11590
11632
|
*/
|
|
11591
11633
|
RateLimitingRules?: RateLimitingRules;
|
|
11592
11634
|
/**
|
|
11593
|
-
*
|
|
11635
|
+
* <p>例外规则配置。</p>
|
|
11594
11636
|
*/
|
|
11595
11637
|
ExceptionRules?: ExceptionRules;
|
|
11596
11638
|
/**
|
|
11597
|
-
* Bot
|
|
11639
|
+
* <p>Bot 管理配置。</p>
|
|
11598
11640
|
*/
|
|
11599
11641
|
BotManagement?: BotManagement;
|
|
11600
11642
|
/**
|
|
11601
|
-
*
|
|
11643
|
+
* <p>基础 Bot 管理配置。</p>
|
|
11602
11644
|
*/
|
|
11603
11645
|
BotManagementLite?: BotManagementLite;
|
|
11604
11646
|
/**
|
|
11605
|
-
*
|
|
11647
|
+
* <p>默认拦截动作配置。</p>
|
|
11606
11648
|
*/
|
|
11607
11649
|
DefaultDenySecurityActionParameters?: DefaultDenySecurityActionParameters;
|
|
11650
|
+
/**
|
|
11651
|
+
* <p>回源请求携带安全头部配置,配置生效后将携带对应 keyname 的请求头部回源。</p>
|
|
11652
|
+
*/
|
|
11653
|
+
SecurityHeadersToOrigin?: SecurityHeadersToOrigin;
|
|
11608
11654
|
}
|
|
11609
11655
|
/**
|
|
11610
11656
|
* 站点归属信息
|
|
@@ -15474,6 +15520,27 @@ export interface DDosProtectionConfig {
|
|
|
15474
15520
|
*/
|
|
15475
15521
|
LevelOverseas?: string;
|
|
15476
15522
|
}
|
|
15523
|
+
/**
|
|
15524
|
+
* 用户风险等级配置。风险分数范围为 0~100,分数越高表示风险越高。
|
|
15525
|
+
*/
|
|
15526
|
+
export interface UserRiskProfile {
|
|
15527
|
+
/**
|
|
15528
|
+
* <p>高风险请求的最低风险分数。分数大于等于该值时,判定为高风险。</p><p>取值范围:[2, 99]</p><p>默认值:50</p>
|
|
15529
|
+
*/
|
|
15530
|
+
HighRiskMinScore?: number;
|
|
15531
|
+
/**
|
|
15532
|
+
* <p>高风险请求的处置方式。SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Redirect:重定向;</li><li>Challenge:挑战。</li>默认值:Monitor</p>
|
|
15533
|
+
*/
|
|
15534
|
+
HighRiskRequestAction?: SecurityAction;
|
|
15535
|
+
/**
|
|
15536
|
+
* <p>中风险请求的最低风险分数。分数大于等于该值且小于 HighRiskMinScore 时,判定为中风险;低于该值时,判定为低风险。</p><p>取值范围:[1, 98]</p><p>默认值:15</p>
|
|
15537
|
+
*/
|
|
15538
|
+
MediumRiskMinScore?: number;
|
|
15539
|
+
/**
|
|
15540
|
+
* <p>中风险请求的处置方式。SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Redirect:重定向;</li><li>Challenge:挑战。</li>默认值:Monitor</p>
|
|
15541
|
+
*/
|
|
15542
|
+
MediumRiskRequestAction?: SecurityAction;
|
|
15543
|
+
}
|
|
15477
15544
|
/**
|
|
15478
15545
|
* ModifyFunctionRule请求参数结构体
|
|
15479
15546
|
*/
|
|
@@ -11401,64 +11401,63 @@ export interface AccessLogInfo {
|
|
|
11401
11401
|
*/
|
|
11402
11402
|
export interface ExportInfo {
|
|
11403
11403
|
/**
|
|
11404
|
-
*
|
|
11404
|
+
* <p>日志主题ID</p>
|
|
11405
11405
|
*/
|
|
11406
11406
|
TopicId?: string;
|
|
11407
11407
|
/**
|
|
11408
|
-
*
|
|
11408
|
+
* <p>日志导出任务ID</p>
|
|
11409
11409
|
*/
|
|
11410
11410
|
ExportId?: string;
|
|
11411
11411
|
/**
|
|
11412
|
-
*
|
|
11412
|
+
* <p>日志导出查询语句</p>
|
|
11413
11413
|
*/
|
|
11414
11414
|
Query?: string;
|
|
11415
11415
|
/**
|
|
11416
|
-
*
|
|
11416
|
+
* <p>日志导出文件名</p>
|
|
11417
11417
|
*/
|
|
11418
11418
|
FileName?: string;
|
|
11419
11419
|
/**
|
|
11420
|
-
*
|
|
11420
|
+
* <p>日志文件大小</p><p>单位:字节</p>
|
|
11421
11421
|
*/
|
|
11422
11422
|
FileSize?: number;
|
|
11423
11423
|
/**
|
|
11424
|
-
*
|
|
11424
|
+
* <p>日志导出时间排序</p>
|
|
11425
11425
|
*/
|
|
11426
11426
|
Order?: string;
|
|
11427
11427
|
/**
|
|
11428
|
-
*
|
|
11428
|
+
* <p>日志导出格式</p>
|
|
11429
11429
|
*/
|
|
11430
11430
|
Format?: string;
|
|
11431
11431
|
/**
|
|
11432
|
-
*
|
|
11432
|
+
* <p>日志导出数量</p>
|
|
11433
11433
|
*/
|
|
11434
11434
|
Count?: number;
|
|
11435
11435
|
/**
|
|
11436
|
-
*
|
|
11436
|
+
* <p>日志下载状态。Processing:导出正在进行中,Completed:导出完成,Failed:导出失败,Expired:日志导出已过期(三天有效期), Queuing 排队中</p>
|
|
11437
11437
|
*/
|
|
11438
11438
|
Status?: string;
|
|
11439
11439
|
/**
|
|
11440
|
-
*
|
|
11440
|
+
* <p>日志导出起始时间</p>
|
|
11441
11441
|
*/
|
|
11442
11442
|
From?: number;
|
|
11443
11443
|
/**
|
|
11444
|
-
*
|
|
11444
|
+
* <p>日志导出结束时间</p>
|
|
11445
11445
|
*/
|
|
11446
11446
|
To?: number;
|
|
11447
11447
|
/**
|
|
11448
|
-
*
|
|
11448
|
+
* <p>日志导出路径,有效期一个小时,请尽快使用该路径下载。</p>
|
|
11449
11449
|
*/
|
|
11450
11450
|
CosPath?: string;
|
|
11451
11451
|
/**
|
|
11452
|
-
*
|
|
11452
|
+
* <p>日志导出创建时间</p>
|
|
11453
11453
|
*/
|
|
11454
11454
|
CreateTime?: string;
|
|
11455
11455
|
/**
|
|
11456
|
-
*
|
|
11457
|
-
0:Lucene语法,1:CQL语法。
|
|
11456
|
+
* <p>语法规则。 默认值为0。<br>0:Lucene语法,1:CQL语法。</p>
|
|
11458
11457
|
*/
|
|
11459
11458
|
SyntaxRule?: number;
|
|
11460
11459
|
/**
|
|
11461
|
-
*
|
|
11460
|
+
* <p>导出字段</p>
|
|
11462
11461
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11463
11462
|
*/
|
|
11464
11463
|
DerivedFields?: Array<string>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20260709 = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const Models = tslib_1.__importStar(require("./workbuddyenterprise_models"));
|
|
6
|
+
const workbuddyenterprise_client_1 = require("./workbuddyenterprise_client");
|
|
7
|
+
exports.v20260709 = {
|
|
8
|
+
Client: workbuddyenterprise_client_1.Client,
|
|
9
|
+
Models: Models
|
|
10
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { DeleteAgentRequest, DescribeAgentResponse, DescribeExpertListRequest, DescribeMessageEventListResponse, UnbindExternalAgentRequest, DescribeBuiltinModelListResponse, CreateAgentVersionResponse, DescribeExternalAgentResponse, ModifyAgentVersionResponse, BindExternalAgentResponse, BindExternalAgentRequest, ModifyAgentRoutingRequest, DescribeExternalAgentListResponse, DescribeExternalAgentRequest, CreateAgentVersionRequest, ModifyAgentVersionRequest, CreateAgentRequest, DescribeAgentVersionRequest, ModifyAgentRequest, DescribeAgentSessionResponse, CreateAgentResponse, DescribeAgentSessionRequest, UnbindExternalAgentResponse, DescribeSkillListRequest, DescribeAgentSessionListResponse, DescribeConnectorListResponse, DescribeAgentListResponse, CreateAgentSessionResponse, DescribeBuiltinModelListRequest, CreateAgentSessionRequest, CreateAgentVersionFromSourceRequest, DescribeAgentVersionListResponse, DescribeExternalAgentListRequest, ModifyAgentA2AConfigRequest, CreateAgentVersionFromSourceResponse, DescribeAgentListRequest, ModifyAgentA2AConfigResponse, DescribeConnectorListRequest, DescribeAgentVersionResponse, DescribeAgentSessionListRequest, MigrateAgentSessionResponse, DeleteAgentResponse, DescribeAgentRequest, DescribeSkillListResponse, DescribeMessageEventListRequest, DescribeExpertListResponse, DescribeAgentVersionListRequest, ModifyAgentRoutingResponse, ModifyAgentResponse, MigrateAgentSessionRequest } from "./workbuddyenterprise_models";
|
|
4
|
+
/**
|
|
5
|
+
* workbuddyenterprise client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 分页查询 Expert 列表,支持关键词、分类、发布状态过滤。
|
|
12
|
+
*/
|
|
13
|
+
DescribeExpertList(req: DescribeExpertListRequest, cb?: (error: string, rep: DescribeExpertListResponse) => void): Promise<DescribeExpertListResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 解除外部 agent 与 managed agent 的绑定
|
|
16
|
+
*/
|
|
17
|
+
UnbindExternalAgent(req: UnbindExternalAgentRequest, cb?: (error: string, rep: UnbindExternalAgentResponse) => void): Promise<UnbindExternalAgentResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 查询单个 Agent 会话详情:返回会话基础信息(会话名称 / Agent / 版本 / 状态 / 来源 / 发起人)与可用的聊天接入点列表(EndpointSet)。数据面鉴权走 DescribeUserAccessToken 的用户级访问令牌。
|
|
20
|
+
*/
|
|
21
|
+
DescribeAgentSession(req: DescribeAgentSessionRequest, cb?: (error: string, rep: DescribeAgentSessionResponse) => void): Promise<DescribeAgentSessionResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 修改 Agent 的 A2A 配置。A2AEnabled 是 Agent 级唯一开关,与具体版本和流量分发策略无关。
|
|
24
|
+
*/
|
|
25
|
+
ModifyAgentA2AConfig(req: ModifyAgentA2AConfigRequest, cb?: (error: string, rep: ModifyAgentA2AConfigResponse) => void): Promise<ModifyAgentA2AConfigResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 查询单个版本的详细信息,包括 Manifest、Model、状态等。
|
|
28
|
+
*/
|
|
29
|
+
DescribeAgentVersion(req: DescribeAgentVersionRequest, cb?: (error: string, rep: DescribeAgentVersionResponse) => void): Promise<DescribeAgentVersionResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 列某 managed agent 绑定的外部 agent 列表
|
|
32
|
+
*/
|
|
33
|
+
DescribeExternalAgentList(req: DescribeExternalAgentListRequest, cb?: (error: string, rep: DescribeExternalAgentListResponse) => void): Promise<DescribeExternalAgentListResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 查询指定 Agent 下的版本列表,支持分页和版本类型过滤。
|
|
36
|
+
*/
|
|
37
|
+
DescribeAgentVersionList(req: DescribeAgentVersionListRequest, cb?: (error: string, rep: DescribeAgentVersionListResponse) => void): Promise<DescribeAgentVersionListResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* 将指定会话迁移到目标版本。SessionID / RuntimeID 保持不变,通过 AgentOS UpdateSession 在原沙箱上更新 manifest 到新版本;AgentId 必须与原 Session 一致(禁止跨 Agent 迁移);ChatToken 复用旧值不轮转。
|
|
40
|
+
*/
|
|
41
|
+
MigrateAgentSession(req: MigrateAgentSessionRequest, cb?: (error: string, rep: MigrateAgentSessionResponse) => void): Promise<MigrateAgentSessionResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* 覆盖式写入 Agent 路由配置(版本权重)。所有 VersionId 必须属于同一 Agent 且未弃用;允许空数组(下线 Agent 对外流量);非空时权重总和须等于 1。
|
|
44
|
+
*/
|
|
45
|
+
ModifyAgentRouting(req: ModifyAgentRoutingRequest, cb?: (error: string, rep: ModifyAgentRoutingResponse) => void): Promise<ModifyAgentRoutingResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* 查询指定企业下的连接器列表(PageNumber/PageSize 分页,支持名称模糊与状态、来源过滤)。
|
|
48
|
+
*/
|
|
49
|
+
DescribeConnectorList(req: DescribeConnectorListRequest, cb?: (error: string, rep: DescribeConnectorListResponse) => void): Promise<DescribeConnectorListResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* 分页查询 Skill 列表,支持关键词、分类、发布状态过滤。
|
|
52
|
+
*/
|
|
53
|
+
DescribeSkillList(req: DescribeSkillListRequest, cb?: (error: string, rep: DescribeSkillListResponse) => void): Promise<DescribeSkillListResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* 分页查询企业下所有会话(跨 Agent):支持按 SessionId / Status / AgentId / UserId 过滤,按创建 / 更新时间排序,返回会话摘要列表。
|
|
56
|
+
*/
|
|
57
|
+
DescribeAgentSessionList(req: DescribeAgentSessionListRequest, cb?: (error: string, rep: DescribeAgentSessionListResponse) => void): Promise<DescribeAgentSessionListResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* 查询当前企业的内置模型列表,支持分页与过滤。内置模型由平台预置,企业可按需启用/停用。过滤字段支持:ModelId(模型ID,模糊)、Name(模型名称,模糊)、Vendor(供应商,模糊)、Status(状态,精确:enabled/disabled)。
|
|
60
|
+
*/
|
|
61
|
+
DescribeBuiltinModelList(req: DescribeBuiltinModelListRequest, cb?: (error: string, rep: DescribeBuiltinModelListResponse) => void): Promise<DescribeBuiltinModelListResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* 修改 Agent 基础信息(名称、描述、头像)。AgentName / Description / AvatarUrl 均为可选,仅传递需要更新的字段。
|
|
64
|
+
*/
|
|
65
|
+
ModifyAgent(req: ModifyAgentRequest, cb?: (error: string, rep: ModifyAgentResponse) => void): Promise<ModifyAgentResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* 创建一个新的 Managed Agent,同时自动生成 default 版本。配置采用 Manifest v2.0。
|
|
68
|
+
*/
|
|
69
|
+
CreateAgent(req: CreateAgentRequest, cb?: (error: string, rep: CreateAgentResponse) => void): Promise<CreateAgentResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* 基于源版本创建新版本:Manifest / Model / Description 传入即整体覆盖,未传则沿用源版本。
|
|
72
|
+
*/
|
|
73
|
+
CreateAgentVersionFromSource(req: CreateAgentVersionFromSourceRequest, cb?: (error: string, rep: CreateAgentVersionFromSourceResponse) => void): Promise<CreateAgentVersionFromSourceResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* 原地更新 default 或 test 版本的 Manifest / Model / Description / SandboxTemplateId / ConnectorSet(prod 版本冻结不可修改),五个可选字段至少提供一个。ConnectorSet 为全量覆盖语义:缺省表示不改动连接器绑定;空数组表示解绑全部连接器。
|
|
76
|
+
*/
|
|
77
|
+
ModifyAgentVersion(req: ModifyAgentVersionRequest, cb?: (error: string, rep: ModifyAgentVersionResponse) => void): Promise<ModifyAgentVersionResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* 把外部 agent 绑定到某 managed agent
|
|
80
|
+
*/
|
|
81
|
+
BindExternalAgent(req: BindExternalAgentRequest, cb?: (error: string, rep: BindExternalAgentResponse) => void): Promise<BindExternalAgentResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* 查询某 managed agent 绑定的单个外部 agent 详情
|
|
84
|
+
*/
|
|
85
|
+
DescribeExternalAgent(req: DescribeExternalAgentRequest, cb?: (error: string, rep: DescribeExternalAgentResponse) => void): Promise<DescribeExternalAgentResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* 为指定 Agent 创建新的会话,返回会话 ID 和聊天凭证。
|
|
88
|
+
*/
|
|
89
|
+
CreateAgentSession(req: CreateAgentSessionRequest, cb?: (error: string, rep: CreateAgentSessionResponse) => void): Promise<CreateAgentSessionResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* 按 Session 分页查询消息事件
|
|
92
|
+
*/
|
|
93
|
+
DescribeMessageEventList(req: DescribeMessageEventListRequest, cb?: (error: string, rep: DescribeMessageEventListResponse) => void): Promise<DescribeMessageEventListResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* 查询单个 Agent 的详细信息,包括基础配置和路由配置。
|
|
96
|
+
*/
|
|
97
|
+
DescribeAgent(req: DescribeAgentRequest, cb?: (error: string, rep: DescribeAgentResponse) => void): Promise<DescribeAgentResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* 删除指定的 Agent 及其所有版本。删除后不可恢复。
|
|
100
|
+
*/
|
|
101
|
+
DeleteAgent(req: DeleteAgentRequest, cb?: (error: string, rep: DeleteAgentResponse) => void): Promise<DeleteAgentResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* 完全新建版本:外部准备完整 Manifest 后直接传入,不引用任何已有版本。
|
|
104
|
+
*/
|
|
105
|
+
CreateAgentVersion(req: CreateAgentVersionRequest, cb?: (error: string, rep: CreateAgentVersionResponse) => void): Promise<CreateAgentVersionResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* 查询当前企业的 Agent 列表,支持分页、过滤和排序。
|
|
108
|
+
*/
|
|
109
|
+
DescribeAgentList(req: DescribeAgentListRequest, cb?: (error: string, rep: DescribeAgentListResponse) => void): Promise<DescribeAgentListResponse>;
|
|
110
|
+
}
|