tencentcloud-sdk-nodejs 4.0.642 → 4.0.643
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 +296 -0
- package/SERVICE_CHANGELOG.md +428 -62
- package/package.json +1 -1
- package/products.md +19 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bi/v20220105/bi_models.ts +3 -3
- package/src/services/cdb/v20170320/cdb_models.ts +1 -4
- package/src/services/cvm/v20170312/cvm_models.ts +5 -0
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +0 -3
- package/src/services/emr/v20190103/emr_models.ts +35 -32
- package/src/services/ess/v20201111/ess_client.ts +8 -2
- package/src/services/ess/v20201111/ess_models.ts +16 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +18 -6
- package/src/services/essbasic/v20210526/essbasic_models.ts +33 -2
- package/src/services/fmu/v20191213/fmu_client.ts +1 -1
- package/src/services/fmu/v20191213/fmu_models.ts +4 -0
- package/src/services/index.ts +1 -0
- package/src/services/iot/v20180123/iot_client.ts +4 -2
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +28 -18
- package/src/services/mall/index.ts +5 -0
- package/src/services/mall/v20230518/index.ts +6 -0
- package/src/services/mall/v20230518/mall_client.ts +44 -0
- package/src/services/mall/v20230518/mall_models.ts +114 -0
- package/src/services/oceanus/v20190422/oceanus_client.ts +28 -14
- package/src/services/oceanus/v20190422/oceanus_models.ts +138 -14
- package/src/services/ocr/v20181119/ocr_models.ts +6 -6
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +6 -6
- package/src/services/ssl/v20191205/ssl_models.ts +10 -0
- package/src/services/tdmq/v20200217/tdmq_client.ts +79 -336
- package/src/services/tdmq/v20200217/tdmq_models.ts +764 -1656
- package/src/services/tione/v20211111/tione_models.ts +90 -54
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +3 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -4
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +5 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +0 -3
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +35 -32
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +7 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +7 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +16 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +7 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +9 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +31 -2
- package/tencentcloud/services/fmu/v20191213/fmu_client.d.ts +1 -1
- package/tencentcloud/services/fmu/v20191213/fmu_client.js +1 -1
- package/tencentcloud/services/fmu/v20191213/fmu_models.d.ts +4 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iot/v20180123/iot_client.d.ts +3 -1
- package/tencentcloud/services/iot/v20180123/iot_client.js +3 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +28 -18
- package/tencentcloud/services/mall/index.d.ts +6 -0
- package/tencentcloud/services/mall/index.js +7 -0
- package/tencentcloud/services/mall/v20230518/index.d.ts +6 -0
- package/tencentcloud/services/mall/v20230518/index.js +9 -0
- package/tencentcloud/services/mall/v20230518/mall_client.d.ts +14 -0
- package/tencentcloud/services/mall/v20230518/mall_client.js +37 -0
- package/tencentcloud/services/mall/v20230518/mall_models.d.ts +95 -0
- package/tencentcloud/services/mall/v20230518/mall_models.js +18 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +9 -5
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +12 -6
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +134 -14
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6 -6
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +6 -6
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +10 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +13 -121
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +18 -162
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +777 -1628
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +90 -54
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/test/essbasic.v20210526.test.js +12 -2
- package/test/mall.v20230518.test.js +31 -0
- package/test/oceanus.v20190422.test.js +14 -4
- package/test/tdmq.v20200217.test.js +12 -192
|
@@ -247,12 +247,12 @@ export interface GetDeviceListResponse {
|
|
|
247
247
|
* 返回的设备列表, 注意列表设备的 DevicePsk 为空, 要获取设备的 DevicePsk 请使用 DescribeDevice
|
|
248
248
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
249
249
|
*/
|
|
250
|
-
Devices
|
|
250
|
+
Devices?: Array<DeviceInfo>
|
|
251
251
|
/**
|
|
252
252
|
* 产品下的设备总数
|
|
253
253
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
254
254
|
*/
|
|
255
|
-
Total
|
|
255
|
+
Total?: number
|
|
256
256
|
/**
|
|
257
257
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
258
258
|
*/
|
|
@@ -1025,12 +1025,12 @@ export interface GetProjectListResponse {
|
|
|
1025
1025
|
* 项目列表
|
|
1026
1026
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1027
1027
|
*/
|
|
1028
|
-
Projects
|
|
1028
|
+
Projects?: Array<ProjectEntryEx>
|
|
1029
1029
|
/**
|
|
1030
1030
|
* 列表项个数
|
|
1031
1031
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1032
1032
|
*/
|
|
1033
|
-
Total
|
|
1033
|
+
Total?: number
|
|
1034
1034
|
/**
|
|
1035
1035
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1036
1036
|
*/
|
|
@@ -1062,7 +1062,7 @@ export interface DescribeProjectResponse {
|
|
|
1062
1062
|
/**
|
|
1063
1063
|
* 返回信息
|
|
1064
1064
|
*/
|
|
1065
|
-
Project
|
|
1065
|
+
Project?: ProjectEntryEx
|
|
1066
1066
|
/**
|
|
1067
1067
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1068
1068
|
*/
|
|
@@ -1090,11 +1090,11 @@ export interface SearchStudioProductResponse {
|
|
|
1090
1090
|
/**
|
|
1091
1091
|
* 产品列表
|
|
1092
1092
|
*/
|
|
1093
|
-
Products
|
|
1093
|
+
Products?: Array<ProductEntry>
|
|
1094
1094
|
/**
|
|
1095
1095
|
* 产品数量
|
|
1096
1096
|
*/
|
|
1097
|
-
Total
|
|
1097
|
+
Total?: number
|
|
1098
1098
|
/**
|
|
1099
1099
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1100
1100
|
*/
|
|
@@ -1413,11 +1413,11 @@ export interface ListFirmwaresResponse {
|
|
|
1413
1413
|
/**
|
|
1414
1414
|
* 固件总数
|
|
1415
1415
|
*/
|
|
1416
|
-
TotalCount
|
|
1416
|
+
TotalCount?: number
|
|
1417
1417
|
/**
|
|
1418
1418
|
* 固件列表
|
|
1419
1419
|
*/
|
|
1420
|
-
Firmwares
|
|
1420
|
+
Firmwares?: Array<FirmwareInfo>
|
|
1421
1421
|
/**
|
|
1422
1422
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1423
1423
|
*/
|
|
@@ -1930,42 +1930,52 @@ export interface DescribeFirmwareTaskResponse {
|
|
|
1930
1930
|
* 固件任务ID
|
|
1931
1931
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1932
1932
|
*/
|
|
1933
|
-
TaskId
|
|
1933
|
+
TaskId?: number
|
|
1934
1934
|
/**
|
|
1935
1935
|
* 固件任务状态
|
|
1936
1936
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1937
1937
|
*/
|
|
1938
|
-
Status
|
|
1938
|
+
Status?: number
|
|
1939
1939
|
/**
|
|
1940
1940
|
* 固件任务创建时间,单位:秒
|
|
1941
1941
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1942
1942
|
*/
|
|
1943
|
-
CreateTime
|
|
1943
|
+
CreateTime?: number
|
|
1944
1944
|
/**
|
|
1945
1945
|
* 固件任务升级类型
|
|
1946
1946
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1947
1947
|
*/
|
|
1948
|
-
Type
|
|
1948
|
+
Type?: number
|
|
1949
1949
|
/**
|
|
1950
1950
|
* 产品名称
|
|
1951
1951
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1952
1952
|
*/
|
|
1953
|
-
ProductName
|
|
1953
|
+
ProductName?: string
|
|
1954
1954
|
/**
|
|
1955
1955
|
* 固件任务升级模式。originalVersion(按版本号升级)、filename(提交文件升级)、devicenames(按设备名称升级)
|
|
1956
1956
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1957
1957
|
*/
|
|
1958
|
-
UpgradeMode
|
|
1958
|
+
UpgradeMode?: string
|
|
1959
1959
|
/**
|
|
1960
1960
|
* 产品ID
|
|
1961
1961
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1962
1962
|
*/
|
|
1963
|
-
ProductId
|
|
1963
|
+
ProductId?: string
|
|
1964
1964
|
/**
|
|
1965
1965
|
* 原始固件版本号,在UpgradeMode是originalVersion升级模式下会返回
|
|
1966
1966
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1967
1967
|
*/
|
|
1968
|
-
OriginalVersion
|
|
1968
|
+
OriginalVersion?: string
|
|
1969
|
+
/**
|
|
1970
|
+
* 创建账号ID
|
|
1971
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1972
|
+
*/
|
|
1973
|
+
CreateUserId?: number
|
|
1974
|
+
/**
|
|
1975
|
+
* 创建账号ID昵称
|
|
1976
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1977
|
+
*/
|
|
1978
|
+
CreatorNickName?: string
|
|
1969
1979
|
/**
|
|
1970
1980
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1971
1981
|
*/
|
|
@@ -2119,7 +2129,7 @@ export interface DescribeDeviceResponse {
|
|
|
2119
2129
|
/**
|
|
2120
2130
|
* 设备信息
|
|
2121
2131
|
*/
|
|
2122
|
-
Device
|
|
2132
|
+
Device?: DeviceInfo
|
|
2123
2133
|
/**
|
|
2124
2134
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2125
2135
|
*/
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
|
+
import { ClientConfig } from "../../../common/interface"
|
|
20
|
+
import {
|
|
21
|
+
DescribeDrawResourceListResponse,
|
|
22
|
+
ResourceDrawListType,
|
|
23
|
+
DescribeDrawResourceListRequest,
|
|
24
|
+
} from "./mall_models"
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* mall client
|
|
28
|
+
* @class
|
|
29
|
+
*/
|
|
30
|
+
export class Client extends AbstractClient {
|
|
31
|
+
constructor(clientConfig: ClientConfig) {
|
|
32
|
+
super("mall.tencentcloudapi.com", "2023-05-18", clientConfig)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* 依据客户的Uin查询开通的资源列表
|
|
37
|
+
*/
|
|
38
|
+
async DescribeDrawResourceList(
|
|
39
|
+
req: DescribeDrawResourceListRequest,
|
|
40
|
+
cb?: (error: string, rep: DescribeDrawResourceListResponse) => void
|
|
41
|
+
): Promise<DescribeDrawResourceListResponse> {
|
|
42
|
+
return this.request("DescribeDrawResourceList", req, cb)
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
|
+
|
|
18
|
+
/**
|
|
19
|
+
* DescribeDrawResourceList返回参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribeDrawResourceListResponse {
|
|
22
|
+
/**
|
|
23
|
+
* 返回数据条数
|
|
24
|
+
*/
|
|
25
|
+
TotalCount?: number
|
|
26
|
+
/**
|
|
27
|
+
* 返回数据内容
|
|
28
|
+
*/
|
|
29
|
+
ResourceDrawList?: Array<ResourceDrawListType>
|
|
30
|
+
/**
|
|
31
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
32
|
+
*/
|
|
33
|
+
RequestId?: string
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* 输出用户的资源数据
|
|
38
|
+
*/
|
|
39
|
+
export interface ResourceDrawListType {
|
|
40
|
+
/**
|
|
41
|
+
* 记录id
|
|
42
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43
|
+
*/
|
|
44
|
+
Id?: number
|
|
45
|
+
/**
|
|
46
|
+
* 资源记录id
|
|
47
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
48
|
+
*/
|
|
49
|
+
FlowId?: number
|
|
50
|
+
/**
|
|
51
|
+
* 资源id
|
|
52
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
53
|
+
*/
|
|
54
|
+
ResourceId?: string
|
|
55
|
+
/**
|
|
56
|
+
* 本订单资源序列号
|
|
57
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
58
|
+
*/
|
|
59
|
+
IndexId?: string
|
|
60
|
+
/**
|
|
61
|
+
* 客户的Uin
|
|
62
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
63
|
+
*/
|
|
64
|
+
Uin?: string
|
|
65
|
+
/**
|
|
66
|
+
* 大订单号
|
|
67
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
68
|
+
*/
|
|
69
|
+
BigDealId?: string
|
|
70
|
+
/**
|
|
71
|
+
* 小订单号
|
|
72
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
73
|
+
*/
|
|
74
|
+
SmallOrderId?: string
|
|
75
|
+
/**
|
|
76
|
+
* 资源创建时间
|
|
77
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
78
|
+
*/
|
|
79
|
+
ResourceNewStartTime?: string
|
|
80
|
+
/**
|
|
81
|
+
* 资源到期时间
|
|
82
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
83
|
+
*/
|
|
84
|
+
ResourceNewEndTime?: string
|
|
85
|
+
/**
|
|
86
|
+
* 资源状态
|
|
87
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
88
|
+
*/
|
|
89
|
+
ResourceStatus?: number
|
|
90
|
+
/**
|
|
91
|
+
* 本记录状态
|
|
92
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
93
|
+
*/
|
|
94
|
+
Status?: number
|
|
95
|
+
/**
|
|
96
|
+
* 项目类型
|
|
97
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
98
|
+
*/
|
|
99
|
+
ResourceType?: number
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* DescribeDrawResourceList请求参数结构体
|
|
104
|
+
*/
|
|
105
|
+
export interface DescribeDrawResourceListRequest {
|
|
106
|
+
/**
|
|
107
|
+
* PageNumber
|
|
108
|
+
*/
|
|
109
|
+
PageNumber: number
|
|
110
|
+
/**
|
|
111
|
+
* PageSize
|
|
112
|
+
*/
|
|
113
|
+
PageSize: number
|
|
114
|
+
}
|
|
@@ -18,11 +18,13 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
+
DescribeJobSubmissionLogResponse,
|
|
21
22
|
CopyJobResult,
|
|
22
23
|
CreateResourceRequest,
|
|
23
24
|
CheckSavepointRequest,
|
|
24
25
|
CreateJobRequest,
|
|
25
26
|
ResourceRefDetail,
|
|
27
|
+
JobInstanceForSubmissionLog,
|
|
26
28
|
StopJobsRequest,
|
|
27
29
|
CreateJobResponse,
|
|
28
30
|
ResourceLoc,
|
|
@@ -53,12 +55,13 @@ import {
|
|
|
53
55
|
DeleteTableConfigResponse,
|
|
54
56
|
ResourceConfigItem,
|
|
55
57
|
RoleAuth,
|
|
56
|
-
|
|
58
|
+
LogContent,
|
|
57
59
|
DescribeTreeResourcesRsp,
|
|
58
60
|
DescribeResourcesRequest,
|
|
59
61
|
TreeResourceItem,
|
|
60
62
|
RefJobStatusCountItem,
|
|
61
63
|
ResourceLocParam,
|
|
64
|
+
Tag,
|
|
62
65
|
WorkSpaceSetItem,
|
|
63
66
|
ResourceRefJobInfo,
|
|
64
67
|
DescribeJobConfigsRequest,
|
|
@@ -74,6 +77,7 @@ import {
|
|
|
74
77
|
DescribeWorkSpacesResponse,
|
|
75
78
|
ResourceItem,
|
|
76
79
|
WorkSpaceClusterItem,
|
|
80
|
+
DescribeResourceConfigsResponse,
|
|
77
81
|
StopJobsResponse,
|
|
78
82
|
DescribeJobSavepointRequest,
|
|
79
83
|
CreateResourceResponse,
|
|
@@ -92,7 +96,7 @@ import {
|
|
|
92
96
|
Cluster,
|
|
93
97
|
DescribeClustersResponse,
|
|
94
98
|
DescribeWorkSpacesRequest,
|
|
95
|
-
|
|
99
|
+
DescribeJobSubmissionLogRequest,
|
|
96
100
|
ResourceRef,
|
|
97
101
|
DescribeJobsRequest,
|
|
98
102
|
JobV1,
|
|
@@ -190,6 +194,16 @@ export class Client extends AbstractClient {
|
|
|
190
194
|
return this.request("DescribeJobSavepoint", req, cb)
|
|
191
195
|
}
|
|
192
196
|
|
|
197
|
+
/**
|
|
198
|
+
* 查询作业实例启动日志
|
|
199
|
+
*/
|
|
200
|
+
async DescribeJobSubmissionLog(
|
|
201
|
+
req: DescribeJobSubmissionLogRequest,
|
|
202
|
+
cb?: (error: string, rep: DescribeJobSubmissionLogResponse) => void
|
|
203
|
+
): Promise<DescribeJobSubmissionLogResponse> {
|
|
204
|
+
return this.request("DescribeJobSubmissionLog", req, cb)
|
|
205
|
+
}
|
|
206
|
+
|
|
193
207
|
/**
|
|
194
208
|
* 描述资源接口
|
|
195
209
|
*/
|
|
@@ -211,13 +225,13 @@ export class Client extends AbstractClient {
|
|
|
211
225
|
}
|
|
212
226
|
|
|
213
227
|
/**
|
|
214
|
-
*
|
|
228
|
+
* 授权工作空间列表
|
|
215
229
|
*/
|
|
216
|
-
async
|
|
217
|
-
req:
|
|
218
|
-
cb?: (error: string, rep:
|
|
219
|
-
): Promise<
|
|
220
|
-
return this.request("
|
|
230
|
+
async DescribeWorkSpaces(
|
|
231
|
+
req: DescribeWorkSpacesRequest,
|
|
232
|
+
cb?: (error: string, rep: DescribeWorkSpacesResponse) => void
|
|
233
|
+
): Promise<DescribeWorkSpacesResponse> {
|
|
234
|
+
return this.request("DescribeWorkSpaces", req, cb)
|
|
221
235
|
}
|
|
222
236
|
|
|
223
237
|
/**
|
|
@@ -251,13 +265,13 @@ export class Client extends AbstractClient {
|
|
|
251
265
|
}
|
|
252
266
|
|
|
253
267
|
/**
|
|
254
|
-
*
|
|
268
|
+
* 批量删除作业接口,批量操作数量上限20
|
|
255
269
|
*/
|
|
256
|
-
async
|
|
257
|
-
req:
|
|
258
|
-
cb?: (error: string, rep:
|
|
259
|
-
): Promise<
|
|
260
|
-
return this.request("
|
|
270
|
+
async DeleteJobs(
|
|
271
|
+
req: DeleteJobsRequest,
|
|
272
|
+
cb?: (error: string, rep: DeleteJobsResponse) => void
|
|
273
|
+
): Promise<DeleteJobsResponse> {
|
|
274
|
+
return this.request("DeleteJobs", req, cb)
|
|
261
275
|
}
|
|
262
276
|
|
|
263
277
|
/**
|
|
@@ -15,6 +15,44 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* DescribeJobSubmissionLog返回参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribeJobSubmissionLogResponse {
|
|
22
|
+
/**
|
|
23
|
+
* 日志搜索的游标,需要搜索更多时透传这个值
|
|
24
|
+
*/
|
|
25
|
+
Cursor: string
|
|
26
|
+
/**
|
|
27
|
+
* 是否返回了所有的日志记录
|
|
28
|
+
*/
|
|
29
|
+
ListOver: boolean
|
|
30
|
+
/**
|
|
31
|
+
* 作业启动的requestId
|
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33
|
+
*/
|
|
34
|
+
JobRequestId: string
|
|
35
|
+
/**
|
|
36
|
+
* 该时间段内符合关键字的所有的作业实例列表
|
|
37
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38
|
+
*/
|
|
39
|
+
JobInstanceList: Array<JobInstanceForSubmissionLog>
|
|
40
|
+
/**
|
|
41
|
+
* 废弃,请使用LogContentList
|
|
42
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43
|
+
*/
|
|
44
|
+
LogList: Array<string>
|
|
45
|
+
/**
|
|
46
|
+
* 日志列表
|
|
47
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
48
|
+
*/
|
|
49
|
+
LogContentList: Array<LogContent>
|
|
50
|
+
/**
|
|
51
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
52
|
+
*/
|
|
53
|
+
RequestId?: string
|
|
54
|
+
}
|
|
55
|
+
|
|
18
56
|
/**
|
|
19
57
|
* 复制作业单条明细结果
|
|
20
58
|
*/
|
|
@@ -198,6 +236,24 @@ export interface ResourceRefDetail {
|
|
|
198
236
|
SystemProvide: number
|
|
199
237
|
}
|
|
200
238
|
|
|
239
|
+
/**
|
|
240
|
+
* 搜索启动日志时返回的作业实例
|
|
241
|
+
*/
|
|
242
|
+
export interface JobInstanceForSubmissionLog {
|
|
243
|
+
/**
|
|
244
|
+
* 实例的Id, 按照启动的时间顺序,从1开始
|
|
245
|
+
*/
|
|
246
|
+
RunningOrderId: number
|
|
247
|
+
/**
|
|
248
|
+
* 作业实例的启动时间
|
|
249
|
+
*/
|
|
250
|
+
JobInstanceStartTime: string
|
|
251
|
+
/**
|
|
252
|
+
* 作业实例启动的时间(毫秒)
|
|
253
|
+
*/
|
|
254
|
+
StartingMillis: number
|
|
255
|
+
}
|
|
256
|
+
|
|
201
257
|
/**
|
|
202
258
|
* StopJobs请求参数结构体
|
|
203
259
|
*/
|
|
@@ -930,19 +986,33 @@ export interface RoleAuth {
|
|
|
930
986
|
}
|
|
931
987
|
|
|
932
988
|
/**
|
|
933
|
-
*
|
|
989
|
+
* 日志查询的每行日志信息
|
|
934
990
|
*/
|
|
935
|
-
export interface
|
|
991
|
+
export interface LogContent {
|
|
936
992
|
/**
|
|
937
|
-
*
|
|
993
|
+
* 日志内容
|
|
938
994
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
939
995
|
*/
|
|
940
|
-
|
|
996
|
+
Log: string
|
|
941
997
|
/**
|
|
942
|
-
*
|
|
998
|
+
* 毫秒级时间戳
|
|
943
999
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
944
1000
|
*/
|
|
945
|
-
|
|
1001
|
+
Time: number
|
|
1002
|
+
/**
|
|
1003
|
+
* 日志组Id
|
|
1004
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1005
|
+
*/
|
|
1006
|
+
PkgId: string
|
|
1007
|
+
/**
|
|
1008
|
+
* 日志Id,在日志组范围里唯一
|
|
1009
|
+
*/
|
|
1010
|
+
PkgLogId: number
|
|
1011
|
+
/**
|
|
1012
|
+
* 日志所属的容器名
|
|
1013
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1014
|
+
*/
|
|
1015
|
+
ContainerName: string
|
|
946
1016
|
}
|
|
947
1017
|
|
|
948
1018
|
/**
|
|
@@ -1079,6 +1149,22 @@ export interface ResourceLocParam {
|
|
|
1079
1149
|
Region?: string
|
|
1080
1150
|
}
|
|
1081
1151
|
|
|
1152
|
+
/**
|
|
1153
|
+
* 标签
|
|
1154
|
+
*/
|
|
1155
|
+
export interface Tag {
|
|
1156
|
+
/**
|
|
1157
|
+
* 标签键
|
|
1158
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1159
|
+
*/
|
|
1160
|
+
TagKey?: string
|
|
1161
|
+
/**
|
|
1162
|
+
* 标签值
|
|
1163
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1164
|
+
*/
|
|
1165
|
+
TagValue?: string
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1082
1168
|
/**
|
|
1083
1169
|
* 工作空间详情
|
|
1084
1170
|
*/
|
|
@@ -1513,6 +1599,24 @@ export interface WorkSpaceClusterItem {
|
|
|
1513
1599
|
ProjectIdStr: string
|
|
1514
1600
|
}
|
|
1515
1601
|
|
|
1602
|
+
/**
|
|
1603
|
+
* DescribeResourceConfigs返回参数结构体
|
|
1604
|
+
*/
|
|
1605
|
+
export interface DescribeResourceConfigsResponse {
|
|
1606
|
+
/**
|
|
1607
|
+
* 资源配置描述数组
|
|
1608
|
+
*/
|
|
1609
|
+
ResourceConfigSet: Array<ResourceConfigItem>
|
|
1610
|
+
/**
|
|
1611
|
+
* 资源配置数量
|
|
1612
|
+
*/
|
|
1613
|
+
TotalCount: number
|
|
1614
|
+
/**
|
|
1615
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1616
|
+
*/
|
|
1617
|
+
RequestId?: string
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1516
1620
|
/**
|
|
1517
1621
|
* StopJobs返回参数结构体
|
|
1518
1622
|
*/
|
|
@@ -2077,21 +2181,41 @@ export interface DescribeWorkSpacesRequest {
|
|
|
2077
2181
|
}
|
|
2078
2182
|
|
|
2079
2183
|
/**
|
|
2080
|
-
*
|
|
2184
|
+
* DescribeJobSubmissionLog请求参数结构体
|
|
2081
2185
|
*/
|
|
2082
|
-
export interface
|
|
2186
|
+
export interface DescribeJobSubmissionLogRequest {
|
|
2083
2187
|
/**
|
|
2084
|
-
*
|
|
2188
|
+
* 作业ID,例如:cql-6v1jkxrn
|
|
2085
2189
|
*/
|
|
2086
|
-
|
|
2190
|
+
JobId: string
|
|
2087
2191
|
/**
|
|
2088
|
-
*
|
|
2192
|
+
* 起始时间,unix时间戳,毫秒级,例如:1611754219108
|
|
2089
2193
|
*/
|
|
2090
|
-
|
|
2194
|
+
StartTime: number
|
|
2091
2195
|
/**
|
|
2092
|
-
*
|
|
2196
|
+
* 结束时间,unix时间戳,毫秒级,例如:1611754219108
|
|
2093
2197
|
*/
|
|
2094
|
-
|
|
2198
|
+
EndTime: number
|
|
2199
|
+
/**
|
|
2200
|
+
* 作业运行的实例ID, 例如:1,2,3。默认为0,表示未选中任何实例,搜索该时间段内最近的一个实例的日志
|
|
2201
|
+
*/
|
|
2202
|
+
RunningOrderId?: number
|
|
2203
|
+
/**
|
|
2204
|
+
* 日志搜索的关键词,默认为空
|
|
2205
|
+
*/
|
|
2206
|
+
Keyword?: string
|
|
2207
|
+
/**
|
|
2208
|
+
* 日志搜索的游标,可透传上次返回的值,默认为空
|
|
2209
|
+
*/
|
|
2210
|
+
Cursor?: string
|
|
2211
|
+
/**
|
|
2212
|
+
* 时间戳排序规则,asc - 升序,desc - 降序。默认为升序
|
|
2213
|
+
*/
|
|
2214
|
+
OrderType?: string
|
|
2215
|
+
/**
|
|
2216
|
+
* 搜索的日志条数上限值,最大为100
|
|
2217
|
+
*/
|
|
2218
|
+
Limit?: number
|
|
2095
2219
|
}
|
|
2096
2220
|
|
|
2097
2221
|
/**
|
|
@@ -103,7 +103,7 @@ OK:表示识别成功;FailedOperation.UnsupportedInvoice:表示不支持
|
|
|
103
103
|
FailedOperation.UnKnowError:表示识别失败;
|
|
104
104
|
其它错误码见各个票据接口的定义。
|
|
105
105
|
*/
|
|
106
|
-
Code
|
|
106
|
+
Code?: string
|
|
107
107
|
/**
|
|
108
108
|
* 识别出的图片所属的票据类型。
|
|
109
109
|
-1:未知类型
|
|
@@ -122,19 +122,19 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
|
122
122
|
16:全电发票
|
|
123
123
|
17:医疗发票
|
|
124
124
|
*/
|
|
125
|
-
Type
|
|
125
|
+
Type?: number
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* 该发票在原图片中的四点坐标。
|
|
128
128
|
*/
|
|
129
|
-
Polygon
|
|
129
|
+
Polygon?: Polygon
|
|
130
130
|
/**
|
|
131
131
|
* 识别出的图片在混贴票据图片中的旋转角度。
|
|
132
132
|
*/
|
|
133
|
-
Angle
|
|
133
|
+
Angle?: number
|
|
134
134
|
/**
|
|
135
135
|
* 识别到的内容。
|
|
136
136
|
*/
|
|
137
|
-
SingleInvoiceInfos
|
|
137
|
+
SingleInvoiceInfos?: SingleInvoiceItem
|
|
138
138
|
/**
|
|
139
139
|
* 发票处于识别图片或PDF文件中的页教,默认从1开始。
|
|
140
140
|
*/
|