tencentcloud-sdk-nodejs 4.0.572 → 4.0.573

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.
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.572";
1
+ export declare const sdkVersion = "4.0.573";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.0.572";
4
+ exports.sdkVersion = "4.0.573";
@@ -207,6 +207,7 @@ export { tms } from "./tms";
207
207
  export { tmt } from "./tmt";
208
208
  export { trdp } from "./trdp";
209
209
  export { trp } from "./trp";
210
+ export { trro } from "./trro";
210
211
  export { trtc } from "./trtc";
211
212
  export { tse } from "./tse";
212
213
  export { tsf } from "./tsf";
@@ -418,6 +418,8 @@ var trdp_1 = require("./trdp");
418
418
  Object.defineProperty(exports, "trdp", { enumerable: true, get: function () { return trdp_1.trdp; } });
419
419
  var trp_1 = require("./trp");
420
420
  Object.defineProperty(exports, "trp", { enumerable: true, get: function () { return trp_1.trp; } });
421
+ var trro_1 = require("./trro");
422
+ Object.defineProperty(exports, "trro", { enumerable: true, get: function () { return trro_1.trro; } });
421
423
  var trtc_1 = require("./trtc");
422
424
  Object.defineProperty(exports, "trtc", { enumerable: true, get: function () { return trtc_1.trtc; } });
423
425
  var tse_1 = require("./tse");
@@ -0,0 +1,6 @@
1
+ export declare const trro: {
2
+ v20220325: {
3
+ Client: typeof import("./v20220325/trro_client").Client;
4
+ Models: typeof import("./v20220325/trro_models");
5
+ };
6
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.trro = void 0;
4
+ const v20220325_1 = require("./v20220325");
5
+ exports.trro = {
6
+ v20220325: v20220325_1.v20220325,
7
+ };
@@ -0,0 +1,6 @@
1
+ import * as Models from "./trro_models";
2
+ import { Client } from "./trro_client";
3
+ export declare const v20220325: {
4
+ Client: typeof Client;
5
+ Models: typeof Models;
6
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.v20220325 = void 0;
4
+ const Models = require("./trro_models");
5
+ const trro_client_1 = require("./trro_client");
6
+ exports.v20220325 = {
7
+ Client: trro_client_1.Client,
8
+ Models: Models
9
+ };
@@ -0,0 +1,78 @@
1
+ import { AbstractClient } from "../../../common/abstract_client";
2
+ import { ClientConfig } from "../../../common/interface";
3
+ import { DescribeDeviceSessionDetailsResponse, DeleteProjectRequest, ModifyDeviceResponse, DescribePolicyResponse, BatchDeleteDevicesRequest, DescribeDeviceInfoRequest, DescribeSessionStatisticsByIntervalResponse, DescribeProjectInfoRequest, ModifyPolicyRequest, DescribeDeviceInfoResponse, DescribeProjectListResponse, ModifyProjectResponse, BatchDeletePolicyResponse, DescribePolicyRequest, DescribeSessionStatisticsRequest, BatchDeleteDevicesResponse, ModifyProjectRequest, ModifyDeviceRequest, DescribeProjectListRequest, BatchDeletePolicyRequest, DescribeDeviceSessionListResponse, DescribeProjectInfoResponse, DescribeDeviceListResponse, DeleteProjectResponse, DescribeDeviceListRequest, CreateDeviceResponse, DescribeSessionStatisticsByIntervalRequest, CreateDeviceRequest, DescribeSessionStatisticsResponse, DescribeDeviceSessionDetailsRequest, DescribeDeviceSessionListRequest, ModifyPolicyResponse, CreateProjectResponse, CreateProjectRequest } from "./trro_models";
4
+ /**
5
+ * trro client
6
+ * @class
7
+ */
8
+ export declare class Client extends AbstractClient {
9
+ constructor(clientConfig: ClientConfig);
10
+ /**
11
+ * 获取各时间段的会话统计值
12
+ */
13
+ DescribeSessionStatisticsByInterval(req: DescribeSessionStatisticsByIntervalRequest, cb?: (error: string, rep: DescribeSessionStatisticsByIntervalResponse) => void): Promise<DescribeSessionStatisticsByIntervalResponse>;
14
+ /**
15
+ * 用于批量删除修改权限配置
16
+ */
17
+ BatchDeletePolicy(req: BatchDeletePolicyRequest, cb?: (error: string, rep: BatchDeletePolicyResponse) => void): Promise<BatchDeletePolicyResponse>;
18
+ /**
19
+ * 用于创建设备
20
+ */
21
+ CreateDevice(req: CreateDeviceRequest, cb?: (error: string, rep: CreateDeviceResponse) => void): Promise<CreateDeviceResponse>;
22
+ /**
23
+ * 获取会话统计值
24
+ */
25
+ DescribeSessionStatistics(req: DescribeSessionStatisticsRequest, cb?: (error: string, rep: DescribeSessionStatisticsResponse) => void): Promise<DescribeSessionStatisticsResponse>;
26
+ /**
27
+ * 用于批量删除设备
28
+ */
29
+ BatchDeleteDevices(req: BatchDeleteDevicesRequest, cb?: (error: string, rep: BatchDeleteDevicesResponse) => void): Promise<BatchDeleteDevicesResponse>;
30
+ /**
31
+ * 获取设备会话列表
32
+ */
33
+ DescribeDeviceSessionList(req: DescribeDeviceSessionListRequest, cb?: (error: string, rep: DescribeDeviceSessionListResponse) => void): Promise<DescribeDeviceSessionListResponse>;
34
+ /**
35
+ * 用于修改权限配置
36
+ */
37
+ ModifyPolicy(req: ModifyPolicyRequest, cb?: (error: string, rep: ModifyPolicyResponse) => void): Promise<ModifyPolicyResponse>;
38
+ /**
39
+ * 用于获取项目信息
40
+ */
41
+ DescribeProjectInfo(req: DescribeProjectInfoRequest, cb?: (error: string, rep: DescribeProjectInfoResponse) => void): Promise<DescribeProjectInfoResponse>;
42
+ /**
43
+ * 用于创建项目
44
+ */
45
+ CreateProject(req: CreateProjectRequest, cb?: (error: string, rep: CreateProjectResponse) => void): Promise<CreateProjectResponse>;
46
+ /**
47
+ * 用于获取指定设备信息
48
+ */
49
+ DescribeDeviceInfo(req: DescribeDeviceInfoRequest, cb?: (error: string, rep: DescribeDeviceInfoResponse) => void): Promise<DescribeDeviceInfoResponse>;
50
+ /**
51
+ * 用于删除项目
52
+ */
53
+ DeleteProject(req: DeleteProjectRequest, cb?: (error: string, rep: DeleteProjectResponse) => void): Promise<DeleteProjectResponse>;
54
+ /**
55
+ * 用于获取设备信息列表
56
+ */
57
+ DescribeDeviceList(req: DescribeDeviceListRequest, cb?: (error: string, rep: DescribeDeviceListResponse) => void): Promise<DescribeDeviceListResponse>;
58
+ /**
59
+ * 用于修改项目信息
60
+ */
61
+ ModifyProject(req: ModifyProjectRequest, cb?: (error: string, rep: ModifyProjectResponse) => void): Promise<ModifyProjectResponse>;
62
+ /**
63
+ * 用于获取项目列表
64
+ */
65
+ DescribeProjectList(req: DescribeProjectListRequest, cb?: (error: string, rep: DescribeProjectListResponse) => void): Promise<DescribeProjectListResponse>;
66
+ /**
67
+ * 用于查看权限配置
68
+ */
69
+ DescribePolicy(req: DescribePolicyRequest, cb?: (error: string, rep: DescribePolicyResponse) => void): Promise<DescribePolicyResponse>;
70
+ /**
71
+ * 用于修改设备信息
72
+ */
73
+ ModifyDevice(req: ModifyDeviceRequest, cb?: (error: string, rep: ModifyDeviceResponse) => void): Promise<ModifyDeviceResponse>;
74
+ /**
75
+ * 获取设备会话数据详单
76
+ */
77
+ DescribeDeviceSessionDetails(req: DescribeDeviceSessionDetailsRequest, cb?: (error: string, rep: DescribeDeviceSessionDetailsResponse) => void): Promise<DescribeDeviceSessionDetailsResponse>;
78
+ }
@@ -0,0 +1,133 @@
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 THL A29 Limited, a Tencent company. 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
+ * trro client
24
+ * @class
25
+ */
26
+ class Client extends abstract_client_1.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("trro.tencentcloudapi.com", "2022-03-25", clientConfig);
29
+ }
30
+ /**
31
+ * 获取各时间段的会话统计值
32
+ */
33
+ async DescribeSessionStatisticsByInterval(req, cb) {
34
+ return this.request("DescribeSessionStatisticsByInterval", req, cb);
35
+ }
36
+ /**
37
+ * 用于批量删除修改权限配置
38
+ */
39
+ async BatchDeletePolicy(req, cb) {
40
+ return this.request("BatchDeletePolicy", req, cb);
41
+ }
42
+ /**
43
+ * 用于创建设备
44
+ */
45
+ async CreateDevice(req, cb) {
46
+ return this.request("CreateDevice", req, cb);
47
+ }
48
+ /**
49
+ * 获取会话统计值
50
+ */
51
+ async DescribeSessionStatistics(req, cb) {
52
+ return this.request("DescribeSessionStatistics", req, cb);
53
+ }
54
+ /**
55
+ * 用于批量删除设备
56
+ */
57
+ async BatchDeleteDevices(req, cb) {
58
+ return this.request("BatchDeleteDevices", req, cb);
59
+ }
60
+ /**
61
+ * 获取设备会话列表
62
+ */
63
+ async DescribeDeviceSessionList(req, cb) {
64
+ return this.request("DescribeDeviceSessionList", req, cb);
65
+ }
66
+ /**
67
+ * 用于修改权限配置
68
+ */
69
+ async ModifyPolicy(req, cb) {
70
+ return this.request("ModifyPolicy", req, cb);
71
+ }
72
+ /**
73
+ * 用于获取项目信息
74
+ */
75
+ async DescribeProjectInfo(req, cb) {
76
+ return this.request("DescribeProjectInfo", req, cb);
77
+ }
78
+ /**
79
+ * 用于创建项目
80
+ */
81
+ async CreateProject(req, cb) {
82
+ return this.request("CreateProject", req, cb);
83
+ }
84
+ /**
85
+ * 用于获取指定设备信息
86
+ */
87
+ async DescribeDeviceInfo(req, cb) {
88
+ return this.request("DescribeDeviceInfo", req, cb);
89
+ }
90
+ /**
91
+ * 用于删除项目
92
+ */
93
+ async DeleteProject(req, cb) {
94
+ return this.request("DeleteProject", req, cb);
95
+ }
96
+ /**
97
+ * 用于获取设备信息列表
98
+ */
99
+ async DescribeDeviceList(req, cb) {
100
+ return this.request("DescribeDeviceList", req, cb);
101
+ }
102
+ /**
103
+ * 用于修改项目信息
104
+ */
105
+ async ModifyProject(req, cb) {
106
+ return this.request("ModifyProject", req, cb);
107
+ }
108
+ /**
109
+ * 用于获取项目列表
110
+ */
111
+ async DescribeProjectList(req, cb) {
112
+ return this.request("DescribeProjectList", req, cb);
113
+ }
114
+ /**
115
+ * 用于查看权限配置
116
+ */
117
+ async DescribePolicy(req, cb) {
118
+ return this.request("DescribePolicy", req, cb);
119
+ }
120
+ /**
121
+ * 用于修改设备信息
122
+ */
123
+ async ModifyDevice(req, cb) {
124
+ return this.request("ModifyDevice", req, cb);
125
+ }
126
+ /**
127
+ * 获取设备会话数据详单
128
+ */
129
+ async DescribeDeviceSessionDetails(req, cb) {
130
+ return this.request("DescribeDeviceSessionDetails", req, cb);
131
+ }
132
+ }
133
+ exports.Client = Client;