@alicloud/tdsr20200101 3.0.9 → 3.1.1
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/dist/client.d.ts +200 -3
- package/dist/client.js +382 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +471 -6
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -554,6 +554,84 @@ export class CheckUserPropertyResponse extends $tea.Model {
|
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
|
|
557
|
+
export class CopySceneRequest extends $tea.Model {
|
|
558
|
+
sceneId?: string;
|
|
559
|
+
sceneName?: string;
|
|
560
|
+
static names(): { [key: string]: string } {
|
|
561
|
+
return {
|
|
562
|
+
sceneId: 'SceneId',
|
|
563
|
+
sceneName: 'SceneName',
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
static types(): { [key: string]: any } {
|
|
568
|
+
return {
|
|
569
|
+
sceneId: 'string',
|
|
570
|
+
sceneName: 'string',
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
constructor(map?: { [key: string]: any }) {
|
|
575
|
+
super(map);
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export class CopySceneResponseBody extends $tea.Model {
|
|
580
|
+
code?: number;
|
|
581
|
+
data?: CopySceneResponseBodyData;
|
|
582
|
+
message?: string;
|
|
583
|
+
requestId?: string;
|
|
584
|
+
success?: boolean;
|
|
585
|
+
static names(): { [key: string]: string } {
|
|
586
|
+
return {
|
|
587
|
+
code: 'Code',
|
|
588
|
+
data: 'Data',
|
|
589
|
+
message: 'Message',
|
|
590
|
+
requestId: 'RequestId',
|
|
591
|
+
success: 'Success',
|
|
592
|
+
};
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
static types(): { [key: string]: any } {
|
|
596
|
+
return {
|
|
597
|
+
code: 'number',
|
|
598
|
+
data: CopySceneResponseBodyData,
|
|
599
|
+
message: 'string',
|
|
600
|
+
requestId: 'string',
|
|
601
|
+
success: 'boolean',
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
constructor(map?: { [key: string]: any }) {
|
|
606
|
+
super(map);
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
export class CopySceneResponse extends $tea.Model {
|
|
611
|
+
headers: { [key: string]: string };
|
|
612
|
+
statusCode: number;
|
|
613
|
+
body: CopySceneResponseBody;
|
|
614
|
+
static names(): { [key: string]: string } {
|
|
615
|
+
return {
|
|
616
|
+
headers: 'headers',
|
|
617
|
+
statusCode: 'statusCode',
|
|
618
|
+
body: 'body',
|
|
619
|
+
};
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
static types(): { [key: string]: any } {
|
|
623
|
+
return {
|
|
624
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
625
|
+
statusCode: 'number',
|
|
626
|
+
body: CopySceneResponseBody,
|
|
627
|
+
};
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
constructor(map?: { [key: string]: any }) {
|
|
631
|
+
super(map);
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
|
|
557
635
|
export class DetailProjectRequest extends $tea.Model {
|
|
558
636
|
id?: string;
|
|
559
637
|
static names(): { [key: string]: string } {
|
|
@@ -1154,6 +1232,81 @@ export class GetConnDataResponse extends $tea.Model {
|
|
|
1154
1232
|
}
|
|
1155
1233
|
}
|
|
1156
1234
|
|
|
1235
|
+
export class GetCopySceneTaskStatusRequest extends $tea.Model {
|
|
1236
|
+
taskId?: string;
|
|
1237
|
+
static names(): { [key: string]: string } {
|
|
1238
|
+
return {
|
|
1239
|
+
taskId: 'TaskId',
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
static types(): { [key: string]: any } {
|
|
1244
|
+
return {
|
|
1245
|
+
taskId: 'string',
|
|
1246
|
+
};
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
constructor(map?: { [key: string]: any }) {
|
|
1250
|
+
super(map);
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
export class GetCopySceneTaskStatusResponseBody extends $tea.Model {
|
|
1255
|
+
code?: number;
|
|
1256
|
+
data?: GetCopySceneTaskStatusResponseBodyData;
|
|
1257
|
+
message?: string;
|
|
1258
|
+
requestId?: string;
|
|
1259
|
+
success?: boolean;
|
|
1260
|
+
static names(): { [key: string]: string } {
|
|
1261
|
+
return {
|
|
1262
|
+
code: 'Code',
|
|
1263
|
+
data: 'Data',
|
|
1264
|
+
message: 'Message',
|
|
1265
|
+
requestId: 'RequestId',
|
|
1266
|
+
success: 'Success',
|
|
1267
|
+
};
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
static types(): { [key: string]: any } {
|
|
1271
|
+
return {
|
|
1272
|
+
code: 'number',
|
|
1273
|
+
data: GetCopySceneTaskStatusResponseBodyData,
|
|
1274
|
+
message: 'string',
|
|
1275
|
+
requestId: 'string',
|
|
1276
|
+
success: 'boolean',
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
constructor(map?: { [key: string]: any }) {
|
|
1281
|
+
super(map);
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
export class GetCopySceneTaskStatusResponse extends $tea.Model {
|
|
1286
|
+
headers: { [key: string]: string };
|
|
1287
|
+
statusCode: number;
|
|
1288
|
+
body: GetCopySceneTaskStatusResponseBody;
|
|
1289
|
+
static names(): { [key: string]: string } {
|
|
1290
|
+
return {
|
|
1291
|
+
headers: 'headers',
|
|
1292
|
+
statusCode: 'statusCode',
|
|
1293
|
+
body: 'body',
|
|
1294
|
+
};
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
static types(): { [key: string]: any } {
|
|
1298
|
+
return {
|
|
1299
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1300
|
+
statusCode: 'number',
|
|
1301
|
+
body: GetCopySceneTaskStatusResponseBody,
|
|
1302
|
+
};
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
constructor(map?: { [key: string]: any }) {
|
|
1306
|
+
super(map);
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1157
1310
|
export class GetHotspotConfigRequest extends $tea.Model {
|
|
1158
1311
|
domain?: string;
|
|
1159
1312
|
enabled?: boolean;
|
|
@@ -2518,18 +2671,30 @@ export class GetWindowConfigResponse extends $tea.Model {
|
|
|
2518
2671
|
|
|
2519
2672
|
export class LabelBuildRequest extends $tea.Model {
|
|
2520
2673
|
mode?: string;
|
|
2674
|
+
optimizeModelEffect?: string;
|
|
2675
|
+
optimizeWallWidth?: string;
|
|
2676
|
+
planStyle?: string;
|
|
2521
2677
|
sceneId?: string;
|
|
2678
|
+
wallHeight?: number;
|
|
2522
2679
|
static names(): { [key: string]: string } {
|
|
2523
2680
|
return {
|
|
2524
2681
|
mode: 'Mode',
|
|
2682
|
+
optimizeModelEffect: 'OptimizeModelEffect',
|
|
2683
|
+
optimizeWallWidth: 'OptimizeWallWidth',
|
|
2684
|
+
planStyle: 'PlanStyle',
|
|
2525
2685
|
sceneId: 'SceneId',
|
|
2686
|
+
wallHeight: 'WallHeight',
|
|
2526
2687
|
};
|
|
2527
2688
|
}
|
|
2528
2689
|
|
|
2529
2690
|
static types(): { [key: string]: any } {
|
|
2530
2691
|
return {
|
|
2531
2692
|
mode: 'string',
|
|
2693
|
+
optimizeModelEffect: 'string',
|
|
2694
|
+
optimizeWallWidth: 'string',
|
|
2695
|
+
planStyle: 'string',
|
|
2532
2696
|
sceneId: 'string',
|
|
2697
|
+
wallHeight: 'number',
|
|
2533
2698
|
};
|
|
2534
2699
|
}
|
|
2535
2700
|
|
|
@@ -2872,12 +3037,14 @@ export class ListSubSceneRequest extends $tea.Model {
|
|
|
2872
3037
|
pageSize?: number;
|
|
2873
3038
|
sceneId?: string;
|
|
2874
3039
|
showLayoutData?: boolean;
|
|
3040
|
+
sortField?: string;
|
|
2875
3041
|
static names(): { [key: string]: string } {
|
|
2876
3042
|
return {
|
|
2877
3043
|
pageNum: 'PageNum',
|
|
2878
3044
|
pageSize: 'PageSize',
|
|
2879
3045
|
sceneId: 'SceneId',
|
|
2880
3046
|
showLayoutData: 'ShowLayoutData',
|
|
3047
|
+
sortField: 'SortField',
|
|
2881
3048
|
};
|
|
2882
3049
|
}
|
|
2883
3050
|
|
|
@@ -2887,6 +3054,7 @@ export class ListSubSceneRequest extends $tea.Model {
|
|
|
2887
3054
|
pageSize: 'number',
|
|
2888
3055
|
sceneId: 'string',
|
|
2889
3056
|
showLayoutData: 'boolean',
|
|
3057
|
+
sortField: 'string',
|
|
2890
3058
|
};
|
|
2891
3059
|
}
|
|
2892
3060
|
|
|
@@ -4493,10 +4661,12 @@ export class UpdateSceneResponse extends $tea.Model {
|
|
|
4493
4661
|
export class UpdateSubSceneRequest extends $tea.Model {
|
|
4494
4662
|
id?: string;
|
|
4495
4663
|
name?: string;
|
|
4664
|
+
viewPoint?: number[];
|
|
4496
4665
|
static names(): { [key: string]: string } {
|
|
4497
4666
|
return {
|
|
4498
4667
|
id: 'Id',
|
|
4499
4668
|
name: 'Name',
|
|
4669
|
+
viewPoint: 'ViewPoint',
|
|
4500
4670
|
};
|
|
4501
4671
|
}
|
|
4502
4672
|
|
|
@@ -4504,6 +4674,32 @@ export class UpdateSubSceneRequest extends $tea.Model {
|
|
|
4504
4674
|
return {
|
|
4505
4675
|
id: 'string',
|
|
4506
4676
|
name: 'string',
|
|
4677
|
+
viewPoint: { 'type': 'array', 'itemType': 'number' },
|
|
4678
|
+
};
|
|
4679
|
+
}
|
|
4680
|
+
|
|
4681
|
+
constructor(map?: { [key: string]: any }) {
|
|
4682
|
+
super(map);
|
|
4683
|
+
}
|
|
4684
|
+
}
|
|
4685
|
+
|
|
4686
|
+
export class UpdateSubSceneShrinkRequest extends $tea.Model {
|
|
4687
|
+
id?: string;
|
|
4688
|
+
name?: string;
|
|
4689
|
+
viewPointShrink?: string;
|
|
4690
|
+
static names(): { [key: string]: string } {
|
|
4691
|
+
return {
|
|
4692
|
+
id: 'Id',
|
|
4693
|
+
name: 'Name',
|
|
4694
|
+
viewPointShrink: 'ViewPoint',
|
|
4695
|
+
};
|
|
4696
|
+
}
|
|
4697
|
+
|
|
4698
|
+
static types(): { [key: string]: any } {
|
|
4699
|
+
return {
|
|
4700
|
+
id: 'string',
|
|
4701
|
+
name: 'string',
|
|
4702
|
+
viewPointShrink: 'string',
|
|
4507
4703
|
};
|
|
4508
4704
|
}
|
|
4509
4705
|
|
|
@@ -4565,6 +4761,103 @@ export class UpdateSubSceneResponse extends $tea.Model {
|
|
|
4565
4761
|
}
|
|
4566
4762
|
}
|
|
4567
4763
|
|
|
4764
|
+
export class UpdateSubSceneSeqRequest extends $tea.Model {
|
|
4765
|
+
sceneId?: string;
|
|
4766
|
+
sortSubSceneIds?: string[];
|
|
4767
|
+
static names(): { [key: string]: string } {
|
|
4768
|
+
return {
|
|
4769
|
+
sceneId: 'SceneId',
|
|
4770
|
+
sortSubSceneIds: 'SortSubSceneIds',
|
|
4771
|
+
};
|
|
4772
|
+
}
|
|
4773
|
+
|
|
4774
|
+
static types(): { [key: string]: any } {
|
|
4775
|
+
return {
|
|
4776
|
+
sceneId: 'string',
|
|
4777
|
+
sortSubSceneIds: { 'type': 'array', 'itemType': 'string' },
|
|
4778
|
+
};
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4781
|
+
constructor(map?: { [key: string]: any }) {
|
|
4782
|
+
super(map);
|
|
4783
|
+
}
|
|
4784
|
+
}
|
|
4785
|
+
|
|
4786
|
+
export class UpdateSubSceneSeqShrinkRequest extends $tea.Model {
|
|
4787
|
+
sceneId?: string;
|
|
4788
|
+
sortSubSceneIdsShrink?: string;
|
|
4789
|
+
static names(): { [key: string]: string } {
|
|
4790
|
+
return {
|
|
4791
|
+
sceneId: 'SceneId',
|
|
4792
|
+
sortSubSceneIdsShrink: 'SortSubSceneIds',
|
|
4793
|
+
};
|
|
4794
|
+
}
|
|
4795
|
+
|
|
4796
|
+
static types(): { [key: string]: any } {
|
|
4797
|
+
return {
|
|
4798
|
+
sceneId: 'string',
|
|
4799
|
+
sortSubSceneIdsShrink: 'string',
|
|
4800
|
+
};
|
|
4801
|
+
}
|
|
4802
|
+
|
|
4803
|
+
constructor(map?: { [key: string]: any }) {
|
|
4804
|
+
super(map);
|
|
4805
|
+
}
|
|
4806
|
+
}
|
|
4807
|
+
|
|
4808
|
+
export class UpdateSubSceneSeqResponseBody extends $tea.Model {
|
|
4809
|
+
code?: number;
|
|
4810
|
+
message?: string;
|
|
4811
|
+
requestId?: string;
|
|
4812
|
+
success?: boolean;
|
|
4813
|
+
static names(): { [key: string]: string } {
|
|
4814
|
+
return {
|
|
4815
|
+
code: 'Code',
|
|
4816
|
+
message: 'Message',
|
|
4817
|
+
requestId: 'RequestId',
|
|
4818
|
+
success: 'Success',
|
|
4819
|
+
};
|
|
4820
|
+
}
|
|
4821
|
+
|
|
4822
|
+
static types(): { [key: string]: any } {
|
|
4823
|
+
return {
|
|
4824
|
+
code: 'number',
|
|
4825
|
+
message: 'string',
|
|
4826
|
+
requestId: 'string',
|
|
4827
|
+
success: 'boolean',
|
|
4828
|
+
};
|
|
4829
|
+
}
|
|
4830
|
+
|
|
4831
|
+
constructor(map?: { [key: string]: any }) {
|
|
4832
|
+
super(map);
|
|
4833
|
+
}
|
|
4834
|
+
}
|
|
4835
|
+
|
|
4836
|
+
export class UpdateSubSceneSeqResponse extends $tea.Model {
|
|
4837
|
+
headers: { [key: string]: string };
|
|
4838
|
+
statusCode: number;
|
|
4839
|
+
body: UpdateSubSceneSeqResponseBody;
|
|
4840
|
+
static names(): { [key: string]: string } {
|
|
4841
|
+
return {
|
|
4842
|
+
headers: 'headers',
|
|
4843
|
+
statusCode: 'statusCode',
|
|
4844
|
+
body: 'body',
|
|
4845
|
+
};
|
|
4846
|
+
}
|
|
4847
|
+
|
|
4848
|
+
static types(): { [key: string]: any } {
|
|
4849
|
+
return {
|
|
4850
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4851
|
+
statusCode: 'number',
|
|
4852
|
+
body: UpdateSubSceneSeqResponseBody,
|
|
4853
|
+
};
|
|
4854
|
+
}
|
|
4855
|
+
|
|
4856
|
+
constructor(map?: { [key: string]: any }) {
|
|
4857
|
+
super(map);
|
|
4858
|
+
}
|
|
4859
|
+
}
|
|
4860
|
+
|
|
4568
4861
|
export class AddRoomPlanResponseBodyData extends $tea.Model {
|
|
4569
4862
|
accessId?: string;
|
|
4570
4863
|
callback?: string;
|
|
@@ -4602,6 +4895,25 @@ export class AddRoomPlanResponseBodyData extends $tea.Model {
|
|
|
4602
4895
|
}
|
|
4603
4896
|
}
|
|
4604
4897
|
|
|
4898
|
+
export class CopySceneResponseBodyData extends $tea.Model {
|
|
4899
|
+
taskId?: string;
|
|
4900
|
+
static names(): { [key: string]: string } {
|
|
4901
|
+
return {
|
|
4902
|
+
taskId: 'TaskId',
|
|
4903
|
+
};
|
|
4904
|
+
}
|
|
4905
|
+
|
|
4906
|
+
static types(): { [key: string]: any } {
|
|
4907
|
+
return {
|
|
4908
|
+
taskId: 'string',
|
|
4909
|
+
};
|
|
4910
|
+
}
|
|
4911
|
+
|
|
4912
|
+
constructor(map?: { [key: string]: any }) {
|
|
4913
|
+
super(map);
|
|
4914
|
+
}
|
|
4915
|
+
}
|
|
4916
|
+
|
|
4605
4917
|
export class GetConnDataResponseBodyList extends $tea.Model {
|
|
4606
4918
|
id?: string;
|
|
4607
4919
|
mapId?: string;
|
|
@@ -4627,6 +4939,28 @@ export class GetConnDataResponseBodyList extends $tea.Model {
|
|
|
4627
4939
|
}
|
|
4628
4940
|
}
|
|
4629
4941
|
|
|
4942
|
+
export class GetCopySceneTaskStatusResponseBodyData extends $tea.Model {
|
|
4943
|
+
progress?: number;
|
|
4944
|
+
status?: string;
|
|
4945
|
+
static names(): { [key: string]: string } {
|
|
4946
|
+
return {
|
|
4947
|
+
progress: 'Progress',
|
|
4948
|
+
status: 'Status',
|
|
4949
|
+
};
|
|
4950
|
+
}
|
|
4951
|
+
|
|
4952
|
+
static types(): { [key: string]: any } {
|
|
4953
|
+
return {
|
|
4954
|
+
progress: 'number',
|
|
4955
|
+
status: 'string',
|
|
4956
|
+
};
|
|
4957
|
+
}
|
|
4958
|
+
|
|
4959
|
+
constructor(map?: { [key: string]: any }) {
|
|
4960
|
+
super(map);
|
|
4961
|
+
}
|
|
4962
|
+
}
|
|
4963
|
+
|
|
4630
4964
|
export class GetHotspotSceneDataResponseBodyData extends $tea.Model {
|
|
4631
4965
|
modelToken?: string;
|
|
4632
4966
|
previewData?: string;
|
|
@@ -4656,7 +4990,7 @@ export class GetHotspotSceneDataResponseBodyData extends $tea.Model {
|
|
|
4656
4990
|
}
|
|
4657
4991
|
|
|
4658
4992
|
export class GetPackSceneTaskStatusResponseBodyData extends $tea.Model {
|
|
4659
|
-
progress?:
|
|
4993
|
+
progress?: number;
|
|
4660
4994
|
status?: string;
|
|
4661
4995
|
static names(): { [key: string]: string } {
|
|
4662
4996
|
return {
|
|
@@ -4667,7 +5001,7 @@ export class GetPackSceneTaskStatusResponseBodyData extends $tea.Model {
|
|
|
4667
5001
|
|
|
4668
5002
|
static types(): { [key: string]: any } {
|
|
4669
5003
|
return {
|
|
4670
|
-
progress: '
|
|
5004
|
+
progress: 'number',
|
|
4671
5005
|
status: 'string',
|
|
4672
5006
|
};
|
|
4673
5007
|
}
|
|
@@ -4680,7 +5014,7 @@ export class GetPackSceneTaskStatusResponseBodyData extends $tea.Model {
|
|
|
4680
5014
|
export class GetScenePackUrlResponseBodyData extends $tea.Model {
|
|
4681
5015
|
expire?: string;
|
|
4682
5016
|
url?: string;
|
|
4683
|
-
valid?:
|
|
5017
|
+
valid?: boolean;
|
|
4684
5018
|
static names(): { [key: string]: string } {
|
|
4685
5019
|
return {
|
|
4686
5020
|
expire: 'Expire',
|
|
@@ -4693,7 +5027,7 @@ export class GetScenePackUrlResponseBodyData extends $tea.Model {
|
|
|
4693
5027
|
return {
|
|
4694
5028
|
expire: 'string',
|
|
4695
5029
|
url: 'string',
|
|
4696
|
-
valid: '
|
|
5030
|
+
valid: 'boolean',
|
|
4697
5031
|
};
|
|
4698
5032
|
}
|
|
4699
5033
|
|
|
@@ -5513,6 +5847,39 @@ export default class Client extends OpenApi {
|
|
|
5513
5847
|
return await this.checkUserPropertyWithOptions(request, runtime);
|
|
5514
5848
|
}
|
|
5515
5849
|
|
|
5850
|
+
async copySceneWithOptions(request: CopySceneRequest, runtime: $Util.RuntimeOptions): Promise<CopySceneResponse> {
|
|
5851
|
+
Util.validateModel(request);
|
|
5852
|
+
let query = { };
|
|
5853
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
5854
|
+
query["SceneId"] = request.sceneId;
|
|
5855
|
+
}
|
|
5856
|
+
|
|
5857
|
+
if (!Util.isUnset(request.sceneName)) {
|
|
5858
|
+
query["SceneName"] = request.sceneName;
|
|
5859
|
+
}
|
|
5860
|
+
|
|
5861
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5862
|
+
query: OpenApiUtil.query(query),
|
|
5863
|
+
});
|
|
5864
|
+
let params = new $OpenApi.Params({
|
|
5865
|
+
action: "CopyScene",
|
|
5866
|
+
version: "2020-01-01",
|
|
5867
|
+
protocol: "HTTPS",
|
|
5868
|
+
pathname: "/",
|
|
5869
|
+
method: "POST",
|
|
5870
|
+
authType: "AK",
|
|
5871
|
+
style: "RPC",
|
|
5872
|
+
reqBodyType: "formData",
|
|
5873
|
+
bodyType: "json",
|
|
5874
|
+
});
|
|
5875
|
+
return $tea.cast<CopySceneResponse>(await this.callApi(params, req, runtime), new CopySceneResponse({}));
|
|
5876
|
+
}
|
|
5877
|
+
|
|
5878
|
+
async copyScene(request: CopySceneRequest): Promise<CopySceneResponse> {
|
|
5879
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5880
|
+
return await this.copySceneWithOptions(request, runtime);
|
|
5881
|
+
}
|
|
5882
|
+
|
|
5516
5883
|
async detailProjectWithOptions(request: DetailProjectRequest, runtime: $Util.RuntimeOptions): Promise<DetailProjectResponse> {
|
|
5517
5884
|
Util.validateModel(request);
|
|
5518
5885
|
let query = { };
|
|
@@ -5716,6 +6083,35 @@ export default class Client extends OpenApi {
|
|
|
5716
6083
|
return await this.getConnDataWithOptions(request, runtime);
|
|
5717
6084
|
}
|
|
5718
6085
|
|
|
6086
|
+
async getCopySceneTaskStatusWithOptions(request: GetCopySceneTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetCopySceneTaskStatusResponse> {
|
|
6087
|
+
Util.validateModel(request);
|
|
6088
|
+
let query = { };
|
|
6089
|
+
if (!Util.isUnset(request.taskId)) {
|
|
6090
|
+
query["TaskId"] = request.taskId;
|
|
6091
|
+
}
|
|
6092
|
+
|
|
6093
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6094
|
+
query: OpenApiUtil.query(query),
|
|
6095
|
+
});
|
|
6096
|
+
let params = new $OpenApi.Params({
|
|
6097
|
+
action: "GetCopySceneTaskStatus",
|
|
6098
|
+
version: "2020-01-01",
|
|
6099
|
+
protocol: "HTTPS",
|
|
6100
|
+
pathname: "/",
|
|
6101
|
+
method: "POST",
|
|
6102
|
+
authType: "AK",
|
|
6103
|
+
style: "RPC",
|
|
6104
|
+
reqBodyType: "formData",
|
|
6105
|
+
bodyType: "json",
|
|
6106
|
+
});
|
|
6107
|
+
return $tea.cast<GetCopySceneTaskStatusResponse>(await this.callApi(params, req, runtime), new GetCopySceneTaskStatusResponse({}));
|
|
6108
|
+
}
|
|
6109
|
+
|
|
6110
|
+
async getCopySceneTaskStatus(request: GetCopySceneTaskStatusRequest): Promise<GetCopySceneTaskStatusResponse> {
|
|
6111
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6112
|
+
return await this.getCopySceneTaskStatusWithOptions(request, runtime);
|
|
6113
|
+
}
|
|
6114
|
+
|
|
5719
6115
|
async getHotspotConfigWithOptions(request: GetHotspotConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetHotspotConfigResponse> {
|
|
5720
6116
|
Util.validateModel(request);
|
|
5721
6117
|
let query = { };
|
|
@@ -6280,10 +6676,26 @@ export default class Client extends OpenApi {
|
|
|
6280
6676
|
query["Mode"] = request.mode;
|
|
6281
6677
|
}
|
|
6282
6678
|
|
|
6679
|
+
if (!Util.isUnset(request.optimizeModelEffect)) {
|
|
6680
|
+
query["OptimizeModelEffect"] = request.optimizeModelEffect;
|
|
6681
|
+
}
|
|
6682
|
+
|
|
6683
|
+
if (!Util.isUnset(request.optimizeWallWidth)) {
|
|
6684
|
+
query["OptimizeWallWidth"] = request.optimizeWallWidth;
|
|
6685
|
+
}
|
|
6686
|
+
|
|
6687
|
+
if (!Util.isUnset(request.planStyle)) {
|
|
6688
|
+
query["PlanStyle"] = request.planStyle;
|
|
6689
|
+
}
|
|
6690
|
+
|
|
6283
6691
|
if (!Util.isUnset(request.sceneId)) {
|
|
6284
6692
|
query["SceneId"] = request.sceneId;
|
|
6285
6693
|
}
|
|
6286
6694
|
|
|
6695
|
+
if (!Util.isUnset(request.wallHeight)) {
|
|
6696
|
+
query["WallHeight"] = request.wallHeight;
|
|
6697
|
+
}
|
|
6698
|
+
|
|
6287
6699
|
let req = new $OpenApi.OpenApiRequest({
|
|
6288
6700
|
query: OpenApiUtil.query(query),
|
|
6289
6701
|
});
|
|
@@ -6444,6 +6856,10 @@ export default class Client extends OpenApi {
|
|
|
6444
6856
|
query["ShowLayoutData"] = request.showLayoutData;
|
|
6445
6857
|
}
|
|
6446
6858
|
|
|
6859
|
+
if (!Util.isUnset(request.sortField)) {
|
|
6860
|
+
query["SortField"] = request.sortField;
|
|
6861
|
+
}
|
|
6862
|
+
|
|
6447
6863
|
let req = new $OpenApi.OpenApiRequest({
|
|
6448
6864
|
query: OpenApiUtil.query(query),
|
|
6449
6865
|
});
|
|
@@ -7114,8 +7530,14 @@ export default class Client extends OpenApi {
|
|
|
7114
7530
|
return await this.updateSceneWithOptions(request, runtime);
|
|
7115
7531
|
}
|
|
7116
7532
|
|
|
7117
|
-
async updateSubSceneWithOptions(
|
|
7118
|
-
Util.validateModel(
|
|
7533
|
+
async updateSubSceneWithOptions(tmpReq: UpdateSubSceneRequest, runtime: $Util.RuntimeOptions): Promise<UpdateSubSceneResponse> {
|
|
7534
|
+
Util.validateModel(tmpReq);
|
|
7535
|
+
let request = new UpdateSubSceneShrinkRequest({ });
|
|
7536
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
7537
|
+
if (!Util.isUnset(tmpReq.viewPoint)) {
|
|
7538
|
+
request.viewPointShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.viewPoint, "ViewPoint", "json");
|
|
7539
|
+
}
|
|
7540
|
+
|
|
7119
7541
|
let query = { };
|
|
7120
7542
|
if (!Util.isUnset(request.id)) {
|
|
7121
7543
|
query["Id"] = request.id;
|
|
@@ -7125,6 +7547,10 @@ export default class Client extends OpenApi {
|
|
|
7125
7547
|
query["Name"] = request.name;
|
|
7126
7548
|
}
|
|
7127
7549
|
|
|
7550
|
+
if (!Util.isUnset(request.viewPointShrink)) {
|
|
7551
|
+
query["ViewPoint"] = request.viewPointShrink;
|
|
7552
|
+
}
|
|
7553
|
+
|
|
7128
7554
|
let req = new $OpenApi.OpenApiRequest({
|
|
7129
7555
|
query: OpenApiUtil.query(query),
|
|
7130
7556
|
});
|
|
@@ -7147,4 +7573,43 @@ export default class Client extends OpenApi {
|
|
|
7147
7573
|
return await this.updateSubSceneWithOptions(request, runtime);
|
|
7148
7574
|
}
|
|
7149
7575
|
|
|
7576
|
+
async updateSubSceneSeqWithOptions(tmpReq: UpdateSubSceneSeqRequest, runtime: $Util.RuntimeOptions): Promise<UpdateSubSceneSeqResponse> {
|
|
7577
|
+
Util.validateModel(tmpReq);
|
|
7578
|
+
let request = new UpdateSubSceneSeqShrinkRequest({ });
|
|
7579
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
7580
|
+
if (!Util.isUnset(tmpReq.sortSubSceneIds)) {
|
|
7581
|
+
request.sortSubSceneIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sortSubSceneIds, "SortSubSceneIds", "json");
|
|
7582
|
+
}
|
|
7583
|
+
|
|
7584
|
+
let query = { };
|
|
7585
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
7586
|
+
query["SceneId"] = request.sceneId;
|
|
7587
|
+
}
|
|
7588
|
+
|
|
7589
|
+
if (!Util.isUnset(request.sortSubSceneIdsShrink)) {
|
|
7590
|
+
query["SortSubSceneIds"] = request.sortSubSceneIdsShrink;
|
|
7591
|
+
}
|
|
7592
|
+
|
|
7593
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7594
|
+
query: OpenApiUtil.query(query),
|
|
7595
|
+
});
|
|
7596
|
+
let params = new $OpenApi.Params({
|
|
7597
|
+
action: "UpdateSubSceneSeq",
|
|
7598
|
+
version: "2020-01-01",
|
|
7599
|
+
protocol: "HTTPS",
|
|
7600
|
+
pathname: "/",
|
|
7601
|
+
method: "POST",
|
|
7602
|
+
authType: "AK",
|
|
7603
|
+
style: "RPC",
|
|
7604
|
+
reqBodyType: "formData",
|
|
7605
|
+
bodyType: "json",
|
|
7606
|
+
});
|
|
7607
|
+
return $tea.cast<UpdateSubSceneSeqResponse>(await this.callApi(params, req, runtime), new UpdateSubSceneSeqResponse({}));
|
|
7608
|
+
}
|
|
7609
|
+
|
|
7610
|
+
async updateSubSceneSeq(request: UpdateSubSceneSeqRequest): Promise<UpdateSubSceneSeqResponse> {
|
|
7611
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7612
|
+
return await this.updateSubSceneSeqWithOptions(request, runtime);
|
|
7613
|
+
}
|
|
7614
|
+
|
|
7150
7615
|
}
|