tencentcloud-sdk-nodejs-intl-en 3.0.742 → 3.0.744
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/apigateway/v20180808/apigateway_client.js +2 -16
- package/tencentcloud/apigateway/v20180808/models.js +29 -139
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/teo/v20220901/models.js +3600 -7443
- package/tencentcloud/teo/v20220901/teo_client.js +375 -705
package/package.json
CHANGED
|
@@ -92,7 +92,6 @@ const BindApiAppRequest = models.BindApiAppRequest;
|
|
|
92
92
|
const IPStrategyApi = models.IPStrategyApi;
|
|
93
93
|
const DescribeIPStrategyResponse = models.DescribeIPStrategyResponse;
|
|
94
94
|
const DescribePluginRequest = models.DescribePluginRequest;
|
|
95
|
-
const DocumentSDK = models.DocumentSDK;
|
|
96
95
|
const AttachedApiInfo = models.AttachedApiInfo;
|
|
97
96
|
const CreateApiResponse = models.CreateApiResponse;
|
|
98
97
|
const DescribeIPStrategyApisStatusRequest = models.DescribeIPStrategyApisStatusRequest;
|
|
@@ -168,7 +167,6 @@ const ReleaseServiceResponse = models.ReleaseServiceResponse;
|
|
|
168
167
|
const APIDocInfo = models.APIDocInfo;
|
|
169
168
|
const CosConfig = models.CosConfig;
|
|
170
169
|
const ModifyApiIncrementRequest = models.ModifyApiIncrementRequest;
|
|
171
|
-
const GenerateApiDocumentRequest = models.GenerateApiDocumentRequest;
|
|
172
170
|
const ServiceUsagePlanSet = models.ServiceUsagePlanSet;
|
|
173
171
|
const CreateUpstreamRequest = models.CreateUpstreamRequest;
|
|
174
172
|
const ModifyServiceEnvironmentStrategyResponse = models.ModifyServiceEnvironmentStrategyResponse;
|
|
@@ -212,7 +210,7 @@ const CreateAPIDocRequest = models.CreateAPIDocRequest;
|
|
|
212
210
|
const DescribeApiAppBindApisStatusResponse = models.DescribeApiAppBindApisStatusResponse;
|
|
213
211
|
const DescribeServiceSubDomainsRequest = models.DescribeServiceSubDomainsRequest;
|
|
214
212
|
const ModifyApiAppRequest = models.ModifyApiAppRequest;
|
|
215
|
-
const
|
|
213
|
+
const ReleaseService = models.ReleaseService;
|
|
216
214
|
const DescribeUsagePlanEnvironmentsResponse = models.DescribeUsagePlanEnvironmentsResponse;
|
|
217
215
|
const DescribeServiceSubDomainsResponse = models.DescribeServiceSubDomainsResponse;
|
|
218
216
|
const AttachPluginRequest = models.AttachPluginRequest;
|
|
@@ -256,7 +254,6 @@ const UpdateServiceResponse = models.UpdateServiceResponse;
|
|
|
256
254
|
const UsagePlanInfo = models.UsagePlanInfo;
|
|
257
255
|
const DescribeServiceEnvironmentReleaseHistoryRequest = models.DescribeServiceEnvironmentReleaseHistoryRequest;
|
|
258
256
|
const UnbindApiAppRequest = models.UnbindApiAppRequest;
|
|
259
|
-
const ReleaseService = models.ReleaseService;
|
|
260
257
|
const CreateServiceResponse = models.CreateServiceResponse;
|
|
261
258
|
const DeleteAPIDocResponse = models.DeleteAPIDocResponse;
|
|
262
259
|
const DescribeServiceEnvironmentStrategyResponse = models.DescribeServiceEnvironmentStrategyResponse;
|
|
@@ -377,7 +374,7 @@ In API Gateway, a usage plan can be bound to multiple key pairs. You can use thi
|
|
|
377
374
|
}
|
|
378
375
|
|
|
379
376
|
/**
|
|
380
|
-
*
|
|
377
|
+
* u200dThis API is used to switch the running version of a service published in an environment to a specified version. After you create a service by using API Gateway and publish it to an environment, multiple versions will be generated during development. In this case, you can call this API to switch versions.
|
|
381
378
|
* @param {UpdateServiceRequest} req
|
|
382
379
|
* @param {function(string, UpdateServiceResponse):void} cb
|
|
383
380
|
* @public
|
|
@@ -564,17 +561,6 @@ In API Gateway, you can bind a custom domain name to a service and map its paths
|
|
|
564
561
|
this.request("DescribeApi", req, resp, cb);
|
|
565
562
|
}
|
|
566
563
|
|
|
567
|
-
/**
|
|
568
|
-
* This API is used to automatically generate API documents and SDKs. One document and one SDK will be generated for each environment under each service, respectively.
|
|
569
|
-
* @param {GenerateApiDocumentRequest} req
|
|
570
|
-
* @param {function(string, GenerateApiDocumentResponse):void} cb
|
|
571
|
-
* @public
|
|
572
|
-
*/
|
|
573
|
-
GenerateApiDocument(req, cb) {
|
|
574
|
-
let resp = new GenerateApiDocumentResponse();
|
|
575
|
-
this.request("GenerateApiDocument", req, resp, cb);
|
|
576
|
-
}
|
|
577
|
-
|
|
578
564
|
/**
|
|
579
565
|
* This API is used to unbind an application from an API.
|
|
580
566
|
* @param {UnbindApiAppRequest} req
|
|
@@ -2073,24 +2073,28 @@ class HealthCheckConf extends AbstractModel {
|
|
|
2073
2073
|
|
|
2074
2074
|
/**
|
|
2075
2075
|
* Whether health check is enabled.
|
|
2076
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2076
2077
|
* @type {boolean || null}
|
|
2077
2078
|
*/
|
|
2078
2079
|
this.IsHealthCheck = null;
|
|
2079
2080
|
|
|
2080
2081
|
/**
|
|
2081
|
-
* Health check threshold.
|
|
2082
|
+
* Health check threshold.
|
|
2083
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2082
2084
|
* @type {number || null}
|
|
2083
2085
|
*/
|
|
2084
2086
|
this.RequestVolumeThreshold = null;
|
|
2085
2087
|
|
|
2086
2088
|
/**
|
|
2087
|
-
* Window size.
|
|
2089
|
+
* Window size.
|
|
2090
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2088
2091
|
* @type {number || null}
|
|
2089
2092
|
*/
|
|
2090
2093
|
this.SleepWindowInMilliseconds = null;
|
|
2091
2094
|
|
|
2092
2095
|
/**
|
|
2093
2096
|
* Threshold percentage.
|
|
2097
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2094
2098
|
* @type {number || null}
|
|
2095
2099
|
*/
|
|
2096
2100
|
this.ErrorThresholdPercentage = null;
|
|
@@ -3709,25 +3713,29 @@ class ConstantParameter extends AbstractModel {
|
|
|
3709
3713
|
super();
|
|
3710
3714
|
|
|
3711
3715
|
/**
|
|
3712
|
-
* Constant parameter name
|
|
3716
|
+
* Constant parameter name This is only applicable when `ServiceType` is `HTTP`.
|
|
3717
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3713
3718
|
* @type {string || null}
|
|
3714
3719
|
*/
|
|
3715
3720
|
this.Name = null;
|
|
3716
3721
|
|
|
3717
3722
|
/**
|
|
3718
|
-
* Constant parameter description
|
|
3723
|
+
* Constant parameter description This is only applicable when `ServiceType` is `HTTP`.
|
|
3724
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3719
3725
|
* @type {string || null}
|
|
3720
3726
|
*/
|
|
3721
3727
|
this.Desc = null;
|
|
3722
3728
|
|
|
3723
3729
|
/**
|
|
3724
|
-
* Constant
|
|
3730
|
+
* Constant paramter location This is only applicable when `ServiceType` is `HTTP`.
|
|
3731
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3725
3732
|
* @type {string || null}
|
|
3726
3733
|
*/
|
|
3727
3734
|
this.Position = null;
|
|
3728
3735
|
|
|
3729
3736
|
/**
|
|
3730
|
-
* Default value of constant parameter
|
|
3737
|
+
* Default value of the constant parameter This is only applicable when `ServiceType` is `HTTP`.
|
|
3738
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3731
3739
|
* @type {string || null}
|
|
3732
3740
|
*/
|
|
3733
3741
|
this.DefaultValue = null;
|
|
@@ -4538,41 +4546,6 @@ class DescribePluginRequest extends AbstractModel {
|
|
|
4538
4546
|
}
|
|
4539
4547
|
}
|
|
4540
4548
|
|
|
4541
|
-
/**
|
|
4542
|
-
* API document download
|
|
4543
|
-
* @class
|
|
4544
|
-
*/
|
|
4545
|
-
class DocumentSDK extends AbstractModel {
|
|
4546
|
-
constructor(){
|
|
4547
|
-
super();
|
|
4548
|
-
|
|
4549
|
-
/**
|
|
4550
|
-
* Download link of generated file. Generated documents will be stored in COS.
|
|
4551
|
-
* @type {string || null}
|
|
4552
|
-
*/
|
|
4553
|
-
this.DocumentURL = null;
|
|
4554
|
-
|
|
4555
|
-
/**
|
|
4556
|
-
* Download link of generated SDK file. Generated SDK files will be stored in COS.
|
|
4557
|
-
* @type {string || null}
|
|
4558
|
-
*/
|
|
4559
|
-
this.SdkURL = null;
|
|
4560
|
-
|
|
4561
|
-
}
|
|
4562
|
-
|
|
4563
|
-
/**
|
|
4564
|
-
* @private
|
|
4565
|
-
*/
|
|
4566
|
-
deserialize(params) {
|
|
4567
|
-
if (!params) {
|
|
4568
|
-
return;
|
|
4569
|
-
}
|
|
4570
|
-
this.DocumentURL = 'DocumentURL' in params ? params.DocumentURL : null;
|
|
4571
|
-
this.SdkURL = 'SdkURL' in params ? params.SdkURL : null;
|
|
4572
|
-
|
|
4573
|
-
}
|
|
4574
|
-
}
|
|
4575
|
-
|
|
4576
4549
|
/**
|
|
4577
4550
|
* Information of the API bound with the plugin
|
|
4578
4551
|
* @class
|
|
@@ -5422,7 +5395,8 @@ class UsagePlan extends AbstractModel {
|
|
|
5422
5395
|
this.UsagePlanName = null;
|
|
5423
5396
|
|
|
5424
5397
|
/**
|
|
5425
|
-
* Usage plan description.
|
|
5398
|
+
* Usage plan description.
|
|
5399
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5426
5400
|
* @type {string || null}
|
|
5427
5401
|
*/
|
|
5428
5402
|
this.UsagePlanDesc = null;
|
|
@@ -7778,6 +7752,7 @@ class ApiIdStatus extends AbstractModel {
|
|
|
7778
7752
|
|
|
7779
7753
|
/**
|
|
7780
7754
|
* API description
|
|
7755
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7781
7756
|
* @type {string || null}
|
|
7782
7757
|
*/
|
|
7783
7758
|
this.ApiDesc = null;
|
|
@@ -9211,48 +9186,6 @@ class ModifyApiIncrementRequest extends AbstractModel {
|
|
|
9211
9186
|
}
|
|
9212
9187
|
}
|
|
9213
9188
|
|
|
9214
|
-
/**
|
|
9215
|
-
* GenerateApiDocument request structure.
|
|
9216
|
-
* @class
|
|
9217
|
-
*/
|
|
9218
|
-
class GenerateApiDocumentRequest extends AbstractModel {
|
|
9219
|
-
constructor(){
|
|
9220
|
-
super();
|
|
9221
|
-
|
|
9222
|
-
/**
|
|
9223
|
-
* Unique service ID of the document to be created.
|
|
9224
|
-
* @type {string || null}
|
|
9225
|
-
*/
|
|
9226
|
-
this.ServiceId = null;
|
|
9227
|
-
|
|
9228
|
-
/**
|
|
9229
|
-
* Environment of the service for which to create an SDK.
|
|
9230
|
-
* @type {string || null}
|
|
9231
|
-
*/
|
|
9232
|
-
this.GenEnvironment = null;
|
|
9233
|
-
|
|
9234
|
-
/**
|
|
9235
|
-
* Programming language of the SDK to be created. Currently, only Python and JavaScript are supported.
|
|
9236
|
-
* @type {string || null}
|
|
9237
|
-
*/
|
|
9238
|
-
this.GenLanguage = null;
|
|
9239
|
-
|
|
9240
|
-
}
|
|
9241
|
-
|
|
9242
|
-
/**
|
|
9243
|
-
* @private
|
|
9244
|
-
*/
|
|
9245
|
-
deserialize(params) {
|
|
9246
|
-
if (!params) {
|
|
9247
|
-
return;
|
|
9248
|
-
}
|
|
9249
|
-
this.ServiceId = 'ServiceId' in params ? params.ServiceId : null;
|
|
9250
|
-
this.GenEnvironment = 'GenEnvironment' in params ? params.GenEnvironment : null;
|
|
9251
|
-
this.GenLanguage = 'GenLanguage' in params ? params.GenLanguage : null;
|
|
9252
|
-
|
|
9253
|
-
}
|
|
9254
|
-
}
|
|
9255
|
-
|
|
9256
9189
|
/**
|
|
9257
9190
|
* List of usage plans bound to service
|
|
9258
9191
|
* @class
|
|
@@ -11302,24 +11235,26 @@ class ModifyApiAppRequest extends AbstractModel {
|
|
|
11302
11235
|
}
|
|
11303
11236
|
|
|
11304
11237
|
/**
|
|
11305
|
-
*
|
|
11238
|
+
* Returned result of service publishing
|
|
11306
11239
|
* @class
|
|
11307
11240
|
*/
|
|
11308
|
-
class
|
|
11241
|
+
class ReleaseService extends AbstractModel {
|
|
11309
11242
|
constructor(){
|
|
11310
11243
|
super();
|
|
11311
11244
|
|
|
11312
11245
|
/**
|
|
11313
|
-
*
|
|
11314
|
-
|
|
11246
|
+
* Release remarks.
|
|
11247
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
11248
|
+
* @type {string || null}
|
|
11315
11249
|
*/
|
|
11316
|
-
this.
|
|
11250
|
+
this.ReleaseDesc = null;
|
|
11317
11251
|
|
|
11318
11252
|
/**
|
|
11319
|
-
*
|
|
11253
|
+
* Published version ID.
|
|
11254
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
11320
11255
|
* @type {string || null}
|
|
11321
11256
|
*/
|
|
11322
|
-
this.
|
|
11257
|
+
this.ReleaseVersion = null;
|
|
11323
11258
|
|
|
11324
11259
|
}
|
|
11325
11260
|
|
|
@@ -11330,13 +11265,8 @@ class GenerateApiDocumentResponse extends AbstractModel {
|
|
|
11330
11265
|
if (!params) {
|
|
11331
11266
|
return;
|
|
11332
11267
|
}
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
let obj = new DocumentSDK();
|
|
11336
|
-
obj.deserialize(params.Result)
|
|
11337
|
-
this.Result = obj;
|
|
11338
|
-
}
|
|
11339
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11268
|
+
this.ReleaseDesc = 'ReleaseDesc' in params ? params.ReleaseDesc : null;
|
|
11269
|
+
this.ReleaseVersion = 'ReleaseVersion' in params ? params.ReleaseVersion : null;
|
|
11340
11270
|
|
|
11341
11271
|
}
|
|
11342
11272
|
}
|
|
@@ -13530,43 +13460,6 @@ class UnbindApiAppRequest extends AbstractModel {
|
|
|
13530
13460
|
}
|
|
13531
13461
|
}
|
|
13532
13462
|
|
|
13533
|
-
/**
|
|
13534
|
-
* Returned result of service publishing
|
|
13535
|
-
* @class
|
|
13536
|
-
*/
|
|
13537
|
-
class ReleaseService extends AbstractModel {
|
|
13538
|
-
constructor(){
|
|
13539
|
-
super();
|
|
13540
|
-
|
|
13541
|
-
/**
|
|
13542
|
-
* Release remarks.
|
|
13543
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
13544
|
-
* @type {string || null}
|
|
13545
|
-
*/
|
|
13546
|
-
this.ReleaseDesc = null;
|
|
13547
|
-
|
|
13548
|
-
/**
|
|
13549
|
-
* Published version ID.
|
|
13550
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
13551
|
-
* @type {string || null}
|
|
13552
|
-
*/
|
|
13553
|
-
this.ReleaseVersion = null;
|
|
13554
|
-
|
|
13555
|
-
}
|
|
13556
|
-
|
|
13557
|
-
/**
|
|
13558
|
-
* @private
|
|
13559
|
-
*/
|
|
13560
|
-
deserialize(params) {
|
|
13561
|
-
if (!params) {
|
|
13562
|
-
return;
|
|
13563
|
-
}
|
|
13564
|
-
this.ReleaseDesc = 'ReleaseDesc' in params ? params.ReleaseDesc : null;
|
|
13565
|
-
this.ReleaseVersion = 'ReleaseVersion' in params ? params.ReleaseVersion : null;
|
|
13566
|
-
|
|
13567
|
-
}
|
|
13568
|
-
}
|
|
13569
|
-
|
|
13570
13463
|
/**
|
|
13571
13464
|
* CreateService response structure.
|
|
13572
13465
|
* @class
|
|
@@ -15131,7 +15024,6 @@ module.exports = {
|
|
|
15131
15024
|
IPStrategyApi: IPStrategyApi,
|
|
15132
15025
|
DescribeIPStrategyResponse: DescribeIPStrategyResponse,
|
|
15133
15026
|
DescribePluginRequest: DescribePluginRequest,
|
|
15134
|
-
DocumentSDK: DocumentSDK,
|
|
15135
15027
|
AttachedApiInfo: AttachedApiInfo,
|
|
15136
15028
|
CreateApiResponse: CreateApiResponse,
|
|
15137
15029
|
DescribeIPStrategyApisStatusRequest: DescribeIPStrategyApisStatusRequest,
|
|
@@ -15207,7 +15099,6 @@ module.exports = {
|
|
|
15207
15099
|
APIDocInfo: APIDocInfo,
|
|
15208
15100
|
CosConfig: CosConfig,
|
|
15209
15101
|
ModifyApiIncrementRequest: ModifyApiIncrementRequest,
|
|
15210
|
-
GenerateApiDocumentRequest: GenerateApiDocumentRequest,
|
|
15211
15102
|
ServiceUsagePlanSet: ServiceUsagePlanSet,
|
|
15212
15103
|
CreateUpstreamRequest: CreateUpstreamRequest,
|
|
15213
15104
|
ModifyServiceEnvironmentStrategyResponse: ModifyServiceEnvironmentStrategyResponse,
|
|
@@ -15251,7 +15142,7 @@ module.exports = {
|
|
|
15251
15142
|
DescribeApiAppBindApisStatusResponse: DescribeApiAppBindApisStatusResponse,
|
|
15252
15143
|
DescribeServiceSubDomainsRequest: DescribeServiceSubDomainsRequest,
|
|
15253
15144
|
ModifyApiAppRequest: ModifyApiAppRequest,
|
|
15254
|
-
|
|
15145
|
+
ReleaseService: ReleaseService,
|
|
15255
15146
|
DescribeUsagePlanEnvironmentsResponse: DescribeUsagePlanEnvironmentsResponse,
|
|
15256
15147
|
DescribeServiceSubDomainsResponse: DescribeServiceSubDomainsResponse,
|
|
15257
15148
|
AttachPluginRequest: AttachPluginRequest,
|
|
@@ -15295,7 +15186,6 @@ module.exports = {
|
|
|
15295
15186
|
UsagePlanInfo: UsagePlanInfo,
|
|
15296
15187
|
DescribeServiceEnvironmentReleaseHistoryRequest: DescribeServiceEnvironmentReleaseHistoryRequest,
|
|
15297
15188
|
UnbindApiAppRequest: UnbindApiAppRequest,
|
|
15298
|
-
ReleaseService: ReleaseService,
|
|
15299
15189
|
CreateServiceResponse: CreateServiceResponse,
|
|
15300
15190
|
DeleteAPIDocResponse: DeleteAPIDocResponse,
|
|
15301
15191
|
DescribeServiceEnvironmentStrategyResponse: DescribeServiceEnvironmentStrategyResponse,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.744";
|
|
2
2
|
module.exports = sdkVersion
|