@alicloud/tdsr20200101 3.0.10 → 3.1.2
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 +317 -1
- package/dist/client.js +590 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +736 -16
package/dist/client.js
CHANGED
|
@@ -453,6 +453,68 @@ class CheckUserPropertyResponse extends $tea.Model {
|
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
exports.CheckUserPropertyResponse = CheckUserPropertyResponse;
|
|
456
|
+
class CopySceneRequest extends $tea.Model {
|
|
457
|
+
constructor(map) {
|
|
458
|
+
super(map);
|
|
459
|
+
}
|
|
460
|
+
static names() {
|
|
461
|
+
return {
|
|
462
|
+
sceneId: 'SceneId',
|
|
463
|
+
sceneName: 'SceneName',
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
static types() {
|
|
467
|
+
return {
|
|
468
|
+
sceneId: 'string',
|
|
469
|
+
sceneName: 'string',
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
exports.CopySceneRequest = CopySceneRequest;
|
|
474
|
+
class CopySceneResponseBody extends $tea.Model {
|
|
475
|
+
constructor(map) {
|
|
476
|
+
super(map);
|
|
477
|
+
}
|
|
478
|
+
static names() {
|
|
479
|
+
return {
|
|
480
|
+
code: 'Code',
|
|
481
|
+
data: 'Data',
|
|
482
|
+
message: 'Message',
|
|
483
|
+
requestId: 'RequestId',
|
|
484
|
+
success: 'Success',
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
static types() {
|
|
488
|
+
return {
|
|
489
|
+
code: 'number',
|
|
490
|
+
data: CopySceneResponseBodyData,
|
|
491
|
+
message: 'string',
|
|
492
|
+
requestId: 'string',
|
|
493
|
+
success: 'boolean',
|
|
494
|
+
};
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
exports.CopySceneResponseBody = CopySceneResponseBody;
|
|
498
|
+
class CopySceneResponse extends $tea.Model {
|
|
499
|
+
constructor(map) {
|
|
500
|
+
super(map);
|
|
501
|
+
}
|
|
502
|
+
static names() {
|
|
503
|
+
return {
|
|
504
|
+
headers: 'headers',
|
|
505
|
+
statusCode: 'statusCode',
|
|
506
|
+
body: 'body',
|
|
507
|
+
};
|
|
508
|
+
}
|
|
509
|
+
static types() {
|
|
510
|
+
return {
|
|
511
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
512
|
+
statusCode: 'number',
|
|
513
|
+
body: CopySceneResponseBody,
|
|
514
|
+
};
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
exports.CopySceneResponse = CopySceneResponse;
|
|
456
518
|
class DetailProjectRequest extends $tea.Model {
|
|
457
519
|
constructor(map) {
|
|
458
520
|
super(map);
|
|
@@ -923,6 +985,66 @@ class GetConnDataResponse extends $tea.Model {
|
|
|
923
985
|
}
|
|
924
986
|
}
|
|
925
987
|
exports.GetConnDataResponse = GetConnDataResponse;
|
|
988
|
+
class GetCopySceneTaskStatusRequest extends $tea.Model {
|
|
989
|
+
constructor(map) {
|
|
990
|
+
super(map);
|
|
991
|
+
}
|
|
992
|
+
static names() {
|
|
993
|
+
return {
|
|
994
|
+
taskId: 'TaskId',
|
|
995
|
+
};
|
|
996
|
+
}
|
|
997
|
+
static types() {
|
|
998
|
+
return {
|
|
999
|
+
taskId: 'string',
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
exports.GetCopySceneTaskStatusRequest = GetCopySceneTaskStatusRequest;
|
|
1004
|
+
class GetCopySceneTaskStatusResponseBody extends $tea.Model {
|
|
1005
|
+
constructor(map) {
|
|
1006
|
+
super(map);
|
|
1007
|
+
}
|
|
1008
|
+
static names() {
|
|
1009
|
+
return {
|
|
1010
|
+
code: 'Code',
|
|
1011
|
+
data: 'Data',
|
|
1012
|
+
message: 'Message',
|
|
1013
|
+
requestId: 'RequestId',
|
|
1014
|
+
success: 'Success',
|
|
1015
|
+
};
|
|
1016
|
+
}
|
|
1017
|
+
static types() {
|
|
1018
|
+
return {
|
|
1019
|
+
code: 'number',
|
|
1020
|
+
data: GetCopySceneTaskStatusResponseBodyData,
|
|
1021
|
+
message: 'string',
|
|
1022
|
+
requestId: 'string',
|
|
1023
|
+
success: 'boolean',
|
|
1024
|
+
};
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
exports.GetCopySceneTaskStatusResponseBody = GetCopySceneTaskStatusResponseBody;
|
|
1028
|
+
class GetCopySceneTaskStatusResponse extends $tea.Model {
|
|
1029
|
+
constructor(map) {
|
|
1030
|
+
super(map);
|
|
1031
|
+
}
|
|
1032
|
+
static names() {
|
|
1033
|
+
return {
|
|
1034
|
+
headers: 'headers',
|
|
1035
|
+
statusCode: 'statusCode',
|
|
1036
|
+
body: 'body',
|
|
1037
|
+
};
|
|
1038
|
+
}
|
|
1039
|
+
static types() {
|
|
1040
|
+
return {
|
|
1041
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1042
|
+
statusCode: 'number',
|
|
1043
|
+
body: GetCopySceneTaskStatusResponseBody,
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
exports.GetCopySceneTaskStatusResponse = GetCopySceneTaskStatusResponse;
|
|
926
1048
|
class GetHotspotConfigRequest extends $tea.Model {
|
|
927
1049
|
constructor(map) {
|
|
928
1050
|
super(map);
|
|
@@ -1815,6 +1937,68 @@ class GetSingleConnDataResponse extends $tea.Model {
|
|
|
1815
1937
|
}
|
|
1816
1938
|
}
|
|
1817
1939
|
exports.GetSingleConnDataResponse = GetSingleConnDataResponse;
|
|
1940
|
+
class GetSourcePackStatusRequest extends $tea.Model {
|
|
1941
|
+
constructor(map) {
|
|
1942
|
+
super(map);
|
|
1943
|
+
}
|
|
1944
|
+
static names() {
|
|
1945
|
+
return {
|
|
1946
|
+
taskId: 'TaskId',
|
|
1947
|
+
};
|
|
1948
|
+
}
|
|
1949
|
+
static types() {
|
|
1950
|
+
return {
|
|
1951
|
+
taskId: 'string',
|
|
1952
|
+
};
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
exports.GetSourcePackStatusRequest = GetSourcePackStatusRequest;
|
|
1956
|
+
class GetSourcePackStatusResponseBody extends $tea.Model {
|
|
1957
|
+
constructor(map) {
|
|
1958
|
+
super(map);
|
|
1959
|
+
}
|
|
1960
|
+
static names() {
|
|
1961
|
+
return {
|
|
1962
|
+
code: 'Code',
|
|
1963
|
+
data: 'Data',
|
|
1964
|
+
message: 'Message',
|
|
1965
|
+
requestId: 'RequestId',
|
|
1966
|
+
success: 'Success',
|
|
1967
|
+
url: 'Url',
|
|
1968
|
+
};
|
|
1969
|
+
}
|
|
1970
|
+
static types() {
|
|
1971
|
+
return {
|
|
1972
|
+
code: 'number',
|
|
1973
|
+
data: GetSourcePackStatusResponseBodyData,
|
|
1974
|
+
message: 'string',
|
|
1975
|
+
requestId: 'string',
|
|
1976
|
+
success: 'boolean',
|
|
1977
|
+
url: 'string',
|
|
1978
|
+
};
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
exports.GetSourcePackStatusResponseBody = GetSourcePackStatusResponseBody;
|
|
1982
|
+
class GetSourcePackStatusResponse extends $tea.Model {
|
|
1983
|
+
constructor(map) {
|
|
1984
|
+
super(map);
|
|
1985
|
+
}
|
|
1986
|
+
static names() {
|
|
1987
|
+
return {
|
|
1988
|
+
headers: 'headers',
|
|
1989
|
+
statusCode: 'statusCode',
|
|
1990
|
+
body: 'body',
|
|
1991
|
+
};
|
|
1992
|
+
}
|
|
1993
|
+
static types() {
|
|
1994
|
+
return {
|
|
1995
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1996
|
+
statusCode: 'number',
|
|
1997
|
+
body: GetSourcePackStatusResponseBody,
|
|
1998
|
+
};
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
exports.GetSourcePackStatusResponse = GetSourcePackStatusResponse;
|
|
1818
2002
|
class GetSubSceneTaskStatusRequest extends $tea.Model {
|
|
1819
2003
|
constructor(map) {
|
|
1820
2004
|
super(map);
|
|
@@ -2008,13 +2192,21 @@ class LabelBuildRequest extends $tea.Model {
|
|
|
2008
2192
|
static names() {
|
|
2009
2193
|
return {
|
|
2010
2194
|
mode: 'Mode',
|
|
2195
|
+
modelStyle: 'ModelStyle',
|
|
2196
|
+
optimizeWallWidth: 'OptimizeWallWidth',
|
|
2197
|
+
planStyle: 'PlanStyle',
|
|
2011
2198
|
sceneId: 'SceneId',
|
|
2199
|
+
wallHeight: 'WallHeight',
|
|
2012
2200
|
};
|
|
2013
2201
|
}
|
|
2014
2202
|
static types() {
|
|
2015
2203
|
return {
|
|
2016
2204
|
mode: 'string',
|
|
2205
|
+
modelStyle: 'string',
|
|
2206
|
+
optimizeWallWidth: 'string',
|
|
2207
|
+
planStyle: 'string',
|
|
2017
2208
|
sceneId: 'string',
|
|
2209
|
+
wallHeight: 'number',
|
|
2018
2210
|
};
|
|
2019
2211
|
}
|
|
2020
2212
|
}
|
|
@@ -2285,6 +2477,7 @@ class ListSubSceneRequest extends $tea.Model {
|
|
|
2285
2477
|
pageSize: 'PageSize',
|
|
2286
2478
|
sceneId: 'SceneId',
|
|
2287
2479
|
showLayoutData: 'ShowLayoutData',
|
|
2480
|
+
sortField: 'SortField',
|
|
2288
2481
|
};
|
|
2289
2482
|
}
|
|
2290
2483
|
static types() {
|
|
@@ -2293,6 +2486,7 @@ class ListSubSceneRequest extends $tea.Model {
|
|
|
2293
2486
|
pageSize: 'number',
|
|
2294
2487
|
sceneId: 'string',
|
|
2295
2488
|
showLayoutData: 'boolean',
|
|
2489
|
+
sortField: 'string',
|
|
2296
2490
|
};
|
|
2297
2491
|
}
|
|
2298
2492
|
}
|
|
@@ -2471,6 +2665,66 @@ class PackSceneResponse extends $tea.Model {
|
|
|
2471
2665
|
}
|
|
2472
2666
|
}
|
|
2473
2667
|
exports.PackSceneResponse = PackSceneResponse;
|
|
2668
|
+
class PackSourceRequest extends $tea.Model {
|
|
2669
|
+
constructor(map) {
|
|
2670
|
+
super(map);
|
|
2671
|
+
}
|
|
2672
|
+
static names() {
|
|
2673
|
+
return {
|
|
2674
|
+
sceneId: 'SceneId',
|
|
2675
|
+
};
|
|
2676
|
+
}
|
|
2677
|
+
static types() {
|
|
2678
|
+
return {
|
|
2679
|
+
sceneId: 'string',
|
|
2680
|
+
};
|
|
2681
|
+
}
|
|
2682
|
+
}
|
|
2683
|
+
exports.PackSourceRequest = PackSourceRequest;
|
|
2684
|
+
class PackSourceResponseBody extends $tea.Model {
|
|
2685
|
+
constructor(map) {
|
|
2686
|
+
super(map);
|
|
2687
|
+
}
|
|
2688
|
+
static names() {
|
|
2689
|
+
return {
|
|
2690
|
+
code: 'Code',
|
|
2691
|
+
data: 'Data',
|
|
2692
|
+
message: 'Message',
|
|
2693
|
+
requestId: 'RequestId',
|
|
2694
|
+
success: 'Success',
|
|
2695
|
+
};
|
|
2696
|
+
}
|
|
2697
|
+
static types() {
|
|
2698
|
+
return {
|
|
2699
|
+
code: 'number',
|
|
2700
|
+
data: PackSourceResponseBodyData,
|
|
2701
|
+
message: 'string',
|
|
2702
|
+
requestId: 'string',
|
|
2703
|
+
success: 'boolean',
|
|
2704
|
+
};
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
exports.PackSourceResponseBody = PackSourceResponseBody;
|
|
2708
|
+
class PackSourceResponse extends $tea.Model {
|
|
2709
|
+
constructor(map) {
|
|
2710
|
+
super(map);
|
|
2711
|
+
}
|
|
2712
|
+
static names() {
|
|
2713
|
+
return {
|
|
2714
|
+
headers: 'headers',
|
|
2715
|
+
statusCode: 'statusCode',
|
|
2716
|
+
body: 'body',
|
|
2717
|
+
};
|
|
2718
|
+
}
|
|
2719
|
+
static types() {
|
|
2720
|
+
return {
|
|
2721
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2722
|
+
statusCode: 'number',
|
|
2723
|
+
body: PackSourceResponseBody,
|
|
2724
|
+
};
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
exports.PackSourceResponse = PackSourceResponse;
|
|
2474
2728
|
class PredImageRequest extends $tea.Model {
|
|
2475
2729
|
constructor(map) {
|
|
2476
2730
|
super(map);
|
|
@@ -2748,6 +3002,7 @@ class PublishStatusResponseBody extends $tea.Model {
|
|
|
2748
3002
|
requestId: 'RequestId',
|
|
2749
3003
|
status: 'Status',
|
|
2750
3004
|
success: 'Success',
|
|
3005
|
+
syncStatus: 'SyncStatus',
|
|
2751
3006
|
};
|
|
2752
3007
|
}
|
|
2753
3008
|
static types() {
|
|
@@ -2757,6 +3012,7 @@ class PublishStatusResponseBody extends $tea.Model {
|
|
|
2757
3012
|
requestId: 'string',
|
|
2758
3013
|
status: 'string',
|
|
2759
3014
|
success: 'boolean',
|
|
3015
|
+
syncStatus: 'string',
|
|
2760
3016
|
};
|
|
2761
3017
|
}
|
|
2762
3018
|
}
|
|
@@ -3575,16 +3831,38 @@ class UpdateSubSceneRequest extends $tea.Model {
|
|
|
3575
3831
|
return {
|
|
3576
3832
|
id: 'Id',
|
|
3577
3833
|
name: 'Name',
|
|
3834
|
+
viewPoint: 'ViewPoint',
|
|
3578
3835
|
};
|
|
3579
3836
|
}
|
|
3580
3837
|
static types() {
|
|
3581
3838
|
return {
|
|
3582
3839
|
id: 'string',
|
|
3583
3840
|
name: 'string',
|
|
3841
|
+
viewPoint: { 'type': 'array', 'itemType': 'number' },
|
|
3584
3842
|
};
|
|
3585
3843
|
}
|
|
3586
3844
|
}
|
|
3587
3845
|
exports.UpdateSubSceneRequest = UpdateSubSceneRequest;
|
|
3846
|
+
class UpdateSubSceneShrinkRequest extends $tea.Model {
|
|
3847
|
+
constructor(map) {
|
|
3848
|
+
super(map);
|
|
3849
|
+
}
|
|
3850
|
+
static names() {
|
|
3851
|
+
return {
|
|
3852
|
+
id: 'Id',
|
|
3853
|
+
name: 'Name',
|
|
3854
|
+
viewPointShrink: 'ViewPoint',
|
|
3855
|
+
};
|
|
3856
|
+
}
|
|
3857
|
+
static types() {
|
|
3858
|
+
return {
|
|
3859
|
+
id: 'string',
|
|
3860
|
+
name: 'string',
|
|
3861
|
+
viewPointShrink: 'string',
|
|
3862
|
+
};
|
|
3863
|
+
}
|
|
3864
|
+
}
|
|
3865
|
+
exports.UpdateSubSceneShrinkRequest = UpdateSubSceneShrinkRequest;
|
|
3588
3866
|
class UpdateSubSceneResponseBody extends $tea.Model {
|
|
3589
3867
|
constructor(map) {
|
|
3590
3868
|
super(map);
|
|
@@ -3627,6 +3905,84 @@ class UpdateSubSceneResponse extends $tea.Model {
|
|
|
3627
3905
|
}
|
|
3628
3906
|
}
|
|
3629
3907
|
exports.UpdateSubSceneResponse = UpdateSubSceneResponse;
|
|
3908
|
+
class UpdateSubSceneSeqRequest extends $tea.Model {
|
|
3909
|
+
constructor(map) {
|
|
3910
|
+
super(map);
|
|
3911
|
+
}
|
|
3912
|
+
static names() {
|
|
3913
|
+
return {
|
|
3914
|
+
sceneId: 'SceneId',
|
|
3915
|
+
sortSubSceneIds: 'SortSubSceneIds',
|
|
3916
|
+
};
|
|
3917
|
+
}
|
|
3918
|
+
static types() {
|
|
3919
|
+
return {
|
|
3920
|
+
sceneId: 'string',
|
|
3921
|
+
sortSubSceneIds: { 'type': 'array', 'itemType': 'string' },
|
|
3922
|
+
};
|
|
3923
|
+
}
|
|
3924
|
+
}
|
|
3925
|
+
exports.UpdateSubSceneSeqRequest = UpdateSubSceneSeqRequest;
|
|
3926
|
+
class UpdateSubSceneSeqShrinkRequest extends $tea.Model {
|
|
3927
|
+
constructor(map) {
|
|
3928
|
+
super(map);
|
|
3929
|
+
}
|
|
3930
|
+
static names() {
|
|
3931
|
+
return {
|
|
3932
|
+
sceneId: 'SceneId',
|
|
3933
|
+
sortSubSceneIdsShrink: 'SortSubSceneIds',
|
|
3934
|
+
};
|
|
3935
|
+
}
|
|
3936
|
+
static types() {
|
|
3937
|
+
return {
|
|
3938
|
+
sceneId: 'string',
|
|
3939
|
+
sortSubSceneIdsShrink: 'string',
|
|
3940
|
+
};
|
|
3941
|
+
}
|
|
3942
|
+
}
|
|
3943
|
+
exports.UpdateSubSceneSeqShrinkRequest = UpdateSubSceneSeqShrinkRequest;
|
|
3944
|
+
class UpdateSubSceneSeqResponseBody extends $tea.Model {
|
|
3945
|
+
constructor(map) {
|
|
3946
|
+
super(map);
|
|
3947
|
+
}
|
|
3948
|
+
static names() {
|
|
3949
|
+
return {
|
|
3950
|
+
code: 'Code',
|
|
3951
|
+
message: 'Message',
|
|
3952
|
+
requestId: 'RequestId',
|
|
3953
|
+
success: 'Success',
|
|
3954
|
+
};
|
|
3955
|
+
}
|
|
3956
|
+
static types() {
|
|
3957
|
+
return {
|
|
3958
|
+
code: 'number',
|
|
3959
|
+
message: 'string',
|
|
3960
|
+
requestId: 'string',
|
|
3961
|
+
success: 'boolean',
|
|
3962
|
+
};
|
|
3963
|
+
}
|
|
3964
|
+
}
|
|
3965
|
+
exports.UpdateSubSceneSeqResponseBody = UpdateSubSceneSeqResponseBody;
|
|
3966
|
+
class UpdateSubSceneSeqResponse extends $tea.Model {
|
|
3967
|
+
constructor(map) {
|
|
3968
|
+
super(map);
|
|
3969
|
+
}
|
|
3970
|
+
static names() {
|
|
3971
|
+
return {
|
|
3972
|
+
headers: 'headers',
|
|
3973
|
+
statusCode: 'statusCode',
|
|
3974
|
+
body: 'body',
|
|
3975
|
+
};
|
|
3976
|
+
}
|
|
3977
|
+
static types() {
|
|
3978
|
+
return {
|
|
3979
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3980
|
+
statusCode: 'number',
|
|
3981
|
+
body: UpdateSubSceneSeqResponseBody,
|
|
3982
|
+
};
|
|
3983
|
+
}
|
|
3984
|
+
}
|
|
3985
|
+
exports.UpdateSubSceneSeqResponse = UpdateSubSceneSeqResponse;
|
|
3630
3986
|
class AddRoomPlanResponseBodyData extends $tea.Model {
|
|
3631
3987
|
constructor(map) {
|
|
3632
3988
|
super(map);
|
|
@@ -3655,6 +4011,22 @@ class AddRoomPlanResponseBodyData extends $tea.Model {
|
|
|
3655
4011
|
}
|
|
3656
4012
|
}
|
|
3657
4013
|
exports.AddRoomPlanResponseBodyData = AddRoomPlanResponseBodyData;
|
|
4014
|
+
class CopySceneResponseBodyData extends $tea.Model {
|
|
4015
|
+
constructor(map) {
|
|
4016
|
+
super(map);
|
|
4017
|
+
}
|
|
4018
|
+
static names() {
|
|
4019
|
+
return {
|
|
4020
|
+
taskId: 'TaskId',
|
|
4021
|
+
};
|
|
4022
|
+
}
|
|
4023
|
+
static types() {
|
|
4024
|
+
return {
|
|
4025
|
+
taskId: 'string',
|
|
4026
|
+
};
|
|
4027
|
+
}
|
|
4028
|
+
}
|
|
4029
|
+
exports.CopySceneResponseBodyData = CopySceneResponseBodyData;
|
|
3658
4030
|
class GetConnDataResponseBodyList extends $tea.Model {
|
|
3659
4031
|
constructor(map) {
|
|
3660
4032
|
super(map);
|
|
@@ -3675,6 +4047,24 @@ class GetConnDataResponseBodyList extends $tea.Model {
|
|
|
3675
4047
|
}
|
|
3676
4048
|
}
|
|
3677
4049
|
exports.GetConnDataResponseBodyList = GetConnDataResponseBodyList;
|
|
4050
|
+
class GetCopySceneTaskStatusResponseBodyData extends $tea.Model {
|
|
4051
|
+
constructor(map) {
|
|
4052
|
+
super(map);
|
|
4053
|
+
}
|
|
4054
|
+
static names() {
|
|
4055
|
+
return {
|
|
4056
|
+
progress: 'Progress',
|
|
4057
|
+
status: 'Status',
|
|
4058
|
+
};
|
|
4059
|
+
}
|
|
4060
|
+
static types() {
|
|
4061
|
+
return {
|
|
4062
|
+
progress: 'number',
|
|
4063
|
+
status: 'string',
|
|
4064
|
+
};
|
|
4065
|
+
}
|
|
4066
|
+
}
|
|
4067
|
+
exports.GetCopySceneTaskStatusResponseBodyData = GetCopySceneTaskStatusResponseBodyData;
|
|
3678
4068
|
class GetHotspotSceneDataResponseBodyData extends $tea.Model {
|
|
3679
4069
|
constructor(map) {
|
|
3680
4070
|
super(map);
|
|
@@ -4007,6 +4397,24 @@ class GetSingleConnDataResponseBodyList extends $tea.Model {
|
|
|
4007
4397
|
}
|
|
4008
4398
|
}
|
|
4009
4399
|
exports.GetSingleConnDataResponseBodyList = GetSingleConnDataResponseBodyList;
|
|
4400
|
+
class GetSourcePackStatusResponseBodyData extends $tea.Model {
|
|
4401
|
+
constructor(map) {
|
|
4402
|
+
super(map);
|
|
4403
|
+
}
|
|
4404
|
+
static names() {
|
|
4405
|
+
return {
|
|
4406
|
+
progress: 'Progress',
|
|
4407
|
+
status: 'Status',
|
|
4408
|
+
};
|
|
4409
|
+
}
|
|
4410
|
+
static types() {
|
|
4411
|
+
return {
|
|
4412
|
+
progress: 'number',
|
|
4413
|
+
status: 'string',
|
|
4414
|
+
};
|
|
4415
|
+
}
|
|
4416
|
+
}
|
|
4417
|
+
exports.GetSourcePackStatusResponseBodyData = GetSourcePackStatusResponseBodyData;
|
|
4010
4418
|
class GetSubSceneTaskStatusResponseBodyList extends $tea.Model {
|
|
4011
4419
|
constructor(map) {
|
|
4012
4420
|
super(map);
|
|
@@ -4155,6 +4563,22 @@ class PackSceneResponseBodyData extends $tea.Model {
|
|
|
4155
4563
|
}
|
|
4156
4564
|
}
|
|
4157
4565
|
exports.PackSceneResponseBodyData = PackSceneResponseBodyData;
|
|
4566
|
+
class PackSourceResponseBodyData extends $tea.Model {
|
|
4567
|
+
constructor(map) {
|
|
4568
|
+
super(map);
|
|
4569
|
+
}
|
|
4570
|
+
static names() {
|
|
4571
|
+
return {
|
|
4572
|
+
taskId: 'TaskId',
|
|
4573
|
+
};
|
|
4574
|
+
}
|
|
4575
|
+
static types() {
|
|
4576
|
+
return {
|
|
4577
|
+
taskId: 'string',
|
|
4578
|
+
};
|
|
4579
|
+
}
|
|
4580
|
+
}
|
|
4581
|
+
exports.PackSourceResponseBodyData = PackSourceResponseBodyData;
|
|
4158
4582
|
class Client extends openapi_client_1.default {
|
|
4159
4583
|
constructor(config) {
|
|
4160
4584
|
super(config);
|
|
@@ -4380,6 +4804,35 @@ class Client extends openapi_client_1.default {
|
|
|
4380
4804
|
let runtime = new $Util.RuntimeOptions({});
|
|
4381
4805
|
return await this.checkUserPropertyWithOptions(request, runtime);
|
|
4382
4806
|
}
|
|
4807
|
+
async copySceneWithOptions(request, runtime) {
|
|
4808
|
+
tea_util_1.default.validateModel(request);
|
|
4809
|
+
let query = {};
|
|
4810
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
4811
|
+
query["SceneId"] = request.sceneId;
|
|
4812
|
+
}
|
|
4813
|
+
if (!tea_util_1.default.isUnset(request.sceneName)) {
|
|
4814
|
+
query["SceneName"] = request.sceneName;
|
|
4815
|
+
}
|
|
4816
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4817
|
+
query: openapi_util_1.default.query(query),
|
|
4818
|
+
});
|
|
4819
|
+
let params = new $OpenApi.Params({
|
|
4820
|
+
action: "CopyScene",
|
|
4821
|
+
version: "2020-01-01",
|
|
4822
|
+
protocol: "HTTPS",
|
|
4823
|
+
pathname: "/",
|
|
4824
|
+
method: "POST",
|
|
4825
|
+
authType: "AK",
|
|
4826
|
+
style: "RPC",
|
|
4827
|
+
reqBodyType: "formData",
|
|
4828
|
+
bodyType: "json",
|
|
4829
|
+
});
|
|
4830
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CopySceneResponse({}));
|
|
4831
|
+
}
|
|
4832
|
+
async copyScene(request) {
|
|
4833
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4834
|
+
return await this.copySceneWithOptions(request, runtime);
|
|
4835
|
+
}
|
|
4383
4836
|
async detailProjectWithOptions(request, runtime) {
|
|
4384
4837
|
tea_util_1.default.validateModel(request);
|
|
4385
4838
|
let query = {};
|
|
@@ -4562,6 +5015,32 @@ class Client extends openapi_client_1.default {
|
|
|
4562
5015
|
let runtime = new $Util.RuntimeOptions({});
|
|
4563
5016
|
return await this.getConnDataWithOptions(request, runtime);
|
|
4564
5017
|
}
|
|
5018
|
+
async getCopySceneTaskStatusWithOptions(request, runtime) {
|
|
5019
|
+
tea_util_1.default.validateModel(request);
|
|
5020
|
+
let query = {};
|
|
5021
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
5022
|
+
query["TaskId"] = request.taskId;
|
|
5023
|
+
}
|
|
5024
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5025
|
+
query: openapi_util_1.default.query(query),
|
|
5026
|
+
});
|
|
5027
|
+
let params = new $OpenApi.Params({
|
|
5028
|
+
action: "GetCopySceneTaskStatus",
|
|
5029
|
+
version: "2020-01-01",
|
|
5030
|
+
protocol: "HTTPS",
|
|
5031
|
+
pathname: "/",
|
|
5032
|
+
method: "POST",
|
|
5033
|
+
authType: "AK",
|
|
5034
|
+
style: "RPC",
|
|
5035
|
+
reqBodyType: "formData",
|
|
5036
|
+
bodyType: "json",
|
|
5037
|
+
});
|
|
5038
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetCopySceneTaskStatusResponse({}));
|
|
5039
|
+
}
|
|
5040
|
+
async getCopySceneTaskStatus(request) {
|
|
5041
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5042
|
+
return await this.getCopySceneTaskStatusWithOptions(request, runtime);
|
|
5043
|
+
}
|
|
4565
5044
|
async getHotspotConfigWithOptions(request, runtime) {
|
|
4566
5045
|
tea_util_1.default.validateModel(request);
|
|
4567
5046
|
let query = {};
|
|
@@ -4974,6 +5453,32 @@ class Client extends openapi_client_1.default {
|
|
|
4974
5453
|
let runtime = new $Util.RuntimeOptions({});
|
|
4975
5454
|
return await this.getSingleConnDataWithOptions(request, runtime);
|
|
4976
5455
|
}
|
|
5456
|
+
async getSourcePackStatusWithOptions(request, runtime) {
|
|
5457
|
+
tea_util_1.default.validateModel(request);
|
|
5458
|
+
let query = {};
|
|
5459
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
5460
|
+
query["TaskId"] = request.taskId;
|
|
5461
|
+
}
|
|
5462
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5463
|
+
query: openapi_util_1.default.query(query),
|
|
5464
|
+
});
|
|
5465
|
+
let params = new $OpenApi.Params({
|
|
5466
|
+
action: "GetSourcePackStatus",
|
|
5467
|
+
version: "2020-01-01",
|
|
5468
|
+
protocol: "HTTPS",
|
|
5469
|
+
pathname: "/",
|
|
5470
|
+
method: "POST",
|
|
5471
|
+
authType: "AK",
|
|
5472
|
+
style: "RPC",
|
|
5473
|
+
reqBodyType: "formData",
|
|
5474
|
+
bodyType: "json",
|
|
5475
|
+
});
|
|
5476
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSourcePackStatusResponse({}));
|
|
5477
|
+
}
|
|
5478
|
+
async getSourcePackStatus(request) {
|
|
5479
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5480
|
+
return await this.getSourcePackStatusWithOptions(request, runtime);
|
|
5481
|
+
}
|
|
4977
5482
|
async getSubSceneTaskStatusWithOptions(request, runtime) {
|
|
4978
5483
|
tea_util_1.default.validateModel(request);
|
|
4979
5484
|
let query = {};
|
|
@@ -5058,9 +5563,21 @@ class Client extends openapi_client_1.default {
|
|
|
5058
5563
|
if (!tea_util_1.default.isUnset(request.mode)) {
|
|
5059
5564
|
query["Mode"] = request.mode;
|
|
5060
5565
|
}
|
|
5566
|
+
if (!tea_util_1.default.isUnset(request.modelStyle)) {
|
|
5567
|
+
query["ModelStyle"] = request.modelStyle;
|
|
5568
|
+
}
|
|
5569
|
+
if (!tea_util_1.default.isUnset(request.optimizeWallWidth)) {
|
|
5570
|
+
query["OptimizeWallWidth"] = request.optimizeWallWidth;
|
|
5571
|
+
}
|
|
5572
|
+
if (!tea_util_1.default.isUnset(request.planStyle)) {
|
|
5573
|
+
query["PlanStyle"] = request.planStyle;
|
|
5574
|
+
}
|
|
5061
5575
|
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
5062
5576
|
query["SceneId"] = request.sceneId;
|
|
5063
5577
|
}
|
|
5578
|
+
if (!tea_util_1.default.isUnset(request.wallHeight)) {
|
|
5579
|
+
query["WallHeight"] = request.wallHeight;
|
|
5580
|
+
}
|
|
5064
5581
|
let req = new $OpenApi.OpenApiRequest({
|
|
5065
5582
|
query: openapi_util_1.default.query(query),
|
|
5066
5583
|
});
|
|
@@ -5198,6 +5715,9 @@ class Client extends openapi_client_1.default {
|
|
|
5198
5715
|
if (!tea_util_1.default.isUnset(request.showLayoutData)) {
|
|
5199
5716
|
query["ShowLayoutData"] = request.showLayoutData;
|
|
5200
5717
|
}
|
|
5718
|
+
if (!tea_util_1.default.isUnset(request.sortField)) {
|
|
5719
|
+
query["SortField"] = request.sortField;
|
|
5720
|
+
}
|
|
5201
5721
|
let req = new $OpenApi.OpenApiRequest({
|
|
5202
5722
|
query: openapi_util_1.default.query(query),
|
|
5203
5723
|
});
|
|
@@ -5273,6 +5793,32 @@ class Client extends openapi_client_1.default {
|
|
|
5273
5793
|
let runtime = new $Util.RuntimeOptions({});
|
|
5274
5794
|
return await this.packSceneWithOptions(request, runtime);
|
|
5275
5795
|
}
|
|
5796
|
+
async packSourceWithOptions(request, runtime) {
|
|
5797
|
+
tea_util_1.default.validateModel(request);
|
|
5798
|
+
let query = {};
|
|
5799
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
5800
|
+
query["SceneId"] = request.sceneId;
|
|
5801
|
+
}
|
|
5802
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5803
|
+
query: openapi_util_1.default.query(query),
|
|
5804
|
+
});
|
|
5805
|
+
let params = new $OpenApi.Params({
|
|
5806
|
+
action: "PackSource",
|
|
5807
|
+
version: "2020-01-01",
|
|
5808
|
+
protocol: "HTTPS",
|
|
5809
|
+
pathname: "/",
|
|
5810
|
+
method: "POST",
|
|
5811
|
+
authType: "AK",
|
|
5812
|
+
style: "RPC",
|
|
5813
|
+
reqBodyType: "formData",
|
|
5814
|
+
bodyType: "json",
|
|
5815
|
+
});
|
|
5816
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PackSourceResponse({}));
|
|
5817
|
+
}
|
|
5818
|
+
async packSource(request) {
|
|
5819
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5820
|
+
return await this.packSourceWithOptions(request, runtime);
|
|
5821
|
+
}
|
|
5276
5822
|
async predImageWithOptions(request, runtime) {
|
|
5277
5823
|
tea_util_1.default.validateModel(request);
|
|
5278
5824
|
let query = {};
|
|
@@ -5789,8 +6335,13 @@ class Client extends openapi_client_1.default {
|
|
|
5789
6335
|
let runtime = new $Util.RuntimeOptions({});
|
|
5790
6336
|
return await this.updateSceneWithOptions(request, runtime);
|
|
5791
6337
|
}
|
|
5792
|
-
async updateSubSceneWithOptions(
|
|
5793
|
-
tea_util_1.default.validateModel(
|
|
6338
|
+
async updateSubSceneWithOptions(tmpReq, runtime) {
|
|
6339
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
6340
|
+
let request = new UpdateSubSceneShrinkRequest({});
|
|
6341
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
6342
|
+
if (!tea_util_1.default.isUnset(tmpReq.viewPoint)) {
|
|
6343
|
+
request.viewPointShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.viewPoint, "ViewPoint", "json");
|
|
6344
|
+
}
|
|
5794
6345
|
let query = {};
|
|
5795
6346
|
if (!tea_util_1.default.isUnset(request.id)) {
|
|
5796
6347
|
query["Id"] = request.id;
|
|
@@ -5798,6 +6349,9 @@ class Client extends openapi_client_1.default {
|
|
|
5798
6349
|
if (!tea_util_1.default.isUnset(request.name)) {
|
|
5799
6350
|
query["Name"] = request.name;
|
|
5800
6351
|
}
|
|
6352
|
+
if (!tea_util_1.default.isUnset(request.viewPointShrink)) {
|
|
6353
|
+
query["ViewPoint"] = request.viewPointShrink;
|
|
6354
|
+
}
|
|
5801
6355
|
let req = new $OpenApi.OpenApiRequest({
|
|
5802
6356
|
query: openapi_util_1.default.query(query),
|
|
5803
6357
|
});
|
|
@@ -5818,6 +6372,40 @@ class Client extends openapi_client_1.default {
|
|
|
5818
6372
|
let runtime = new $Util.RuntimeOptions({});
|
|
5819
6373
|
return await this.updateSubSceneWithOptions(request, runtime);
|
|
5820
6374
|
}
|
|
6375
|
+
async updateSubSceneSeqWithOptions(tmpReq, runtime) {
|
|
6376
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
6377
|
+
let request = new UpdateSubSceneSeqShrinkRequest({});
|
|
6378
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
6379
|
+
if (!tea_util_1.default.isUnset(tmpReq.sortSubSceneIds)) {
|
|
6380
|
+
request.sortSubSceneIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.sortSubSceneIds, "SortSubSceneIds", "json");
|
|
6381
|
+
}
|
|
6382
|
+
let query = {};
|
|
6383
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6384
|
+
query["SceneId"] = request.sceneId;
|
|
6385
|
+
}
|
|
6386
|
+
if (!tea_util_1.default.isUnset(request.sortSubSceneIdsShrink)) {
|
|
6387
|
+
query["SortSubSceneIds"] = request.sortSubSceneIdsShrink;
|
|
6388
|
+
}
|
|
6389
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6390
|
+
query: openapi_util_1.default.query(query),
|
|
6391
|
+
});
|
|
6392
|
+
let params = new $OpenApi.Params({
|
|
6393
|
+
action: "UpdateSubSceneSeq",
|
|
6394
|
+
version: "2020-01-01",
|
|
6395
|
+
protocol: "HTTPS",
|
|
6396
|
+
pathname: "/",
|
|
6397
|
+
method: "POST",
|
|
6398
|
+
authType: "AK",
|
|
6399
|
+
style: "RPC",
|
|
6400
|
+
reqBodyType: "formData",
|
|
6401
|
+
bodyType: "json",
|
|
6402
|
+
});
|
|
6403
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateSubSceneSeqResponse({}));
|
|
6404
|
+
}
|
|
6405
|
+
async updateSubSceneSeq(request) {
|
|
6406
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6407
|
+
return await this.updateSubSceneSeqWithOptions(request, runtime);
|
|
6408
|
+
}
|
|
5821
6409
|
}
|
|
5822
6410
|
exports.default = Client;
|
|
5823
6411
|
//# sourceMappingURL=client.js.map
|