tencentcloud-sdk-nodejs-intl-en 3.0.1472 → 3.0.1474
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/package.json +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +6 -5
- package/tencentcloud/lighthouse/v20200324/models.js +129 -16
- package/tencentcloud/live/v20180801/live_client.js +13 -0
- package/tencentcloud/live/v20180801/models.js +58 -0
- package/tencentcloud/makers/index.js +3 -0
- package/tencentcloud/makers/v20261113/index.js +4 -0
- package/tencentcloud/makers/v20261113/makers_client.js +262 -0
- package/tencentcloud/makers/v20261113/models.js +3179 -0
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const models = require("./models");
|
|
18
|
+
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const ProjectFilter = models.ProjectFilter;
|
|
20
|
+
const ProjectDeployment = models.ProjectDeployment;
|
|
21
|
+
const DeleteProjectCustomDomainsRequest = models.DeleteProjectCustomDomainsRequest;
|
|
22
|
+
const DeleteProjectRequest = models.DeleteProjectRequest;
|
|
23
|
+
const CreateDeploymentRequest = models.CreateDeploymentRequest;
|
|
24
|
+
const DescribeDeploymentsRequest = models.DescribeDeploymentsRequest;
|
|
25
|
+
const Environment = models.Environment;
|
|
26
|
+
const DescribeProjectsRequest = models.DescribeProjectsRequest;
|
|
27
|
+
const CosCredentials = models.CosCredentials;
|
|
28
|
+
const CustomDomainItem = models.CustomDomainItem;
|
|
29
|
+
const DescribeEnvironmentsResponse = models.DescribeEnvironmentsResponse;
|
|
30
|
+
const ModifyZoneCustomDomainEnvRequest = models.ModifyZoneCustomDomainEnvRequest;
|
|
31
|
+
const DescribeProjectsResponse = models.DescribeProjectsResponse;
|
|
32
|
+
const OwnershipVerification = models.OwnershipVerification;
|
|
33
|
+
const ModifyProjectEnvsRequest = models.ModifyProjectEnvsRequest;
|
|
34
|
+
const CustomDomainInput = models.CustomDomainInput;
|
|
35
|
+
const DeleteProjectEnvsRequest = models.DeleteProjectEnvsRequest;
|
|
36
|
+
const DeleteProjectEnvsResponse = models.DeleteProjectEnvsResponse;
|
|
37
|
+
const ModifyProjectResponse = models.ModifyProjectResponse;
|
|
38
|
+
const NsVerification = models.NsVerification;
|
|
39
|
+
const FileVerification = models.FileVerification;
|
|
40
|
+
const Deployment = models.Deployment;
|
|
41
|
+
const DeleteProjectCustomDomainsResponse = models.DeleteProjectCustomDomainsResponse;
|
|
42
|
+
const DescribeProjectEnvsResponse = models.DescribeProjectEnvsResponse;
|
|
43
|
+
const DescribeDeploymentLogRequest = models.DescribeDeploymentLogRequest;
|
|
44
|
+
const DescribeDeploymentLogResponse = models.DescribeDeploymentLogResponse;
|
|
45
|
+
const SwitchConfig = models.SwitchConfig;
|
|
46
|
+
const DescribeZoneCustomDomainsResponse = models.DescribeZoneCustomDomainsResponse;
|
|
47
|
+
const ModifyProjectRequest = models.ModifyProjectRequest;
|
|
48
|
+
const ModifyZoneCustomDomainEnvResponse = models.ModifyZoneCustomDomainEnvResponse;
|
|
49
|
+
const EnvironmentEnvVar = models.EnvironmentEnvVar;
|
|
50
|
+
const DescribeCosTempTokenResponse = models.DescribeCosTempTokenResponse;
|
|
51
|
+
const Project = models.Project;
|
|
52
|
+
const CreateProjectResponse = models.CreateProjectResponse;
|
|
53
|
+
const CreateZoneCustomDomainResponse = models.CreateZoneCustomDomainResponse;
|
|
54
|
+
const DnsVerification = models.DnsVerification;
|
|
55
|
+
const DeleteProjectResponse = models.DeleteProjectResponse;
|
|
56
|
+
const DescribeDeploymentsResponse = models.DescribeDeploymentsResponse;
|
|
57
|
+
const DescribeZoneCustomDomainsRequest = models.DescribeZoneCustomDomainsRequest;
|
|
58
|
+
const DescribeProjectEnvsRequest = models.DescribeProjectEnvsRequest;
|
|
59
|
+
const CreateDeploymentResponse = models.CreateDeploymentResponse;
|
|
60
|
+
const Regions = models.Regions;
|
|
61
|
+
const DeploymentFilter = models.DeploymentFilter;
|
|
62
|
+
const ZoneDomain = models.ZoneDomain;
|
|
63
|
+
const HstsConfig = models.HstsConfig;
|
|
64
|
+
const ProjectEnvVar = models.ProjectEnvVar;
|
|
65
|
+
const CreateZoneCustomDomainRequest = models.CreateZoneCustomDomainRequest;
|
|
66
|
+
const DescribeEnvironmentsRequest = models.DescribeEnvironmentsRequest;
|
|
67
|
+
const ForceRedirectConfig = models.ForceRedirectConfig;
|
|
68
|
+
const ModifyProjectEnvsResponse = models.ModifyProjectEnvsResponse;
|
|
69
|
+
const EnvVar = models.EnvVar;
|
|
70
|
+
const DescribeCosTempTokenRequest = models.DescribeCosTempTokenRequest;
|
|
71
|
+
const CreateProjectRequest = models.CreateProjectRequest;
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* makers client
|
|
76
|
+
* @class
|
|
77
|
+
*/
|
|
78
|
+
class MakersClient extends AbstractClient {
|
|
79
|
+
|
|
80
|
+
constructor(credential, region, profile) {
|
|
81
|
+
super("makers.intl.tencentcloudapi.com", "2026-11-13", credential, region, profile);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Write environment variables based on the passed-in EnvVars.
|
|
86
|
+
* @param {ModifyProjectEnvsRequest} req
|
|
87
|
+
* @param {function(string, ModifyProjectEnvsResponse):void} cb
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
ModifyProjectEnvs(req, cb) {
|
|
91
|
+
let resp = new ModifyProjectEnvsResponse();
|
|
92
|
+
this.request("ModifyProjectEnvs", req, resp, cb);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Bind a custom domain name to a specified environment of a project.
|
|
97
|
+
* @param {CreateZoneCustomDomainRequest} req
|
|
98
|
+
* @param {function(string, CreateZoneCustomDomainResponse):void} cb
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
CreateZoneCustomDomain(req, cb) {
|
|
102
|
+
let resp = new CreateZoneCustomDomainResponse();
|
|
103
|
+
this.request("CreateZoneCustomDomain", req, resp, cb);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Query deployment records of a project.
|
|
108
|
+
* @param {DescribeDeploymentsRequest} req
|
|
109
|
+
* @param {function(string, DescribeDeploymentsResponse):void} cb
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
DescribeDeployments(req, cb) {
|
|
113
|
+
let resp = new DescribeDeploymentsResponse();
|
|
114
|
+
this.request("DescribeDeployments", req, resp, cb);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Delete environment variables by EnvVars. Match by Id or Key. Value is required but not used for matching. You can pass any value.
|
|
119
|
+
* @param {DeleteProjectEnvsRequest} req
|
|
120
|
+
* @param {function(string, DeleteProjectEnvsResponse):void} cb
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
DeleteProjectEnvs(req, cb) {
|
|
124
|
+
let resp = new DeleteProjectEnvsResponse();
|
|
125
|
+
this.request("DeleteProjectEnvs", req, resp, cb);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* This API is used to query projects under a site by page. Offset is the page number offset, and the backend skips Offset * Limit items.
|
|
130
|
+
* @param {DescribeProjectsRequest} req
|
|
131
|
+
* @param {function(string, DescribeProjectsResponse):void} cb
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
DescribeProjects(req, cb) {
|
|
135
|
+
let resp = new DescribeProjectsResponse();
|
|
136
|
+
this.request("DescribeProjects", req, resp, cb);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Query environments in a project, including built-in Production, Preview, and custom environments.
|
|
141
|
+
* @param {DescribeEnvironmentsRequest} req
|
|
142
|
+
* @param {function(string, DescribeEnvironmentsResponse):void} cb
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
DescribeEnvironments(req, cb) {
|
|
146
|
+
let resp = new DescribeEnvironmentsResponse();
|
|
147
|
+
this.request("DescribeEnvironments", req, resp, cb);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* This API is used to create a project. When uploading an artifact, pass Upload for Provider and Custom for Channel.
|
|
152
|
+
* @param {CreateProjectRequest} req
|
|
153
|
+
* @param {function(string, CreateProjectResponse):void} cb
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
CreateProject(req, cb) {
|
|
157
|
+
let resp = new CreateProjectResponse();
|
|
158
|
+
this.request("CreateProject", req, resp, cb);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Switch a bound custom domain name to another environment.
|
|
163
|
+
* @param {ModifyZoneCustomDomainEnvRequest} req
|
|
164
|
+
* @param {function(string, ModifyZoneCustomDomainEnvResponse):void} cb
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
ModifyZoneCustomDomainEnv(req, cb) {
|
|
168
|
+
let resp = new ModifyZoneCustomDomainEnvResponse();
|
|
169
|
+
this.request("ModifyZoneCustomDomainEnv", req, resp, cb);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Query project environment variables. If Env is not specified, return all application scopes.
|
|
174
|
+
* @param {DescribeProjectEnvsRequest} req
|
|
175
|
+
* @param {function(string, DescribeProjectEnvsResponse):void} cb
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
DescribeProjectEnvs(req, cb) {
|
|
179
|
+
let resp = new DescribeProjectEnvsResponse();
|
|
180
|
+
this.request("DescribeProjectEnvs", req, resp, cb);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Delete a project. In-progress builds prevent deletion.
|
|
185
|
+
* @param {DeleteProjectRequest} req
|
|
186
|
+
* @param {function(string, DeleteProjectResponse):void} cb
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
DeleteProject(req, cb) {
|
|
190
|
+
let resp = new DeleteProjectResponse();
|
|
191
|
+
this.request("DeleteProject", req, resp, cb);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Queries the custom and preset domain names of a project under a site.
|
|
196
|
+
* @param {DescribeZoneCustomDomainsRequest} req
|
|
197
|
+
* @param {function(string, DescribeZoneCustomDomainsResponse):void} cb
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
DescribeZoneCustomDomains(req, cb) {
|
|
201
|
+
let resp = new DescribeZoneCustomDomainsResponse();
|
|
202
|
+
this.request("DescribeZoneCustomDomains", req, resp, cb);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Modify the project name and build configuration. Fields not passed retain their original values.
|
|
207
|
+
* @param {ModifyProjectRequest} req
|
|
208
|
+
* @param {function(string, ModifyProjectResponse):void} cb
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
ModifyProject(req, cb) {
|
|
212
|
+
let resp = new ModifyProjectResponse();
|
|
213
|
+
this.request("ModifyProject", req, resp, cb);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* This API is used to create a deployment. When uploading an artifact, pass Upload for ViaMeta and Provider, and pass the path of the uploaded object for TempBucketPath.
|
|
218
|
+
* @param {CreateDeploymentRequest} req
|
|
219
|
+
* @param {function(string, CreateDeploymentResponse):void} cb
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
CreateDeployment(req, cb) {
|
|
223
|
+
let resp = new CreateDeploymentResponse();
|
|
224
|
+
this.request("CreateDeployment", req, resp, cb);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Return the access address of the build log.
|
|
229
|
+
* @param {DescribeDeploymentLogRequest} req
|
|
230
|
+
* @param {function(string, DescribeDeploymentLogResponse):void} cb
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
DescribeDeploymentLog(req, cb) {
|
|
234
|
+
let resp = new DescribeDeploymentLogResponse();
|
|
235
|
+
this.request("DescribeDeploymentLog", req, resp, cb);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Unbind a custom domain name from a project by domain name.
|
|
240
|
+
* @param {DeleteProjectCustomDomainsRequest} req
|
|
241
|
+
* @param {function(string, DeleteProjectCustomDomainsResponse):void} cb
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
DeleteProjectCustomDomains(req, cb) {
|
|
245
|
+
let resp = new DeleteProjectCustomDomainsResponse();
|
|
246
|
+
this.request("DeleteProjectCustomDomains", req, resp, cb);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Get the COS bucket, region, target path, and temporary key for uploading artifacts.
|
|
251
|
+
* @param {DescribeCosTempTokenRequest} req
|
|
252
|
+
* @param {function(string, DescribeCosTempTokenResponse):void} cb
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
DescribeCosTempToken(req, cb) {
|
|
256
|
+
let resp = new DescribeCosTempTokenResponse();
|
|
257
|
+
this.request("DescribeCosTempToken", req, resp, cb);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
}
|
|
262
|
+
module.exports = MakersClient;
|