@alicloud/tdsr20200101 3.1.0 → 3.1.3
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 +125 -0
- package/dist/client.js +234 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +289 -0
package/dist/client.d.ts
CHANGED
|
@@ -428,6 +428,7 @@ export declare class DetailSceneRequest extends $tea.Model {
|
|
|
428
428
|
}
|
|
429
429
|
export declare class DetailSceneResponseBody extends $tea.Model {
|
|
430
430
|
code?: number;
|
|
431
|
+
coverUrl?: string;
|
|
431
432
|
gmtCreate?: number;
|
|
432
433
|
gmtModified?: number;
|
|
433
434
|
id?: string;
|
|
@@ -1383,6 +1384,51 @@ export declare class GetSingleConnDataResponse extends $tea.Model {
|
|
|
1383
1384
|
[key: string]: any;
|
|
1384
1385
|
});
|
|
1385
1386
|
}
|
|
1387
|
+
export declare class GetSourcePackStatusRequest extends $tea.Model {
|
|
1388
|
+
taskId?: string;
|
|
1389
|
+
static names(): {
|
|
1390
|
+
[key: string]: string;
|
|
1391
|
+
};
|
|
1392
|
+
static types(): {
|
|
1393
|
+
[key: string]: any;
|
|
1394
|
+
};
|
|
1395
|
+
constructor(map?: {
|
|
1396
|
+
[key: string]: any;
|
|
1397
|
+
});
|
|
1398
|
+
}
|
|
1399
|
+
export declare class GetSourcePackStatusResponseBody extends $tea.Model {
|
|
1400
|
+
code?: number;
|
|
1401
|
+
data?: GetSourcePackStatusResponseBodyData;
|
|
1402
|
+
message?: string;
|
|
1403
|
+
requestId?: string;
|
|
1404
|
+
success?: boolean;
|
|
1405
|
+
url?: string;
|
|
1406
|
+
static names(): {
|
|
1407
|
+
[key: string]: string;
|
|
1408
|
+
};
|
|
1409
|
+
static types(): {
|
|
1410
|
+
[key: string]: any;
|
|
1411
|
+
};
|
|
1412
|
+
constructor(map?: {
|
|
1413
|
+
[key: string]: any;
|
|
1414
|
+
});
|
|
1415
|
+
}
|
|
1416
|
+
export declare class GetSourcePackStatusResponse extends $tea.Model {
|
|
1417
|
+
headers: {
|
|
1418
|
+
[key: string]: string;
|
|
1419
|
+
};
|
|
1420
|
+
statusCode: number;
|
|
1421
|
+
body: GetSourcePackStatusResponseBody;
|
|
1422
|
+
static names(): {
|
|
1423
|
+
[key: string]: string;
|
|
1424
|
+
};
|
|
1425
|
+
static types(): {
|
|
1426
|
+
[key: string]: any;
|
|
1427
|
+
};
|
|
1428
|
+
constructor(map?: {
|
|
1429
|
+
[key: string]: any;
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1386
1432
|
export declare class GetSubSceneTaskStatusRequest extends $tea.Model {
|
|
1387
1433
|
subSceneId?: string;
|
|
1388
1434
|
static names(): {
|
|
@@ -1522,7 +1568,11 @@ export declare class GetWindowConfigResponse extends $tea.Model {
|
|
|
1522
1568
|
}
|
|
1523
1569
|
export declare class LabelBuildRequest extends $tea.Model {
|
|
1524
1570
|
mode?: string;
|
|
1571
|
+
modelStyle?: string;
|
|
1572
|
+
optimizeWallWidth?: string;
|
|
1573
|
+
planStyle?: string;
|
|
1525
1574
|
sceneId?: string;
|
|
1575
|
+
wallHeight?: number;
|
|
1526
1576
|
static names(): {
|
|
1527
1577
|
[key: string]: string;
|
|
1528
1578
|
};
|
|
@@ -1854,6 +1904,50 @@ export declare class PackSceneResponse extends $tea.Model {
|
|
|
1854
1904
|
[key: string]: any;
|
|
1855
1905
|
});
|
|
1856
1906
|
}
|
|
1907
|
+
export declare class PackSourceRequest extends $tea.Model {
|
|
1908
|
+
sceneId?: string;
|
|
1909
|
+
static names(): {
|
|
1910
|
+
[key: string]: string;
|
|
1911
|
+
};
|
|
1912
|
+
static types(): {
|
|
1913
|
+
[key: string]: any;
|
|
1914
|
+
};
|
|
1915
|
+
constructor(map?: {
|
|
1916
|
+
[key: string]: any;
|
|
1917
|
+
});
|
|
1918
|
+
}
|
|
1919
|
+
export declare class PackSourceResponseBody extends $tea.Model {
|
|
1920
|
+
code?: number;
|
|
1921
|
+
data?: PackSourceResponseBodyData;
|
|
1922
|
+
message?: string;
|
|
1923
|
+
requestId?: string;
|
|
1924
|
+
success?: boolean;
|
|
1925
|
+
static names(): {
|
|
1926
|
+
[key: string]: string;
|
|
1927
|
+
};
|
|
1928
|
+
static types(): {
|
|
1929
|
+
[key: string]: any;
|
|
1930
|
+
};
|
|
1931
|
+
constructor(map?: {
|
|
1932
|
+
[key: string]: any;
|
|
1933
|
+
});
|
|
1934
|
+
}
|
|
1935
|
+
export declare class PackSourceResponse extends $tea.Model {
|
|
1936
|
+
headers: {
|
|
1937
|
+
[key: string]: string;
|
|
1938
|
+
};
|
|
1939
|
+
statusCode: number;
|
|
1940
|
+
body: PackSourceResponseBody;
|
|
1941
|
+
static names(): {
|
|
1942
|
+
[key: string]: string;
|
|
1943
|
+
};
|
|
1944
|
+
static types(): {
|
|
1945
|
+
[key: string]: any;
|
|
1946
|
+
};
|
|
1947
|
+
constructor(map?: {
|
|
1948
|
+
[key: string]: any;
|
|
1949
|
+
});
|
|
1950
|
+
}
|
|
1857
1951
|
export declare class PredImageRequest extends $tea.Model {
|
|
1858
1952
|
correctVertical?: boolean;
|
|
1859
1953
|
countDetectDoor?: number;
|
|
@@ -2055,6 +2149,7 @@ export declare class PublishStatusResponseBody extends $tea.Model {
|
|
|
2055
2149
|
requestId?: string;
|
|
2056
2150
|
status?: string;
|
|
2057
2151
|
success?: boolean;
|
|
2152
|
+
syncStatus?: string;
|
|
2058
2153
|
static names(): {
|
|
2059
2154
|
[key: string]: string;
|
|
2060
2155
|
};
|
|
@@ -3051,6 +3146,19 @@ export declare class GetSingleConnDataResponseBodyList extends $tea.Model {
|
|
|
3051
3146
|
[key: string]: any;
|
|
3052
3147
|
});
|
|
3053
3148
|
}
|
|
3149
|
+
export declare class GetSourcePackStatusResponseBodyData extends $tea.Model {
|
|
3150
|
+
progress?: number;
|
|
3151
|
+
status?: string;
|
|
3152
|
+
static names(): {
|
|
3153
|
+
[key: string]: string;
|
|
3154
|
+
};
|
|
3155
|
+
static types(): {
|
|
3156
|
+
[key: string]: any;
|
|
3157
|
+
};
|
|
3158
|
+
constructor(map?: {
|
|
3159
|
+
[key: string]: any;
|
|
3160
|
+
});
|
|
3161
|
+
}
|
|
3054
3162
|
export declare class GetSubSceneTaskStatusResponseBodyList extends $tea.Model {
|
|
3055
3163
|
errorCode?: string;
|
|
3056
3164
|
errorMsg?: string;
|
|
@@ -3088,6 +3196,7 @@ export declare class ListProjectResponseBodyList extends $tea.Model {
|
|
|
3088
3196
|
});
|
|
3089
3197
|
}
|
|
3090
3198
|
export declare class ListSceneResponseBodyList extends $tea.Model {
|
|
3199
|
+
coverUrl?: string;
|
|
3091
3200
|
gmtCreate?: number;
|
|
3092
3201
|
gmtModified?: number;
|
|
3093
3202
|
id?: string;
|
|
@@ -3145,6 +3254,18 @@ export declare class PackSceneResponseBodyData extends $tea.Model {
|
|
|
3145
3254
|
[key: string]: any;
|
|
3146
3255
|
});
|
|
3147
3256
|
}
|
|
3257
|
+
export declare class PackSourceResponseBodyData extends $tea.Model {
|
|
3258
|
+
taskId?: string;
|
|
3259
|
+
static names(): {
|
|
3260
|
+
[key: string]: string;
|
|
3261
|
+
};
|
|
3262
|
+
static types(): {
|
|
3263
|
+
[key: string]: any;
|
|
3264
|
+
};
|
|
3265
|
+
constructor(map?: {
|
|
3266
|
+
[key: string]: any;
|
|
3267
|
+
});
|
|
3268
|
+
}
|
|
3148
3269
|
export default class Client extends OpenApi {
|
|
3149
3270
|
constructor(config: $OpenApi.Config);
|
|
3150
3271
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
@@ -3210,6 +3331,8 @@ export default class Client extends OpenApi {
|
|
|
3210
3331
|
getScenePreviewResource(request: GetScenePreviewResourceRequest): Promise<GetScenePreviewResourceResponse>;
|
|
3211
3332
|
getSingleConnDataWithOptions(request: GetSingleConnDataRequest, runtime: $Util.RuntimeOptions): Promise<GetSingleConnDataResponse>;
|
|
3212
3333
|
getSingleConnData(request: GetSingleConnDataRequest): Promise<GetSingleConnDataResponse>;
|
|
3334
|
+
getSourcePackStatusWithOptions(request: GetSourcePackStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSourcePackStatusResponse>;
|
|
3335
|
+
getSourcePackStatus(request: GetSourcePackStatusRequest): Promise<GetSourcePackStatusResponse>;
|
|
3213
3336
|
getSubSceneTaskStatusWithOptions(request: GetSubSceneTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSubSceneTaskStatusResponse>;
|
|
3214
3337
|
getSubSceneTaskStatus(request: GetSubSceneTaskStatusRequest): Promise<GetSubSceneTaskStatusResponse>;
|
|
3215
3338
|
getTaskStatusWithOptions(request: GetTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetTaskStatusResponse>;
|
|
@@ -3230,6 +3353,8 @@ export default class Client extends OpenApi {
|
|
|
3230
3353
|
optimizeRightAngle(request: OptimizeRightAngleRequest): Promise<OptimizeRightAngleResponse>;
|
|
3231
3354
|
packSceneWithOptions(request: PackSceneRequest, runtime: $Util.RuntimeOptions): Promise<PackSceneResponse>;
|
|
3232
3355
|
packScene(request: PackSceneRequest): Promise<PackSceneResponse>;
|
|
3356
|
+
packSourceWithOptions(request: PackSourceRequest, runtime: $Util.RuntimeOptions): Promise<PackSourceResponse>;
|
|
3357
|
+
packSource(request: PackSourceRequest): Promise<PackSourceResponse>;
|
|
3233
3358
|
predImageWithOptions(request: PredImageRequest, runtime: $Util.RuntimeOptions): Promise<PredImageResponse>;
|
|
3234
3359
|
predImage(request: PredImageRequest): Promise<PredImageResponse>;
|
|
3235
3360
|
predictionWallLineWithOptions(request: PredictionWallLineRequest, runtime: $Util.RuntimeOptions): Promise<PredictionWallLineResponse>;
|
package/dist/client.js
CHANGED
|
@@ -610,6 +610,7 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
610
610
|
static names() {
|
|
611
611
|
return {
|
|
612
612
|
code: 'Code',
|
|
613
|
+
coverUrl: 'CoverUrl',
|
|
613
614
|
gmtCreate: 'GmtCreate',
|
|
614
615
|
gmtModified: 'GmtModified',
|
|
615
616
|
id: 'Id',
|
|
@@ -627,6 +628,7 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
627
628
|
static types() {
|
|
628
629
|
return {
|
|
629
630
|
code: 'number',
|
|
631
|
+
coverUrl: 'string',
|
|
630
632
|
gmtCreate: 'number',
|
|
631
633
|
gmtModified: 'number',
|
|
632
634
|
id: 'string',
|
|
@@ -1937,6 +1939,68 @@ class GetSingleConnDataResponse extends $tea.Model {
|
|
|
1937
1939
|
}
|
|
1938
1940
|
}
|
|
1939
1941
|
exports.GetSingleConnDataResponse = GetSingleConnDataResponse;
|
|
1942
|
+
class GetSourcePackStatusRequest extends $tea.Model {
|
|
1943
|
+
constructor(map) {
|
|
1944
|
+
super(map);
|
|
1945
|
+
}
|
|
1946
|
+
static names() {
|
|
1947
|
+
return {
|
|
1948
|
+
taskId: 'TaskId',
|
|
1949
|
+
};
|
|
1950
|
+
}
|
|
1951
|
+
static types() {
|
|
1952
|
+
return {
|
|
1953
|
+
taskId: 'string',
|
|
1954
|
+
};
|
|
1955
|
+
}
|
|
1956
|
+
}
|
|
1957
|
+
exports.GetSourcePackStatusRequest = GetSourcePackStatusRequest;
|
|
1958
|
+
class GetSourcePackStatusResponseBody extends $tea.Model {
|
|
1959
|
+
constructor(map) {
|
|
1960
|
+
super(map);
|
|
1961
|
+
}
|
|
1962
|
+
static names() {
|
|
1963
|
+
return {
|
|
1964
|
+
code: 'Code',
|
|
1965
|
+
data: 'Data',
|
|
1966
|
+
message: 'Message',
|
|
1967
|
+
requestId: 'RequestId',
|
|
1968
|
+
success: 'Success',
|
|
1969
|
+
url: 'Url',
|
|
1970
|
+
};
|
|
1971
|
+
}
|
|
1972
|
+
static types() {
|
|
1973
|
+
return {
|
|
1974
|
+
code: 'number',
|
|
1975
|
+
data: GetSourcePackStatusResponseBodyData,
|
|
1976
|
+
message: 'string',
|
|
1977
|
+
requestId: 'string',
|
|
1978
|
+
success: 'boolean',
|
|
1979
|
+
url: 'string',
|
|
1980
|
+
};
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
exports.GetSourcePackStatusResponseBody = GetSourcePackStatusResponseBody;
|
|
1984
|
+
class GetSourcePackStatusResponse extends $tea.Model {
|
|
1985
|
+
constructor(map) {
|
|
1986
|
+
super(map);
|
|
1987
|
+
}
|
|
1988
|
+
static names() {
|
|
1989
|
+
return {
|
|
1990
|
+
headers: 'headers',
|
|
1991
|
+
statusCode: 'statusCode',
|
|
1992
|
+
body: 'body',
|
|
1993
|
+
};
|
|
1994
|
+
}
|
|
1995
|
+
static types() {
|
|
1996
|
+
return {
|
|
1997
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1998
|
+
statusCode: 'number',
|
|
1999
|
+
body: GetSourcePackStatusResponseBody,
|
|
2000
|
+
};
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
exports.GetSourcePackStatusResponse = GetSourcePackStatusResponse;
|
|
1940
2004
|
class GetSubSceneTaskStatusRequest extends $tea.Model {
|
|
1941
2005
|
constructor(map) {
|
|
1942
2006
|
super(map);
|
|
@@ -2130,13 +2194,21 @@ class LabelBuildRequest extends $tea.Model {
|
|
|
2130
2194
|
static names() {
|
|
2131
2195
|
return {
|
|
2132
2196
|
mode: 'Mode',
|
|
2197
|
+
modelStyle: 'ModelStyle',
|
|
2198
|
+
optimizeWallWidth: 'OptimizeWallWidth',
|
|
2199
|
+
planStyle: 'PlanStyle',
|
|
2133
2200
|
sceneId: 'SceneId',
|
|
2201
|
+
wallHeight: 'WallHeight',
|
|
2134
2202
|
};
|
|
2135
2203
|
}
|
|
2136
2204
|
static types() {
|
|
2137
2205
|
return {
|
|
2138
2206
|
mode: 'string',
|
|
2207
|
+
modelStyle: 'string',
|
|
2208
|
+
optimizeWallWidth: 'string',
|
|
2209
|
+
planStyle: 'string',
|
|
2139
2210
|
sceneId: 'string',
|
|
2211
|
+
wallHeight: 'number',
|
|
2140
2212
|
};
|
|
2141
2213
|
}
|
|
2142
2214
|
}
|
|
@@ -2595,6 +2667,66 @@ class PackSceneResponse extends $tea.Model {
|
|
|
2595
2667
|
}
|
|
2596
2668
|
}
|
|
2597
2669
|
exports.PackSceneResponse = PackSceneResponse;
|
|
2670
|
+
class PackSourceRequest extends $tea.Model {
|
|
2671
|
+
constructor(map) {
|
|
2672
|
+
super(map);
|
|
2673
|
+
}
|
|
2674
|
+
static names() {
|
|
2675
|
+
return {
|
|
2676
|
+
sceneId: 'SceneId',
|
|
2677
|
+
};
|
|
2678
|
+
}
|
|
2679
|
+
static types() {
|
|
2680
|
+
return {
|
|
2681
|
+
sceneId: 'string',
|
|
2682
|
+
};
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
exports.PackSourceRequest = PackSourceRequest;
|
|
2686
|
+
class PackSourceResponseBody extends $tea.Model {
|
|
2687
|
+
constructor(map) {
|
|
2688
|
+
super(map);
|
|
2689
|
+
}
|
|
2690
|
+
static names() {
|
|
2691
|
+
return {
|
|
2692
|
+
code: 'Code',
|
|
2693
|
+
data: 'Data',
|
|
2694
|
+
message: 'Message',
|
|
2695
|
+
requestId: 'RequestId',
|
|
2696
|
+
success: 'Success',
|
|
2697
|
+
};
|
|
2698
|
+
}
|
|
2699
|
+
static types() {
|
|
2700
|
+
return {
|
|
2701
|
+
code: 'number',
|
|
2702
|
+
data: PackSourceResponseBodyData,
|
|
2703
|
+
message: 'string',
|
|
2704
|
+
requestId: 'string',
|
|
2705
|
+
success: 'boolean',
|
|
2706
|
+
};
|
|
2707
|
+
}
|
|
2708
|
+
}
|
|
2709
|
+
exports.PackSourceResponseBody = PackSourceResponseBody;
|
|
2710
|
+
class PackSourceResponse extends $tea.Model {
|
|
2711
|
+
constructor(map) {
|
|
2712
|
+
super(map);
|
|
2713
|
+
}
|
|
2714
|
+
static names() {
|
|
2715
|
+
return {
|
|
2716
|
+
headers: 'headers',
|
|
2717
|
+
statusCode: 'statusCode',
|
|
2718
|
+
body: 'body',
|
|
2719
|
+
};
|
|
2720
|
+
}
|
|
2721
|
+
static types() {
|
|
2722
|
+
return {
|
|
2723
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2724
|
+
statusCode: 'number',
|
|
2725
|
+
body: PackSourceResponseBody,
|
|
2726
|
+
};
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
exports.PackSourceResponse = PackSourceResponse;
|
|
2598
2730
|
class PredImageRequest extends $tea.Model {
|
|
2599
2731
|
constructor(map) {
|
|
2600
2732
|
super(map);
|
|
@@ -2872,6 +3004,7 @@ class PublishStatusResponseBody extends $tea.Model {
|
|
|
2872
3004
|
requestId: 'RequestId',
|
|
2873
3005
|
status: 'Status',
|
|
2874
3006
|
success: 'Success',
|
|
3007
|
+
syncStatus: 'SyncStatus',
|
|
2875
3008
|
};
|
|
2876
3009
|
}
|
|
2877
3010
|
static types() {
|
|
@@ -2881,6 +3014,7 @@ class PublishStatusResponseBody extends $tea.Model {
|
|
|
2881
3014
|
requestId: 'string',
|
|
2882
3015
|
status: 'string',
|
|
2883
3016
|
success: 'boolean',
|
|
3017
|
+
syncStatus: 'string',
|
|
2884
3018
|
};
|
|
2885
3019
|
}
|
|
2886
3020
|
}
|
|
@@ -4265,6 +4399,24 @@ class GetSingleConnDataResponseBodyList extends $tea.Model {
|
|
|
4265
4399
|
}
|
|
4266
4400
|
}
|
|
4267
4401
|
exports.GetSingleConnDataResponseBodyList = GetSingleConnDataResponseBodyList;
|
|
4402
|
+
class GetSourcePackStatusResponseBodyData extends $tea.Model {
|
|
4403
|
+
constructor(map) {
|
|
4404
|
+
super(map);
|
|
4405
|
+
}
|
|
4406
|
+
static names() {
|
|
4407
|
+
return {
|
|
4408
|
+
progress: 'Progress',
|
|
4409
|
+
status: 'Status',
|
|
4410
|
+
};
|
|
4411
|
+
}
|
|
4412
|
+
static types() {
|
|
4413
|
+
return {
|
|
4414
|
+
progress: 'number',
|
|
4415
|
+
status: 'string',
|
|
4416
|
+
};
|
|
4417
|
+
}
|
|
4418
|
+
}
|
|
4419
|
+
exports.GetSourcePackStatusResponseBodyData = GetSourcePackStatusResponseBodyData;
|
|
4268
4420
|
class GetSubSceneTaskStatusResponseBodyList extends $tea.Model {
|
|
4269
4421
|
constructor(map) {
|
|
4270
4422
|
super(map);
|
|
@@ -4327,6 +4479,7 @@ class ListSceneResponseBodyList extends $tea.Model {
|
|
|
4327
4479
|
}
|
|
4328
4480
|
static names() {
|
|
4329
4481
|
return {
|
|
4482
|
+
coverUrl: 'CoverUrl',
|
|
4330
4483
|
gmtCreate: 'GmtCreate',
|
|
4331
4484
|
gmtModified: 'GmtModified',
|
|
4332
4485
|
id: 'Id',
|
|
@@ -4340,6 +4493,7 @@ class ListSceneResponseBodyList extends $tea.Model {
|
|
|
4340
4493
|
}
|
|
4341
4494
|
static types() {
|
|
4342
4495
|
return {
|
|
4496
|
+
coverUrl: 'string',
|
|
4343
4497
|
gmtCreate: 'number',
|
|
4344
4498
|
gmtModified: 'number',
|
|
4345
4499
|
id: 'string',
|
|
@@ -4413,6 +4567,22 @@ class PackSceneResponseBodyData extends $tea.Model {
|
|
|
4413
4567
|
}
|
|
4414
4568
|
}
|
|
4415
4569
|
exports.PackSceneResponseBodyData = PackSceneResponseBodyData;
|
|
4570
|
+
class PackSourceResponseBodyData extends $tea.Model {
|
|
4571
|
+
constructor(map) {
|
|
4572
|
+
super(map);
|
|
4573
|
+
}
|
|
4574
|
+
static names() {
|
|
4575
|
+
return {
|
|
4576
|
+
taskId: 'TaskId',
|
|
4577
|
+
};
|
|
4578
|
+
}
|
|
4579
|
+
static types() {
|
|
4580
|
+
return {
|
|
4581
|
+
taskId: 'string',
|
|
4582
|
+
};
|
|
4583
|
+
}
|
|
4584
|
+
}
|
|
4585
|
+
exports.PackSourceResponseBodyData = PackSourceResponseBodyData;
|
|
4416
4586
|
class Client extends openapi_client_1.default {
|
|
4417
4587
|
constructor(config) {
|
|
4418
4588
|
super(config);
|
|
@@ -5287,6 +5457,32 @@ class Client extends openapi_client_1.default {
|
|
|
5287
5457
|
let runtime = new $Util.RuntimeOptions({});
|
|
5288
5458
|
return await this.getSingleConnDataWithOptions(request, runtime);
|
|
5289
5459
|
}
|
|
5460
|
+
async getSourcePackStatusWithOptions(request, runtime) {
|
|
5461
|
+
tea_util_1.default.validateModel(request);
|
|
5462
|
+
let query = {};
|
|
5463
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
5464
|
+
query["TaskId"] = request.taskId;
|
|
5465
|
+
}
|
|
5466
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5467
|
+
query: openapi_util_1.default.query(query),
|
|
5468
|
+
});
|
|
5469
|
+
let params = new $OpenApi.Params({
|
|
5470
|
+
action: "GetSourcePackStatus",
|
|
5471
|
+
version: "2020-01-01",
|
|
5472
|
+
protocol: "HTTPS",
|
|
5473
|
+
pathname: "/",
|
|
5474
|
+
method: "POST",
|
|
5475
|
+
authType: "AK",
|
|
5476
|
+
style: "RPC",
|
|
5477
|
+
reqBodyType: "formData",
|
|
5478
|
+
bodyType: "json",
|
|
5479
|
+
});
|
|
5480
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSourcePackStatusResponse({}));
|
|
5481
|
+
}
|
|
5482
|
+
async getSourcePackStatus(request) {
|
|
5483
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5484
|
+
return await this.getSourcePackStatusWithOptions(request, runtime);
|
|
5485
|
+
}
|
|
5290
5486
|
async getSubSceneTaskStatusWithOptions(request, runtime) {
|
|
5291
5487
|
tea_util_1.default.validateModel(request);
|
|
5292
5488
|
let query = {};
|
|
@@ -5371,9 +5567,21 @@ class Client extends openapi_client_1.default {
|
|
|
5371
5567
|
if (!tea_util_1.default.isUnset(request.mode)) {
|
|
5372
5568
|
query["Mode"] = request.mode;
|
|
5373
5569
|
}
|
|
5570
|
+
if (!tea_util_1.default.isUnset(request.modelStyle)) {
|
|
5571
|
+
query["ModelStyle"] = request.modelStyle;
|
|
5572
|
+
}
|
|
5573
|
+
if (!tea_util_1.default.isUnset(request.optimizeWallWidth)) {
|
|
5574
|
+
query["OptimizeWallWidth"] = request.optimizeWallWidth;
|
|
5575
|
+
}
|
|
5576
|
+
if (!tea_util_1.default.isUnset(request.planStyle)) {
|
|
5577
|
+
query["PlanStyle"] = request.planStyle;
|
|
5578
|
+
}
|
|
5374
5579
|
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
5375
5580
|
query["SceneId"] = request.sceneId;
|
|
5376
5581
|
}
|
|
5582
|
+
if (!tea_util_1.default.isUnset(request.wallHeight)) {
|
|
5583
|
+
query["WallHeight"] = request.wallHeight;
|
|
5584
|
+
}
|
|
5377
5585
|
let req = new $OpenApi.OpenApiRequest({
|
|
5378
5586
|
query: openapi_util_1.default.query(query),
|
|
5379
5587
|
});
|
|
@@ -5589,6 +5797,32 @@ class Client extends openapi_client_1.default {
|
|
|
5589
5797
|
let runtime = new $Util.RuntimeOptions({});
|
|
5590
5798
|
return await this.packSceneWithOptions(request, runtime);
|
|
5591
5799
|
}
|
|
5800
|
+
async packSourceWithOptions(request, runtime) {
|
|
5801
|
+
tea_util_1.default.validateModel(request);
|
|
5802
|
+
let query = {};
|
|
5803
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
5804
|
+
query["SceneId"] = request.sceneId;
|
|
5805
|
+
}
|
|
5806
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5807
|
+
query: openapi_util_1.default.query(query),
|
|
5808
|
+
});
|
|
5809
|
+
let params = new $OpenApi.Params({
|
|
5810
|
+
action: "PackSource",
|
|
5811
|
+
version: "2020-01-01",
|
|
5812
|
+
protocol: "HTTPS",
|
|
5813
|
+
pathname: "/",
|
|
5814
|
+
method: "POST",
|
|
5815
|
+
authType: "AK",
|
|
5816
|
+
style: "RPC",
|
|
5817
|
+
reqBodyType: "formData",
|
|
5818
|
+
bodyType: "json",
|
|
5819
|
+
});
|
|
5820
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PackSourceResponse({}));
|
|
5821
|
+
}
|
|
5822
|
+
async packSource(request) {
|
|
5823
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5824
|
+
return await this.packSourceWithOptions(request, runtime);
|
|
5825
|
+
}
|
|
5592
5826
|
async predImageWithOptions(request, runtime) {
|
|
5593
5827
|
tea_util_1.default.validateModel(request);
|
|
5594
5828
|
let query = {};
|