@alicloud/tdsr20200101 3.1.3 → 3.1.6
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 +320 -0
- package/dist/client.js +608 -0
- package/dist/client.js.map +1 -1
- package/package.json +4 -5
- package/src/client.ts +779 -31
package/src/client.ts
CHANGED
|
@@ -8,6 +8,87 @@ import OpenApiUtil from '@alicloud/openapi-util';
|
|
|
8
8
|
import EndpointUtil from '@alicloud/endpoint-util';
|
|
9
9
|
import * as $tea from '@alicloud/tea-typescript';
|
|
10
10
|
|
|
11
|
+
export class AddHotspotFileRequest extends $tea.Model {
|
|
12
|
+
fileName?: string;
|
|
13
|
+
sceneId?: string;
|
|
14
|
+
type?: string;
|
|
15
|
+
static names(): { [key: string]: string } {
|
|
16
|
+
return {
|
|
17
|
+
fileName: 'FileName',
|
|
18
|
+
sceneId: 'SceneId',
|
|
19
|
+
type: 'Type',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
fileName: 'string',
|
|
26
|
+
sceneId: 'string',
|
|
27
|
+
type: 'string',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
constructor(map?: { [key: string]: any }) {
|
|
32
|
+
super(map);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class AddHotspotFileResponseBody extends $tea.Model {
|
|
37
|
+
code?: number;
|
|
38
|
+
data?: { [key: string]: any };
|
|
39
|
+
message?: string;
|
|
40
|
+
requestId?: string;
|
|
41
|
+
success?: boolean;
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
code: 'Code',
|
|
45
|
+
data: 'Data',
|
|
46
|
+
message: 'Message',
|
|
47
|
+
requestId: 'RequestId',
|
|
48
|
+
success: 'Success',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static types(): { [key: string]: any } {
|
|
53
|
+
return {
|
|
54
|
+
code: 'number',
|
|
55
|
+
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
56
|
+
message: 'string',
|
|
57
|
+
requestId: 'string',
|
|
58
|
+
success: 'boolean',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export class AddHotspotFileResponse extends $tea.Model {
|
|
68
|
+
headers: { [key: string]: string };
|
|
69
|
+
statusCode: number;
|
|
70
|
+
body: AddHotspotFileResponseBody;
|
|
71
|
+
static names(): { [key: string]: string } {
|
|
72
|
+
return {
|
|
73
|
+
headers: 'headers',
|
|
74
|
+
statusCode: 'statusCode',
|
|
75
|
+
body: 'body',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
static types(): { [key: string]: any } {
|
|
80
|
+
return {
|
|
81
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
82
|
+
statusCode: 'number',
|
|
83
|
+
body: AddHotspotFileResponseBody,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
11
92
|
export class AddMosaicsRequest extends $tea.Model {
|
|
12
93
|
markPosition?: string;
|
|
13
94
|
subSceneId?: string;
|
|
@@ -555,10 +636,12 @@ export class CheckUserPropertyResponse extends $tea.Model {
|
|
|
555
636
|
}
|
|
556
637
|
|
|
557
638
|
export class CopySceneRequest extends $tea.Model {
|
|
639
|
+
projectId?: string;
|
|
558
640
|
sceneId?: string;
|
|
559
641
|
sceneName?: string;
|
|
560
642
|
static names(): { [key: string]: string } {
|
|
561
643
|
return {
|
|
644
|
+
projectId: 'ProjectId',
|
|
562
645
|
sceneId: 'SceneId',
|
|
563
646
|
sceneName: 'SceneName',
|
|
564
647
|
};
|
|
@@ -566,6 +649,7 @@ export class CopySceneRequest extends $tea.Model {
|
|
|
566
649
|
|
|
567
650
|
static types(): { [key: string]: any } {
|
|
568
651
|
return {
|
|
652
|
+
projectId: 'string',
|
|
569
653
|
sceneId: 'string',
|
|
570
654
|
sceneName: 'string',
|
|
571
655
|
};
|
|
@@ -632,6 +716,84 @@ export class CopySceneResponse extends $tea.Model {
|
|
|
632
716
|
}
|
|
633
717
|
}
|
|
634
718
|
|
|
719
|
+
export class CreateUploadPolicyRequest extends $tea.Model {
|
|
720
|
+
option?: string;
|
|
721
|
+
type?: string;
|
|
722
|
+
static names(): { [key: string]: string } {
|
|
723
|
+
return {
|
|
724
|
+
option: 'Option',
|
|
725
|
+
type: 'Type',
|
|
726
|
+
};
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
static types(): { [key: string]: any } {
|
|
730
|
+
return {
|
|
731
|
+
option: 'string',
|
|
732
|
+
type: 'string',
|
|
733
|
+
};
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
constructor(map?: { [key: string]: any }) {
|
|
737
|
+
super(map);
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export class CreateUploadPolicyResponseBody extends $tea.Model {
|
|
742
|
+
code?: number;
|
|
743
|
+
data?: CreateUploadPolicyResponseBodyData;
|
|
744
|
+
message?: string;
|
|
745
|
+
requestId?: string;
|
|
746
|
+
success?: boolean;
|
|
747
|
+
static names(): { [key: string]: string } {
|
|
748
|
+
return {
|
|
749
|
+
code: 'Code',
|
|
750
|
+
data: 'Data',
|
|
751
|
+
message: 'Message',
|
|
752
|
+
requestId: 'RequestId',
|
|
753
|
+
success: 'Success',
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
static types(): { [key: string]: any } {
|
|
758
|
+
return {
|
|
759
|
+
code: 'number',
|
|
760
|
+
data: CreateUploadPolicyResponseBodyData,
|
|
761
|
+
message: 'string',
|
|
762
|
+
requestId: 'string',
|
|
763
|
+
success: 'boolean',
|
|
764
|
+
};
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
constructor(map?: { [key: string]: any }) {
|
|
768
|
+
super(map);
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
export class CreateUploadPolicyResponse extends $tea.Model {
|
|
773
|
+
headers: { [key: string]: string };
|
|
774
|
+
statusCode: number;
|
|
775
|
+
body: CreateUploadPolicyResponseBody;
|
|
776
|
+
static names(): { [key: string]: string } {
|
|
777
|
+
return {
|
|
778
|
+
headers: 'headers',
|
|
779
|
+
statusCode: 'statusCode',
|
|
780
|
+
body: 'body',
|
|
781
|
+
};
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
static types(): { [key: string]: any } {
|
|
785
|
+
return {
|
|
786
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
787
|
+
statusCode: 'number',
|
|
788
|
+
body: CreateUploadPolicyResponseBody,
|
|
789
|
+
};
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
constructor(map?: { [key: string]: any }) {
|
|
793
|
+
super(map);
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
|
|
635
797
|
export class DetailProjectRequest extends $tea.Model {
|
|
636
798
|
id?: string;
|
|
637
799
|
static names(): { [key: string]: string } {
|
|
@@ -745,6 +907,7 @@ export class DetailSceneRequest extends $tea.Model {
|
|
|
745
907
|
}
|
|
746
908
|
|
|
747
909
|
export class DetailSceneResponseBody extends $tea.Model {
|
|
910
|
+
captures?: DetailSceneResponseBodyCaptures[];
|
|
748
911
|
code?: number;
|
|
749
912
|
coverUrl?: string;
|
|
750
913
|
gmtCreate?: number;
|
|
@@ -756,11 +919,14 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
756
919
|
published?: boolean;
|
|
757
920
|
requestId?: string;
|
|
758
921
|
sourceNum?: number;
|
|
922
|
+
status?: string;
|
|
923
|
+
statusName?: string;
|
|
759
924
|
subSceneNum?: number;
|
|
760
925
|
success?: boolean;
|
|
761
926
|
type?: string;
|
|
762
927
|
static names(): { [key: string]: string } {
|
|
763
928
|
return {
|
|
929
|
+
captures: 'Captures',
|
|
764
930
|
code: 'Code',
|
|
765
931
|
coverUrl: 'CoverUrl',
|
|
766
932
|
gmtCreate: 'GmtCreate',
|
|
@@ -772,6 +938,8 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
772
938
|
published: 'Published',
|
|
773
939
|
requestId: 'RequestId',
|
|
774
940
|
sourceNum: 'SourceNum',
|
|
941
|
+
status: 'Status',
|
|
942
|
+
statusName: 'StatusName',
|
|
775
943
|
subSceneNum: 'SubSceneNum',
|
|
776
944
|
success: 'Success',
|
|
777
945
|
type: 'Type',
|
|
@@ -780,6 +948,7 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
780
948
|
|
|
781
949
|
static types(): { [key: string]: any } {
|
|
782
950
|
return {
|
|
951
|
+
captures: { 'type': 'array', 'itemType': DetailSceneResponseBodyCaptures },
|
|
783
952
|
code: 'number',
|
|
784
953
|
coverUrl: 'string',
|
|
785
954
|
gmtCreate: 'number',
|
|
@@ -791,6 +960,8 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
791
960
|
published: 'boolean',
|
|
792
961
|
requestId: 'string',
|
|
793
962
|
sourceNum: 'number',
|
|
963
|
+
status: 'string',
|
|
964
|
+
statusName: 'string',
|
|
794
965
|
subSceneNum: 'number',
|
|
795
966
|
success: 'boolean',
|
|
796
967
|
type: 'string',
|
|
@@ -858,6 +1029,7 @@ export class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
858
1029
|
message?: string;
|
|
859
1030
|
name?: string;
|
|
860
1031
|
originUrl?: string;
|
|
1032
|
+
position?: string;
|
|
861
1033
|
requestId?: string;
|
|
862
1034
|
resourceId?: string;
|
|
863
1035
|
status?: number;
|
|
@@ -877,6 +1049,7 @@ export class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
877
1049
|
message: 'Message',
|
|
878
1050
|
name: 'Name',
|
|
879
1051
|
originUrl: 'OriginUrl',
|
|
1052
|
+
position: 'Position',
|
|
880
1053
|
requestId: 'RequestId',
|
|
881
1054
|
resourceId: 'ResourceId',
|
|
882
1055
|
status: 'Status',
|
|
@@ -899,6 +1072,7 @@ export class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
899
1072
|
message: 'string',
|
|
900
1073
|
name: 'string',
|
|
901
1074
|
originUrl: 'string',
|
|
1075
|
+
position: 'string',
|
|
902
1076
|
requestId: 'string',
|
|
903
1077
|
resourceId: 'string',
|
|
904
1078
|
status: 'number',
|
|
@@ -2286,15 +2460,18 @@ export class GetScenePreviewInfoResponse extends $tea.Model {
|
|
|
2286
2460
|
}
|
|
2287
2461
|
|
|
2288
2462
|
export class GetScenePreviewResourceRequest extends $tea.Model {
|
|
2463
|
+
draft?: boolean;
|
|
2289
2464
|
previewToken?: string;
|
|
2290
2465
|
static names(): { [key: string]: string } {
|
|
2291
2466
|
return {
|
|
2467
|
+
draft: 'Draft',
|
|
2292
2468
|
previewToken: 'PreviewToken',
|
|
2293
2469
|
};
|
|
2294
2470
|
}
|
|
2295
2471
|
|
|
2296
2472
|
static types(): { [key: string]: any } {
|
|
2297
2473
|
return {
|
|
2474
|
+
draft: 'boolean',
|
|
2298
2475
|
previewToken: 'string',
|
|
2299
2476
|
};
|
|
2300
2477
|
}
|
|
@@ -3680,6 +3857,78 @@ export class PublishHotspotResponse extends $tea.Model {
|
|
|
3680
3857
|
}
|
|
3681
3858
|
}
|
|
3682
3859
|
|
|
3860
|
+
export class PublishHotspotConfigRequest extends $tea.Model {
|
|
3861
|
+
sceneId?: string;
|
|
3862
|
+
static names(): { [key: string]: string } {
|
|
3863
|
+
return {
|
|
3864
|
+
sceneId: 'SceneId',
|
|
3865
|
+
};
|
|
3866
|
+
}
|
|
3867
|
+
|
|
3868
|
+
static types(): { [key: string]: any } {
|
|
3869
|
+
return {
|
|
3870
|
+
sceneId: 'string',
|
|
3871
|
+
};
|
|
3872
|
+
}
|
|
3873
|
+
|
|
3874
|
+
constructor(map?: { [key: string]: any }) {
|
|
3875
|
+
super(map);
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3878
|
+
|
|
3879
|
+
export class PublishHotspotConfigResponseBody extends $tea.Model {
|
|
3880
|
+
code?: number;
|
|
3881
|
+
message?: string;
|
|
3882
|
+
requestId?: string;
|
|
3883
|
+
success?: boolean;
|
|
3884
|
+
static names(): { [key: string]: string } {
|
|
3885
|
+
return {
|
|
3886
|
+
code: 'Code',
|
|
3887
|
+
message: 'Message',
|
|
3888
|
+
requestId: 'RequestId',
|
|
3889
|
+
success: 'Success',
|
|
3890
|
+
};
|
|
3891
|
+
}
|
|
3892
|
+
|
|
3893
|
+
static types(): { [key: string]: any } {
|
|
3894
|
+
return {
|
|
3895
|
+
code: 'number',
|
|
3896
|
+
message: 'string',
|
|
3897
|
+
requestId: 'string',
|
|
3898
|
+
success: 'boolean',
|
|
3899
|
+
};
|
|
3900
|
+
}
|
|
3901
|
+
|
|
3902
|
+
constructor(map?: { [key: string]: any }) {
|
|
3903
|
+
super(map);
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
export class PublishHotspotConfigResponse extends $tea.Model {
|
|
3908
|
+
headers: { [key: string]: string };
|
|
3909
|
+
statusCode: number;
|
|
3910
|
+
body: PublishHotspotConfigResponseBody;
|
|
3911
|
+
static names(): { [key: string]: string } {
|
|
3912
|
+
return {
|
|
3913
|
+
headers: 'headers',
|
|
3914
|
+
statusCode: 'statusCode',
|
|
3915
|
+
body: 'body',
|
|
3916
|
+
};
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3919
|
+
static types(): { [key: string]: any } {
|
|
3920
|
+
return {
|
|
3921
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3922
|
+
statusCode: 'number',
|
|
3923
|
+
body: PublishHotspotConfigResponseBody,
|
|
3924
|
+
};
|
|
3925
|
+
}
|
|
3926
|
+
|
|
3927
|
+
constructor(map?: { [key: string]: any }) {
|
|
3928
|
+
super(map);
|
|
3929
|
+
}
|
|
3930
|
+
}
|
|
3931
|
+
|
|
3683
3932
|
export class PublishSceneRequest extends $tea.Model {
|
|
3684
3933
|
sceneId?: string;
|
|
3685
3934
|
static names(): { [key: string]: string } {
|
|
@@ -4286,16 +4535,19 @@ export class SaveHotspotTagResponse extends $tea.Model {
|
|
|
4286
4535
|
}
|
|
4287
4536
|
}
|
|
4288
4537
|
|
|
4289
|
-
export class
|
|
4538
|
+
export class SaveHotspotTagListRequest extends $tea.Model {
|
|
4539
|
+
hotspotListJson?: string;
|
|
4290
4540
|
sceneId?: string;
|
|
4291
4541
|
static names(): { [key: string]: string } {
|
|
4292
4542
|
return {
|
|
4543
|
+
hotspotListJson: 'HotspotListJson',
|
|
4293
4544
|
sceneId: 'SceneId',
|
|
4294
4545
|
};
|
|
4295
4546
|
}
|
|
4296
4547
|
|
|
4297
4548
|
static types(): { [key: string]: any } {
|
|
4298
4549
|
return {
|
|
4550
|
+
hotspotListJson: 'string',
|
|
4299
4551
|
sceneId: 'string',
|
|
4300
4552
|
};
|
|
4301
4553
|
}
|
|
@@ -4305,17 +4557,15 @@ export class ScenePublishRequest extends $tea.Model {
|
|
|
4305
4557
|
}
|
|
4306
4558
|
}
|
|
4307
4559
|
|
|
4308
|
-
export class
|
|
4560
|
+
export class SaveHotspotTagListResponseBody extends $tea.Model {
|
|
4309
4561
|
code?: number;
|
|
4310
4562
|
message?: string;
|
|
4311
|
-
previewUrl?: string;
|
|
4312
4563
|
requestId?: string;
|
|
4313
4564
|
success?: boolean;
|
|
4314
4565
|
static names(): { [key: string]: string } {
|
|
4315
4566
|
return {
|
|
4316
4567
|
code: 'Code',
|
|
4317
4568
|
message: 'Message',
|
|
4318
|
-
previewUrl: 'PreviewUrl',
|
|
4319
4569
|
requestId: 'RequestId',
|
|
4320
4570
|
success: 'Success',
|
|
4321
4571
|
};
|
|
@@ -4325,7 +4575,6 @@ export class ScenePublishResponseBody extends $tea.Model {
|
|
|
4325
4575
|
return {
|
|
4326
4576
|
code: 'number',
|
|
4327
4577
|
message: 'string',
|
|
4328
|
-
previewUrl: 'string',
|
|
4329
4578
|
requestId: 'string',
|
|
4330
4579
|
success: 'boolean',
|
|
4331
4580
|
};
|
|
@@ -4336,10 +4585,10 @@ export class ScenePublishResponseBody extends $tea.Model {
|
|
|
4336
4585
|
}
|
|
4337
4586
|
}
|
|
4338
4587
|
|
|
4339
|
-
export class
|
|
4588
|
+
export class SaveHotspotTagListResponse extends $tea.Model {
|
|
4340
4589
|
headers: { [key: string]: string };
|
|
4341
4590
|
statusCode: number;
|
|
4342
|
-
body:
|
|
4591
|
+
body: SaveHotspotTagListResponseBody;
|
|
4343
4592
|
static names(): { [key: string]: string } {
|
|
4344
4593
|
return {
|
|
4345
4594
|
headers: 'headers',
|
|
@@ -4352,7 +4601,7 @@ export class ScenePublishResponse extends $tea.Model {
|
|
|
4352
4601
|
return {
|
|
4353
4602
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4354
4603
|
statusCode: 'number',
|
|
4355
|
-
body:
|
|
4604
|
+
body: SaveHotspotTagListResponseBody,
|
|
4356
4605
|
};
|
|
4357
4606
|
}
|
|
4358
4607
|
|
|
@@ -4361,16 +4610,19 @@ export class ScenePublishResponse extends $tea.Model {
|
|
|
4361
4610
|
}
|
|
4362
4611
|
}
|
|
4363
4612
|
|
|
4364
|
-
export class
|
|
4613
|
+
export class SaveMinimapRequest extends $tea.Model {
|
|
4614
|
+
data?: string;
|
|
4365
4615
|
sceneId?: string;
|
|
4366
4616
|
static names(): { [key: string]: string } {
|
|
4367
4617
|
return {
|
|
4618
|
+
data: 'Data',
|
|
4368
4619
|
sceneId: 'SceneId',
|
|
4369
4620
|
};
|
|
4370
4621
|
}
|
|
4371
4622
|
|
|
4372
4623
|
static types(): { [key: string]: any } {
|
|
4373
4624
|
return {
|
|
4625
|
+
data: 'string',
|
|
4374
4626
|
sceneId: 'string',
|
|
4375
4627
|
};
|
|
4376
4628
|
}
|
|
@@ -4380,20 +4632,16 @@ export class TempPreviewRequest extends $tea.Model {
|
|
|
4380
4632
|
}
|
|
4381
4633
|
}
|
|
4382
4634
|
|
|
4383
|
-
export class
|
|
4635
|
+
export class SaveMinimapResponseBody extends $tea.Model {
|
|
4384
4636
|
code?: number;
|
|
4385
4637
|
message?: string;
|
|
4386
|
-
previewUrl?: string;
|
|
4387
4638
|
requestId?: string;
|
|
4388
|
-
sceneId?: string;
|
|
4389
4639
|
success?: boolean;
|
|
4390
4640
|
static names(): { [key: string]: string } {
|
|
4391
4641
|
return {
|
|
4392
4642
|
code: 'Code',
|
|
4393
4643
|
message: 'Message',
|
|
4394
|
-
previewUrl: 'PreviewUrl',
|
|
4395
4644
|
requestId: 'RequestId',
|
|
4396
|
-
sceneId: 'SceneId',
|
|
4397
4645
|
success: 'Success',
|
|
4398
4646
|
};
|
|
4399
4647
|
}
|
|
@@ -4402,9 +4650,7 @@ export class TempPreviewResponseBody extends $tea.Model {
|
|
|
4402
4650
|
return {
|
|
4403
4651
|
code: 'number',
|
|
4404
4652
|
message: 'string',
|
|
4405
|
-
previewUrl: 'string',
|
|
4406
4653
|
requestId: 'string',
|
|
4407
|
-
sceneId: 'string',
|
|
4408
4654
|
success: 'boolean',
|
|
4409
4655
|
};
|
|
4410
4656
|
}
|
|
@@ -4414,10 +4660,10 @@ export class TempPreviewResponseBody extends $tea.Model {
|
|
|
4414
4660
|
}
|
|
4415
4661
|
}
|
|
4416
4662
|
|
|
4417
|
-
export class
|
|
4663
|
+
export class SaveMinimapResponse extends $tea.Model {
|
|
4418
4664
|
headers: { [key: string]: string };
|
|
4419
4665
|
statusCode: number;
|
|
4420
|
-
body:
|
|
4666
|
+
body: SaveMinimapResponseBody;
|
|
4421
4667
|
static names(): { [key: string]: string } {
|
|
4422
4668
|
return {
|
|
4423
4669
|
headers: 'headers',
|
|
@@ -4430,7 +4676,7 @@ export class TempPreviewResponse extends $tea.Model {
|
|
|
4430
4676
|
return {
|
|
4431
4677
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4432
4678
|
statusCode: 'number',
|
|
4433
|
-
body:
|
|
4679
|
+
body: SaveMinimapResponseBody,
|
|
4434
4680
|
};
|
|
4435
4681
|
}
|
|
4436
4682
|
|
|
@@ -4439,16 +4685,19 @@ export class TempPreviewResponse extends $tea.Model {
|
|
|
4439
4685
|
}
|
|
4440
4686
|
}
|
|
4441
4687
|
|
|
4442
|
-
export class
|
|
4688
|
+
export class SaveModelConfigRequest extends $tea.Model {
|
|
4689
|
+
data?: string;
|
|
4443
4690
|
sceneId?: string;
|
|
4444
4691
|
static names(): { [key: string]: string } {
|
|
4445
4692
|
return {
|
|
4693
|
+
data: 'Data',
|
|
4446
4694
|
sceneId: 'SceneId',
|
|
4447
4695
|
};
|
|
4448
4696
|
}
|
|
4449
4697
|
|
|
4450
4698
|
static types(): { [key: string]: any } {
|
|
4451
4699
|
return {
|
|
4700
|
+
data: 'string',
|
|
4452
4701
|
sceneId: 'string',
|
|
4453
4702
|
};
|
|
4454
4703
|
}
|
|
@@ -4458,18 +4707,16 @@ export class TempPreviewStatusRequest extends $tea.Model {
|
|
|
4458
4707
|
}
|
|
4459
4708
|
}
|
|
4460
4709
|
|
|
4461
|
-
export class
|
|
4710
|
+
export class SaveModelConfigResponseBody extends $tea.Model {
|
|
4462
4711
|
code?: number;
|
|
4463
4712
|
message?: string;
|
|
4464
4713
|
requestId?: string;
|
|
4465
|
-
status?: string;
|
|
4466
4714
|
success?: boolean;
|
|
4467
4715
|
static names(): { [key: string]: string } {
|
|
4468
4716
|
return {
|
|
4469
4717
|
code: 'Code',
|
|
4470
4718
|
message: 'Message',
|
|
4471
4719
|
requestId: 'RequestId',
|
|
4472
|
-
status: 'Status',
|
|
4473
4720
|
success: 'Success',
|
|
4474
4721
|
};
|
|
4475
4722
|
}
|
|
@@ -4479,7 +4726,6 @@ export class TempPreviewStatusResponseBody extends $tea.Model {
|
|
|
4479
4726
|
code: 'number',
|
|
4480
4727
|
message: 'string',
|
|
4481
4728
|
requestId: 'string',
|
|
4482
|
-
status: 'string',
|
|
4483
4729
|
success: 'boolean',
|
|
4484
4730
|
};
|
|
4485
4731
|
}
|
|
@@ -4489,10 +4735,10 @@ export class TempPreviewStatusResponseBody extends $tea.Model {
|
|
|
4489
4735
|
}
|
|
4490
4736
|
}
|
|
4491
4737
|
|
|
4492
|
-
export class
|
|
4738
|
+
export class SaveModelConfigResponse extends $tea.Model {
|
|
4493
4739
|
headers: { [key: string]: string };
|
|
4494
4740
|
statusCode: number;
|
|
4495
|
-
body:
|
|
4741
|
+
body: SaveModelConfigResponseBody;
|
|
4496
4742
|
static names(): { [key: string]: string } {
|
|
4497
4743
|
return {
|
|
4498
4744
|
headers: 'headers',
|
|
@@ -4505,7 +4751,7 @@ export class TempPreviewStatusResponse extends $tea.Model {
|
|
|
4505
4751
|
return {
|
|
4506
4752
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4507
4753
|
statusCode: 'number',
|
|
4508
|
-
body:
|
|
4754
|
+
body: SaveModelConfigResponseBody,
|
|
4509
4755
|
};
|
|
4510
4756
|
}
|
|
4511
4757
|
|
|
@@ -4514,19 +4760,247 @@ export class TempPreviewStatusResponse extends $tea.Model {
|
|
|
4514
4760
|
}
|
|
4515
4761
|
}
|
|
4516
4762
|
|
|
4517
|
-
export class
|
|
4518
|
-
connData?: string;
|
|
4763
|
+
export class ScenePublishRequest extends $tea.Model {
|
|
4519
4764
|
sceneId?: string;
|
|
4520
4765
|
static names(): { [key: string]: string } {
|
|
4521
4766
|
return {
|
|
4522
|
-
connData: 'ConnData',
|
|
4523
4767
|
sceneId: 'SceneId',
|
|
4524
4768
|
};
|
|
4525
4769
|
}
|
|
4526
4770
|
|
|
4527
4771
|
static types(): { [key: string]: any } {
|
|
4528
4772
|
return {
|
|
4529
|
-
|
|
4773
|
+
sceneId: 'string',
|
|
4774
|
+
};
|
|
4775
|
+
}
|
|
4776
|
+
|
|
4777
|
+
constructor(map?: { [key: string]: any }) {
|
|
4778
|
+
super(map);
|
|
4779
|
+
}
|
|
4780
|
+
}
|
|
4781
|
+
|
|
4782
|
+
export class ScenePublishResponseBody extends $tea.Model {
|
|
4783
|
+
code?: number;
|
|
4784
|
+
message?: string;
|
|
4785
|
+
previewUrl?: string;
|
|
4786
|
+
requestId?: string;
|
|
4787
|
+
success?: boolean;
|
|
4788
|
+
static names(): { [key: string]: string } {
|
|
4789
|
+
return {
|
|
4790
|
+
code: 'Code',
|
|
4791
|
+
message: 'Message',
|
|
4792
|
+
previewUrl: 'PreviewUrl',
|
|
4793
|
+
requestId: 'RequestId',
|
|
4794
|
+
success: 'Success',
|
|
4795
|
+
};
|
|
4796
|
+
}
|
|
4797
|
+
|
|
4798
|
+
static types(): { [key: string]: any } {
|
|
4799
|
+
return {
|
|
4800
|
+
code: 'number',
|
|
4801
|
+
message: 'string',
|
|
4802
|
+
previewUrl: 'string',
|
|
4803
|
+
requestId: 'string',
|
|
4804
|
+
success: 'boolean',
|
|
4805
|
+
};
|
|
4806
|
+
}
|
|
4807
|
+
|
|
4808
|
+
constructor(map?: { [key: string]: any }) {
|
|
4809
|
+
super(map);
|
|
4810
|
+
}
|
|
4811
|
+
}
|
|
4812
|
+
|
|
4813
|
+
export class ScenePublishResponse extends $tea.Model {
|
|
4814
|
+
headers: { [key: string]: string };
|
|
4815
|
+
statusCode: number;
|
|
4816
|
+
body: ScenePublishResponseBody;
|
|
4817
|
+
static names(): { [key: string]: string } {
|
|
4818
|
+
return {
|
|
4819
|
+
headers: 'headers',
|
|
4820
|
+
statusCode: 'statusCode',
|
|
4821
|
+
body: 'body',
|
|
4822
|
+
};
|
|
4823
|
+
}
|
|
4824
|
+
|
|
4825
|
+
static types(): { [key: string]: any } {
|
|
4826
|
+
return {
|
|
4827
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4828
|
+
statusCode: 'number',
|
|
4829
|
+
body: ScenePublishResponseBody,
|
|
4830
|
+
};
|
|
4831
|
+
}
|
|
4832
|
+
|
|
4833
|
+
constructor(map?: { [key: string]: any }) {
|
|
4834
|
+
super(map);
|
|
4835
|
+
}
|
|
4836
|
+
}
|
|
4837
|
+
|
|
4838
|
+
export class TempPreviewRequest extends $tea.Model {
|
|
4839
|
+
sceneId?: string;
|
|
4840
|
+
static names(): { [key: string]: string } {
|
|
4841
|
+
return {
|
|
4842
|
+
sceneId: 'SceneId',
|
|
4843
|
+
};
|
|
4844
|
+
}
|
|
4845
|
+
|
|
4846
|
+
static types(): { [key: string]: any } {
|
|
4847
|
+
return {
|
|
4848
|
+
sceneId: 'string',
|
|
4849
|
+
};
|
|
4850
|
+
}
|
|
4851
|
+
|
|
4852
|
+
constructor(map?: { [key: string]: any }) {
|
|
4853
|
+
super(map);
|
|
4854
|
+
}
|
|
4855
|
+
}
|
|
4856
|
+
|
|
4857
|
+
export class TempPreviewResponseBody extends $tea.Model {
|
|
4858
|
+
code?: number;
|
|
4859
|
+
message?: string;
|
|
4860
|
+
previewUrl?: string;
|
|
4861
|
+
requestId?: string;
|
|
4862
|
+
sceneId?: string;
|
|
4863
|
+
success?: boolean;
|
|
4864
|
+
static names(): { [key: string]: string } {
|
|
4865
|
+
return {
|
|
4866
|
+
code: 'Code',
|
|
4867
|
+
message: 'Message',
|
|
4868
|
+
previewUrl: 'PreviewUrl',
|
|
4869
|
+
requestId: 'RequestId',
|
|
4870
|
+
sceneId: 'SceneId',
|
|
4871
|
+
success: 'Success',
|
|
4872
|
+
};
|
|
4873
|
+
}
|
|
4874
|
+
|
|
4875
|
+
static types(): { [key: string]: any } {
|
|
4876
|
+
return {
|
|
4877
|
+
code: 'number',
|
|
4878
|
+
message: 'string',
|
|
4879
|
+
previewUrl: 'string',
|
|
4880
|
+
requestId: 'string',
|
|
4881
|
+
sceneId: 'string',
|
|
4882
|
+
success: 'boolean',
|
|
4883
|
+
};
|
|
4884
|
+
}
|
|
4885
|
+
|
|
4886
|
+
constructor(map?: { [key: string]: any }) {
|
|
4887
|
+
super(map);
|
|
4888
|
+
}
|
|
4889
|
+
}
|
|
4890
|
+
|
|
4891
|
+
export class TempPreviewResponse extends $tea.Model {
|
|
4892
|
+
headers: { [key: string]: string };
|
|
4893
|
+
statusCode: number;
|
|
4894
|
+
body: TempPreviewResponseBody;
|
|
4895
|
+
static names(): { [key: string]: string } {
|
|
4896
|
+
return {
|
|
4897
|
+
headers: 'headers',
|
|
4898
|
+
statusCode: 'statusCode',
|
|
4899
|
+
body: 'body',
|
|
4900
|
+
};
|
|
4901
|
+
}
|
|
4902
|
+
|
|
4903
|
+
static types(): { [key: string]: any } {
|
|
4904
|
+
return {
|
|
4905
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4906
|
+
statusCode: 'number',
|
|
4907
|
+
body: TempPreviewResponseBody,
|
|
4908
|
+
};
|
|
4909
|
+
}
|
|
4910
|
+
|
|
4911
|
+
constructor(map?: { [key: string]: any }) {
|
|
4912
|
+
super(map);
|
|
4913
|
+
}
|
|
4914
|
+
}
|
|
4915
|
+
|
|
4916
|
+
export class TempPreviewStatusRequest extends $tea.Model {
|
|
4917
|
+
sceneId?: string;
|
|
4918
|
+
static names(): { [key: string]: string } {
|
|
4919
|
+
return {
|
|
4920
|
+
sceneId: 'SceneId',
|
|
4921
|
+
};
|
|
4922
|
+
}
|
|
4923
|
+
|
|
4924
|
+
static types(): { [key: string]: any } {
|
|
4925
|
+
return {
|
|
4926
|
+
sceneId: 'string',
|
|
4927
|
+
};
|
|
4928
|
+
}
|
|
4929
|
+
|
|
4930
|
+
constructor(map?: { [key: string]: any }) {
|
|
4931
|
+
super(map);
|
|
4932
|
+
}
|
|
4933
|
+
}
|
|
4934
|
+
|
|
4935
|
+
export class TempPreviewStatusResponseBody extends $tea.Model {
|
|
4936
|
+
code?: number;
|
|
4937
|
+
message?: string;
|
|
4938
|
+
requestId?: string;
|
|
4939
|
+
status?: string;
|
|
4940
|
+
success?: boolean;
|
|
4941
|
+
static names(): { [key: string]: string } {
|
|
4942
|
+
return {
|
|
4943
|
+
code: 'Code',
|
|
4944
|
+
message: 'Message',
|
|
4945
|
+
requestId: 'RequestId',
|
|
4946
|
+
status: 'Status',
|
|
4947
|
+
success: 'Success',
|
|
4948
|
+
};
|
|
4949
|
+
}
|
|
4950
|
+
|
|
4951
|
+
static types(): { [key: string]: any } {
|
|
4952
|
+
return {
|
|
4953
|
+
code: 'number',
|
|
4954
|
+
message: 'string',
|
|
4955
|
+
requestId: 'string',
|
|
4956
|
+
status: 'string',
|
|
4957
|
+
success: 'boolean',
|
|
4958
|
+
};
|
|
4959
|
+
}
|
|
4960
|
+
|
|
4961
|
+
constructor(map?: { [key: string]: any }) {
|
|
4962
|
+
super(map);
|
|
4963
|
+
}
|
|
4964
|
+
}
|
|
4965
|
+
|
|
4966
|
+
export class TempPreviewStatusResponse extends $tea.Model {
|
|
4967
|
+
headers: { [key: string]: string };
|
|
4968
|
+
statusCode: number;
|
|
4969
|
+
body: TempPreviewStatusResponseBody;
|
|
4970
|
+
static names(): { [key: string]: string } {
|
|
4971
|
+
return {
|
|
4972
|
+
headers: 'headers',
|
|
4973
|
+
statusCode: 'statusCode',
|
|
4974
|
+
body: 'body',
|
|
4975
|
+
};
|
|
4976
|
+
}
|
|
4977
|
+
|
|
4978
|
+
static types(): { [key: string]: any } {
|
|
4979
|
+
return {
|
|
4980
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4981
|
+
statusCode: 'number',
|
|
4982
|
+
body: TempPreviewStatusResponseBody,
|
|
4983
|
+
};
|
|
4984
|
+
}
|
|
4985
|
+
|
|
4986
|
+
constructor(map?: { [key: string]: any }) {
|
|
4987
|
+
super(map);
|
|
4988
|
+
}
|
|
4989
|
+
}
|
|
4990
|
+
|
|
4991
|
+
export class UpdateConnDataRequest extends $tea.Model {
|
|
4992
|
+
connData?: string;
|
|
4993
|
+
sceneId?: string;
|
|
4994
|
+
static names(): { [key: string]: string } {
|
|
4995
|
+
return {
|
|
4996
|
+
connData: 'ConnData',
|
|
4997
|
+
sceneId: 'SceneId',
|
|
4998
|
+
};
|
|
4999
|
+
}
|
|
5000
|
+
|
|
5001
|
+
static types(): { [key: string]: any } {
|
|
5002
|
+
return {
|
|
5003
|
+
connData: 'string',
|
|
4530
5004
|
sceneId: 'string',
|
|
4531
5005
|
};
|
|
4532
5006
|
}
|
|
@@ -5073,6 +5547,65 @@ export class CopySceneResponseBodyData extends $tea.Model {
|
|
|
5073
5547
|
}
|
|
5074
5548
|
}
|
|
5075
5549
|
|
|
5550
|
+
export class CreateUploadPolicyResponseBodyData extends $tea.Model {
|
|
5551
|
+
accessId?: string;
|
|
5552
|
+
callback?: string;
|
|
5553
|
+
dir?: string;
|
|
5554
|
+
expire?: string;
|
|
5555
|
+
host?: string;
|
|
5556
|
+
policy?: string;
|
|
5557
|
+
signature?: string;
|
|
5558
|
+
static names(): { [key: string]: string } {
|
|
5559
|
+
return {
|
|
5560
|
+
accessId: 'AccessId',
|
|
5561
|
+
callback: 'Callback',
|
|
5562
|
+
dir: 'Dir',
|
|
5563
|
+
expire: 'Expire',
|
|
5564
|
+
host: 'Host',
|
|
5565
|
+
policy: 'Policy',
|
|
5566
|
+
signature: 'Signature',
|
|
5567
|
+
};
|
|
5568
|
+
}
|
|
5569
|
+
|
|
5570
|
+
static types(): { [key: string]: any } {
|
|
5571
|
+
return {
|
|
5572
|
+
accessId: 'string',
|
|
5573
|
+
callback: 'string',
|
|
5574
|
+
dir: 'string',
|
|
5575
|
+
expire: 'string',
|
|
5576
|
+
host: 'string',
|
|
5577
|
+
policy: 'string',
|
|
5578
|
+
signature: 'string',
|
|
5579
|
+
};
|
|
5580
|
+
}
|
|
5581
|
+
|
|
5582
|
+
constructor(map?: { [key: string]: any }) {
|
|
5583
|
+
super(map);
|
|
5584
|
+
}
|
|
5585
|
+
}
|
|
5586
|
+
|
|
5587
|
+
export class DetailSceneResponseBodyCaptures extends $tea.Model {
|
|
5588
|
+
title?: string;
|
|
5589
|
+
url?: string;
|
|
5590
|
+
static names(): { [key: string]: string } {
|
|
5591
|
+
return {
|
|
5592
|
+
title: 'Title',
|
|
5593
|
+
url: 'Url',
|
|
5594
|
+
};
|
|
5595
|
+
}
|
|
5596
|
+
|
|
5597
|
+
static types(): { [key: string]: any } {
|
|
5598
|
+
return {
|
|
5599
|
+
title: 'string',
|
|
5600
|
+
url: 'string',
|
|
5601
|
+
};
|
|
5602
|
+
}
|
|
5603
|
+
|
|
5604
|
+
constructor(map?: { [key: string]: any }) {
|
|
5605
|
+
super(map);
|
|
5606
|
+
}
|
|
5607
|
+
}
|
|
5608
|
+
|
|
5076
5609
|
export class GetConnDataResponseBodyList extends $tea.Model {
|
|
5077
5610
|
id?: string;
|
|
5078
5611
|
mapId?: string;
|
|
@@ -5474,11 +6007,13 @@ export class GetScenePreviewInfoResponseBodyData extends $tea.Model {
|
|
|
5474
6007
|
}
|
|
5475
6008
|
|
|
5476
6009
|
export class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $tea.Model {
|
|
6010
|
+
hotspotTagConfig?: string;
|
|
5477
6011
|
modelConfig?: string;
|
|
5478
6012
|
orthomapConfig?: string;
|
|
5479
6013
|
rootPath?: string;
|
|
5480
6014
|
static names(): { [key: string]: string } {
|
|
5481
6015
|
return {
|
|
6016
|
+
hotspotTagConfig: 'HotspotTagConfig',
|
|
5482
6017
|
modelConfig: 'ModelConfig',
|
|
5483
6018
|
orthomapConfig: 'OrthomapConfig',
|
|
5484
6019
|
rootPath: 'RootPath',
|
|
@@ -5487,6 +6022,7 @@ export class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $t
|
|
|
5487
6022
|
|
|
5488
6023
|
static types(): { [key: string]: any } {
|
|
5489
6024
|
return {
|
|
6025
|
+
hotspotTagConfig: 'string',
|
|
5490
6026
|
modelConfig: 'string',
|
|
5491
6027
|
orthomapConfig: 'string',
|
|
5492
6028
|
rootPath: 'string',
|
|
@@ -5653,6 +6189,8 @@ export class ListSceneResponseBodyList extends $tea.Model {
|
|
|
5653
6189
|
previewToken?: string;
|
|
5654
6190
|
published?: boolean;
|
|
5655
6191
|
sourceNum?: number;
|
|
6192
|
+
status?: string;
|
|
6193
|
+
statusName?: string;
|
|
5656
6194
|
subSceneNum?: number;
|
|
5657
6195
|
type?: string;
|
|
5658
6196
|
static names(): { [key: string]: string } {
|
|
@@ -5665,6 +6203,8 @@ export class ListSceneResponseBodyList extends $tea.Model {
|
|
|
5665
6203
|
previewToken: 'PreviewToken',
|
|
5666
6204
|
published: 'Published',
|
|
5667
6205
|
sourceNum: 'SourceNum',
|
|
6206
|
+
status: 'Status',
|
|
6207
|
+
statusName: 'StatusName',
|
|
5668
6208
|
subSceneNum: 'SubSceneNum',
|
|
5669
6209
|
type: 'Type',
|
|
5670
6210
|
};
|
|
@@ -5680,6 +6220,8 @@ export class ListSceneResponseBodyList extends $tea.Model {
|
|
|
5680
6220
|
previewToken: 'string',
|
|
5681
6221
|
published: 'boolean',
|
|
5682
6222
|
sourceNum: 'number',
|
|
6223
|
+
status: 'string',
|
|
6224
|
+
statusName: 'string',
|
|
5683
6225
|
subSceneNum: 'number',
|
|
5684
6226
|
type: 'string',
|
|
5685
6227
|
};
|
|
@@ -5815,6 +6357,43 @@ export default class Client extends OpenApi {
|
|
|
5815
6357
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
5816
6358
|
}
|
|
5817
6359
|
|
|
6360
|
+
async addHotspotFileWithOptions(request: AddHotspotFileRequest, runtime: $Util.RuntimeOptions): Promise<AddHotspotFileResponse> {
|
|
6361
|
+
Util.validateModel(request);
|
|
6362
|
+
let query = { };
|
|
6363
|
+
if (!Util.isUnset(request.fileName)) {
|
|
6364
|
+
query["FileName"] = request.fileName;
|
|
6365
|
+
}
|
|
6366
|
+
|
|
6367
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
6368
|
+
query["SceneId"] = request.sceneId;
|
|
6369
|
+
}
|
|
6370
|
+
|
|
6371
|
+
if (!Util.isUnset(request.type)) {
|
|
6372
|
+
query["Type"] = request.type;
|
|
6373
|
+
}
|
|
6374
|
+
|
|
6375
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6376
|
+
query: OpenApiUtil.query(query),
|
|
6377
|
+
});
|
|
6378
|
+
let params = new $OpenApi.Params({
|
|
6379
|
+
action: "AddHotspotFile",
|
|
6380
|
+
version: "2020-01-01",
|
|
6381
|
+
protocol: "HTTPS",
|
|
6382
|
+
pathname: "/",
|
|
6383
|
+
method: "POST",
|
|
6384
|
+
authType: "AK",
|
|
6385
|
+
style: "RPC",
|
|
6386
|
+
reqBodyType: "formData",
|
|
6387
|
+
bodyType: "json",
|
|
6388
|
+
});
|
|
6389
|
+
return $tea.cast<AddHotspotFileResponse>(await this.callApi(params, req, runtime), new AddHotspotFileResponse({}));
|
|
6390
|
+
}
|
|
6391
|
+
|
|
6392
|
+
async addHotspotFile(request: AddHotspotFileRequest): Promise<AddHotspotFileResponse> {
|
|
6393
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6394
|
+
return await this.addHotspotFileWithOptions(request, runtime);
|
|
6395
|
+
}
|
|
6396
|
+
|
|
5818
6397
|
async addMosaicsWithOptions(request: AddMosaicsRequest, runtime: $Util.RuntimeOptions): Promise<AddMosaicsResponse> {
|
|
5819
6398
|
Util.validateModel(request);
|
|
5820
6399
|
let query = { };
|
|
@@ -6053,6 +6632,10 @@ export default class Client extends OpenApi {
|
|
|
6053
6632
|
async copySceneWithOptions(request: CopySceneRequest, runtime: $Util.RuntimeOptions): Promise<CopySceneResponse> {
|
|
6054
6633
|
Util.validateModel(request);
|
|
6055
6634
|
let query = { };
|
|
6635
|
+
if (!Util.isUnset(request.projectId)) {
|
|
6636
|
+
query["ProjectId"] = request.projectId;
|
|
6637
|
+
}
|
|
6638
|
+
|
|
6056
6639
|
if (!Util.isUnset(request.sceneId)) {
|
|
6057
6640
|
query["SceneId"] = request.sceneId;
|
|
6058
6641
|
}
|
|
@@ -6083,6 +6666,39 @@ export default class Client extends OpenApi {
|
|
|
6083
6666
|
return await this.copySceneWithOptions(request, runtime);
|
|
6084
6667
|
}
|
|
6085
6668
|
|
|
6669
|
+
async createUploadPolicyWithOptions(request: CreateUploadPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateUploadPolicyResponse> {
|
|
6670
|
+
Util.validateModel(request);
|
|
6671
|
+
let query = { };
|
|
6672
|
+
if (!Util.isUnset(request.option)) {
|
|
6673
|
+
query["Option"] = request.option;
|
|
6674
|
+
}
|
|
6675
|
+
|
|
6676
|
+
if (!Util.isUnset(request.type)) {
|
|
6677
|
+
query["Type"] = request.type;
|
|
6678
|
+
}
|
|
6679
|
+
|
|
6680
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6681
|
+
query: OpenApiUtil.query(query),
|
|
6682
|
+
});
|
|
6683
|
+
let params = new $OpenApi.Params({
|
|
6684
|
+
action: "CreateUploadPolicy",
|
|
6685
|
+
version: "2020-01-01",
|
|
6686
|
+
protocol: "HTTPS",
|
|
6687
|
+
pathname: "/",
|
|
6688
|
+
method: "POST",
|
|
6689
|
+
authType: "AK",
|
|
6690
|
+
style: "RPC",
|
|
6691
|
+
reqBodyType: "formData",
|
|
6692
|
+
bodyType: "json",
|
|
6693
|
+
});
|
|
6694
|
+
return $tea.cast<CreateUploadPolicyResponse>(await this.callApi(params, req, runtime), new CreateUploadPolicyResponse({}));
|
|
6695
|
+
}
|
|
6696
|
+
|
|
6697
|
+
async createUploadPolicy(request: CreateUploadPolicyRequest): Promise<CreateUploadPolicyResponse> {
|
|
6698
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6699
|
+
return await this.createUploadPolicyWithOptions(request, runtime);
|
|
6700
|
+
}
|
|
6701
|
+
|
|
6086
6702
|
async detailProjectWithOptions(request: DetailProjectRequest, runtime: $Util.RuntimeOptions): Promise<DetailProjectResponse> {
|
|
6087
6703
|
Util.validateModel(request);
|
|
6088
6704
|
let query = { };
|
|
@@ -6730,6 +7346,10 @@ export default class Client extends OpenApi {
|
|
|
6730
7346
|
async getScenePreviewResourceWithOptions(request: GetScenePreviewResourceRequest, runtime: $Util.RuntimeOptions): Promise<GetScenePreviewResourceResponse> {
|
|
6731
7347
|
Util.validateModel(request);
|
|
6732
7348
|
let query = { };
|
|
7349
|
+
if (!Util.isUnset(request.draft)) {
|
|
7350
|
+
query["Draft"] = request.draft;
|
|
7351
|
+
}
|
|
7352
|
+
|
|
6733
7353
|
if (!Util.isUnset(request.previewToken)) {
|
|
6734
7354
|
query["PreviewToken"] = request.previewToken;
|
|
6735
7355
|
}
|
|
@@ -7312,6 +7932,35 @@ export default class Client extends OpenApi {
|
|
|
7312
7932
|
return await this.publishHotspotWithOptions(request, runtime);
|
|
7313
7933
|
}
|
|
7314
7934
|
|
|
7935
|
+
async publishHotspotConfigWithOptions(request: PublishHotspotConfigRequest, runtime: $Util.RuntimeOptions): Promise<PublishHotspotConfigResponse> {
|
|
7936
|
+
Util.validateModel(request);
|
|
7937
|
+
let query = { };
|
|
7938
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
7939
|
+
query["SceneId"] = request.sceneId;
|
|
7940
|
+
}
|
|
7941
|
+
|
|
7942
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7943
|
+
query: OpenApiUtil.query(query),
|
|
7944
|
+
});
|
|
7945
|
+
let params = new $OpenApi.Params({
|
|
7946
|
+
action: "PublishHotspotConfig",
|
|
7947
|
+
version: "2020-01-01",
|
|
7948
|
+
protocol: "HTTPS",
|
|
7949
|
+
pathname: "/",
|
|
7950
|
+
method: "POST",
|
|
7951
|
+
authType: "AK",
|
|
7952
|
+
style: "RPC",
|
|
7953
|
+
reqBodyType: "formData",
|
|
7954
|
+
bodyType: "json",
|
|
7955
|
+
});
|
|
7956
|
+
return $tea.cast<PublishHotspotConfigResponse>(await this.callApi(params, req, runtime), new PublishHotspotConfigResponse({}));
|
|
7957
|
+
}
|
|
7958
|
+
|
|
7959
|
+
async publishHotspotConfig(request: PublishHotspotConfigRequest): Promise<PublishHotspotConfigResponse> {
|
|
7960
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7961
|
+
return await this.publishHotspotConfigWithOptions(request, runtime);
|
|
7962
|
+
}
|
|
7963
|
+
|
|
7315
7964
|
async publishSceneWithOptions(request: PublishSceneRequest, runtime: $Util.RuntimeOptions): Promise<PublishSceneResponse> {
|
|
7316
7965
|
Util.validateModel(request);
|
|
7317
7966
|
let query = { };
|
|
@@ -7568,6 +8217,105 @@ export default class Client extends OpenApi {
|
|
|
7568
8217
|
return await this.saveHotspotTagWithOptions(request, runtime);
|
|
7569
8218
|
}
|
|
7570
8219
|
|
|
8220
|
+
async saveHotspotTagListWithOptions(request: SaveHotspotTagListRequest, runtime: $Util.RuntimeOptions): Promise<SaveHotspotTagListResponse> {
|
|
8221
|
+
Util.validateModel(request);
|
|
8222
|
+
let query = { };
|
|
8223
|
+
if (!Util.isUnset(request.hotspotListJson)) {
|
|
8224
|
+
query["HotspotListJson"] = request.hotspotListJson;
|
|
8225
|
+
}
|
|
8226
|
+
|
|
8227
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
8228
|
+
query["SceneId"] = request.sceneId;
|
|
8229
|
+
}
|
|
8230
|
+
|
|
8231
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8232
|
+
query: OpenApiUtil.query(query),
|
|
8233
|
+
});
|
|
8234
|
+
let params = new $OpenApi.Params({
|
|
8235
|
+
action: "SaveHotspotTagList",
|
|
8236
|
+
version: "2020-01-01",
|
|
8237
|
+
protocol: "HTTPS",
|
|
8238
|
+
pathname: "/",
|
|
8239
|
+
method: "POST",
|
|
8240
|
+
authType: "AK",
|
|
8241
|
+
style: "RPC",
|
|
8242
|
+
reqBodyType: "formData",
|
|
8243
|
+
bodyType: "json",
|
|
8244
|
+
});
|
|
8245
|
+
return $tea.cast<SaveHotspotTagListResponse>(await this.callApi(params, req, runtime), new SaveHotspotTagListResponse({}));
|
|
8246
|
+
}
|
|
8247
|
+
|
|
8248
|
+
async saveHotspotTagList(request: SaveHotspotTagListRequest): Promise<SaveHotspotTagListResponse> {
|
|
8249
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8250
|
+
return await this.saveHotspotTagListWithOptions(request, runtime);
|
|
8251
|
+
}
|
|
8252
|
+
|
|
8253
|
+
async saveMinimapWithOptions(request: SaveMinimapRequest, runtime: $Util.RuntimeOptions): Promise<SaveMinimapResponse> {
|
|
8254
|
+
Util.validateModel(request);
|
|
8255
|
+
let query = { };
|
|
8256
|
+
if (!Util.isUnset(request.data)) {
|
|
8257
|
+
query["Data"] = request.data;
|
|
8258
|
+
}
|
|
8259
|
+
|
|
8260
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
8261
|
+
query["SceneId"] = request.sceneId;
|
|
8262
|
+
}
|
|
8263
|
+
|
|
8264
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8265
|
+
query: OpenApiUtil.query(query),
|
|
8266
|
+
});
|
|
8267
|
+
let params = new $OpenApi.Params({
|
|
8268
|
+
action: "SaveMinimap",
|
|
8269
|
+
version: "2020-01-01",
|
|
8270
|
+
protocol: "HTTPS",
|
|
8271
|
+
pathname: "/",
|
|
8272
|
+
method: "POST",
|
|
8273
|
+
authType: "AK",
|
|
8274
|
+
style: "RPC",
|
|
8275
|
+
reqBodyType: "formData",
|
|
8276
|
+
bodyType: "json",
|
|
8277
|
+
});
|
|
8278
|
+
return $tea.cast<SaveMinimapResponse>(await this.callApi(params, req, runtime), new SaveMinimapResponse({}));
|
|
8279
|
+
}
|
|
8280
|
+
|
|
8281
|
+
async saveMinimap(request: SaveMinimapRequest): Promise<SaveMinimapResponse> {
|
|
8282
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8283
|
+
return await this.saveMinimapWithOptions(request, runtime);
|
|
8284
|
+
}
|
|
8285
|
+
|
|
8286
|
+
async saveModelConfigWithOptions(request: SaveModelConfigRequest, runtime: $Util.RuntimeOptions): Promise<SaveModelConfigResponse> {
|
|
8287
|
+
Util.validateModel(request);
|
|
8288
|
+
let query = { };
|
|
8289
|
+
if (!Util.isUnset(request.data)) {
|
|
8290
|
+
query["Data"] = request.data;
|
|
8291
|
+
}
|
|
8292
|
+
|
|
8293
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
8294
|
+
query["SceneId"] = request.sceneId;
|
|
8295
|
+
}
|
|
8296
|
+
|
|
8297
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8298
|
+
query: OpenApiUtil.query(query),
|
|
8299
|
+
});
|
|
8300
|
+
let params = new $OpenApi.Params({
|
|
8301
|
+
action: "SaveModelConfig",
|
|
8302
|
+
version: "2020-01-01",
|
|
8303
|
+
protocol: "HTTPS",
|
|
8304
|
+
pathname: "/",
|
|
8305
|
+
method: "POST",
|
|
8306
|
+
authType: "AK",
|
|
8307
|
+
style: "RPC",
|
|
8308
|
+
reqBodyType: "formData",
|
|
8309
|
+
bodyType: "json",
|
|
8310
|
+
});
|
|
8311
|
+
return $tea.cast<SaveModelConfigResponse>(await this.callApi(params, req, runtime), new SaveModelConfigResponse({}));
|
|
8312
|
+
}
|
|
8313
|
+
|
|
8314
|
+
async saveModelConfig(request: SaveModelConfigRequest): Promise<SaveModelConfigResponse> {
|
|
8315
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8316
|
+
return await this.saveModelConfigWithOptions(request, runtime);
|
|
8317
|
+
}
|
|
8318
|
+
|
|
7571
8319
|
async scenePublishWithOptions(request: ScenePublishRequest, runtime: $Util.RuntimeOptions): Promise<ScenePublishResponse> {
|
|
7572
8320
|
Util.validateModel(request);
|
|
7573
8321
|
let query = { };
|