tencentcloud-sdk-nodejs 4.1.256 → 4.1.257

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 (60) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/apigateway/v20180808/apigateway_client.js +0 -3
  3. package/es/services/clb/v20180317/clb_client.js +91 -16
  4. package/es/services/cngw/index.js +4 -0
  5. package/es/services/cngw/v20230418/cngw_client.js +141 -0
  6. package/es/services/cngw/v20230418/cngw_models.js +1 -0
  7. package/es/services/cngw/v20230418/index.js +6 -0
  8. package/es/services/ess/v20201111/ess_client.js +5 -2
  9. package/es/services/essbasic/v20210526/essbasic_client.js +3 -0
  10. package/es/services/index.js +1 -0
  11. package/es/services/ocr/v20181119/ocr_client.js +3 -0
  12. package/es/services/tdmysql/v20211122/tdmysql_client.js +3 -0
  13. package/es/services/tke/v20220501/tke_client.js +3 -0
  14. package/package.json +1 -1
  15. package/tencentcloud/common/sdk_version.d.ts +1 -1
  16. package/tencentcloud/common/sdk_version.js +1 -1
  17. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +2 -8
  18. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +1 -9
  19. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +22 -45
  20. package/tencentcloud/services/bh/v20230418/bh_models.d.ts +67 -31
  21. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +41 -38
  22. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +122 -22
  23. package/tencentcloud/services/clb/v20180317/clb_client.js +179 -29
  24. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2314 -888
  25. package/tencentcloud/services/cngw/index.d.ts +6 -0
  26. package/tencentcloud/services/cngw/index.js +7 -0
  27. package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +190 -0
  28. package/tencentcloud/services/cngw/v20230418/cngw_client.js +301 -0
  29. package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +2991 -0
  30. package/tencentcloud/services/cngw/v20230418/cngw_models.js +18 -0
  31. package/tencentcloud/services/cngw/v20230418/index.d.ts +6 -0
  32. package/tencentcloud/services/cngw/v20230418/index.js +10 -0
  33. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +7 -7
  34. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +1 -1
  35. package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
  36. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +21 -3
  37. package/tencentcloud/services/ess/v20201111/ess_client.js +23 -3
  38. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +34 -0
  39. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +19 -1
  40. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +20 -0
  41. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +30 -0
  42. package/tencentcloud/services/index.d.ts +1 -0
  43. package/tencentcloud/services/index.js +7 -5
  44. package/tencentcloud/services/live/v20180801/live_models.d.ts +8 -0
  45. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +5 -8
  46. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1 -1
  47. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +9 -1
  48. package/tencentcloud/services/ocr/v20181119/ocr_client.js +10 -0
  49. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +60 -14
  50. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +17 -9
  51. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +15 -11
  52. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +6 -2
  53. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +6 -2
  54. package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.d.ts +5 -1
  55. package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.js +6 -0
  56. package/tencentcloud/services/tdmysql/v20211122/tdmysql_models.d.ts +47 -0
  57. package/tencentcloud/services/tke/v20220501/tke_client.d.ts +5 -1
  58. package/tencentcloud/services/tke/v20220501/tke_client.js +6 -0
  59. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +30 -13
  60. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +66 -46
@@ -0,0 +1,6 @@
1
+ export declare const cngw: {
2
+ v20230418: {
3
+ Client: typeof import("./v20230418/cngw_client").Client;
4
+ Models: typeof import("./v20230418/cngw_models");
5
+ };
6
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cngw = void 0;
4
+ const v20230418_1 = require("./v20230418");
5
+ exports.cngw = {
6
+ v20230418: v20230418_1.v20230418,
7
+ };
@@ -0,0 +1,190 @@
1
+ import { AbstractClient } from "../../../common/abstract_client";
2
+ import { ClientConfig } from "../../../common/interface";
3
+ import { CreateCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayLLMModelServicesResponse, ModifyCloudNativeAPIGatewayConsumerGroupResponse, DescribeCloudNativeAPIGatewayMCPServerACLRequest, DeleteCloudNativeAPIGatewayMCPToolResponse, CreateCloudNativeAPIGatewayMCPServerRequest, DeleteCloudNativeAPIGatewaySecretKeyRequest, DeleteCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewaySecretKeyValueRequest, DeleteCloudNativeAPIGatewayConsumerResponse, RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse, ModifyCloudNativeAPIGatewayMCPServerRequest, DescribeCloudNativeAPIGatewayMCPServerAuthResponse, DeleteCloudNativeAPIGatewayConsumerGroupRequest, DescribeCloudNativeAPIGatewayLLMModelServiceRequest, ModifyCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolACLListResponse, ModifyCloudNativeAPIGatewayMCPServerAuthResponse, CreateCloudNativeAPIGatewayConsumerGroupRequest, ModifyCloudNativeAPIGatewayLLMModelAPIResponse, CreateCloudNativeAPIGatewayLLMModelServiceRequest, ModifyCloudNativeAPIGatewayLLMModelServiceResponse, CreateCloudNativeAPIGatewayLLMModelServiceResponse, CreateCloudNativeAPIGatewayLLMModelAPIRequest, ModifyCloudNativeAPIGatewayMCPServerACLResponse, DescribeCloudNativeAPIGatewayConsumerGroupRequest, CreateCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewayLLMModelAPIsRequest, ModifyCloudNativeAPIGatewayMCPServerACLRequest, ModifyCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayConsumerResponse, DescribeCloudNativeAPIGatewayMCPToolListRequest, DeleteCloudNativeAPIGatewayMCPServerResponse, ModifyCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayMCPToolACLListRequest, DeleteCloudNativeAPIGatewayLLMModelServiceResponse, DescribeCloudNativeAPIGatewayMCPToolResponse, ModifyCloudNativeAPIGatewayMCPToolACLResponse, CreateCloudNativeAPIGatewayConsumerGroupResponse, DescribeCloudNativeAPIGatewayLLMModelAPIResponse, ModifyCloudNativeAPIGatewayMCPServerStatusResponse, ModifyCloudNativeAPIGatewayConsumerResponse, DeleteCloudNativeAPIGatewayMCPServerRequest, DeleteCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsRequest, CreateCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayMCPServerResponse, DescribeCloudNativeAPIGatewayLLMModelServicesRequest, ModifyCloudNativeAPIGatewayMCPToolACLRequest, CreateCloudNativeAPIGatewayMCPServerResponse, DeleteCloudNativeAPIGatewayLLMModelAPIRequest, ModifyCloudNativeAPIGatewayMCPServerStatusRequest, ModifyCloudNativeAPIGatewayMCPToolResponse, DescribeCloudNativeAPIGatewayLLMModelAPIsResponse, CreateCloudNativeAPIGatewayConsumerResponse, DeleteCloudNativeAPIGatewayLLMModelAPIResponse, ModifyCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse, DescribeCloudNativeAPIGatewayMCPServerACLResponse, ModifyCloudNativeAPIGatewayMCPServerResponse, DescribeCloudNativeAPIGatewayLLMModelServiceResponse, DescribeCloudNativeAPIGatewaySecretKeyRequest, AddCloudNativeAPIGatewayConsumerGroupAuthResponse, DeleteCloudNativeAPIGatewayConsumerRequest, ModifyCloudNativeAPIGatewayMCPToolStatusResponse, ModifyCloudNativeAPIGatewayConsumerGroupRequest, DescribeCloudNativeAPIGatewayMCPToolListResponse, DescribeCloudNativeAPIGatewayLLMModelAPIRequest, DescribeCloudNativeAPIGatewayConsumerRequest, RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest, DescribeCloudNativeAPIGatewayMCPServerListRequest, DescribeCloudNativeAPIGatewayConsumerGroupResponse, ModifyCloudNativeAPIGatewayMCPServerAuthRequest, DescribeCloudNativeAPIGatewayMCPServerRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageListRequest, ModifyCloudNativeAPIGatewayMCPToolStatusRequest, AddCloudNativeAPIGatewayConsumerGroupAuthRequest, DescribeCloudNativeAPIGatewaySecretKeyValueResponse, CreateCloudNativeAPIGatewayMCPToolResponse, ModifyCloudNativeAPIGatewayLLMModelServiceRequest, DescribeCloudNativeAPIGatewayMCPServerListResponse, CreateCloudNativeAPIGatewayLLMModelAPIResponse, DescribeCloudNativeAPIGatewayMCPServerAuthRequest, DeleteCloudNativeAPIGatewayLLMModelServiceRequest, DeleteCloudNativeAPIGatewayConsumerGroupResponse, ModifyCloudNativeAPIGatewayLLMModelAPIRequest, CreateCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayLLMTokenUsageListResponse } from "./cngw_models";
4
+ /**
5
+ * cngw client
6
+ * @class
7
+ */
8
+ export declare class Client extends AbstractClient {
9
+ constructor(clientConfig: ClientConfig);
10
+ /**
11
+ * 删除AI 网关消费者(被绑定到消费者组/密钥时需先解绑)。
12
+ */
13
+ DeleteCloudNativeAPIGatewayConsumer(req: DeleteCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayConsumerResponse) => void): Promise<DeleteCloudNativeAPIGatewayConsumerResponse>;
14
+ /**
15
+ * 修改消费者组。
16
+ */
17
+ ModifyCloudNativeAPIGatewayConsumerGroup(req: ModifyCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise<ModifyCloudNativeAPIGatewayConsumerGroupResponse>;
18
+ /**
19
+ * 删除AI网关MCP服务
20
+ */
21
+ DeleteCloudNativeAPIGatewayMCPServer(req: DeleteCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayMCPServerResponse) => void): Promise<DeleteCloudNativeAPIGatewayMCPServerResponse>;
22
+ /**
23
+ * 创建消费者密钥。
24
+ */
25
+ CreateCloudNativeAPIGatewaySecretKey(req: CreateCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<CreateCloudNativeAPIGatewaySecretKeyResponse>;
26
+ /**
27
+ * 修改 MCP Server ACL
28
+ */
29
+ ModifyCloudNativeAPIGatewayMCPServerACL(req: ModifyCloudNativeAPIGatewayMCPServerACLRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerACLResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPServerACLResponse>;
30
+ /**
31
+ * 从资源(模型 API / MCP Server)移除消费者组授权。
32
+ */
33
+ RemoveCloudNativeAPIGatewayConsumerGroupAuth(req: RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest, cb?: (error: string, rep: RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse) => void): Promise<RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse>;
34
+ /**
35
+ * 删除AI网关MCP Tool
36
+ */
37
+ DeleteCloudNativeAPIGatewayMCPTool(req: DeleteCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayMCPToolResponse) => void): Promise<DeleteCloudNativeAPIGatewayMCPToolResponse>;
38
+ /**
39
+ * 创建 LLM 模型 API。
40
+ */
41
+ CreateCloudNativeAPIGatewayLLMModelAPI(req: CreateCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise<CreateCloudNativeAPIGatewayLLMModelAPIResponse>;
42
+ /**
43
+ * 查询单个 LLM 模型 API 详情。
44
+ */
45
+ DescribeCloudNativeAPIGatewayLLMModelAPI(req: DescribeCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMModelAPIResponse>;
46
+ /**
47
+ * 修改 MCP Server Tool ACL
48
+ */
49
+ ModifyCloudNativeAPIGatewayMCPToolACL(req: ModifyCloudNativeAPIGatewayMCPToolACLRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPToolACLResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPToolACLResponse>;
50
+ /**
51
+ * AI网关修改MCP Tool上下线状态
52
+ */
53
+ ModifyCloudNativeAPIGatewayMCPToolStatus(req: ModifyCloudNativeAPIGatewayMCPToolStatusRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPToolStatusResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPToolStatusResponse>;
54
+ /**
55
+ * 修改 LLM 模型服务。
56
+ */
57
+ ModifyCloudNativeAPIGatewayLLMModelService(req: ModifyCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise<ModifyCloudNativeAPIGatewayLLMModelServiceResponse>;
58
+ /**
59
+ * 查询消费者组详情。
60
+ */
61
+ DescribeCloudNativeAPIGatewayConsumerGroup(req: DescribeCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise<DescribeCloudNativeAPIGatewayConsumerGroupResponse>;
62
+ /**
63
+ * 查看 MCP Server ACL
64
+ */
65
+ DescribeCloudNativeAPIGatewayMCPServerACL(req: DescribeCloudNativeAPIGatewayMCPServerACLRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerACLResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPServerACLResponse>;
66
+ /**
67
+ * 查询云原生网关 MCP Server 下所有 Tool 的 ACL 状态一览(含 Server ACLType 回显)。
68
+ */
69
+ DescribeCloudNativeAPIGatewayMCPToolACLList(req: DescribeCloudNativeAPIGatewayMCPToolACLListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPToolACLListResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPToolACLListResponse>;
70
+ /**
71
+ * 创建 LLM 模型服务。同一网关下 Name 唯一。
72
+ */
73
+ CreateCloudNativeAPIGatewayLLMModelService(req: CreateCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise<CreateCloudNativeAPIGatewayLLMModelServiceResponse>;
74
+ /**
75
+ * 查询AI 网关MCP服务信息
76
+ */
77
+ DescribeCloudNativeAPIGatewayMCPServer(req: DescribeCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPServerResponse>;
78
+ /**
79
+ * 查询 LLM 模型 API 列表。
80
+ */
81
+ DescribeCloudNativeAPIGatewayLLMModelAPIs(req: DescribeCloudNativeAPIGatewayLLMModelAPIsRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelAPIsResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMModelAPIsResponse>;
82
+ /**
83
+ * 修改AI网关消费者
84
+ */
85
+ ModifyCloudNativeAPIGatewayConsumer(req: ModifyCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayConsumerResponse) => void): Promise<ModifyCloudNativeAPIGatewayConsumerResponse>;
86
+ /**
87
+ * 修改MCP服务配置
88
+ */
89
+ ModifyCloudNativeAPIGatewayMCPServer(req: ModifyCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPServerResponse>;
90
+ /**
91
+ * AI网关查询MCP服务列表
92
+ */
93
+ DescribeCloudNativeAPIGatewayMCPServerList(req: DescribeCloudNativeAPIGatewayMCPServerListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerListResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPServerListResponse>;
94
+ /**
95
+ * 查询 MCP Server 的认证配置
96
+ */
97
+ DescribeCloudNativeAPIGatewayMCPServerAuth(req: DescribeCloudNativeAPIGatewayMCPServerAuthRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerAuthResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPServerAuthResponse>;
98
+ /**
99
+ * 删除 LLM 模型 API。
100
+ */
101
+ DeleteCloudNativeAPIGatewayLLMModelAPI(req: DeleteCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise<DeleteCloudNativeAPIGatewayLLMModelAPIResponse>;
102
+ /**
103
+ * 删除消费者密钥(被绑定时需先解绑)。
104
+ */
105
+ DeleteCloudNativeAPIGatewaySecretKey(req: DeleteCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<DeleteCloudNativeAPIGatewaySecretKeyResponse>;
106
+ /**
107
+ * 查询单个 LLM 模型服务详情。
108
+ */
109
+ DescribeCloudNativeAPIGatewayLLMModelService(req: DescribeCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMModelServiceResponse>;
110
+ /**
111
+ * 修改 LLM 模型 API。
112
+ */
113
+ ModifyCloudNativeAPIGatewayLLMModelAPI(req: ModifyCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise<ModifyCloudNativeAPIGatewayLLMModelAPIResponse>;
114
+ /**
115
+ * 查询 AI 网关Token 消耗统计汇总
116
+ */
117
+ DescribeCloudNativeAPIGatewayLLMTokenUsageStatistics(req: DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse>;
118
+ /**
119
+ * 创建AI 网关消费者组
120
+ */
121
+ CreateCloudNativeAPIGatewayConsumerGroup(req: CreateCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise<CreateCloudNativeAPIGatewayConsumerGroupResponse>;
122
+ /**
123
+ * 查看AI网关MCP Tool
124
+ */
125
+ DescribeCloudNativeAPIGatewayMCPTool(req: DescribeCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPToolResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPToolResponse>;
126
+ /**
127
+ * 创建AI网关MCP Tool
128
+ */
129
+ CreateCloudNativeAPIGatewayMCPTool(req: CreateCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayMCPToolResponse) => void): Promise<CreateCloudNativeAPIGatewayMCPToolResponse>;
130
+ /**
131
+ * 修改AI网关MCP Tool
132
+ */
133
+ ModifyCloudNativeAPIGatewayMCPTool(req: ModifyCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPToolResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPToolResponse>;
134
+ /**
135
+ * 修改 MCP Server 的认证配置
136
+ */
137
+ ModifyCloudNativeAPIGatewayMCPServerAuth(req: ModifyCloudNativeAPIGatewayMCPServerAuthRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerAuthResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPServerAuthResponse>;
138
+ /**
139
+ * 查询密钥明文值(KMS 类型密钥不可获取)。
140
+ */
141
+ DescribeCloudNativeAPIGatewaySecretKeyValue(req: DescribeCloudNativeAPIGatewaySecretKeyValueRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewaySecretKeyValueResponse) => void): Promise<DescribeCloudNativeAPIGatewaySecretKeyValueResponse>;
142
+ /**
143
+ * 创建AI 网关MCP Server
144
+ */
145
+ ModifyCloudNativeAPIGatewayMCPServerStatus(req: ModifyCloudNativeAPIGatewayMCPServerStatusRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerStatusResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPServerStatusResponse>;
146
+ /**
147
+ * 创建AI网关MCP Server
148
+ */
149
+ CreateCloudNativeAPIGatewayMCPServer(req: CreateCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayMCPServerResponse) => void): Promise<CreateCloudNativeAPIGatewayMCPServerResponse>;
150
+ /**
151
+ * 修改AI网关密钥
152
+ */
153
+ ModifyCloudNativeAPIGatewaySecretKey(req: ModifyCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<ModifyCloudNativeAPIGatewaySecretKeyResponse>;
154
+ /**
155
+ * 查询 AI 网关Token 消耗统计
156
+ */
157
+ DescribeCloudNativeAPIGatewayLLMTokenUsageList(req: DescribeCloudNativeAPIGatewayLLMTokenUsageListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMTokenUsageListResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMTokenUsageListResponse>;
158
+ /**
159
+ * 查询 AI 网关MCP Tool 列表
160
+ */
161
+ DescribeCloudNativeAPIGatewayMCPToolList(req: DescribeCloudNativeAPIGatewayMCPToolListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPToolListResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPToolListResponse>;
162
+ /**
163
+ * 删除 LLM 模型服务(被模型 API 绑定时需先解绑)。
164
+ */
165
+ DeleteCloudNativeAPIGatewayLLMModelService(req: DeleteCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise<DeleteCloudNativeAPIGatewayLLMModelServiceResponse>;
166
+ /**
167
+ * 查询云原生消费者详情
168
+ */
169
+ DescribeCloudNativeAPIGatewayConsumer(req: DescribeCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayConsumerResponse) => void): Promise<DescribeCloudNativeAPIGatewayConsumerResponse>;
170
+ /**
171
+ * 查询密钥详情(SecretValue 字段会被掩码)。
172
+ */
173
+ DescribeCloudNativeAPIGatewaySecretKey(req: DescribeCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<DescribeCloudNativeAPIGatewaySecretKeyResponse>;
174
+ /**
175
+ * 为资源(模型 API / MCP Server)添加消费者组授权。
176
+ */
177
+ AddCloudNativeAPIGatewayConsumerGroupAuth(req: AddCloudNativeAPIGatewayConsumerGroupAuthRequest, cb?: (error: string, rep: AddCloudNativeAPIGatewayConsumerGroupAuthResponse) => void): Promise<AddCloudNativeAPIGatewayConsumerGroupAuthResponse>;
178
+ /**
179
+ * 查询 LLM 模型服务列表。
180
+ */
181
+ DescribeCloudNativeAPIGatewayLLMModelServices(req: DescribeCloudNativeAPIGatewayLLMModelServicesRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelServicesResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMModelServicesResponse>;
182
+ /**
183
+ * 删除AI网关消费者组
184
+ */
185
+ DeleteCloudNativeAPIGatewayConsumerGroup(req: DeleteCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise<DeleteCloudNativeAPIGatewayConsumerGroupResponse>;
186
+ /**
187
+ * 创建AI网关消费者。
188
+ */
189
+ CreateCloudNativeAPIGatewayConsumer(req: CreateCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayConsumerResponse) => void): Promise<CreateCloudNativeAPIGatewayConsumerResponse>;
190
+ }
@@ -0,0 +1,301 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5
+ /*
6
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+ const abstract_client_1 = require("../../../common/abstract_client");
22
+ /**
23
+ * cngw client
24
+ * @class
25
+ */
26
+ class Client extends abstract_client_1.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("cngw.tencentcloudapi.com", "2023-04-18", clientConfig);
29
+ }
30
+ /**
31
+ * 删除AI 网关消费者(被绑定到消费者组/密钥时需先解绑)。
32
+ */
33
+ async DeleteCloudNativeAPIGatewayConsumer(req, cb) {
34
+ return this.request("DeleteCloudNativeAPIGatewayConsumer", req, cb);
35
+ }
36
+ /**
37
+ * 修改消费者组。
38
+ */
39
+ async ModifyCloudNativeAPIGatewayConsumerGroup(req, cb) {
40
+ return this.request("ModifyCloudNativeAPIGatewayConsumerGroup", req, cb);
41
+ }
42
+ /**
43
+ * 删除AI网关MCP服务
44
+ */
45
+ async DeleteCloudNativeAPIGatewayMCPServer(req, cb) {
46
+ return this.request("DeleteCloudNativeAPIGatewayMCPServer", req, cb);
47
+ }
48
+ /**
49
+ * 创建消费者密钥。
50
+ */
51
+ async CreateCloudNativeAPIGatewaySecretKey(req, cb) {
52
+ return this.request("CreateCloudNativeAPIGatewaySecretKey", req, cb);
53
+ }
54
+ /**
55
+ * 修改 MCP Server ACL
56
+ */
57
+ async ModifyCloudNativeAPIGatewayMCPServerACL(req, cb) {
58
+ return this.request("ModifyCloudNativeAPIGatewayMCPServerACL", req, cb);
59
+ }
60
+ /**
61
+ * 从资源(模型 API / MCP Server)移除消费者组授权。
62
+ */
63
+ async RemoveCloudNativeAPIGatewayConsumerGroupAuth(req, cb) {
64
+ return this.request("RemoveCloudNativeAPIGatewayConsumerGroupAuth", req, cb);
65
+ }
66
+ /**
67
+ * 删除AI网关MCP Tool
68
+ */
69
+ async DeleteCloudNativeAPIGatewayMCPTool(req, cb) {
70
+ return this.request("DeleteCloudNativeAPIGatewayMCPTool", req, cb);
71
+ }
72
+ /**
73
+ * 创建 LLM 模型 API。
74
+ */
75
+ async CreateCloudNativeAPIGatewayLLMModelAPI(req, cb) {
76
+ return this.request("CreateCloudNativeAPIGatewayLLMModelAPI", req, cb);
77
+ }
78
+ /**
79
+ * 查询单个 LLM 模型 API 详情。
80
+ */
81
+ async DescribeCloudNativeAPIGatewayLLMModelAPI(req, cb) {
82
+ return this.request("DescribeCloudNativeAPIGatewayLLMModelAPI", req, cb);
83
+ }
84
+ /**
85
+ * 修改 MCP Server Tool ACL
86
+ */
87
+ async ModifyCloudNativeAPIGatewayMCPToolACL(req, cb) {
88
+ return this.request("ModifyCloudNativeAPIGatewayMCPToolACL", req, cb);
89
+ }
90
+ /**
91
+ * AI网关修改MCP Tool上下线状态
92
+ */
93
+ async ModifyCloudNativeAPIGatewayMCPToolStatus(req, cb) {
94
+ return this.request("ModifyCloudNativeAPIGatewayMCPToolStatus", req, cb);
95
+ }
96
+ /**
97
+ * 修改 LLM 模型服务。
98
+ */
99
+ async ModifyCloudNativeAPIGatewayLLMModelService(req, cb) {
100
+ return this.request("ModifyCloudNativeAPIGatewayLLMModelService", req, cb);
101
+ }
102
+ /**
103
+ * 查询消费者组详情。
104
+ */
105
+ async DescribeCloudNativeAPIGatewayConsumerGroup(req, cb) {
106
+ return this.request("DescribeCloudNativeAPIGatewayConsumerGroup", req, cb);
107
+ }
108
+ /**
109
+ * 查看 MCP Server ACL
110
+ */
111
+ async DescribeCloudNativeAPIGatewayMCPServerACL(req, cb) {
112
+ return this.request("DescribeCloudNativeAPIGatewayMCPServerACL", req, cb);
113
+ }
114
+ /**
115
+ * 查询云原生网关 MCP Server 下所有 Tool 的 ACL 状态一览(含 Server ACLType 回显)。
116
+ */
117
+ async DescribeCloudNativeAPIGatewayMCPToolACLList(req, cb) {
118
+ return this.request("DescribeCloudNativeAPIGatewayMCPToolACLList", req, cb);
119
+ }
120
+ /**
121
+ * 创建 LLM 模型服务。同一网关下 Name 唯一。
122
+ */
123
+ async CreateCloudNativeAPIGatewayLLMModelService(req, cb) {
124
+ return this.request("CreateCloudNativeAPIGatewayLLMModelService", req, cb);
125
+ }
126
+ /**
127
+ * 查询AI 网关MCP服务信息
128
+ */
129
+ async DescribeCloudNativeAPIGatewayMCPServer(req, cb) {
130
+ return this.request("DescribeCloudNativeAPIGatewayMCPServer", req, cb);
131
+ }
132
+ /**
133
+ * 查询 LLM 模型 API 列表。
134
+ */
135
+ async DescribeCloudNativeAPIGatewayLLMModelAPIs(req, cb) {
136
+ return this.request("DescribeCloudNativeAPIGatewayLLMModelAPIs", req, cb);
137
+ }
138
+ /**
139
+ * 修改AI网关消费者
140
+ */
141
+ async ModifyCloudNativeAPIGatewayConsumer(req, cb) {
142
+ return this.request("ModifyCloudNativeAPIGatewayConsumer", req, cb);
143
+ }
144
+ /**
145
+ * 修改MCP服务配置
146
+ */
147
+ async ModifyCloudNativeAPIGatewayMCPServer(req, cb) {
148
+ return this.request("ModifyCloudNativeAPIGatewayMCPServer", req, cb);
149
+ }
150
+ /**
151
+ * AI网关查询MCP服务列表
152
+ */
153
+ async DescribeCloudNativeAPIGatewayMCPServerList(req, cb) {
154
+ return this.request("DescribeCloudNativeAPIGatewayMCPServerList", req, cb);
155
+ }
156
+ /**
157
+ * 查询 MCP Server 的认证配置
158
+ */
159
+ async DescribeCloudNativeAPIGatewayMCPServerAuth(req, cb) {
160
+ return this.request("DescribeCloudNativeAPIGatewayMCPServerAuth", req, cb);
161
+ }
162
+ /**
163
+ * 删除 LLM 模型 API。
164
+ */
165
+ async DeleteCloudNativeAPIGatewayLLMModelAPI(req, cb) {
166
+ return this.request("DeleteCloudNativeAPIGatewayLLMModelAPI", req, cb);
167
+ }
168
+ /**
169
+ * 删除消费者密钥(被绑定时需先解绑)。
170
+ */
171
+ async DeleteCloudNativeAPIGatewaySecretKey(req, cb) {
172
+ return this.request("DeleteCloudNativeAPIGatewaySecretKey", req, cb);
173
+ }
174
+ /**
175
+ * 查询单个 LLM 模型服务详情。
176
+ */
177
+ async DescribeCloudNativeAPIGatewayLLMModelService(req, cb) {
178
+ return this.request("DescribeCloudNativeAPIGatewayLLMModelService", req, cb);
179
+ }
180
+ /**
181
+ * 修改 LLM 模型 API。
182
+ */
183
+ async ModifyCloudNativeAPIGatewayLLMModelAPI(req, cb) {
184
+ return this.request("ModifyCloudNativeAPIGatewayLLMModelAPI", req, cb);
185
+ }
186
+ /**
187
+ * 查询 AI 网关Token 消耗统计汇总
188
+ */
189
+ async DescribeCloudNativeAPIGatewayLLMTokenUsageStatistics(req, cb) {
190
+ return this.request("DescribeCloudNativeAPIGatewayLLMTokenUsageStatistics", req, cb);
191
+ }
192
+ /**
193
+ * 创建AI 网关消费者组
194
+ */
195
+ async CreateCloudNativeAPIGatewayConsumerGroup(req, cb) {
196
+ return this.request("CreateCloudNativeAPIGatewayConsumerGroup", req, cb);
197
+ }
198
+ /**
199
+ * 查看AI网关MCP Tool
200
+ */
201
+ async DescribeCloudNativeAPIGatewayMCPTool(req, cb) {
202
+ return this.request("DescribeCloudNativeAPIGatewayMCPTool", req, cb);
203
+ }
204
+ /**
205
+ * 创建AI网关MCP Tool
206
+ */
207
+ async CreateCloudNativeAPIGatewayMCPTool(req, cb) {
208
+ return this.request("CreateCloudNativeAPIGatewayMCPTool", req, cb);
209
+ }
210
+ /**
211
+ * 修改AI网关MCP Tool
212
+ */
213
+ async ModifyCloudNativeAPIGatewayMCPTool(req, cb) {
214
+ return this.request("ModifyCloudNativeAPIGatewayMCPTool", req, cb);
215
+ }
216
+ /**
217
+ * 修改 MCP Server 的认证配置
218
+ */
219
+ async ModifyCloudNativeAPIGatewayMCPServerAuth(req, cb) {
220
+ return this.request("ModifyCloudNativeAPIGatewayMCPServerAuth", req, cb);
221
+ }
222
+ /**
223
+ * 查询密钥明文值(KMS 类型密钥不可获取)。
224
+ */
225
+ async DescribeCloudNativeAPIGatewaySecretKeyValue(req, cb) {
226
+ return this.request("DescribeCloudNativeAPIGatewaySecretKeyValue", req, cb);
227
+ }
228
+ /**
229
+ * 创建AI 网关MCP Server
230
+ */
231
+ async ModifyCloudNativeAPIGatewayMCPServerStatus(req, cb) {
232
+ return this.request("ModifyCloudNativeAPIGatewayMCPServerStatus", req, cb);
233
+ }
234
+ /**
235
+ * 创建AI网关MCP Server
236
+ */
237
+ async CreateCloudNativeAPIGatewayMCPServer(req, cb) {
238
+ return this.request("CreateCloudNativeAPIGatewayMCPServer", req, cb);
239
+ }
240
+ /**
241
+ * 修改AI网关密钥
242
+ */
243
+ async ModifyCloudNativeAPIGatewaySecretKey(req, cb) {
244
+ return this.request("ModifyCloudNativeAPIGatewaySecretKey", req, cb);
245
+ }
246
+ /**
247
+ * 查询 AI 网关Token 消耗统计
248
+ */
249
+ async DescribeCloudNativeAPIGatewayLLMTokenUsageList(req, cb) {
250
+ return this.request("DescribeCloudNativeAPIGatewayLLMTokenUsageList", req, cb);
251
+ }
252
+ /**
253
+ * 查询 AI 网关MCP Tool 列表
254
+ */
255
+ async DescribeCloudNativeAPIGatewayMCPToolList(req, cb) {
256
+ return this.request("DescribeCloudNativeAPIGatewayMCPToolList", req, cb);
257
+ }
258
+ /**
259
+ * 删除 LLM 模型服务(被模型 API 绑定时需先解绑)。
260
+ */
261
+ async DeleteCloudNativeAPIGatewayLLMModelService(req, cb) {
262
+ return this.request("DeleteCloudNativeAPIGatewayLLMModelService", req, cb);
263
+ }
264
+ /**
265
+ * 查询云原生消费者详情
266
+ */
267
+ async DescribeCloudNativeAPIGatewayConsumer(req, cb) {
268
+ return this.request("DescribeCloudNativeAPIGatewayConsumer", req, cb);
269
+ }
270
+ /**
271
+ * 查询密钥详情(SecretValue 字段会被掩码)。
272
+ */
273
+ async DescribeCloudNativeAPIGatewaySecretKey(req, cb) {
274
+ return this.request("DescribeCloudNativeAPIGatewaySecretKey", req, cb);
275
+ }
276
+ /**
277
+ * 为资源(模型 API / MCP Server)添加消费者组授权。
278
+ */
279
+ async AddCloudNativeAPIGatewayConsumerGroupAuth(req, cb) {
280
+ return this.request("AddCloudNativeAPIGatewayConsumerGroupAuth", req, cb);
281
+ }
282
+ /**
283
+ * 查询 LLM 模型服务列表。
284
+ */
285
+ async DescribeCloudNativeAPIGatewayLLMModelServices(req, cb) {
286
+ return this.request("DescribeCloudNativeAPIGatewayLLMModelServices", req, cb);
287
+ }
288
+ /**
289
+ * 删除AI网关消费者组
290
+ */
291
+ async DeleteCloudNativeAPIGatewayConsumerGroup(req, cb) {
292
+ return this.request("DeleteCloudNativeAPIGatewayConsumerGroup", req, cb);
293
+ }
294
+ /**
295
+ * 创建AI网关消费者。
296
+ */
297
+ async CreateCloudNativeAPIGatewayConsumer(req, cb) {
298
+ return this.request("CreateCloudNativeAPIGatewayConsumer", req, cb);
299
+ }
300
+ }
301
+ exports.Client = Client;