tencentcloud-sdk-nodejs 4.0.382 → 4.0.385

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 (94) hide show
  1. package/CHANGELOG.md +601 -0
  2. package/SERVICE_CHANGELOG.md +575 -157
  3. package/package.json +1 -1
  4. package/products.md +29 -29
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_client.ts +1 -1
  7. package/src/services/asr/v20190614/asr_models.ts +2 -2
  8. package/src/services/cfg/v20210820/cfg_models.ts +18 -0
  9. package/src/services/ciam/v20220331/ciam_client.ts +13 -0
  10. package/src/services/ciam/v20220331/ciam_models.ts +91 -0
  11. package/src/services/ckafka/v20190819/ckafka_client.ts +26 -1
  12. package/src/services/ckafka/v20190819/ckafka_models.ts +108 -6
  13. package/src/services/clb/v20180317/clb_models.ts +5 -0
  14. package/src/services/cvm/v20170312/cvm_client.ts +2 -1
  15. package/src/services/dlc/v20210125/dlc_models.ts +56 -1
  16. package/src/services/emr/v20190103/emr_client.ts +14 -1
  17. package/src/services/emr/v20190103/emr_models.ts +150 -10
  18. package/src/services/ess/v20201111/ess_client.ts +4 -3
  19. package/src/services/ess/v20201111/ess_models.ts +1 -0
  20. package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
  21. package/src/services/essbasic/v20210526/essbasic_models.ts +9 -2
  22. package/src/services/iotvideo/v20211125/iotvideo_client.ts +1099 -28
  23. package/src/services/iotvideo/v20211125/iotvideo_models.ts +4769 -204
  24. package/src/services/ocr/v20181119/ocr_models.ts +10 -0
  25. package/src/services/organization/v20210331/organization_models.ts +6 -0
  26. package/src/services/ses/v20201002/ses_models.ts +6 -1
  27. package/src/services/ssl/v20191205/ssl_models.ts +12 -0
  28. package/src/services/taf/v20200210/taf_models.ts +6 -6
  29. package/src/services/tan/v20220420/tan_models.ts +3 -3
  30. package/src/services/tcex/v20200727/tcex_client.ts +8 -4
  31. package/src/services/tcss/v20201101/tcss_models.ts +6 -1
  32. package/src/services/teo/v20220106/teo_models.ts +1 -1
  33. package/src/services/tiems/v20190416/tiems_client.ts +100 -50
  34. package/src/services/tiia/v20190529/tiia_models.ts +20 -2
  35. package/src/services/tse/v20201207/tse_models.ts +10 -0
  36. package/src/services/vod/v20180717/vod_models.ts +15 -5
  37. package/src/services/vpc/v20170312/vpc_client.ts +4 -2
  38. package/src/services/vpc/v20170312/vpc_models.ts +197 -97
  39. package/src/services/waf/v20180125/waf_client.ts +13 -0
  40. package/src/services/waf/v20180125/waf_models.ts +115 -0
  41. package/src/services/yinsuda/v20220527/yinsuda_models.ts +7 -0
  42. package/tencentcloud/common/sdk_version.d.ts +1 -1
  43. package/tencentcloud/common/sdk_version.js +1 -1
  44. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  45. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  46. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
  47. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +15 -0
  48. package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +5 -1
  49. package/tencentcloud/services/ciam/v20220331/ciam_client.js +6 -0
  50. package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +77 -0
  51. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +9 -1
  52. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +12 -0
  53. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +92 -5
  54. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -0
  55. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +2 -1
  56. package/tencentcloud/services/cvm/v20170312/cvm_client.js +2 -1
  57. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +46 -1
  58. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +5 -1
  59. package/tencentcloud/services/emr/v20190103/emr_client.js +6 -0
  60. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +123 -8
  61. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +4 -3
  62. package/tencentcloud/services/ess/v20201111/ess_client.js +4 -3
  63. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -0
  64. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
  65. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
  66. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -1
  67. package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.d.ts +355 -7
  68. package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.js +531 -9
  69. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +4031 -161
  70. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -0
  71. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +5 -0
  72. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +5 -1
  73. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +10 -0
  74. package/tencentcloud/services/taf/v20200210/taf_models.d.ts +6 -6
  75. package/tencentcloud/services/tan/v20220420/tan_models.d.ts +3 -3
  76. package/tencentcloud/services/tcex/v20200727/tcex_client.d.ts +6 -2
  77. package/tencentcloud/services/tcex/v20200727/tcex_client.js +6 -2
  78. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +6 -1
  79. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +1 -1
  80. package/tencentcloud/services/tiems/v20190416/tiems_client.d.ts +75 -25
  81. package/tencentcloud/services/tiems/v20190416/tiems_client.js +75 -25
  82. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +17 -2
  83. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +8 -0
  84. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +13 -5
  85. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +164 -82
  86. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  87. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  88. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +95 -0
  89. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +6 -0
  90. package/test/ciam.v20220331.test.js +10 -0
  91. package/test/ckafka.v20190819.test.js +20 -0
  92. package/test/emr.v20190103.test.js +10 -0
  93. package/test/iotvideo.v20211125.test.js +878 -8
  94. package/test/waf.v20180125.test.js +10 -0
@@ -1,306 +1,371 @@
1
1
  /**
2
- * 消息数量统计
2
+ * DescribeCloudStorageDate请求参数结构体
3
3
  */
4
- export interface MessageCntStats {
4
+ export interface DescribeCloudStorageDateRequest {
5
5
  /**
6
- * 统计日期
6
+ * 产品ID
7
7
  */
8
- Date: string;
8
+ ProductId: string;
9
9
  /**
10
- * 物模型上行消息数
11
- 注意:此字段可能返回 null,表示取不到有效值。
10
+ * 设备名称
12
11
  */
13
- UpMsgCnt: number;
12
+ DeviceName: string;
14
13
  /**
15
- * 物模型下行消息数
16
- 注意:此字段可能返回 null,表示取不到有效值。
14
+ * 用户ID
17
15
  */
18
- DownMsgCnt: number;
16
+ UserId?: string;
17
+ }
18
+ /**
19
+ * 云存时间轴接口返回数据
20
+ */
21
+ export interface CloudStorageTimeData {
19
22
  /**
20
- * ntp消息数
21
- 注意:此字段可能返回 null,表示取不到有效值。
23
+ * 云存时间轴信息列表
22
24
  */
23
- NtpMsgCnt: number;
25
+ TimeList: Array<CloudStorageTimeInfo>;
26
+ /**
27
+ * 播放地址
28
+ */
29
+ VideoURL: string;
24
30
  }
25
31
  /**
26
- * 设备签名信息
32
+ * 云存套餐包消耗统计
27
33
  */
28
- export interface DeviceSignatureInfo {
34
+ export interface PackageConsumeStat {
35
+ /**
36
+ * 云存套餐包id
37
+ */
38
+ PackageId: string;
39
+ /**
40
+ * 云存套餐包名称
41
+ */
42
+ PackageName: string;
43
+ /**
44
+ * 消耗个数
45
+ */
46
+ Cnt: number;
47
+ /**
48
+ * 套餐包单价,单位分
49
+ */
50
+ Price: number;
51
+ /**
52
+ * 消耗来源,1预付费
53
+ */
54
+ Source: number;
55
+ }
56
+ /**
57
+ * DescribeCloudStoragePackageConsumeDetails返回参数结构体
58
+ */
59
+ export interface DescribeCloudStoragePackageConsumeDetailsResponse {
60
+ /**
61
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
62
+ */
63
+ RequestId?: string;
64
+ }
65
+ /**
66
+ * CreateCloudStorage请求参数结构体
67
+ */
68
+ export interface CreateCloudStorageRequest {
69
+ /**
70
+ * 产品ID
71
+ */
72
+ ProductId: string;
29
73
  /**
30
74
  * 设备名称
31
75
  */
32
76
  DeviceName: string;
33
77
  /**
34
- * 设备签名
78
+ * 云存套餐ID:
79
+ yc1m3d : 全时3天存储月套餐。
80
+ yc1m7d : 全时7天存储月套餐。
81
+ yc1m30d :全时30天存储月套餐。
82
+ yc1y3d :全时3天存储年套餐。
83
+ yc1y7d :全时7天存储年套餐。
84
+ yc1y30d :全时30天存储年套餐。
85
+ ye1m3d :事件3天存储月套餐。
86
+ ye1m7d :事件7天存储月套餐。
87
+ ye1m30d :事件30天存储月套餐 。
88
+ ye1y3d :事件3天存储年套餐。
89
+ ye1y7d :事件7天存储年套餐。
90
+ ye1y30d :事件30天存储年套餐。
91
+ yc1w7d : 全时7天存储周套餐。
92
+ ye1w7d : 事件7天存储周套餐。
35
93
  */
36
- DeviceSignature: string;
94
+ PackageId: string;
95
+ /**
96
+ * 如果当前设备已开启云存套餐,Override=1会使用新套餐覆盖原有套餐。不传此参数则默认为0。
97
+ */
98
+ Override?: number;
37
99
  }
38
100
  /**
39
- * CallDeviceActionAsync返回参数结构体
101
+ * 消息数量统计
40
102
  */
41
- export interface CallDeviceActionAsyncResponse {
103
+ export interface MessageCntStats {
42
104
  /**
43
- * 调用Id
105
+ * 统计日期
106
+ */
107
+ Date: string;
108
+ /**
109
+ * 物模型上行消息数
44
110
  注意:此字段可能返回 null,表示取不到有效值。
45
111
  */
46
- ClientToken: string;
112
+ UpMsgCnt: number;
47
113
  /**
48
- * 异步调用状态
114
+ * 物模型下行消息数
49
115
  注意:此字段可能返回 null,表示取不到有效值。
50
116
  */
51
- Status: string;
117
+ DownMsgCnt: number;
52
118
  /**
53
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
119
+ * ntp消息数
120
+ 注意:此字段可能返回 null,表示取不到有效值。
54
121
  */
55
- RequestId?: string;
122
+ NtpMsgCnt: number;
56
123
  }
57
124
  /**
58
- * GenSingleDeviceSignatureOfPublic返回参数结构体
125
+ * DescribeDeviceDataStats请求参数结构体
59
126
  */
60
- export interface GenSingleDeviceSignatureOfPublicResponse {
127
+ export interface DescribeDeviceDataStatsRequest {
61
128
  /**
62
- * 设备签名信息
129
+ * 开始日期
63
130
  */
64
- DeviceSignature: DeviceSignatureInfo;
131
+ StartDate: string;
65
132
  /**
66
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
133
+ * 结束日期
67
134
  */
68
- RequestId?: string;
135
+ EndDate: string;
136
+ /**
137
+ * 产品id
138
+ */
139
+ ProductId?: string;
69
140
  }
70
141
  /**
71
- * CreateProduct请求参数结构体
142
+ * 批次元数据
72
143
  */
73
- export interface CreateProductRequest {
144
+ export interface VideoBatch {
74
145
  /**
75
- * 产品名称
146
+ * 批次ID
76
147
  */
77
- ProductName: string;
148
+ Id: number;
78
149
  /**
79
- * 产品设备类型 1.普通设备 2.NVR设备
150
+ * 用户ID
80
151
  */
81
- DeviceType: number;
152
+ UserId: string;
82
153
  /**
83
- * 产品有效期
154
+ * 产品ID
84
155
  */
85
- ProductVaildYears: number;
156
+ ProductId: string;
86
157
  /**
87
- * 设备功能码 ypsxth音频双向通话 spdxth视频单向通话 sxysp双向音视频
158
+ * 状态:1:待创建设备 2:创建中 3:已完成
88
159
  */
89
- Features: Array<string>;
160
+ Status: number;
90
161
  /**
91
- * 设备操作系统,通用设备填default
162
+ * 设备前缀
92
163
  */
93
- ChipOs: string;
164
+ DevPre: string;
94
165
  /**
95
- * 芯片厂商id,通用设备填default
166
+ * 设备数量
96
167
  */
97
- ChipManufactureId: string;
168
+ DevNum: number;
98
169
  /**
99
- * 芯片id,通用设备填default
170
+ * 已创建设备数量
100
171
  */
101
- ChipId: string;
172
+ DevNumCreated: number;
102
173
  /**
103
- * 产品描述信息
174
+ * 批次下载地址
104
175
  */
105
- ProductDescription: string;
176
+ BatchURL: string;
106
177
  /**
107
- * 认证方式 只支持取值为2 psk认证
178
+ * 创建时间。unix时间戳
108
179
  */
109
- EncryptionType?: number;
180
+ CreateTime: number;
110
181
  /**
111
- * 连接类型,wifi表示WIFI连接,cellular表示4G连接
182
+ * 修改时间。unix时间戳
112
183
  */
113
- NetType?: string;
184
+ UpdateTime: number;
114
185
  }
115
186
  /**
116
- * GenSingleDeviceSignatureOfPublic请求参数结构体
187
+ * ImportModelDefinition返回参数结构体
117
188
  */
118
- export interface GenSingleDeviceSignatureOfPublicRequest {
189
+ export interface ImportModelDefinitionResponse {
119
190
  /**
120
- * 设备所属的产品ID
191
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
121
192
  */
122
- ProductId: string;
193
+ RequestId?: string;
194
+ }
195
+ /**
196
+ * ApplyAIModel请求参数结构体
197
+ */
198
+ export interface ApplyAIModelRequest {
123
199
  /**
124
- * 需要绑定的设备
200
+ * AI模型ID
125
201
  */
126
- DeviceName: string;
202
+ ModelId: string;
127
203
  /**
128
- * 设备绑定签名的有效时间,以秒为单位。取值范围:0 < Expire <= 86400,Expire == -1(十年)
204
+ * 产品ID
129
205
  */
130
- Expire: number;
206
+ ProductId: string;
131
207
  }
132
208
  /**
133
- * DescribeDeviceDataStats请求参数结构体
209
+ * CreateBatch请求参数结构体
134
210
  */
135
- export interface DescribeDeviceDataStatsRequest {
211
+ export interface CreateBatchRequest {
136
212
  /**
137
- * 开始日期
213
+ * 产品ID
138
214
  */
139
- StartDate: string;
215
+ ProductId: string;
140
216
  /**
141
- * 结束日期
217
+ * 批次创建的设备数量
142
218
  */
143
- EndDate: string;
219
+ DevNum: number;
144
220
  /**
145
- * 产品id
221
+ * 批次创建的设备前缀。不超过24个字符
146
222
  */
147
- ProductId?: string;
223
+ DevPre: string;
148
224
  }
149
225
  /**
150
- * CallDeviceActionSync返回参数结构体
226
+ * ModifyProductDynamicRegister返回参数结构体
151
227
  */
152
- export interface CallDeviceActionSyncResponse {
228
+ export interface ModifyProductDynamicRegisterResponse {
153
229
  /**
154
- * 调用Id
155
- 注意:此字段可能返回 null,表示取不到有效值。
230
+ * 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
156
231
  */
157
- ClientToken: string;
232
+ RegisterType: number;
158
233
  /**
159
- * 输出参数
160
- 注意:此字段可能返回 null,表示取不到有效值。
234
+ * 动态注册产品密钥
161
235
  */
162
- OutputParams: string;
236
+ ProductSecret: string;
163
237
  /**
164
- * 返回状态,当设备不在线等部分情况,会通过该 Status 返回。
165
- 注意:此字段可能返回 null,表示取不到有效值。
238
+ * 动态注册设备上限
166
239
  */
167
- Status: string;
240
+ RegisterLimit: number;
168
241
  /**
169
242
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
170
243
  */
171
244
  RequestId?: string;
172
245
  }
173
246
  /**
174
- * CreateProduct返回参数结构体
247
+ * CancelAIModelApplication返回参数结构体
175
248
  */
176
- export interface CreateProductResponse {
177
- /**
178
- * 产品详情
179
- */
180
- Data: VideoProduct;
249
+ export interface CancelAIModelApplicationResponse {
181
250
  /**
182
251
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
183
252
  */
184
253
  RequestId?: string;
185
254
  }
186
255
  /**
187
- * 设备数量统计
256
+ * DescribeCloudStorageTime返回参数结构体
188
257
  */
189
- export interface DeviceCntStats {
190
- /**
191
- * 统计日期
192
- */
193
- Date: string;
194
- /**
195
- * 新增注册设备数
196
- 注意:此字段可能返回 null,表示取不到有效值。
197
- */
198
- NewRegisterCnt: number;
258
+ export interface DescribeCloudStorageTimeResponse {
199
259
  /**
200
- * 新增激活设备数
201
- 注意:此字段可能返回 null,表示取不到有效值。
260
+ * 接口返回数据
202
261
  */
203
- NewActivateCnt: number;
262
+ Data: CloudStorageTimeData;
204
263
  /**
205
- * 活跃设备数
206
- 注意:此字段可能返回 null,表示取不到有效值。
264
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
207
265
  */
208
- ActiveCnt: number;
266
+ RequestId?: string;
209
267
  }
210
268
  /**
211
- * DescribeDeviceDataStats返回参数结构体
269
+ * DescribeDeviceStatusLog返回参数结构体
212
270
  */
213
- export interface DescribeDeviceDataStatsResponse {
271
+ export interface DescribeDeviceStatusLogResponse {
214
272
  /**
215
- * 累计注册设备数
273
+ * 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。
216
274
  注意:此字段可能返回 null,表示取不到有效值。
217
275
  */
218
- RegisterCnt: number;
276
+ Listover: boolean;
219
277
  /**
220
- * 设备数量列表
278
+ * 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据
221
279
  注意:此字段可能返回 null,表示取不到有效值。
222
280
  */
223
- Data: Array<DeviceCntStats>;
281
+ Context: string;
224
282
  /**
225
- * 总数
283
+ * 日志数据结果数组,返回对应时间点及取值。
226
284
  注意:此字段可能返回 null,表示取不到有效值。
227
285
  */
228
- Total: number;
286
+ Results: Array<DeviceStatusLogItem>;
287
+ /**
288
+ * 日志数据结果总条数
289
+ 注意:此字段可能返回 null,表示取不到有效值。
290
+ */
291
+ TotalCount: number;
229
292
  /**
230
293
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
231
294
  */
232
295
  RequestId?: string;
233
296
  }
234
297
  /**
235
- * video产品元数据
298
+ * DescribePackageConsumeTask请求参数结构体
236
299
  */
237
- export interface VideoProduct {
238
- /**
239
- * 产品ID
240
- */
241
- ProductId: string;
242
- /**
243
- * 产品名称
244
- */
245
- ProductName: string;
246
- /**
247
- * 产品设备类型(普通设备) 1.普通设备
248
- */
249
- DeviceType: number;
300
+ export interface DescribePackageConsumeTaskRequest {
250
301
  /**
251
- * 认证方式:2:PSK
302
+ * 任务id
252
303
  */
253
- EncryptionType: number;
304
+ TaskId: number;
305
+ }
306
+ /**
307
+ * ReportAliveDevice请求参数结构体
308
+ */
309
+ export interface ReportAliveDeviceRequest {
254
310
  /**
255
- * 设备功能码
311
+ * 产品ID
256
312
  */
257
- Features: Array<string>;
313
+ ProductId: string;
258
314
  /**
259
- * 操作系统
315
+ * 设备名称
260
316
  */
261
- ChipOs: string;
317
+ DeviceName: string;
318
+ }
319
+ /**
320
+ * DescribeProducts请求参数结构体
321
+ */
322
+ export interface DescribeProductsRequest {
262
323
  /**
263
- * 芯片厂商id
324
+ * 分页的大小,最大100
264
325
  */
265
- ChipManufactureId: string;
326
+ Limit: number;
266
327
  /**
267
- * 芯片id
328
+ * 偏移量,Offset从0开始
268
329
  */
269
- ChipId: string;
330
+ Offset: number;
331
+ }
332
+ /**
333
+ * DescribeAIModelChannel返回参数结构体
334
+ */
335
+ export interface DescribeAIModelChannelResponse {
270
336
  /**
271
- * 产品描述信息
337
+ * 推送类型。ckafka:消息队列;forward:http/https推送
272
338
  */
273
- ProductDescription: string;
339
+ Type: string;
274
340
  /**
275
- * 创建时间unix时间戳
341
+ * 第三方推送地址
342
+ 注意:此字段可能返回 null,表示取不到有效值。
276
343
  */
277
- CreateTime: number;
344
+ ForwardAddress: string;
278
345
  /**
279
- * 修改时间unix时间戳
346
+ * 第三方推送密钥
347
+ 注意:此字段可能返回 null,表示取不到有效值。
280
348
  */
281
- UpdateTime: number;
349
+ ForwardKey: string;
282
350
  /**
283
- * 连接类型,wifi表示WIFI连接,cellular表示4G连接
351
+ * ckafka地域
284
352
  注意:此字段可能返回 null,表示取不到有效值。
285
353
  */
286
- NetType: string;
287
- }
288
- /**
289
- * DescribeMessageDataStats请求参数结构体
290
- */
291
- export interface DescribeMessageDataStatsRequest {
354
+ CKafkaRegion: string;
292
355
  /**
293
- * 统计开始日期
356
+ * ckafka实例
357
+ 注意:此字段可能返回 null,表示取不到有效值。
294
358
  */
295
- StartDate: string;
359
+ CKafkaInstance: string;
296
360
  /**
297
- * 统计结束日期
361
+ * ckafka订阅主题
362
+ 注意:此字段可能返回 null,表示取不到有效值。
298
363
  */
299
- EndDate: string;
364
+ CKafkaTopic: string;
300
365
  /**
301
- * 产品id
366
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
302
367
  */
303
- ProductId?: string;
368
+ RequestId?: string;
304
369
  }
305
370
  /**
306
371
  * DescribeMessageDataStats返回参数结构体
@@ -322,9 +387,9 @@ export interface DescribeMessageDataStatsResponse {
322
387
  RequestId?: string;
323
388
  }
324
389
  /**
325
- * CallDeviceActionAsync请求参数结构体
390
+ * DescribeDeviceActionHistory请求参数结构体
326
391
  */
327
- export interface CallDeviceActionAsyncRequest {
392
+ export interface DescribeDeviceActionHistoryRequest {
328
393
  /**
329
394
  * 产品Id
330
395
  */
@@ -334,14 +399,199 @@ export interface CallDeviceActionAsyncRequest {
334
399
  */
335
400
  DeviceName: string;
336
401
  /**
337
- * 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
402
+ * 开始范围的 unix 毫秒时间戳
338
403
  */
339
- ActionId: string;
404
+ MinTime: number;
340
405
  /**
341
- * 输入参数
406
+ * 结束范围的 unix 毫秒时间戳
342
407
  */
343
- InputParams?: string;
344
- }
408
+ MaxTime: number;
409
+ /**
410
+ * 动作Id
411
+ */
412
+ ActionId?: string;
413
+ /**
414
+ * 查询条数 默认为0 最大不超过500
415
+ */
416
+ Limit?: number;
417
+ /**
418
+ * 游标,标识查询位置。
419
+ */
420
+ Context?: string;
421
+ }
422
+ /**
423
+ * ModifyDataForward请求参数结构体
424
+ */
425
+ export interface ModifyDataForwardRequest {
426
+ /**
427
+ * 产品ID。
428
+ */
429
+ ProductId: string;
430
+ /**
431
+ * 转发地址。如果有鉴权Token,则需要自行传入,例如 [{\"forward\":{\"api\":\"http://123.207.117.108:1080/sub.php\",\"token\":\"testtoken\"}}]
432
+ */
433
+ ForwardAddr: string;
434
+ /**
435
+ * 1-数据信息转发 2-设备上下线状态转发 3-数据信息转发&设备上下线状态转发
436
+ */
437
+ DataChose?: number;
438
+ }
439
+ /**
440
+ * DescribeDevices返回参数结构体
441
+ */
442
+ export interface DescribeDevicesResponse {
443
+ /**
444
+ * 设备总数
445
+ */
446
+ TotalCount: number;
447
+ /**
448
+ * 设备详细信息列表
449
+ */
450
+ Devices: Array<DeviceInfo>;
451
+ /**
452
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
453
+ */
454
+ RequestId?: string;
455
+ }
456
+ /**
457
+ * ModifyProduct返回参数结构体
458
+ */
459
+ export interface ModifyProductResponse {
460
+ /**
461
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
462
+ */
463
+ RequestId?: string;
464
+ }
465
+ /**
466
+ * ModifyProduct请求参数结构体
467
+ */
468
+ export interface ModifyProductRequest {
469
+ /**
470
+ * 产品id
471
+ */
472
+ ProductId: string;
473
+ /**
474
+ * 修改的产品名称 (支持中文、英文、数字、下划线组合,最多不超过20个字符)
475
+ */
476
+ ProductName?: string;
477
+ /**
478
+ * 修改的产品描述 (最多不超过128个字符)
479
+ */
480
+ ProductDescription?: string;
481
+ }
482
+ /**
483
+ * ModifyModelDefinition请求参数结构体
484
+ */
485
+ export interface ModifyModelDefinitionRequest {
486
+ /**
487
+ * 产品ID
488
+ */
489
+ ProductId: string;
490
+ /**
491
+ * 数据模板定义
492
+ */
493
+ ModelSchema: string;
494
+ }
495
+ /**
496
+ * DescribeBatchs返回参数结构体
497
+ */
498
+ export interface DescribeBatchsResponse {
499
+ /**
500
+ * 批次数量
501
+ */
502
+ TotalCount: number;
503
+ /**
504
+ * 批次列表详情
505
+ */
506
+ Data: Array<VideoBatch>;
507
+ /**
508
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
509
+ */
510
+ RequestId?: string;
511
+ }
512
+ /**
513
+ * CancelAIModelApplication请求参数结构体
514
+ */
515
+ export interface CancelAIModelApplicationRequest {
516
+ /**
517
+ * AI模型ID
518
+ */
519
+ ModelId: string;
520
+ /**
521
+ * 产品ID
522
+ */
523
+ ProductId: string;
524
+ }
525
+ /**
526
+ * TransferCloudStorage返回参数结构体
527
+ */
528
+ export interface TransferCloudStorageResponse {
529
+ /**
530
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
531
+ */
532
+ RequestId?: string;
533
+ }
534
+ /**
535
+ * DescribeUser请求参数结构体
536
+ */
537
+ export declare type DescribeUserRequest = null;
538
+ /**
539
+ * DescribeForwardRule返回参数结构体
540
+ */
541
+ export interface DescribeForwardRuleResponse {
542
+ /**
543
+ * 腾讯云账号
544
+ */
545
+ Endpoint: string;
546
+ /**
547
+ * 队列名称
548
+ */
549
+ QueueName: string;
550
+ /**
551
+ * 产品ID
552
+ */
553
+ ProductID: string;
554
+ /**
555
+ * 消息类型 1设备上报信息 2设备状态变化通知 3为全选
556
+ */
557
+ MsgType: number;
558
+ /**
559
+ * 结果 2表示禁用 其他为成功
560
+ */
561
+ Result: number;
562
+ /**
563
+ * 角色名
564
+ */
565
+ RoleName: string;
566
+ /**
567
+ * 角色ID
568
+ */
569
+ RoleID: number;
570
+ /**
571
+ * 队列区域
572
+ */
573
+ QueueRegion: string;
574
+ /**
575
+ * 队列类型,0:CMQ,1:Ckafka
576
+ */
577
+ QueueType: number;
578
+ /**
579
+ * 实例id, 目前只有Ckafaka会用到
580
+ */
581
+ InstanceId: string;
582
+ /**
583
+ * 实例名称,目前只有Ckafaka会用到
584
+ */
585
+ InstanceName: string;
586
+ /**
587
+ * 错误消息
588
+ */
589
+ ErrMsg: string;
590
+ /**
591
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
592
+ */
593
+ RequestId?: string;
594
+ }
345
595
  /**
346
596
  * CallDeviceActionSync请求参数结构体
347
597
  */
@@ -363,3 +613,3623 @@ export interface CallDeviceActionSyncRequest {
363
613
  */
364
614
  InputParams?: string;
365
615
  }
616
+ /**
617
+ * ModifyDeviceLogLevel请求参数结构体
618
+ */
619
+ export interface ModifyDeviceLogLevelRequest {
620
+ /**
621
+ * 产品ID
622
+ */
623
+ ProductId: string;
624
+ /**
625
+ * 设备名称
626
+ */
627
+ DeviceName: string;
628
+ /**
629
+ * 日志级别,0:关闭,1:错误,2:告警,3:信息,4:调试
630
+ */
631
+ LogLevel: number;
632
+ }
633
+ /**
634
+ * DescribeBatch请求参数结构体
635
+ */
636
+ export interface DescribeBatchRequest {
637
+ /**
638
+ * 批次ID
639
+ */
640
+ BatchId: number;
641
+ }
642
+ /**
643
+ * DescribeForwardRule请求参数结构体
644
+ */
645
+ export interface DescribeForwardRuleRequest {
646
+ /**
647
+ * 产品ID
648
+ */
649
+ ProductID: string;
650
+ /**
651
+ * 控制台Skey
652
+ */
653
+ Skey: string;
654
+ /**
655
+ * 队列类型,0:CMQ,1:Ckafka
656
+ */
657
+ QueueType: number;
658
+ /**
659
+ * 临时密钥
660
+ */
661
+ Consecretid?: string;
662
+ }
663
+ /**
664
+ * ModifyDevice请求参数结构体
665
+ */
666
+ export interface ModifyDeviceRequest {
667
+ /**
668
+ * 设备所属产品id
669
+ */
670
+ ProductId: string;
671
+ /**
672
+ * 设备名称
673
+ */
674
+ DeviceName: string;
675
+ /**
676
+ * 要设置的设备状态,1为启用,0为禁用
677
+ */
678
+ EnableState?: number;
679
+ }
680
+ /**
681
+ * CreateCOSCredentials返回参数结构体
682
+ */
683
+ export interface CreateCOSCredentialsResponse {
684
+ /**
685
+ * COS存储桶名称
686
+ */
687
+ StorageBucket: string;
688
+ /**
689
+ * COS存储桶区域
690
+ */
691
+ StorageRegion: string;
692
+ /**
693
+ * COS存储桶路径
694
+ */
695
+ StoragePath: string;
696
+ /**
697
+ * COS上传用的SecretID
698
+ */
699
+ SecretID: string;
700
+ /**
701
+ * COS上传用的SecretKey
702
+ */
703
+ SecretKey: string;
704
+ /**
705
+ * COS上传用的Token
706
+ */
707
+ Token: string;
708
+ /**
709
+ * 密钥信息过期时间
710
+ */
711
+ ExpiredTime: number;
712
+ /**
713
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
714
+ */
715
+ RequestId?: string;
716
+ }
717
+ /**
718
+ * 产品模型定义
719
+ */
720
+ export interface ProductModelDefinition {
721
+ /**
722
+ * 产品ID
723
+ */
724
+ ProductId: string;
725
+ /**
726
+ * 模型定义
727
+ */
728
+ ModelDefine: string;
729
+ /**
730
+ * 更新时间,秒级时间戳
731
+ */
732
+ UpdateTime: number;
733
+ /**
734
+ * 创建时间,秒级时间戳
735
+ */
736
+ CreateTime: number;
737
+ /**
738
+ * 产品所属分类的模型快照(产品创建时刻的)
739
+ 注意:此字段可能返回 null,表示取不到有效值。
740
+ */
741
+ CategoryModel: string;
742
+ /**
743
+ * 产品的连接类型的模型
744
+ 注意:此字段可能返回 null,表示取不到有效值。
745
+ */
746
+ NetTypeModel: string;
747
+ }
748
+ /**
749
+ * 查询设备历史
750
+ */
751
+ export interface ActionHistory {
752
+ /**
753
+ * 设备名称
754
+ */
755
+ DeviceName: string;
756
+ /**
757
+ * 动作Id
758
+ */
759
+ ActionId: string;
760
+ /**
761
+ * 动作名称
762
+ */
763
+ ActionName: string;
764
+ /**
765
+ * 请求时间
766
+ */
767
+ ReqTime: number;
768
+ /**
769
+ * 响应时间
770
+ */
771
+ RspTime: number;
772
+ /**
773
+ * 输入参数
774
+ 注意:此字段可能返回 null,表示取不到有效值。
775
+ */
776
+ InputParams: string;
777
+ /**
778
+ * 输出参数
779
+ 注意:此字段可能返回 null,表示取不到有效值。
780
+ */
781
+ OutputParams: string;
782
+ /**
783
+ * 调用方式
784
+ */
785
+ Calling: string;
786
+ /**
787
+ * 调用Id
788
+ */
789
+ ClientToken: string;
790
+ /**
791
+ * 调用状态
792
+ */
793
+ Status: string;
794
+ }
795
+ /**
796
+ * RetryDeviceFirmwareTask请求参数结构体
797
+ */
798
+ export interface RetryDeviceFirmwareTaskRequest {
799
+ /**
800
+ * 产品ID
801
+ */
802
+ ProductID: string;
803
+ /**
804
+ * 设备名称
805
+ */
806
+ DeviceName: string;
807
+ /**
808
+ * 固件版本号
809
+ */
810
+ FirmwareVersion: string;
811
+ /**
812
+ * 固件升级任务ID
813
+ */
814
+ TaskId: number;
815
+ }
816
+ /**
817
+ * CreateDataForward返回参数结构体
818
+ */
819
+ export interface CreateDataForwardResponse {
820
+ /**
821
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
822
+ */
823
+ RequestId?: string;
824
+ }
825
+ /**
826
+ * UploadFirmware请求参数结构体
827
+ */
828
+ export interface UploadFirmwareRequest {
829
+ /**
830
+ * 产品ID
831
+ */
832
+ ProductID: string;
833
+ /**
834
+ * 固件版本号
835
+ */
836
+ FirmwareVersion: string;
837
+ /**
838
+ * 固件的MD5值
839
+ */
840
+ Md5sum: string;
841
+ /**
842
+ * 固件的大小
843
+ */
844
+ FileSize: number;
845
+ /**
846
+ * 固件名称
847
+ */
848
+ FirmwareName?: string;
849
+ /**
850
+ * 固件描述
851
+ */
852
+ FirmwareDescription?: string;
853
+ }
854
+ /**
855
+ * DescribeCloudStoragePackageConsumeStats返回参数结构体
856
+ */
857
+ export interface DescribeCloudStoragePackageConsumeStatsResponse {
858
+ /**
859
+ * 统计列表详情
860
+ */
861
+ Stats: Array<PackageConsumeStat>;
862
+ /**
863
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
864
+ */
865
+ RequestId?: string;
866
+ }
867
+ /**
868
+ * DescribeFirmware请求参数结构体
869
+ */
870
+ export interface DescribeFirmwareRequest {
871
+ /**
872
+ * 产品ID
873
+ */
874
+ ProductID: string;
875
+ /**
876
+ * 固件版本号
877
+ */
878
+ FirmwareVersion: string;
879
+ }
880
+ /**
881
+ * DescribeCloudStorageUsers返回参数结构体
882
+ */
883
+ export interface DescribeCloudStorageUsersResponse {
884
+ /**
885
+ * 用户总数
886
+ */
887
+ TotalCount: number;
888
+ /**
889
+ * 用户信息
890
+ */
891
+ Users: Array<CloudStorageUserInfo>;
892
+ /**
893
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
894
+ */
895
+ RequestId?: string;
896
+ }
897
+ /**
898
+ * DescribeProduct请求参数结构体
899
+ */
900
+ export interface DescribeProductRequest {
901
+ /**
902
+ * 产品id
903
+ */
904
+ ProductId: string;
905
+ }
906
+ /**
907
+ * DescribeProducts返回参数结构体
908
+ */
909
+ export interface DescribeProductsResponse {
910
+ /**
911
+ * 总数
912
+ */
913
+ TotalCount: number;
914
+ /**
915
+ * 产品详情列表
916
+ */
917
+ Data: Array<VideoProduct>;
918
+ /**
919
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
920
+ */
921
+ RequestId?: string;
922
+ }
923
+ /**
924
+ * CheckForwardAuth请求参数结构体
925
+ */
926
+ export interface CheckForwardAuthRequest {
927
+ /**
928
+ * 控制台Skey
929
+ */
930
+ Skey: string;
931
+ /**
932
+ * 队列类型 0.CMQ 1.Ckafka
933
+ */
934
+ QueueType: number;
935
+ }
936
+ /**
937
+ * DescribeDeviceData请求参数结构体
938
+ */
939
+ export interface DescribeDeviceDataRequest {
940
+ /**
941
+ * 产品ID
942
+ */
943
+ ProductId: string;
944
+ /**
945
+ * 设备名称
946
+ */
947
+ DeviceName: string;
948
+ }
949
+ /**
950
+ * CreateBatch返回参数结构体
951
+ */
952
+ export interface CreateBatchResponse {
953
+ /**
954
+ * 批次ID
955
+ */
956
+ BatchId: number;
957
+ /**
958
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
959
+ */
960
+ RequestId?: string;
961
+ }
962
+ /**
963
+ * DescribeDeviceActionHistory返回参数结构体
964
+ */
965
+ export interface DescribeDeviceActionHistoryResponse {
966
+ /**
967
+ * 总条数
968
+ */
969
+ TotalCounts: number;
970
+ /**
971
+ * 动作历史
972
+ 注意:此字段可能返回 null,表示取不到有效值。
973
+ */
974
+ ActionHistories: Array<ActionHistory>;
975
+ /**
976
+ * 用于标识查询结果的上下文,翻页用。
977
+ 注意:此字段可能返回 null,表示取不到有效值。
978
+ */
979
+ Context: string;
980
+ /**
981
+ * 搜索结果是否已经结束。
982
+ 注意:此字段可能返回 null,表示取不到有效值。
983
+ */
984
+ Listover: boolean;
985
+ /**
986
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
987
+ */
988
+ RequestId?: string;
989
+ }
990
+ /**
991
+ * DescribeCategory请求参数结构体
992
+ */
993
+ export interface DescribeCategoryRequest {
994
+ /**
995
+ * Category ID。
996
+ */
997
+ Id: number;
998
+ }
999
+ /**
1000
+ * CreateCOSCredentials请求参数结构体
1001
+ */
1002
+ export interface CreateCOSCredentialsRequest {
1003
+ /**
1004
+ * 产品ID
1005
+ */
1006
+ ProductId: string;
1007
+ /**
1008
+ * 设备名称
1009
+ */
1010
+ DeviceName: string;
1011
+ }
1012
+ /**
1013
+ * 设备通讯日志查询返回条目
1014
+ */
1015
+ export interface DeviceCommLogItem {
1016
+ /**
1017
+ * 时间
1018
+ */
1019
+ Time: string;
1020
+ /**
1021
+ * 日志类型,device 设备上行,shadow 服务端下行。
1022
+ */
1023
+ Type: string;
1024
+ /**
1025
+ * 通讯数据。
1026
+ */
1027
+ Data: string;
1028
+ }
1029
+ /**
1030
+ * DescribeBonuses返回参数结构体
1031
+ */
1032
+ export interface DescribeBonusesResponse {
1033
+ /**
1034
+ * 资源包总数
1035
+ */
1036
+ TotalCount: number;
1037
+ /**
1038
+ * 资源包信息
1039
+ */
1040
+ Bonuses: Array<BonusInfo>;
1041
+ /**
1042
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1043
+ */
1044
+ RequestId?: string;
1045
+ }
1046
+ /**
1047
+ * GenSingleDeviceSignatureOfPublic返回参数结构体
1048
+ */
1049
+ export interface GenSingleDeviceSignatureOfPublicResponse {
1050
+ /**
1051
+ * 设备签名信息
1052
+ */
1053
+ DeviceSignature: DeviceSignatureInfo;
1054
+ /**
1055
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1056
+ */
1057
+ RequestId?: string;
1058
+ }
1059
+ /**
1060
+ * DescribeDataForwardList返回参数结构体
1061
+ */
1062
+ export interface DescribeDataForwardListResponse {
1063
+ /**
1064
+ * 数据转发列表。
1065
+ 注意:此字段可能返回 null,表示取不到有效值。
1066
+ */
1067
+ DataForwardList: Array<DataForward>;
1068
+ /**
1069
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1070
+ */
1071
+ RequestId?: string;
1072
+ }
1073
+ /**
1074
+ * DeleteFirmware返回参数结构体
1075
+ */
1076
+ export interface DeleteFirmwareResponse {
1077
+ /**
1078
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1079
+ */
1080
+ RequestId?: string;
1081
+ }
1082
+ /**
1083
+ * 套餐包消耗任务列表
1084
+ */
1085
+ export interface PackageConsumeTask {
1086
+ /**
1087
+ * 任务id
1088
+ */
1089
+ TaskId: number;
1090
+ /**
1091
+ * 任务创始时间
1092
+ */
1093
+ CreateTime: string;
1094
+ /**
1095
+ * 任务状态,1待处理,2处理中,3已完成
1096
+ */
1097
+ State: number;
1098
+ }
1099
+ /**
1100
+ * CreateForwardRule返回参数结构体
1101
+ */
1102
+ export interface CreateForwardRuleResponse {
1103
+ /**
1104
+ * 腾讯云账号
1105
+ */
1106
+ Endpoint: string;
1107
+ /**
1108
+ * 队列名
1109
+ */
1110
+ QueueName: string;
1111
+ /**
1112
+ * 产品ID
1113
+ */
1114
+ ProductID: string;
1115
+ /**
1116
+ * 消息类型
1117
+ */
1118
+ MsgType: number;
1119
+ /**
1120
+ * 结果
1121
+ */
1122
+ Result: number;
1123
+ /**
1124
+ * 角色名称
1125
+ */
1126
+ RoleName: string;
1127
+ /**
1128
+ * 角色ID
1129
+ */
1130
+ RoleID: number;
1131
+ /**
1132
+ * 队列区
1133
+ */
1134
+ QueueRegion: string;
1135
+ /**
1136
+ * 消息队列的类型。 0:CMQ,1:CKafaka
1137
+ */
1138
+ QueueType: number;
1139
+ /**
1140
+ * 实例id, 目前只有Ckafaka会用到
1141
+ */
1142
+ InstanceId: string;
1143
+ /**
1144
+ * 实例名称,目前只有Ckafaka会用到
1145
+ */
1146
+ InstanceName: string;
1147
+ /**
1148
+ * 错误消息
1149
+ */
1150
+ ErrMsg: string;
1151
+ /**
1152
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1153
+ */
1154
+ RequestId?: string;
1155
+ }
1156
+ /**
1157
+ * BatchUpdateFirmware返回参数结构体
1158
+ */
1159
+ export interface BatchUpdateFirmwareResponse {
1160
+ /**
1161
+ * 任务ID
1162
+ */
1163
+ TaskId: number;
1164
+ /**
1165
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1166
+ */
1167
+ RequestId?: string;
1168
+ }
1169
+ /**
1170
+ * DescribeModelDefinition返回参数结构体
1171
+ */
1172
+ export interface DescribeModelDefinitionResponse {
1173
+ /**
1174
+ * 产品数据模板
1175
+ */
1176
+ Model: ProductModelDefinition;
1177
+ /**
1178
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1179
+ */
1180
+ RequestId?: string;
1181
+ }
1182
+ /**
1183
+ * DeleteProduct请求参数结构体
1184
+ */
1185
+ export interface DeleteProductRequest {
1186
+ /**
1187
+ * 产品ID
1188
+ */
1189
+ ProductId: string;
1190
+ }
1191
+ /**
1192
+ * 状态统计信息
1193
+ */
1194
+ export interface StatusStatistic {
1195
+ /**
1196
+ * 任务状态
1197
+ 注意:此字段可能返回 null,表示取不到有效值。
1198
+ */
1199
+ Status: number;
1200
+ /**
1201
+ * 统计总数
1202
+ 注意:此字段可能返回 null,表示取不到有效值。
1203
+ */
1204
+ Total: number;
1205
+ }
1206
+ /**
1207
+ * PublishMessage返回参数结构体
1208
+ */
1209
+ export interface PublishMessageResponse {
1210
+ /**
1211
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1212
+ */
1213
+ RequestId?: string;
1214
+ }
1215
+ /**
1216
+ * SetForwardAuth返回参数结构体
1217
+ */
1218
+ export interface SetForwardAuthResponse {
1219
+ /**
1220
+ * 腾讯云账号
1221
+ */
1222
+ Endpoint: string;
1223
+ /**
1224
+ * 结果
1225
+ */
1226
+ Result: number;
1227
+ /**
1228
+ * 角色名
1229
+ */
1230
+ RoleName: string;
1231
+ /**
1232
+ * 角色ID
1233
+ */
1234
+ RoleID: number;
1235
+ /**
1236
+ * 消息队列类型 0.CMQ 1.CKafka
1237
+ */
1238
+ QueueType: number;
1239
+ /**
1240
+ * 错误消息
1241
+ */
1242
+ ErrMsg: string;
1243
+ /**
1244
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1245
+ */
1246
+ RequestId?: string;
1247
+ }
1248
+ /**
1249
+ * EditFirmware请求参数结构体
1250
+ */
1251
+ export interface EditFirmwareRequest {
1252
+ /**
1253
+ * 产品ID。
1254
+ */
1255
+ ProductID: string;
1256
+ /**
1257
+ * 固件版本号。
1258
+ */
1259
+ FirmwareVersion: string;
1260
+ /**
1261
+ * 固件名称。
1262
+ */
1263
+ FirmwareName: string;
1264
+ /**
1265
+ * 固件描述。
1266
+ */
1267
+ FirmwareDescription?: string;
1268
+ }
1269
+ /**
1270
+ * DescribePushChannel返回参数结构体
1271
+ */
1272
+ export interface DescribePushChannelResponse {
1273
+ /**
1274
+ * 推送类型。ckafka:消息队列;forward:http/https推送
1275
+ */
1276
+ Type: string;
1277
+ /**
1278
+ * 第三方推送地址
1279
+ 注意:此字段可能返回 null,表示取不到有效值。
1280
+ */
1281
+ ForwardAddress: string;
1282
+ /**
1283
+ * 第三方推送密钥,为空表示不使用鉴权token。
1284
+ 注意:此字段可能返回 null,表示取不到有效值。
1285
+ */
1286
+ ForwardKey: string;
1287
+ /**
1288
+ * ckafka地域
1289
+ 注意:此字段可能返回 null,表示取不到有效值。
1290
+ */
1291
+ CKafkaRegion: string;
1292
+ /**
1293
+ * ckafka实例
1294
+ 注意:此字段可能返回 null,表示取不到有效值。
1295
+ */
1296
+ CKafkaInstance: string;
1297
+ /**
1298
+ * ckafka订阅主题
1299
+ 注意:此字段可能返回 null,表示取不到有效值。
1300
+ */
1301
+ CKafkaTopic: string;
1302
+ /**
1303
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1304
+ */
1305
+ RequestId?: string;
1306
+ }
1307
+ /**
1308
+ * ReportAliveDevice返回参数结构体
1309
+ */
1310
+ export interface ReportAliveDeviceResponse {
1311
+ /**
1312
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1313
+ */
1314
+ RequestId?: string;
1315
+ }
1316
+ /**
1317
+ * DescribeDeviceEventHistory请求参数结构体
1318
+ */
1319
+ export interface DescribeDeviceEventHistoryRequest {
1320
+ /**
1321
+ * 产品ID
1322
+ */
1323
+ ProductId: string;
1324
+ /**
1325
+ * 设备名称
1326
+ */
1327
+ DeviceName: string;
1328
+ /**
1329
+ * 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件
1330
+ */
1331
+ Type?: string;
1332
+ /**
1333
+ * 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
1334
+ */
1335
+ StartTime?: number;
1336
+ /**
1337
+ * 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
1338
+ */
1339
+ EndTime?: number;
1340
+ /**
1341
+ * 搜索上下文, 用作查询游标
1342
+ */
1343
+ Context?: string;
1344
+ /**
1345
+ * 单次获取的历史数据项目的最大数量, 缺省10
1346
+ */
1347
+ Size?: number;
1348
+ /**
1349
+ * 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
1350
+ */
1351
+ EventId?: string;
1352
+ }
1353
+ /**
1354
+ * DescribeCategory返回参数结构体
1355
+ */
1356
+ export interface DescribeCategoryResponse {
1357
+ /**
1358
+ * Category详情
1359
+ */
1360
+ Data: ProductTemplate;
1361
+ /**
1362
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1363
+ */
1364
+ RequestId?: string;
1365
+ }
1366
+ /**
1367
+ * DescribeSDKLog请求参数结构体
1368
+ */
1369
+ export interface DescribeSDKLogRequest {
1370
+ /**
1371
+ * 日志开始时间
1372
+ */
1373
+ MinTime: number;
1374
+ /**
1375
+ * 日志结束时间
1376
+ */
1377
+ MaxTime: number;
1378
+ /**
1379
+ * 查询关键字,可以同时支持键值查询和文本查询,
1380
+ 例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。
1381
+ 键值或文本可以包含多个,以空格隔开。
1382
+ 其中可以索引的key包括:productid、devicename、loglevel
1383
+ 一个典型的查询示例:productid:7JK1G72JNE devicename:name publish loglevel:WARN一个典型的查询示例:productid:ABCDE12345 devicename:test scene:SHADOW publish
1384
+ */
1385
+ Keywords: string;
1386
+ /**
1387
+ * 日志检索上下文
1388
+ */
1389
+ Context?: string;
1390
+ /**
1391
+ * 查询条数
1392
+ */
1393
+ MaxNum?: number;
1394
+ }
1395
+ /**
1396
+ * DescribeBalance请求参数结构体
1397
+ */
1398
+ export interface DescribeBalanceRequest {
1399
+ /**
1400
+ * 账户类型:1-设备接入;2-云存。
1401
+ */
1402
+ AccountType: number;
1403
+ }
1404
+ /**
1405
+ * 运营活动资源包信息
1406
+ */
1407
+ export interface BonusInfo {
1408
+ /**
1409
+ * 资源包ID
1410
+ */
1411
+ BonusId: number;
1412
+ /**
1413
+ * 用户ID
1414
+ */
1415
+ UserId: string;
1416
+ /**
1417
+ * 资源包配置ID
1418
+ */
1419
+ PackageId: string;
1420
+ /**
1421
+ * 资源总数
1422
+ */
1423
+ Total: number;
1424
+ /**
1425
+ * 资源消耗总数
1426
+ */
1427
+ Used: number;
1428
+ /**
1429
+ * 资源包过期时间
1430
+ */
1431
+ ExpireTime: number;
1432
+ /**
1433
+ * 资源包创建时间
1434
+ */
1435
+ CreateTime: number;
1436
+ }
1437
+ /**
1438
+ * DescribeDataForwardList请求参数结构体
1439
+ */
1440
+ export interface DescribeDataForwardListRequest {
1441
+ /**
1442
+ * 产品ID列表
1443
+ */
1444
+ ProductIds: string;
1445
+ }
1446
+ /**
1447
+ * DescribeDeviceCommLog返回参数结构体
1448
+ */
1449
+ export interface DescribeDeviceCommLogResponse {
1450
+ /**
1451
+ * 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。
1452
+ */
1453
+ Listover: boolean;
1454
+ /**
1455
+ * 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据
1456
+ */
1457
+ Context: string;
1458
+ /**
1459
+ * 日志数据结果数组,返回对应时间点及取值。
1460
+ */
1461
+ Results: Array<DeviceCommLogItem>;
1462
+ /**
1463
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1464
+ */
1465
+ RequestId?: string;
1466
+ }
1467
+ /**
1468
+ * DeleteDevice请求参数结构体
1469
+ */
1470
+ export interface DeleteDeviceRequest {
1471
+ /**
1472
+ * 产品ID。
1473
+ */
1474
+ ProductId: string;
1475
+ /**
1476
+ * 设备名称。
1477
+ */
1478
+ DeviceName: string;
1479
+ }
1480
+ /**
1481
+ * GenerateSignedVideoURL返回参数结构体
1482
+ */
1483
+ export interface GenerateSignedVideoURLResponse {
1484
+ /**
1485
+ * 视频防盗链播放URL
1486
+ */
1487
+ SignedVideoURL: string;
1488
+ /**
1489
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1490
+ */
1491
+ RequestId?: string;
1492
+ }
1493
+ /**
1494
+ * ControlDeviceData请求参数结构体
1495
+ */
1496
+ export interface ControlDeviceDataRequest {
1497
+ /**
1498
+ * 产品ID
1499
+ */
1500
+ ProductId: string;
1501
+ /**
1502
+ * 设备名称
1503
+ */
1504
+ DeviceName: string;
1505
+ /**
1506
+ * 属性数据, JSON格式字符串, 注意字段需要在物模型属性里定义
1507
+ */
1508
+ Data: string;
1509
+ /**
1510
+ * 请求类型 , 不填该参数或者 desired 表示下发属性给设备, reported 表示模拟设备上报属性
1511
+ */
1512
+ Method?: string;
1513
+ /**
1514
+ * 上报数据UNIX时间戳(毫秒), 仅对Method:reported有效
1515
+ */
1516
+ DataTimestamp?: number;
1517
+ }
1518
+ /**
1519
+ * AI模型资源使用信息
1520
+ */
1521
+ export interface AIModelUsageInfo {
1522
+ /**
1523
+ * 开通时间
1524
+ */
1525
+ CreateTime: number;
1526
+ /**
1527
+ * 资源总量
1528
+ */
1529
+ Total: number;
1530
+ /**
1531
+ * 已使用资源数量
1532
+ */
1533
+ Used: number;
1534
+ }
1535
+ /**
1536
+ * GetAllFirmwareVersion请求参数结构体
1537
+ */
1538
+ export interface GetAllFirmwareVersionRequest {
1539
+ /**
1540
+ * 产品ID
1541
+ */
1542
+ ProductID: string;
1543
+ }
1544
+ /**
1545
+ * DescribeFirmwareTaskDevices请求参数结构体
1546
+ */
1547
+ export interface DescribeFirmwareTaskDevicesRequest {
1548
+ /**
1549
+ * 产品ID
1550
+ */
1551
+ ProductID: string;
1552
+ /**
1553
+ * 固件版本
1554
+ */
1555
+ FirmwareVersion?: string;
1556
+ /**
1557
+ * 筛选条件
1558
+ */
1559
+ Filters?: Array<SearchKeyword>;
1560
+ /**
1561
+ * 查询偏移量 默认为0
1562
+ */
1563
+ Offset?: number;
1564
+ /**
1565
+ * 查询的数量 默认为50
1566
+ */
1567
+ Limit?: number;
1568
+ }
1569
+ /**
1570
+ * DescribeFirmware返回参数结构体
1571
+ */
1572
+ export interface DescribeFirmwareResponse {
1573
+ /**
1574
+ * 固件版本号
1575
+ */
1576
+ Version: string;
1577
+ /**
1578
+ * 产品ID
1579
+ */
1580
+ ProductId: string;
1581
+ /**
1582
+ * 固件名称
1583
+ 注意:此字段可能返回 null,表示取不到有效值。
1584
+ */
1585
+ Name: string;
1586
+ /**
1587
+ * 固件描述
1588
+ 注意:此字段可能返回 null,表示取不到有效值。
1589
+ */
1590
+ Description: string;
1591
+ /**
1592
+ * 固件Md5值
1593
+ 注意:此字段可能返回 null,表示取不到有效值。
1594
+ */
1595
+ Md5sum: string;
1596
+ /**
1597
+ * 固件上传的秒级时间戳
1598
+ 注意:此字段可能返回 null,表示取不到有效值。
1599
+ */
1600
+ Createtime: number;
1601
+ /**
1602
+ * 产品名称
1603
+ */
1604
+ ProductName: string;
1605
+ /**
1606
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1607
+ */
1608
+ RequestId?: string;
1609
+ }
1610
+ /**
1611
+ * DescribePackageConsumeTasks返回参数结构体
1612
+ */
1613
+ export interface DescribePackageConsumeTasksResponse {
1614
+ /**
1615
+ * 总数
1616
+ */
1617
+ TotalCount: number;
1618
+ /**
1619
+ * 任务列表
1620
+ */
1621
+ List: Array<PackageConsumeTask>;
1622
+ /**
1623
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1624
+ */
1625
+ RequestId?: string;
1626
+ }
1627
+ /**
1628
+ * DescribeDeviceCommLog请求参数结构体
1629
+ */
1630
+ export interface DescribeDeviceCommLogRequest {
1631
+ /**
1632
+ * 开始时间 13位时间戳 单位毫秒
1633
+ */
1634
+ MinTime: number;
1635
+ /**
1636
+ * 结束时间 13位时间戳 单位毫秒
1637
+ */
1638
+ MaxTime: number;
1639
+ /**
1640
+ * 产品ID
1641
+ */
1642
+ ProductId: string;
1643
+ /**
1644
+ * 设备名称
1645
+ */
1646
+ DeviceName: string;
1647
+ /**
1648
+ * 返回条数 默认为50
1649
+ */
1650
+ Limit?: number;
1651
+ /**
1652
+ * 检索上下文
1653
+ */
1654
+ Context?: string;
1655
+ /**
1656
+ * 类型:shadow 下行,device 上行 默认为空则全部查询
1657
+ */
1658
+ Type?: string;
1659
+ }
1660
+ /**
1661
+ * WakeUpDevice返回参数结构体
1662
+ */
1663
+ export interface WakeUpDeviceResponse {
1664
+ /**
1665
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1666
+ */
1667
+ RequestId?: string;
1668
+ }
1669
+ /**
1670
+ * DeleteForwardRule请求参数结构体
1671
+ */
1672
+ export interface DeleteForwardRuleRequest {
1673
+ /**
1674
+ * 产品ID
1675
+ */
1676
+ ProductID: string;
1677
+ /**
1678
+ * 控制台Skey
1679
+ */
1680
+ Skey: string;
1681
+ /**
1682
+ * 队列类型
1683
+ */
1684
+ QueueType: number;
1685
+ /**
1686
+ * 队列名称
1687
+ */
1688
+ QueueName: string;
1689
+ }
1690
+ /**
1691
+ * UpdateAIModelChannel返回参数结构体
1692
+ */
1693
+ export interface UpdateAIModelChannelResponse {
1694
+ /**
1695
+ * 第三方推送密钥,如果选择自动生成则会返回此字段
1696
+ 注意:此字段可能返回 null,表示取不到有效值。
1697
+ */
1698
+ ForwardKey: string;
1699
+ /**
1700
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1701
+ */
1702
+ RequestId?: string;
1703
+ }
1704
+ /**
1705
+ * 设备固件更新状态
1706
+ */
1707
+ export interface DeviceUpdateStatus {
1708
+ /**
1709
+ * 设备名
1710
+ */
1711
+ DeviceName: string;
1712
+ /**
1713
+ * 最后处理时间
1714
+ */
1715
+ LastProcessTime: number;
1716
+ /**
1717
+ * 状态
1718
+ */
1719
+ Status: number;
1720
+ /**
1721
+ * 错误消息
1722
+ */
1723
+ ErrMsg: string;
1724
+ /**
1725
+ * 返回码
1726
+ */
1727
+ Retcode: number;
1728
+ /**
1729
+ * 目标更新版本
1730
+ */
1731
+ DstVersion: string;
1732
+ /**
1733
+ * 下载中状态时的下载进度
1734
+ 注意:此字段可能返回 null,表示取不到有效值。
1735
+ */
1736
+ Percent: number;
1737
+ /**
1738
+ * 原版本号
1739
+ 注意:此字段可能返回 null,表示取不到有效值。
1740
+ */
1741
+ OriVersion: string;
1742
+ /**
1743
+ * 任务ID
1744
+ 注意:此字段可能返回 null,表示取不到有效值。
1745
+ */
1746
+ TaskId: number;
1747
+ }
1748
+ /**
1749
+ * DescribeAIModelUsage返回参数结构体
1750
+ */
1751
+ export interface DescribeAIModelUsageResponse {
1752
+ /**
1753
+ * AI模型资源包总量
1754
+ */
1755
+ TotalCount: number;
1756
+ /**
1757
+ * AI模型资源包信息数组
1758
+ */
1759
+ UsageInfo: Array<AIModelUsageInfo>;
1760
+ /**
1761
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1762
+ */
1763
+ RequestId?: string;
1764
+ }
1765
+ /**
1766
+ * DescribeBalanceTransactions请求参数结构体
1767
+ */
1768
+ export interface DescribeBalanceTransactionsRequest {
1769
+ /**
1770
+ * 账户类型:1-设备接入;2-云存。
1771
+ */
1772
+ AccountType: number;
1773
+ /**
1774
+ * 分页游标开始,默认为0开始拉取第一条。
1775
+ */
1776
+ Offset: number;
1777
+ /**
1778
+ * 分页每页数量。
1779
+ */
1780
+ Limit: number;
1781
+ /**
1782
+ * 流水类型:All-全部类型;Recharge-充值;CreateOrder-新购。默认为All
1783
+ */
1784
+ Operation?: string;
1785
+ }
1786
+ /**
1787
+ * BindCloudStorageUser请求参数结构体
1788
+ */
1789
+ export interface BindCloudStorageUserRequest {
1790
+ /**
1791
+ * 产品ID
1792
+ */
1793
+ ProductId: string;
1794
+ /**
1795
+ * 设备名称
1796
+ */
1797
+ DeviceName: string;
1798
+ /**
1799
+ * 用户ID
1800
+ */
1801
+ UserId: string;
1802
+ }
1803
+ /**
1804
+ * ModifyPushChannel返回参数结构体
1805
+ */
1806
+ export interface ModifyPushChannelResponse {
1807
+ /**
1808
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1809
+ */
1810
+ RequestId?: string;
1811
+ }
1812
+ /**
1813
+ * CallDeviceActionSync返回参数结构体
1814
+ */
1815
+ export interface CallDeviceActionSyncResponse {
1816
+ /**
1817
+ * 调用Id
1818
+ 注意:此字段可能返回 null,表示取不到有效值。
1819
+ */
1820
+ ClientToken: string;
1821
+ /**
1822
+ * 输出参数
1823
+ 注意:此字段可能返回 null,表示取不到有效值。
1824
+ */
1825
+ OutputParams: string;
1826
+ /**
1827
+ * 返回状态,当设备不在线等部分情况,会通过该 Status 返回。
1828
+ 注意:此字段可能返回 null,表示取不到有效值。
1829
+ */
1830
+ Status: string;
1831
+ /**
1832
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1833
+ */
1834
+ RequestId?: string;
1835
+ }
1836
+ /**
1837
+ * CreateProduct返回参数结构体
1838
+ */
1839
+ export interface CreateProductResponse {
1840
+ /**
1841
+ * 产品详情
1842
+ */
1843
+ Data: VideoProduct;
1844
+ /**
1845
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1846
+ */
1847
+ RequestId?: string;
1848
+ }
1849
+ /**
1850
+ * DescribeDeviceDataHistory返回参数结构体
1851
+ */
1852
+ export interface DescribeDeviceDataHistoryResponse {
1853
+ /**
1854
+ * 属性字段名称,对应数据模板中功能属性的标识符
1855
+ 注意:此字段可能返回 null,表示取不到有效值。
1856
+ */
1857
+ FieldName: string;
1858
+ /**
1859
+ * 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。
1860
+ 注意:此字段可能返回 null,表示取不到有效值。
1861
+ */
1862
+ Listover: boolean;
1863
+ /**
1864
+ * 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据
1865
+ 注意:此字段可能返回 null,表示取不到有效值。
1866
+ */
1867
+ Context: string;
1868
+ /**
1869
+ * 历史数据结果数组,返回对应时间点及取值。
1870
+ 注意:此字段可能返回 null,表示取不到有效值。
1871
+ */
1872
+ Results: Array<DeviceDataHistoryItem>;
1873
+ /**
1874
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1875
+ */
1876
+ RequestId?: string;
1877
+ }
1878
+ /**
1879
+ * ModifyDataForward返回参数结构体
1880
+ */
1881
+ export interface ModifyDataForwardResponse {
1882
+ /**
1883
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1884
+ */
1885
+ RequestId?: string;
1886
+ }
1887
+ /**
1888
+ * CallDeviceActionAsync请求参数结构体
1889
+ */
1890
+ export interface CallDeviceActionAsyncRequest {
1891
+ /**
1892
+ * 产品Id
1893
+ */
1894
+ ProductId: string;
1895
+ /**
1896
+ * 设备名称
1897
+ */
1898
+ DeviceName: string;
1899
+ /**
1900
+ * 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
1901
+ */
1902
+ ActionId: string;
1903
+ /**
1904
+ * 输入参数
1905
+ */
1906
+ InputParams?: string;
1907
+ }
1908
+ /**
1909
+ * DescribeAIModels请求参数结构体
1910
+ */
1911
+ export interface DescribeAIModelsRequest {
1912
+ /**
1913
+ * 模型ID
1914
+ */
1915
+ ModelId: string;
1916
+ /**
1917
+ * 申请状态:1-已申请;2-已取消;3-已拒绝;4-已通过
1918
+ */
1919
+ Status: number;
1920
+ /**
1921
+ * 偏移量,Offset从0开始
1922
+ */
1923
+ Offset: number;
1924
+ /**
1925
+ * 分页的大小,最大100
1926
+ */
1927
+ Limit: number;
1928
+ }
1929
+ /**
1930
+ * RetryDeviceFirmwareTask返回参数结构体
1931
+ */
1932
+ export interface RetryDeviceFirmwareTaskResponse {
1933
+ /**
1934
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1935
+ */
1936
+ RequestId?: string;
1937
+ }
1938
+ /**
1939
+ * GenSingleDeviceSignatureOfPublic请求参数结构体
1940
+ */
1941
+ export interface GenSingleDeviceSignatureOfPublicRequest {
1942
+ /**
1943
+ * 设备所属的产品ID
1944
+ */
1945
+ ProductId: string;
1946
+ /**
1947
+ * 需要绑定的设备
1948
+ */
1949
+ DeviceName: string;
1950
+ /**
1951
+ * 设备绑定签名的有效时间,以秒为单位。取值范围:0 < Expire <= 86400,Expire == -1(十年)
1952
+ */
1953
+ Expire: number;
1954
+ }
1955
+ /**
1956
+ * ResetCloudStorage返回参数结构体
1957
+ */
1958
+ export interface ResetCloudStorageResponse {
1959
+ /**
1960
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1961
+ */
1962
+ RequestId?: string;
1963
+ }
1964
+ /**
1965
+ * InheritCloudStorageUser返回参数结构体
1966
+ */
1967
+ export interface InheritCloudStorageUserResponse {
1968
+ /**
1969
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1970
+ */
1971
+ RequestId?: string;
1972
+ }
1973
+ /**
1974
+ * DescribeDeviceEventHistory返回参数结构体
1975
+ */
1976
+ export interface DescribeDeviceEventHistoryResponse {
1977
+ /**
1978
+ * 搜索上下文, 用作查询游标
1979
+ 注意:此字段可能返回 null,表示取不到有效值。
1980
+ */
1981
+ Context: string;
1982
+ /**
1983
+ * 搜索结果数量
1984
+ 注意:此字段可能返回 null,表示取不到有效值。
1985
+ */
1986
+ Total: number;
1987
+ /**
1988
+ * 搜索结果是否已经结束
1989
+ 注意:此字段可能返回 null,表示取不到有效值。
1990
+ */
1991
+ Listover: boolean;
1992
+ /**
1993
+ * 搜集结果集
1994
+ 注意:此字段可能返回 null,表示取不到有效值。
1995
+ */
1996
+ EventHistory: Array<EventHistoryItem>;
1997
+ /**
1998
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1999
+ */
2000
+ RequestId?: string;
2001
+ }
2002
+ /**
2003
+ * DescribeFirmwareTask返回参数结构体
2004
+ */
2005
+ export interface DescribeFirmwareTaskResponse {
2006
+ /**
2007
+ * 固件任务ID
2008
+ 注意:此字段可能返回 null,表示取不到有效值。
2009
+ */
2010
+ TaskId: number;
2011
+ /**
2012
+ * 固件任务状态
2013
+ 注意:此字段可能返回 null,表示取不到有效值。
2014
+ */
2015
+ Status: number;
2016
+ /**
2017
+ * 固件任务创建时间,单位:秒
2018
+ 注意:此字段可能返回 null,表示取不到有效值。
2019
+ */
2020
+ CreateTime: number;
2021
+ /**
2022
+ * 固件任务升级类型
2023
+ 注意:此字段可能返回 null,表示取不到有效值。
2024
+ */
2025
+ Type: number;
2026
+ /**
2027
+ * 产品名称
2028
+ 注意:此字段可能返回 null,表示取不到有效值。
2029
+ */
2030
+ ProductName: string;
2031
+ /**
2032
+ * 固件任务升级模式。originalVersion(按版本号升级)、filename(提交文件升级)、devicenames(按设备名称升级)
2033
+ 注意:此字段可能返回 null,表示取不到有效值。
2034
+ */
2035
+ UpgradeMode: string;
2036
+ /**
2037
+ * 产品ID
2038
+ 注意:此字段可能返回 null,表示取不到有效值。
2039
+ */
2040
+ ProductId: string;
2041
+ /**
2042
+ * 原始固件版本号,在UpgradeMode是originalVersion升级模式下会返回
2043
+ 注意:此字段可能返回 null,表示取不到有效值。
2044
+ */
2045
+ OriginalVersion: string;
2046
+ /**
2047
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2048
+ */
2049
+ RequestId?: string;
2050
+ }
2051
+ /**
2052
+ * 设备固件详细信息
2053
+ */
2054
+ export interface FirmwareInfo {
2055
+ /**
2056
+ * 固件版本
2057
+ */
2058
+ Version: string;
2059
+ /**
2060
+ * 固件MD5值
2061
+ */
2062
+ Md5sum: string;
2063
+ /**
2064
+ * 固件创建时间
2065
+ */
2066
+ CreateTime: number;
2067
+ /**
2068
+ * 产品名称
2069
+ */
2070
+ ProductName: string;
2071
+ /**
2072
+ * 固件名称
2073
+ */
2074
+ Name: string;
2075
+ /**
2076
+ * 固件描述
2077
+ */
2078
+ Description: string;
2079
+ /**
2080
+ * 产品ID
2081
+ */
2082
+ ProductId: string;
2083
+ }
2084
+ /**
2085
+ * CreateProduct请求参数结构体
2086
+ */
2087
+ export interface CreateProductRequest {
2088
+ /**
2089
+ * 产品名称
2090
+ */
2091
+ ProductName: string;
2092
+ /**
2093
+ * 产品设备类型 1.普通设备 2.NVR设备
2094
+ */
2095
+ DeviceType: number;
2096
+ /**
2097
+ * 产品有效期
2098
+ */
2099
+ ProductVaildYears: number;
2100
+ /**
2101
+ * 设备功能码 ypsxth音频双向通话 spdxth视频单向通话 sxysp双向音视频
2102
+ */
2103
+ Features: Array<string>;
2104
+ /**
2105
+ * 设备操作系统,通用设备填default
2106
+ */
2107
+ ChipOs: string;
2108
+ /**
2109
+ * 芯片厂商id,通用设备填default
2110
+ */
2111
+ ChipManufactureId: string;
2112
+ /**
2113
+ * 芯片id,通用设备填default
2114
+ */
2115
+ ChipId: string;
2116
+ /**
2117
+ * 产品描述信息
2118
+ */
2119
+ ProductDescription: string;
2120
+ /**
2121
+ * 认证方式 只支持取值为2 psk认证
2122
+ */
2123
+ EncryptionType?: number;
2124
+ /**
2125
+ * 连接类型,wifi表示WIFI连接,cellular表示4G连接
2126
+ */
2127
+ NetType?: string;
2128
+ }
2129
+ /**
2130
+ * DescribeFirmwareTasks请求参数结构体
2131
+ */
2132
+ export interface DescribeFirmwareTasksRequest {
2133
+ /**
2134
+ * 产品ID
2135
+ */
2136
+ ProductID: string;
2137
+ /**
2138
+ * 固件版本号
2139
+ */
2140
+ FirmwareVersion: string;
2141
+ /**
2142
+ * 查询偏移量
2143
+ */
2144
+ Offset: number;
2145
+ /**
2146
+ * 返回查询结果条数
2147
+ */
2148
+ Limit: number;
2149
+ /**
2150
+ * 搜索过滤条件
2151
+ */
2152
+ Filters?: Array<SearchKeyword>;
2153
+ }
2154
+ /**
2155
+ * GetFirmwareURL返回参数结构体
2156
+ */
2157
+ export interface GetFirmwareURLResponse {
2158
+ /**
2159
+ * 固件URL
2160
+ */
2161
+ Url: string;
2162
+ /**
2163
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2164
+ */
2165
+ RequestId?: string;
2166
+ }
2167
+ /**
2168
+ * DescribeUser返回参数结构体
2169
+ */
2170
+ export interface DescribeUserResponse {
2171
+ /**
2172
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2173
+ */
2174
+ RequestId?: string;
2175
+ }
2176
+ /**
2177
+ * DescribePackageConsumeTask返回参数结构体
2178
+ */
2179
+ export interface DescribePackageConsumeTaskResponse {
2180
+ /**
2181
+ * 文件下载的url,文件详情是套餐包消耗详情
2182
+ */
2183
+ URL: string;
2184
+ /**
2185
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2186
+ */
2187
+ RequestId?: string;
2188
+ }
2189
+ /**
2190
+ * DescribeAIModelApplications请求参数结构体
2191
+ */
2192
+ export interface DescribeAIModelApplicationsRequest {
2193
+ /**
2194
+ * 模型ID
2195
+ */
2196
+ ModelId: string;
2197
+ /**
2198
+ * 分页的大小,最大100
2199
+ */
2200
+ Limit: number;
2201
+ /**
2202
+ * 偏移量,Offset从0开始
2203
+ */
2204
+ Offset: number;
2205
+ /**
2206
+ * 产品ID
2207
+ */
2208
+ ProductId?: string;
2209
+ }
2210
+ /**
2211
+ * DescribeCloudStorageEvents请求参数结构体
2212
+ */
2213
+ export interface DescribeCloudStorageEventsRequest {
2214
+ /**
2215
+ * 产品ID
2216
+ */
2217
+ ProductId: string;
2218
+ /**
2219
+ * 设备名称
2220
+ */
2221
+ DeviceName: string;
2222
+ /**
2223
+ * 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
2224
+ */
2225
+ StartTime?: number;
2226
+ /**
2227
+ * 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
2228
+ */
2229
+ EndTime?: number;
2230
+ /**
2231
+ * 请求上下文, 用作查询游标
2232
+ */
2233
+ Context?: string;
2234
+ /**
2235
+ * 查询数据项目的最大数量, 默认为10。假设传Size=10,返回的实际事件数量为N,则 5 <= N <= 10。
2236
+ */
2237
+ Size?: number;
2238
+ /**
2239
+ * 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
2240
+ */
2241
+ EventId?: string;
2242
+ /**
2243
+ * 用户ID
2244
+ */
2245
+ UserId?: string;
2246
+ /**
2247
+ * 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
2248
+ */
2249
+ ChannelId?: number;
2250
+ }
2251
+ /**
2252
+ * ListFirmwares请求参数结构体
2253
+ */
2254
+ export interface ListFirmwaresRequest {
2255
+ /**
2256
+ * 获取的页数
2257
+ */
2258
+ PageNum: number;
2259
+ /**
2260
+ * 分页的大小
2261
+ */
2262
+ PageSize: number;
2263
+ /**
2264
+ * 产品ID
2265
+ */
2266
+ ProductID?: string;
2267
+ /**
2268
+ * 搜索过滤条件
2269
+ */
2270
+ Filters?: Array<SearchKeyword>;
2271
+ }
2272
+ /**
2273
+ * PublishMessage请求参数结构体
2274
+ */
2275
+ export interface PublishMessageRequest {
2276
+ /**
2277
+ * 产品ID
2278
+ */
2279
+ ProductId: string;
2280
+ /**
2281
+ * 设备名称
2282
+ */
2283
+ DeviceName: string;
2284
+ /**
2285
+ * 消息发往的主题
2286
+ */
2287
+ Topic: string;
2288
+ /**
2289
+ * 云端下发到设备的控制报文
2290
+ */
2291
+ Payload: string;
2292
+ /**
2293
+ * 消息服务质量等级,取值为0或1
2294
+ */
2295
+ Qos?: number;
2296
+ /**
2297
+ * Payload的内容编码格式,取值为base64或空。base64表示云端将接收到的base64编码后的报文再转换成二进制报文下发至设备,为空表示不作转换,透传下发至设备
2298
+ */
2299
+ PayloadEncoding?: string;
2300
+ }
2301
+ /**
2302
+ * DescribeDeviceStatusLog请求参数结构体
2303
+ */
2304
+ export interface DescribeDeviceStatusLogRequest {
2305
+ /**
2306
+ * 开始时间(毫秒)
2307
+ */
2308
+ MinTime: number;
2309
+ /**
2310
+ * 结束时间(毫秒)
2311
+ */
2312
+ MaxTime: number;
2313
+ /**
2314
+ * 产品ID
2315
+ */
2316
+ ProductId: string;
2317
+ /**
2318
+ * 设备名称
2319
+ */
2320
+ DeviceName: string;
2321
+ /**
2322
+ * 返回条数
2323
+ */
2324
+ Limit?: number;
2325
+ /**
2326
+ * 检索上下文
2327
+ */
2328
+ Context?: string;
2329
+ }
2330
+ /**
2331
+ * DescribeSDKLog返回参数结构体
2332
+ */
2333
+ export interface DescribeSDKLogResponse {
2334
+ /**
2335
+ * 日志检索上下文
2336
+ */
2337
+ Context: string;
2338
+ /**
2339
+ * 是否还有日志,如有仍有日志,下次查询的请求带上当前请求返回的Context
2340
+ */
2341
+ Listover: boolean;
2342
+ /**
2343
+ * 日志列表
2344
+ */
2345
+ Results: Array<SDKLogItem>;
2346
+ /**
2347
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2348
+ */
2349
+ RequestId?: string;
2350
+ }
2351
+ /**
2352
+ * DescribeBalance返回参数结构体
2353
+ */
2354
+ export interface DescribeBalanceResponse {
2355
+ /**
2356
+ * 账户余额,单位:分(人民币)。
2357
+ */
2358
+ Balance: number;
2359
+ /**
2360
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2361
+ */
2362
+ RequestId?: string;
2363
+ }
2364
+ /**
2365
+ * DescribeFirmwareTaskDevices返回参数结构体
2366
+ */
2367
+ export interface DescribeFirmwareTaskDevicesResponse {
2368
+ /**
2369
+ * 固件升级任务的设备总数
2370
+ 注意:此字段可能返回 null,表示取不到有效值。
2371
+ */
2372
+ Total: number;
2373
+ /**
2374
+ * 固件升级任务的设备列表
2375
+ */
2376
+ Devices: Array<DeviceUpdateStatus>;
2377
+ /**
2378
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2379
+ */
2380
+ RequestId?: string;
2381
+ }
2382
+ /**
2383
+ * DescribeFirmwareTasks返回参数结构体
2384
+ */
2385
+ export interface DescribeFirmwareTasksResponse {
2386
+ /**
2387
+ * 固件升级任务列表
2388
+ 注意:此字段可能返回 null,表示取不到有效值。
2389
+ */
2390
+ TaskInfos: Array<FirmwareTaskInfo>;
2391
+ /**
2392
+ * 固件升级任务总数
2393
+ 注意:此字段可能返回 null,表示取不到有效值。
2394
+ */
2395
+ Total: number;
2396
+ /**
2397
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2398
+ */
2399
+ RequestId?: string;
2400
+ }
2401
+ /**
2402
+ * 云存用户信息
2403
+ */
2404
+ export interface CloudStorageUserInfo {
2405
+ /**
2406
+ * 用户ID
2407
+ */
2408
+ UserId: string;
2409
+ }
2410
+ /**
2411
+ * DescribePackageConsumeTasks请求参数结构体
2412
+ */
2413
+ export interface DescribePackageConsumeTasksRequest {
2414
+ /**
2415
+ * 分页单页量
2416
+ */
2417
+ Limit: number;
2418
+ /**
2419
+ * 分页的偏移量,第一页为0
2420
+ */
2421
+ Offset: number;
2422
+ }
2423
+ /**
2424
+ * DescribeAccount请求参数结构体
2425
+ */
2426
+ export interface DescribeAccountRequest {
2427
+ /**
2428
+ * 1设备,2云存,3ai
2429
+ */
2430
+ AccountType: number;
2431
+ }
2432
+ /**
2433
+ * EditFirmware返回参数结构体
2434
+ */
2435
+ export interface EditFirmwareResponse {
2436
+ /**
2437
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2438
+ */
2439
+ RequestId?: string;
2440
+ }
2441
+ /**
2442
+ * DescribeFirmwareTaskDistribution请求参数结构体
2443
+ */
2444
+ export interface DescribeFirmwareTaskDistributionRequest {
2445
+ /**
2446
+ * 产品ID
2447
+ */
2448
+ ProductID: string;
2449
+ /**
2450
+ * 固件版本号
2451
+ */
2452
+ FirmwareVersion: string;
2453
+ /**
2454
+ * 固件升级任务ID
2455
+ */
2456
+ TaskId: number;
2457
+ }
2458
+ /**
2459
+ * 产品分类实体
2460
+ */
2461
+ export interface ProductTemplate {
2462
+ /**
2463
+ * 实体ID
2464
+ */
2465
+ Id: number;
2466
+ /**
2467
+ * 分类字段
2468
+ */
2469
+ CategoryKey: string;
2470
+ /**
2471
+ * 分类名称
2472
+ */
2473
+ CategoryName: string;
2474
+ /**
2475
+ * 上层实体ID
2476
+ */
2477
+ ParentId: number;
2478
+ /**
2479
+ * 物模型
2480
+ */
2481
+ ModelTemplate: string;
2482
+ /**
2483
+ * 排列顺序
2484
+ 注意:此字段可能返回 null,表示取不到有效值。
2485
+ */
2486
+ ListOrder: number;
2487
+ /**
2488
+ * 分类图标地址
2489
+ 注意:此字段可能返回 null,表示取不到有效值。
2490
+ */
2491
+ IconUrl: string;
2492
+ /**
2493
+ * 九宫格图片地址
2494
+ 注意:此字段可能返回 null,表示取不到有效值。
2495
+ */
2496
+ IconUrlGrid: string;
2497
+ }
2498
+ /**
2499
+ * DeleteProduct返回参数结构体
2500
+ */
2501
+ export interface DeleteProductResponse {
2502
+ /**
2503
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2504
+ */
2505
+ RequestId?: string;
2506
+ }
2507
+ /**
2508
+ * ModifyForwardRule返回参数结构体
2509
+ */
2510
+ export interface ModifyForwardRuleResponse {
2511
+ /**
2512
+ * 腾讯云账号
2513
+ */
2514
+ Endpoint: string;
2515
+ /**
2516
+ * 产品ID
2517
+ */
2518
+ ProductID: string;
2519
+ /**
2520
+ * 结果
2521
+ */
2522
+ Result: number;
2523
+ /**
2524
+ * 错误信息
2525
+ */
2526
+ ErrMsg: string;
2527
+ /**
2528
+ * 队列类型 0.CMQ 1.CKafka
2529
+ */
2530
+ QueueType: number;
2531
+ /**
2532
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2533
+ */
2534
+ RequestId?: string;
2535
+ }
2536
+ /**
2537
+ * CallDeviceActionAsync返回参数结构体
2538
+ */
2539
+ export interface CallDeviceActionAsyncResponse {
2540
+ /**
2541
+ * 调用Id
2542
+ 注意:此字段可能返回 null,表示取不到有效值。
2543
+ */
2544
+ ClientToken: string;
2545
+ /**
2546
+ * 异步调用状态
2547
+ 注意:此字段可能返回 null,表示取不到有效值。
2548
+ */
2549
+ Status: string;
2550
+ /**
2551
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2552
+ */
2553
+ RequestId?: string;
2554
+ }
2555
+ /**
2556
+ * DescribeCloudStoragePackageConsumeStats请求参数结构体
2557
+ */
2558
+ export interface DescribeCloudStoragePackageConsumeStatsRequest {
2559
+ /**
2560
+ * 开始日期
2561
+ */
2562
+ StartDate: string;
2563
+ /**
2564
+ * 结束日期,开始与结束日期间隔不可超过一年
2565
+ */
2566
+ EndDate: string;
2567
+ }
2568
+ /**
2569
+ * 账户流水
2570
+ */
2571
+ export interface BalanceTransaction {
2572
+ /**
2573
+ * 账户类型:1-设备接入 2-云存。
2574
+ */
2575
+ AccountType: number;
2576
+ /**
2577
+ * 账户变更类型:Rechareg-充值;CreateOrder-新购。
2578
+ */
2579
+ Operation: string;
2580
+ /**
2581
+ * 流水ID。
2582
+ */
2583
+ DealId: string;
2584
+ /**
2585
+ * 变更金额,单位:分(人民币)。
2586
+ */
2587
+ Amount: number;
2588
+ /**
2589
+ * 变更后账户余额,单位:分(人民币)。
2590
+ */
2591
+ Balance: number;
2592
+ /**
2593
+ * 变更时间。
2594
+ */
2595
+ OperationTime: number;
2596
+ }
2597
+ /**
2598
+ * 固件升级任务信息
2599
+ */
2600
+ export interface FirmwareTaskInfo {
2601
+ /**
2602
+ * 任务ID
2603
+ 注意:此字段可能返回 null,表示取不到有效值。
2604
+ */
2605
+ TaskId: number;
2606
+ /**
2607
+ * 任务状态
2608
+ 注意:此字段可能返回 null,表示取不到有效值。
2609
+ */
2610
+ Status: number;
2611
+ /**
2612
+ * 任务类型
2613
+ 注意:此字段可能返回 null,表示取不到有效值。
2614
+ */
2615
+ Type: number;
2616
+ /**
2617
+ * 任务创建时间
2618
+ 注意:此字段可能返回 null,表示取不到有效值。
2619
+ */
2620
+ CreateTime: number;
2621
+ }
2622
+ /**
2623
+ * DescribeProductDynamicRegister请求参数结构体
2624
+ */
2625
+ export interface DescribeProductDynamicRegisterRequest {
2626
+ /**
2627
+ * 产品ID
2628
+ */
2629
+ ProductId: string;
2630
+ }
2631
+ /**
2632
+ * AI模型申请信息
2633
+ */
2634
+ export interface AIModelApplication {
2635
+ /**
2636
+ * 产品ID
2637
+ */
2638
+ ProductId: string;
2639
+ /**
2640
+ * 产品名称
2641
+ */
2642
+ ProductName: string;
2643
+ /**
2644
+ * 申请状态:1-已申请;2-已取消;3-已拒绝;4-已通过
2645
+ */
2646
+ Status: number;
2647
+ }
2648
+ /**
2649
+ * DescribeFirmwareTaskDistribution返回参数结构体
2650
+ */
2651
+ export interface DescribeFirmwareTaskDistributionResponse {
2652
+ /**
2653
+ * 固件升级任务状态分布信息
2654
+ */
2655
+ StatusInfos: Array<StatusStatistic>;
2656
+ /**
2657
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2658
+ */
2659
+ RequestId?: string;
2660
+ }
2661
+ /**
2662
+ * DescribeBatch返回参数结构体
2663
+ */
2664
+ export interface DescribeBatchResponse {
2665
+ /**
2666
+ * 批次详情
2667
+ */
2668
+ Data: VideoBatch;
2669
+ /**
2670
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2671
+ */
2672
+ RequestId?: string;
2673
+ }
2674
+ /**
2675
+ * 设备签名信息
2676
+ */
2677
+ export interface DeviceSignatureInfo {
2678
+ /**
2679
+ * 设备名称
2680
+ */
2681
+ DeviceName: string;
2682
+ /**
2683
+ * 设备签名
2684
+ */
2685
+ DeviceSignature: string;
2686
+ }
2687
+ /**
2688
+ * GenerateSignedVideoURL请求参数结构体
2689
+ */
2690
+ export interface GenerateSignedVideoURLRequest {
2691
+ /**
2692
+ * 视频播放原始URL地址
2693
+ */
2694
+ VideoURL: string;
2695
+ /**
2696
+ * 播放链接过期时间
2697
+ */
2698
+ ExpireTime: number;
2699
+ }
2700
+ /**
2701
+ * ModifyPushChannel请求参数结构体
2702
+ */
2703
+ export interface ModifyPushChannelRequest {
2704
+ /**
2705
+ * 产品ID
2706
+ */
2707
+ ProductId: string;
2708
+ /**
2709
+ * 推送类型。ckafka:消息队列;forward:http/https推送
2710
+ */
2711
+ Type: string;
2712
+ /**
2713
+ * 第三方推送地址
2714
+ */
2715
+ ForwardAddress?: string;
2716
+ /**
2717
+ * 第三方推送密钥,不填写则不生成签名。
2718
+ */
2719
+ ForwardKey?: string;
2720
+ /**
2721
+ * ckafka地域
2722
+ */
2723
+ CKafkaRegion?: string;
2724
+ /**
2725
+ * ckafka实例
2726
+ */
2727
+ CKafkaInstance?: string;
2728
+ /**
2729
+ * ckafka订阅主题
2730
+ */
2731
+ CKafkaTopic?: string;
2732
+ }
2733
+ /**
2734
+ * 数据转发描述
2735
+ */
2736
+ export interface DataForward {
2737
+ /**
2738
+ * 产品ID。
2739
+ */
2740
+ ProductId: string;
2741
+ /**
2742
+ * 转发地址。
2743
+ */
2744
+ ForwardAddr: string;
2745
+ /**
2746
+ * 转发状态。
2747
+ */
2748
+ Status: number;
2749
+ /**
2750
+ * 创建时间。
2751
+ */
2752
+ CreateTime: number;
2753
+ /**
2754
+ * 更新时间。
2755
+ */
2756
+ UpdateTime: number;
2757
+ /**
2758
+ * 1-数据信息转发 2-设备上下线状态转发 3-数据信息转发&设备上下线状态转发
2759
+ 注意:此字段可能返回 null,表示取不到有效值。
2760
+ */
2761
+ DataChose: number;
2762
+ }
2763
+ /**
2764
+ * DescribeDevice请求参数结构体
2765
+ */
2766
+ export interface DescribeDeviceRequest {
2767
+ /**
2768
+ * 产品ID
2769
+ */
2770
+ ProductId: string;
2771
+ /**
2772
+ * 设备名
2773
+ */
2774
+ DeviceName: string;
2775
+ }
2776
+ /**
2777
+ * ModifyForwardRule请求参数结构体
2778
+ */
2779
+ export interface ModifyForwardRuleRequest {
2780
+ /**
2781
+ * 产品ID
2782
+ */
2783
+ ProductID: string;
2784
+ /**
2785
+ * 消息类型
2786
+ */
2787
+ MsgType: number;
2788
+ /**
2789
+ * 控制台Skey
2790
+ */
2791
+ Skey: string;
2792
+ /**
2793
+ * 队列区域
2794
+ */
2795
+ QueueRegion: string;
2796
+ /**
2797
+ * 队列类型 0.CMQ 1.CKafka
2798
+ */
2799
+ QueueType: number;
2800
+ /**
2801
+ * 临时密钥
2802
+ */
2803
+ Consecretid?: string;
2804
+ /**
2805
+ * 实例ID
2806
+ */
2807
+ InstanceId?: string;
2808
+ /**
2809
+ * 实例名称
2810
+ */
2811
+ InstanceName?: string;
2812
+ /**
2813
+ * 队列或主题ID
2814
+ */
2815
+ QueueID?: string;
2816
+ /**
2817
+ * 队列或主题名称
2818
+ */
2819
+ QueueName?: string;
2820
+ }
2821
+ /**
2822
+ * CreateAIDetection返回参数结构体
2823
+ */
2824
+ export interface CreateAIDetectionResponse {
2825
+ /**
2826
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2827
+ */
2828
+ RequestId?: string;
2829
+ }
2830
+ /**
2831
+ * DescribeCloudStorageEvents返回参数结构体
2832
+ */
2833
+ export interface DescribeCloudStorageEventsResponse {
2834
+ /**
2835
+ * 云存事件列表
2836
+ */
2837
+ Events: Array<CloudStorageEvent>;
2838
+ /**
2839
+ * 请求上下文, 用作查询游标
2840
+ */
2841
+ Context: string;
2842
+ /**
2843
+ * 拉取结果是否已经结束
2844
+ */
2845
+ Listover: boolean;
2846
+ /**
2847
+ * 内部结果数量,并不等同于事件总数。
2848
+ */
2849
+ Total: number;
2850
+ /**
2851
+ * 视频播放URL
2852
+ */
2853
+ VideoURL: string;
2854
+ /**
2855
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2856
+ */
2857
+ RequestId?: string;
2858
+ }
2859
+ /**
2860
+ * video产品元数据
2861
+ */
2862
+ export interface VideoProduct {
2863
+ /**
2864
+ * 产品ID
2865
+ */
2866
+ ProductId: string;
2867
+ /**
2868
+ * 产品名称
2869
+ */
2870
+ ProductName: string;
2871
+ /**
2872
+ * 产品设备类型(普通设备) 1.普通设备
2873
+ */
2874
+ DeviceType: number;
2875
+ /**
2876
+ * 认证方式:2:PSK
2877
+ */
2878
+ EncryptionType: number;
2879
+ /**
2880
+ * 设备功能码
2881
+ */
2882
+ Features: Array<string>;
2883
+ /**
2884
+ * 操作系统
2885
+ */
2886
+ ChipOs: string;
2887
+ /**
2888
+ * 芯片厂商id
2889
+ */
2890
+ ChipManufactureId: string;
2891
+ /**
2892
+ * 芯片id
2893
+ */
2894
+ ChipId: string;
2895
+ /**
2896
+ * 产品描述信息
2897
+ */
2898
+ ProductDescription: string;
2899
+ /**
2900
+ * 创建时间unix时间戳
2901
+ */
2902
+ CreateTime: number;
2903
+ /**
2904
+ * 修改时间unix时间戳
2905
+ */
2906
+ UpdateTime: number;
2907
+ /**
2908
+ * 连接类型,wifi表示WIFI连接,cellular表示4G连接
2909
+ 注意:此字段可能返回 null,表示取不到有效值。
2910
+ */
2911
+ NetType: string;
2912
+ }
2913
+ /**
2914
+ * 云存事件
2915
+ */
2916
+ export interface CloudStorageEvent {
2917
+ /**
2918
+ * 事件起始时间(Unix 时间戳,秒级
2919
+ */
2920
+ StartTime: number;
2921
+ /**
2922
+ * 事件结束时间(Unix 时间戳,秒级
2923
+ */
2924
+ EndTime: number;
2925
+ /**
2926
+ * 事件缩略图
2927
+ */
2928
+ Thumbnail: string;
2929
+ /**
2930
+ * 事件ID
2931
+ */
2932
+ EventId: string;
2933
+ }
2934
+ /**
2935
+ * 设备历史数据结构
2936
+ */
2937
+ export interface DeviceDataHistoryItem {
2938
+ /**
2939
+ * 时间点,毫秒时间戳
2940
+ */
2941
+ Time: string;
2942
+ /**
2943
+ * 字段取值
2944
+ */
2945
+ Value: string;
2946
+ }
2947
+ /**
2948
+ * DescribeCloudStorageDate返回参数结构体
2949
+ */
2950
+ export interface DescribeCloudStorageDateResponse {
2951
+ /**
2952
+ * 云存日期数组,["2021-01-05","2021-01-06"]
2953
+ */
2954
+ Data: Array<string>;
2955
+ /**
2956
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2957
+ */
2958
+ RequestId?: string;
2959
+ }
2960
+ /**
2961
+ * ModifyDataForwardStatus返回参数结构体
2962
+ */
2963
+ export interface ModifyDataForwardStatusResponse {
2964
+ /**
2965
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2966
+ */
2967
+ RequestId?: string;
2968
+ }
2969
+ /**
2970
+ * 云存时间轴信息
2971
+ */
2972
+ export interface CloudStorageTimeInfo {
2973
+ /**
2974
+ * 开始时间
2975
+ */
2976
+ StartTime: number;
2977
+ /**
2978
+ * 结束时间
2979
+ */
2980
+ EndTime: number;
2981
+ }
2982
+ /**
2983
+ * ModifyDevice返回参数结构体
2984
+ */
2985
+ export interface ModifyDeviceResponse {
2986
+ /**
2987
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2988
+ */
2989
+ RequestId?: string;
2990
+ }
2991
+ /**
2992
+ * DescribeCloudStoragePackageConsumeDetails请求参数结构体
2993
+ */
2994
+ export interface DescribeCloudStoragePackageConsumeDetailsRequest {
2995
+ /**
2996
+ * 开始日期
2997
+ */
2998
+ StartDate: string;
2999
+ /**
3000
+ * 结束日期
3001
+ */
3002
+ EndDate: string;
3003
+ }
3004
+ /**
3005
+ * UploadFirmware返回参数结构体
3006
+ */
3007
+ export interface UploadFirmwareResponse {
3008
+ /**
3009
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3010
+ */
3011
+ RequestId?: string;
3012
+ }
3013
+ /**
3014
+ * UpdateAIModelChannel请求参数结构体
3015
+ */
3016
+ export interface UpdateAIModelChannelRequest {
3017
+ /**
3018
+ * 模型ID
3019
+ */
3020
+ ModelId: string;
3021
+ /**
3022
+ * 产品ID
3023
+ */
3024
+ ProductId: string;
3025
+ /**
3026
+ * 推送类型。ckafka:消息队列;forward:http/https推送
3027
+ */
3028
+ Type: string;
3029
+ /**
3030
+ * 第三方推送地址
3031
+ */
3032
+ ForwardAddress?: string;
3033
+ /**
3034
+ * 第三方推送密钥,不填写则腾讯云自动生成。
3035
+ */
3036
+ ForwardKey?: string;
3037
+ /**
3038
+ * ckafka地域
3039
+ */
3040
+ CKafkaRegion?: string;
3041
+ /**
3042
+ * ckafka实例
3043
+ */
3044
+ CKafkaInstance?: string;
3045
+ /**
3046
+ * ckafka订阅主题
3047
+ */
3048
+ CKafkaTopic?: string;
3049
+ }
3050
+ /**
3051
+ * CreateCloudStorage返回参数结构体
3052
+ */
3053
+ export interface CreateCloudStorageResponse {
3054
+ /**
3055
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3056
+ */
3057
+ RequestId?: string;
3058
+ }
3059
+ /**
3060
+ * BindCloudStorageUser返回参数结构体
3061
+ */
3062
+ export interface BindCloudStorageUserResponse {
3063
+ /**
3064
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3065
+ */
3066
+ RequestId?: string;
3067
+ }
3068
+ /**
3069
+ * CancelDeviceFirmwareTask请求参数结构体
3070
+ */
3071
+ export interface CancelDeviceFirmwareTaskRequest {
3072
+ /**
3073
+ * 产品ID
3074
+ */
3075
+ ProductID: string;
3076
+ /**
3077
+ * 设备名称
3078
+ */
3079
+ DeviceName: string;
3080
+ /**
3081
+ * 固件版本号
3082
+ */
3083
+ FirmwareVersion: string;
3084
+ /**
3085
+ * 固件升级任务ID
3086
+ */
3087
+ TaskId: number;
3088
+ }
3089
+ /**
3090
+ * CancelDeviceFirmwareTask返回参数结构体
3091
+ */
3092
+ export interface CancelDeviceFirmwareTaskResponse {
3093
+ /**
3094
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3095
+ */
3096
+ RequestId?: string;
3097
+ }
3098
+ /**
3099
+ * DescribeBatchs请求参数结构体
3100
+ */
3101
+ export interface DescribeBatchsRequest {
3102
+ /**
3103
+ * 产品ID
3104
+ */
3105
+ ProductId: string;
3106
+ /**
3107
+ * 分页的大小,最大100
3108
+ */
3109
+ Limit: number;
3110
+ /**
3111
+ * 偏移量,Offset从0开始
3112
+ */
3113
+ Offset: number;
3114
+ }
3115
+ /**
3116
+ * WakeUpDevice请求参数结构体
3117
+ */
3118
+ export interface WakeUpDeviceRequest {
3119
+ /**
3120
+ * 产品ID
3121
+ */
3122
+ ProductId: string;
3123
+ /**
3124
+ * 设备名称
3125
+ */
3126
+ DeviceName: string;
3127
+ }
3128
+ /**
3129
+ * ApplyAIModel返回参数结构体
3130
+ */
3131
+ export interface ApplyAIModelResponse {
3132
+ /**
3133
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3134
+ */
3135
+ RequestId?: string;
3136
+ }
3137
+ /**
3138
+ * ControlDeviceData返回参数结构体
3139
+ */
3140
+ export interface ControlDeviceDataResponse {
3141
+ /**
3142
+ * 返回信息
3143
+ */
3144
+ Data: string;
3145
+ /**
3146
+ * JSON字符串, 返回下发控制的结果信息,
3147
+ Sent = 1 表示设备已经在线并且订阅了控制下发的mqtt topic
3148
+ 注意:此字段可能返回 null,表示取不到有效值。
3149
+ */
3150
+ Result: string;
3151
+ /**
3152
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3153
+ */
3154
+ RequestId?: string;
3155
+ }
3156
+ /**
3157
+ * DescribeDeviceDataHistory请求参数结构体
3158
+ */
3159
+ export interface DescribeDeviceDataHistoryRequest {
3160
+ /**
3161
+ * 区间开始时间(Unix 时间戳,毫秒级)
3162
+ */
3163
+ MinTime: number;
3164
+ /**
3165
+ * 区间结束时间(Unix 时间戳,毫秒级)
3166
+ */
3167
+ MaxTime: number;
3168
+ /**
3169
+ * 产品ID
3170
+ */
3171
+ ProductId: string;
3172
+ /**
3173
+ * 设备名称
3174
+ */
3175
+ DeviceName: string;
3176
+ /**
3177
+ * 属性字段名称,对应数据模板中功能属性的标识符
3178
+ */
3179
+ FieldName: string;
3180
+ /**
3181
+ * 返回条数
3182
+ */
3183
+ Limit?: Array<number>;
3184
+ /**
3185
+ * 检索上下文
3186
+ */
3187
+ Context?: string;
3188
+ }
3189
+ /**
3190
+ * 设备事件的搜索结果项
3191
+ */
3192
+ export interface EventHistoryItem {
3193
+ /**
3194
+ * 事件的时间戳
3195
+ 注意:此字段可能返回 null,表示取不到有效值。
3196
+ */
3197
+ TimeStamp: number;
3198
+ /**
3199
+ * 事件的产品ID
3200
+ 注意:此字段可能返回 null,表示取不到有效值。
3201
+ */
3202
+ ProductId: string;
3203
+ /**
3204
+ * 事件的设备名称
3205
+ 注意:此字段可能返回 null,表示取不到有效值。
3206
+ */
3207
+ DeviceName: string;
3208
+ /**
3209
+ * 事件的标识符ID
3210
+ 注意:此字段可能返回 null,表示取不到有效值。
3211
+ */
3212
+ EventId: string;
3213
+ /**
3214
+ * 事件的类型
3215
+ 注意:此字段可能返回 null,表示取不到有效值。
3216
+ */
3217
+ Type: string;
3218
+ /**
3219
+ * 事件的数据
3220
+ 注意:此字段可能返回 null,表示取不到有效值。
3221
+ */
3222
+ Data: string;
3223
+ }
3224
+ /**
3225
+ * CreateForwardRule请求参数结构体
3226
+ */
3227
+ export interface CreateForwardRuleRequest {
3228
+ /**
3229
+ * 产品ID
3230
+ */
3231
+ ProductID: string;
3232
+ /**
3233
+ * 消息类型
3234
+ */
3235
+ MsgType: number;
3236
+ /**
3237
+ * 控制台Skey
3238
+ */
3239
+ Skey: string;
3240
+ /**
3241
+ * 队列区域
3242
+ */
3243
+ QueueRegion: string;
3244
+ /**
3245
+ * 队列类型 0.CMQ 1.Ckafka
3246
+ */
3247
+ QueueType: number;
3248
+ /**
3249
+ * 临时密钥
3250
+ */
3251
+ Consecretid?: string;
3252
+ /**
3253
+ * 实例ID
3254
+ */
3255
+ InstanceId?: string;
3256
+ /**
3257
+ * 实例名称
3258
+ */
3259
+ InstanceName?: string;
3260
+ /**
3261
+ * 队列或主题ID
3262
+ */
3263
+ QueueID?: string;
3264
+ /**
3265
+ * 队列或主题名称
3266
+ */
3267
+ QueueName?: string;
3268
+ }
3269
+ /**
3270
+ * 设备详细信息
3271
+ */
3272
+ export interface DeviceInfo {
3273
+ /**
3274
+ * 设备名
3275
+ */
3276
+ DeviceName: string;
3277
+ /**
3278
+ * 设备是否在线,0不在线,1在线,2获取失败,3未激活
3279
+ */
3280
+ Online: number;
3281
+ /**
3282
+ * 设备最后上线时间
3283
+ */
3284
+ LoginTime: number;
3285
+ /**
3286
+ * 设备密钥
3287
+ */
3288
+ DevicePsk: string;
3289
+ /**
3290
+ * 设备启用状态 0为停用 1为可用
3291
+ */
3292
+ EnableState: number;
3293
+ /**
3294
+ * 设备过期时间
3295
+ */
3296
+ ExpireTime: number;
3297
+ }
3298
+ /**
3299
+ * SetForwardAuth请求参数结构体
3300
+ */
3301
+ export interface SetForwardAuthRequest {
3302
+ /**
3303
+ * 控制台Skey
3304
+ */
3305
+ Skey: string;
3306
+ /**
3307
+ * 消息队列类型 0.CMQ 1.CKafka
3308
+ */
3309
+ QueueType: number;
3310
+ }
3311
+ /**
3312
+ * DescribeBalanceTransactions返回参数结构体
3313
+ */
3314
+ export interface DescribeBalanceTransactionsResponse {
3315
+ /**
3316
+ * 账户流水总数。
3317
+ */
3318
+ TotalCount: number;
3319
+ /**
3320
+ * 账户流水详情数组。
3321
+ */
3322
+ Transactions: Array<BalanceTransaction>;
3323
+ /**
3324
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3325
+ */
3326
+ RequestId?: string;
3327
+ }
3328
+ /**
3329
+ * ImportModelDefinition请求参数结构体
3330
+ */
3331
+ export interface ImportModelDefinitionRequest {
3332
+ /**
3333
+ * 产品ID
3334
+ */
3335
+ ProductId: string;
3336
+ /**
3337
+ * 数据模板定义
3338
+ */
3339
+ ModelSchema: string;
3340
+ }
3341
+ /**
3342
+ * CreateTaskFileUrl请求参数结构体
3343
+ */
3344
+ export interface CreateTaskFileUrlRequest {
3345
+ /**
3346
+ * 产品ID
3347
+ */
3348
+ ProductId: string;
3349
+ }
3350
+ /**
3351
+ * ModifyModelDefinition返回参数结构体
3352
+ */
3353
+ export interface ModifyModelDefinitionResponse {
3354
+ /**
3355
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3356
+ */
3357
+ RequestId?: string;
3358
+ }
3359
+ /**
3360
+ * ModifyDeviceLogLevel返回参数结构体
3361
+ */
3362
+ export interface ModifyDeviceLogLevelResponse {
3363
+ /**
3364
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3365
+ */
3366
+ RequestId?: string;
3367
+ }
3368
+ /**
3369
+ * CreateDataForward请求参数结构体
3370
+ */
3371
+ export interface CreateDataForwardRequest {
3372
+ /**
3373
+ * 产品ID。
3374
+ */
3375
+ ProductId: string;
3376
+ /**
3377
+ * 转发地址。如果有鉴权Token,则需要自行传入,例如 [{\"forward\":{\"api\":\"http://123.207.117.108:1080/sub.php\",\"token\":\"testtoken\"}}]
3378
+ */
3379
+ ForwardAddr: string;
3380
+ /**
3381
+ * 1-数据信息转发 2-设备上下线状态转发 3-数据信息转发&设备上下线状态转发
3382
+ */
3383
+ DataChose?: number;
3384
+ }
3385
+ /**
3386
+ * BatchUpdateFirmware请求参数结构体
3387
+ */
3388
+ export interface BatchUpdateFirmwareRequest {
3389
+ /**
3390
+ * 产品ID
3391
+ */
3392
+ ProductID: string;
3393
+ /**
3394
+ * 固件新版本号
3395
+ */
3396
+ FirmwareVersion: string;
3397
+ /**
3398
+ * 固件原版本号,根据文件列表升级固件不需要填写此参数
3399
+ */
3400
+ FirmwareOriVersion?: string;
3401
+ /**
3402
+ * 升级方式,0 静默升级 1 用户确认升级。 不填默认为静默升级方式
3403
+ */
3404
+ UpgradeMethod?: number;
3405
+ /**
3406
+ * 设备列表文件名称,根据文件列表升级固件需要填写此参数
3407
+ */
3408
+ FileName?: string;
3409
+ /**
3410
+ * 设备列表的文件md5值
3411
+ */
3412
+ FileMd5?: string;
3413
+ /**
3414
+ * 设备列表的文件大小值
3415
+ */
3416
+ FileSize?: number;
3417
+ /**
3418
+ * 需要升级的设备名称列表
3419
+ */
3420
+ DeviceNames?: Array<string>;
3421
+ }
3422
+ /**
3423
+ * ModifyProductDynamicRegister请求参数结构体
3424
+ */
3425
+ export interface ModifyProductDynamicRegisterRequest {
3426
+ /**
3427
+ * 产品ID
3428
+ */
3429
+ ProductId: string;
3430
+ /**
3431
+ * 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
3432
+ */
3433
+ RegisterType: number;
3434
+ /**
3435
+ * 动态注册设备上限
3436
+ */
3437
+ RegisterLimit: number;
3438
+ }
3439
+ /**
3440
+ * DescribeDeviceDataStats返回参数结构体
3441
+ */
3442
+ export interface DescribeDeviceDataStatsResponse {
3443
+ /**
3444
+ * 累计注册设备数
3445
+ 注意:此字段可能返回 null,表示取不到有效值。
3446
+ */
3447
+ RegisterCnt: number;
3448
+ /**
3449
+ * 设备数量列表
3450
+ 注意:此字段可能返回 null,表示取不到有效值。
3451
+ */
3452
+ Data: Array<DeviceCntStats>;
3453
+ /**
3454
+ * 总数
3455
+ 注意:此字段可能返回 null,表示取不到有效值。
3456
+ */
3457
+ Total: number;
3458
+ /**
3459
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3460
+ */
3461
+ RequestId?: string;
3462
+ }
3463
+ /**
3464
+ * DescribeAccount返回参数结构体
3465
+ */
3466
+ export interface DescribeAccountResponse {
3467
+ /**
3468
+ * 查询的账号id
3469
+ */
3470
+ Uin: string;
3471
+ /**
3472
+ * 1线上计费,2线下计费
3473
+ */
3474
+ BillType: number;
3475
+ /**
3476
+ * 0未定义,1按套餐预付费,2按量后付费
3477
+ */
3478
+ BillMode: number;
3479
+ /**
3480
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3481
+ */
3482
+ RequestId?: string;
3483
+ }
3484
+ /**
3485
+ * DescribePushChannel请求参数结构体
3486
+ */
3487
+ export interface DescribePushChannelRequest {
3488
+ /**
3489
+ * 产品ID
3490
+ */
3491
+ ProductId: string;
3492
+ }
3493
+ /**
3494
+ * DescribeCloudStorageThumbnail请求参数结构体
3495
+ */
3496
+ export interface DescribeCloudStorageThumbnailRequest {
3497
+ /**
3498
+ * 产品ID
3499
+ */
3500
+ ProductId: string;
3501
+ /**
3502
+ * 设备名称
3503
+ */
3504
+ DeviceName: string;
3505
+ /**
3506
+ * 缩略图文件名
3507
+ */
3508
+ Thumbnail: string;
3509
+ }
3510
+ /**
3511
+ * DescribeMessageDataStats请求参数结构体
3512
+ */
3513
+ export interface DescribeMessageDataStatsRequest {
3514
+ /**
3515
+ * 统计开始日期
3516
+ */
3517
+ StartDate: string;
3518
+ /**
3519
+ * 统计结束日期
3520
+ */
3521
+ EndDate: string;
3522
+ /**
3523
+ * 产品id
3524
+ */
3525
+ ProductId?: string;
3526
+ }
3527
+ /**
3528
+ * GetFirmwareURL请求参数结构体
3529
+ */
3530
+ export interface GetFirmwareURLRequest {
3531
+ /**
3532
+ * 产品ID
3533
+ */
3534
+ ProductID: string;
3535
+ /**
3536
+ * 固件版本
3537
+ */
3538
+ FirmwareVersion: string;
3539
+ }
3540
+ /**
3541
+ * CreateAIDetection请求参数结构体
3542
+ */
3543
+ export interface CreateAIDetectionRequest {
3544
+ /**
3545
+ * 产品ID
3546
+ */
3547
+ ProductId: string;
3548
+ /**
3549
+ * 设备名称
3550
+ */
3551
+ DeviceName: string;
3552
+ /**
3553
+ * AI模型ID
3554
+ */
3555
+ ModelId: string;
3556
+ /**
3557
+ * 图片上传的开始时间
3558
+ */
3559
+ StartTime: number;
3560
+ /**
3561
+ * 图片上传的结束时间
3562
+ */
3563
+ EndTime: number;
3564
+ }
3565
+ /**
3566
+ * DescribeCloudStorage返回参数结构体
3567
+ */
3568
+ export interface DescribeCloudStorageResponse {
3569
+ /**
3570
+ * 云存开启状态,1为开启,0为未开启或已过期
3571
+ */
3572
+ Status: number;
3573
+ /**
3574
+ * 云存类型,1为全时云存,2为事件云存
3575
+ */
3576
+ Type: number;
3577
+ /**
3578
+ * 云存套餐过期时间
3579
+ */
3580
+ ExpireTime: number;
3581
+ /**
3582
+ * 云存回看时长
3583
+ */
3584
+ ShiftDuration: number;
3585
+ /**
3586
+ * 云存用户ID
3587
+ 注意:此字段可能返回 null,表示取不到有效值。
3588
+ */
3589
+ UserId: string;
3590
+ /**
3591
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3592
+ */
3593
+ RequestId?: string;
3594
+ }
3595
+ /**
3596
+ * ResetCloudStorage请求参数结构体
3597
+ */
3598
+ export interface ResetCloudStorageRequest {
3599
+ /**
3600
+ * 产品ID
3601
+ */
3602
+ ProductId: string;
3603
+ /**
3604
+ * 设备名称
3605
+ */
3606
+ DeviceName: string;
3607
+ /**
3608
+ * 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
3609
+ */
3610
+ ChannelId?: number;
3611
+ /**
3612
+ * 云存用户Id,为空则为默认云存空间。
3613
+ */
3614
+ UserId?: string;
3615
+ }
3616
+ /**
3617
+ * DescribeProduct返回参数结构体
3618
+ */
3619
+ export interface DescribeProductResponse {
3620
+ /**
3621
+ * 产品详情
3622
+ */
3623
+ Data: VideoProduct;
3624
+ /**
3625
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3626
+ */
3627
+ RequestId?: string;
3628
+ }
3629
+ /**
3630
+ * SDK日志项
3631
+ */
3632
+ export interface SDKLogItem {
3633
+ /**
3634
+ * 产品ID
3635
+ */
3636
+ ProductID: string;
3637
+ /**
3638
+ * 设备名称
3639
+ */
3640
+ DeviceName: string;
3641
+ /**
3642
+ * 日志等级
3643
+ */
3644
+ Level: string;
3645
+ /**
3646
+ * 日志时间
3647
+ */
3648
+ DateTime: string;
3649
+ /**
3650
+ * 日志内容
3651
+ */
3652
+ Content: string;
3653
+ }
3654
+ /**
3655
+ * DescribeAIModels返回参数结构体
3656
+ */
3657
+ export interface DescribeAIModelsResponse {
3658
+ /**
3659
+ * AI模型数量
3660
+ */
3661
+ TotalCount: number;
3662
+ /**
3663
+ * AI模型信息数组
3664
+ */
3665
+ Models: Array<AIModelInfo>;
3666
+ /**
3667
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3668
+ */
3669
+ RequestId?: string;
3670
+ }
3671
+ /**
3672
+ * InheritCloudStorageUser请求参数结构体
3673
+ */
3674
+ export interface InheritCloudStorageUserRequest {
3675
+ /**
3676
+ * 产品ID
3677
+ */
3678
+ ProductId: string;
3679
+ /**
3680
+ * 设备名称
3681
+ */
3682
+ DeviceName: string;
3683
+ /**
3684
+ * 原始用户ID
3685
+ */
3686
+ UserId: string;
3687
+ /**
3688
+ * 目标用户ID
3689
+ */
3690
+ ToUserId: string;
3691
+ }
3692
+ /**
3693
+ * DescribeAIModelChannel请求参数结构体
3694
+ */
3695
+ export interface DescribeAIModelChannelRequest {
3696
+ /**
3697
+ * 模型ID
3698
+ */
3699
+ ModelId: string;
3700
+ /**
3701
+ * 产品ID
3702
+ */
3703
+ ProductId: string;
3704
+ }
3705
+ /**
3706
+ * DescribeAIModelUsage请求参数结构体
3707
+ */
3708
+ export interface DescribeAIModelUsageRequest {
3709
+ /**
3710
+ * 模型ID
3711
+ */
3712
+ ModelId: string;
3713
+ /**
3714
+ * 产品ID
3715
+ */
3716
+ ProductId: string;
3717
+ /**
3718
+ * 偏移量,从0开始
3719
+ */
3720
+ Offset: number;
3721
+ /**
3722
+ * 分页的大小,最大100
3723
+ */
3724
+ Limit: number;
3725
+ }
3726
+ /**
3727
+ * DescribeBonuses请求参数结构体
3728
+ */
3729
+ export interface DescribeBonusesRequest {
3730
+ /**
3731
+ * 分页拉取偏移
3732
+ */
3733
+ Offset: number;
3734
+ /**
3735
+ * 分页拉取数量
3736
+ */
3737
+ Limit: number;
3738
+ }
3739
+ /**
3740
+ * DeleteFirmware请求参数结构体
3741
+ */
3742
+ export interface DeleteFirmwareRequest {
3743
+ /**
3744
+ * 产品ID
3745
+ */
3746
+ ProductID: string;
3747
+ /**
3748
+ * 固件版本
3749
+ */
3750
+ FirmwareVersion: string;
3751
+ }
3752
+ /**
3753
+ * DescribeCloudStorage请求参数结构体
3754
+ */
3755
+ export interface DescribeCloudStorageRequest {
3756
+ /**
3757
+ * 产品ID
3758
+ */
3759
+ ProductId: string;
3760
+ /**
3761
+ * 设备名称
3762
+ */
3763
+ DeviceName: string;
3764
+ /**
3765
+ * 云存用户ID
3766
+ */
3767
+ UserId?: string;
3768
+ }
3769
+ /**
3770
+ * GetAllFirmwareVersion返回参数结构体
3771
+ */
3772
+ export interface GetAllFirmwareVersionResponse {
3773
+ /**
3774
+ * 固件可用版本列表
3775
+ */
3776
+ Version: Array<string>;
3777
+ /**
3778
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3779
+ */
3780
+ RequestId?: string;
3781
+ }
3782
+ /**
3783
+ * AI模型信息
3784
+ */
3785
+ export interface AIModelInfo {
3786
+ /**
3787
+ * 产品ID
3788
+ */
3789
+ ProductId: string;
3790
+ /**
3791
+ * 产品名称
3792
+ */
3793
+ ProductName: string;
3794
+ /**
3795
+ * 申请状态:1-已申请;2-已取消;3-已拒绝;4-已通过
3796
+ */
3797
+ Status: number;
3798
+ /**
3799
+ * 可调用数量
3800
+ */
3801
+ Total: number;
3802
+ /**
3803
+ * 已调用数量
3804
+ */
3805
+ Used: number;
3806
+ /**
3807
+ * 申请时间
3808
+ */
3809
+ ApplyTime: number;
3810
+ /**
3811
+ * 审批通过时间
3812
+ */
3813
+ ApprovalTime: number;
3814
+ }
3815
+ /**
3816
+ * DescribeCloudStorageThumbnail返回参数结构体
3817
+ */
3818
+ export interface DescribeCloudStorageThumbnailResponse {
3819
+ /**
3820
+ * 缩略图访问地址
3821
+ */
3822
+ ThumbnailURL: string;
3823
+ /**
3824
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3825
+ */
3826
+ RequestId?: string;
3827
+ }
3828
+ /**
3829
+ * 搜索关键词
3830
+ */
3831
+ export interface SearchKeyword {
3832
+ /**
3833
+ * 搜索条件的Key
3834
+ */
3835
+ Key: string;
3836
+ /**
3837
+ * 搜索条件的值
3838
+ */
3839
+ Value?: string;
3840
+ }
3841
+ /**
3842
+ * DescribeDevices请求参数结构体
3843
+ */
3844
+ export interface DescribeDevicesRequest {
3845
+ /**
3846
+ * 需要查看设备列表的产品 ID
3847
+ */
3848
+ ProductId: string;
3849
+ /**
3850
+ * 偏移量,Offset从0开始
3851
+ */
3852
+ Offset: number;
3853
+ /**
3854
+ * 分页的大小,最大100
3855
+ */
3856
+ Limit: number;
3857
+ /**
3858
+ * 需要过滤的设备名称
3859
+ */
3860
+ DeviceName?: string;
3861
+ }
3862
+ /**
3863
+ * DescribeModelDefinition请求参数结构体
3864
+ */
3865
+ export interface DescribeModelDefinitionRequest {
3866
+ /**
3867
+ * 产品ID
3868
+ */
3869
+ ProductId: string;
3870
+ }
3871
+ /**
3872
+ * DescribeProductDynamicRegister返回参数结构体
3873
+ */
3874
+ export interface DescribeProductDynamicRegisterResponse {
3875
+ /**
3876
+ * 动态注册类型,0-关闭 1-预创建设备 2-自动创建设备
3877
+ */
3878
+ RegisterType: number;
3879
+ /**
3880
+ * 动态注册产品密钥
3881
+ */
3882
+ ProductSecret: string;
3883
+ /**
3884
+ * 动态注册设备上限
3885
+ */
3886
+ RegisterLimit: number;
3887
+ /**
3888
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3889
+ */
3890
+ RequestId?: string;
3891
+ }
3892
+ /**
3893
+ * DescribeFirmwareTaskStatistics返回参数结构体
3894
+ */
3895
+ export interface DescribeFirmwareTaskStatisticsResponse {
3896
+ /**
3897
+ * 升级成功的设备总数
3898
+ 注意:此字段可能返回 null,表示取不到有效值。
3899
+ */
3900
+ SuccessTotal: number;
3901
+ /**
3902
+ * 升级失败的设备总数
3903
+ 注意:此字段可能返回 null,表示取不到有效值。
3904
+ */
3905
+ FailureTotal: number;
3906
+ /**
3907
+ * 正在升级的设备总数
3908
+ 注意:此字段可能返回 null,表示取不到有效值。
3909
+ */
3910
+ UpgradingTotal: number;
3911
+ /**
3912
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3913
+ */
3914
+ RequestId?: string;
3915
+ }
3916
+ /**
3917
+ * CheckForwardAuth返回参数结构体
3918
+ */
3919
+ export interface CheckForwardAuthResponse {
3920
+ /**
3921
+ * 腾讯云账号
3922
+ */
3923
+ Endpoint: string;
3924
+ /**
3925
+ * 结果
3926
+ */
3927
+ Result: number;
3928
+ /**
3929
+ * 产品ID
3930
+ */
3931
+ Productid: string;
3932
+ /**
3933
+ * 错误消息
3934
+ */
3935
+ ErrMsg: string;
3936
+ /**
3937
+ * 队列类型 0.CMQ 1.Ckafka
3938
+ */
3939
+ QueueType: number;
3940
+ /**
3941
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3942
+ */
3943
+ RequestId?: string;
3944
+ }
3945
+ /**
3946
+ * DescribeDevice返回参数结构体
3947
+ */
3948
+ export interface DescribeDeviceResponse {
3949
+ /**
3950
+ * 设备名
3951
+ */
3952
+ DeviceName: string;
3953
+ /**
3954
+ * 设备是否在线,0不在线,1在线,2获取失败,3未激活
3955
+ */
3956
+ Online: number;
3957
+ /**
3958
+ * 设备最后上线时间
3959
+ */
3960
+ LoginTime: number;
3961
+ /**
3962
+ * 设备密钥
3963
+ */
3964
+ DevicePsk: string;
3965
+ /**
3966
+ * 设备启用状态
3967
+ */
3968
+ EnableState: number;
3969
+ /**
3970
+ * 设备过期时间
3971
+ */
3972
+ ExpireTime: number;
3973
+ /**
3974
+ * 设备的sdk日志等级,0:关闭,1:错误,2:告警,3:信息,4:调试
3975
+ 注意:此字段可能返回 null,表示取不到有效值。
3976
+ */
3977
+ LogLevel: number;
3978
+ /**
3979
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3980
+ */
3981
+ RequestId?: string;
3982
+ }
3983
+ /**
3984
+ * DescribeDeviceData返回参数结构体
3985
+ */
3986
+ export interface DescribeDeviceDataResponse {
3987
+ /**
3988
+ * 设备数据
3989
+ */
3990
+ Data: string;
3991
+ /**
3992
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3993
+ */
3994
+ RequestId?: string;
3995
+ }
3996
+ /**
3997
+ * DeleteForwardRule返回参数结构体
3998
+ */
3999
+ export interface DeleteForwardRuleResponse {
4000
+ /**
4001
+ * 腾讯云账号
4002
+ */
4003
+ Endpoint: string;
4004
+ /**
4005
+ * 队列名称
4006
+ */
4007
+ QueueName: string;
4008
+ /**
4009
+ * 产品ID
4010
+ */
4011
+ ProductID: string;
4012
+ /**
4013
+ * 删除结果 0成功 其他不成功
4014
+ */
4015
+ Result: number;
4016
+ /**
4017
+ * 错误消息
4018
+ */
4019
+ ErrMsg: string;
4020
+ /**
4021
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4022
+ */
4023
+ RequestId?: string;
4024
+ }
4025
+ /**
4026
+ * 设备上下线日志记录
4027
+ */
4028
+ export interface DeviceStatusLogItem {
4029
+ /**
4030
+ * 时间
4031
+ */
4032
+ Time: string;
4033
+ /**
4034
+ * 状态类型: Online 上线,Offline 下线
4035
+ */
4036
+ Type: string;
4037
+ /**
4038
+ * 日志信息
4039
+ */
4040
+ Data: string;
4041
+ }
4042
+ /**
4043
+ * ListFirmwares返回参数结构体
4044
+ */
4045
+ export interface ListFirmwaresResponse {
4046
+ /**
4047
+ * 固件总数
4048
+ */
4049
+ TotalCount: number;
4050
+ /**
4051
+ * 固件列表
4052
+ */
4053
+ Firmwares: Array<FirmwareInfo>;
4054
+ /**
4055
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4056
+ */
4057
+ RequestId?: string;
4058
+ }
4059
+ /**
4060
+ * TransferCloudStorage请求参数结构体
4061
+ */
4062
+ export interface TransferCloudStorageRequest {
4063
+ /**
4064
+ * 产品ID
4065
+ */
4066
+ ProductId: string;
4067
+ /**
4068
+ * 已开通云存的设备名称
4069
+ */
4070
+ DeviceName: string;
4071
+ /**
4072
+ * 未开通云存的设备名称
4073
+ */
4074
+ ToDeviceName: string;
4075
+ }
4076
+ /**
4077
+ * DescribeFirmwareTaskStatistics请求参数结构体
4078
+ */
4079
+ export interface DescribeFirmwareTaskStatisticsRequest {
4080
+ /**
4081
+ * 产品ID
4082
+ */
4083
+ ProductID: string;
4084
+ /**
4085
+ * 固件版本号
4086
+ */
4087
+ FirmwareVersion: string;
4088
+ }
4089
+ /**
4090
+ * DeleteDevice返回参数结构体
4091
+ */
4092
+ export interface DeleteDeviceResponse {
4093
+ /**
4094
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4095
+ */
4096
+ RequestId?: string;
4097
+ }
4098
+ /**
4099
+ * CreateTaskFileUrl返回参数结构体
4100
+ */
4101
+ export interface CreateTaskFileUrlResponse {
4102
+ /**
4103
+ * 任务文件上传链接
4104
+ */
4105
+ Url: string;
4106
+ /**
4107
+ * 任务文件名
4108
+ */
4109
+ FileName: string;
4110
+ /**
4111
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4112
+ */
4113
+ RequestId?: string;
4114
+ }
4115
+ /**
4116
+ * 设备数量统计
4117
+ */
4118
+ export interface DeviceCntStats {
4119
+ /**
4120
+ * 统计日期
4121
+ */
4122
+ Date: string;
4123
+ /**
4124
+ * 新增注册设备数
4125
+ 注意:此字段可能返回 null,表示取不到有效值。
4126
+ */
4127
+ NewRegisterCnt: number;
4128
+ /**
4129
+ * 新增激活设备数
4130
+ 注意:此字段可能返回 null,表示取不到有效值。
4131
+ */
4132
+ NewActivateCnt: number;
4133
+ /**
4134
+ * 活跃设备数
4135
+ 注意:此字段可能返回 null,表示取不到有效值。
4136
+ */
4137
+ ActiveCnt: number;
4138
+ }
4139
+ /**
4140
+ * DescribeCloudStorageUsers请求参数结构体
4141
+ */
4142
+ export interface DescribeCloudStorageUsersRequest {
4143
+ /**
4144
+ * 产品ID
4145
+ */
4146
+ ProductId: string;
4147
+ /**
4148
+ * 设备名称
4149
+ */
4150
+ DeviceName: string;
4151
+ /**
4152
+ * 分页拉取数量
4153
+ */
4154
+ Limit: number;
4155
+ /**
4156
+ * 分页拉取偏移
4157
+ */
4158
+ Offset: number;
4159
+ }
4160
+ /**
4161
+ * ModifyDataForwardStatus请求参数结构体
4162
+ */
4163
+ export interface ModifyDataForwardStatusRequest {
4164
+ /**
4165
+ * 产品ID。
4166
+ */
4167
+ ProductId: string;
4168
+ /**
4169
+ * 转发状态,1启用,0禁用。
4170
+ */
4171
+ Status: number;
4172
+ }
4173
+ /**
4174
+ * DescribeFirmwareTask请求参数结构体
4175
+ */
4176
+ export interface DescribeFirmwareTaskRequest {
4177
+ /**
4178
+ * 产品ID
4179
+ */
4180
+ ProductID: string;
4181
+ /**
4182
+ * 固件版本号
4183
+ */
4184
+ FirmwareVersion: string;
4185
+ /**
4186
+ * 固件任务ID
4187
+ */
4188
+ TaskId: number;
4189
+ }
4190
+ /**
4191
+ * DescribeCloudStorageTime请求参数结构体
4192
+ */
4193
+ export interface DescribeCloudStorageTimeRequest {
4194
+ /**
4195
+ * 产品ID
4196
+ */
4197
+ ProductId: string;
4198
+ /**
4199
+ * 设备名称
4200
+ */
4201
+ DeviceName: string;
4202
+ /**
4203
+ * 云存日期,例如"2020-01-05"
4204
+ */
4205
+ Date: string;
4206
+ /**
4207
+ * 开始时间,unix时间
4208
+ */
4209
+ StartTime?: number;
4210
+ /**
4211
+ * 结束时间,unix时间
4212
+ */
4213
+ EndTime?: number;
4214
+ /**
4215
+ * 用户ID
4216
+ */
4217
+ UserId?: string;
4218
+ }
4219
+ /**
4220
+ * DescribeAIModelApplications返回参数结构体
4221
+ */
4222
+ export interface DescribeAIModelApplicationsResponse {
4223
+ /**
4224
+ * 申请记录数量
4225
+ */
4226
+ TotalCount: number;
4227
+ /**
4228
+ * 申请记录数组
4229
+ */
4230
+ Applications: Array<AIModelApplication>;
4231
+ /**
4232
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4233
+ */
4234
+ RequestId?: string;
4235
+ }