tencentcloud-sdk-nodejs-iotexplorer 4.0.1051 → 4.0.1054
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -4
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +40 -3
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +301 -42
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +13 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +18 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +294 -42
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-iotexplorer",
|
|
3
|
-
"version": "4.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "4.0.1054",
|
|
4
|
+
"description": "腾讯云 API NODEJS SDK",
|
|
5
5
|
"main": "tencentcloud/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "mocha -t 10000",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"author": "tencentcloudapi",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"tencentcloud-sdk-nodejs-common": "
|
|
25
|
+
"tencentcloud-sdk-nodejs-common": "*",
|
|
26
26
|
"tslib": "1.13.0"
|
|
27
27
|
},
|
|
28
28
|
"directories": {
|
|
@@ -35,14 +35,19 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/form-data": "^2.5.0",
|
|
38
|
+
"@types/json-bigint": "^1.0.1",
|
|
38
39
|
"@types/node": "^14.0.26",
|
|
39
40
|
"@types/node-fetch": "^2.5.7",
|
|
41
|
+
"@types/uuid": "^9.0.8",
|
|
40
42
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
41
43
|
"@typescript-eslint/parser": "^2.34.0",
|
|
44
|
+
"babel-eslint": "^10.0.2",
|
|
42
45
|
"chai": "^4.2.0",
|
|
43
46
|
"eslint": "^6.8.0",
|
|
47
|
+
"eslint-plugin-react": "^7.17.0",
|
|
44
48
|
"mocha": "^8.1.1",
|
|
49
|
+
"prettier": "^2.3.0",
|
|
45
50
|
"ts-node": "^8.10.2",
|
|
46
51
|
"typescript": "^3.9.7"
|
|
47
52
|
}
|
|
48
|
-
}
|
|
53
|
+
}
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
ControlDeviceDataRequest,
|
|
31
31
|
DeviceActiveResult,
|
|
32
32
|
DeleteLoRaFrequencyResponse,
|
|
33
|
+
ModifyApplicationResponse,
|
|
33
34
|
CreateFreeCloudStorageResponse,
|
|
34
35
|
ModifyPositionFenceResponse,
|
|
35
36
|
DescribeCloudStorageAIServiceTaskRequest,
|
|
@@ -47,6 +48,7 @@ import {
|
|
|
47
48
|
ModifyCloudStorageAIServiceResponse,
|
|
48
49
|
DescribeDeviceFirmWareRequest,
|
|
49
50
|
BindCloudStorageUserRequest,
|
|
51
|
+
ChangeP2PRouteResponse,
|
|
50
52
|
UpdateDeviceTWeCallAuthorizeStatusRequest,
|
|
51
53
|
CreateProjectResponse,
|
|
52
54
|
DeleteProjectResponse,
|
|
@@ -54,6 +56,7 @@ import {
|
|
|
54
56
|
CreateDeviceResponse,
|
|
55
57
|
CreateDeviceRequest,
|
|
56
58
|
InheritCloudStorageUserResponse,
|
|
59
|
+
ChangeP2PRouteRequest,
|
|
57
60
|
DescribeDeviceResponse,
|
|
58
61
|
PublishBroadcastMessageRequest,
|
|
59
62
|
GetStudioProductListResponse,
|
|
@@ -119,7 +122,7 @@ import {
|
|
|
119
122
|
TransferCloudStorageRequest,
|
|
120
123
|
FenceAlarmPoint,
|
|
121
124
|
DescribeFirmwareRequest,
|
|
122
|
-
|
|
125
|
+
DescribeP2PRouteResponse,
|
|
123
126
|
ListTopicPolicyResponse,
|
|
124
127
|
GenSingleDeviceSignatureOfPublicResponse,
|
|
125
128
|
FenceBindDeviceItem,
|
|
@@ -128,6 +131,7 @@ import {
|
|
|
128
131
|
DescribeLoRaFrequencyRequest,
|
|
129
132
|
DeleteCloudStorageEventRequest,
|
|
130
133
|
SearchPositionSpaceRequest,
|
|
134
|
+
DescribeCloudStorageAIServiceCallbackResponse,
|
|
131
135
|
BindDevicesResponse,
|
|
132
136
|
CallDeviceActionSyncResponse,
|
|
133
137
|
CreateLoRaGatewayRequest,
|
|
@@ -186,7 +190,7 @@ import {
|
|
|
186
190
|
DescribeDeviceDataResponse,
|
|
187
191
|
DescribePositionFenceListRequest,
|
|
188
192
|
InvokeCloudStorageAIServiceTaskRequest,
|
|
189
|
-
|
|
193
|
+
ResetCloudStorageRequest,
|
|
190
194
|
DescribeCloudStorageEventsWithAITasksRequest,
|
|
191
195
|
DismissRoomByStrRoomIdFromTRTCRequest,
|
|
192
196
|
CloudStorageTimeData,
|
|
@@ -295,7 +299,7 @@ import {
|
|
|
295
299
|
DescribeCloudStorageEventsRequest,
|
|
296
300
|
DeviceInfo,
|
|
297
301
|
DescribeInstanceRequest,
|
|
298
|
-
|
|
302
|
+
CreatePositionSpaceRequest,
|
|
299
303
|
DeleteProjectRequest,
|
|
300
304
|
CloudStoragePackageInfo,
|
|
301
305
|
DevicesItem,
|
|
@@ -356,6 +360,7 @@ import {
|
|
|
356
360
|
TopicRule,
|
|
357
361
|
DescribeCloudStoragePackageConsumeStatsRequest,
|
|
358
362
|
DeleteFenceBindResponse,
|
|
363
|
+
IotApplication,
|
|
359
364
|
PublishBroadcastMessageResponse,
|
|
360
365
|
DescribeFenceBindListRequest,
|
|
361
366
|
PositionSpaceInfo,
|
|
@@ -369,6 +374,7 @@ import {
|
|
|
369
374
|
CreateFreeCloudStorageRequest,
|
|
370
375
|
DescribeLoRaFrequencyResponse,
|
|
371
376
|
CreateCloudStorageAIServiceTaskResponse,
|
|
377
|
+
ModifyApplicationRequest,
|
|
372
378
|
DescribeCloudStorageDateResponse,
|
|
373
379
|
DescribeFreeCloudStorageNumResponse,
|
|
374
380
|
CloudStorageTimeInfo,
|
|
@@ -381,6 +387,7 @@ import {
|
|
|
381
387
|
CreateBatchProductionResponse,
|
|
382
388
|
GetTopicRuleListRequest,
|
|
383
389
|
DeleteStudioProductRequest,
|
|
390
|
+
DescribeP2PRouteRequest,
|
|
384
391
|
GetDeviceSumStatisticsRequest,
|
|
385
392
|
DescribeCloudStorageAIServiceCallbackRequest,
|
|
386
393
|
DescribeCloudStorageRequest,
|
|
@@ -457,6 +464,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
457
464
|
return this.request("DescribeDevice", req, cb)
|
|
458
465
|
}
|
|
459
466
|
|
|
467
|
+
/**
|
|
468
|
+
* 当前p2p线路
|
|
469
|
+
*/
|
|
470
|
+
async DescribeP2PRoute(
|
|
471
|
+
req: DescribeP2PRouteRequest,
|
|
472
|
+
cb?: (error: string, rep: DescribeP2PRouteResponse) => void
|
|
473
|
+
): Promise<DescribeP2PRouteResponse> {
|
|
474
|
+
return this.request("DescribeP2PRoute", req, cb)
|
|
475
|
+
}
|
|
476
|
+
|
|
460
477
|
/**
|
|
461
478
|
* 拉取云存事件列表
|
|
462
479
|
*/
|
|
@@ -857,6 +874,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
857
874
|
return this.request("DescribeVideoLicense", req, cb)
|
|
858
875
|
}
|
|
859
876
|
|
|
877
|
+
/**
|
|
878
|
+
* p2p路线切换
|
|
879
|
+
*/
|
|
880
|
+
async ChangeP2PRoute(
|
|
881
|
+
req: ChangeP2PRouteRequest,
|
|
882
|
+
cb?: (error: string, rep: ChangeP2PRouteResponse) => void
|
|
883
|
+
): Promise<ChangeP2PRouteResponse> {
|
|
884
|
+
return this.request("ChangeP2PRoute", req, cb)
|
|
885
|
+
}
|
|
886
|
+
|
|
860
887
|
/**
|
|
861
888
|
* 提供根据产品名称查找产品的能力
|
|
862
889
|
*/
|
|
@@ -1311,6 +1338,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1311
1338
|
return this.request("CreateFreeCloudStorage", req, cb)
|
|
1312
1339
|
}
|
|
1313
1340
|
|
|
1341
|
+
/**
|
|
1342
|
+
* 更新应用信息
|
|
1343
|
+
*/
|
|
1344
|
+
async ModifyApplication(
|
|
1345
|
+
req: ModifyApplicationRequest,
|
|
1346
|
+
cb?: (error: string, rep: ModifyApplicationResponse) => void
|
|
1347
|
+
): Promise<ModifyApplicationResponse> {
|
|
1348
|
+
return this.request("ModifyApplication", req, cb)
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1314
1351
|
/**
|
|
1315
1352
|
* 批量禁用启用设备
|
|
1316
1353
|
*/
|
|
@@ -278,6 +278,20 @@ export interface DeleteLoRaFrequencyResponse {
|
|
|
278
278
|
RequestId?: string
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* ModifyApplication返回参数结构体
|
|
283
|
+
*/
|
|
284
|
+
export interface ModifyApplicationResponse {
|
|
285
|
+
/**
|
|
286
|
+
* 应用信息
|
|
287
|
+
*/
|
|
288
|
+
Application?: IotApplication
|
|
289
|
+
/**
|
|
290
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
291
|
+
*/
|
|
292
|
+
RequestId?: string
|
|
293
|
+
}
|
|
294
|
+
|
|
281
295
|
/**
|
|
282
296
|
* CreateFreeCloudStorage返回参数结构体
|
|
283
297
|
*/
|
|
@@ -585,6 +599,16 @@ export interface BindCloudStorageUserRequest {
|
|
|
585
599
|
UserId: string
|
|
586
600
|
}
|
|
587
601
|
|
|
602
|
+
/**
|
|
603
|
+
* ChangeP2PRoute返回参数结构体
|
|
604
|
+
*/
|
|
605
|
+
export interface ChangeP2PRouteResponse {
|
|
606
|
+
/**
|
|
607
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
608
|
+
*/
|
|
609
|
+
RequestId?: string
|
|
610
|
+
}
|
|
611
|
+
|
|
588
612
|
/**
|
|
589
613
|
* UpdateDeviceTWeCallAuthorizeStatus请求参数结构体
|
|
590
614
|
*/
|
|
@@ -703,6 +727,24 @@ export interface InheritCloudStorageUserResponse {
|
|
|
703
727
|
RequestId?: string
|
|
704
728
|
}
|
|
705
729
|
|
|
730
|
+
/**
|
|
731
|
+
* ChangeP2PRoute请求参数结构体
|
|
732
|
+
*/
|
|
733
|
+
export interface ChangeP2PRouteRequest {
|
|
734
|
+
/**
|
|
735
|
+
* 产品ID
|
|
736
|
+
*/
|
|
737
|
+
ProductId: string
|
|
738
|
+
/**
|
|
739
|
+
* 设备名称
|
|
740
|
+
*/
|
|
741
|
+
DeviceName: string
|
|
742
|
+
/**
|
|
743
|
+
* P2P线路
|
|
744
|
+
*/
|
|
745
|
+
RouteId: number
|
|
746
|
+
}
|
|
747
|
+
|
|
706
748
|
/**
|
|
707
749
|
* DescribeDevice返回参数结构体
|
|
708
750
|
*/
|
|
@@ -2138,23 +2180,13 @@ export interface DescribeFirmwareRequest {
|
|
|
2138
2180
|
}
|
|
2139
2181
|
|
|
2140
2182
|
/**
|
|
2141
|
-
*
|
|
2183
|
+
* DescribeP2PRoute返回参数结构体
|
|
2142
2184
|
*/
|
|
2143
|
-
export interface
|
|
2144
|
-
/**
|
|
2145
|
-
* 推送类型。http:HTTP 回调
|
|
2146
|
-
*/
|
|
2147
|
-
Type?: string
|
|
2148
|
-
/**
|
|
2149
|
-
* HTTP 回调 URL
|
|
2150
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2151
|
-
*/
|
|
2152
|
-
CallbackUrl?: string
|
|
2185
|
+
export interface DescribeP2PRouteResponse {
|
|
2153
2186
|
/**
|
|
2154
|
-
*
|
|
2155
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2187
|
+
* 当前p2p线路
|
|
2156
2188
|
*/
|
|
2157
|
-
|
|
2189
|
+
RouteId?: number
|
|
2158
2190
|
/**
|
|
2159
2191
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2160
2192
|
*/
|
|
@@ -2344,6 +2376,30 @@ export interface SearchPositionSpaceRequest {
|
|
|
2344
2376
|
Limit: number
|
|
2345
2377
|
}
|
|
2346
2378
|
|
|
2379
|
+
/**
|
|
2380
|
+
* DescribeCloudStorageAIServiceCallback返回参数结构体
|
|
2381
|
+
*/
|
|
2382
|
+
export interface DescribeCloudStorageAIServiceCallbackResponse {
|
|
2383
|
+
/**
|
|
2384
|
+
* 推送类型。http:HTTP 回调
|
|
2385
|
+
*/
|
|
2386
|
+
Type?: string
|
|
2387
|
+
/**
|
|
2388
|
+
* HTTP 回调 URL
|
|
2389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2390
|
+
*/
|
|
2391
|
+
CallbackUrl?: string
|
|
2392
|
+
/**
|
|
2393
|
+
* HTTP 回调鉴权 Token
|
|
2394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2395
|
+
*/
|
|
2396
|
+
CallbackToken?: string
|
|
2397
|
+
/**
|
|
2398
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2399
|
+
*/
|
|
2400
|
+
RequestId?: string
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2347
2403
|
/**
|
|
2348
2404
|
* BindDevices返回参数结构体
|
|
2349
2405
|
*/
|
|
@@ -3458,33 +3514,25 @@ export interface InvokeCloudStorageAIServiceTaskRequest {
|
|
|
3458
3514
|
}
|
|
3459
3515
|
|
|
3460
3516
|
/**
|
|
3461
|
-
*
|
|
3517
|
+
* ResetCloudStorage请求参数结构体
|
|
3462
3518
|
*/
|
|
3463
|
-
export interface
|
|
3464
|
-
/**
|
|
3465
|
-
* 项目ID
|
|
3466
|
-
*/
|
|
3467
|
-
ProjectId: string
|
|
3468
|
-
/**
|
|
3469
|
-
* 空间名称
|
|
3470
|
-
*/
|
|
3471
|
-
SpaceName: string
|
|
3519
|
+
export interface ResetCloudStorageRequest {
|
|
3472
3520
|
/**
|
|
3473
|
-
*
|
|
3521
|
+
* 产品ID
|
|
3474
3522
|
*/
|
|
3475
|
-
|
|
3523
|
+
ProductId: string
|
|
3476
3524
|
/**
|
|
3477
|
-
*
|
|
3525
|
+
* 设备名称
|
|
3478
3526
|
*/
|
|
3479
|
-
|
|
3527
|
+
DeviceName: string
|
|
3480
3528
|
/**
|
|
3481
|
-
*
|
|
3529
|
+
* 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
|
|
3482
3530
|
*/
|
|
3483
|
-
|
|
3531
|
+
ChannelId?: number
|
|
3484
3532
|
/**
|
|
3485
|
-
*
|
|
3533
|
+
* 云存用户Id,为空则为默认云存空间。
|
|
3486
3534
|
*/
|
|
3487
|
-
|
|
3535
|
+
UserId?: string
|
|
3488
3536
|
}
|
|
3489
3537
|
|
|
3490
3538
|
/**
|
|
@@ -5877,25 +5925,33 @@ export interface DescribeInstanceRequest {
|
|
|
5877
5925
|
}
|
|
5878
5926
|
|
|
5879
5927
|
/**
|
|
5880
|
-
*
|
|
5928
|
+
* CreatePositionSpace请求参数结构体
|
|
5881
5929
|
*/
|
|
5882
|
-
export interface
|
|
5930
|
+
export interface CreatePositionSpaceRequest {
|
|
5883
5931
|
/**
|
|
5884
|
-
*
|
|
5932
|
+
* 项目ID
|
|
5885
5933
|
*/
|
|
5886
|
-
|
|
5934
|
+
ProjectId: string
|
|
5887
5935
|
/**
|
|
5888
|
-
*
|
|
5936
|
+
* 空间名称
|
|
5889
5937
|
*/
|
|
5890
|
-
|
|
5938
|
+
SpaceName: string
|
|
5891
5939
|
/**
|
|
5892
|
-
*
|
|
5940
|
+
* 授权类型,0:只读 1:读写
|
|
5893
5941
|
*/
|
|
5894
|
-
|
|
5942
|
+
AuthorizeType: number
|
|
5895
5943
|
/**
|
|
5896
|
-
*
|
|
5944
|
+
* 产品列表
|
|
5897
5945
|
*/
|
|
5898
|
-
|
|
5946
|
+
ProductIdList: Array<string>
|
|
5947
|
+
/**
|
|
5948
|
+
* 描述
|
|
5949
|
+
*/
|
|
5950
|
+
Description?: string
|
|
5951
|
+
/**
|
|
5952
|
+
* 缩略图
|
|
5953
|
+
*/
|
|
5954
|
+
Icon?: string
|
|
5899
5955
|
}
|
|
5900
5956
|
|
|
5901
5957
|
/**
|
|
@@ -7169,6 +7225,129 @@ export interface DeleteFenceBindResponse {
|
|
|
7169
7225
|
RequestId?: string
|
|
7170
7226
|
}
|
|
7171
7227
|
|
|
7228
|
+
/**
|
|
7229
|
+
* 应用信息
|
|
7230
|
+
*/
|
|
7231
|
+
export interface IotApplication {
|
|
7232
|
+
/**
|
|
7233
|
+
* 应用 ID
|
|
7234
|
+
*/
|
|
7235
|
+
IotAppID?: string
|
|
7236
|
+
/**
|
|
7237
|
+
* 应用名称
|
|
7238
|
+
*/
|
|
7239
|
+
AppName?: string
|
|
7240
|
+
/**
|
|
7241
|
+
* 应用说明
|
|
7242
|
+
*/
|
|
7243
|
+
Description?: string
|
|
7244
|
+
/**
|
|
7245
|
+
* 开发模式
|
|
7246
|
+
*/
|
|
7247
|
+
DevMode?: number
|
|
7248
|
+
/**
|
|
7249
|
+
* iOS 平台 AppKey
|
|
7250
|
+
*/
|
|
7251
|
+
IOSAppKey?: string
|
|
7252
|
+
/**
|
|
7253
|
+
* iOS 平台 AppSecret
|
|
7254
|
+
*/
|
|
7255
|
+
IOSAppSecret?: string
|
|
7256
|
+
/**
|
|
7257
|
+
* Android 平台 AppKey
|
|
7258
|
+
*/
|
|
7259
|
+
AndroidAppKey?: string
|
|
7260
|
+
/**
|
|
7261
|
+
* Android 平台 AppSecret
|
|
7262
|
+
*/
|
|
7263
|
+
AndroidAppSecret?: string
|
|
7264
|
+
/**
|
|
7265
|
+
* 绑定的产品列表,数据为:ProdcutID 数组 JSON 序列化后的字符串
|
|
7266
|
+
*/
|
|
7267
|
+
Products?: string
|
|
7268
|
+
/**
|
|
7269
|
+
* 创建时间
|
|
7270
|
+
*/
|
|
7271
|
+
CreateTime?: string
|
|
7272
|
+
/**
|
|
7273
|
+
* 项目ID
|
|
7274
|
+
*/
|
|
7275
|
+
ProjectId?: string
|
|
7276
|
+
/**
|
|
7277
|
+
* 信鸽推送APP ID
|
|
7278
|
+
*/
|
|
7279
|
+
PushSecretID?: string
|
|
7280
|
+
/**
|
|
7281
|
+
* 信鸽推送SECRET KEY
|
|
7282
|
+
*/
|
|
7283
|
+
PushSecretKey?: string
|
|
7284
|
+
/**
|
|
7285
|
+
* iOS平台推送环境
|
|
7286
|
+
*/
|
|
7287
|
+
PushEnvironment?: string
|
|
7288
|
+
/**
|
|
7289
|
+
* 小程序平台 AppKey
|
|
7290
|
+
*/
|
|
7291
|
+
MiniProgramAppKey?: string
|
|
7292
|
+
/**
|
|
7293
|
+
* 小程序平台 AppSecret
|
|
7294
|
+
*/
|
|
7295
|
+
MiniProgramAppSecret?: string
|
|
7296
|
+
/**
|
|
7297
|
+
* TPNS服务iOS应用AccessID,TPNS全称为腾讯移动推送(Tencent Push Notification Service),详见:https://cloud.tencent.com/document/product/548
|
|
7298
|
+
*/
|
|
7299
|
+
TPNSiOSAccessID?: string
|
|
7300
|
+
/**
|
|
7301
|
+
* TPNS服务iOS应用SecretKey
|
|
7302
|
+
*/
|
|
7303
|
+
TPNSiOSSecretKey?: string
|
|
7304
|
+
/**
|
|
7305
|
+
* TPNS服务iOS应用推送环境
|
|
7306
|
+
*/
|
|
7307
|
+
TPNSiOSPushEnvironment?: string
|
|
7308
|
+
/**
|
|
7309
|
+
* TPNS服务Android应用AccessID
|
|
7310
|
+
*/
|
|
7311
|
+
TPNSAndroidAccessID?: string
|
|
7312
|
+
/**
|
|
7313
|
+
* TPNS服务Android应用SecretKey
|
|
7314
|
+
*/
|
|
7315
|
+
TPNSAndroidSecretKey?: string
|
|
7316
|
+
/**
|
|
7317
|
+
* TPNS服务iOS应用所属地域,详细说明参见 ModifyApplication 同名入参。
|
|
7318
|
+
*/
|
|
7319
|
+
TPNSiOSRegion?: string
|
|
7320
|
+
/**
|
|
7321
|
+
* TPNS服务Android应用所属地域,详细说明参见 ModifyApplication 同名入参。
|
|
7322
|
+
*/
|
|
7323
|
+
TPNSAndroidRegion?: string
|
|
7324
|
+
/**
|
|
7325
|
+
* 自主短信配置APPID
|
|
7326
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7327
|
+
*/
|
|
7328
|
+
SelfSmsAppId?: string
|
|
7329
|
+
/**
|
|
7330
|
+
* 自主短信配置APPKey
|
|
7331
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7332
|
+
*/
|
|
7333
|
+
SelfSmsAppKey?: string
|
|
7334
|
+
/**
|
|
7335
|
+
* 自主短信配置签名
|
|
7336
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7337
|
+
*/
|
|
7338
|
+
SelfSmsSign?: string
|
|
7339
|
+
/**
|
|
7340
|
+
* 自主短信配置模板ID
|
|
7341
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7342
|
+
*/
|
|
7343
|
+
SelfSmsTemplateId?: number
|
|
7344
|
+
/**
|
|
7345
|
+
* 第三方小程序强提醒开关 0:关闭;1:开启
|
|
7346
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7347
|
+
*/
|
|
7348
|
+
WechatNotifyStatus?: number
|
|
7349
|
+
}
|
|
7350
|
+
|
|
7172
7351
|
/**
|
|
7173
7352
|
* PublishBroadcastMessage返回参数结构体
|
|
7174
7353
|
*/
|
|
@@ -7439,6 +7618,72 @@ export interface CreateCloudStorageAIServiceTaskResponse {
|
|
|
7439
7618
|
RequestId?: string
|
|
7440
7619
|
}
|
|
7441
7620
|
|
|
7621
|
+
/**
|
|
7622
|
+
* ModifyApplication请求参数结构体
|
|
7623
|
+
*/
|
|
7624
|
+
export interface ModifyApplicationRequest {
|
|
7625
|
+
/**
|
|
7626
|
+
* 应用ID
|
|
7627
|
+
*/
|
|
7628
|
+
IotAppID: string
|
|
7629
|
+
/**
|
|
7630
|
+
* 应用名称
|
|
7631
|
+
*/
|
|
7632
|
+
AppName?: string
|
|
7633
|
+
/**
|
|
7634
|
+
* 应用说明
|
|
7635
|
+
*/
|
|
7636
|
+
Description?: string
|
|
7637
|
+
/**
|
|
7638
|
+
* 关联的产品
|
|
7639
|
+
*/
|
|
7640
|
+
Products?: string
|
|
7641
|
+
/**
|
|
7642
|
+
* 信鸽推送APP ID
|
|
7643
|
+
*/
|
|
7644
|
+
PushSecretID?: string
|
|
7645
|
+
/**
|
|
7646
|
+
* 信鸽推送SECRET KEY
|
|
7647
|
+
*/
|
|
7648
|
+
PushSecretKey?: string
|
|
7649
|
+
/**
|
|
7650
|
+
* iOS平台推送环境
|
|
7651
|
+
*/
|
|
7652
|
+
PushEnvironment?: string
|
|
7653
|
+
/**
|
|
7654
|
+
* TPNS服务iOS应用AccessID,TPNS全称为腾讯移动推送(Tencent Push Notification Service),详见:https://cloud.tencent.com/document/product/548
|
|
7655
|
+
*/
|
|
7656
|
+
TPNSiOSAccessID?: string
|
|
7657
|
+
/**
|
|
7658
|
+
* TPNS服务iOS应用SecretKey
|
|
7659
|
+
*/
|
|
7660
|
+
TPNSiOSSecretKey?: string
|
|
7661
|
+
/**
|
|
7662
|
+
* TPNS服务iOS应用推送环境
|
|
7663
|
+
*/
|
|
7664
|
+
TPNSiOSPushEnvironment?: string
|
|
7665
|
+
/**
|
|
7666
|
+
* TPNS服务Android应用AccessID
|
|
7667
|
+
*/
|
|
7668
|
+
TPNSAndroidAccessID?: string
|
|
7669
|
+
/**
|
|
7670
|
+
* TPNS服务Android应用SecretKey
|
|
7671
|
+
*/
|
|
7672
|
+
TPNSAndroidSecretKey?: string
|
|
7673
|
+
/**
|
|
7674
|
+
* TPNS服务iOS应用所属地域,广州:ap-guangzhou,上海:ap-shanghai,中国香港:ap-hongkong,新加坡:ap-singapore。
|
|
7675
|
+
*/
|
|
7676
|
+
TPNSiOSRegion?: string
|
|
7677
|
+
/**
|
|
7678
|
+
* TPNS服务Android应用所属地域,广州:ap-guangzhou,上海:ap-shanghai,中国香港:ap-hongkong,新加坡:ap-singapore。
|
|
7679
|
+
*/
|
|
7680
|
+
TPNSAndroidRegion?: string
|
|
7681
|
+
/**
|
|
7682
|
+
* TurnKey小程序托管
|
|
7683
|
+
*/
|
|
7684
|
+
TurnKeySwitch?: number
|
|
7685
|
+
}
|
|
7686
|
+
|
|
7442
7687
|
/**
|
|
7443
7688
|
* DescribeCloudStorageDate返回参数结构体
|
|
7444
7689
|
*/
|
|
@@ -7663,6 +7908,20 @@ export interface DeleteStudioProductRequest {
|
|
|
7663
7908
|
ProductId: string
|
|
7664
7909
|
}
|
|
7665
7910
|
|
|
7911
|
+
/**
|
|
7912
|
+
* DescribeP2PRoute请求参数结构体
|
|
7913
|
+
*/
|
|
7914
|
+
export interface DescribeP2PRouteRequest {
|
|
7915
|
+
/**
|
|
7916
|
+
* 产品ID
|
|
7917
|
+
*/
|
|
7918
|
+
ProductId: string
|
|
7919
|
+
/**
|
|
7920
|
+
* 设备名称
|
|
7921
|
+
*/
|
|
7922
|
+
DeviceName: string
|
|
7923
|
+
}
|
|
7924
|
+
|
|
7666
7925
|
/**
|
|
7667
7926
|
* GetDeviceSumStatistics请求参数结构体
|
|
7668
7927
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { UpdateDevicesEnableStateResponse, DescribeCloudStoragePackageConsumeDetailsResponse, GetWechatDeviceTicketRequest, DeleteFenceBindRequest, DescribeModelDefinitionResponse, GetGatewaySubDeviceListResponse, DeleteStudioProductResponse, DescribeDevicePackagesRequest, ControlDeviceDataRequest, DeleteLoRaFrequencyResponse, CreateFreeCloudStorageResponse, ModifyPositionFenceResponse, DescribeCloudStorageAIServiceTaskRequest, DescribeCloudStorageThumbnailListRequest, CheckFirmwareUpdateResponse, DescribeCloudStorageUsersResponse, DescribeCloudStoragePackageConsumeDetailsRequest, DescribeActivateLicenseServiceResponse, CreateCloudStorageAIServiceTaskRequest, DescribeCloudStorageOrderRequest, DescribeSpaceFenceEventListResponse, DescribeCloudStorageEventsWithAITasksResponse, SearchTopicRuleResponse, ModifyCloudStorageAIServiceResponse, DescribeDeviceFirmWareRequest, BindCloudStorageUserRequest, UpdateDeviceTWeCallAuthorizeStatusRequest, CreateProjectResponse, DeleteProjectResponse, CreateTopicPolicyResponse, CreateDeviceResponse, CreateDeviceRequest, InheritCloudStorageUserResponse, DescribeDeviceResponse, PublishBroadcastMessageRequest, GetStudioProductListResponse, GetTWeCallActiveStatusRequest, GetAuthMiniProgramAppListRequest, DescribeFenceEventListRequest, ActivateTWeCallLicenseResponse, DeleteTopicPolicyRequest, ResetCloudStorageEventRequest, GetFamilyDeviceUserListRequest, CreateTRTCSignaturesWithRoomIdRequest, DescribeSpaceFenceEventListRequest, DescribeGatewaySubDeviceListRequest, GetDeviceListRequest, DescribeDeviceDataHistoryRequest, DescribeStudioProductRequest, DescribeCloudStorageThumbnailListResponse, DeletePositionFenceRequest, GetProjectListRequest, ModifyPositionSpaceRequest, DescribeDeviceBindGatewayRequest, ModifyProjectResponse, DescribeCloudStorageThumbnailRequest, ModifyProductCloudStorageAIServiceRequest, CreateExternalSourceAIServiceTaskRequest, GetDeviceSumStatisticsResponse, InheritCloudStorageUserRequest, ModifyProjectRequest, ModifySpacePropertyResponse, PauseTWeCallDeviceRequest, DescribeDeviceDataHistoryResponse, DeleteDeviceResponse, ModifyLoRaFrequencyResponse, ListEventHistoryResponse, GetBatchProductionsListResponse, DescribeDeviceFirmwaresResponse, DescribeCloudStorageUsersRequest, DescribeCloudStorageDateRequest, DescribeTopicPolicyRequest, DescribeDeviceFirmwaresRequest, DeleteDevicesRequest, UnbindDevicesRequest, DeleteCloudStorageEventResponse, DescribeCloudStorageTimeResponse, GetPositionSpaceListRequest, DescribeGatewaySubProductsResponse, GetDeviceListResponse, DescribeCloudStorageMultiThumbnailResponse, DescribeFreeCloudStorageNumRequest, DescribeDevicePositionListRequest, InvokeExternalSourceAIServiceTaskResponse, CreateStudioProductRequest, TransferCloudStorageRequest, DescribeFirmwareRequest,
|
|
2
|
+
import { UpdateDevicesEnableStateResponse, DescribeCloudStoragePackageConsumeDetailsResponse, GetWechatDeviceTicketRequest, DeleteFenceBindRequest, DescribeModelDefinitionResponse, GetGatewaySubDeviceListResponse, DeleteStudioProductResponse, DescribeDevicePackagesRequest, ControlDeviceDataRequest, DeleteLoRaFrequencyResponse, ModifyApplicationResponse, CreateFreeCloudStorageResponse, ModifyPositionFenceResponse, DescribeCloudStorageAIServiceTaskRequest, DescribeCloudStorageThumbnailListRequest, CheckFirmwareUpdateResponse, DescribeCloudStorageUsersResponse, DescribeCloudStoragePackageConsumeDetailsRequest, DescribeActivateLicenseServiceResponse, CreateCloudStorageAIServiceTaskRequest, DescribeCloudStorageOrderRequest, DescribeSpaceFenceEventListResponse, DescribeCloudStorageEventsWithAITasksResponse, SearchTopicRuleResponse, ModifyCloudStorageAIServiceResponse, DescribeDeviceFirmWareRequest, BindCloudStorageUserRequest, ChangeP2PRouteResponse, UpdateDeviceTWeCallAuthorizeStatusRequest, CreateProjectResponse, DeleteProjectResponse, CreateTopicPolicyResponse, CreateDeviceResponse, CreateDeviceRequest, InheritCloudStorageUserResponse, ChangeP2PRouteRequest, DescribeDeviceResponse, PublishBroadcastMessageRequest, GetStudioProductListResponse, GetTWeCallActiveStatusRequest, GetAuthMiniProgramAppListRequest, DescribeFenceEventListRequest, ActivateTWeCallLicenseResponse, DeleteTopicPolicyRequest, ResetCloudStorageEventRequest, GetFamilyDeviceUserListRequest, CreateTRTCSignaturesWithRoomIdRequest, DescribeSpaceFenceEventListRequest, DescribeGatewaySubDeviceListRequest, GetDeviceListRequest, DescribeDeviceDataHistoryRequest, DescribeStudioProductRequest, DescribeCloudStorageThumbnailListResponse, DeletePositionFenceRequest, GetProjectListRequest, ModifyPositionSpaceRequest, DescribeDeviceBindGatewayRequest, ModifyProjectResponse, DescribeCloudStorageThumbnailRequest, ModifyProductCloudStorageAIServiceRequest, CreateExternalSourceAIServiceTaskRequest, GetDeviceSumStatisticsResponse, InheritCloudStorageUserRequest, ModifyProjectRequest, ModifySpacePropertyResponse, PauseTWeCallDeviceRequest, DescribeDeviceDataHistoryResponse, DeleteDeviceResponse, ModifyLoRaFrequencyResponse, ListEventHistoryResponse, GetBatchProductionsListResponse, DescribeDeviceFirmwaresResponse, DescribeCloudStorageUsersRequest, DescribeCloudStorageDateRequest, DescribeTopicPolicyRequest, DescribeDeviceFirmwaresRequest, DeleteDevicesRequest, UnbindDevicesRequest, DeleteCloudStorageEventResponse, DescribeCloudStorageTimeResponse, GetPositionSpaceListRequest, DescribeGatewaySubProductsResponse, GetDeviceListResponse, DescribeCloudStorageMultiThumbnailResponse, DescribeFreeCloudStorageNumRequest, DescribeDevicePositionListRequest, InvokeExternalSourceAIServiceTaskResponse, CreateStudioProductRequest, TransferCloudStorageRequest, DescribeFirmwareRequest, DescribeP2PRouteResponse, ListTopicPolicyResponse, GenSingleDeviceSignatureOfPublicResponse, DescribeBatchProductionResponse, DescribeProductCloudStorageAIServiceResponse, DescribeLoRaFrequencyRequest, DeleteCloudStorageEventRequest, SearchPositionSpaceRequest, DescribeCloudStorageAIServiceCallbackResponse, BindDevicesResponse, CallDeviceActionSyncResponse, CreateLoRaGatewayRequest, ModifyTopicRuleRequest, DescribeFenceBindListResponse, TransferTWeCallDeviceRequest, UnbindProductsRequest, CreateCloudStorageAIServiceRequest, DescribeDeviceLocationSolveResponse, DescribeStudioProductResponse, CreateIotVideoCloudStorageResponse, DescribePackageConsumeTaskResponse, CheckFirmwareUpdateRequest, RemoveUserByRoomIdFromTRTCRequest, ModifyPositionSpaceResponse, ModifyCloudStorageAIServiceCallbackResponse, CreateFenceBindResponse, DescribeBindedProductsResponse, ModifyTopicRuleResponse, DescribeBatchProductionRequest, DescribeCloudStorageAIServiceTaskResponse, PublishRRPCMessageResponse, DescribeInstanceResponse, GetLoRaGatewayListRequest, DescribeProjectRequest, UploadFirmwareResponse, ModifyTopicPolicyRequest, DeleteTopicRuleRequest, CreateLoRaGatewayResponse, GetBatchProductionsListRequest, DescribeDeviceBindGatewayResponse, ControlDeviceDataResponse, CreatePositionSpaceResponse, ResetCloudStorageEventResponse, DescribeCloudStorageAIServiceTasksResponse, DeletePositionSpaceResponse, DescribeActivateDeviceResponse, ResetTWeCallDeviceResponse, DescribeCloudStorageResponse, DescribeCloudStorageStreamDataRequest, DirectBindDeviceInFamilyRequest, PublishMessageResponse, DescribeModelDefinitionRequest, DisableTopicRuleRequest, ActivateTWeCallLicenseRequest, CreateTopicRuleResponse, DescribeDeviceDataResponse, DescribePositionFenceListRequest, InvokeCloudStorageAIServiceTaskRequest, ResetCloudStorageRequest, DescribeCloudStorageEventsWithAITasksRequest, DismissRoomByStrRoomIdFromTRTCRequest, DescribeDeviceLocationSolveRequest, DescribeVideoLicenseRequest, DescribeCloudStorageAIServiceResponse, DeleteDevicesResponse, ModifyStudioProductResponse, BindDevicesRequest, DescribePackageConsumeTaskRequest, DismissRoomByStrRoomIdFromTRTCResponse, DescribeFirmwareUpdateStatusResponse, PublishFirmwareUpdateMessageResponse, CallDeviceActionSyncRequest, ResetCloudStorageAIServiceResponse, InvokeCloudStorageAIServiceTaskResponse, ModifyFenceBindResponse, DescribeGatewayBindDevicesResponse, DeletePositionFenceResponse, GetAuthMiniProgramAppListResponse, UpdateDeviceTWeCallAuthorizeStatusResponse, ModifyProductCloudStorageAIServiceResponse, GetDeviceLocationHistoryRequest, DeletePositionSpaceRequest, DescribeActivateDeviceRequest, CreateProjectRequest, CreateCloudStorageAIServiceResponse, GetTWeCallActiveStatusResponse, PauseTWeCallDeviceResponse, DeleteDeviceRequest, GetProjectListResponse, ListFirmwaresResponse, ReleaseStudioProductResponse, DescribeFirmwareResponse, DescribePackageConsumeTasksResponse, UnbindProductsResponse, DescribeTopicPolicyResponse, DescribeDeviceFirmWareResponse, DescribeFenceEventListResponse, ModifyCloudStorageAIServiceRequest, GetStudioProductListRequest, DescribeFirmwareTaskResponse, DisableTopicRuleResponse, DescribeCloudStorageAIServiceTasksRequest, ListFirmwaresRequest, PublishMessageRequest, GetCOSURLResponse, ReleaseStudioProductRequest, SearchPositionSpaceResponse, GenerateCloudStorageAIServiceTaskFileURLResponse, ResetTWeCallDeviceRequest, CallDeviceActionAsyncRequest, CallDeviceActionAsyncResponse, GetPositionSpaceListResponse, CreatePositionFenceResponse, DescribeTopicRuleResponse, UpdateFirmwareRequest, DescribeDeviceRequest, CreateDeviceChannelRequest, DescribeDevicePackagesResponse, DescribeGatewaySubDeviceListResponse, SearchStudioProductResponse, DescribeVideoLicenseResponse, DescribePackageConsumeTasksRequest, GetFamilyDeviceUserListResponse, DeleteLoRaGatewayResponse, CreateLoRaFrequencyRequest, ModifyLoRaFrequencyRequest, CreateLoRaFrequencyResponse, EnableTopicRuleResponse, GetGatewaySubDeviceListRequest, SearchStudioProductRequest, GenSingleDeviceSignatureOfPublicRequest, BindProductsResponse, DescribeGatewayBindDevicesRequest, DescribeGatewaySubProductsRequest, CreateExternalSourceAIServiceTaskResponse, BindProductsRequest, ModifyLoRaGatewayResponse, DescribeCloudStorageAIServiceRequest, DescribeCloudStorageOrderResponse, DescribeActivateLicenseServiceRequest, CreateTRTCSignaturesWithRoomIdResponse, DescribeCloudStorageEventsRequest, DescribeInstanceRequest, CreatePositionSpaceRequest, DeleteProjectRequest, GenerateSignedVideoURLRequest, ModifyPositionFenceRequest, ModifySpacePropertyRequest, DeleteTopicRuleResponse, ModifyModelDefinitionRequest, TransferCloudStorageResponse, CreateStudioProductResponse, UpdateFirmwareResponse, ModifyStudioProductRequest, CreateBatchProductionRequest, GetTopicRuleListResponse, CancelAssignTWeCallLicenseRequest, DescribeCloudStoragePackageConsumeStatsResponse, ListEventHistoryRequest, SearchTopicRuleRequest, DescribeDeviceDataRequest, PublishRRPCMessageRequest, DescribePositionFenceListResponse, DescribeCloudStorageMultiThumbnailRequest, DescribeFirmwareUpdateStatusRequest, DescribeDevicePositionListResponse, DescribeProjectResponse, ListTopicPolicyRequest, DeleteLoRaFrequencyRequest, InvokeExternalSourceAIServiceTaskRequest, DescribeProductCloudStorageAIServiceRequest, DeleteLoRaGatewayRequest, ModifyTopicPolicyResponse, DescribeCloudStorageStreamDataResponse, TransferTWeCallDeviceResponse, DescribeTopicRuleRequest, ModifyCloudStorageAIServiceCallbackRequest, GetWechatDeviceTicketResponse, ResumeWeCallDeviceResponse, ResetCloudStorageResponse, ResumeWeCallDeviceRequest, GetCOSURLRequest, CreateFenceBindRequest, UploadFirmwareRequest, GetDeviceLocationHistoryResponse, ModifyFenceBindRequest, GetLoRaGatewayListResponse, DirectBindDeviceInFamilyResponse, DescribeCloudStoragePackageConsumeStatsRequest, DeleteFenceBindResponse, PublishBroadcastMessageResponse, DescribeFenceBindListRequest, CreateDeviceChannelResponse, CreateTopicRuleRequest, CreateTopicPolicyRequest, CancelAssignTWeCallLicenseResponse, DescribeCloudStorageEventsResponse, DescribeBindedProductsRequest, CreateFreeCloudStorageRequest, DescribeLoRaFrequencyResponse, CreateCloudStorageAIServiceTaskResponse, ModifyApplicationRequest, DescribeCloudStorageDateResponse, DescribeFreeCloudStorageNumResponse, CreateIotVideoCloudStorageRequest, GenerateCloudStorageAIServiceTaskFileURLRequest, BindCloudStorageUserResponse, DeleteTopicPolicyResponse, UnbindDevicesResponse, CreateBatchProductionResponse, GetTopicRuleListRequest, DeleteStudioProductRequest, DescribeP2PRouteRequest, GetDeviceSumStatisticsRequest, DescribeCloudStorageAIServiceCallbackRequest, DescribeCloudStorageRequest, GenerateSignedVideoURLResponse, CreatePositionFenceRequest, DescribeCloudStorageThumbnailResponse, PublishFirmwareUpdateMessageRequest, UpdateDevicesEnableStateRequest, ResetCloudStorageAIServiceRequest, ModifyModelDefinitionResponse, RemoveUserByRoomIdFromTRTCResponse, ModifyLoRaGatewayRequest, DescribeCloudStorageTimeRequest, EnableTopicRuleRequest, DescribeFirmwareTaskRequest } from "./iotexplorer_models";
|
|
3
3
|
/**
|
|
4
4
|
* iotexplorer client
|
|
5
5
|
* @class
|
|
@@ -26,6 +26,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
26
26
|
* 用于查看某个设备的详细信息
|
|
27
27
|
*/
|
|
28
28
|
DescribeDevice(req: DescribeDeviceRequest, cb?: (error: string, rep: DescribeDeviceResponse) => void): Promise<DescribeDeviceResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* 当前p2p线路
|
|
31
|
+
*/
|
|
32
|
+
DescribeP2PRoute(req: DescribeP2PRouteRequest, cb?: (error: string, rep: DescribeP2PRouteResponse) => void): Promise<DescribeP2PRouteResponse>;
|
|
29
33
|
/**
|
|
30
34
|
* 拉取云存事件列表
|
|
31
35
|
*/
|
|
@@ -186,6 +190,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
186
190
|
* 用于查询视频激活码统计概览
|
|
187
191
|
*/
|
|
188
192
|
DescribeVideoLicense(req: DescribeVideoLicenseRequest, cb?: (error: string, rep: DescribeVideoLicenseResponse) => void): Promise<DescribeVideoLicenseResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* p2p路线切换
|
|
195
|
+
*/
|
|
196
|
+
ChangeP2PRoute(req: ChangeP2PRouteRequest, cb?: (error: string, rep: ChangeP2PRouteResponse) => void): Promise<ChangeP2PRouteResponse>;
|
|
189
197
|
/**
|
|
190
198
|
* 提供根据产品名称查找产品的能力
|
|
191
199
|
*/
|
|
@@ -370,6 +378,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
370
378
|
* 开通免费云存服务
|
|
371
379
|
*/
|
|
372
380
|
CreateFreeCloudStorage(req: CreateFreeCloudStorageRequest, cb?: (error: string, rep: CreateFreeCloudStorageResponse) => void): Promise<CreateFreeCloudStorageResponse>;
|
|
381
|
+
/**
|
|
382
|
+
* 更新应用信息
|
|
383
|
+
*/
|
|
384
|
+
ModifyApplication(req: ModifyApplicationRequest, cb?: (error: string, rep: ModifyApplicationResponse) => void): Promise<ModifyApplicationResponse>;
|
|
373
385
|
/**
|
|
374
386
|
* 批量禁用启用设备
|
|
375
387
|
*/
|
|
@@ -57,6 +57,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
57
57
|
async DescribeDevice(req, cb) {
|
|
58
58
|
return this.request("DescribeDevice", req, cb);
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* 当前p2p线路
|
|
62
|
+
*/
|
|
63
|
+
async DescribeP2PRoute(req, cb) {
|
|
64
|
+
return this.request("DescribeP2PRoute", req, cb);
|
|
65
|
+
}
|
|
60
66
|
/**
|
|
61
67
|
* 拉取云存事件列表
|
|
62
68
|
*/
|
|
@@ -297,6 +303,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
297
303
|
async DescribeVideoLicense(req, cb) {
|
|
298
304
|
return this.request("DescribeVideoLicense", req, cb);
|
|
299
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* p2p路线切换
|
|
308
|
+
*/
|
|
309
|
+
async ChangeP2PRoute(req, cb) {
|
|
310
|
+
return this.request("ChangeP2PRoute", req, cb);
|
|
311
|
+
}
|
|
300
312
|
/**
|
|
301
313
|
* 提供根据产品名称查找产品的能力
|
|
302
314
|
*/
|
|
@@ -571,6 +583,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
571
583
|
async CreateFreeCloudStorage(req, cb) {
|
|
572
584
|
return this.request("CreateFreeCloudStorage", req, cb);
|
|
573
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* 更新应用信息
|
|
588
|
+
*/
|
|
589
|
+
async ModifyApplication(req, cb) {
|
|
590
|
+
return this.request("ModifyApplication", req, cb);
|
|
591
|
+
}
|
|
574
592
|
/**
|
|
575
593
|
* 批量禁用启用设备
|
|
576
594
|
*/
|
|
@@ -248,6 +248,19 @@ export interface DeleteLoRaFrequencyResponse {
|
|
|
248
248
|
*/
|
|
249
249
|
RequestId?: string;
|
|
250
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* ModifyApplication返回参数结构体
|
|
253
|
+
*/
|
|
254
|
+
export interface ModifyApplicationResponse {
|
|
255
|
+
/**
|
|
256
|
+
* 应用信息
|
|
257
|
+
*/
|
|
258
|
+
Application?: IotApplication;
|
|
259
|
+
/**
|
|
260
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
261
|
+
*/
|
|
262
|
+
RequestId?: string;
|
|
263
|
+
}
|
|
251
264
|
/**
|
|
252
265
|
* CreateFreeCloudStorage返回参数结构体
|
|
253
266
|
*/
|
|
@@ -538,6 +551,15 @@ export interface BindCloudStorageUserRequest {
|
|
|
538
551
|
*/
|
|
539
552
|
UserId: string;
|
|
540
553
|
}
|
|
554
|
+
/**
|
|
555
|
+
* ChangeP2PRoute返回参数结构体
|
|
556
|
+
*/
|
|
557
|
+
export interface ChangeP2PRouteResponse {
|
|
558
|
+
/**
|
|
559
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
560
|
+
*/
|
|
561
|
+
RequestId?: string;
|
|
562
|
+
}
|
|
541
563
|
/**
|
|
542
564
|
* UpdateDeviceTWeCallAuthorizeStatus请求参数结构体
|
|
543
565
|
*/
|
|
@@ -649,6 +671,23 @@ export interface InheritCloudStorageUserResponse {
|
|
|
649
671
|
*/
|
|
650
672
|
RequestId?: string;
|
|
651
673
|
}
|
|
674
|
+
/**
|
|
675
|
+
* ChangeP2PRoute请求参数结构体
|
|
676
|
+
*/
|
|
677
|
+
export interface ChangeP2PRouteRequest {
|
|
678
|
+
/**
|
|
679
|
+
* 产品ID
|
|
680
|
+
*/
|
|
681
|
+
ProductId: string;
|
|
682
|
+
/**
|
|
683
|
+
* 设备名称
|
|
684
|
+
*/
|
|
685
|
+
DeviceName: string;
|
|
686
|
+
/**
|
|
687
|
+
* P2P线路
|
|
688
|
+
*/
|
|
689
|
+
RouteId: number;
|
|
690
|
+
}
|
|
652
691
|
/**
|
|
653
692
|
* DescribeDevice返回参数结构体
|
|
654
693
|
*/
|
|
@@ -2019,23 +2058,13 @@ export interface DescribeFirmwareRequest {
|
|
|
2019
2058
|
FirmwareVersion: string;
|
|
2020
2059
|
}
|
|
2021
2060
|
/**
|
|
2022
|
-
*
|
|
2061
|
+
* DescribeP2PRoute返回参数结构体
|
|
2023
2062
|
*/
|
|
2024
|
-
export interface
|
|
2025
|
-
/**
|
|
2026
|
-
* 推送类型。http:HTTP 回调
|
|
2027
|
-
*/
|
|
2028
|
-
Type?: string;
|
|
2063
|
+
export interface DescribeP2PRouteResponse {
|
|
2029
2064
|
/**
|
|
2030
|
-
*
|
|
2031
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2065
|
+
* 当前p2p线路
|
|
2032
2066
|
*/
|
|
2033
|
-
|
|
2034
|
-
/**
|
|
2035
|
-
* HTTP 回调鉴权 Token
|
|
2036
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2037
|
-
*/
|
|
2038
|
-
CallbackToken?: string;
|
|
2067
|
+
RouteId?: number;
|
|
2039
2068
|
/**
|
|
2040
2069
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2041
2070
|
*/
|
|
@@ -2216,6 +2245,29 @@ export interface SearchPositionSpaceRequest {
|
|
|
2216
2245
|
*/
|
|
2217
2246
|
Limit: number;
|
|
2218
2247
|
}
|
|
2248
|
+
/**
|
|
2249
|
+
* DescribeCloudStorageAIServiceCallback返回参数结构体
|
|
2250
|
+
*/
|
|
2251
|
+
export interface DescribeCloudStorageAIServiceCallbackResponse {
|
|
2252
|
+
/**
|
|
2253
|
+
* 推送类型。http:HTTP 回调
|
|
2254
|
+
*/
|
|
2255
|
+
Type?: string;
|
|
2256
|
+
/**
|
|
2257
|
+
* HTTP 回调 URL
|
|
2258
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2259
|
+
*/
|
|
2260
|
+
CallbackUrl?: string;
|
|
2261
|
+
/**
|
|
2262
|
+
* HTTP 回调鉴权 Token
|
|
2263
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2264
|
+
*/
|
|
2265
|
+
CallbackToken?: string;
|
|
2266
|
+
/**
|
|
2267
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2268
|
+
*/
|
|
2269
|
+
RequestId?: string;
|
|
2270
|
+
}
|
|
2219
2271
|
/**
|
|
2220
2272
|
* BindDevices返回参数结构体
|
|
2221
2273
|
*/
|
|
@@ -3272,33 +3324,25 @@ export interface InvokeCloudStorageAIServiceTaskRequest {
|
|
|
3272
3324
|
CustomId?: string;
|
|
3273
3325
|
}
|
|
3274
3326
|
/**
|
|
3275
|
-
*
|
|
3327
|
+
* ResetCloudStorage请求参数结构体
|
|
3276
3328
|
*/
|
|
3277
|
-
export interface
|
|
3278
|
-
/**
|
|
3279
|
-
* 项目ID
|
|
3280
|
-
*/
|
|
3281
|
-
ProjectId: string;
|
|
3282
|
-
/**
|
|
3283
|
-
* 空间名称
|
|
3284
|
-
*/
|
|
3285
|
-
SpaceName: string;
|
|
3329
|
+
export interface ResetCloudStorageRequest {
|
|
3286
3330
|
/**
|
|
3287
|
-
*
|
|
3331
|
+
* 产品ID
|
|
3288
3332
|
*/
|
|
3289
|
-
|
|
3333
|
+
ProductId: string;
|
|
3290
3334
|
/**
|
|
3291
|
-
*
|
|
3335
|
+
* 设备名称
|
|
3292
3336
|
*/
|
|
3293
|
-
|
|
3337
|
+
DeviceName: string;
|
|
3294
3338
|
/**
|
|
3295
|
-
*
|
|
3339
|
+
* 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
|
|
3296
3340
|
*/
|
|
3297
|
-
|
|
3341
|
+
ChannelId?: number;
|
|
3298
3342
|
/**
|
|
3299
|
-
*
|
|
3343
|
+
* 云存用户Id,为空则为默认云存空间。
|
|
3300
3344
|
*/
|
|
3301
|
-
|
|
3345
|
+
UserId?: string;
|
|
3302
3346
|
}
|
|
3303
3347
|
/**
|
|
3304
3348
|
* DescribeCloudStorageEventsWithAITasks请求参数结构体
|
|
@@ -5582,25 +5626,33 @@ export interface DescribeInstanceRequest {
|
|
|
5582
5626
|
ProductId?: string;
|
|
5583
5627
|
}
|
|
5584
5628
|
/**
|
|
5585
|
-
*
|
|
5629
|
+
* CreatePositionSpace请求参数结构体
|
|
5586
5630
|
*/
|
|
5587
|
-
export interface
|
|
5631
|
+
export interface CreatePositionSpaceRequest {
|
|
5588
5632
|
/**
|
|
5589
|
-
*
|
|
5633
|
+
* 项目ID
|
|
5590
5634
|
*/
|
|
5591
|
-
|
|
5635
|
+
ProjectId: string;
|
|
5592
5636
|
/**
|
|
5593
|
-
*
|
|
5637
|
+
* 空间名称
|
|
5594
5638
|
*/
|
|
5595
|
-
|
|
5639
|
+
SpaceName: string;
|
|
5596
5640
|
/**
|
|
5597
|
-
*
|
|
5641
|
+
* 授权类型,0:只读 1:读写
|
|
5598
5642
|
*/
|
|
5599
|
-
|
|
5643
|
+
AuthorizeType: number;
|
|
5600
5644
|
/**
|
|
5601
|
-
*
|
|
5645
|
+
* 产品列表
|
|
5602
5646
|
*/
|
|
5603
|
-
|
|
5647
|
+
ProductIdList: Array<string>;
|
|
5648
|
+
/**
|
|
5649
|
+
* 描述
|
|
5650
|
+
*/
|
|
5651
|
+
Description?: string;
|
|
5652
|
+
/**
|
|
5653
|
+
* 缩略图
|
|
5654
|
+
*/
|
|
5655
|
+
Icon?: string;
|
|
5604
5656
|
}
|
|
5605
5657
|
/**
|
|
5606
5658
|
* DeleteProject请求参数结构体
|
|
@@ -6813,6 +6865,128 @@ export interface DeleteFenceBindResponse {
|
|
|
6813
6865
|
*/
|
|
6814
6866
|
RequestId?: string;
|
|
6815
6867
|
}
|
|
6868
|
+
/**
|
|
6869
|
+
* 应用信息
|
|
6870
|
+
*/
|
|
6871
|
+
export interface IotApplication {
|
|
6872
|
+
/**
|
|
6873
|
+
* 应用 ID
|
|
6874
|
+
*/
|
|
6875
|
+
IotAppID?: string;
|
|
6876
|
+
/**
|
|
6877
|
+
* 应用名称
|
|
6878
|
+
*/
|
|
6879
|
+
AppName?: string;
|
|
6880
|
+
/**
|
|
6881
|
+
* 应用说明
|
|
6882
|
+
*/
|
|
6883
|
+
Description?: string;
|
|
6884
|
+
/**
|
|
6885
|
+
* 开发模式
|
|
6886
|
+
*/
|
|
6887
|
+
DevMode?: number;
|
|
6888
|
+
/**
|
|
6889
|
+
* iOS 平台 AppKey
|
|
6890
|
+
*/
|
|
6891
|
+
IOSAppKey?: string;
|
|
6892
|
+
/**
|
|
6893
|
+
* iOS 平台 AppSecret
|
|
6894
|
+
*/
|
|
6895
|
+
IOSAppSecret?: string;
|
|
6896
|
+
/**
|
|
6897
|
+
* Android 平台 AppKey
|
|
6898
|
+
*/
|
|
6899
|
+
AndroidAppKey?: string;
|
|
6900
|
+
/**
|
|
6901
|
+
* Android 平台 AppSecret
|
|
6902
|
+
*/
|
|
6903
|
+
AndroidAppSecret?: string;
|
|
6904
|
+
/**
|
|
6905
|
+
* 绑定的产品列表,数据为:ProdcutID 数组 JSON 序列化后的字符串
|
|
6906
|
+
*/
|
|
6907
|
+
Products?: string;
|
|
6908
|
+
/**
|
|
6909
|
+
* 创建时间
|
|
6910
|
+
*/
|
|
6911
|
+
CreateTime?: string;
|
|
6912
|
+
/**
|
|
6913
|
+
* 项目ID
|
|
6914
|
+
*/
|
|
6915
|
+
ProjectId?: string;
|
|
6916
|
+
/**
|
|
6917
|
+
* 信鸽推送APP ID
|
|
6918
|
+
*/
|
|
6919
|
+
PushSecretID?: string;
|
|
6920
|
+
/**
|
|
6921
|
+
* 信鸽推送SECRET KEY
|
|
6922
|
+
*/
|
|
6923
|
+
PushSecretKey?: string;
|
|
6924
|
+
/**
|
|
6925
|
+
* iOS平台推送环境
|
|
6926
|
+
*/
|
|
6927
|
+
PushEnvironment?: string;
|
|
6928
|
+
/**
|
|
6929
|
+
* 小程序平台 AppKey
|
|
6930
|
+
*/
|
|
6931
|
+
MiniProgramAppKey?: string;
|
|
6932
|
+
/**
|
|
6933
|
+
* 小程序平台 AppSecret
|
|
6934
|
+
*/
|
|
6935
|
+
MiniProgramAppSecret?: string;
|
|
6936
|
+
/**
|
|
6937
|
+
* TPNS服务iOS应用AccessID,TPNS全称为腾讯移动推送(Tencent Push Notification Service),详见:https://cloud.tencent.com/document/product/548
|
|
6938
|
+
*/
|
|
6939
|
+
TPNSiOSAccessID?: string;
|
|
6940
|
+
/**
|
|
6941
|
+
* TPNS服务iOS应用SecretKey
|
|
6942
|
+
*/
|
|
6943
|
+
TPNSiOSSecretKey?: string;
|
|
6944
|
+
/**
|
|
6945
|
+
* TPNS服务iOS应用推送环境
|
|
6946
|
+
*/
|
|
6947
|
+
TPNSiOSPushEnvironment?: string;
|
|
6948
|
+
/**
|
|
6949
|
+
* TPNS服务Android应用AccessID
|
|
6950
|
+
*/
|
|
6951
|
+
TPNSAndroidAccessID?: string;
|
|
6952
|
+
/**
|
|
6953
|
+
* TPNS服务Android应用SecretKey
|
|
6954
|
+
*/
|
|
6955
|
+
TPNSAndroidSecretKey?: string;
|
|
6956
|
+
/**
|
|
6957
|
+
* TPNS服务iOS应用所属地域,详细说明参见 ModifyApplication 同名入参。
|
|
6958
|
+
*/
|
|
6959
|
+
TPNSiOSRegion?: string;
|
|
6960
|
+
/**
|
|
6961
|
+
* TPNS服务Android应用所属地域,详细说明参见 ModifyApplication 同名入参。
|
|
6962
|
+
*/
|
|
6963
|
+
TPNSAndroidRegion?: string;
|
|
6964
|
+
/**
|
|
6965
|
+
* 自主短信配置APPID
|
|
6966
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6967
|
+
*/
|
|
6968
|
+
SelfSmsAppId?: string;
|
|
6969
|
+
/**
|
|
6970
|
+
* 自主短信配置APPKey
|
|
6971
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6972
|
+
*/
|
|
6973
|
+
SelfSmsAppKey?: string;
|
|
6974
|
+
/**
|
|
6975
|
+
* 自主短信配置签名
|
|
6976
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6977
|
+
*/
|
|
6978
|
+
SelfSmsSign?: string;
|
|
6979
|
+
/**
|
|
6980
|
+
* 自主短信配置模板ID
|
|
6981
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6982
|
+
*/
|
|
6983
|
+
SelfSmsTemplateId?: number;
|
|
6984
|
+
/**
|
|
6985
|
+
* 第三方小程序强提醒开关 0:关闭;1:开启
|
|
6986
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6987
|
+
*/
|
|
6988
|
+
WechatNotifyStatus?: number;
|
|
6989
|
+
}
|
|
6816
6990
|
/**
|
|
6817
6991
|
* PublishBroadcastMessage返回参数结构体
|
|
6818
6992
|
*/
|
|
@@ -7070,6 +7244,71 @@ export interface CreateCloudStorageAIServiceTaskResponse {
|
|
|
7070
7244
|
*/
|
|
7071
7245
|
RequestId?: string;
|
|
7072
7246
|
}
|
|
7247
|
+
/**
|
|
7248
|
+
* ModifyApplication请求参数结构体
|
|
7249
|
+
*/
|
|
7250
|
+
export interface ModifyApplicationRequest {
|
|
7251
|
+
/**
|
|
7252
|
+
* 应用ID
|
|
7253
|
+
*/
|
|
7254
|
+
IotAppID: string;
|
|
7255
|
+
/**
|
|
7256
|
+
* 应用名称
|
|
7257
|
+
*/
|
|
7258
|
+
AppName?: string;
|
|
7259
|
+
/**
|
|
7260
|
+
* 应用说明
|
|
7261
|
+
*/
|
|
7262
|
+
Description?: string;
|
|
7263
|
+
/**
|
|
7264
|
+
* 关联的产品
|
|
7265
|
+
*/
|
|
7266
|
+
Products?: string;
|
|
7267
|
+
/**
|
|
7268
|
+
* 信鸽推送APP ID
|
|
7269
|
+
*/
|
|
7270
|
+
PushSecretID?: string;
|
|
7271
|
+
/**
|
|
7272
|
+
* 信鸽推送SECRET KEY
|
|
7273
|
+
*/
|
|
7274
|
+
PushSecretKey?: string;
|
|
7275
|
+
/**
|
|
7276
|
+
* iOS平台推送环境
|
|
7277
|
+
*/
|
|
7278
|
+
PushEnvironment?: string;
|
|
7279
|
+
/**
|
|
7280
|
+
* TPNS服务iOS应用AccessID,TPNS全称为腾讯移动推送(Tencent Push Notification Service),详见:https://cloud.tencent.com/document/product/548
|
|
7281
|
+
*/
|
|
7282
|
+
TPNSiOSAccessID?: string;
|
|
7283
|
+
/**
|
|
7284
|
+
* TPNS服务iOS应用SecretKey
|
|
7285
|
+
*/
|
|
7286
|
+
TPNSiOSSecretKey?: string;
|
|
7287
|
+
/**
|
|
7288
|
+
* TPNS服务iOS应用推送环境
|
|
7289
|
+
*/
|
|
7290
|
+
TPNSiOSPushEnvironment?: string;
|
|
7291
|
+
/**
|
|
7292
|
+
* TPNS服务Android应用AccessID
|
|
7293
|
+
*/
|
|
7294
|
+
TPNSAndroidAccessID?: string;
|
|
7295
|
+
/**
|
|
7296
|
+
* TPNS服务Android应用SecretKey
|
|
7297
|
+
*/
|
|
7298
|
+
TPNSAndroidSecretKey?: string;
|
|
7299
|
+
/**
|
|
7300
|
+
* TPNS服务iOS应用所属地域,广州:ap-guangzhou,上海:ap-shanghai,中国香港:ap-hongkong,新加坡:ap-singapore。
|
|
7301
|
+
*/
|
|
7302
|
+
TPNSiOSRegion?: string;
|
|
7303
|
+
/**
|
|
7304
|
+
* TPNS服务Android应用所属地域,广州:ap-guangzhou,上海:ap-shanghai,中国香港:ap-hongkong,新加坡:ap-singapore。
|
|
7305
|
+
*/
|
|
7306
|
+
TPNSAndroidRegion?: string;
|
|
7307
|
+
/**
|
|
7308
|
+
* TurnKey小程序托管
|
|
7309
|
+
*/
|
|
7310
|
+
TurnKeySwitch?: number;
|
|
7311
|
+
}
|
|
7073
7312
|
/**
|
|
7074
7313
|
* DescribeCloudStorageDate返回参数结构体
|
|
7075
7314
|
*/
|
|
@@ -7282,6 +7521,19 @@ export interface DeleteStudioProductRequest {
|
|
|
7282
7521
|
*/
|
|
7283
7522
|
ProductId: string;
|
|
7284
7523
|
}
|
|
7524
|
+
/**
|
|
7525
|
+
* DescribeP2PRoute请求参数结构体
|
|
7526
|
+
*/
|
|
7527
|
+
export interface DescribeP2PRouteRequest {
|
|
7528
|
+
/**
|
|
7529
|
+
* 产品ID
|
|
7530
|
+
*/
|
|
7531
|
+
ProductId: string;
|
|
7532
|
+
/**
|
|
7533
|
+
* 设备名称
|
|
7534
|
+
*/
|
|
7535
|
+
DeviceName: string;
|
|
7536
|
+
}
|
|
7285
7537
|
/**
|
|
7286
7538
|
* GetDeviceSumStatistics请求参数结构体
|
|
7287
7539
|
*/
|