@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/dist/client.js
CHANGED
|
@@ -19,6 +19,70 @@ const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $Ope
|
|
|
19
19
|
const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
|
|
20
20
|
const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
|
|
21
21
|
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
22
|
+
class AddHotspotFileRequest extends $tea.Model {
|
|
23
|
+
constructor(map) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
static names() {
|
|
27
|
+
return {
|
|
28
|
+
fileName: 'FileName',
|
|
29
|
+
sceneId: 'SceneId',
|
|
30
|
+
type: 'Type',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
static types() {
|
|
34
|
+
return {
|
|
35
|
+
fileName: 'string',
|
|
36
|
+
sceneId: 'string',
|
|
37
|
+
type: 'string',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.AddHotspotFileRequest = AddHotspotFileRequest;
|
|
42
|
+
class AddHotspotFileResponseBody extends $tea.Model {
|
|
43
|
+
constructor(map) {
|
|
44
|
+
super(map);
|
|
45
|
+
}
|
|
46
|
+
static names() {
|
|
47
|
+
return {
|
|
48
|
+
code: 'Code',
|
|
49
|
+
data: 'Data',
|
|
50
|
+
message: 'Message',
|
|
51
|
+
requestId: 'RequestId',
|
|
52
|
+
success: 'Success',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
static types() {
|
|
56
|
+
return {
|
|
57
|
+
code: 'number',
|
|
58
|
+
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
59
|
+
message: 'string',
|
|
60
|
+
requestId: 'string',
|
|
61
|
+
success: 'boolean',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.AddHotspotFileResponseBody = AddHotspotFileResponseBody;
|
|
66
|
+
class AddHotspotFileResponse extends $tea.Model {
|
|
67
|
+
constructor(map) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
static names() {
|
|
71
|
+
return {
|
|
72
|
+
headers: 'headers',
|
|
73
|
+
statusCode: 'statusCode',
|
|
74
|
+
body: 'body',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
static types() {
|
|
78
|
+
return {
|
|
79
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
80
|
+
statusCode: 'number',
|
|
81
|
+
body: AddHotspotFileResponseBody,
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.AddHotspotFileResponse = AddHotspotFileResponse;
|
|
22
86
|
class AddMosaicsRequest extends $tea.Model {
|
|
23
87
|
constructor(map) {
|
|
24
88
|
super(map);
|
|
@@ -459,12 +523,14 @@ class CopySceneRequest extends $tea.Model {
|
|
|
459
523
|
}
|
|
460
524
|
static names() {
|
|
461
525
|
return {
|
|
526
|
+
projectId: 'ProjectId',
|
|
462
527
|
sceneId: 'SceneId',
|
|
463
528
|
sceneName: 'SceneName',
|
|
464
529
|
};
|
|
465
530
|
}
|
|
466
531
|
static types() {
|
|
467
532
|
return {
|
|
533
|
+
projectId: 'string',
|
|
468
534
|
sceneId: 'string',
|
|
469
535
|
sceneName: 'string',
|
|
470
536
|
};
|
|
@@ -515,6 +581,68 @@ class CopySceneResponse extends $tea.Model {
|
|
|
515
581
|
}
|
|
516
582
|
}
|
|
517
583
|
exports.CopySceneResponse = CopySceneResponse;
|
|
584
|
+
class CreateUploadPolicyRequest extends $tea.Model {
|
|
585
|
+
constructor(map) {
|
|
586
|
+
super(map);
|
|
587
|
+
}
|
|
588
|
+
static names() {
|
|
589
|
+
return {
|
|
590
|
+
option: 'Option',
|
|
591
|
+
type: 'Type',
|
|
592
|
+
};
|
|
593
|
+
}
|
|
594
|
+
static types() {
|
|
595
|
+
return {
|
|
596
|
+
option: 'string',
|
|
597
|
+
type: 'string',
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
exports.CreateUploadPolicyRequest = CreateUploadPolicyRequest;
|
|
602
|
+
class CreateUploadPolicyResponseBody extends $tea.Model {
|
|
603
|
+
constructor(map) {
|
|
604
|
+
super(map);
|
|
605
|
+
}
|
|
606
|
+
static names() {
|
|
607
|
+
return {
|
|
608
|
+
code: 'Code',
|
|
609
|
+
data: 'Data',
|
|
610
|
+
message: 'Message',
|
|
611
|
+
requestId: 'RequestId',
|
|
612
|
+
success: 'Success',
|
|
613
|
+
};
|
|
614
|
+
}
|
|
615
|
+
static types() {
|
|
616
|
+
return {
|
|
617
|
+
code: 'number',
|
|
618
|
+
data: CreateUploadPolicyResponseBodyData,
|
|
619
|
+
message: 'string',
|
|
620
|
+
requestId: 'string',
|
|
621
|
+
success: 'boolean',
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
exports.CreateUploadPolicyResponseBody = CreateUploadPolicyResponseBody;
|
|
626
|
+
class CreateUploadPolicyResponse extends $tea.Model {
|
|
627
|
+
constructor(map) {
|
|
628
|
+
super(map);
|
|
629
|
+
}
|
|
630
|
+
static names() {
|
|
631
|
+
return {
|
|
632
|
+
headers: 'headers',
|
|
633
|
+
statusCode: 'statusCode',
|
|
634
|
+
body: 'body',
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
static types() {
|
|
638
|
+
return {
|
|
639
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
640
|
+
statusCode: 'number',
|
|
641
|
+
body: CreateUploadPolicyResponseBody,
|
|
642
|
+
};
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
exports.CreateUploadPolicyResponse = CreateUploadPolicyResponse;
|
|
518
646
|
class DetailProjectRequest extends $tea.Model {
|
|
519
647
|
constructor(map) {
|
|
520
648
|
super(map);
|
|
@@ -609,6 +737,7 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
609
737
|
}
|
|
610
738
|
static names() {
|
|
611
739
|
return {
|
|
740
|
+
captures: 'Captures',
|
|
612
741
|
code: 'Code',
|
|
613
742
|
coverUrl: 'CoverUrl',
|
|
614
743
|
gmtCreate: 'GmtCreate',
|
|
@@ -620,6 +749,8 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
620
749
|
published: 'Published',
|
|
621
750
|
requestId: 'RequestId',
|
|
622
751
|
sourceNum: 'SourceNum',
|
|
752
|
+
status: 'Status',
|
|
753
|
+
statusName: 'StatusName',
|
|
623
754
|
subSceneNum: 'SubSceneNum',
|
|
624
755
|
success: 'Success',
|
|
625
756
|
type: 'Type',
|
|
@@ -627,6 +758,7 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
627
758
|
}
|
|
628
759
|
static types() {
|
|
629
760
|
return {
|
|
761
|
+
captures: { 'type': 'array', 'itemType': DetailSceneResponseBodyCaptures },
|
|
630
762
|
code: 'number',
|
|
631
763
|
coverUrl: 'string',
|
|
632
764
|
gmtCreate: 'number',
|
|
@@ -638,6 +770,8 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
638
770
|
published: 'boolean',
|
|
639
771
|
requestId: 'string',
|
|
640
772
|
sourceNum: 'number',
|
|
773
|
+
status: 'string',
|
|
774
|
+
statusName: 'string',
|
|
641
775
|
subSceneNum: 'number',
|
|
642
776
|
success: 'boolean',
|
|
643
777
|
type: 'string',
|
|
@@ -698,6 +832,7 @@ class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
698
832
|
message: 'Message',
|
|
699
833
|
name: 'Name',
|
|
700
834
|
originUrl: 'OriginUrl',
|
|
835
|
+
position: 'Position',
|
|
701
836
|
requestId: 'RequestId',
|
|
702
837
|
resourceId: 'ResourceId',
|
|
703
838
|
status: 'Status',
|
|
@@ -719,6 +854,7 @@ class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
719
854
|
message: 'string',
|
|
720
855
|
name: 'string',
|
|
721
856
|
originUrl: 'string',
|
|
857
|
+
position: 'string',
|
|
722
858
|
requestId: 'string',
|
|
723
859
|
resourceId: 'string',
|
|
724
860
|
status: 'number',
|
|
@@ -1823,11 +1959,13 @@ class GetScenePreviewResourceRequest extends $tea.Model {
|
|
|
1823
1959
|
}
|
|
1824
1960
|
static names() {
|
|
1825
1961
|
return {
|
|
1962
|
+
draft: 'Draft',
|
|
1826
1963
|
previewToken: 'PreviewToken',
|
|
1827
1964
|
};
|
|
1828
1965
|
}
|
|
1829
1966
|
static types() {
|
|
1830
1967
|
return {
|
|
1968
|
+
draft: 'boolean',
|
|
1831
1969
|
previewToken: 'string',
|
|
1832
1970
|
};
|
|
1833
1971
|
}
|
|
@@ -2917,6 +3055,64 @@ class PublishHotspotResponse extends $tea.Model {
|
|
|
2917
3055
|
}
|
|
2918
3056
|
}
|
|
2919
3057
|
exports.PublishHotspotResponse = PublishHotspotResponse;
|
|
3058
|
+
class PublishHotspotConfigRequest extends $tea.Model {
|
|
3059
|
+
constructor(map) {
|
|
3060
|
+
super(map);
|
|
3061
|
+
}
|
|
3062
|
+
static names() {
|
|
3063
|
+
return {
|
|
3064
|
+
sceneId: 'SceneId',
|
|
3065
|
+
};
|
|
3066
|
+
}
|
|
3067
|
+
static types() {
|
|
3068
|
+
return {
|
|
3069
|
+
sceneId: 'string',
|
|
3070
|
+
};
|
|
3071
|
+
}
|
|
3072
|
+
}
|
|
3073
|
+
exports.PublishHotspotConfigRequest = PublishHotspotConfigRequest;
|
|
3074
|
+
class PublishHotspotConfigResponseBody extends $tea.Model {
|
|
3075
|
+
constructor(map) {
|
|
3076
|
+
super(map);
|
|
3077
|
+
}
|
|
3078
|
+
static names() {
|
|
3079
|
+
return {
|
|
3080
|
+
code: 'Code',
|
|
3081
|
+
message: 'Message',
|
|
3082
|
+
requestId: 'RequestId',
|
|
3083
|
+
success: 'Success',
|
|
3084
|
+
};
|
|
3085
|
+
}
|
|
3086
|
+
static types() {
|
|
3087
|
+
return {
|
|
3088
|
+
code: 'number',
|
|
3089
|
+
message: 'string',
|
|
3090
|
+
requestId: 'string',
|
|
3091
|
+
success: 'boolean',
|
|
3092
|
+
};
|
|
3093
|
+
}
|
|
3094
|
+
}
|
|
3095
|
+
exports.PublishHotspotConfigResponseBody = PublishHotspotConfigResponseBody;
|
|
3096
|
+
class PublishHotspotConfigResponse extends $tea.Model {
|
|
3097
|
+
constructor(map) {
|
|
3098
|
+
super(map);
|
|
3099
|
+
}
|
|
3100
|
+
static names() {
|
|
3101
|
+
return {
|
|
3102
|
+
headers: 'headers',
|
|
3103
|
+
statusCode: 'statusCode',
|
|
3104
|
+
body: 'body',
|
|
3105
|
+
};
|
|
3106
|
+
}
|
|
3107
|
+
static types() {
|
|
3108
|
+
return {
|
|
3109
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3110
|
+
statusCode: 'number',
|
|
3111
|
+
body: PublishHotspotConfigResponseBody,
|
|
3112
|
+
};
|
|
3113
|
+
}
|
|
3114
|
+
}
|
|
3115
|
+
exports.PublishHotspotConfigResponse = PublishHotspotConfigResponse;
|
|
2920
3116
|
class PublishSceneRequest extends $tea.Model {
|
|
2921
3117
|
constructor(map) {
|
|
2922
3118
|
super(map);
|
|
@@ -3401,6 +3597,186 @@ class SaveHotspotTagResponse extends $tea.Model {
|
|
|
3401
3597
|
}
|
|
3402
3598
|
}
|
|
3403
3599
|
exports.SaveHotspotTagResponse = SaveHotspotTagResponse;
|
|
3600
|
+
class SaveHotspotTagListRequest extends $tea.Model {
|
|
3601
|
+
constructor(map) {
|
|
3602
|
+
super(map);
|
|
3603
|
+
}
|
|
3604
|
+
static names() {
|
|
3605
|
+
return {
|
|
3606
|
+
hotspotListJson: 'HotspotListJson',
|
|
3607
|
+
sceneId: 'SceneId',
|
|
3608
|
+
};
|
|
3609
|
+
}
|
|
3610
|
+
static types() {
|
|
3611
|
+
return {
|
|
3612
|
+
hotspotListJson: 'string',
|
|
3613
|
+
sceneId: 'string',
|
|
3614
|
+
};
|
|
3615
|
+
}
|
|
3616
|
+
}
|
|
3617
|
+
exports.SaveHotspotTagListRequest = SaveHotspotTagListRequest;
|
|
3618
|
+
class SaveHotspotTagListResponseBody extends $tea.Model {
|
|
3619
|
+
constructor(map) {
|
|
3620
|
+
super(map);
|
|
3621
|
+
}
|
|
3622
|
+
static names() {
|
|
3623
|
+
return {
|
|
3624
|
+
code: 'Code',
|
|
3625
|
+
message: 'Message',
|
|
3626
|
+
requestId: 'RequestId',
|
|
3627
|
+
success: 'Success',
|
|
3628
|
+
};
|
|
3629
|
+
}
|
|
3630
|
+
static types() {
|
|
3631
|
+
return {
|
|
3632
|
+
code: 'number',
|
|
3633
|
+
message: 'string',
|
|
3634
|
+
requestId: 'string',
|
|
3635
|
+
success: 'boolean',
|
|
3636
|
+
};
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3639
|
+
exports.SaveHotspotTagListResponseBody = SaveHotspotTagListResponseBody;
|
|
3640
|
+
class SaveHotspotTagListResponse extends $tea.Model {
|
|
3641
|
+
constructor(map) {
|
|
3642
|
+
super(map);
|
|
3643
|
+
}
|
|
3644
|
+
static names() {
|
|
3645
|
+
return {
|
|
3646
|
+
headers: 'headers',
|
|
3647
|
+
statusCode: 'statusCode',
|
|
3648
|
+
body: 'body',
|
|
3649
|
+
};
|
|
3650
|
+
}
|
|
3651
|
+
static types() {
|
|
3652
|
+
return {
|
|
3653
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3654
|
+
statusCode: 'number',
|
|
3655
|
+
body: SaveHotspotTagListResponseBody,
|
|
3656
|
+
};
|
|
3657
|
+
}
|
|
3658
|
+
}
|
|
3659
|
+
exports.SaveHotspotTagListResponse = SaveHotspotTagListResponse;
|
|
3660
|
+
class SaveMinimapRequest extends $tea.Model {
|
|
3661
|
+
constructor(map) {
|
|
3662
|
+
super(map);
|
|
3663
|
+
}
|
|
3664
|
+
static names() {
|
|
3665
|
+
return {
|
|
3666
|
+
data: 'Data',
|
|
3667
|
+
sceneId: 'SceneId',
|
|
3668
|
+
};
|
|
3669
|
+
}
|
|
3670
|
+
static types() {
|
|
3671
|
+
return {
|
|
3672
|
+
data: 'string',
|
|
3673
|
+
sceneId: 'string',
|
|
3674
|
+
};
|
|
3675
|
+
}
|
|
3676
|
+
}
|
|
3677
|
+
exports.SaveMinimapRequest = SaveMinimapRequest;
|
|
3678
|
+
class SaveMinimapResponseBody extends $tea.Model {
|
|
3679
|
+
constructor(map) {
|
|
3680
|
+
super(map);
|
|
3681
|
+
}
|
|
3682
|
+
static names() {
|
|
3683
|
+
return {
|
|
3684
|
+
code: 'Code',
|
|
3685
|
+
message: 'Message',
|
|
3686
|
+
requestId: 'RequestId',
|
|
3687
|
+
success: 'Success',
|
|
3688
|
+
};
|
|
3689
|
+
}
|
|
3690
|
+
static types() {
|
|
3691
|
+
return {
|
|
3692
|
+
code: 'number',
|
|
3693
|
+
message: 'string',
|
|
3694
|
+
requestId: 'string',
|
|
3695
|
+
success: 'boolean',
|
|
3696
|
+
};
|
|
3697
|
+
}
|
|
3698
|
+
}
|
|
3699
|
+
exports.SaveMinimapResponseBody = SaveMinimapResponseBody;
|
|
3700
|
+
class SaveMinimapResponse extends $tea.Model {
|
|
3701
|
+
constructor(map) {
|
|
3702
|
+
super(map);
|
|
3703
|
+
}
|
|
3704
|
+
static names() {
|
|
3705
|
+
return {
|
|
3706
|
+
headers: 'headers',
|
|
3707
|
+
statusCode: 'statusCode',
|
|
3708
|
+
body: 'body',
|
|
3709
|
+
};
|
|
3710
|
+
}
|
|
3711
|
+
static types() {
|
|
3712
|
+
return {
|
|
3713
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3714
|
+
statusCode: 'number',
|
|
3715
|
+
body: SaveMinimapResponseBody,
|
|
3716
|
+
};
|
|
3717
|
+
}
|
|
3718
|
+
}
|
|
3719
|
+
exports.SaveMinimapResponse = SaveMinimapResponse;
|
|
3720
|
+
class SaveModelConfigRequest extends $tea.Model {
|
|
3721
|
+
constructor(map) {
|
|
3722
|
+
super(map);
|
|
3723
|
+
}
|
|
3724
|
+
static names() {
|
|
3725
|
+
return {
|
|
3726
|
+
data: 'Data',
|
|
3727
|
+
sceneId: 'SceneId',
|
|
3728
|
+
};
|
|
3729
|
+
}
|
|
3730
|
+
static types() {
|
|
3731
|
+
return {
|
|
3732
|
+
data: 'string',
|
|
3733
|
+
sceneId: 'string',
|
|
3734
|
+
};
|
|
3735
|
+
}
|
|
3736
|
+
}
|
|
3737
|
+
exports.SaveModelConfigRequest = SaveModelConfigRequest;
|
|
3738
|
+
class SaveModelConfigResponseBody extends $tea.Model {
|
|
3739
|
+
constructor(map) {
|
|
3740
|
+
super(map);
|
|
3741
|
+
}
|
|
3742
|
+
static names() {
|
|
3743
|
+
return {
|
|
3744
|
+
code: 'Code',
|
|
3745
|
+
message: 'Message',
|
|
3746
|
+
requestId: 'RequestId',
|
|
3747
|
+
success: 'Success',
|
|
3748
|
+
};
|
|
3749
|
+
}
|
|
3750
|
+
static types() {
|
|
3751
|
+
return {
|
|
3752
|
+
code: 'number',
|
|
3753
|
+
message: 'string',
|
|
3754
|
+
requestId: 'string',
|
|
3755
|
+
success: 'boolean',
|
|
3756
|
+
};
|
|
3757
|
+
}
|
|
3758
|
+
}
|
|
3759
|
+
exports.SaveModelConfigResponseBody = SaveModelConfigResponseBody;
|
|
3760
|
+
class SaveModelConfigResponse extends $tea.Model {
|
|
3761
|
+
constructor(map) {
|
|
3762
|
+
super(map);
|
|
3763
|
+
}
|
|
3764
|
+
static names() {
|
|
3765
|
+
return {
|
|
3766
|
+
headers: 'headers',
|
|
3767
|
+
statusCode: 'statusCode',
|
|
3768
|
+
body: 'body',
|
|
3769
|
+
};
|
|
3770
|
+
}
|
|
3771
|
+
static types() {
|
|
3772
|
+
return {
|
|
3773
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3774
|
+
statusCode: 'number',
|
|
3775
|
+
body: SaveModelConfigResponseBody,
|
|
3776
|
+
};
|
|
3777
|
+
}
|
|
3778
|
+
}
|
|
3779
|
+
exports.SaveModelConfigResponse = SaveModelConfigResponse;
|
|
3404
3780
|
class ScenePublishRequest extends $tea.Model {
|
|
3405
3781
|
constructor(map) {
|
|
3406
3782
|
super(map);
|
|
@@ -4029,6 +4405,52 @@ class CopySceneResponseBodyData extends $tea.Model {
|
|
|
4029
4405
|
}
|
|
4030
4406
|
}
|
|
4031
4407
|
exports.CopySceneResponseBodyData = CopySceneResponseBodyData;
|
|
4408
|
+
class CreateUploadPolicyResponseBodyData extends $tea.Model {
|
|
4409
|
+
constructor(map) {
|
|
4410
|
+
super(map);
|
|
4411
|
+
}
|
|
4412
|
+
static names() {
|
|
4413
|
+
return {
|
|
4414
|
+
accessId: 'AccessId',
|
|
4415
|
+
callback: 'Callback',
|
|
4416
|
+
dir: 'Dir',
|
|
4417
|
+
expire: 'Expire',
|
|
4418
|
+
host: 'Host',
|
|
4419
|
+
policy: 'Policy',
|
|
4420
|
+
signature: 'Signature',
|
|
4421
|
+
};
|
|
4422
|
+
}
|
|
4423
|
+
static types() {
|
|
4424
|
+
return {
|
|
4425
|
+
accessId: 'string',
|
|
4426
|
+
callback: 'string',
|
|
4427
|
+
dir: 'string',
|
|
4428
|
+
expire: 'string',
|
|
4429
|
+
host: 'string',
|
|
4430
|
+
policy: 'string',
|
|
4431
|
+
signature: 'string',
|
|
4432
|
+
};
|
|
4433
|
+
}
|
|
4434
|
+
}
|
|
4435
|
+
exports.CreateUploadPolicyResponseBodyData = CreateUploadPolicyResponseBodyData;
|
|
4436
|
+
class DetailSceneResponseBodyCaptures extends $tea.Model {
|
|
4437
|
+
constructor(map) {
|
|
4438
|
+
super(map);
|
|
4439
|
+
}
|
|
4440
|
+
static names() {
|
|
4441
|
+
return {
|
|
4442
|
+
title: 'Title',
|
|
4443
|
+
url: 'Url',
|
|
4444
|
+
};
|
|
4445
|
+
}
|
|
4446
|
+
static types() {
|
|
4447
|
+
return {
|
|
4448
|
+
title: 'string',
|
|
4449
|
+
url: 'string',
|
|
4450
|
+
};
|
|
4451
|
+
}
|
|
4452
|
+
}
|
|
4453
|
+
exports.DetailSceneResponseBodyCaptures = DetailSceneResponseBodyCaptures;
|
|
4032
4454
|
class GetConnDataResponseBodyList extends $tea.Model {
|
|
4033
4455
|
constructor(map) {
|
|
4034
4456
|
super(map);
|
|
@@ -4345,6 +4767,7 @@ class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $tea.Mode
|
|
|
4345
4767
|
}
|
|
4346
4768
|
static names() {
|
|
4347
4769
|
return {
|
|
4770
|
+
hotspotTagConfig: 'HotspotTagConfig',
|
|
4348
4771
|
modelConfig: 'ModelConfig',
|
|
4349
4772
|
orthomapConfig: 'OrthomapConfig',
|
|
4350
4773
|
rootPath: 'RootPath',
|
|
@@ -4352,6 +4775,7 @@ class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $tea.Mode
|
|
|
4352
4775
|
}
|
|
4353
4776
|
static types() {
|
|
4354
4777
|
return {
|
|
4778
|
+
hotspotTagConfig: 'string',
|
|
4355
4779
|
modelConfig: 'string',
|
|
4356
4780
|
orthomapConfig: 'string',
|
|
4357
4781
|
rootPath: 'string',
|
|
@@ -4487,6 +4911,8 @@ class ListSceneResponseBodyList extends $tea.Model {
|
|
|
4487
4911
|
previewToken: 'PreviewToken',
|
|
4488
4912
|
published: 'Published',
|
|
4489
4913
|
sourceNum: 'SourceNum',
|
|
4914
|
+
status: 'Status',
|
|
4915
|
+
statusName: 'StatusName',
|
|
4490
4916
|
subSceneNum: 'SubSceneNum',
|
|
4491
4917
|
type: 'Type',
|
|
4492
4918
|
};
|
|
@@ -4501,6 +4927,8 @@ class ListSceneResponseBodyList extends $tea.Model {
|
|
|
4501
4927
|
previewToken: 'string',
|
|
4502
4928
|
published: 'boolean',
|
|
4503
4929
|
sourceNum: 'number',
|
|
4930
|
+
status: 'string',
|
|
4931
|
+
statusName: 'string',
|
|
4504
4932
|
subSceneNum: 'number',
|
|
4505
4933
|
type: 'string',
|
|
4506
4934
|
};
|
|
@@ -4602,6 +5030,38 @@ class Client extends openapi_client_1.default {
|
|
|
4602
5030
|
}
|
|
4603
5031
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
4604
5032
|
}
|
|
5033
|
+
async addHotspotFileWithOptions(request, runtime) {
|
|
5034
|
+
tea_util_1.default.validateModel(request);
|
|
5035
|
+
let query = {};
|
|
5036
|
+
if (!tea_util_1.default.isUnset(request.fileName)) {
|
|
5037
|
+
query["FileName"] = request.fileName;
|
|
5038
|
+
}
|
|
5039
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
5040
|
+
query["SceneId"] = request.sceneId;
|
|
5041
|
+
}
|
|
5042
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
5043
|
+
query["Type"] = request.type;
|
|
5044
|
+
}
|
|
5045
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5046
|
+
query: openapi_util_1.default.query(query),
|
|
5047
|
+
});
|
|
5048
|
+
let params = new $OpenApi.Params({
|
|
5049
|
+
action: "AddHotspotFile",
|
|
5050
|
+
version: "2020-01-01",
|
|
5051
|
+
protocol: "HTTPS",
|
|
5052
|
+
pathname: "/",
|
|
5053
|
+
method: "POST",
|
|
5054
|
+
authType: "AK",
|
|
5055
|
+
style: "RPC",
|
|
5056
|
+
reqBodyType: "formData",
|
|
5057
|
+
bodyType: "json",
|
|
5058
|
+
});
|
|
5059
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AddHotspotFileResponse({}));
|
|
5060
|
+
}
|
|
5061
|
+
async addHotspotFile(request) {
|
|
5062
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5063
|
+
return await this.addHotspotFileWithOptions(request, runtime);
|
|
5064
|
+
}
|
|
4605
5065
|
async addMosaicsWithOptions(request, runtime) {
|
|
4606
5066
|
tea_util_1.default.validateModel(request);
|
|
4607
5067
|
let query = {};
|
|
@@ -4811,6 +5271,9 @@ class Client extends openapi_client_1.default {
|
|
|
4811
5271
|
async copySceneWithOptions(request, runtime) {
|
|
4812
5272
|
tea_util_1.default.validateModel(request);
|
|
4813
5273
|
let query = {};
|
|
5274
|
+
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
5275
|
+
query["ProjectId"] = request.projectId;
|
|
5276
|
+
}
|
|
4814
5277
|
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
4815
5278
|
query["SceneId"] = request.sceneId;
|
|
4816
5279
|
}
|
|
@@ -4837,6 +5300,35 @@ class Client extends openapi_client_1.default {
|
|
|
4837
5300
|
let runtime = new $Util.RuntimeOptions({});
|
|
4838
5301
|
return await this.copySceneWithOptions(request, runtime);
|
|
4839
5302
|
}
|
|
5303
|
+
async createUploadPolicyWithOptions(request, runtime) {
|
|
5304
|
+
tea_util_1.default.validateModel(request);
|
|
5305
|
+
let query = {};
|
|
5306
|
+
if (!tea_util_1.default.isUnset(request.option)) {
|
|
5307
|
+
query["Option"] = request.option;
|
|
5308
|
+
}
|
|
5309
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
5310
|
+
query["Type"] = request.type;
|
|
5311
|
+
}
|
|
5312
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5313
|
+
query: openapi_util_1.default.query(query),
|
|
5314
|
+
});
|
|
5315
|
+
let params = new $OpenApi.Params({
|
|
5316
|
+
action: "CreateUploadPolicy",
|
|
5317
|
+
version: "2020-01-01",
|
|
5318
|
+
protocol: "HTTPS",
|
|
5319
|
+
pathname: "/",
|
|
5320
|
+
method: "POST",
|
|
5321
|
+
authType: "AK",
|
|
5322
|
+
style: "RPC",
|
|
5323
|
+
reqBodyType: "formData",
|
|
5324
|
+
bodyType: "json",
|
|
5325
|
+
});
|
|
5326
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateUploadPolicyResponse({}));
|
|
5327
|
+
}
|
|
5328
|
+
async createUploadPolicy(request) {
|
|
5329
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5330
|
+
return await this.createUploadPolicyWithOptions(request, runtime);
|
|
5331
|
+
}
|
|
4840
5332
|
async detailProjectWithOptions(request, runtime) {
|
|
4841
5333
|
tea_util_1.default.validateModel(request);
|
|
4842
5334
|
let query = {};
|
|
@@ -5408,6 +5900,9 @@ class Client extends openapi_client_1.default {
|
|
|
5408
5900
|
async getScenePreviewResourceWithOptions(request, runtime) {
|
|
5409
5901
|
tea_util_1.default.validateModel(request);
|
|
5410
5902
|
let query = {};
|
|
5903
|
+
if (!tea_util_1.default.isUnset(request.draft)) {
|
|
5904
|
+
query["Draft"] = request.draft;
|
|
5905
|
+
}
|
|
5411
5906
|
if (!tea_util_1.default.isUnset(request.previewToken)) {
|
|
5412
5907
|
query["PreviewToken"] = request.previewToken;
|
|
5413
5908
|
}
|
|
@@ -5916,6 +6411,32 @@ class Client extends openapi_client_1.default {
|
|
|
5916
6411
|
let runtime = new $Util.RuntimeOptions({});
|
|
5917
6412
|
return await this.publishHotspotWithOptions(request, runtime);
|
|
5918
6413
|
}
|
|
6414
|
+
async publishHotspotConfigWithOptions(request, runtime) {
|
|
6415
|
+
tea_util_1.default.validateModel(request);
|
|
6416
|
+
let query = {};
|
|
6417
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6418
|
+
query["SceneId"] = request.sceneId;
|
|
6419
|
+
}
|
|
6420
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6421
|
+
query: openapi_util_1.default.query(query),
|
|
6422
|
+
});
|
|
6423
|
+
let params = new $OpenApi.Params({
|
|
6424
|
+
action: "PublishHotspotConfig",
|
|
6425
|
+
version: "2020-01-01",
|
|
6426
|
+
protocol: "HTTPS",
|
|
6427
|
+
pathname: "/",
|
|
6428
|
+
method: "POST",
|
|
6429
|
+
authType: "AK",
|
|
6430
|
+
style: "RPC",
|
|
6431
|
+
reqBodyType: "formData",
|
|
6432
|
+
bodyType: "json",
|
|
6433
|
+
});
|
|
6434
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PublishHotspotConfigResponse({}));
|
|
6435
|
+
}
|
|
6436
|
+
async publishHotspotConfig(request) {
|
|
6437
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6438
|
+
return await this.publishHotspotConfigWithOptions(request, runtime);
|
|
6439
|
+
}
|
|
5919
6440
|
async publishSceneWithOptions(request, runtime) {
|
|
5920
6441
|
tea_util_1.default.validateModel(request);
|
|
5921
6442
|
let query = {};
|
|
@@ -6142,6 +6663,93 @@ class Client extends openapi_client_1.default {
|
|
|
6142
6663
|
let runtime = new $Util.RuntimeOptions({});
|
|
6143
6664
|
return await this.saveHotspotTagWithOptions(request, runtime);
|
|
6144
6665
|
}
|
|
6666
|
+
async saveHotspotTagListWithOptions(request, runtime) {
|
|
6667
|
+
tea_util_1.default.validateModel(request);
|
|
6668
|
+
let query = {};
|
|
6669
|
+
if (!tea_util_1.default.isUnset(request.hotspotListJson)) {
|
|
6670
|
+
query["HotspotListJson"] = request.hotspotListJson;
|
|
6671
|
+
}
|
|
6672
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6673
|
+
query["SceneId"] = request.sceneId;
|
|
6674
|
+
}
|
|
6675
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6676
|
+
query: openapi_util_1.default.query(query),
|
|
6677
|
+
});
|
|
6678
|
+
let params = new $OpenApi.Params({
|
|
6679
|
+
action: "SaveHotspotTagList",
|
|
6680
|
+
version: "2020-01-01",
|
|
6681
|
+
protocol: "HTTPS",
|
|
6682
|
+
pathname: "/",
|
|
6683
|
+
method: "POST",
|
|
6684
|
+
authType: "AK",
|
|
6685
|
+
style: "RPC",
|
|
6686
|
+
reqBodyType: "formData",
|
|
6687
|
+
bodyType: "json",
|
|
6688
|
+
});
|
|
6689
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SaveHotspotTagListResponse({}));
|
|
6690
|
+
}
|
|
6691
|
+
async saveHotspotTagList(request) {
|
|
6692
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6693
|
+
return await this.saveHotspotTagListWithOptions(request, runtime);
|
|
6694
|
+
}
|
|
6695
|
+
async saveMinimapWithOptions(request, runtime) {
|
|
6696
|
+
tea_util_1.default.validateModel(request);
|
|
6697
|
+
let query = {};
|
|
6698
|
+
if (!tea_util_1.default.isUnset(request.data)) {
|
|
6699
|
+
query["Data"] = request.data;
|
|
6700
|
+
}
|
|
6701
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6702
|
+
query["SceneId"] = request.sceneId;
|
|
6703
|
+
}
|
|
6704
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6705
|
+
query: openapi_util_1.default.query(query),
|
|
6706
|
+
});
|
|
6707
|
+
let params = new $OpenApi.Params({
|
|
6708
|
+
action: "SaveMinimap",
|
|
6709
|
+
version: "2020-01-01",
|
|
6710
|
+
protocol: "HTTPS",
|
|
6711
|
+
pathname: "/",
|
|
6712
|
+
method: "POST",
|
|
6713
|
+
authType: "AK",
|
|
6714
|
+
style: "RPC",
|
|
6715
|
+
reqBodyType: "formData",
|
|
6716
|
+
bodyType: "json",
|
|
6717
|
+
});
|
|
6718
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SaveMinimapResponse({}));
|
|
6719
|
+
}
|
|
6720
|
+
async saveMinimap(request) {
|
|
6721
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6722
|
+
return await this.saveMinimapWithOptions(request, runtime);
|
|
6723
|
+
}
|
|
6724
|
+
async saveModelConfigWithOptions(request, runtime) {
|
|
6725
|
+
tea_util_1.default.validateModel(request);
|
|
6726
|
+
let query = {};
|
|
6727
|
+
if (!tea_util_1.default.isUnset(request.data)) {
|
|
6728
|
+
query["Data"] = request.data;
|
|
6729
|
+
}
|
|
6730
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6731
|
+
query["SceneId"] = request.sceneId;
|
|
6732
|
+
}
|
|
6733
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6734
|
+
query: openapi_util_1.default.query(query),
|
|
6735
|
+
});
|
|
6736
|
+
let params = new $OpenApi.Params({
|
|
6737
|
+
action: "SaveModelConfig",
|
|
6738
|
+
version: "2020-01-01",
|
|
6739
|
+
protocol: "HTTPS",
|
|
6740
|
+
pathname: "/",
|
|
6741
|
+
method: "POST",
|
|
6742
|
+
authType: "AK",
|
|
6743
|
+
style: "RPC",
|
|
6744
|
+
reqBodyType: "formData",
|
|
6745
|
+
bodyType: "json",
|
|
6746
|
+
});
|
|
6747
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SaveModelConfigResponse({}));
|
|
6748
|
+
}
|
|
6749
|
+
async saveModelConfig(request) {
|
|
6750
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6751
|
+
return await this.saveModelConfigWithOptions(request, runtime);
|
|
6752
|
+
}
|
|
6145
6753
|
async scenePublishWithOptions(request, runtime) {
|
|
6146
6754
|
tea_util_1.default.validateModel(request);
|
|
6147
6755
|
let query = {};
|