@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/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);
|
|
@@ -2008,13 +2130,21 @@ class LabelBuildRequest extends $tea.Model {
|
|
|
2008
2130
|
static names() {
|
|
2009
2131
|
return {
|
|
2010
2132
|
mode: 'Mode',
|
|
2133
|
+
optimizeModelEffect: 'OptimizeModelEffect',
|
|
2134
|
+
optimizeWallWidth: 'OptimizeWallWidth',
|
|
2135
|
+
planStyle: 'PlanStyle',
|
|
2011
2136
|
sceneId: 'SceneId',
|
|
2137
|
+
wallHeight: 'WallHeight',
|
|
2012
2138
|
};
|
|
2013
2139
|
}
|
|
2014
2140
|
static types() {
|
|
2015
2141
|
return {
|
|
2016
2142
|
mode: 'string',
|
|
2143
|
+
optimizeModelEffect: 'string',
|
|
2144
|
+
optimizeWallWidth: 'string',
|
|
2145
|
+
planStyle: 'string',
|
|
2017
2146
|
sceneId: 'string',
|
|
2147
|
+
wallHeight: 'number',
|
|
2018
2148
|
};
|
|
2019
2149
|
}
|
|
2020
2150
|
}
|
|
@@ -2285,6 +2415,7 @@ class ListSubSceneRequest extends $tea.Model {
|
|
|
2285
2415
|
pageSize: 'PageSize',
|
|
2286
2416
|
sceneId: 'SceneId',
|
|
2287
2417
|
showLayoutData: 'ShowLayoutData',
|
|
2418
|
+
sortField: 'SortField',
|
|
2288
2419
|
};
|
|
2289
2420
|
}
|
|
2290
2421
|
static types() {
|
|
@@ -2293,6 +2424,7 @@ class ListSubSceneRequest extends $tea.Model {
|
|
|
2293
2424
|
pageSize: 'number',
|
|
2294
2425
|
sceneId: 'string',
|
|
2295
2426
|
showLayoutData: 'boolean',
|
|
2427
|
+
sortField: 'string',
|
|
2296
2428
|
};
|
|
2297
2429
|
}
|
|
2298
2430
|
}
|
|
@@ -3575,16 +3707,38 @@ class UpdateSubSceneRequest extends $tea.Model {
|
|
|
3575
3707
|
return {
|
|
3576
3708
|
id: 'Id',
|
|
3577
3709
|
name: 'Name',
|
|
3710
|
+
viewPoint: 'ViewPoint',
|
|
3578
3711
|
};
|
|
3579
3712
|
}
|
|
3580
3713
|
static types() {
|
|
3581
3714
|
return {
|
|
3582
3715
|
id: 'string',
|
|
3583
3716
|
name: 'string',
|
|
3717
|
+
viewPoint: { 'type': 'array', 'itemType': 'number' },
|
|
3584
3718
|
};
|
|
3585
3719
|
}
|
|
3586
3720
|
}
|
|
3587
3721
|
exports.UpdateSubSceneRequest = UpdateSubSceneRequest;
|
|
3722
|
+
class UpdateSubSceneShrinkRequest extends $tea.Model {
|
|
3723
|
+
constructor(map) {
|
|
3724
|
+
super(map);
|
|
3725
|
+
}
|
|
3726
|
+
static names() {
|
|
3727
|
+
return {
|
|
3728
|
+
id: 'Id',
|
|
3729
|
+
name: 'Name',
|
|
3730
|
+
viewPointShrink: 'ViewPoint',
|
|
3731
|
+
};
|
|
3732
|
+
}
|
|
3733
|
+
static types() {
|
|
3734
|
+
return {
|
|
3735
|
+
id: 'string',
|
|
3736
|
+
name: 'string',
|
|
3737
|
+
viewPointShrink: 'string',
|
|
3738
|
+
};
|
|
3739
|
+
}
|
|
3740
|
+
}
|
|
3741
|
+
exports.UpdateSubSceneShrinkRequest = UpdateSubSceneShrinkRequest;
|
|
3588
3742
|
class UpdateSubSceneResponseBody extends $tea.Model {
|
|
3589
3743
|
constructor(map) {
|
|
3590
3744
|
super(map);
|
|
@@ -3627,6 +3781,84 @@ class UpdateSubSceneResponse extends $tea.Model {
|
|
|
3627
3781
|
}
|
|
3628
3782
|
}
|
|
3629
3783
|
exports.UpdateSubSceneResponse = UpdateSubSceneResponse;
|
|
3784
|
+
class UpdateSubSceneSeqRequest extends $tea.Model {
|
|
3785
|
+
constructor(map) {
|
|
3786
|
+
super(map);
|
|
3787
|
+
}
|
|
3788
|
+
static names() {
|
|
3789
|
+
return {
|
|
3790
|
+
sceneId: 'SceneId',
|
|
3791
|
+
sortSubSceneIds: 'SortSubSceneIds',
|
|
3792
|
+
};
|
|
3793
|
+
}
|
|
3794
|
+
static types() {
|
|
3795
|
+
return {
|
|
3796
|
+
sceneId: 'string',
|
|
3797
|
+
sortSubSceneIds: { 'type': 'array', 'itemType': 'string' },
|
|
3798
|
+
};
|
|
3799
|
+
}
|
|
3800
|
+
}
|
|
3801
|
+
exports.UpdateSubSceneSeqRequest = UpdateSubSceneSeqRequest;
|
|
3802
|
+
class UpdateSubSceneSeqShrinkRequest extends $tea.Model {
|
|
3803
|
+
constructor(map) {
|
|
3804
|
+
super(map);
|
|
3805
|
+
}
|
|
3806
|
+
static names() {
|
|
3807
|
+
return {
|
|
3808
|
+
sceneId: 'SceneId',
|
|
3809
|
+
sortSubSceneIdsShrink: 'SortSubSceneIds',
|
|
3810
|
+
};
|
|
3811
|
+
}
|
|
3812
|
+
static types() {
|
|
3813
|
+
return {
|
|
3814
|
+
sceneId: 'string',
|
|
3815
|
+
sortSubSceneIdsShrink: 'string',
|
|
3816
|
+
};
|
|
3817
|
+
}
|
|
3818
|
+
}
|
|
3819
|
+
exports.UpdateSubSceneSeqShrinkRequest = UpdateSubSceneSeqShrinkRequest;
|
|
3820
|
+
class UpdateSubSceneSeqResponseBody extends $tea.Model {
|
|
3821
|
+
constructor(map) {
|
|
3822
|
+
super(map);
|
|
3823
|
+
}
|
|
3824
|
+
static names() {
|
|
3825
|
+
return {
|
|
3826
|
+
code: 'Code',
|
|
3827
|
+
message: 'Message',
|
|
3828
|
+
requestId: 'RequestId',
|
|
3829
|
+
success: 'Success',
|
|
3830
|
+
};
|
|
3831
|
+
}
|
|
3832
|
+
static types() {
|
|
3833
|
+
return {
|
|
3834
|
+
code: 'number',
|
|
3835
|
+
message: 'string',
|
|
3836
|
+
requestId: 'string',
|
|
3837
|
+
success: 'boolean',
|
|
3838
|
+
};
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
exports.UpdateSubSceneSeqResponseBody = UpdateSubSceneSeqResponseBody;
|
|
3842
|
+
class UpdateSubSceneSeqResponse extends $tea.Model {
|
|
3843
|
+
constructor(map) {
|
|
3844
|
+
super(map);
|
|
3845
|
+
}
|
|
3846
|
+
static names() {
|
|
3847
|
+
return {
|
|
3848
|
+
headers: 'headers',
|
|
3849
|
+
statusCode: 'statusCode',
|
|
3850
|
+
body: 'body',
|
|
3851
|
+
};
|
|
3852
|
+
}
|
|
3853
|
+
static types() {
|
|
3854
|
+
return {
|
|
3855
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3856
|
+
statusCode: 'number',
|
|
3857
|
+
body: UpdateSubSceneSeqResponseBody,
|
|
3858
|
+
};
|
|
3859
|
+
}
|
|
3860
|
+
}
|
|
3861
|
+
exports.UpdateSubSceneSeqResponse = UpdateSubSceneSeqResponse;
|
|
3630
3862
|
class AddRoomPlanResponseBodyData extends $tea.Model {
|
|
3631
3863
|
constructor(map) {
|
|
3632
3864
|
super(map);
|
|
@@ -3655,6 +3887,22 @@ class AddRoomPlanResponseBodyData extends $tea.Model {
|
|
|
3655
3887
|
}
|
|
3656
3888
|
}
|
|
3657
3889
|
exports.AddRoomPlanResponseBodyData = AddRoomPlanResponseBodyData;
|
|
3890
|
+
class CopySceneResponseBodyData extends $tea.Model {
|
|
3891
|
+
constructor(map) {
|
|
3892
|
+
super(map);
|
|
3893
|
+
}
|
|
3894
|
+
static names() {
|
|
3895
|
+
return {
|
|
3896
|
+
taskId: 'TaskId',
|
|
3897
|
+
};
|
|
3898
|
+
}
|
|
3899
|
+
static types() {
|
|
3900
|
+
return {
|
|
3901
|
+
taskId: 'string',
|
|
3902
|
+
};
|
|
3903
|
+
}
|
|
3904
|
+
}
|
|
3905
|
+
exports.CopySceneResponseBodyData = CopySceneResponseBodyData;
|
|
3658
3906
|
class GetConnDataResponseBodyList extends $tea.Model {
|
|
3659
3907
|
constructor(map) {
|
|
3660
3908
|
super(map);
|
|
@@ -3675,6 +3923,24 @@ class GetConnDataResponseBodyList extends $tea.Model {
|
|
|
3675
3923
|
}
|
|
3676
3924
|
}
|
|
3677
3925
|
exports.GetConnDataResponseBodyList = GetConnDataResponseBodyList;
|
|
3926
|
+
class GetCopySceneTaskStatusResponseBodyData extends $tea.Model {
|
|
3927
|
+
constructor(map) {
|
|
3928
|
+
super(map);
|
|
3929
|
+
}
|
|
3930
|
+
static names() {
|
|
3931
|
+
return {
|
|
3932
|
+
progress: 'Progress',
|
|
3933
|
+
status: 'Status',
|
|
3934
|
+
};
|
|
3935
|
+
}
|
|
3936
|
+
static types() {
|
|
3937
|
+
return {
|
|
3938
|
+
progress: 'number',
|
|
3939
|
+
status: 'string',
|
|
3940
|
+
};
|
|
3941
|
+
}
|
|
3942
|
+
}
|
|
3943
|
+
exports.GetCopySceneTaskStatusResponseBodyData = GetCopySceneTaskStatusResponseBodyData;
|
|
3678
3944
|
class GetHotspotSceneDataResponseBodyData extends $tea.Model {
|
|
3679
3945
|
constructor(map) {
|
|
3680
3946
|
super(map);
|
|
@@ -3709,7 +3975,7 @@ class GetPackSceneTaskStatusResponseBodyData extends $tea.Model {
|
|
|
3709
3975
|
}
|
|
3710
3976
|
static types() {
|
|
3711
3977
|
return {
|
|
3712
|
-
progress: '
|
|
3978
|
+
progress: 'number',
|
|
3713
3979
|
status: 'string',
|
|
3714
3980
|
};
|
|
3715
3981
|
}
|
|
@@ -3730,7 +3996,7 @@ class GetScenePackUrlResponseBodyData extends $tea.Model {
|
|
|
3730
3996
|
return {
|
|
3731
3997
|
expire: 'string',
|
|
3732
3998
|
url: 'string',
|
|
3733
|
-
valid: '
|
|
3999
|
+
valid: 'boolean',
|
|
3734
4000
|
};
|
|
3735
4001
|
}
|
|
3736
4002
|
}
|
|
@@ -4380,6 +4646,35 @@ class Client extends openapi_client_1.default {
|
|
|
4380
4646
|
let runtime = new $Util.RuntimeOptions({});
|
|
4381
4647
|
return await this.checkUserPropertyWithOptions(request, runtime);
|
|
4382
4648
|
}
|
|
4649
|
+
async copySceneWithOptions(request, runtime) {
|
|
4650
|
+
tea_util_1.default.validateModel(request);
|
|
4651
|
+
let query = {};
|
|
4652
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
4653
|
+
query["SceneId"] = request.sceneId;
|
|
4654
|
+
}
|
|
4655
|
+
if (!tea_util_1.default.isUnset(request.sceneName)) {
|
|
4656
|
+
query["SceneName"] = request.sceneName;
|
|
4657
|
+
}
|
|
4658
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4659
|
+
query: openapi_util_1.default.query(query),
|
|
4660
|
+
});
|
|
4661
|
+
let params = new $OpenApi.Params({
|
|
4662
|
+
action: "CopyScene",
|
|
4663
|
+
version: "2020-01-01",
|
|
4664
|
+
protocol: "HTTPS",
|
|
4665
|
+
pathname: "/",
|
|
4666
|
+
method: "POST",
|
|
4667
|
+
authType: "AK",
|
|
4668
|
+
style: "RPC",
|
|
4669
|
+
reqBodyType: "formData",
|
|
4670
|
+
bodyType: "json",
|
|
4671
|
+
});
|
|
4672
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CopySceneResponse({}));
|
|
4673
|
+
}
|
|
4674
|
+
async copyScene(request) {
|
|
4675
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4676
|
+
return await this.copySceneWithOptions(request, runtime);
|
|
4677
|
+
}
|
|
4383
4678
|
async detailProjectWithOptions(request, runtime) {
|
|
4384
4679
|
tea_util_1.default.validateModel(request);
|
|
4385
4680
|
let query = {};
|
|
@@ -4562,6 +4857,32 @@ class Client extends openapi_client_1.default {
|
|
|
4562
4857
|
let runtime = new $Util.RuntimeOptions({});
|
|
4563
4858
|
return await this.getConnDataWithOptions(request, runtime);
|
|
4564
4859
|
}
|
|
4860
|
+
async getCopySceneTaskStatusWithOptions(request, runtime) {
|
|
4861
|
+
tea_util_1.default.validateModel(request);
|
|
4862
|
+
let query = {};
|
|
4863
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
4864
|
+
query["TaskId"] = request.taskId;
|
|
4865
|
+
}
|
|
4866
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4867
|
+
query: openapi_util_1.default.query(query),
|
|
4868
|
+
});
|
|
4869
|
+
let params = new $OpenApi.Params({
|
|
4870
|
+
action: "GetCopySceneTaskStatus",
|
|
4871
|
+
version: "2020-01-01",
|
|
4872
|
+
protocol: "HTTPS",
|
|
4873
|
+
pathname: "/",
|
|
4874
|
+
method: "POST",
|
|
4875
|
+
authType: "AK",
|
|
4876
|
+
style: "RPC",
|
|
4877
|
+
reqBodyType: "formData",
|
|
4878
|
+
bodyType: "json",
|
|
4879
|
+
});
|
|
4880
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetCopySceneTaskStatusResponse({}));
|
|
4881
|
+
}
|
|
4882
|
+
async getCopySceneTaskStatus(request) {
|
|
4883
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4884
|
+
return await this.getCopySceneTaskStatusWithOptions(request, runtime);
|
|
4885
|
+
}
|
|
4565
4886
|
async getHotspotConfigWithOptions(request, runtime) {
|
|
4566
4887
|
tea_util_1.default.validateModel(request);
|
|
4567
4888
|
let query = {};
|
|
@@ -5058,9 +5379,21 @@ class Client extends openapi_client_1.default {
|
|
|
5058
5379
|
if (!tea_util_1.default.isUnset(request.mode)) {
|
|
5059
5380
|
query["Mode"] = request.mode;
|
|
5060
5381
|
}
|
|
5382
|
+
if (!tea_util_1.default.isUnset(request.optimizeModelEffect)) {
|
|
5383
|
+
query["OptimizeModelEffect"] = request.optimizeModelEffect;
|
|
5384
|
+
}
|
|
5385
|
+
if (!tea_util_1.default.isUnset(request.optimizeWallWidth)) {
|
|
5386
|
+
query["OptimizeWallWidth"] = request.optimizeWallWidth;
|
|
5387
|
+
}
|
|
5388
|
+
if (!tea_util_1.default.isUnset(request.planStyle)) {
|
|
5389
|
+
query["PlanStyle"] = request.planStyle;
|
|
5390
|
+
}
|
|
5061
5391
|
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
5062
5392
|
query["SceneId"] = request.sceneId;
|
|
5063
5393
|
}
|
|
5394
|
+
if (!tea_util_1.default.isUnset(request.wallHeight)) {
|
|
5395
|
+
query["WallHeight"] = request.wallHeight;
|
|
5396
|
+
}
|
|
5064
5397
|
let req = new $OpenApi.OpenApiRequest({
|
|
5065
5398
|
query: openapi_util_1.default.query(query),
|
|
5066
5399
|
});
|
|
@@ -5198,6 +5531,9 @@ class Client extends openapi_client_1.default {
|
|
|
5198
5531
|
if (!tea_util_1.default.isUnset(request.showLayoutData)) {
|
|
5199
5532
|
query["ShowLayoutData"] = request.showLayoutData;
|
|
5200
5533
|
}
|
|
5534
|
+
if (!tea_util_1.default.isUnset(request.sortField)) {
|
|
5535
|
+
query["SortField"] = request.sortField;
|
|
5536
|
+
}
|
|
5201
5537
|
let req = new $OpenApi.OpenApiRequest({
|
|
5202
5538
|
query: openapi_util_1.default.query(query),
|
|
5203
5539
|
});
|
|
@@ -5789,8 +6125,13 @@ class Client extends openapi_client_1.default {
|
|
|
5789
6125
|
let runtime = new $Util.RuntimeOptions({});
|
|
5790
6126
|
return await this.updateSceneWithOptions(request, runtime);
|
|
5791
6127
|
}
|
|
5792
|
-
async updateSubSceneWithOptions(
|
|
5793
|
-
tea_util_1.default.validateModel(
|
|
6128
|
+
async updateSubSceneWithOptions(tmpReq, runtime) {
|
|
6129
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
6130
|
+
let request = new UpdateSubSceneShrinkRequest({});
|
|
6131
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
6132
|
+
if (!tea_util_1.default.isUnset(tmpReq.viewPoint)) {
|
|
6133
|
+
request.viewPointShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.viewPoint, "ViewPoint", "json");
|
|
6134
|
+
}
|
|
5794
6135
|
let query = {};
|
|
5795
6136
|
if (!tea_util_1.default.isUnset(request.id)) {
|
|
5796
6137
|
query["Id"] = request.id;
|
|
@@ -5798,6 +6139,9 @@ class Client extends openapi_client_1.default {
|
|
|
5798
6139
|
if (!tea_util_1.default.isUnset(request.name)) {
|
|
5799
6140
|
query["Name"] = request.name;
|
|
5800
6141
|
}
|
|
6142
|
+
if (!tea_util_1.default.isUnset(request.viewPointShrink)) {
|
|
6143
|
+
query["ViewPoint"] = request.viewPointShrink;
|
|
6144
|
+
}
|
|
5801
6145
|
let req = new $OpenApi.OpenApiRequest({
|
|
5802
6146
|
query: openapi_util_1.default.query(query),
|
|
5803
6147
|
});
|
|
@@ -5818,6 +6162,40 @@ class Client extends openapi_client_1.default {
|
|
|
5818
6162
|
let runtime = new $Util.RuntimeOptions({});
|
|
5819
6163
|
return await this.updateSubSceneWithOptions(request, runtime);
|
|
5820
6164
|
}
|
|
6165
|
+
async updateSubSceneSeqWithOptions(tmpReq, runtime) {
|
|
6166
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
6167
|
+
let request = new UpdateSubSceneSeqShrinkRequest({});
|
|
6168
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
6169
|
+
if (!tea_util_1.default.isUnset(tmpReq.sortSubSceneIds)) {
|
|
6170
|
+
request.sortSubSceneIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.sortSubSceneIds, "SortSubSceneIds", "json");
|
|
6171
|
+
}
|
|
6172
|
+
let query = {};
|
|
6173
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6174
|
+
query["SceneId"] = request.sceneId;
|
|
6175
|
+
}
|
|
6176
|
+
if (!tea_util_1.default.isUnset(request.sortSubSceneIdsShrink)) {
|
|
6177
|
+
query["SortSubSceneIds"] = request.sortSubSceneIdsShrink;
|
|
6178
|
+
}
|
|
6179
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6180
|
+
query: openapi_util_1.default.query(query),
|
|
6181
|
+
});
|
|
6182
|
+
let params = new $OpenApi.Params({
|
|
6183
|
+
action: "UpdateSubSceneSeq",
|
|
6184
|
+
version: "2020-01-01",
|
|
6185
|
+
protocol: "HTTPS",
|
|
6186
|
+
pathname: "/",
|
|
6187
|
+
method: "POST",
|
|
6188
|
+
authType: "AK",
|
|
6189
|
+
style: "RPC",
|
|
6190
|
+
reqBodyType: "formData",
|
|
6191
|
+
bodyType: "json",
|
|
6192
|
+
});
|
|
6193
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateSubSceneSeqResponse({}));
|
|
6194
|
+
}
|
|
6195
|
+
async updateSubSceneSeq(request) {
|
|
6196
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6197
|
+
return await this.updateSubSceneSeqWithOptions(request, runtime);
|
|
6198
|
+
}
|
|
5821
6199
|
}
|
|
5822
6200
|
exports.default = Client;
|
|
5823
6201
|
//# sourceMappingURL=client.js.map
|