tencentcloud-sdk-nodejs 4.0.229 → 4.0.233

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 (102) hide show
  1. package/CHANGELOG.md +551 -7
  2. package/package.json +1 -1
  3. package/products.md +154 -154
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/advisor/v20200721/advisor_client.ts +1 -0
  6. package/src/services/advisor/v20200721/advisor_models.ts +21 -0
  7. package/src/services/antiddos/v20200309/antiddos_client.ts +1 -1
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +2 -2
  9. package/src/services/apigateway/v20180808/apigateway_client.ts +60 -17
  10. package/src/services/apigateway/v20180808/apigateway_models.ts +438 -70
  11. package/src/services/cam/v20190116/cam_models.ts +10 -5
  12. package/src/services/cdn/v20180606/cdn_client.ts +18 -4
  13. package/src/services/cdn/v20180606/cdn_models.ts +139 -53
  14. package/src/services/cfw/v20190904/cfw_models.ts +10 -10
  15. package/src/services/cme/v20191029/cme_models.ts +1 -1
  16. package/src/services/cpdp/v20190820/cpdp_client.ts +17 -4
  17. package/src/services/cpdp/v20190820/cpdp_models.ts +179 -66
  18. package/src/services/cvm/v20170312/cvm_client.ts +1 -0
  19. package/src/services/cvm/v20170312/cvm_models.ts +13 -10
  20. package/src/services/cwp/v20180228/cwp_models.ts +7 -7
  21. package/src/services/dts/v20180330/dts_client.ts +8 -119
  22. package/src/services/dts/v20180330/dts_models.ts +371 -875
  23. package/src/services/ecm/v20190719/ecm_models.ts +6 -0
  24. package/src/services/eiam/v20210420/eiam_models.ts +5 -5
  25. package/src/services/es/v20180416/es_models.ts +37 -0
  26. package/src/services/essbasic/v20210526/essbasic_models.ts +6 -0
  27. package/src/services/iotcloud/v20180614/iotcloud_models.ts +6 -6
  28. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +46 -9
  29. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +252 -61
  30. package/src/services/iotvideo/v20201215/iotvideo_models.ts +6 -1
  31. package/src/services/ocr/v20181119/ocr_client.ts +13 -0
  32. package/src/services/ocr/v20181119/ocr_models.ts +211 -25
  33. package/src/services/postgres/v20170312/postgres_client.ts +13 -1
  34. package/src/services/postgres/v20170312/postgres_models.ts +72 -2
  35. package/src/services/redis/v20180412/redis_models.ts +9 -2
  36. package/src/services/scf/v20180416/scf_client.ts +2 -0
  37. package/src/services/scf/v20180416/scf_models.ts +49 -0
  38. package/src/services/ses/v20201002/ses_models.ts +5 -3
  39. package/src/services/sms/v20210111/sms_models.ts +8 -6
  40. package/src/services/tcb/v20180608/tcb_client.ts +28 -4
  41. package/src/services/tcb/v20180608/tcb_models.ts +148 -21
  42. package/src/services/tdmq/v20200217/tdmq_client.ts +4 -2
  43. package/src/services/tiia/v20190529/tiia_client.ts +1 -0
  44. package/src/services/tiia/v20190529/tiia_models.ts +34 -0
  45. package/tencentcloud/common/sdk_version.d.ts +1 -1
  46. package/tencentcloud/common/sdk_version.js +1 -1
  47. package/tencentcloud/services/advisor/v20200721/advisor_models.d.ts +18 -0
  48. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
  49. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +1 -1
  50. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +2 -2
  51. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +17 -5
  52. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +24 -6
  53. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +369 -60
  54. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +9 -5
  55. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +5 -1
  56. package/tencentcloud/services/cdn/v20180606/cdn_client.js +6 -0
  57. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +118 -45
  58. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +10 -10
  59. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +1 -1
  60. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +7 -3
  61. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +8 -2
  62. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +156 -62
  63. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -0
  64. package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -0
  65. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +8 -5
  66. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +7 -7
  67. package/tencentcloud/services/dts/v20180330/dts_client.d.ts +1 -42
  68. package/tencentcloud/services/dts/v20180330/dts_client.js +0 -57
  69. package/tencentcloud/services/dts/v20180330/dts_models.d.ts +219 -645
  70. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +5 -0
  71. package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +5 -5
  72. package/tencentcloud/services/es/v20180416/es_models.d.ts +30 -0
  73. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -0
  74. package/tencentcloud/services/iotcloud/v20180614/iotcloud_models.d.ts +6 -6
  75. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +15 -3
  76. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +21 -3
  77. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +214 -54
  78. package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +5 -1
  79. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -1
  80. package/tencentcloud/services/ocr/v20181119/ocr_client.js +7 -0
  81. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +179 -25
  82. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +5 -1
  83. package/tencentcloud/services/postgres/v20170312/postgres_client.js +6 -0
  84. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +60 -2
  85. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +7 -1
  86. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +42 -0
  87. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +3 -1
  88. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +8 -6
  89. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +9 -1
  90. package/tencentcloud/services/tcb/v20180608/tcb_client.js +12 -0
  91. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +128 -21
  92. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +2 -0
  93. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +2 -0
  94. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +29 -0
  95. package/test/apigateway.v20180808.test.js +34 -4
  96. package/test/cdn.v20180606.test.js +10 -0
  97. package/test/cpdp.v20190820.test.js +10 -0
  98. package/test/dts.v20180330.test.js +0 -80
  99. package/test/iotexplorer.v20190423.test.js +32 -2
  100. package/test/ocr.v20181119.test.js +10 -0
  101. package/test/postgres.v20170312.test.js +10 -0
  102. package/test/tcb.v20180608.test.js +20 -0
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeEnvLimitResponse, DescribeCloudBaseRunAllVpcsResponse, CheckTcbServiceResponse, DescribeCloudBaseRunConfForGateWayRequest, DescribeCloudBaseRunServerVersionRequest, TurnOnStandaloneGatewayResponse, DescribeEnvLimitRequest, DescribeEnvDealRegionResponse, DeleteCloudBaseRunServerVersionResponse, CommonServiceAPIResponse, DescribeStandaloneGatewayRequest, DescribeStandaloneGatewayPackageRequest, DescribePostpayPackageFreeQuotasRequest, DescribeEndUserLoginStatisticRequest, DescribeCloudBaseBuildServiceResponse, DescribeEndUsersRequest, DescribeCloudBaseBuildServiceRequest, DescribeCloudBaseRunVersionRequest, DestroyStandaloneGatewayRequest, CreateWxCloudBaseRunServerDBClusterResponse, ReplaceActivityRecordResponse, DescribeSpecialCostItemsRequest, DescribeCloudBaseRunResourceForExtendRequest, ModifyEndUserRequest, DescribeCurveDataResponse, RollUpdateCloudBaseRunServerVersionResponse, DescribeCloudBaseRunOperationTypesRequest, DescribeAuthDomainsResponse, DescribeStandaloneGatewayResponse, DescribeWxCloudBaseRunEnvsResponse, CreateHostingDomainRequest, DescribeCloudBaseRunResourceRequest, DescribeCloudBaseRunServerRequest, DescribePostpayFreeQuotasRequest, DescribeActivityInfoResponse, DestroyStandaloneGatewayResponse, DescribeCloudBaseRunServerVersionResponse, DeleteEndUserRequest, DescribeHostingDomainTaskRequest, DescribeQuotaDataResponse, CommonServiceAPIRequest, DestroyStaticStoreRequest, CreateWxCloudBaseRunEnvRequest, ModifyCloudBaseRunServerFlowConfRequest, DescribeActivityRecordResponse, CreateStaticStoreRequest, CreateWxCloudBaseRunServerDBClusterRequest, DeleteCloudBaseProjectLatestVersionResponse, CreateAuthDomainResponse, ModifyDatabaseACLRequest, DescribeEnvsRequest, DeleteWxGatewayRouteRequest, DescribeEnvPostpaidDeductRequest, DescribeExtraPkgBillingInfoRequest, BindEnvGatewayResponse, DescribeWxCloudBaseRunSubNetsResponse, DescribeEnvFreeQuotaRequest, DescribeEndUserLoginStatisticResponse, DescribeEnvPostpaidDeductResponse, CreateCloudBaseRunResourceResponse, DescribeStandaloneGatewayPackageResponse, DestroyStaticStoreResponse, DeleteEndUserResponse, ModifyDatabaseACLResponse, ModifyCloudBaseRunServerFlowConfResponse, DescribeCloudBaseRunOperationTypesResponse, EstablishCloudBaseRunServerResponse, DestroyEnvRequest, DestroyEnvResponse, DescribeCloudBaseProjectVersionListRequest, TurnOffStandaloneGatewayResponse, DescribeEnvsResponse, CreateAuthDomainRequest, CreateHostingDomainResponse, DescribeActivityRecordRequest, CreateWxCloudBaseRunEnvResponse, DeleteCloudBaseRunServerVersionRequest, CreateCloudBaseRunServerVersionRequest, DescribeWxCloudBaseRunSubNetsRequest, DescribeCloudBaseRunAllVpcsRequest, CreatePostpayPackageResponse, DescribeExtensionUploadInfoRequest, ReplaceActivityRecordRequest, DeleteWxGatewayRouteResponse, EstablishCloudBaseRunServerRequest, DescribeSpecialCostItemsResponse, CreateStandaloneGatewayRequest, DescribeCloudBaseProjectVersionListResponse, DescribeDownloadFileRequest, ReinstateEnvResponse, DescribeEnvFreeQuotaResponse, CreateAndDeployCloudBaseProjectResponse, DescribeCloudBaseRunResourceForExtendResponse, CreateAndDeployCloudBaseProjectRequest, DescribeEndUserStatisticRequest, EstablishWxGatewayRouteRequest, DescribeCloudBaseRunConfForGateWayResponse, TurnOffStandaloneGatewayRequest, ReinstateEnvRequest, EstablishWxGatewayRouteResponse, DescribeDatabaseACLRequest, CreateCloudBaseRunServerVersionResponse, DeleteCloudBaseProjectLatestVersionRequest, DescribeCloudBaseProjectLatestVersionListResponse, DescribeSmsQuotasResponse, DescribeWxCloudBaseRunEnvsRequest, DescribeCloudBaseRunVersionRsByConditionResponse, DescribeCurveDataRequest, DescribeActivityInfoRequest, BindEnvGatewayRequest, ModifyEnvResponse, DescribeDownloadFileResponse, CreateStandaloneGatewayResponse, DescribeQuotaDataRequest, CreateStaticStoreResponse, DescribeCloudBaseRunResourceResponse, DescribeCloudBaseRunVersionSnapshotRequest, TurnOnStandaloneGatewayRequest, DescribeUserActivityInfoResponse, DescribePostpayFreeQuotasResponse, DescribeCloudBaseProjectLatestVersionListRequest, DescribeEndUsersResponse, DescribeHostingDomainTaskResponse, DescribeEndUserStatisticResponse, DescribeSmsQuotasRequest, DescribeCloudBaseRunVersionResponse, CreatePostpayPackageRequest, DescribeCloudBaseRunPodListResponse, CheckTcbServiceRequest, DescribeCloudBaseRunVersionRsByConditionRequest, DescribeCloudBaseRunServerResponse, DescribeUserActivityInfoRequest, DescribeCloudBaseRunPodListRequest, CreateCloudBaseRunResourceRequest, ModifyEndUserResponse, DescribeAuthDomainsRequest, DescribeEnvDealRegionRequest, DescribeDatabaseACLResponse, DescribeExtensionUploadInfoResponse, ModifyEnvRequest, DescribeCloudBaseRunVersionSnapshotResponse, DescribePostpayPackageFreeQuotasResponse, DescribeExtraPkgBillingInfoResponse, RollUpdateCloudBaseRunServerVersionRequest } from "./tcb_models";
3
+ import { DescribeEnvLimitResponse, DescribeCloudBaseRunAllVpcsResponse, CheckTcbServiceResponse, DescribeCloudBaseRunConfForGateWayRequest, DescribeCloudBaseRunServerVersionRequest, TurnOnStandaloneGatewayResponse, DescribeEnvLimitRequest, DescribeEnvDealRegionResponse, DeleteCloudBaseRunServerVersionResponse, CommonServiceAPIResponse, DescribeStandaloneGatewayRequest, DescribeStandaloneGatewayPackageRequest, DescribePostpayPackageFreeQuotasRequest, DescribeEndUserLoginStatisticRequest, DescribeCloudBaseBuildServiceResponse, DescribeEndUsersRequest, DescribeCloudBaseBuildServiceRequest, DescribeCloudBaseRunServerDomainNameResponse, DestroyStandaloneGatewayRequest, CreateWxCloudBaseRunServerDBClusterResponse, ReplaceActivityRecordResponse, DescribeSpecialCostItemsRequest, DescribeCloudBaseRunResourceForExtendRequest, DescribeWxCloudBaseRunSubNetsRequest, ModifyEndUserRequest, DescribeCurveDataResponse, RollUpdateCloudBaseRunServerVersionResponse, DescribeCloudBaseRunOperationTypesRequest, DescribeAuthDomainsResponse, DescribeCloudBaseRunOneClickTaskExternalRequest, DescribeStandaloneGatewayResponse, DescribeWxCloudBaseRunEnvsResponse, CreateHostingDomainRequest, DescribeCloudBaseRunResourceRequest, DescribeCloudBaseRunServerRequest, DescribePostpayFreeQuotasRequest, DescribeActivityInfoResponse, DestroyStandaloneGatewayResponse, DescribeCloudBaseRunServerVersionResponse, DeleteEndUserRequest, DescribeHostingDomainTaskRequest, DescribeQuotaDataResponse, CommonServiceAPIRequest, DestroyStaticStoreRequest, CreateWxCloudBaseRunEnvRequest, ModifyCloudBaseRunServerFlowConfRequest, DescribeActivityRecordResponse, CreateStaticStoreRequest, CreateWxCloudBaseRunServerDBClusterRequest, DeleteCloudBaseProjectLatestVersionResponse, CreateAuthDomainResponse, ModifyDatabaseACLRequest, DescribeEnvsRequest, DeleteWxGatewayRouteRequest, DescribeEnvPostpaidDeductRequest, DescribeExtraPkgBillingInfoRequest, BindEnvGatewayResponse, DescribeWxCloudBaseRunSubNetsResponse, DescribeEnvFreeQuotaRequest, DescribeEndUserLoginStatisticResponse, DescribeEnvPostpaidDeductResponse, CreateCloudBaseRunResourceResponse, DescribeStandaloneGatewayPackageResponse, DestroyStaticStoreResponse, DeleteEndUserResponse, ModifyDatabaseACLResponse, ModifyCloudBaseRunServerFlowConfResponse, DescribeCloudBaseRunOperationTypesResponse, EstablishCloudBaseRunServerResponse, DestroyEnvRequest, DestroyEnvResponse, DescribeCloudBaseProjectVersionListRequest, DescribeCloudBaseRunOneClickTaskExternalResponse, TurnOffStandaloneGatewayResponse, DescribeEnvsResponse, CreateAuthDomainRequest, CreateHostingDomainResponse, DescribeActivityRecordRequest, CreateWxCloudBaseRunEnvResponse, DeleteCloudBaseRunServerVersionRequest, CreateCloudBaseRunServerVersionRequest, DescribeCloudBaseRunServerDomainNameRequest, DescribeCloudBaseRunAllVpcsRequest, CreatePostpayPackageResponse, DescribeExtensionUploadInfoRequest, ReplaceActivityRecordRequest, DeleteWxGatewayRouteResponse, EstablishCloudBaseRunServerRequest, ReinstateEnvResponse, DescribeSpecialCostItemsResponse, CreateStandaloneGatewayRequest, DescribeCloudBaseProjectVersionListResponse, DescribeDownloadFileRequest, DescribeEndUserStatisticRequest, DescribeEnvFreeQuotaResponse, CreateAndDeployCloudBaseProjectResponse, DescribeCloudBaseRunResourceForExtendResponse, CreateAndDeployCloudBaseProjectRequest, DescribeCloudBaseRunVersionRequest, EstablishWxGatewayRouteRequest, DescribeCloudBaseRunConfForGateWayResponse, TurnOffStandaloneGatewayRequest, ReinstateEnvRequest, EstablishWxGatewayRouteResponse, DescribeDatabaseACLRequest, CreateCloudBaseRunServerVersionResponse, DeleteCloudBaseProjectLatestVersionRequest, DescribeCloudBaseProjectLatestVersionListResponse, DescribeSmsQuotasResponse, DescribeWxCloudBaseRunEnvsRequest, DescribeCloudBaseRunVersionRsByConditionResponse, DescribeCurveDataRequest, DescribeActivityInfoRequest, BindEnvGatewayRequest, ModifyEnvResponse, DescribeDownloadFileResponse, CreateStandaloneGatewayResponse, DescribeQuotaDataRequest, CreateStaticStoreResponse, DescribeCloudBaseRunResourceResponse, DescribeCloudBaseRunVersionSnapshotRequest, TurnOnStandaloneGatewayRequest, DescribeUserActivityInfoResponse, DescribePostpayFreeQuotasResponse, DescribeCloudBaseProjectLatestVersionListRequest, DescribeEndUsersResponse, DescribeHostingDomainTaskResponse, DescribeEndUserStatisticResponse, DescribeSmsQuotasRequest, DescribeCloudBaseRunVersionResponse, CreatePostpayPackageRequest, DescribeCloudBaseRunPodListResponse, CheckTcbServiceRequest, DescribeCloudBaseRunVersionRsByConditionRequest, DescribeCloudBaseRunServerResponse, DescribeUserActivityInfoRequest, DescribeCloudBaseRunPodListRequest, CreateCloudBaseRunResourceRequest, ModifyEndUserResponse, DescribeAuthDomainsRequest, DescribeEnvDealRegionRequest, DescribeDatabaseACLResponse, DescribeExtensionUploadInfoResponse, ModifyEnvRequest, DescribeCloudBaseRunVersionSnapshotResponse, DescribePostpayPackageFreeQuotasResponse, DescribeExtraPkgBillingInfoResponse, RollUpdateCloudBaseRunServerVersionRequest } from "./tcb_models";
4
4
  /**
5
5
  * tcb client
6
6
  * @class
@@ -66,6 +66,10 @@ export declare class Client extends AbstractClient {
66
66
  * 获取环境列表,含环境下的各个资源信息。尤其是各资源的唯一标识,是请求各资源的关键参数
67
67
  */
68
68
  DescribeEnvs(req: DescribeEnvsRequest, cb?: (error: string, rep: DescribeEnvsResponse) => void): Promise<DescribeEnvsResponse>;
69
+ /**
70
+ * 查询微信云托管服务域名
71
+ */
72
+ DescribeCloudBaseRunServerDomainName(req: DescribeCloudBaseRunServerDomainNameRequest, cb?: (error: string, rep: DescribeCloudBaseRunServerDomainNameResponse) => void): Promise<DescribeCloudBaseRunServerDomainNameResponse>;
69
73
  /**
70
74
  * 查看容器托管的集群状态
71
75
  */
@@ -254,6 +258,10 @@ export declare class Client extends AbstractClient {
254
258
  * 获取云托管代码上传url
255
259
  */
256
260
  DescribeCloudBaseBuildService(req: DescribeCloudBaseBuildServiceRequest, cb?: (error: string, rep: DescribeCloudBaseBuildServiceResponse) => void): Promise<DescribeCloudBaseBuildServiceResponse>;
261
+ /**
262
+ * 查询一键部署任务 (特定接口:外部查询使用)
263
+ */
264
+ DescribeCloudBaseRunOneClickTaskExternal(req: DescribeCloudBaseRunOneClickTaskExternalRequest, cb?: (error: string, rep: DescribeCloudBaseRunOneClickTaskExternalResponse) => void): Promise<DescribeCloudBaseRunOneClickTaskExternalResponse>;
257
265
  /**
258
266
  * 查询版本历史
259
267
  */
@@ -114,6 +114,12 @@ class Client extends abstract_client_1.AbstractClient {
114
114
  async DescribeEnvs(req, cb) {
115
115
  return this.request("DescribeEnvs", req, cb);
116
116
  }
117
+ /**
118
+ * 查询微信云托管服务域名
119
+ */
120
+ async DescribeCloudBaseRunServerDomainName(req, cb) {
121
+ return this.request("DescribeCloudBaseRunServerDomainName", req, cb);
122
+ }
117
123
  /**
118
124
  * 查看容器托管的集群状态
119
125
  */
@@ -396,6 +402,12 @@ class Client extends abstract_client_1.AbstractClient {
396
402
  async DescribeCloudBaseBuildService(req, cb) {
397
403
  return this.request("DescribeCloudBaseBuildService", req, cb);
398
404
  }
405
+ /**
406
+ * 查询一键部署任务 (特定接口:外部查询使用)
407
+ */
408
+ async DescribeCloudBaseRunOneClickTaskExternal(req, cb) {
409
+ return this.request("DescribeCloudBaseRunOneClickTaskExternal", req, cb);
410
+ }
399
411
  /**
400
412
  * 查询版本历史
401
413
  */
@@ -504,21 +504,25 @@ export interface DescribeCloudBaseBuildServiceRequest {
504
504
  Suffix?: string;
505
505
  }
506
506
  /**
507
- * DescribeCloudBaseRunVersion请求参数结构体
507
+ * DescribeCloudBaseRunServerDomainName返回参数结构体
508
508
  */
509
- export interface DescribeCloudBaseRunVersionRequest {
509
+ export interface DescribeCloudBaseRunServerDomainNameResponse {
510
510
  /**
511
- * 环境ID
511
+ * 公网服务域名
512
512
  */
513
- EnvId: string;
513
+ PublicDomain: string;
514
514
  /**
515
- * 服务名称
515
+ * 内部服务域名
516
516
  */
517
- ServerName: string;
517
+ InternalDomain: string;
518
518
  /**
519
- * 版本名称
519
+ * 弃用
520
520
  */
521
- VersionName: string;
521
+ DomainName: string;
522
+ /**
523
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
524
+ */
525
+ RequestId?: string;
522
526
  }
523
527
  /**
524
528
  * DestroyStandaloneGateway请求参数结构体
@@ -731,6 +735,19 @@ export interface DescribeCloudBaseRunResourceForExtendRequest {
731
735
  */
732
736
  EnvId: string;
733
737
  }
738
+ /**
739
+ * DescribeWxCloudBaseRunSubNets请求参数结构体
740
+ */
741
+ export interface DescribeWxCloudBaseRunSubNetsRequest {
742
+ /**
743
+ * VPC id
744
+ */
745
+ VpcId: string;
746
+ /**
747
+ * 查询个数限制,不填或小于等于0,等于不限制
748
+ */
749
+ Limit?: number;
750
+ }
734
751
  /**
735
752
  * ModifyEndUser请求参数结构体
736
753
  */
@@ -853,6 +870,15 @@ export interface DescribeAuthDomainsResponse {
853
870
  */
854
871
  RequestId?: string;
855
872
  }
873
+ /**
874
+ * DescribeCloudBaseRunOneClickTaskExternal请求参数结构体
875
+ */
876
+ export interface DescribeCloudBaseRunOneClickTaskExternalRequest {
877
+ /**
878
+ * 外部任务Id 最长64字节
879
+ */
880
+ ExternalId: string;
881
+ }
856
882
  /**
857
883
  * DescribeStandaloneGateway返回参数结构体
858
884
  */
@@ -2209,6 +2235,62 @@ export interface CodeSource {
2209
2235
  */
2210
2236
  ProjectName?: string;
2211
2237
  }
2238
+ /**
2239
+ * DescribeCloudBaseRunOneClickTaskExternal返回参数结构体
2240
+ */
2241
+ export interface DescribeCloudBaseRunOneClickTaskExternalResponse {
2242
+ /**
2243
+ * 外部任务Id
2244
+ */
2245
+ ExternalId: string;
2246
+ /**
2247
+ * 弃用
2248
+ */
2249
+ EnvId: string;
2250
+ /**
2251
+ * 用户uin
2252
+ */
2253
+ UserUin: string;
2254
+ /**
2255
+ * 服务名
2256
+ */
2257
+ ServerName: string;
2258
+ /**
2259
+ * 版本名
2260
+ */
2261
+ VersionName: string;
2262
+ /**
2263
+ * 创建时间
2264
+ */
2265
+ CreateTime: string;
2266
+ /**
2267
+ * 当前阶段
2268
+ 微信云托管环境创建阶段:envStage
2269
+ 存储资源创建阶段:storageStage
2270
+ 服务创建阶段:serverStage
2271
+ */
2272
+ Stage: string;
2273
+ /**
2274
+ * 状态
2275
+ running
2276
+ stopped
2277
+ failed
2278
+ finished
2279
+ */
2280
+ Status: string;
2281
+ /**
2282
+ * 失败原因
2283
+ */
2284
+ FailReason: string;
2285
+ /**
2286
+ * 用户envId
2287
+ */
2288
+ UserEnvId: string;
2289
+ /**
2290
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2291
+ */
2292
+ RequestId?: string;
2293
+ }
2212
2294
  /**
2213
2295
  * TurnOffStandaloneGateway返回参数结构体
2214
2296
  */
@@ -2539,17 +2621,25 @@ export interface LoginStatistic {
2539
2621
  UpdateTime?: string;
2540
2622
  }
2541
2623
  /**
2542
- * DescribeWxCloudBaseRunSubNets请求参数结构体
2624
+ * DescribeCloudBaseRunServerDomainName请求参数结构体
2543
2625
  */
2544
- export interface DescribeWxCloudBaseRunSubNetsRequest {
2626
+ export interface DescribeCloudBaseRunServerDomainNameRequest {
2545
2627
  /**
2546
- * VPC id
2628
+ * 服务名
2547
2629
  */
2548
- VpcId: string;
2630
+ ServerName: string;
2549
2631
  /**
2550
- * 查询个数限制,不填或小于等于0,等于不限制
2632
+ * 环境Id
2551
2633
  */
2552
- Limit?: number;
2634
+ UserEnvId: string;
2635
+ /**
2636
+ * 用户Uin
2637
+ */
2638
+ UserUin: string;
2639
+ /**
2640
+ * 外部Id
2641
+ */
2642
+ ExternalId: string;
2553
2643
  }
2554
2644
  /**
2555
2645
  * DescribeCloudBaseRunAllVpcs请求参数结构体
@@ -2702,6 +2792,15 @@ export interface EstablishCloudBaseRunServerRequest {
2702
2792
  */
2703
2793
  ServerPath?: string;
2704
2794
  }
2795
+ /**
2796
+ * ReinstateEnv返回参数结构体
2797
+ */
2798
+ export interface ReinstateEnvResponse {
2799
+ /**
2800
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2801
+ */
2802
+ RequestId?: string;
2803
+ }
2705
2804
  /**
2706
2805
  * 对标 EKS VolumeMount
2707
2806
  */
@@ -2799,13 +2898,13 @@ export interface DescribeDownloadFileRequest {
2799
2898
  CodeUri: string;
2800
2899
  }
2801
2900
  /**
2802
- * ReinstateEnv返回参数结构体
2901
+ * DescribeEndUserStatistic请求参数结构体
2803
2902
  */
2804
- export interface ReinstateEnvResponse {
2903
+ export interface DescribeEndUserStatisticRequest {
2805
2904
  /**
2806
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2905
+ * 环境id
2807
2906
  */
2808
- RequestId?: string;
2907
+ EnvId: string;
2809
2908
  }
2810
2909
  /**
2811
2910
  * 子网信息
@@ -3040,13 +3139,21 @@ export interface CreateAndDeployCloudBaseProjectRequest {
3040
3139
  RepoUrl?: string;
3041
3140
  }
3042
3141
  /**
3043
- * DescribeEndUserStatistic请求参数结构体
3142
+ * DescribeCloudBaseRunVersion请求参数结构体
3044
3143
  */
3045
- export interface DescribeEndUserStatisticRequest {
3144
+ export interface DescribeCloudBaseRunVersionRequest {
3046
3145
  /**
3047
- * 环境id
3146
+ * 环境ID
3048
3147
  */
3049
3148
  EnvId: string;
3149
+ /**
3150
+ * 服务名称
3151
+ */
3152
+ ServerName: string;
3153
+ /**
3154
+ * 版本名称
3155
+ */
3156
+ VersionName: string;
3050
3157
  }
3051
3158
  /**
3052
3159
  * EstablishWxGatewayRoute请求参数结构体
@@ -269,6 +269,8 @@ export declare class Client extends AbstractClient {
269
269
  DescribeRocketMQCluster(req: DescribeRocketMQClusterRequest, cb?: (error: string, rep: DescribeRocketMQClusterResponse) => void): Promise<DescribeRocketMQClusterResponse>;
270
270
  /**
271
271
  * 批量发送消息
272
+
273
+ 注意:TDMQ 批量发送消息的接口是在 TDMQ-HTTP 的服务侧将消息打包为一个 Batch,然后将该 Batch 在服务内部当作一次 TCP 请求发送出去。所以在使用过程中,用户还是按照单条消息发送的逻辑,每一条消息是一个独立的 HTTP 的请求,在 TDMQ-HTTP 的服务内部,会将多个 HTTP 的请求聚合为一个 Batch 发送到服务端。即,批量发送消息在使用上与发送单条消息是一致的,batch 的聚合是在 TDMQ-HTTP 的服务内部完成的。
272
274
  */
273
275
  SendBatchMessages(req: SendBatchMessagesRequest, cb?: (error: string, rep: SendBatchMessagesResponse) => void): Promise<SendBatchMessagesResponse>;
274
276
  /**
@@ -419,6 +419,8 @@ class Client extends abstract_client_1.AbstractClient {
419
419
  }
420
420
  /**
421
421
  * 批量发送消息
422
+
423
+ 注意:TDMQ 批量发送消息的接口是在 TDMQ-HTTP 的服务侧将消息打包为一个 Batch,然后将该 Batch 在服务内部当作一次 TCP 请求发送出去。所以在使用过程中,用户还是按照单条消息发送的逻辑,每一条消息是一个独立的 HTTP 的请求,在 TDMQ-HTTP 的服务内部,会将多个 HTTP 的请求聚合为一个 Batch 发送到服务端。即,批量发送消息在使用上与发送单条消息是一致的,batch 的聚合是在 TDMQ-HTTP 的服务内部完成的。
422
424
  */
423
425
  async SendBatchMessages(req, cb) {
424
426
  return this.request("SendBatchMessages", req, cb);
@@ -411,6 +411,11 @@ export interface ProductInfo {
411
411
  * 搜索到的商品配图URL。
412
412
  */
413
413
  Image: string;
414
+ /**
415
+ * 百科词条列表
416
+ 注意:此字段可能返回 null,表示取不到有效值。
417
+ */
418
+ LemmaInfoList: Array<LemmaInfo>;
414
419
  }
415
420
  /**
416
421
  * AssessQuality请求参数结构体
@@ -513,6 +518,10 @@ export interface DetectProductBetaRequest {
513
518
  与ImageUrl同时存在时优先使用ImageUrl字段。
514
519
  */
515
520
  ImageBase64?: string;
521
+ /**
522
+ * 是否需要百科信息 1:是,0: 否,默认是0
523
+ */
524
+ NeedLemma?: number;
516
525
  }
517
526
  /**
518
527
  * DetectMisbehavior返回参数结构体
@@ -1087,6 +1096,26 @@ export interface Threshold {
1087
1096
  */
1088
1097
  FalseRate1Permil: number;
1089
1098
  }
1099
+ /**
1100
+ * 百科词条信息
1101
+ */
1102
+ export interface LemmaInfo {
1103
+ /**
1104
+ * 词条
1105
+ 注意:此字段可能返回 null,表示取不到有效值。
1106
+ */
1107
+ LemmaTitle: string;
1108
+ /**
1109
+ * 词条描述
1110
+ 注意:此字段可能返回 null,表示取不到有效值。
1111
+ */
1112
+ LemmaAbstract: string;
1113
+ /**
1114
+ * 标签
1115
+ 注意:此字段可能返回 null,表示取不到有效值。
1116
+ */
1117
+ Tag: string;
1118
+ }
1090
1119
  /**
1091
1120
  * DescribeImages返回参数结构体
1092
1121
  */
@@ -338,9 +338,9 @@ it("apigateway.v20180808.DeleteApi", async function () {
338
338
  }
339
339
  })
340
340
 
341
- it("apigateway.v20180808.EnableApiKey", async function () {
341
+ it("apigateway.v20180808.UpdateApiAppKey", async function () {
342
342
  try {
343
- const data = await client.EnableApiKey({})
343
+ const data = await client.UpdateApiAppKey({})
344
344
  expect(data).to.be.ok
345
345
  } catch(error) {
346
346
  expect(error.requestId).to.be.ok
@@ -458,6 +458,16 @@ it("apigateway.v20180808.ModifyService", async function () {
458
458
  }
459
459
  })
460
460
 
461
+ it("apigateway.v20180808.DescribeExclusiveInstances", async function () {
462
+ try {
463
+ const data = await client.DescribeExclusiveInstances({})
464
+ expect(data).to.be.ok
465
+ } catch(error) {
466
+ expect(error.requestId).to.be.ok
467
+ expect(error.code).to.be.ok
468
+ }
469
+ })
470
+
461
471
  it("apigateway.v20180808.DescribeService", async function () {
462
472
  try {
463
473
  const data = await client.DescribeService({})
@@ -508,6 +518,16 @@ it("apigateway.v20180808.CreateApi", async function () {
508
518
  }
509
519
  })
510
520
 
521
+ it("apigateway.v20180808.DescribeExclusiveInstanceDetail", async function () {
522
+ try {
523
+ const data = await client.DescribeExclusiveInstanceDetail({})
524
+ expect(data).to.be.ok
525
+ } catch(error) {
526
+ expect(error.requestId).to.be.ok
527
+ expect(error.code).to.be.ok
528
+ }
529
+ })
530
+
511
531
  it("apigateway.v20180808.AttachPlugin", async function () {
512
532
  try {
513
533
  const data = await client.AttachPlugin({})
@@ -598,6 +618,16 @@ it("apigateway.v20180808.ModifyServiceEnvironmentStrategy", async function () {
598
618
  }
599
619
  })
600
620
 
621
+ it("apigateway.v20180808.ModifyExclusiveInstance", async function () {
622
+ try {
623
+ const data = await client.ModifyExclusiveInstance({})
624
+ expect(data).to.be.ok
625
+ } catch(error) {
626
+ expect(error.requestId).to.be.ok
627
+ expect(error.code).to.be.ok
628
+ }
629
+ })
630
+
601
631
  it("apigateway.v20180808.DescribeUsagePlanEnvironments", async function () {
602
632
  try {
603
633
  const data = await client.DescribeUsagePlanEnvironments({})
@@ -808,9 +838,9 @@ it("apigateway.v20180808.BindIPStrategy", async function () {
808
838
  }
809
839
  })
810
840
 
811
- it("apigateway.v20180808.UpdateApiAppKey", async function () {
841
+ it("apigateway.v20180808.EnableApiKey", async function () {
812
842
  try {
813
- const data = await client.UpdateApiAppKey({})
843
+ const data = await client.EnableApiKey({})
814
844
  expect(data).to.be.ok
815
845
  } catch(error) {
816
846
  expect(error.requestId).to.be.ok
@@ -738,6 +738,16 @@ it("cdn.v20180606.DescribeDistrictIspData", async function () {
738
738
  }
739
739
  })
740
740
 
741
+ it("cdn.v20180606.DescribeScdnBotData", async function () {
742
+ try {
743
+ const data = await client.DescribeScdnBotData({})
744
+ expect(data).to.be.ok
745
+ } catch(error) {
746
+ expect(error.requestId).to.be.ok
747
+ expect(error.code).to.be.ok
748
+ }
749
+ })
750
+
741
751
  it("cdn.v20180606.UpdatePayType", async function () {
742
752
  try {
743
753
  const data = await client.UpdatePayType({})
@@ -438,6 +438,16 @@ it("cpdp.v20190820.QueryOutwardOrder", async function () {
438
438
  }
439
439
  })
440
440
 
441
+ it("cpdp.v20190820.QueryMaliciousRegistration", async function () {
442
+ try {
443
+ const data = await client.QueryMaliciousRegistration({})
444
+ expect(data).to.be.ok
445
+ } catch(error) {
446
+ expect(error.requestId).to.be.ok
447
+ expect(error.code).to.be.ok
448
+ }
449
+ })
450
+
441
451
  it("cpdp.v20190820.MigrateOrderRefund", async function () {
442
452
  try {
443
453
  const data = await client.MigrateOrderRefund({})
@@ -18,26 +18,6 @@ const client = new tencentcloud.dts.v20180330.Client({
18
18
  })
19
19
  describe("dts.v20180330.test.js", function () {
20
20
 
21
- it("dts.v20180330.DeleteSyncJob", async function () {
22
- try {
23
- const data = await client.DeleteSyncJob({})
24
- expect(data).to.be.ok
25
- } catch(error) {
26
- expect(error.requestId).to.be.ok
27
- expect(error.code).to.be.ok
28
- }
29
- })
30
-
31
- it("dts.v20180330.DescribeSyncJobs", async function () {
32
- try {
33
- const data = await client.DescribeSyncJobs({})
34
- expect(data).to.be.ok
35
- } catch(error) {
36
- expect(error.requestId).to.be.ok
37
- expect(error.code).to.be.ok
38
- }
39
- })
40
-
41
21
  it("dts.v20180330.ActivateSubscribe", async function () {
42
22
  try {
43
23
  const data = await client.ActivateSubscribe({})
@@ -48,26 +28,6 @@ it("dts.v20180330.ActivateSubscribe", async function () {
48
28
  }
49
29
  })
50
30
 
51
- it("dts.v20180330.ModifySyncJob", async function () {
52
- try {
53
- const data = await client.ModifySyncJob({})
54
- expect(data).to.be.ok
55
- } catch(error) {
56
- expect(error.requestId).to.be.ok
57
- expect(error.code).to.be.ok
58
- }
59
- })
60
-
61
- it("dts.v20180330.CreateSyncJob", async function () {
62
- try {
63
- const data = await client.CreateSyncJob({})
64
- expect(data).to.be.ok
65
- } catch(error) {
66
- expect(error.requestId).to.be.ok
67
- expect(error.code).to.be.ok
68
- }
69
- })
70
-
71
31
  it("dts.v20180330.ModifySubscribeObjects", async function () {
72
32
  try {
73
33
  const data = await client.ModifySubscribeObjects({})
@@ -78,16 +38,6 @@ it("dts.v20180330.ModifySubscribeObjects", async function () {
78
38
  }
79
39
  })
80
40
 
81
- it("dts.v20180330.StartSyncJob", async function () {
82
- try {
83
- const data = await client.StartSyncJob({})
84
- expect(data).to.be.ok
85
- } catch(error) {
86
- expect(error.requestId).to.be.ok
87
- expect(error.code).to.be.ok
88
- }
89
- })
90
-
91
41
  it("dts.v20180330.DescribeMigrateCheckJob", async function () {
92
42
  try {
93
43
  const data = await client.DescribeMigrateCheckJob({})
@@ -108,16 +58,6 @@ it("dts.v20180330.DescribeAsyncRequestInfo", async function () {
108
58
  }
109
59
  })
110
60
 
111
- it("dts.v20180330.SwitchDrToMaster", async function () {
112
- try {
113
- const data = await client.SwitchDrToMaster({})
114
- expect(data).to.be.ok
115
- } catch(error) {
116
- expect(error.requestId).to.be.ok
117
- expect(error.code).to.be.ok
118
- }
119
- })
120
-
121
61
  it("dts.v20180330.ModifySubscribeAutoRenewFlag", async function () {
122
62
  try {
123
63
  const data = await client.ModifySubscribeAutoRenewFlag({})
@@ -168,16 +108,6 @@ it("dts.v20180330.DescribeSubscribes", async function () {
168
108
  }
169
109
  })
170
110
 
171
- it("dts.v20180330.DescribeSyncCheckJob", async function () {
172
- try {
173
- const data = await client.DescribeSyncCheckJob({})
174
- expect(data).to.be.ok
175
- } catch(error) {
176
- expect(error.requestId).to.be.ok
177
- expect(error.code).to.be.ok
178
- }
179
- })
180
-
181
111
  it("dts.v20180330.CreateMigrateJob", async function () {
182
112
  try {
183
113
  const data = await client.CreateMigrateJob({})
@@ -228,16 +158,6 @@ it("dts.v20180330.ModifySubscribeName", async function () {
228
158
  }
229
159
  })
230
160
 
231
- it("dts.v20180330.CreateSyncCheckJob", async function () {
232
- try {
233
- const data = await client.CreateSyncCheckJob({})
234
- expect(data).to.be.ok
235
- } catch(error) {
236
- expect(error.requestId).to.be.ok
237
- expect(error.code).to.be.ok
238
- }
239
- })
240
-
241
161
  it("dts.v20180330.CreateSubscribe", async function () {
242
162
  try {
243
163
  const data = await client.CreateSubscribe({})
@@ -68,9 +68,9 @@ it("iotexplorer.v20190423.SearchPositionSpace", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("iotexplorer.v20190423.DescribeDeviceData", async function () {
71
+ it("iotexplorer.v20190423.DescribeBatchProduction", async function () {
72
72
  try {
73
- const data = await client.DescribeDeviceData({})
73
+ const data = await client.DescribeBatchProduction({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -278,6 +278,16 @@ it("iotexplorer.v20190423.ModifyTopicRule", async function () {
278
278
  }
279
279
  })
280
280
 
281
+ it("iotexplorer.v20190423.DescribeDeviceData", async function () {
282
+ try {
283
+ const data = await client.DescribeDeviceData({})
284
+ expect(data).to.be.ok
285
+ } catch(error) {
286
+ expect(error.requestId).to.be.ok
287
+ expect(error.code).to.be.ok
288
+ }
289
+ })
290
+
281
291
  it("iotexplorer.v20190423.DescribeTopicPolicy", async function () {
282
292
  try {
283
293
  const data = await client.DescribeTopicPolicy({})
@@ -618,6 +628,16 @@ it("iotexplorer.v20190423.ModifyModelDefinition", async function () {
618
628
  }
619
629
  })
620
630
 
631
+ it("iotexplorer.v20190423.CreateBatchProduction", async function () {
632
+ try {
633
+ const data = await client.CreateBatchProduction({})
634
+ expect(data).to.be.ok
635
+ } catch(error) {
636
+ expect(error.requestId).to.be.ok
637
+ expect(error.code).to.be.ok
638
+ }
639
+ })
640
+
621
641
  it("iotexplorer.v20190423.DeletePositionSpace", async function () {
622
642
  try {
623
643
  const data = await client.DeletePositionSpace({})
@@ -638,6 +658,16 @@ it("iotexplorer.v20190423.DescribeModelDefinition", async function () {
638
658
  }
639
659
  })
640
660
 
661
+ it("iotexplorer.v20190423.GetBatchProductionsList", async function () {
662
+ try {
663
+ const data = await client.GetBatchProductionsList({})
664
+ expect(data).to.be.ok
665
+ } catch(error) {
666
+ expect(error.requestId).to.be.ok
667
+ expect(error.code).to.be.ok
668
+ }
669
+ })
670
+
641
671
  it("iotexplorer.v20190423.CreateProject", async function () {
642
672
  try {
643
673
  const data = await client.CreateProject({})
@@ -138,6 +138,16 @@ it("ocr.v20181119.FlightInvoiceOCR", async function () {
138
138
  }
139
139
  })
140
140
 
141
+ it("ocr.v20181119.RecognizeContainerOCR", async function () {
142
+ try {
143
+ const data = await client.RecognizeContainerOCR({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
141
151
  it("ocr.v20181119.MixedInvoiceDetect", async function () {
142
152
  try {
143
153
  const data = await client.MixedInvoiceDetect({})