@alicloud/tdsr20200101 3.1.2 → 3.1.5
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 +368 -0
- package/dist/client.js +718 -23
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +859 -5
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,159 @@ 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
|
+
|
|
797
|
+
export class DecryptContentRequest extends $tea.Model {
|
|
798
|
+
content?: string;
|
|
799
|
+
static names(): { [key: string]: string } {
|
|
800
|
+
return {
|
|
801
|
+
content: 'Content',
|
|
802
|
+
};
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
static types(): { [key: string]: any } {
|
|
806
|
+
return {
|
|
807
|
+
content: 'string',
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
constructor(map?: { [key: string]: any }) {
|
|
812
|
+
super(map);
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
export class DecryptContentResponseBody extends $tea.Model {
|
|
817
|
+
code?: number;
|
|
818
|
+
content?: string;
|
|
819
|
+
message?: string;
|
|
820
|
+
requestId?: string;
|
|
821
|
+
success?: boolean;
|
|
822
|
+
static names(): { [key: string]: string } {
|
|
823
|
+
return {
|
|
824
|
+
code: 'Code',
|
|
825
|
+
content: 'Content',
|
|
826
|
+
message: 'Message',
|
|
827
|
+
requestId: 'RequestId',
|
|
828
|
+
success: 'Success',
|
|
829
|
+
};
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
static types(): { [key: string]: any } {
|
|
833
|
+
return {
|
|
834
|
+
code: 'number',
|
|
835
|
+
content: 'string',
|
|
836
|
+
message: 'string',
|
|
837
|
+
requestId: 'string',
|
|
838
|
+
success: 'boolean',
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
constructor(map?: { [key: string]: any }) {
|
|
843
|
+
super(map);
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
export class DecryptContentResponse extends $tea.Model {
|
|
848
|
+
headers: { [key: string]: string };
|
|
849
|
+
statusCode: number;
|
|
850
|
+
body: DecryptContentResponseBody;
|
|
851
|
+
static names(): { [key: string]: string } {
|
|
852
|
+
return {
|
|
853
|
+
headers: 'headers',
|
|
854
|
+
statusCode: 'statusCode',
|
|
855
|
+
body: 'body',
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
static types(): { [key: string]: any } {
|
|
860
|
+
return {
|
|
861
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
862
|
+
statusCode: 'number',
|
|
863
|
+
body: DecryptContentResponseBody,
|
|
864
|
+
};
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
constructor(map?: { [key: string]: any }) {
|
|
868
|
+
super(map);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
|
|
635
872
|
export class DetailProjectRequest extends $tea.Model {
|
|
636
873
|
id?: string;
|
|
637
874
|
static names(): { [key: string]: string } {
|
|
@@ -745,7 +982,9 @@ export class DetailSceneRequest extends $tea.Model {
|
|
|
745
982
|
}
|
|
746
983
|
|
|
747
984
|
export class DetailSceneResponseBody extends $tea.Model {
|
|
985
|
+
captures?: DetailSceneResponseBodyCaptures[];
|
|
748
986
|
code?: number;
|
|
987
|
+
coverUrl?: string;
|
|
749
988
|
gmtCreate?: number;
|
|
750
989
|
gmtModified?: number;
|
|
751
990
|
id?: string;
|
|
@@ -755,12 +994,16 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
755
994
|
published?: boolean;
|
|
756
995
|
requestId?: string;
|
|
757
996
|
sourceNum?: number;
|
|
997
|
+
status?: string;
|
|
998
|
+
statusName?: string;
|
|
758
999
|
subSceneNum?: number;
|
|
759
1000
|
success?: boolean;
|
|
760
1001
|
type?: string;
|
|
761
1002
|
static names(): { [key: string]: string } {
|
|
762
1003
|
return {
|
|
1004
|
+
captures: 'Captures',
|
|
763
1005
|
code: 'Code',
|
|
1006
|
+
coverUrl: 'CoverUrl',
|
|
764
1007
|
gmtCreate: 'GmtCreate',
|
|
765
1008
|
gmtModified: 'GmtModified',
|
|
766
1009
|
id: 'Id',
|
|
@@ -770,6 +1013,8 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
770
1013
|
published: 'Published',
|
|
771
1014
|
requestId: 'RequestId',
|
|
772
1015
|
sourceNum: 'SourceNum',
|
|
1016
|
+
status: 'Status',
|
|
1017
|
+
statusName: 'StatusName',
|
|
773
1018
|
subSceneNum: 'SubSceneNum',
|
|
774
1019
|
success: 'Success',
|
|
775
1020
|
type: 'Type',
|
|
@@ -778,7 +1023,9 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
778
1023
|
|
|
779
1024
|
static types(): { [key: string]: any } {
|
|
780
1025
|
return {
|
|
1026
|
+
captures: { 'type': 'array', 'itemType': DetailSceneResponseBodyCaptures },
|
|
781
1027
|
code: 'number',
|
|
1028
|
+
coverUrl: 'string',
|
|
782
1029
|
gmtCreate: 'number',
|
|
783
1030
|
gmtModified: 'number',
|
|
784
1031
|
id: 'string',
|
|
@@ -788,6 +1035,8 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
788
1035
|
published: 'boolean',
|
|
789
1036
|
requestId: 'string',
|
|
790
1037
|
sourceNum: 'number',
|
|
1038
|
+
status: 'string',
|
|
1039
|
+
statusName: 'string',
|
|
791
1040
|
subSceneNum: 'number',
|
|
792
1041
|
success: 'boolean',
|
|
793
1042
|
type: 'string',
|
|
@@ -855,6 +1104,7 @@ export class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
855
1104
|
message?: string;
|
|
856
1105
|
name?: string;
|
|
857
1106
|
originUrl?: string;
|
|
1107
|
+
position?: string;
|
|
858
1108
|
requestId?: string;
|
|
859
1109
|
resourceId?: string;
|
|
860
1110
|
status?: number;
|
|
@@ -874,6 +1124,7 @@ export class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
874
1124
|
message: 'Message',
|
|
875
1125
|
name: 'Name',
|
|
876
1126
|
originUrl: 'OriginUrl',
|
|
1127
|
+
position: 'Position',
|
|
877
1128
|
requestId: 'RequestId',
|
|
878
1129
|
resourceId: 'ResourceId',
|
|
879
1130
|
status: 'Status',
|
|
@@ -896,6 +1147,7 @@ export class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
896
1147
|
message: 'string',
|
|
897
1148
|
name: 'string',
|
|
898
1149
|
originUrl: 'string',
|
|
1150
|
+
position: 'string',
|
|
899
1151
|
requestId: 'string',
|
|
900
1152
|
resourceId: 'string',
|
|
901
1153
|
status: 'number',
|
|
@@ -1151,6 +1403,81 @@ export class DropSubSceneResponse extends $tea.Model {
|
|
|
1151
1403
|
}
|
|
1152
1404
|
}
|
|
1153
1405
|
|
|
1406
|
+
export class EncryptContentRequest extends $tea.Model {
|
|
1407
|
+
content?: string;
|
|
1408
|
+
static names(): { [key: string]: string } {
|
|
1409
|
+
return {
|
|
1410
|
+
content: 'Content',
|
|
1411
|
+
};
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
static types(): { [key: string]: any } {
|
|
1415
|
+
return {
|
|
1416
|
+
content: 'string',
|
|
1417
|
+
};
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
constructor(map?: { [key: string]: any }) {
|
|
1421
|
+
super(map);
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
export class EncryptContentResponseBody extends $tea.Model {
|
|
1426
|
+
code?: number;
|
|
1427
|
+
content?: string;
|
|
1428
|
+
message?: string;
|
|
1429
|
+
requestId?: string;
|
|
1430
|
+
success?: boolean;
|
|
1431
|
+
static names(): { [key: string]: string } {
|
|
1432
|
+
return {
|
|
1433
|
+
code: 'Code',
|
|
1434
|
+
content: 'Content',
|
|
1435
|
+
message: 'Message',
|
|
1436
|
+
requestId: 'RequestId',
|
|
1437
|
+
success: 'Success',
|
|
1438
|
+
};
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
static types(): { [key: string]: any } {
|
|
1442
|
+
return {
|
|
1443
|
+
code: 'number',
|
|
1444
|
+
content: 'string',
|
|
1445
|
+
message: 'string',
|
|
1446
|
+
requestId: 'string',
|
|
1447
|
+
success: 'boolean',
|
|
1448
|
+
};
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
constructor(map?: { [key: string]: any }) {
|
|
1452
|
+
super(map);
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
export class EncryptContentResponse extends $tea.Model {
|
|
1457
|
+
headers: { [key: string]: string };
|
|
1458
|
+
statusCode: number;
|
|
1459
|
+
body: EncryptContentResponseBody;
|
|
1460
|
+
static names(): { [key: string]: string } {
|
|
1461
|
+
return {
|
|
1462
|
+
headers: 'headers',
|
|
1463
|
+
statusCode: 'statusCode',
|
|
1464
|
+
body: 'body',
|
|
1465
|
+
};
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
static types(): { [key: string]: any } {
|
|
1469
|
+
return {
|
|
1470
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1471
|
+
statusCode: 'number',
|
|
1472
|
+
body: EncryptContentResponseBody,
|
|
1473
|
+
};
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
constructor(map?: { [key: string]: any }) {
|
|
1477
|
+
super(map);
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1154
1481
|
export class GetConnDataRequest extends $tea.Model {
|
|
1155
1482
|
sceneId?: string;
|
|
1156
1483
|
static names(): { [key: string]: string } {
|
|
@@ -2283,15 +2610,18 @@ export class GetScenePreviewInfoResponse extends $tea.Model {
|
|
|
2283
2610
|
}
|
|
2284
2611
|
|
|
2285
2612
|
export class GetScenePreviewResourceRequest extends $tea.Model {
|
|
2613
|
+
draft?: boolean;
|
|
2286
2614
|
previewToken?: string;
|
|
2287
2615
|
static names(): { [key: string]: string } {
|
|
2288
2616
|
return {
|
|
2617
|
+
draft: 'Draft',
|
|
2289
2618
|
previewToken: 'PreviewToken',
|
|
2290
2619
|
};
|
|
2291
2620
|
}
|
|
2292
2621
|
|
|
2293
2622
|
static types(): { [key: string]: any } {
|
|
2294
2623
|
return {
|
|
2624
|
+
draft: 'boolean',
|
|
2295
2625
|
previewToken: 'string',
|
|
2296
2626
|
};
|
|
2297
2627
|
}
|
|
@@ -3677,6 +4007,78 @@ export class PublishHotspotResponse extends $tea.Model {
|
|
|
3677
4007
|
}
|
|
3678
4008
|
}
|
|
3679
4009
|
|
|
4010
|
+
export class PublishHotspotConfigRequest extends $tea.Model {
|
|
4011
|
+
sceneId?: string;
|
|
4012
|
+
static names(): { [key: string]: string } {
|
|
4013
|
+
return {
|
|
4014
|
+
sceneId: 'SceneId',
|
|
4015
|
+
};
|
|
4016
|
+
}
|
|
4017
|
+
|
|
4018
|
+
static types(): { [key: string]: any } {
|
|
4019
|
+
return {
|
|
4020
|
+
sceneId: 'string',
|
|
4021
|
+
};
|
|
4022
|
+
}
|
|
4023
|
+
|
|
4024
|
+
constructor(map?: { [key: string]: any }) {
|
|
4025
|
+
super(map);
|
|
4026
|
+
}
|
|
4027
|
+
}
|
|
4028
|
+
|
|
4029
|
+
export class PublishHotspotConfigResponseBody extends $tea.Model {
|
|
4030
|
+
code?: number;
|
|
4031
|
+
message?: string;
|
|
4032
|
+
requestId?: string;
|
|
4033
|
+
success?: boolean;
|
|
4034
|
+
static names(): { [key: string]: string } {
|
|
4035
|
+
return {
|
|
4036
|
+
code: 'Code',
|
|
4037
|
+
message: 'Message',
|
|
4038
|
+
requestId: 'RequestId',
|
|
4039
|
+
success: 'Success',
|
|
4040
|
+
};
|
|
4041
|
+
}
|
|
4042
|
+
|
|
4043
|
+
static types(): { [key: string]: any } {
|
|
4044
|
+
return {
|
|
4045
|
+
code: 'number',
|
|
4046
|
+
message: 'string',
|
|
4047
|
+
requestId: 'string',
|
|
4048
|
+
success: 'boolean',
|
|
4049
|
+
};
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
constructor(map?: { [key: string]: any }) {
|
|
4053
|
+
super(map);
|
|
4054
|
+
}
|
|
4055
|
+
}
|
|
4056
|
+
|
|
4057
|
+
export class PublishHotspotConfigResponse extends $tea.Model {
|
|
4058
|
+
headers: { [key: string]: string };
|
|
4059
|
+
statusCode: number;
|
|
4060
|
+
body: PublishHotspotConfigResponseBody;
|
|
4061
|
+
static names(): { [key: string]: string } {
|
|
4062
|
+
return {
|
|
4063
|
+
headers: 'headers',
|
|
4064
|
+
statusCode: 'statusCode',
|
|
4065
|
+
body: 'body',
|
|
4066
|
+
};
|
|
4067
|
+
}
|
|
4068
|
+
|
|
4069
|
+
static types(): { [key: string]: any } {
|
|
4070
|
+
return {
|
|
4071
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4072
|
+
statusCode: 'number',
|
|
4073
|
+
body: PublishHotspotConfigResponseBody,
|
|
4074
|
+
};
|
|
4075
|
+
}
|
|
4076
|
+
|
|
4077
|
+
constructor(map?: { [key: string]: any }) {
|
|
4078
|
+
super(map);
|
|
4079
|
+
}
|
|
4080
|
+
}
|
|
4081
|
+
|
|
3680
4082
|
export class PublishSceneRequest extends $tea.Model {
|
|
3681
4083
|
sceneId?: string;
|
|
3682
4084
|
static names(): { [key: string]: string } {
|
|
@@ -4239,7 +4641,156 @@ export class SaveHotspotTagResponseBody extends $tea.Model {
|
|
|
4239
4641
|
success?: boolean;
|
|
4240
4642
|
static names(): { [key: string]: string } {
|
|
4241
4643
|
return {
|
|
4242
|
-
errMessage: 'ErrMessage',
|
|
4644
|
+
errMessage: 'ErrMessage',
|
|
4645
|
+
requestId: 'RequestId',
|
|
4646
|
+
success: 'Success',
|
|
4647
|
+
};
|
|
4648
|
+
}
|
|
4649
|
+
|
|
4650
|
+
static types(): { [key: string]: any } {
|
|
4651
|
+
return {
|
|
4652
|
+
errMessage: 'string',
|
|
4653
|
+
requestId: 'string',
|
|
4654
|
+
success: 'boolean',
|
|
4655
|
+
};
|
|
4656
|
+
}
|
|
4657
|
+
|
|
4658
|
+
constructor(map?: { [key: string]: any }) {
|
|
4659
|
+
super(map);
|
|
4660
|
+
}
|
|
4661
|
+
}
|
|
4662
|
+
|
|
4663
|
+
export class SaveHotspotTagResponse extends $tea.Model {
|
|
4664
|
+
headers: { [key: string]: string };
|
|
4665
|
+
statusCode: number;
|
|
4666
|
+
body: SaveHotspotTagResponseBody;
|
|
4667
|
+
static names(): { [key: string]: string } {
|
|
4668
|
+
return {
|
|
4669
|
+
headers: 'headers',
|
|
4670
|
+
statusCode: 'statusCode',
|
|
4671
|
+
body: 'body',
|
|
4672
|
+
};
|
|
4673
|
+
}
|
|
4674
|
+
|
|
4675
|
+
static types(): { [key: string]: any } {
|
|
4676
|
+
return {
|
|
4677
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4678
|
+
statusCode: 'number',
|
|
4679
|
+
body: SaveHotspotTagResponseBody,
|
|
4680
|
+
};
|
|
4681
|
+
}
|
|
4682
|
+
|
|
4683
|
+
constructor(map?: { [key: string]: any }) {
|
|
4684
|
+
super(map);
|
|
4685
|
+
}
|
|
4686
|
+
}
|
|
4687
|
+
|
|
4688
|
+
export class SaveHotspotTagListRequest extends $tea.Model {
|
|
4689
|
+
hotspotListJson?: string;
|
|
4690
|
+
sceneId?: string;
|
|
4691
|
+
static names(): { [key: string]: string } {
|
|
4692
|
+
return {
|
|
4693
|
+
hotspotListJson: 'HotspotListJson',
|
|
4694
|
+
sceneId: 'SceneId',
|
|
4695
|
+
};
|
|
4696
|
+
}
|
|
4697
|
+
|
|
4698
|
+
static types(): { [key: string]: any } {
|
|
4699
|
+
return {
|
|
4700
|
+
hotspotListJson: 'string',
|
|
4701
|
+
sceneId: 'string',
|
|
4702
|
+
};
|
|
4703
|
+
}
|
|
4704
|
+
|
|
4705
|
+
constructor(map?: { [key: string]: any }) {
|
|
4706
|
+
super(map);
|
|
4707
|
+
}
|
|
4708
|
+
}
|
|
4709
|
+
|
|
4710
|
+
export class SaveHotspotTagListResponseBody extends $tea.Model {
|
|
4711
|
+
code?: number;
|
|
4712
|
+
message?: string;
|
|
4713
|
+
requestId?: string;
|
|
4714
|
+
success?: boolean;
|
|
4715
|
+
static names(): { [key: string]: string } {
|
|
4716
|
+
return {
|
|
4717
|
+
code: 'Code',
|
|
4718
|
+
message: 'Message',
|
|
4719
|
+
requestId: 'RequestId',
|
|
4720
|
+
success: 'Success',
|
|
4721
|
+
};
|
|
4722
|
+
}
|
|
4723
|
+
|
|
4724
|
+
static types(): { [key: string]: any } {
|
|
4725
|
+
return {
|
|
4726
|
+
code: 'number',
|
|
4727
|
+
message: 'string',
|
|
4728
|
+
requestId: 'string',
|
|
4729
|
+
success: 'boolean',
|
|
4730
|
+
};
|
|
4731
|
+
}
|
|
4732
|
+
|
|
4733
|
+
constructor(map?: { [key: string]: any }) {
|
|
4734
|
+
super(map);
|
|
4735
|
+
}
|
|
4736
|
+
}
|
|
4737
|
+
|
|
4738
|
+
export class SaveHotspotTagListResponse extends $tea.Model {
|
|
4739
|
+
headers: { [key: string]: string };
|
|
4740
|
+
statusCode: number;
|
|
4741
|
+
body: SaveHotspotTagListResponseBody;
|
|
4742
|
+
static names(): { [key: string]: string } {
|
|
4743
|
+
return {
|
|
4744
|
+
headers: 'headers',
|
|
4745
|
+
statusCode: 'statusCode',
|
|
4746
|
+
body: 'body',
|
|
4747
|
+
};
|
|
4748
|
+
}
|
|
4749
|
+
|
|
4750
|
+
static types(): { [key: string]: any } {
|
|
4751
|
+
return {
|
|
4752
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4753
|
+
statusCode: 'number',
|
|
4754
|
+
body: SaveHotspotTagListResponseBody,
|
|
4755
|
+
};
|
|
4756
|
+
}
|
|
4757
|
+
|
|
4758
|
+
constructor(map?: { [key: string]: any }) {
|
|
4759
|
+
super(map);
|
|
4760
|
+
}
|
|
4761
|
+
}
|
|
4762
|
+
|
|
4763
|
+
export class SaveModelConfigRequest extends $tea.Model {
|
|
4764
|
+
data?: string;
|
|
4765
|
+
sceneId?: string;
|
|
4766
|
+
static names(): { [key: string]: string } {
|
|
4767
|
+
return {
|
|
4768
|
+
data: 'Data',
|
|
4769
|
+
sceneId: 'SceneId',
|
|
4770
|
+
};
|
|
4771
|
+
}
|
|
4772
|
+
|
|
4773
|
+
static types(): { [key: string]: any } {
|
|
4774
|
+
return {
|
|
4775
|
+
data: 'string',
|
|
4776
|
+
sceneId: 'string',
|
|
4777
|
+
};
|
|
4778
|
+
}
|
|
4779
|
+
|
|
4780
|
+
constructor(map?: { [key: string]: any }) {
|
|
4781
|
+
super(map);
|
|
4782
|
+
}
|
|
4783
|
+
}
|
|
4784
|
+
|
|
4785
|
+
export class SaveModelConfigResponseBody extends $tea.Model {
|
|
4786
|
+
code?: number;
|
|
4787
|
+
message?: string;
|
|
4788
|
+
requestId?: string;
|
|
4789
|
+
success?: boolean;
|
|
4790
|
+
static names(): { [key: string]: string } {
|
|
4791
|
+
return {
|
|
4792
|
+
code: 'Code',
|
|
4793
|
+
message: 'Message',
|
|
4243
4794
|
requestId: 'RequestId',
|
|
4244
4795
|
success: 'Success',
|
|
4245
4796
|
};
|
|
@@ -4247,7 +4798,8 @@ export class SaveHotspotTagResponseBody extends $tea.Model {
|
|
|
4247
4798
|
|
|
4248
4799
|
static types(): { [key: string]: any } {
|
|
4249
4800
|
return {
|
|
4250
|
-
|
|
4801
|
+
code: 'number',
|
|
4802
|
+
message: 'string',
|
|
4251
4803
|
requestId: 'string',
|
|
4252
4804
|
success: 'boolean',
|
|
4253
4805
|
};
|
|
@@ -4258,10 +4810,10 @@ export class SaveHotspotTagResponseBody extends $tea.Model {
|
|
|
4258
4810
|
}
|
|
4259
4811
|
}
|
|
4260
4812
|
|
|
4261
|
-
export class
|
|
4813
|
+
export class SaveModelConfigResponse extends $tea.Model {
|
|
4262
4814
|
headers: { [key: string]: string };
|
|
4263
4815
|
statusCode: number;
|
|
4264
|
-
body:
|
|
4816
|
+
body: SaveModelConfigResponseBody;
|
|
4265
4817
|
static names(): { [key: string]: string } {
|
|
4266
4818
|
return {
|
|
4267
4819
|
headers: 'headers',
|
|
@@ -4274,7 +4826,7 @@ export class SaveHotspotTagResponse extends $tea.Model {
|
|
|
4274
4826
|
return {
|
|
4275
4827
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4276
4828
|
statusCode: 'number',
|
|
4277
|
-
body:
|
|
4829
|
+
body: SaveModelConfigResponseBody,
|
|
4278
4830
|
};
|
|
4279
4831
|
}
|
|
4280
4832
|
|
|
@@ -5070,6 +5622,65 @@ export class CopySceneResponseBodyData extends $tea.Model {
|
|
|
5070
5622
|
}
|
|
5071
5623
|
}
|
|
5072
5624
|
|
|
5625
|
+
export class CreateUploadPolicyResponseBodyData extends $tea.Model {
|
|
5626
|
+
accessId?: string;
|
|
5627
|
+
callback?: string;
|
|
5628
|
+
dir?: string;
|
|
5629
|
+
expire?: string;
|
|
5630
|
+
host?: string;
|
|
5631
|
+
policy?: string;
|
|
5632
|
+
signature?: string;
|
|
5633
|
+
static names(): { [key: string]: string } {
|
|
5634
|
+
return {
|
|
5635
|
+
accessId: 'AccessId',
|
|
5636
|
+
callback: 'Callback',
|
|
5637
|
+
dir: 'Dir',
|
|
5638
|
+
expire: 'Expire',
|
|
5639
|
+
host: 'Host',
|
|
5640
|
+
policy: 'Policy',
|
|
5641
|
+
signature: 'Signature',
|
|
5642
|
+
};
|
|
5643
|
+
}
|
|
5644
|
+
|
|
5645
|
+
static types(): { [key: string]: any } {
|
|
5646
|
+
return {
|
|
5647
|
+
accessId: 'string',
|
|
5648
|
+
callback: 'string',
|
|
5649
|
+
dir: 'string',
|
|
5650
|
+
expire: 'string',
|
|
5651
|
+
host: 'string',
|
|
5652
|
+
policy: 'string',
|
|
5653
|
+
signature: 'string',
|
|
5654
|
+
};
|
|
5655
|
+
}
|
|
5656
|
+
|
|
5657
|
+
constructor(map?: { [key: string]: any }) {
|
|
5658
|
+
super(map);
|
|
5659
|
+
}
|
|
5660
|
+
}
|
|
5661
|
+
|
|
5662
|
+
export class DetailSceneResponseBodyCaptures extends $tea.Model {
|
|
5663
|
+
title?: string;
|
|
5664
|
+
url?: string;
|
|
5665
|
+
static names(): { [key: string]: string } {
|
|
5666
|
+
return {
|
|
5667
|
+
title: 'Title',
|
|
5668
|
+
url: 'Url',
|
|
5669
|
+
};
|
|
5670
|
+
}
|
|
5671
|
+
|
|
5672
|
+
static types(): { [key: string]: any } {
|
|
5673
|
+
return {
|
|
5674
|
+
title: 'string',
|
|
5675
|
+
url: 'string',
|
|
5676
|
+
};
|
|
5677
|
+
}
|
|
5678
|
+
|
|
5679
|
+
constructor(map?: { [key: string]: any }) {
|
|
5680
|
+
super(map);
|
|
5681
|
+
}
|
|
5682
|
+
}
|
|
5683
|
+
|
|
5073
5684
|
export class GetConnDataResponseBodyList extends $tea.Model {
|
|
5074
5685
|
id?: string;
|
|
5075
5686
|
mapId?: string;
|
|
@@ -5471,11 +6082,13 @@ export class GetScenePreviewInfoResponseBodyData extends $tea.Model {
|
|
|
5471
6082
|
}
|
|
5472
6083
|
|
|
5473
6084
|
export class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $tea.Model {
|
|
6085
|
+
hotspotTagConfig?: string;
|
|
5474
6086
|
modelConfig?: string;
|
|
5475
6087
|
orthomapConfig?: string;
|
|
5476
6088
|
rootPath?: string;
|
|
5477
6089
|
static names(): { [key: string]: string } {
|
|
5478
6090
|
return {
|
|
6091
|
+
hotspotTagConfig: 'HotspotTagConfig',
|
|
5479
6092
|
modelConfig: 'ModelConfig',
|
|
5480
6093
|
orthomapConfig: 'OrthomapConfig',
|
|
5481
6094
|
rootPath: 'RootPath',
|
|
@@ -5484,6 +6097,7 @@ export class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $t
|
|
|
5484
6097
|
|
|
5485
6098
|
static types(): { [key: string]: any } {
|
|
5486
6099
|
return {
|
|
6100
|
+
hotspotTagConfig: 'string',
|
|
5487
6101
|
modelConfig: 'string',
|
|
5488
6102
|
orthomapConfig: 'string',
|
|
5489
6103
|
rootPath: 'string',
|
|
@@ -5642,6 +6256,7 @@ export class ListProjectResponseBodyList extends $tea.Model {
|
|
|
5642
6256
|
}
|
|
5643
6257
|
|
|
5644
6258
|
export class ListSceneResponseBodyList extends $tea.Model {
|
|
6259
|
+
coverUrl?: string;
|
|
5645
6260
|
gmtCreate?: number;
|
|
5646
6261
|
gmtModified?: number;
|
|
5647
6262
|
id?: string;
|
|
@@ -5649,10 +6264,13 @@ export class ListSceneResponseBodyList extends $tea.Model {
|
|
|
5649
6264
|
previewToken?: string;
|
|
5650
6265
|
published?: boolean;
|
|
5651
6266
|
sourceNum?: number;
|
|
6267
|
+
status?: string;
|
|
6268
|
+
statusName?: string;
|
|
5652
6269
|
subSceneNum?: number;
|
|
5653
6270
|
type?: string;
|
|
5654
6271
|
static names(): { [key: string]: string } {
|
|
5655
6272
|
return {
|
|
6273
|
+
coverUrl: 'CoverUrl',
|
|
5656
6274
|
gmtCreate: 'GmtCreate',
|
|
5657
6275
|
gmtModified: 'GmtModified',
|
|
5658
6276
|
id: 'Id',
|
|
@@ -5660,6 +6278,8 @@ export class ListSceneResponseBodyList extends $tea.Model {
|
|
|
5660
6278
|
previewToken: 'PreviewToken',
|
|
5661
6279
|
published: 'Published',
|
|
5662
6280
|
sourceNum: 'SourceNum',
|
|
6281
|
+
status: 'Status',
|
|
6282
|
+
statusName: 'StatusName',
|
|
5663
6283
|
subSceneNum: 'SubSceneNum',
|
|
5664
6284
|
type: 'Type',
|
|
5665
6285
|
};
|
|
@@ -5667,6 +6287,7 @@ export class ListSceneResponseBodyList extends $tea.Model {
|
|
|
5667
6287
|
|
|
5668
6288
|
static types(): { [key: string]: any } {
|
|
5669
6289
|
return {
|
|
6290
|
+
coverUrl: 'string',
|
|
5670
6291
|
gmtCreate: 'number',
|
|
5671
6292
|
gmtModified: 'number',
|
|
5672
6293
|
id: 'string',
|
|
@@ -5674,6 +6295,8 @@ export class ListSceneResponseBodyList extends $tea.Model {
|
|
|
5674
6295
|
previewToken: 'string',
|
|
5675
6296
|
published: 'boolean',
|
|
5676
6297
|
sourceNum: 'number',
|
|
6298
|
+
status: 'string',
|
|
6299
|
+
statusName: 'string',
|
|
5677
6300
|
subSceneNum: 'number',
|
|
5678
6301
|
type: 'string',
|
|
5679
6302
|
};
|
|
@@ -5809,6 +6432,43 @@ export default class Client extends OpenApi {
|
|
|
5809
6432
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
5810
6433
|
}
|
|
5811
6434
|
|
|
6435
|
+
async addHotspotFileWithOptions(request: AddHotspotFileRequest, runtime: $Util.RuntimeOptions): Promise<AddHotspotFileResponse> {
|
|
6436
|
+
Util.validateModel(request);
|
|
6437
|
+
let query = { };
|
|
6438
|
+
if (!Util.isUnset(request.fileName)) {
|
|
6439
|
+
query["FileName"] = request.fileName;
|
|
6440
|
+
}
|
|
6441
|
+
|
|
6442
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
6443
|
+
query["SceneId"] = request.sceneId;
|
|
6444
|
+
}
|
|
6445
|
+
|
|
6446
|
+
if (!Util.isUnset(request.type)) {
|
|
6447
|
+
query["Type"] = request.type;
|
|
6448
|
+
}
|
|
6449
|
+
|
|
6450
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6451
|
+
query: OpenApiUtil.query(query),
|
|
6452
|
+
});
|
|
6453
|
+
let params = new $OpenApi.Params({
|
|
6454
|
+
action: "AddHotspotFile",
|
|
6455
|
+
version: "2020-01-01",
|
|
6456
|
+
protocol: "HTTPS",
|
|
6457
|
+
pathname: "/",
|
|
6458
|
+
method: "POST",
|
|
6459
|
+
authType: "AK",
|
|
6460
|
+
style: "RPC",
|
|
6461
|
+
reqBodyType: "formData",
|
|
6462
|
+
bodyType: "json",
|
|
6463
|
+
});
|
|
6464
|
+
return $tea.cast<AddHotspotFileResponse>(await this.callApi(params, req, runtime), new AddHotspotFileResponse({}));
|
|
6465
|
+
}
|
|
6466
|
+
|
|
6467
|
+
async addHotspotFile(request: AddHotspotFileRequest): Promise<AddHotspotFileResponse> {
|
|
6468
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6469
|
+
return await this.addHotspotFileWithOptions(request, runtime);
|
|
6470
|
+
}
|
|
6471
|
+
|
|
5812
6472
|
async addMosaicsWithOptions(request: AddMosaicsRequest, runtime: $Util.RuntimeOptions): Promise<AddMosaicsResponse> {
|
|
5813
6473
|
Util.validateModel(request);
|
|
5814
6474
|
let query = { };
|
|
@@ -6047,6 +6707,10 @@ export default class Client extends OpenApi {
|
|
|
6047
6707
|
async copySceneWithOptions(request: CopySceneRequest, runtime: $Util.RuntimeOptions): Promise<CopySceneResponse> {
|
|
6048
6708
|
Util.validateModel(request);
|
|
6049
6709
|
let query = { };
|
|
6710
|
+
if (!Util.isUnset(request.projectId)) {
|
|
6711
|
+
query["ProjectId"] = request.projectId;
|
|
6712
|
+
}
|
|
6713
|
+
|
|
6050
6714
|
if (!Util.isUnset(request.sceneId)) {
|
|
6051
6715
|
query["SceneId"] = request.sceneId;
|
|
6052
6716
|
}
|
|
@@ -6077,6 +6741,68 @@ export default class Client extends OpenApi {
|
|
|
6077
6741
|
return await this.copySceneWithOptions(request, runtime);
|
|
6078
6742
|
}
|
|
6079
6743
|
|
|
6744
|
+
async createUploadPolicyWithOptions(request: CreateUploadPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateUploadPolicyResponse> {
|
|
6745
|
+
Util.validateModel(request);
|
|
6746
|
+
let query = { };
|
|
6747
|
+
if (!Util.isUnset(request.option)) {
|
|
6748
|
+
query["Option"] = request.option;
|
|
6749
|
+
}
|
|
6750
|
+
|
|
6751
|
+
if (!Util.isUnset(request.type)) {
|
|
6752
|
+
query["Type"] = request.type;
|
|
6753
|
+
}
|
|
6754
|
+
|
|
6755
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6756
|
+
query: OpenApiUtil.query(query),
|
|
6757
|
+
});
|
|
6758
|
+
let params = new $OpenApi.Params({
|
|
6759
|
+
action: "CreateUploadPolicy",
|
|
6760
|
+
version: "2020-01-01",
|
|
6761
|
+
protocol: "HTTPS",
|
|
6762
|
+
pathname: "/",
|
|
6763
|
+
method: "POST",
|
|
6764
|
+
authType: "AK",
|
|
6765
|
+
style: "RPC",
|
|
6766
|
+
reqBodyType: "formData",
|
|
6767
|
+
bodyType: "json",
|
|
6768
|
+
});
|
|
6769
|
+
return $tea.cast<CreateUploadPolicyResponse>(await this.callApi(params, req, runtime), new CreateUploadPolicyResponse({}));
|
|
6770
|
+
}
|
|
6771
|
+
|
|
6772
|
+
async createUploadPolicy(request: CreateUploadPolicyRequest): Promise<CreateUploadPolicyResponse> {
|
|
6773
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6774
|
+
return await this.createUploadPolicyWithOptions(request, runtime);
|
|
6775
|
+
}
|
|
6776
|
+
|
|
6777
|
+
async decryptContentWithOptions(request: DecryptContentRequest, runtime: $Util.RuntimeOptions): Promise<DecryptContentResponse> {
|
|
6778
|
+
Util.validateModel(request);
|
|
6779
|
+
let query = { };
|
|
6780
|
+
if (!Util.isUnset(request.content)) {
|
|
6781
|
+
query["Content"] = request.content;
|
|
6782
|
+
}
|
|
6783
|
+
|
|
6784
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6785
|
+
query: OpenApiUtil.query(query),
|
|
6786
|
+
});
|
|
6787
|
+
let params = new $OpenApi.Params({
|
|
6788
|
+
action: "DecryptContent",
|
|
6789
|
+
version: "2020-01-01",
|
|
6790
|
+
protocol: "HTTPS",
|
|
6791
|
+
pathname: "/",
|
|
6792
|
+
method: "POST",
|
|
6793
|
+
authType: "AK",
|
|
6794
|
+
style: "RPC",
|
|
6795
|
+
reqBodyType: "formData",
|
|
6796
|
+
bodyType: "json",
|
|
6797
|
+
});
|
|
6798
|
+
return $tea.cast<DecryptContentResponse>(await this.callApi(params, req, runtime), new DecryptContentResponse({}));
|
|
6799
|
+
}
|
|
6800
|
+
|
|
6801
|
+
async decryptContent(request: DecryptContentRequest): Promise<DecryptContentResponse> {
|
|
6802
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6803
|
+
return await this.decryptContentWithOptions(request, runtime);
|
|
6804
|
+
}
|
|
6805
|
+
|
|
6080
6806
|
async detailProjectWithOptions(request: DetailProjectRequest, runtime: $Util.RuntimeOptions): Promise<DetailProjectResponse> {
|
|
6081
6807
|
Util.validateModel(request);
|
|
6082
6808
|
let query = { };
|
|
@@ -6251,6 +6977,35 @@ export default class Client extends OpenApi {
|
|
|
6251
6977
|
return await this.dropSubSceneWithOptions(request, runtime);
|
|
6252
6978
|
}
|
|
6253
6979
|
|
|
6980
|
+
async encryptContentWithOptions(request: EncryptContentRequest, runtime: $Util.RuntimeOptions): Promise<EncryptContentResponse> {
|
|
6981
|
+
Util.validateModel(request);
|
|
6982
|
+
let query = { };
|
|
6983
|
+
if (!Util.isUnset(request.content)) {
|
|
6984
|
+
query["Content"] = request.content;
|
|
6985
|
+
}
|
|
6986
|
+
|
|
6987
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6988
|
+
query: OpenApiUtil.query(query),
|
|
6989
|
+
});
|
|
6990
|
+
let params = new $OpenApi.Params({
|
|
6991
|
+
action: "EncryptContent",
|
|
6992
|
+
version: "2020-01-01",
|
|
6993
|
+
protocol: "HTTPS",
|
|
6994
|
+
pathname: "/",
|
|
6995
|
+
method: "POST",
|
|
6996
|
+
authType: "AK",
|
|
6997
|
+
style: "RPC",
|
|
6998
|
+
reqBodyType: "formData",
|
|
6999
|
+
bodyType: "json",
|
|
7000
|
+
});
|
|
7001
|
+
return $tea.cast<EncryptContentResponse>(await this.callApi(params, req, runtime), new EncryptContentResponse({}));
|
|
7002
|
+
}
|
|
7003
|
+
|
|
7004
|
+
async encryptContent(request: EncryptContentRequest): Promise<EncryptContentResponse> {
|
|
7005
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7006
|
+
return await this.encryptContentWithOptions(request, runtime);
|
|
7007
|
+
}
|
|
7008
|
+
|
|
6254
7009
|
async getConnDataWithOptions(request: GetConnDataRequest, runtime: $Util.RuntimeOptions): Promise<GetConnDataResponse> {
|
|
6255
7010
|
Util.validateModel(request);
|
|
6256
7011
|
let query = { };
|
|
@@ -6724,6 +7479,10 @@ export default class Client extends OpenApi {
|
|
|
6724
7479
|
async getScenePreviewResourceWithOptions(request: GetScenePreviewResourceRequest, runtime: $Util.RuntimeOptions): Promise<GetScenePreviewResourceResponse> {
|
|
6725
7480
|
Util.validateModel(request);
|
|
6726
7481
|
let query = { };
|
|
7482
|
+
if (!Util.isUnset(request.draft)) {
|
|
7483
|
+
query["Draft"] = request.draft;
|
|
7484
|
+
}
|
|
7485
|
+
|
|
6727
7486
|
if (!Util.isUnset(request.previewToken)) {
|
|
6728
7487
|
query["PreviewToken"] = request.previewToken;
|
|
6729
7488
|
}
|
|
@@ -7306,6 +8065,35 @@ export default class Client extends OpenApi {
|
|
|
7306
8065
|
return await this.publishHotspotWithOptions(request, runtime);
|
|
7307
8066
|
}
|
|
7308
8067
|
|
|
8068
|
+
async publishHotspotConfigWithOptions(request: PublishHotspotConfigRequest, runtime: $Util.RuntimeOptions): Promise<PublishHotspotConfigResponse> {
|
|
8069
|
+
Util.validateModel(request);
|
|
8070
|
+
let query = { };
|
|
8071
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
8072
|
+
query["SceneId"] = request.sceneId;
|
|
8073
|
+
}
|
|
8074
|
+
|
|
8075
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8076
|
+
query: OpenApiUtil.query(query),
|
|
8077
|
+
});
|
|
8078
|
+
let params = new $OpenApi.Params({
|
|
8079
|
+
action: "PublishHotspotConfig",
|
|
8080
|
+
version: "2020-01-01",
|
|
8081
|
+
protocol: "HTTPS",
|
|
8082
|
+
pathname: "/",
|
|
8083
|
+
method: "POST",
|
|
8084
|
+
authType: "AK",
|
|
8085
|
+
style: "RPC",
|
|
8086
|
+
reqBodyType: "formData",
|
|
8087
|
+
bodyType: "json",
|
|
8088
|
+
});
|
|
8089
|
+
return $tea.cast<PublishHotspotConfigResponse>(await this.callApi(params, req, runtime), new PublishHotspotConfigResponse({}));
|
|
8090
|
+
}
|
|
8091
|
+
|
|
8092
|
+
async publishHotspotConfig(request: PublishHotspotConfigRequest): Promise<PublishHotspotConfigResponse> {
|
|
8093
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8094
|
+
return await this.publishHotspotConfigWithOptions(request, runtime);
|
|
8095
|
+
}
|
|
8096
|
+
|
|
7309
8097
|
async publishSceneWithOptions(request: PublishSceneRequest, runtime: $Util.RuntimeOptions): Promise<PublishSceneResponse> {
|
|
7310
8098
|
Util.validateModel(request);
|
|
7311
8099
|
let query = { };
|
|
@@ -7562,6 +8350,72 @@ export default class Client extends OpenApi {
|
|
|
7562
8350
|
return await this.saveHotspotTagWithOptions(request, runtime);
|
|
7563
8351
|
}
|
|
7564
8352
|
|
|
8353
|
+
async saveHotspotTagListWithOptions(request: SaveHotspotTagListRequest, runtime: $Util.RuntimeOptions): Promise<SaveHotspotTagListResponse> {
|
|
8354
|
+
Util.validateModel(request);
|
|
8355
|
+
let query = { };
|
|
8356
|
+
if (!Util.isUnset(request.hotspotListJson)) {
|
|
8357
|
+
query["HotspotListJson"] = request.hotspotListJson;
|
|
8358
|
+
}
|
|
8359
|
+
|
|
8360
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
8361
|
+
query["SceneId"] = request.sceneId;
|
|
8362
|
+
}
|
|
8363
|
+
|
|
8364
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8365
|
+
query: OpenApiUtil.query(query),
|
|
8366
|
+
});
|
|
8367
|
+
let params = new $OpenApi.Params({
|
|
8368
|
+
action: "SaveHotspotTagList",
|
|
8369
|
+
version: "2020-01-01",
|
|
8370
|
+
protocol: "HTTPS",
|
|
8371
|
+
pathname: "/",
|
|
8372
|
+
method: "POST",
|
|
8373
|
+
authType: "AK",
|
|
8374
|
+
style: "RPC",
|
|
8375
|
+
reqBodyType: "formData",
|
|
8376
|
+
bodyType: "json",
|
|
8377
|
+
});
|
|
8378
|
+
return $tea.cast<SaveHotspotTagListResponse>(await this.callApi(params, req, runtime), new SaveHotspotTagListResponse({}));
|
|
8379
|
+
}
|
|
8380
|
+
|
|
8381
|
+
async saveHotspotTagList(request: SaveHotspotTagListRequest): Promise<SaveHotspotTagListResponse> {
|
|
8382
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8383
|
+
return await this.saveHotspotTagListWithOptions(request, runtime);
|
|
8384
|
+
}
|
|
8385
|
+
|
|
8386
|
+
async saveModelConfigWithOptions(request: SaveModelConfigRequest, runtime: $Util.RuntimeOptions): Promise<SaveModelConfigResponse> {
|
|
8387
|
+
Util.validateModel(request);
|
|
8388
|
+
let query = { };
|
|
8389
|
+
if (!Util.isUnset(request.data)) {
|
|
8390
|
+
query["Data"] = request.data;
|
|
8391
|
+
}
|
|
8392
|
+
|
|
8393
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
8394
|
+
query["SceneId"] = request.sceneId;
|
|
8395
|
+
}
|
|
8396
|
+
|
|
8397
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8398
|
+
query: OpenApiUtil.query(query),
|
|
8399
|
+
});
|
|
8400
|
+
let params = new $OpenApi.Params({
|
|
8401
|
+
action: "SaveModelConfig",
|
|
8402
|
+
version: "2020-01-01",
|
|
8403
|
+
protocol: "HTTPS",
|
|
8404
|
+
pathname: "/",
|
|
8405
|
+
method: "POST",
|
|
8406
|
+
authType: "AK",
|
|
8407
|
+
style: "RPC",
|
|
8408
|
+
reqBodyType: "formData",
|
|
8409
|
+
bodyType: "json",
|
|
8410
|
+
});
|
|
8411
|
+
return $tea.cast<SaveModelConfigResponse>(await this.callApi(params, req, runtime), new SaveModelConfigResponse({}));
|
|
8412
|
+
}
|
|
8413
|
+
|
|
8414
|
+
async saveModelConfig(request: SaveModelConfigRequest): Promise<SaveModelConfigResponse> {
|
|
8415
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8416
|
+
return await this.saveModelConfigWithOptions(request, runtime);
|
|
8417
|
+
}
|
|
8418
|
+
|
|
7565
8419
|
async scenePublishWithOptions(request: ScenePublishRequest, runtime: $Util.RuntimeOptions): Promise<ScenePublishResponse> {
|
|
7566
8420
|
Util.validateModel(request);
|
|
7567
8421
|
let query = { };
|