tencentcloud-sdk-nodejs 4.0.458 → 4.0.459
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/CHANGELOG.md +124 -0
- package/SERVICE_CHANGELOG.md +162 -75
- package/package.json +1 -1
- package/products.md +8 -8
- package/src/common/sdk_version.ts +1 -1
- package/src/services/captcha/v20190722/captcha_models.ts +7 -23
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/gaap/v20180529/gaap_models.ts +48 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +3 -29
- package/src/services/mariadb/v20170312/mariadb_models.ts +16 -168
- package/src/services/redis/v20180412/redis_models.ts +5 -5
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +1 -1
- package/src/services/trp/v20210515/trp_client.ts +4 -3
- package/src/services/trp/v20210515/trp_models.ts +136 -67
- package/src/services/vod/v20180717/vod_models.ts +5 -0
- package/tencentcloud/common/abstract_client.js +2 -2
- package/tencentcloud/common/http/fetch.d.ts +1 -1
- package/tencentcloud/common/http/http_connection.d.ts +2 -2
- package/tencentcloud/common/http/http_connection.js +4 -4
- package/tencentcloud/common/interface.d.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +7 -23
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +40 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +1 -9
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +0 -12
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +16 -144
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +5 -5
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +1 -1
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +2 -2
- package/tencentcloud/services/trp/v20210515/trp_client.js +1 -1
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +115 -58
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -0
- package/test/mariadb.v20170312.test.js +0 -20
|
@@ -190,25 +190,13 @@ true:需要重启
|
|
|
190
190
|
NeedRestart: boolean;
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
|
-
*
|
|
193
|
+
* DescribeDBParameters请求参数结构体
|
|
194
194
|
*/
|
|
195
|
-
export interface
|
|
195
|
+
export interface DescribeDBParametersRequest {
|
|
196
196
|
/**
|
|
197
197
|
* 实例 ID,形如:tdsql-ow728lmc。
|
|
198
198
|
*/
|
|
199
199
|
InstanceId: string;
|
|
200
|
-
/**
|
|
201
|
-
* 开始日期,格式yyyy-mm-dd
|
|
202
|
-
*/
|
|
203
|
-
StartTime: string;
|
|
204
|
-
/**
|
|
205
|
-
* 结束日期,格式yyyy-mm-dd
|
|
206
|
-
*/
|
|
207
|
-
EndTime: string;
|
|
208
|
-
/**
|
|
209
|
-
* 拉取的指标名称,支持的值为:data_disk_available,binlog_disk_available,mem_available,cpu_usage_rate
|
|
210
|
-
*/
|
|
211
|
-
MetricName?: string;
|
|
212
200
|
}
|
|
213
201
|
/**
|
|
214
202
|
* DescribeAccounts请求参数结构体
|
|
@@ -219,23 +207,6 @@ export interface DescribeAccountsRequest {
|
|
|
219
207
|
*/
|
|
220
208
|
InstanceId: string;
|
|
221
209
|
}
|
|
222
|
-
/**
|
|
223
|
-
* 存储过程权限信息
|
|
224
|
-
*/
|
|
225
|
-
export interface ProcedurePrivilege {
|
|
226
|
-
/**
|
|
227
|
-
* 数据库名
|
|
228
|
-
*/
|
|
229
|
-
Database: string;
|
|
230
|
-
/**
|
|
231
|
-
* 数据库存储过程名
|
|
232
|
-
*/
|
|
233
|
-
Procedure: string;
|
|
234
|
-
/**
|
|
235
|
-
* 权限信息
|
|
236
|
-
*/
|
|
237
|
-
Privileges: Array<string>;
|
|
238
|
-
}
|
|
239
210
|
/**
|
|
240
211
|
* DescribeRenewalPrice返回参数结构体
|
|
241
212
|
*/
|
|
@@ -377,29 +348,6 @@ export interface DescribeFileDownloadUrlRequest {
|
|
|
377
348
|
*/
|
|
378
349
|
FilePath: string;
|
|
379
350
|
}
|
|
380
|
-
/**
|
|
381
|
-
* DescribeDBResourceUsageDetails返回参数结构体
|
|
382
|
-
*/
|
|
383
|
-
export interface DescribeDBResourceUsageDetailsResponse {
|
|
384
|
-
/**
|
|
385
|
-
* 主节点资源使用情况监控数据
|
|
386
|
-
*/
|
|
387
|
-
Master: ResourceUsageMonitorSet;
|
|
388
|
-
/**
|
|
389
|
-
* 备机1资源使用情况监控数据
|
|
390
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
391
|
-
*/
|
|
392
|
-
Slave1: ResourceUsageMonitorSet;
|
|
393
|
-
/**
|
|
394
|
-
* 备机2资源使用情况监控数据
|
|
395
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
396
|
-
*/
|
|
397
|
-
Slave2: ResourceUsageMonitorSet;
|
|
398
|
-
/**
|
|
399
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
400
|
-
*/
|
|
401
|
-
RequestId?: string;
|
|
402
|
-
}
|
|
403
351
|
/**
|
|
404
352
|
* DescribeDBInstanceSpecs返回参数结构体
|
|
405
353
|
*/
|
|
@@ -581,27 +529,6 @@ export interface IsolateHourDBInstanceRequest {
|
|
|
581
529
|
*/
|
|
582
530
|
InstanceIds: Array<string>;
|
|
583
531
|
}
|
|
584
|
-
/**
|
|
585
|
-
* DB资源使用情况监控指标集合
|
|
586
|
-
*/
|
|
587
|
-
export interface ResourceUsageMonitorSet {
|
|
588
|
-
/**
|
|
589
|
-
* binlog日志磁盘可用空间,单位GB
|
|
590
|
-
*/
|
|
591
|
-
BinlogDiskAvailable: MonitorData;
|
|
592
|
-
/**
|
|
593
|
-
* CPU利用率
|
|
594
|
-
*/
|
|
595
|
-
CpuUsageRate: MonitorData;
|
|
596
|
-
/**
|
|
597
|
-
* 内存可用空间,单位GB
|
|
598
|
-
*/
|
|
599
|
-
MemAvailable: MonitorData;
|
|
600
|
-
/**
|
|
601
|
-
* 磁盘可用空间,单位GB
|
|
602
|
-
*/
|
|
603
|
-
DataDiskAvailable: MonitorData;
|
|
604
|
-
}
|
|
605
532
|
/**
|
|
606
533
|
* ModifyLogFileRetentionPeriod请求参数结构体
|
|
607
534
|
*/
|
|
@@ -672,15 +599,6 @@ export interface ModifyAccountDescriptionResponse {
|
|
|
672
599
|
*/
|
|
673
600
|
RequestId?: string;
|
|
674
601
|
}
|
|
675
|
-
/**
|
|
676
|
-
* DescribeDBParameters请求参数结构体
|
|
677
|
-
*/
|
|
678
|
-
export interface DescribeDBParametersRequest {
|
|
679
|
-
/**
|
|
680
|
-
* 实例 ID,形如:tdsql-ow728lmc。
|
|
681
|
-
*/
|
|
682
|
-
InstanceId: string;
|
|
683
|
-
}
|
|
684
602
|
/**
|
|
685
603
|
* 参数约束
|
|
686
604
|
*/
|
|
@@ -768,19 +686,6 @@ export interface DescribeDBLogFilesRequest {
|
|
|
768
686
|
*/
|
|
769
687
|
Type: number;
|
|
770
688
|
}
|
|
771
|
-
/**
|
|
772
|
-
* DescribeRenewalPrice请求参数结构体
|
|
773
|
-
*/
|
|
774
|
-
export interface DescribeRenewalPriceRequest {
|
|
775
|
-
/**
|
|
776
|
-
* 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
|
|
777
|
-
*/
|
|
778
|
-
InstanceId: string;
|
|
779
|
-
/**
|
|
780
|
-
* 续费时长,单位:月。不传则默认为1个月。
|
|
781
|
-
*/
|
|
782
|
-
Period?: number;
|
|
783
|
-
}
|
|
784
689
|
/**
|
|
785
690
|
* 描述实例的各个DB节点信息
|
|
786
691
|
*/
|
|
@@ -2525,23 +2430,6 @@ export interface DescribeOrdersRequest {
|
|
|
2525
2430
|
*/
|
|
2526
2431
|
DealNames: Array<string>;
|
|
2527
2432
|
}
|
|
2528
|
-
/**
|
|
2529
|
-
* 监控数据
|
|
2530
|
-
*/
|
|
2531
|
-
export interface MonitorData {
|
|
2532
|
-
/**
|
|
2533
|
-
* 起始时间,形如 2018-03-24 23:59:59
|
|
2534
|
-
*/
|
|
2535
|
-
StartTime: string;
|
|
2536
|
-
/**
|
|
2537
|
-
* 结束时间,形如 2018-03-24 23:59:59
|
|
2538
|
-
*/
|
|
2539
|
-
EndTime: string;
|
|
2540
|
-
/**
|
|
2541
|
-
* 监控数据
|
|
2542
|
-
*/
|
|
2543
|
-
Data: Array<number>;
|
|
2544
|
-
}
|
|
2545
2433
|
/**
|
|
2546
2434
|
* DescribeDBLogFiles返回参数结构体
|
|
2547
2435
|
*/
|
|
@@ -2862,29 +2750,17 @@ export interface ConstraintRange {
|
|
|
2862
2750
|
Max: string;
|
|
2863
2751
|
}
|
|
2864
2752
|
/**
|
|
2865
|
-
*
|
|
2753
|
+
* DescribeRenewalPrice请求参数结构体
|
|
2866
2754
|
*/
|
|
2867
|
-
export interface
|
|
2868
|
-
/**
|
|
2869
|
-
* binlog日志磁盘可用空间,单位GB
|
|
2870
|
-
*/
|
|
2871
|
-
BinlogDiskAvailable: MonitorData;
|
|
2872
|
-
/**
|
|
2873
|
-
* 磁盘可用空间,单位GB
|
|
2874
|
-
*/
|
|
2875
|
-
DataDiskAvailable: MonitorData;
|
|
2876
|
-
/**
|
|
2877
|
-
* CPU利用率
|
|
2878
|
-
*/
|
|
2879
|
-
CpuUsageRate: MonitorData;
|
|
2755
|
+
export interface DescribeRenewalPriceRequest {
|
|
2880
2756
|
/**
|
|
2881
|
-
*
|
|
2757
|
+
* 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
|
|
2882
2758
|
*/
|
|
2883
|
-
|
|
2759
|
+
InstanceId: string;
|
|
2884
2760
|
/**
|
|
2885
|
-
*
|
|
2761
|
+
* 续费时长,单位:月。不传则默认为1个月。
|
|
2886
2762
|
*/
|
|
2887
|
-
|
|
2763
|
+
Period?: number;
|
|
2888
2764
|
}
|
|
2889
2765
|
/**
|
|
2890
2766
|
* 拉取的日志信息
|
|
@@ -2921,25 +2797,21 @@ export interface RestartDBInstancesRequest {
|
|
|
2921
2797
|
RestartTime?: string;
|
|
2922
2798
|
}
|
|
2923
2799
|
/**
|
|
2924
|
-
*
|
|
2800
|
+
* 存储过程权限信息
|
|
2925
2801
|
*/
|
|
2926
|
-
export interface
|
|
2927
|
-
/**
|
|
2928
|
-
* 实例 ID,形如:tdsql-ow728lmc。
|
|
2929
|
-
*/
|
|
2930
|
-
InstanceId: string;
|
|
2802
|
+
export interface ProcedurePrivilege {
|
|
2931
2803
|
/**
|
|
2932
|
-
*
|
|
2804
|
+
* 数据库名
|
|
2933
2805
|
*/
|
|
2934
|
-
|
|
2806
|
+
Database: string;
|
|
2935
2807
|
/**
|
|
2936
|
-
*
|
|
2808
|
+
* 数据库存储过程名
|
|
2937
2809
|
*/
|
|
2938
|
-
|
|
2810
|
+
Procedure: string;
|
|
2939
2811
|
/**
|
|
2940
|
-
*
|
|
2812
|
+
* 权限信息
|
|
2941
2813
|
*/
|
|
2942
|
-
|
|
2814
|
+
Privileges: Array<string>;
|
|
2943
2815
|
}
|
|
2944
2816
|
/**
|
|
2945
2817
|
* DisassociateSecurityGroups请求参数结构体
|
|
@@ -2454,23 +2454,23 @@ export interface ModifyParamTemplateResponse {
|
|
|
2454
2454
|
*/
|
|
2455
2455
|
export interface DescribeProjectSecurityGroupsRequest {
|
|
2456
2456
|
/**
|
|
2457
|
-
*
|
|
2457
|
+
* 数据库引擎名称,本接口取值:redis。
|
|
2458
2458
|
*/
|
|
2459
2459
|
Product: string;
|
|
2460
2460
|
/**
|
|
2461
|
-
* 项目
|
|
2461
|
+
* 项目 ID。
|
|
2462
2462
|
*/
|
|
2463
2463
|
ProjectId: number;
|
|
2464
2464
|
/**
|
|
2465
|
-
*
|
|
2465
|
+
* 偏移量,取值为Limit的整数倍。
|
|
2466
2466
|
*/
|
|
2467
2467
|
Offset?: number;
|
|
2468
2468
|
/**
|
|
2469
|
-
* 拉取数量限制,默认20
|
|
2469
|
+
* 拉取数量限制,默认 20。
|
|
2470
2470
|
*/
|
|
2471
2471
|
Limit?: number;
|
|
2472
2472
|
/**
|
|
2473
|
-
* 搜索条件,支持安全组
|
|
2473
|
+
* 搜索条件,支持安全组 ID 或者安全组名称。
|
|
2474
2474
|
*/
|
|
2475
2475
|
SearchKey?: string;
|
|
2476
2476
|
}
|
|
@@ -60,7 +60,7 @@ export interface CreateDBInstancesRequest {
|
|
|
60
60
|
*/
|
|
61
61
|
VoucherIds?: Array<string>;
|
|
62
62
|
/**
|
|
63
|
-
* sqlserver
|
|
63
|
+
* sqlserver版本,目前所有支持的版本有:2008R2 (SQL Server 2008 R2 Enterprise),2012SP3 (SQL Server 2012 Enterprise),201202 (SQL Server 2012 Standard),2014SP2 (SQL Server 2014 Enterprise),201402 (SQL Server 2014 Standard),2016SP1 (SQL Server 2016 Enterprise),201602 (SQL Server 2016 Standard),2017 (SQL Server 2017 Enterprise),201702 (SQL Server 2017 Standard),2019 (SQL Server 2019 Enterprise),201902 (SQL Server 2019 Standard)。每个地域支持售卖的版本不同,可通过DescribeProductConfig接口来拉取每个地域可售卖的版本信息。不填,默认为版本2008R2。
|
|
64
64
|
*/
|
|
65
65
|
DBVersion?: string;
|
|
66
66
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DeleteProductRequest, ModifyCodeBatchRequest, CreateCodeBatchResponse, DescribeProductByIdRequest, ModifyTraceDataRanksRequest, CreateTraceCodesResponse, DescribeTraceCodesResponse, DeleteTraceDataRequest, ModifyMerchantRequest, ModifyProductResponse, ModifyTraceDataRequest, CreateMerchantResponse, DescribeMerchantByIdRequest, ModifyTraceDataRanksResponse, CreateTraceCodesRequest, DeleteProductResponse, DescribeCodeBatchsRequest, DescribeProductsRequest, DescribeCodeBatchByIdResponse,
|
|
3
|
+
import { DeleteProductRequest, ModifyCodeBatchRequest, CreateCodeBatchResponse, DescribeProductByIdRequest, ModifyTraceDataRanksRequest, CreateTraceCodesResponse, DescribeTraceCodesResponse, DeleteTraceDataRequest, ModifyMerchantRequest, ModifyProductResponse, ModifyTraceDataRequest, CreateMerchantResponse, DescribeMerchantByIdRequest, ModifyTraceDataRanksResponse, CreateTraceCodesRequest, DeleteProductResponse, DescribeCodeBatchsRequest, DescribeProductsRequest, DescribeCodeBatchByIdResponse, ModifyProductRequest, DeleteTraceDataResponse, CreateCodePackResponse, DescribeMerchantsResponse, DescribeTraceDataListRequest, DescribeMerchantByIdResponse, ModifyMerchantResponse, DeleteMerchantResponse, DescribeCodesByPackResponse, DeleteCodeBatchResponse, DescribeTraceDataListResponse, CreateTraceChainRequest, DeleteCodeBatchRequest, DescribeMerchantsRequest, ModifyTraceCodeRequest, CreateProductResponse, CreateTraceDataResponse, CreateTraceDataRequest, CreateMerchantRequest, DescribeCodeBatchsResponse, DescribeCodeBatchByIdRequest, DescribeTraceCodeByIdResponse, DescribeCodePacksResponse, DescribeProductByIdResponse, DescribeCodesByPackRequest, DescribeCodePacksRequest, DescribeProductsResponse, CreateProductRequest, CreateTraceChainResponse, DescribeTraceCodeByIdRequest, CreateCodePackRequest, CreateCodeBatchRequest, ModifyCodeBatchResponse, DescribeTraceCodesRequest, ModifyTraceCodeResponse, DeleteMerchantRequest, ModifyTraceDataResponse } from "./trp_models";
|
|
4
4
|
/**
|
|
5
5
|
* trp client
|
|
6
6
|
* @class
|
|
@@ -116,7 +116,7 @@ export declare class Client extends AbstractClient {
|
|
|
116
116
|
*/
|
|
117
117
|
DescribeMerchants(req: DescribeMerchantsRequest, cb?: (error: string, rep: DescribeMerchantsResponse) => void): Promise<DescribeMerchantsResponse>;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* 生成普通码包
|
|
120
120
|
*/
|
|
121
121
|
CreateCodePack(req: CreateCodePackRequest, cb?: (error: string, rep: CreateCodePackResponse) => void): Promise<CreateCodePackResponse>;
|
|
122
122
|
}
|
|
@@ -82,6 +82,11 @@ export interface CodeBatch {
|
|
|
82
82
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
83
83
|
*/
|
|
84
84
|
TplName?: string;
|
|
85
|
+
/**
|
|
86
|
+
* 调度任务
|
|
87
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
88
|
+
*/
|
|
89
|
+
Job?: Job;
|
|
85
90
|
}
|
|
86
91
|
/**
|
|
87
92
|
* DeleteProduct请求参数结构体
|
|
@@ -249,6 +254,14 @@ export interface ModifyMerchantRequest {
|
|
|
249
254
|
* 企业ID
|
|
250
255
|
*/
|
|
251
256
|
CorpId?: number;
|
|
257
|
+
/**
|
|
258
|
+
* 码包来源 0:自建, 1:第三码包,暂不支持修改
|
|
259
|
+
*/
|
|
260
|
+
CodeType?: number;
|
|
261
|
+
/**
|
|
262
|
+
* 码包前缀地址 第三方码包时必填
|
|
263
|
+
*/
|
|
264
|
+
CodeUrl?: string;
|
|
252
265
|
}
|
|
253
266
|
/**
|
|
254
267
|
* ModifyProduct返回参数结构体
|
|
@@ -411,6 +424,15 @@ export interface Merchant {
|
|
|
411
424
|
* 商户码规则
|
|
412
425
|
*/
|
|
413
426
|
CodeRule: string;
|
|
427
|
+
/**
|
|
428
|
+
* 码来源类型 0: 安心平台 1: 第三方码
|
|
429
|
+
*/
|
|
430
|
+
CodeType: number;
|
|
431
|
+
/**
|
|
432
|
+
* 第三方码域名前缀
|
|
433
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
434
|
+
*/
|
|
435
|
+
CodeUrl: string;
|
|
414
436
|
}
|
|
415
437
|
/**
|
|
416
438
|
* CreateTraceCodes请求参数结构体
|
|
@@ -515,53 +537,37 @@ export interface DescribeCodeBatchByIdResponse {
|
|
|
515
537
|
RequestId?: string;
|
|
516
538
|
}
|
|
517
539
|
/**
|
|
518
|
-
*
|
|
540
|
+
* ModifyProduct请求参数结构体
|
|
519
541
|
*/
|
|
520
|
-
export interface
|
|
521
|
-
/**
|
|
522
|
-
* 码
|
|
523
|
-
*/
|
|
524
|
-
Code: string;
|
|
525
|
-
/**
|
|
526
|
-
* 企业ID
|
|
527
|
-
*/
|
|
528
|
-
CorpId: number;
|
|
529
|
-
/**
|
|
530
|
-
* 包ID
|
|
531
|
-
*/
|
|
532
|
-
PackId: string;
|
|
533
|
-
/**
|
|
534
|
-
* 批次ID
|
|
535
|
-
*/
|
|
536
|
-
BatchId: string;
|
|
542
|
+
export interface ModifyProductRequest {
|
|
537
543
|
/**
|
|
538
|
-
*
|
|
544
|
+
* 商品名称
|
|
539
545
|
*/
|
|
540
|
-
|
|
546
|
+
Name: string;
|
|
541
547
|
/**
|
|
542
|
-
*
|
|
548
|
+
* 商品ID
|
|
543
549
|
*/
|
|
544
550
|
ProductId: string;
|
|
545
551
|
/**
|
|
546
|
-
*
|
|
552
|
+
* 备注
|
|
547
553
|
*/
|
|
548
|
-
|
|
554
|
+
Remark?: string;
|
|
549
555
|
/**
|
|
550
|
-
*
|
|
556
|
+
* 商品规格
|
|
551
557
|
*/
|
|
552
|
-
|
|
558
|
+
Specification?: string;
|
|
553
559
|
/**
|
|
554
|
-
*
|
|
560
|
+
* 商品图片
|
|
555
561
|
*/
|
|
556
|
-
|
|
562
|
+
Logo?: Array<string>;
|
|
557
563
|
/**
|
|
558
|
-
*
|
|
564
|
+
* 企业ID
|
|
559
565
|
*/
|
|
560
|
-
|
|
566
|
+
CorpId?: number;
|
|
561
567
|
/**
|
|
562
|
-
*
|
|
568
|
+
* 预留字段
|
|
563
569
|
*/
|
|
564
|
-
|
|
570
|
+
Ext?: Ext;
|
|
565
571
|
}
|
|
566
572
|
/**
|
|
567
573
|
* DeleteTraceData返回参数结构体
|
|
@@ -578,37 +584,17 @@ export interface DeleteTraceDataResponse {
|
|
|
578
584
|
RequestId?: string;
|
|
579
585
|
}
|
|
580
586
|
/**
|
|
581
|
-
*
|
|
587
|
+
* 通用调度任务
|
|
582
588
|
*/
|
|
583
|
-
export interface
|
|
584
|
-
/**
|
|
585
|
-
* 商品名称
|
|
586
|
-
*/
|
|
587
|
-
Name: string;
|
|
589
|
+
export interface Job {
|
|
588
590
|
/**
|
|
589
|
-
*
|
|
591
|
+
* 调度ID
|
|
590
592
|
*/
|
|
591
|
-
|
|
593
|
+
JobId: number;
|
|
592
594
|
/**
|
|
593
|
-
*
|
|
595
|
+
* 执行状态 init:初始化, pending: 执行中, done: 执行成功, error: 执行失败
|
|
594
596
|
*/
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* 商品规格
|
|
598
|
-
*/
|
|
599
|
-
Specification?: string;
|
|
600
|
-
/**
|
|
601
|
-
* 商品图片
|
|
602
|
-
*/
|
|
603
|
-
Logo?: Array<string>;
|
|
604
|
-
/**
|
|
605
|
-
* 企业ID
|
|
606
|
-
*/
|
|
607
|
-
CorpId?: number;
|
|
608
|
-
/**
|
|
609
|
-
* 预留字段
|
|
610
|
-
*/
|
|
611
|
-
Ext?: Ext;
|
|
597
|
+
Status: string;
|
|
612
598
|
}
|
|
613
599
|
/**
|
|
614
600
|
* CreateCodePack返回参数结构体
|
|
@@ -813,6 +799,11 @@ export interface TraceItem {
|
|
|
813
799
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
814
800
|
*/
|
|
815
801
|
Key: string;
|
|
802
|
+
/**
|
|
803
|
+
* 扩展字段
|
|
804
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
805
|
+
*/
|
|
806
|
+
Ext: string;
|
|
816
807
|
}
|
|
817
808
|
/**
|
|
818
809
|
* DeleteCodeBatch请求参数结构体
|
|
@@ -851,6 +842,10 @@ export interface DescribeMerchantsRequest {
|
|
|
851
842
|
* 企业ID
|
|
852
843
|
*/
|
|
853
844
|
CorpId?: number;
|
|
845
|
+
/**
|
|
846
|
+
* 码来源类型 0:自建, 1:第三方
|
|
847
|
+
*/
|
|
848
|
+
CodeType?: number;
|
|
854
849
|
}
|
|
855
850
|
/**
|
|
856
851
|
* 码类型
|
|
@@ -970,6 +965,14 @@ export interface CreateMerchantRequest {
|
|
|
970
965
|
* 企业ID
|
|
971
966
|
*/
|
|
972
967
|
CorpId?: number;
|
|
968
|
+
/**
|
|
969
|
+
* 码包来源 0:自建, 1:第三发
|
|
970
|
+
*/
|
|
971
|
+
CodeType?: number;
|
|
972
|
+
/**
|
|
973
|
+
* 码包前缀地址 第三方码包时必填
|
|
974
|
+
*/
|
|
975
|
+
CodeUrl?: string;
|
|
973
976
|
}
|
|
974
977
|
/**
|
|
975
978
|
* DescribeCodeBatchs返回参数结构体
|
|
@@ -1110,7 +1113,7 @@ export interface DescribeProductByIdResponse {
|
|
|
1110
1113
|
RequestId?: string;
|
|
1111
1114
|
}
|
|
1112
1115
|
/**
|
|
1113
|
-
*
|
|
1116
|
+
* 层级码配置
|
|
1114
1117
|
*/
|
|
1115
1118
|
export interface PackSpec {
|
|
1116
1119
|
/**
|
|
@@ -1125,6 +1128,11 @@ export interface PackSpec {
|
|
|
1125
1128
|
* 数量
|
|
1126
1129
|
*/
|
|
1127
1130
|
Amount: number;
|
|
1131
|
+
/**
|
|
1132
|
+
* 码规则ID
|
|
1133
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1134
|
+
*/
|
|
1135
|
+
CustomId?: string;
|
|
1128
1136
|
}
|
|
1129
1137
|
/**
|
|
1130
1138
|
* DescribeCodesByPack请求参数结构体
|
|
@@ -1411,6 +1419,55 @@ export interface DescribeTraceCodesRequest {
|
|
|
1411
1419
|
*/
|
|
1412
1420
|
CorpId?: number;
|
|
1413
1421
|
}
|
|
1422
|
+
/**
|
|
1423
|
+
* 溯源码
|
|
1424
|
+
*/
|
|
1425
|
+
export interface TraceCode {
|
|
1426
|
+
/**
|
|
1427
|
+
* 码
|
|
1428
|
+
*/
|
|
1429
|
+
Code: string;
|
|
1430
|
+
/**
|
|
1431
|
+
* 企业ID
|
|
1432
|
+
*/
|
|
1433
|
+
CorpId: number;
|
|
1434
|
+
/**
|
|
1435
|
+
* 包ID
|
|
1436
|
+
*/
|
|
1437
|
+
PackId: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* 批次ID
|
|
1440
|
+
*/
|
|
1441
|
+
BatchId: string;
|
|
1442
|
+
/**
|
|
1443
|
+
* 所属商户ID
|
|
1444
|
+
*/
|
|
1445
|
+
MerchantId: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* 产品ID
|
|
1448
|
+
*/
|
|
1449
|
+
ProductId: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* 状态
|
|
1452
|
+
*/
|
|
1453
|
+
Status: number;
|
|
1454
|
+
/**
|
|
1455
|
+
* 创建时间
|
|
1456
|
+
*/
|
|
1457
|
+
CreateTime: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* 修改时间
|
|
1460
|
+
*/
|
|
1461
|
+
UpdateTime: string;
|
|
1462
|
+
/**
|
|
1463
|
+
* 商户名称
|
|
1464
|
+
*/
|
|
1465
|
+
MerchantName: string;
|
|
1466
|
+
/**
|
|
1467
|
+
* 产品名称
|
|
1468
|
+
*/
|
|
1469
|
+
ProductName: string;
|
|
1470
|
+
}
|
|
1414
1471
|
/**
|
|
1415
1472
|
* ModifyTraceCode返回参数结构体
|
|
1416
1473
|
*/
|
|
@@ -12290,6 +12290,10 @@ export interface MediaVideoStreamItem {
|
|
|
12290
12290
|
* 帧率,单位:hz。
|
|
12291
12291
|
*/
|
|
12292
12292
|
Fps: number;
|
|
12293
|
+
/**
|
|
12294
|
+
* 编码标签,仅当 Codec 为 hevc 时有效。
|
|
12295
|
+
*/
|
|
12296
|
+
CodecTag: string;
|
|
12293
12297
|
}
|
|
12294
12298
|
/**
|
|
12295
12299
|
* SetDrmKeyProviderInfo请求参数结构体
|
|
@@ -138,16 +138,6 @@ it("mariadb.v20170312.DescribeBackupTime", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("mariadb.v20170312.DescribeDBResourceUsageDetails", async function () {
|
|
142
|
-
try {
|
|
143
|
-
const data = await client.DescribeDBResourceUsageDetails({})
|
|
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
|
-
|
|
151
141
|
it("mariadb.v20170312.ActivateHourDBInstance", async function () {
|
|
152
142
|
try {
|
|
153
143
|
const data = await client.ActivateHourDBInstance({})
|
|
@@ -618,16 +608,6 @@ it("mariadb.v20170312.DescribeLogFileRetentionPeriod", async function () {
|
|
|
618
608
|
}
|
|
619
609
|
})
|
|
620
610
|
|
|
621
|
-
it("mariadb.v20170312.DescribeDBResourceUsage", async function () {
|
|
622
|
-
try {
|
|
623
|
-
const data = await client.DescribeDBResourceUsage({})
|
|
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
|
-
|
|
631
611
|
it("mariadb.v20170312.DisassociateSecurityGroups", async function () {
|
|
632
612
|
try {
|
|
633
613
|
const data = await client.DisassociateSecurityGroups({})
|