@alicloud/tdsr20200101 3.1.1 → 3.1.4
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 +346 -1
- package/dist/client.js +671 -34
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +810 -27
package/dist/client.js
CHANGED
|
@@ -459,12 +459,14 @@ class CopySceneRequest extends $tea.Model {
|
|
|
459
459
|
}
|
|
460
460
|
static names() {
|
|
461
461
|
return {
|
|
462
|
+
projectId: 'ProjectId',
|
|
462
463
|
sceneId: 'SceneId',
|
|
463
464
|
sceneName: 'SceneName',
|
|
464
465
|
};
|
|
465
466
|
}
|
|
466
467
|
static types() {
|
|
467
468
|
return {
|
|
469
|
+
projectId: 'string',
|
|
468
470
|
sceneId: 'string',
|
|
469
471
|
sceneName: 'string',
|
|
470
472
|
};
|
|
@@ -515,6 +517,68 @@ class CopySceneResponse extends $tea.Model {
|
|
|
515
517
|
}
|
|
516
518
|
}
|
|
517
519
|
exports.CopySceneResponse = CopySceneResponse;
|
|
520
|
+
class CreateUploadPolicyRequest extends $tea.Model {
|
|
521
|
+
constructor(map) {
|
|
522
|
+
super(map);
|
|
523
|
+
}
|
|
524
|
+
static names() {
|
|
525
|
+
return {
|
|
526
|
+
option: 'Option',
|
|
527
|
+
type: 'Type',
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
static types() {
|
|
531
|
+
return {
|
|
532
|
+
option: 'string',
|
|
533
|
+
type: 'string',
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
exports.CreateUploadPolicyRequest = CreateUploadPolicyRequest;
|
|
538
|
+
class CreateUploadPolicyResponseBody extends $tea.Model {
|
|
539
|
+
constructor(map) {
|
|
540
|
+
super(map);
|
|
541
|
+
}
|
|
542
|
+
static names() {
|
|
543
|
+
return {
|
|
544
|
+
code: 'Code',
|
|
545
|
+
data: 'Data',
|
|
546
|
+
message: 'Message',
|
|
547
|
+
requestId: 'RequestId',
|
|
548
|
+
success: 'Success',
|
|
549
|
+
};
|
|
550
|
+
}
|
|
551
|
+
static types() {
|
|
552
|
+
return {
|
|
553
|
+
code: 'number',
|
|
554
|
+
data: CreateUploadPolicyResponseBodyData,
|
|
555
|
+
message: 'string',
|
|
556
|
+
requestId: 'string',
|
|
557
|
+
success: 'boolean',
|
|
558
|
+
};
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
exports.CreateUploadPolicyResponseBody = CreateUploadPolicyResponseBody;
|
|
562
|
+
class CreateUploadPolicyResponse extends $tea.Model {
|
|
563
|
+
constructor(map) {
|
|
564
|
+
super(map);
|
|
565
|
+
}
|
|
566
|
+
static names() {
|
|
567
|
+
return {
|
|
568
|
+
headers: 'headers',
|
|
569
|
+
statusCode: 'statusCode',
|
|
570
|
+
body: 'body',
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
static types() {
|
|
574
|
+
return {
|
|
575
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
576
|
+
statusCode: 'number',
|
|
577
|
+
body: CreateUploadPolicyResponseBody,
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
exports.CreateUploadPolicyResponse = CreateUploadPolicyResponse;
|
|
518
582
|
class DetailProjectRequest extends $tea.Model {
|
|
519
583
|
constructor(map) {
|
|
520
584
|
super(map);
|
|
@@ -609,7 +673,9 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
609
673
|
}
|
|
610
674
|
static names() {
|
|
611
675
|
return {
|
|
676
|
+
captures: 'Captures',
|
|
612
677
|
code: 'Code',
|
|
678
|
+
coverUrl: 'CoverUrl',
|
|
613
679
|
gmtCreate: 'GmtCreate',
|
|
614
680
|
gmtModified: 'GmtModified',
|
|
615
681
|
id: 'Id',
|
|
@@ -619,6 +685,8 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
619
685
|
published: 'Published',
|
|
620
686
|
requestId: 'RequestId',
|
|
621
687
|
sourceNum: 'SourceNum',
|
|
688
|
+
status: 'Status',
|
|
689
|
+
statusName: 'StatusName',
|
|
622
690
|
subSceneNum: 'SubSceneNum',
|
|
623
691
|
success: 'Success',
|
|
624
692
|
type: 'Type',
|
|
@@ -626,7 +694,9 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
626
694
|
}
|
|
627
695
|
static types() {
|
|
628
696
|
return {
|
|
697
|
+
captures: { 'type': 'array', 'itemType': DetailSceneResponseBodyCaptures },
|
|
629
698
|
code: 'number',
|
|
699
|
+
coverUrl: 'string',
|
|
630
700
|
gmtCreate: 'number',
|
|
631
701
|
gmtModified: 'number',
|
|
632
702
|
id: 'string',
|
|
@@ -636,6 +706,8 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
636
706
|
published: 'boolean',
|
|
637
707
|
requestId: 'string',
|
|
638
708
|
sourceNum: 'number',
|
|
709
|
+
status: 'string',
|
|
710
|
+
statusName: 'string',
|
|
639
711
|
subSceneNum: 'number',
|
|
640
712
|
success: 'boolean',
|
|
641
713
|
type: 'string',
|
|
@@ -696,6 +768,7 @@ class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
696
768
|
message: 'Message',
|
|
697
769
|
name: 'Name',
|
|
698
770
|
originUrl: 'OriginUrl',
|
|
771
|
+
position: 'Position',
|
|
699
772
|
requestId: 'RequestId',
|
|
700
773
|
resourceId: 'ResourceId',
|
|
701
774
|
status: 'Status',
|
|
@@ -717,6 +790,7 @@ class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
717
790
|
message: 'string',
|
|
718
791
|
name: 'string',
|
|
719
792
|
originUrl: 'string',
|
|
793
|
+
position: 'string',
|
|
720
794
|
requestId: 'string',
|
|
721
795
|
resourceId: 'string',
|
|
722
796
|
status: 'number',
|
|
@@ -1821,11 +1895,13 @@ class GetScenePreviewResourceRequest extends $tea.Model {
|
|
|
1821
1895
|
}
|
|
1822
1896
|
static names() {
|
|
1823
1897
|
return {
|
|
1898
|
+
draft: 'Draft',
|
|
1824
1899
|
previewToken: 'PreviewToken',
|
|
1825
1900
|
};
|
|
1826
1901
|
}
|
|
1827
1902
|
static types() {
|
|
1828
1903
|
return {
|
|
1904
|
+
draft: 'boolean',
|
|
1829
1905
|
previewToken: 'string',
|
|
1830
1906
|
};
|
|
1831
1907
|
}
|
|
@@ -1937,6 +2013,68 @@ class GetSingleConnDataResponse extends $tea.Model {
|
|
|
1937
2013
|
}
|
|
1938
2014
|
}
|
|
1939
2015
|
exports.GetSingleConnDataResponse = GetSingleConnDataResponse;
|
|
2016
|
+
class GetSourcePackStatusRequest extends $tea.Model {
|
|
2017
|
+
constructor(map) {
|
|
2018
|
+
super(map);
|
|
2019
|
+
}
|
|
2020
|
+
static names() {
|
|
2021
|
+
return {
|
|
2022
|
+
taskId: 'TaskId',
|
|
2023
|
+
};
|
|
2024
|
+
}
|
|
2025
|
+
static types() {
|
|
2026
|
+
return {
|
|
2027
|
+
taskId: 'string',
|
|
2028
|
+
};
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
exports.GetSourcePackStatusRequest = GetSourcePackStatusRequest;
|
|
2032
|
+
class GetSourcePackStatusResponseBody extends $tea.Model {
|
|
2033
|
+
constructor(map) {
|
|
2034
|
+
super(map);
|
|
2035
|
+
}
|
|
2036
|
+
static names() {
|
|
2037
|
+
return {
|
|
2038
|
+
code: 'Code',
|
|
2039
|
+
data: 'Data',
|
|
2040
|
+
message: 'Message',
|
|
2041
|
+
requestId: 'RequestId',
|
|
2042
|
+
success: 'Success',
|
|
2043
|
+
url: 'Url',
|
|
2044
|
+
};
|
|
2045
|
+
}
|
|
2046
|
+
static types() {
|
|
2047
|
+
return {
|
|
2048
|
+
code: 'number',
|
|
2049
|
+
data: GetSourcePackStatusResponseBodyData,
|
|
2050
|
+
message: 'string',
|
|
2051
|
+
requestId: 'string',
|
|
2052
|
+
success: 'boolean',
|
|
2053
|
+
url: 'string',
|
|
2054
|
+
};
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
exports.GetSourcePackStatusResponseBody = GetSourcePackStatusResponseBody;
|
|
2058
|
+
class GetSourcePackStatusResponse extends $tea.Model {
|
|
2059
|
+
constructor(map) {
|
|
2060
|
+
super(map);
|
|
2061
|
+
}
|
|
2062
|
+
static names() {
|
|
2063
|
+
return {
|
|
2064
|
+
headers: 'headers',
|
|
2065
|
+
statusCode: 'statusCode',
|
|
2066
|
+
body: 'body',
|
|
2067
|
+
};
|
|
2068
|
+
}
|
|
2069
|
+
static types() {
|
|
2070
|
+
return {
|
|
2071
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2072
|
+
statusCode: 'number',
|
|
2073
|
+
body: GetSourcePackStatusResponseBody,
|
|
2074
|
+
};
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
exports.GetSourcePackStatusResponse = GetSourcePackStatusResponse;
|
|
1940
2078
|
class GetSubSceneTaskStatusRequest extends $tea.Model {
|
|
1941
2079
|
constructor(map) {
|
|
1942
2080
|
super(map);
|
|
@@ -2130,7 +2268,7 @@ class LabelBuildRequest extends $tea.Model {
|
|
|
2130
2268
|
static names() {
|
|
2131
2269
|
return {
|
|
2132
2270
|
mode: 'Mode',
|
|
2133
|
-
|
|
2271
|
+
modelStyle: 'ModelStyle',
|
|
2134
2272
|
optimizeWallWidth: 'OptimizeWallWidth',
|
|
2135
2273
|
planStyle: 'PlanStyle',
|
|
2136
2274
|
sceneId: 'SceneId',
|
|
@@ -2140,7 +2278,7 @@ class LabelBuildRequest extends $tea.Model {
|
|
|
2140
2278
|
static types() {
|
|
2141
2279
|
return {
|
|
2142
2280
|
mode: 'string',
|
|
2143
|
-
|
|
2281
|
+
modelStyle: 'string',
|
|
2144
2282
|
optimizeWallWidth: 'string',
|
|
2145
2283
|
planStyle: 'string',
|
|
2146
2284
|
sceneId: 'string',
|
|
@@ -2603,6 +2741,66 @@ class PackSceneResponse extends $tea.Model {
|
|
|
2603
2741
|
}
|
|
2604
2742
|
}
|
|
2605
2743
|
exports.PackSceneResponse = PackSceneResponse;
|
|
2744
|
+
class PackSourceRequest extends $tea.Model {
|
|
2745
|
+
constructor(map) {
|
|
2746
|
+
super(map);
|
|
2747
|
+
}
|
|
2748
|
+
static names() {
|
|
2749
|
+
return {
|
|
2750
|
+
sceneId: 'SceneId',
|
|
2751
|
+
};
|
|
2752
|
+
}
|
|
2753
|
+
static types() {
|
|
2754
|
+
return {
|
|
2755
|
+
sceneId: 'string',
|
|
2756
|
+
};
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
exports.PackSourceRequest = PackSourceRequest;
|
|
2760
|
+
class PackSourceResponseBody extends $tea.Model {
|
|
2761
|
+
constructor(map) {
|
|
2762
|
+
super(map);
|
|
2763
|
+
}
|
|
2764
|
+
static names() {
|
|
2765
|
+
return {
|
|
2766
|
+
code: 'Code',
|
|
2767
|
+
data: 'Data',
|
|
2768
|
+
message: 'Message',
|
|
2769
|
+
requestId: 'RequestId',
|
|
2770
|
+
success: 'Success',
|
|
2771
|
+
};
|
|
2772
|
+
}
|
|
2773
|
+
static types() {
|
|
2774
|
+
return {
|
|
2775
|
+
code: 'number',
|
|
2776
|
+
data: PackSourceResponseBodyData,
|
|
2777
|
+
message: 'string',
|
|
2778
|
+
requestId: 'string',
|
|
2779
|
+
success: 'boolean',
|
|
2780
|
+
};
|
|
2781
|
+
}
|
|
2782
|
+
}
|
|
2783
|
+
exports.PackSourceResponseBody = PackSourceResponseBody;
|
|
2784
|
+
class PackSourceResponse extends $tea.Model {
|
|
2785
|
+
constructor(map) {
|
|
2786
|
+
super(map);
|
|
2787
|
+
}
|
|
2788
|
+
static names() {
|
|
2789
|
+
return {
|
|
2790
|
+
headers: 'headers',
|
|
2791
|
+
statusCode: 'statusCode',
|
|
2792
|
+
body: 'body',
|
|
2793
|
+
};
|
|
2794
|
+
}
|
|
2795
|
+
static types() {
|
|
2796
|
+
return {
|
|
2797
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2798
|
+
statusCode: 'number',
|
|
2799
|
+
body: PackSourceResponseBody,
|
|
2800
|
+
};
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
exports.PackSourceResponse = PackSourceResponse;
|
|
2606
2804
|
class PredImageRequest extends $tea.Model {
|
|
2607
2805
|
constructor(map) {
|
|
2608
2806
|
super(map);
|
|
@@ -2793,6 +2991,64 @@ class PublishHotspotResponse extends $tea.Model {
|
|
|
2793
2991
|
}
|
|
2794
2992
|
}
|
|
2795
2993
|
exports.PublishHotspotResponse = PublishHotspotResponse;
|
|
2994
|
+
class PublishHotspotConfigRequest extends $tea.Model {
|
|
2995
|
+
constructor(map) {
|
|
2996
|
+
super(map);
|
|
2997
|
+
}
|
|
2998
|
+
static names() {
|
|
2999
|
+
return {
|
|
3000
|
+
sceneId: 'SceneId',
|
|
3001
|
+
};
|
|
3002
|
+
}
|
|
3003
|
+
static types() {
|
|
3004
|
+
return {
|
|
3005
|
+
sceneId: 'string',
|
|
3006
|
+
};
|
|
3007
|
+
}
|
|
3008
|
+
}
|
|
3009
|
+
exports.PublishHotspotConfigRequest = PublishHotspotConfigRequest;
|
|
3010
|
+
class PublishHotspotConfigResponseBody extends $tea.Model {
|
|
3011
|
+
constructor(map) {
|
|
3012
|
+
super(map);
|
|
3013
|
+
}
|
|
3014
|
+
static names() {
|
|
3015
|
+
return {
|
|
3016
|
+
code: 'Code',
|
|
3017
|
+
message: 'Message',
|
|
3018
|
+
requestId: 'RequestId',
|
|
3019
|
+
success: 'Success',
|
|
3020
|
+
};
|
|
3021
|
+
}
|
|
3022
|
+
static types() {
|
|
3023
|
+
return {
|
|
3024
|
+
code: 'number',
|
|
3025
|
+
message: 'string',
|
|
3026
|
+
requestId: 'string',
|
|
3027
|
+
success: 'boolean',
|
|
3028
|
+
};
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
exports.PublishHotspotConfigResponseBody = PublishHotspotConfigResponseBody;
|
|
3032
|
+
class PublishHotspotConfigResponse extends $tea.Model {
|
|
3033
|
+
constructor(map) {
|
|
3034
|
+
super(map);
|
|
3035
|
+
}
|
|
3036
|
+
static names() {
|
|
3037
|
+
return {
|
|
3038
|
+
headers: 'headers',
|
|
3039
|
+
statusCode: 'statusCode',
|
|
3040
|
+
body: 'body',
|
|
3041
|
+
};
|
|
3042
|
+
}
|
|
3043
|
+
static types() {
|
|
3044
|
+
return {
|
|
3045
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3046
|
+
statusCode: 'number',
|
|
3047
|
+
body: PublishHotspotConfigResponseBody,
|
|
3048
|
+
};
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
3051
|
+
exports.PublishHotspotConfigResponse = PublishHotspotConfigResponse;
|
|
2796
3052
|
class PublishSceneRequest extends $tea.Model {
|
|
2797
3053
|
constructor(map) {
|
|
2798
3054
|
super(map);
|
|
@@ -2880,6 +3136,7 @@ class PublishStatusResponseBody extends $tea.Model {
|
|
|
2880
3136
|
requestId: 'RequestId',
|
|
2881
3137
|
status: 'Status',
|
|
2882
3138
|
success: 'Success',
|
|
3139
|
+
syncStatus: 'SyncStatus',
|
|
2883
3140
|
};
|
|
2884
3141
|
}
|
|
2885
3142
|
static types() {
|
|
@@ -2889,6 +3146,7 @@ class PublishStatusResponseBody extends $tea.Model {
|
|
|
2889
3146
|
requestId: 'string',
|
|
2890
3147
|
status: 'string',
|
|
2891
3148
|
success: 'boolean',
|
|
3149
|
+
syncStatus: 'string',
|
|
2892
3150
|
};
|
|
2893
3151
|
}
|
|
2894
3152
|
}
|
|
@@ -3275,23 +3533,25 @@ class SaveHotspotTagResponse extends $tea.Model {
|
|
|
3275
3533
|
}
|
|
3276
3534
|
}
|
|
3277
3535
|
exports.SaveHotspotTagResponse = SaveHotspotTagResponse;
|
|
3278
|
-
class
|
|
3536
|
+
class SaveHotspotTagListRequest extends $tea.Model {
|
|
3279
3537
|
constructor(map) {
|
|
3280
3538
|
super(map);
|
|
3281
3539
|
}
|
|
3282
3540
|
static names() {
|
|
3283
3541
|
return {
|
|
3542
|
+
hotspotListJson: 'HotspotListJson',
|
|
3284
3543
|
sceneId: 'SceneId',
|
|
3285
3544
|
};
|
|
3286
3545
|
}
|
|
3287
3546
|
static types() {
|
|
3288
3547
|
return {
|
|
3548
|
+
hotspotListJson: 'string',
|
|
3289
3549
|
sceneId: 'string',
|
|
3290
3550
|
};
|
|
3291
3551
|
}
|
|
3292
3552
|
}
|
|
3293
|
-
exports.
|
|
3294
|
-
class
|
|
3553
|
+
exports.SaveHotspotTagListRequest = SaveHotspotTagListRequest;
|
|
3554
|
+
class SaveHotspotTagListResponseBody extends $tea.Model {
|
|
3295
3555
|
constructor(map) {
|
|
3296
3556
|
super(map);
|
|
3297
3557
|
}
|
|
@@ -3299,7 +3559,6 @@ class ScenePublishResponseBody extends $tea.Model {
|
|
|
3299
3559
|
return {
|
|
3300
3560
|
code: 'Code',
|
|
3301
3561
|
message: 'Message',
|
|
3302
|
-
previewUrl: 'PreviewUrl',
|
|
3303
3562
|
requestId: 'RequestId',
|
|
3304
3563
|
success: 'Success',
|
|
3305
3564
|
};
|
|
@@ -3308,14 +3567,13 @@ class ScenePublishResponseBody extends $tea.Model {
|
|
|
3308
3567
|
return {
|
|
3309
3568
|
code: 'number',
|
|
3310
3569
|
message: 'string',
|
|
3311
|
-
previewUrl: 'string',
|
|
3312
3570
|
requestId: 'string',
|
|
3313
3571
|
success: 'boolean',
|
|
3314
3572
|
};
|
|
3315
3573
|
}
|
|
3316
3574
|
}
|
|
3317
|
-
exports.
|
|
3318
|
-
class
|
|
3575
|
+
exports.SaveHotspotTagListResponseBody = SaveHotspotTagListResponseBody;
|
|
3576
|
+
class SaveHotspotTagListResponse extends $tea.Model {
|
|
3319
3577
|
constructor(map) {
|
|
3320
3578
|
super(map);
|
|
3321
3579
|
}
|
|
@@ -3330,28 +3588,30 @@ class ScenePublishResponse extends $tea.Model {
|
|
|
3330
3588
|
return {
|
|
3331
3589
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3332
3590
|
statusCode: 'number',
|
|
3333
|
-
body:
|
|
3591
|
+
body: SaveHotspotTagListResponseBody,
|
|
3334
3592
|
};
|
|
3335
3593
|
}
|
|
3336
3594
|
}
|
|
3337
|
-
exports.
|
|
3338
|
-
class
|
|
3595
|
+
exports.SaveHotspotTagListResponse = SaveHotspotTagListResponse;
|
|
3596
|
+
class SaveModelConfigRequest extends $tea.Model {
|
|
3339
3597
|
constructor(map) {
|
|
3340
3598
|
super(map);
|
|
3341
3599
|
}
|
|
3342
3600
|
static names() {
|
|
3343
3601
|
return {
|
|
3602
|
+
data: 'Data',
|
|
3344
3603
|
sceneId: 'SceneId',
|
|
3345
3604
|
};
|
|
3346
3605
|
}
|
|
3347
3606
|
static types() {
|
|
3348
3607
|
return {
|
|
3608
|
+
data: 'string',
|
|
3349
3609
|
sceneId: 'string',
|
|
3350
3610
|
};
|
|
3351
3611
|
}
|
|
3352
3612
|
}
|
|
3353
|
-
exports.
|
|
3354
|
-
class
|
|
3613
|
+
exports.SaveModelConfigRequest = SaveModelConfigRequest;
|
|
3614
|
+
class SaveModelConfigResponseBody extends $tea.Model {
|
|
3355
3615
|
constructor(map) {
|
|
3356
3616
|
super(map);
|
|
3357
3617
|
}
|
|
@@ -3359,9 +3619,7 @@ class TempPreviewResponseBody extends $tea.Model {
|
|
|
3359
3619
|
return {
|
|
3360
3620
|
code: 'Code',
|
|
3361
3621
|
message: 'Message',
|
|
3362
|
-
previewUrl: 'PreviewUrl',
|
|
3363
3622
|
requestId: 'RequestId',
|
|
3364
|
-
sceneId: 'SceneId',
|
|
3365
3623
|
success: 'Success',
|
|
3366
3624
|
};
|
|
3367
3625
|
}
|
|
@@ -3369,15 +3627,13 @@ class TempPreviewResponseBody extends $tea.Model {
|
|
|
3369
3627
|
return {
|
|
3370
3628
|
code: 'number',
|
|
3371
3629
|
message: 'string',
|
|
3372
|
-
previewUrl: 'string',
|
|
3373
3630
|
requestId: 'string',
|
|
3374
|
-
sceneId: 'string',
|
|
3375
3631
|
success: 'boolean',
|
|
3376
3632
|
};
|
|
3377
3633
|
}
|
|
3378
3634
|
}
|
|
3379
|
-
exports.
|
|
3380
|
-
class
|
|
3635
|
+
exports.SaveModelConfigResponseBody = SaveModelConfigResponseBody;
|
|
3636
|
+
class SaveModelConfigResponse extends $tea.Model {
|
|
3381
3637
|
constructor(map) {
|
|
3382
3638
|
super(map);
|
|
3383
3639
|
}
|
|
@@ -3392,12 +3648,12 @@ class TempPreviewResponse extends $tea.Model {
|
|
|
3392
3648
|
return {
|
|
3393
3649
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3394
3650
|
statusCode: 'number',
|
|
3395
|
-
body:
|
|
3651
|
+
body: SaveModelConfigResponseBody,
|
|
3396
3652
|
};
|
|
3397
3653
|
}
|
|
3398
3654
|
}
|
|
3399
|
-
exports.
|
|
3400
|
-
class
|
|
3655
|
+
exports.SaveModelConfigResponse = SaveModelConfigResponse;
|
|
3656
|
+
class ScenePublishRequest extends $tea.Model {
|
|
3401
3657
|
constructor(map) {
|
|
3402
3658
|
super(map);
|
|
3403
3659
|
}
|
|
@@ -3412,8 +3668,8 @@ class TempPreviewStatusRequest extends $tea.Model {
|
|
|
3412
3668
|
};
|
|
3413
3669
|
}
|
|
3414
3670
|
}
|
|
3415
|
-
exports.
|
|
3416
|
-
class
|
|
3671
|
+
exports.ScenePublishRequest = ScenePublishRequest;
|
|
3672
|
+
class ScenePublishResponseBody extends $tea.Model {
|
|
3417
3673
|
constructor(map) {
|
|
3418
3674
|
super(map);
|
|
3419
3675
|
}
|
|
@@ -3421,8 +3677,8 @@ class TempPreviewStatusResponseBody extends $tea.Model {
|
|
|
3421
3677
|
return {
|
|
3422
3678
|
code: 'Code',
|
|
3423
3679
|
message: 'Message',
|
|
3680
|
+
previewUrl: 'PreviewUrl',
|
|
3424
3681
|
requestId: 'RequestId',
|
|
3425
|
-
status: 'Status',
|
|
3426
3682
|
success: 'Success',
|
|
3427
3683
|
};
|
|
3428
3684
|
}
|
|
@@ -3430,14 +3686,14 @@ class TempPreviewStatusResponseBody extends $tea.Model {
|
|
|
3430
3686
|
return {
|
|
3431
3687
|
code: 'number',
|
|
3432
3688
|
message: 'string',
|
|
3689
|
+
previewUrl: 'string',
|
|
3433
3690
|
requestId: 'string',
|
|
3434
|
-
status: 'string',
|
|
3435
3691
|
success: 'boolean',
|
|
3436
3692
|
};
|
|
3437
3693
|
}
|
|
3438
3694
|
}
|
|
3439
|
-
exports.
|
|
3440
|
-
class
|
|
3695
|
+
exports.ScenePublishResponseBody = ScenePublishResponseBody;
|
|
3696
|
+
class ScenePublishResponse extends $tea.Model {
|
|
3441
3697
|
constructor(map) {
|
|
3442
3698
|
super(map);
|
|
3443
3699
|
}
|
|
@@ -3452,12 +3708,134 @@ class TempPreviewStatusResponse extends $tea.Model {
|
|
|
3452
3708
|
return {
|
|
3453
3709
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3454
3710
|
statusCode: 'number',
|
|
3455
|
-
body:
|
|
3711
|
+
body: ScenePublishResponseBody,
|
|
3456
3712
|
};
|
|
3457
3713
|
}
|
|
3458
3714
|
}
|
|
3459
|
-
exports.
|
|
3460
|
-
class
|
|
3715
|
+
exports.ScenePublishResponse = ScenePublishResponse;
|
|
3716
|
+
class TempPreviewRequest extends $tea.Model {
|
|
3717
|
+
constructor(map) {
|
|
3718
|
+
super(map);
|
|
3719
|
+
}
|
|
3720
|
+
static names() {
|
|
3721
|
+
return {
|
|
3722
|
+
sceneId: 'SceneId',
|
|
3723
|
+
};
|
|
3724
|
+
}
|
|
3725
|
+
static types() {
|
|
3726
|
+
return {
|
|
3727
|
+
sceneId: 'string',
|
|
3728
|
+
};
|
|
3729
|
+
}
|
|
3730
|
+
}
|
|
3731
|
+
exports.TempPreviewRequest = TempPreviewRequest;
|
|
3732
|
+
class TempPreviewResponseBody extends $tea.Model {
|
|
3733
|
+
constructor(map) {
|
|
3734
|
+
super(map);
|
|
3735
|
+
}
|
|
3736
|
+
static names() {
|
|
3737
|
+
return {
|
|
3738
|
+
code: 'Code',
|
|
3739
|
+
message: 'Message',
|
|
3740
|
+
previewUrl: 'PreviewUrl',
|
|
3741
|
+
requestId: 'RequestId',
|
|
3742
|
+
sceneId: 'SceneId',
|
|
3743
|
+
success: 'Success',
|
|
3744
|
+
};
|
|
3745
|
+
}
|
|
3746
|
+
static types() {
|
|
3747
|
+
return {
|
|
3748
|
+
code: 'number',
|
|
3749
|
+
message: 'string',
|
|
3750
|
+
previewUrl: 'string',
|
|
3751
|
+
requestId: 'string',
|
|
3752
|
+
sceneId: 'string',
|
|
3753
|
+
success: 'boolean',
|
|
3754
|
+
};
|
|
3755
|
+
}
|
|
3756
|
+
}
|
|
3757
|
+
exports.TempPreviewResponseBody = TempPreviewResponseBody;
|
|
3758
|
+
class TempPreviewResponse extends $tea.Model {
|
|
3759
|
+
constructor(map) {
|
|
3760
|
+
super(map);
|
|
3761
|
+
}
|
|
3762
|
+
static names() {
|
|
3763
|
+
return {
|
|
3764
|
+
headers: 'headers',
|
|
3765
|
+
statusCode: 'statusCode',
|
|
3766
|
+
body: 'body',
|
|
3767
|
+
};
|
|
3768
|
+
}
|
|
3769
|
+
static types() {
|
|
3770
|
+
return {
|
|
3771
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3772
|
+
statusCode: 'number',
|
|
3773
|
+
body: TempPreviewResponseBody,
|
|
3774
|
+
};
|
|
3775
|
+
}
|
|
3776
|
+
}
|
|
3777
|
+
exports.TempPreviewResponse = TempPreviewResponse;
|
|
3778
|
+
class TempPreviewStatusRequest extends $tea.Model {
|
|
3779
|
+
constructor(map) {
|
|
3780
|
+
super(map);
|
|
3781
|
+
}
|
|
3782
|
+
static names() {
|
|
3783
|
+
return {
|
|
3784
|
+
sceneId: 'SceneId',
|
|
3785
|
+
};
|
|
3786
|
+
}
|
|
3787
|
+
static types() {
|
|
3788
|
+
return {
|
|
3789
|
+
sceneId: 'string',
|
|
3790
|
+
};
|
|
3791
|
+
}
|
|
3792
|
+
}
|
|
3793
|
+
exports.TempPreviewStatusRequest = TempPreviewStatusRequest;
|
|
3794
|
+
class TempPreviewStatusResponseBody extends $tea.Model {
|
|
3795
|
+
constructor(map) {
|
|
3796
|
+
super(map);
|
|
3797
|
+
}
|
|
3798
|
+
static names() {
|
|
3799
|
+
return {
|
|
3800
|
+
code: 'Code',
|
|
3801
|
+
message: 'Message',
|
|
3802
|
+
requestId: 'RequestId',
|
|
3803
|
+
status: 'Status',
|
|
3804
|
+
success: 'Success',
|
|
3805
|
+
};
|
|
3806
|
+
}
|
|
3807
|
+
static types() {
|
|
3808
|
+
return {
|
|
3809
|
+
code: 'number',
|
|
3810
|
+
message: 'string',
|
|
3811
|
+
requestId: 'string',
|
|
3812
|
+
status: 'string',
|
|
3813
|
+
success: 'boolean',
|
|
3814
|
+
};
|
|
3815
|
+
}
|
|
3816
|
+
}
|
|
3817
|
+
exports.TempPreviewStatusResponseBody = TempPreviewStatusResponseBody;
|
|
3818
|
+
class TempPreviewStatusResponse extends $tea.Model {
|
|
3819
|
+
constructor(map) {
|
|
3820
|
+
super(map);
|
|
3821
|
+
}
|
|
3822
|
+
static names() {
|
|
3823
|
+
return {
|
|
3824
|
+
headers: 'headers',
|
|
3825
|
+
statusCode: 'statusCode',
|
|
3826
|
+
body: 'body',
|
|
3827
|
+
};
|
|
3828
|
+
}
|
|
3829
|
+
static types() {
|
|
3830
|
+
return {
|
|
3831
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3832
|
+
statusCode: 'number',
|
|
3833
|
+
body: TempPreviewStatusResponseBody,
|
|
3834
|
+
};
|
|
3835
|
+
}
|
|
3836
|
+
}
|
|
3837
|
+
exports.TempPreviewStatusResponse = TempPreviewStatusResponse;
|
|
3838
|
+
class UpdateConnDataRequest extends $tea.Model {
|
|
3461
3839
|
constructor(map) {
|
|
3462
3840
|
super(map);
|
|
3463
3841
|
}
|
|
@@ -3903,6 +4281,52 @@ class CopySceneResponseBodyData extends $tea.Model {
|
|
|
3903
4281
|
}
|
|
3904
4282
|
}
|
|
3905
4283
|
exports.CopySceneResponseBodyData = CopySceneResponseBodyData;
|
|
4284
|
+
class CreateUploadPolicyResponseBodyData extends $tea.Model {
|
|
4285
|
+
constructor(map) {
|
|
4286
|
+
super(map);
|
|
4287
|
+
}
|
|
4288
|
+
static names() {
|
|
4289
|
+
return {
|
|
4290
|
+
accessId: 'AccessId',
|
|
4291
|
+
callback: 'Callback',
|
|
4292
|
+
dir: 'Dir',
|
|
4293
|
+
expire: 'Expire',
|
|
4294
|
+
host: 'Host',
|
|
4295
|
+
policy: 'Policy',
|
|
4296
|
+
signature: 'Signature',
|
|
4297
|
+
};
|
|
4298
|
+
}
|
|
4299
|
+
static types() {
|
|
4300
|
+
return {
|
|
4301
|
+
accessId: 'string',
|
|
4302
|
+
callback: 'string',
|
|
4303
|
+
dir: 'string',
|
|
4304
|
+
expire: 'string',
|
|
4305
|
+
host: 'string',
|
|
4306
|
+
policy: 'string',
|
|
4307
|
+
signature: 'string',
|
|
4308
|
+
};
|
|
4309
|
+
}
|
|
4310
|
+
}
|
|
4311
|
+
exports.CreateUploadPolicyResponseBodyData = CreateUploadPolicyResponseBodyData;
|
|
4312
|
+
class DetailSceneResponseBodyCaptures extends $tea.Model {
|
|
4313
|
+
constructor(map) {
|
|
4314
|
+
super(map);
|
|
4315
|
+
}
|
|
4316
|
+
static names() {
|
|
4317
|
+
return {
|
|
4318
|
+
title: 'Title',
|
|
4319
|
+
url: 'Url',
|
|
4320
|
+
};
|
|
4321
|
+
}
|
|
4322
|
+
static types() {
|
|
4323
|
+
return {
|
|
4324
|
+
title: 'string',
|
|
4325
|
+
url: 'string',
|
|
4326
|
+
};
|
|
4327
|
+
}
|
|
4328
|
+
}
|
|
4329
|
+
exports.DetailSceneResponseBodyCaptures = DetailSceneResponseBodyCaptures;
|
|
3906
4330
|
class GetConnDataResponseBodyList extends $tea.Model {
|
|
3907
4331
|
constructor(map) {
|
|
3908
4332
|
super(map);
|
|
@@ -4219,6 +4643,7 @@ class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $tea.Mode
|
|
|
4219
4643
|
}
|
|
4220
4644
|
static names() {
|
|
4221
4645
|
return {
|
|
4646
|
+
hotspotTagConfig: 'HotspotTagConfig',
|
|
4222
4647
|
modelConfig: 'ModelConfig',
|
|
4223
4648
|
orthomapConfig: 'OrthomapConfig',
|
|
4224
4649
|
rootPath: 'RootPath',
|
|
@@ -4226,6 +4651,7 @@ class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $tea.Mode
|
|
|
4226
4651
|
}
|
|
4227
4652
|
static types() {
|
|
4228
4653
|
return {
|
|
4654
|
+
hotspotTagConfig: 'string',
|
|
4229
4655
|
modelConfig: 'string',
|
|
4230
4656
|
orthomapConfig: 'string',
|
|
4231
4657
|
rootPath: 'string',
|
|
@@ -4273,6 +4699,24 @@ class GetSingleConnDataResponseBodyList extends $tea.Model {
|
|
|
4273
4699
|
}
|
|
4274
4700
|
}
|
|
4275
4701
|
exports.GetSingleConnDataResponseBodyList = GetSingleConnDataResponseBodyList;
|
|
4702
|
+
class GetSourcePackStatusResponseBodyData extends $tea.Model {
|
|
4703
|
+
constructor(map) {
|
|
4704
|
+
super(map);
|
|
4705
|
+
}
|
|
4706
|
+
static names() {
|
|
4707
|
+
return {
|
|
4708
|
+
progress: 'Progress',
|
|
4709
|
+
status: 'Status',
|
|
4710
|
+
};
|
|
4711
|
+
}
|
|
4712
|
+
static types() {
|
|
4713
|
+
return {
|
|
4714
|
+
progress: 'number',
|
|
4715
|
+
status: 'string',
|
|
4716
|
+
};
|
|
4717
|
+
}
|
|
4718
|
+
}
|
|
4719
|
+
exports.GetSourcePackStatusResponseBodyData = GetSourcePackStatusResponseBodyData;
|
|
4276
4720
|
class GetSubSceneTaskStatusResponseBodyList extends $tea.Model {
|
|
4277
4721
|
constructor(map) {
|
|
4278
4722
|
super(map);
|
|
@@ -4335,6 +4779,7 @@ class ListSceneResponseBodyList extends $tea.Model {
|
|
|
4335
4779
|
}
|
|
4336
4780
|
static names() {
|
|
4337
4781
|
return {
|
|
4782
|
+
coverUrl: 'CoverUrl',
|
|
4338
4783
|
gmtCreate: 'GmtCreate',
|
|
4339
4784
|
gmtModified: 'GmtModified',
|
|
4340
4785
|
id: 'Id',
|
|
@@ -4342,12 +4787,15 @@ class ListSceneResponseBodyList extends $tea.Model {
|
|
|
4342
4787
|
previewToken: 'PreviewToken',
|
|
4343
4788
|
published: 'Published',
|
|
4344
4789
|
sourceNum: 'SourceNum',
|
|
4790
|
+
status: 'Status',
|
|
4791
|
+
statusName: 'StatusName',
|
|
4345
4792
|
subSceneNum: 'SubSceneNum',
|
|
4346
4793
|
type: 'Type',
|
|
4347
4794
|
};
|
|
4348
4795
|
}
|
|
4349
4796
|
static types() {
|
|
4350
4797
|
return {
|
|
4798
|
+
coverUrl: 'string',
|
|
4351
4799
|
gmtCreate: 'number',
|
|
4352
4800
|
gmtModified: 'number',
|
|
4353
4801
|
id: 'string',
|
|
@@ -4355,6 +4803,8 @@ class ListSceneResponseBodyList extends $tea.Model {
|
|
|
4355
4803
|
previewToken: 'string',
|
|
4356
4804
|
published: 'boolean',
|
|
4357
4805
|
sourceNum: 'number',
|
|
4806
|
+
status: 'string',
|
|
4807
|
+
statusName: 'string',
|
|
4358
4808
|
subSceneNum: 'number',
|
|
4359
4809
|
type: 'string',
|
|
4360
4810
|
};
|
|
@@ -4421,6 +4871,22 @@ class PackSceneResponseBodyData extends $tea.Model {
|
|
|
4421
4871
|
}
|
|
4422
4872
|
}
|
|
4423
4873
|
exports.PackSceneResponseBodyData = PackSceneResponseBodyData;
|
|
4874
|
+
class PackSourceResponseBodyData extends $tea.Model {
|
|
4875
|
+
constructor(map) {
|
|
4876
|
+
super(map);
|
|
4877
|
+
}
|
|
4878
|
+
static names() {
|
|
4879
|
+
return {
|
|
4880
|
+
taskId: 'TaskId',
|
|
4881
|
+
};
|
|
4882
|
+
}
|
|
4883
|
+
static types() {
|
|
4884
|
+
return {
|
|
4885
|
+
taskId: 'string',
|
|
4886
|
+
};
|
|
4887
|
+
}
|
|
4888
|
+
}
|
|
4889
|
+
exports.PackSourceResponseBodyData = PackSourceResponseBodyData;
|
|
4424
4890
|
class Client extends openapi_client_1.default {
|
|
4425
4891
|
constructor(config) {
|
|
4426
4892
|
super(config);
|
|
@@ -4649,6 +5115,9 @@ class Client extends openapi_client_1.default {
|
|
|
4649
5115
|
async copySceneWithOptions(request, runtime) {
|
|
4650
5116
|
tea_util_1.default.validateModel(request);
|
|
4651
5117
|
let query = {};
|
|
5118
|
+
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
5119
|
+
query["ProjectId"] = request.projectId;
|
|
5120
|
+
}
|
|
4652
5121
|
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
4653
5122
|
query["SceneId"] = request.sceneId;
|
|
4654
5123
|
}
|
|
@@ -4675,6 +5144,35 @@ class Client extends openapi_client_1.default {
|
|
|
4675
5144
|
let runtime = new $Util.RuntimeOptions({});
|
|
4676
5145
|
return await this.copySceneWithOptions(request, runtime);
|
|
4677
5146
|
}
|
|
5147
|
+
async createUploadPolicyWithOptions(request, runtime) {
|
|
5148
|
+
tea_util_1.default.validateModel(request);
|
|
5149
|
+
let query = {};
|
|
5150
|
+
if (!tea_util_1.default.isUnset(request.option)) {
|
|
5151
|
+
query["Option"] = request.option;
|
|
5152
|
+
}
|
|
5153
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
5154
|
+
query["Type"] = request.type;
|
|
5155
|
+
}
|
|
5156
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5157
|
+
query: openapi_util_1.default.query(query),
|
|
5158
|
+
});
|
|
5159
|
+
let params = new $OpenApi.Params({
|
|
5160
|
+
action: "CreateUploadPolicy",
|
|
5161
|
+
version: "2020-01-01",
|
|
5162
|
+
protocol: "HTTPS",
|
|
5163
|
+
pathname: "/",
|
|
5164
|
+
method: "POST",
|
|
5165
|
+
authType: "AK",
|
|
5166
|
+
style: "RPC",
|
|
5167
|
+
reqBodyType: "formData",
|
|
5168
|
+
bodyType: "json",
|
|
5169
|
+
});
|
|
5170
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateUploadPolicyResponse({}));
|
|
5171
|
+
}
|
|
5172
|
+
async createUploadPolicy(request) {
|
|
5173
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5174
|
+
return await this.createUploadPolicyWithOptions(request, runtime);
|
|
5175
|
+
}
|
|
4678
5176
|
async detailProjectWithOptions(request, runtime) {
|
|
4679
5177
|
tea_util_1.default.validateModel(request);
|
|
4680
5178
|
let query = {};
|
|
@@ -5246,6 +5744,9 @@ class Client extends openapi_client_1.default {
|
|
|
5246
5744
|
async getScenePreviewResourceWithOptions(request, runtime) {
|
|
5247
5745
|
tea_util_1.default.validateModel(request);
|
|
5248
5746
|
let query = {};
|
|
5747
|
+
if (!tea_util_1.default.isUnset(request.draft)) {
|
|
5748
|
+
query["Draft"] = request.draft;
|
|
5749
|
+
}
|
|
5249
5750
|
if (!tea_util_1.default.isUnset(request.previewToken)) {
|
|
5250
5751
|
query["PreviewToken"] = request.previewToken;
|
|
5251
5752
|
}
|
|
@@ -5295,6 +5796,32 @@ class Client extends openapi_client_1.default {
|
|
|
5295
5796
|
let runtime = new $Util.RuntimeOptions({});
|
|
5296
5797
|
return await this.getSingleConnDataWithOptions(request, runtime);
|
|
5297
5798
|
}
|
|
5799
|
+
async getSourcePackStatusWithOptions(request, runtime) {
|
|
5800
|
+
tea_util_1.default.validateModel(request);
|
|
5801
|
+
let query = {};
|
|
5802
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
5803
|
+
query["TaskId"] = request.taskId;
|
|
5804
|
+
}
|
|
5805
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5806
|
+
query: openapi_util_1.default.query(query),
|
|
5807
|
+
});
|
|
5808
|
+
let params = new $OpenApi.Params({
|
|
5809
|
+
action: "GetSourcePackStatus",
|
|
5810
|
+
version: "2020-01-01",
|
|
5811
|
+
protocol: "HTTPS",
|
|
5812
|
+
pathname: "/",
|
|
5813
|
+
method: "POST",
|
|
5814
|
+
authType: "AK",
|
|
5815
|
+
style: "RPC",
|
|
5816
|
+
reqBodyType: "formData",
|
|
5817
|
+
bodyType: "json",
|
|
5818
|
+
});
|
|
5819
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSourcePackStatusResponse({}));
|
|
5820
|
+
}
|
|
5821
|
+
async getSourcePackStatus(request) {
|
|
5822
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5823
|
+
return await this.getSourcePackStatusWithOptions(request, runtime);
|
|
5824
|
+
}
|
|
5298
5825
|
async getSubSceneTaskStatusWithOptions(request, runtime) {
|
|
5299
5826
|
tea_util_1.default.validateModel(request);
|
|
5300
5827
|
let query = {};
|
|
@@ -5379,8 +5906,8 @@ class Client extends openapi_client_1.default {
|
|
|
5379
5906
|
if (!tea_util_1.default.isUnset(request.mode)) {
|
|
5380
5907
|
query["Mode"] = request.mode;
|
|
5381
5908
|
}
|
|
5382
|
-
if (!tea_util_1.default.isUnset(request.
|
|
5383
|
-
query["
|
|
5909
|
+
if (!tea_util_1.default.isUnset(request.modelStyle)) {
|
|
5910
|
+
query["ModelStyle"] = request.modelStyle;
|
|
5384
5911
|
}
|
|
5385
5912
|
if (!tea_util_1.default.isUnset(request.optimizeWallWidth)) {
|
|
5386
5913
|
query["OptimizeWallWidth"] = request.optimizeWallWidth;
|
|
@@ -5609,6 +6136,32 @@ class Client extends openapi_client_1.default {
|
|
|
5609
6136
|
let runtime = new $Util.RuntimeOptions({});
|
|
5610
6137
|
return await this.packSceneWithOptions(request, runtime);
|
|
5611
6138
|
}
|
|
6139
|
+
async packSourceWithOptions(request, runtime) {
|
|
6140
|
+
tea_util_1.default.validateModel(request);
|
|
6141
|
+
let query = {};
|
|
6142
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6143
|
+
query["SceneId"] = request.sceneId;
|
|
6144
|
+
}
|
|
6145
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6146
|
+
query: openapi_util_1.default.query(query),
|
|
6147
|
+
});
|
|
6148
|
+
let params = new $OpenApi.Params({
|
|
6149
|
+
action: "PackSource",
|
|
6150
|
+
version: "2020-01-01",
|
|
6151
|
+
protocol: "HTTPS",
|
|
6152
|
+
pathname: "/",
|
|
6153
|
+
method: "POST",
|
|
6154
|
+
authType: "AK",
|
|
6155
|
+
style: "RPC",
|
|
6156
|
+
reqBodyType: "formData",
|
|
6157
|
+
bodyType: "json",
|
|
6158
|
+
});
|
|
6159
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PackSourceResponse({}));
|
|
6160
|
+
}
|
|
6161
|
+
async packSource(request) {
|
|
6162
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6163
|
+
return await this.packSourceWithOptions(request, runtime);
|
|
6164
|
+
}
|
|
5612
6165
|
async predImageWithOptions(request, runtime) {
|
|
5613
6166
|
tea_util_1.default.validateModel(request);
|
|
5614
6167
|
let query = {};
|
|
@@ -5702,6 +6255,32 @@ class Client extends openapi_client_1.default {
|
|
|
5702
6255
|
let runtime = new $Util.RuntimeOptions({});
|
|
5703
6256
|
return await this.publishHotspotWithOptions(request, runtime);
|
|
5704
6257
|
}
|
|
6258
|
+
async publishHotspotConfigWithOptions(request, runtime) {
|
|
6259
|
+
tea_util_1.default.validateModel(request);
|
|
6260
|
+
let query = {};
|
|
6261
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6262
|
+
query["SceneId"] = request.sceneId;
|
|
6263
|
+
}
|
|
6264
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6265
|
+
query: openapi_util_1.default.query(query),
|
|
6266
|
+
});
|
|
6267
|
+
let params = new $OpenApi.Params({
|
|
6268
|
+
action: "PublishHotspotConfig",
|
|
6269
|
+
version: "2020-01-01",
|
|
6270
|
+
protocol: "HTTPS",
|
|
6271
|
+
pathname: "/",
|
|
6272
|
+
method: "POST",
|
|
6273
|
+
authType: "AK",
|
|
6274
|
+
style: "RPC",
|
|
6275
|
+
reqBodyType: "formData",
|
|
6276
|
+
bodyType: "json",
|
|
6277
|
+
});
|
|
6278
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PublishHotspotConfigResponse({}));
|
|
6279
|
+
}
|
|
6280
|
+
async publishHotspotConfig(request) {
|
|
6281
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6282
|
+
return await this.publishHotspotConfigWithOptions(request, runtime);
|
|
6283
|
+
}
|
|
5705
6284
|
async publishSceneWithOptions(request, runtime) {
|
|
5706
6285
|
tea_util_1.default.validateModel(request);
|
|
5707
6286
|
let query = {};
|
|
@@ -5928,6 +6507,64 @@ class Client extends openapi_client_1.default {
|
|
|
5928
6507
|
let runtime = new $Util.RuntimeOptions({});
|
|
5929
6508
|
return await this.saveHotspotTagWithOptions(request, runtime);
|
|
5930
6509
|
}
|
|
6510
|
+
async saveHotspotTagListWithOptions(request, runtime) {
|
|
6511
|
+
tea_util_1.default.validateModel(request);
|
|
6512
|
+
let query = {};
|
|
6513
|
+
if (!tea_util_1.default.isUnset(request.hotspotListJson)) {
|
|
6514
|
+
query["HotspotListJson"] = request.hotspotListJson;
|
|
6515
|
+
}
|
|
6516
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6517
|
+
query["SceneId"] = request.sceneId;
|
|
6518
|
+
}
|
|
6519
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6520
|
+
query: openapi_util_1.default.query(query),
|
|
6521
|
+
});
|
|
6522
|
+
let params = new $OpenApi.Params({
|
|
6523
|
+
action: "SaveHotspotTagList",
|
|
6524
|
+
version: "2020-01-01",
|
|
6525
|
+
protocol: "HTTPS",
|
|
6526
|
+
pathname: "/",
|
|
6527
|
+
method: "POST",
|
|
6528
|
+
authType: "AK",
|
|
6529
|
+
style: "RPC",
|
|
6530
|
+
reqBodyType: "formData",
|
|
6531
|
+
bodyType: "json",
|
|
6532
|
+
});
|
|
6533
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SaveHotspotTagListResponse({}));
|
|
6534
|
+
}
|
|
6535
|
+
async saveHotspotTagList(request) {
|
|
6536
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6537
|
+
return await this.saveHotspotTagListWithOptions(request, runtime);
|
|
6538
|
+
}
|
|
6539
|
+
async saveModelConfigWithOptions(request, runtime) {
|
|
6540
|
+
tea_util_1.default.validateModel(request);
|
|
6541
|
+
let query = {};
|
|
6542
|
+
if (!tea_util_1.default.isUnset(request.data)) {
|
|
6543
|
+
query["Data"] = request.data;
|
|
6544
|
+
}
|
|
6545
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6546
|
+
query["SceneId"] = request.sceneId;
|
|
6547
|
+
}
|
|
6548
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6549
|
+
query: openapi_util_1.default.query(query),
|
|
6550
|
+
});
|
|
6551
|
+
let params = new $OpenApi.Params({
|
|
6552
|
+
action: "SaveModelConfig",
|
|
6553
|
+
version: "2020-01-01",
|
|
6554
|
+
protocol: "HTTPS",
|
|
6555
|
+
pathname: "/",
|
|
6556
|
+
method: "POST",
|
|
6557
|
+
authType: "AK",
|
|
6558
|
+
style: "RPC",
|
|
6559
|
+
reqBodyType: "formData",
|
|
6560
|
+
bodyType: "json",
|
|
6561
|
+
});
|
|
6562
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SaveModelConfigResponse({}));
|
|
6563
|
+
}
|
|
6564
|
+
async saveModelConfig(request) {
|
|
6565
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6566
|
+
return await this.saveModelConfigWithOptions(request, runtime);
|
|
6567
|
+
}
|
|
5931
6568
|
async scenePublishWithOptions(request, runtime) {
|
|
5932
6569
|
tea_util_1.default.validateModel(request);
|
|
5933
6570
|
let query = {};
|