@alicloud/tdsr20200101 3.0.2 → 3.0.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 +241 -0
- package/dist/client.js +1592 -114
- package/dist/client.js.map +1 -1
- package/package.json +3 -2
- package/src/client.ts +1886 -166
package/dist/client.d.ts
CHANGED
|
@@ -135,6 +135,49 @@ export declare class AddRelativePositionResponse extends $tea.Model {
|
|
|
135
135
|
[key: string]: any;
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
+
export declare class AddRoomPlanRequest extends $tea.Model {
|
|
139
|
+
sceneId?: string;
|
|
140
|
+
static names(): {
|
|
141
|
+
[key: string]: string;
|
|
142
|
+
};
|
|
143
|
+
static types(): {
|
|
144
|
+
[key: string]: any;
|
|
145
|
+
};
|
|
146
|
+
constructor(map?: {
|
|
147
|
+
[key: string]: any;
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
export declare class AddRoomPlanResponseBody extends $tea.Model {
|
|
151
|
+
code?: number;
|
|
152
|
+
data?: AddRoomPlanResponseBodyData;
|
|
153
|
+
message?: string;
|
|
154
|
+
requestId?: string;
|
|
155
|
+
success?: boolean;
|
|
156
|
+
static names(): {
|
|
157
|
+
[key: string]: string;
|
|
158
|
+
};
|
|
159
|
+
static types(): {
|
|
160
|
+
[key: string]: any;
|
|
161
|
+
};
|
|
162
|
+
constructor(map?: {
|
|
163
|
+
[key: string]: any;
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
export declare class AddRoomPlanResponse extends $tea.Model {
|
|
167
|
+
headers: {
|
|
168
|
+
[key: string]: string;
|
|
169
|
+
};
|
|
170
|
+
body: AddRoomPlanResponseBody;
|
|
171
|
+
static names(): {
|
|
172
|
+
[key: string]: string;
|
|
173
|
+
};
|
|
174
|
+
static types(): {
|
|
175
|
+
[key: string]: any;
|
|
176
|
+
};
|
|
177
|
+
constructor(map?: {
|
|
178
|
+
[key: string]: any;
|
|
179
|
+
});
|
|
180
|
+
}
|
|
138
181
|
export declare class AddSceneRequest extends $tea.Model {
|
|
139
182
|
name?: string;
|
|
140
183
|
projectId?: string;
|
|
@@ -183,6 +226,7 @@ export declare class AddSceneResponse extends $tea.Model {
|
|
|
183
226
|
export declare class AddSubSceneRequest extends $tea.Model {
|
|
184
227
|
name?: string;
|
|
185
228
|
sceneId?: string;
|
|
229
|
+
uploadType?: string;
|
|
186
230
|
static names(): {
|
|
187
231
|
[key: string]: string;
|
|
188
232
|
};
|
|
@@ -583,12 +627,16 @@ export declare class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
583
627
|
gmtCreate?: number;
|
|
584
628
|
gmtModified?: number;
|
|
585
629
|
id?: string;
|
|
630
|
+
imageUrl?: string;
|
|
631
|
+
layoutData?: string;
|
|
586
632
|
message?: string;
|
|
587
633
|
name?: string;
|
|
634
|
+
originUrl?: string;
|
|
588
635
|
requestId?: string;
|
|
589
636
|
resourceId?: string;
|
|
590
637
|
status?: number;
|
|
591
638
|
success?: boolean;
|
|
639
|
+
type?: string;
|
|
592
640
|
url?: string;
|
|
593
641
|
static names(): {
|
|
594
642
|
[key: string]: string;
|
|
@@ -1195,6 +1243,52 @@ export declare class GetSceneBuildTaskStatusResponse extends $tea.Model {
|
|
|
1195
1243
|
[key: string]: any;
|
|
1196
1244
|
});
|
|
1197
1245
|
}
|
|
1246
|
+
export declare class GetScenePreviewDataRequest extends $tea.Model {
|
|
1247
|
+
domain?: string;
|
|
1248
|
+
enabled?: boolean;
|
|
1249
|
+
previewToken?: string;
|
|
1250
|
+
showTag?: boolean;
|
|
1251
|
+
static names(): {
|
|
1252
|
+
[key: string]: string;
|
|
1253
|
+
};
|
|
1254
|
+
static types(): {
|
|
1255
|
+
[key: string]: any;
|
|
1256
|
+
};
|
|
1257
|
+
constructor(map?: {
|
|
1258
|
+
[key: string]: any;
|
|
1259
|
+
});
|
|
1260
|
+
}
|
|
1261
|
+
export declare class GetScenePreviewDataResponseBody extends $tea.Model {
|
|
1262
|
+
code?: number;
|
|
1263
|
+
data?: GetScenePreviewDataResponseBodyData;
|
|
1264
|
+
message?: string;
|
|
1265
|
+
requestId?: string;
|
|
1266
|
+
success?: boolean;
|
|
1267
|
+
static names(): {
|
|
1268
|
+
[key: string]: string;
|
|
1269
|
+
};
|
|
1270
|
+
static types(): {
|
|
1271
|
+
[key: string]: any;
|
|
1272
|
+
};
|
|
1273
|
+
constructor(map?: {
|
|
1274
|
+
[key: string]: any;
|
|
1275
|
+
});
|
|
1276
|
+
}
|
|
1277
|
+
export declare class GetScenePreviewDataResponse extends $tea.Model {
|
|
1278
|
+
headers: {
|
|
1279
|
+
[key: string]: string;
|
|
1280
|
+
};
|
|
1281
|
+
body: GetScenePreviewDataResponseBody;
|
|
1282
|
+
static names(): {
|
|
1283
|
+
[key: string]: string;
|
|
1284
|
+
};
|
|
1285
|
+
static types(): {
|
|
1286
|
+
[key: string]: any;
|
|
1287
|
+
};
|
|
1288
|
+
constructor(map?: {
|
|
1289
|
+
[key: string]: any;
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1198
1292
|
export declare class GetScenePreviewInfoRequest extends $tea.Model {
|
|
1199
1293
|
domain?: string;
|
|
1200
1294
|
enabled?: boolean;
|
|
@@ -2027,6 +2121,7 @@ export declare class RectVerticalResponseBody extends $tea.Model {
|
|
|
2027
2121
|
message?: string;
|
|
2028
2122
|
requestId?: string;
|
|
2029
2123
|
success?: boolean;
|
|
2124
|
+
taskId?: string;
|
|
2030
2125
|
static names(): {
|
|
2031
2126
|
[key: string]: string;
|
|
2032
2127
|
};
|
|
@@ -2569,6 +2664,24 @@ export declare class UpdateSubSceneResponse extends $tea.Model {
|
|
|
2569
2664
|
[key: string]: any;
|
|
2570
2665
|
});
|
|
2571
2666
|
}
|
|
2667
|
+
export declare class AddRoomPlanResponseBodyData extends $tea.Model {
|
|
2668
|
+
accessId?: string;
|
|
2669
|
+
callback?: string;
|
|
2670
|
+
dir?: string;
|
|
2671
|
+
expire?: string;
|
|
2672
|
+
host?: string;
|
|
2673
|
+
policy?: string;
|
|
2674
|
+
signature?: string;
|
|
2675
|
+
static names(): {
|
|
2676
|
+
[key: string]: string;
|
|
2677
|
+
};
|
|
2678
|
+
static types(): {
|
|
2679
|
+
[key: string]: any;
|
|
2680
|
+
};
|
|
2681
|
+
constructor(map?: {
|
|
2682
|
+
[key: string]: any;
|
|
2683
|
+
});
|
|
2684
|
+
}
|
|
2572
2685
|
export declare class GetConnDataResponseBodyList extends $tea.Model {
|
|
2573
2686
|
id?: string;
|
|
2574
2687
|
mapId?: string;
|
|
@@ -2598,6 +2711,129 @@ export declare class GetHotspotSceneDataResponseBodyData extends $tea.Model {
|
|
|
2598
2711
|
[key: string]: any;
|
|
2599
2712
|
});
|
|
2600
2713
|
}
|
|
2714
|
+
export declare class GetScenePreviewDataResponseBodyDataModelPanoListPosition extends $tea.Model {
|
|
2715
|
+
rotation?: number[];
|
|
2716
|
+
spot?: number[];
|
|
2717
|
+
viewpoint?: number[];
|
|
2718
|
+
static names(): {
|
|
2719
|
+
[key: string]: string;
|
|
2720
|
+
};
|
|
2721
|
+
static types(): {
|
|
2722
|
+
[key: string]: any;
|
|
2723
|
+
};
|
|
2724
|
+
constructor(map?: {
|
|
2725
|
+
[key: string]: any;
|
|
2726
|
+
});
|
|
2727
|
+
}
|
|
2728
|
+
export declare class GetScenePreviewDataResponseBodyDataModelPanoList extends $tea.Model {
|
|
2729
|
+
curRoomPicList?: string[];
|
|
2730
|
+
enabled?: boolean;
|
|
2731
|
+
floorIdx?: string;
|
|
2732
|
+
id?: string;
|
|
2733
|
+
mainImage?: boolean;
|
|
2734
|
+
neighbours?: string[];
|
|
2735
|
+
position?: GetScenePreviewDataResponseBodyDataModelPanoListPosition;
|
|
2736
|
+
rawName?: string;
|
|
2737
|
+
resource?: string;
|
|
2738
|
+
roomIdx?: string;
|
|
2739
|
+
subSceneId?: string;
|
|
2740
|
+
token?: string;
|
|
2741
|
+
virtualId?: string;
|
|
2742
|
+
virtualName?: string;
|
|
2743
|
+
static names(): {
|
|
2744
|
+
[key: string]: string;
|
|
2745
|
+
};
|
|
2746
|
+
static types(): {
|
|
2747
|
+
[key: string]: any;
|
|
2748
|
+
};
|
|
2749
|
+
constructor(map?: {
|
|
2750
|
+
[key: string]: any;
|
|
2751
|
+
});
|
|
2752
|
+
}
|
|
2753
|
+
export declare class GetScenePreviewDataResponseBodyDataModel extends $tea.Model {
|
|
2754
|
+
modelPath?: string;
|
|
2755
|
+
panoList?: GetScenePreviewDataResponseBodyDataModelPanoList[];
|
|
2756
|
+
textureModelPath?: string;
|
|
2757
|
+
texturePanoPath?: string;
|
|
2758
|
+
static names(): {
|
|
2759
|
+
[key: string]: string;
|
|
2760
|
+
};
|
|
2761
|
+
static types(): {
|
|
2762
|
+
[key: string]: any;
|
|
2763
|
+
};
|
|
2764
|
+
constructor(map?: {
|
|
2765
|
+
[key: string]: any;
|
|
2766
|
+
});
|
|
2767
|
+
}
|
|
2768
|
+
export declare class GetScenePreviewDataResponseBodyDataTagsConfigButtonConfig extends $tea.Model {
|
|
2769
|
+
customText?: string;
|
|
2770
|
+
type?: string;
|
|
2771
|
+
static names(): {
|
|
2772
|
+
[key: string]: string;
|
|
2773
|
+
};
|
|
2774
|
+
static types(): {
|
|
2775
|
+
[key: string]: any;
|
|
2776
|
+
};
|
|
2777
|
+
constructor(map?: {
|
|
2778
|
+
[key: string]: any;
|
|
2779
|
+
});
|
|
2780
|
+
}
|
|
2781
|
+
export declare class GetScenePreviewDataResponseBodyDataTagsConfig extends $tea.Model {
|
|
2782
|
+
backgroundColor?: string;
|
|
2783
|
+
buttonConfig?: GetScenePreviewDataResponseBodyDataTagsConfigButtonConfig;
|
|
2784
|
+
content?: string;
|
|
2785
|
+
formImgSize?: number[];
|
|
2786
|
+
formJumpType?: boolean;
|
|
2787
|
+
formSelectImgType?: string;
|
|
2788
|
+
images?: string[];
|
|
2789
|
+
isTagVisibleBy3d?: boolean;
|
|
2790
|
+
link?: string;
|
|
2791
|
+
panoId?: string;
|
|
2792
|
+
position?: number[];
|
|
2793
|
+
positionPanoCube?: number[];
|
|
2794
|
+
relatedPanoIds?: string[];
|
|
2795
|
+
sceneId?: number;
|
|
2796
|
+
title?: string;
|
|
2797
|
+
video?: string;
|
|
2798
|
+
static names(): {
|
|
2799
|
+
[key: string]: string;
|
|
2800
|
+
};
|
|
2801
|
+
static types(): {
|
|
2802
|
+
[key: string]: any;
|
|
2803
|
+
};
|
|
2804
|
+
constructor(map?: {
|
|
2805
|
+
[key: string]: any;
|
|
2806
|
+
});
|
|
2807
|
+
}
|
|
2808
|
+
export declare class GetScenePreviewDataResponseBodyDataTags extends $tea.Model {
|
|
2809
|
+
config?: GetScenePreviewDataResponseBodyDataTagsConfig;
|
|
2810
|
+
id?: string;
|
|
2811
|
+
position?: number[];
|
|
2812
|
+
positionPanoCube?: number[];
|
|
2813
|
+
type?: string;
|
|
2814
|
+
static names(): {
|
|
2815
|
+
[key: string]: string;
|
|
2816
|
+
};
|
|
2817
|
+
static types(): {
|
|
2818
|
+
[key: string]: any;
|
|
2819
|
+
};
|
|
2820
|
+
constructor(map?: {
|
|
2821
|
+
[key: string]: any;
|
|
2822
|
+
});
|
|
2823
|
+
}
|
|
2824
|
+
export declare class GetScenePreviewDataResponseBodyData extends $tea.Model {
|
|
2825
|
+
model?: GetScenePreviewDataResponseBodyDataModel;
|
|
2826
|
+
tags?: GetScenePreviewDataResponseBodyDataTags[];
|
|
2827
|
+
static names(): {
|
|
2828
|
+
[key: string]: string;
|
|
2829
|
+
};
|
|
2830
|
+
static types(): {
|
|
2831
|
+
[key: string]: any;
|
|
2832
|
+
};
|
|
2833
|
+
constructor(map?: {
|
|
2834
|
+
[key: string]: any;
|
|
2835
|
+
});
|
|
2836
|
+
}
|
|
2601
2837
|
export declare class GetScenePreviewInfoResponseBodyData extends $tea.Model {
|
|
2602
2838
|
modelPath?: string;
|
|
2603
2839
|
panoList?: string;
|
|
@@ -2709,6 +2945,7 @@ export declare class ListSubSceneResponseBodyList extends $tea.Model {
|
|
|
2709
2945
|
resourceId?: string;
|
|
2710
2946
|
resourceName?: string;
|
|
2711
2947
|
status?: number;
|
|
2948
|
+
type?: string;
|
|
2712
2949
|
url?: string;
|
|
2713
2950
|
static names(): {
|
|
2714
2951
|
[key: string]: string;
|
|
@@ -2731,6 +2968,8 @@ export default class Client extends OpenApi {
|
|
|
2731
2968
|
addProject(request: AddProjectRequest): Promise<AddProjectResponse>;
|
|
2732
2969
|
addRelativePositionWithOptions(request: AddRelativePositionRequest, runtime: $Util.RuntimeOptions): Promise<AddRelativePositionResponse>;
|
|
2733
2970
|
addRelativePosition(request: AddRelativePositionRequest): Promise<AddRelativePositionResponse>;
|
|
2971
|
+
addRoomPlanWithOptions(request: AddRoomPlanRequest, runtime: $Util.RuntimeOptions): Promise<AddRoomPlanResponse>;
|
|
2972
|
+
addRoomPlan(request: AddRoomPlanRequest): Promise<AddRoomPlanResponse>;
|
|
2734
2973
|
addSceneWithOptions(request: AddSceneRequest, runtime: $Util.RuntimeOptions): Promise<AddSceneResponse>;
|
|
2735
2974
|
addScene(request: AddSceneRequest): Promise<AddSceneResponse>;
|
|
2736
2975
|
addSubSceneWithOptions(request: AddSubSceneRequest, runtime: $Util.RuntimeOptions): Promise<AddSubSceneResponse>;
|
|
@@ -2777,6 +3016,8 @@ export default class Client extends OpenApi {
|
|
|
2777
3016
|
getRectifyImage(request: GetRectifyImageRequest): Promise<GetRectifyImageResponse>;
|
|
2778
3017
|
getSceneBuildTaskStatusWithOptions(request: GetSceneBuildTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSceneBuildTaskStatusResponse>;
|
|
2779
3018
|
getSceneBuildTaskStatus(request: GetSceneBuildTaskStatusRequest): Promise<GetSceneBuildTaskStatusResponse>;
|
|
3019
|
+
getScenePreviewDataWithOptions(request: GetScenePreviewDataRequest, runtime: $Util.RuntimeOptions): Promise<GetScenePreviewDataResponse>;
|
|
3020
|
+
getScenePreviewData(request: GetScenePreviewDataRequest): Promise<GetScenePreviewDataResponse>;
|
|
2780
3021
|
getScenePreviewInfoWithOptions(request: GetScenePreviewInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetScenePreviewInfoResponse>;
|
|
2781
3022
|
getScenePreviewInfo(request: GetScenePreviewInfoRequest): Promise<GetScenePreviewInfoResponse>;
|
|
2782
3023
|
getSingleConnDataWithOptions(request: GetSingleConnDataRequest, runtime: $Util.RuntimeOptions): Promise<GetSingleConnDataResponse>;
|