@alicloud/tdsr20200101 3.1.1 → 3.1.2

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 CHANGED
@@ -1383,6 +1383,51 @@ export declare class GetSingleConnDataResponse extends $tea.Model {
1383
1383
  [key: string]: any;
1384
1384
  });
1385
1385
  }
1386
+ export declare class GetSourcePackStatusRequest extends $tea.Model {
1387
+ taskId?: string;
1388
+ static names(): {
1389
+ [key: string]: string;
1390
+ };
1391
+ static types(): {
1392
+ [key: string]: any;
1393
+ };
1394
+ constructor(map?: {
1395
+ [key: string]: any;
1396
+ });
1397
+ }
1398
+ export declare class GetSourcePackStatusResponseBody extends $tea.Model {
1399
+ code?: number;
1400
+ data?: GetSourcePackStatusResponseBodyData;
1401
+ message?: string;
1402
+ requestId?: string;
1403
+ success?: boolean;
1404
+ url?: string;
1405
+ static names(): {
1406
+ [key: string]: string;
1407
+ };
1408
+ static types(): {
1409
+ [key: string]: any;
1410
+ };
1411
+ constructor(map?: {
1412
+ [key: string]: any;
1413
+ });
1414
+ }
1415
+ export declare class GetSourcePackStatusResponse extends $tea.Model {
1416
+ headers: {
1417
+ [key: string]: string;
1418
+ };
1419
+ statusCode: number;
1420
+ body: GetSourcePackStatusResponseBody;
1421
+ static names(): {
1422
+ [key: string]: string;
1423
+ };
1424
+ static types(): {
1425
+ [key: string]: any;
1426
+ };
1427
+ constructor(map?: {
1428
+ [key: string]: any;
1429
+ });
1430
+ }
1386
1431
  export declare class GetSubSceneTaskStatusRequest extends $tea.Model {
1387
1432
  subSceneId?: string;
1388
1433
  static names(): {
@@ -1522,7 +1567,7 @@ export declare class GetWindowConfigResponse extends $tea.Model {
1522
1567
  }
1523
1568
  export declare class LabelBuildRequest extends $tea.Model {
1524
1569
  mode?: string;
1525
- optimizeModelEffect?: string;
1570
+ modelStyle?: string;
1526
1571
  optimizeWallWidth?: string;
1527
1572
  planStyle?: string;
1528
1573
  sceneId?: string;
@@ -1858,6 +1903,50 @@ export declare class PackSceneResponse extends $tea.Model {
1858
1903
  [key: string]: any;
1859
1904
  });
1860
1905
  }
1906
+ export declare class PackSourceRequest extends $tea.Model {
1907
+ sceneId?: string;
1908
+ static names(): {
1909
+ [key: string]: string;
1910
+ };
1911
+ static types(): {
1912
+ [key: string]: any;
1913
+ };
1914
+ constructor(map?: {
1915
+ [key: string]: any;
1916
+ });
1917
+ }
1918
+ export declare class PackSourceResponseBody extends $tea.Model {
1919
+ code?: number;
1920
+ data?: PackSourceResponseBodyData;
1921
+ message?: string;
1922
+ requestId?: string;
1923
+ success?: boolean;
1924
+ static names(): {
1925
+ [key: string]: string;
1926
+ };
1927
+ static types(): {
1928
+ [key: string]: any;
1929
+ };
1930
+ constructor(map?: {
1931
+ [key: string]: any;
1932
+ });
1933
+ }
1934
+ export declare class PackSourceResponse extends $tea.Model {
1935
+ headers: {
1936
+ [key: string]: string;
1937
+ };
1938
+ statusCode: number;
1939
+ body: PackSourceResponseBody;
1940
+ static names(): {
1941
+ [key: string]: string;
1942
+ };
1943
+ static types(): {
1944
+ [key: string]: any;
1945
+ };
1946
+ constructor(map?: {
1947
+ [key: string]: any;
1948
+ });
1949
+ }
1861
1950
  export declare class PredImageRequest extends $tea.Model {
1862
1951
  correctVertical?: boolean;
1863
1952
  countDetectDoor?: number;
@@ -2059,6 +2148,7 @@ export declare class PublishStatusResponseBody extends $tea.Model {
2059
2148
  requestId?: string;
2060
2149
  status?: string;
2061
2150
  success?: boolean;
2151
+ syncStatus?: string;
2062
2152
  static names(): {
2063
2153
  [key: string]: string;
2064
2154
  };
@@ -3055,6 +3145,19 @@ export declare class GetSingleConnDataResponseBodyList extends $tea.Model {
3055
3145
  [key: string]: any;
3056
3146
  });
3057
3147
  }
3148
+ export declare class GetSourcePackStatusResponseBodyData extends $tea.Model {
3149
+ progress?: number;
3150
+ status?: string;
3151
+ static names(): {
3152
+ [key: string]: string;
3153
+ };
3154
+ static types(): {
3155
+ [key: string]: any;
3156
+ };
3157
+ constructor(map?: {
3158
+ [key: string]: any;
3159
+ });
3160
+ }
3058
3161
  export declare class GetSubSceneTaskStatusResponseBodyList extends $tea.Model {
3059
3162
  errorCode?: string;
3060
3163
  errorMsg?: string;
@@ -3149,6 +3252,18 @@ export declare class PackSceneResponseBodyData extends $tea.Model {
3149
3252
  [key: string]: any;
3150
3253
  });
3151
3254
  }
3255
+ export declare class PackSourceResponseBodyData extends $tea.Model {
3256
+ taskId?: string;
3257
+ static names(): {
3258
+ [key: string]: string;
3259
+ };
3260
+ static types(): {
3261
+ [key: string]: any;
3262
+ };
3263
+ constructor(map?: {
3264
+ [key: string]: any;
3265
+ });
3266
+ }
3152
3267
  export default class Client extends OpenApi {
3153
3268
  constructor(config: $OpenApi.Config);
3154
3269
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
@@ -3214,6 +3329,8 @@ export default class Client extends OpenApi {
3214
3329
  getScenePreviewResource(request: GetScenePreviewResourceRequest): Promise<GetScenePreviewResourceResponse>;
3215
3330
  getSingleConnDataWithOptions(request: GetSingleConnDataRequest, runtime: $Util.RuntimeOptions): Promise<GetSingleConnDataResponse>;
3216
3331
  getSingleConnData(request: GetSingleConnDataRequest): Promise<GetSingleConnDataResponse>;
3332
+ getSourcePackStatusWithOptions(request: GetSourcePackStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSourcePackStatusResponse>;
3333
+ getSourcePackStatus(request: GetSourcePackStatusRequest): Promise<GetSourcePackStatusResponse>;
3217
3334
  getSubSceneTaskStatusWithOptions(request: GetSubSceneTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSubSceneTaskStatusResponse>;
3218
3335
  getSubSceneTaskStatus(request: GetSubSceneTaskStatusRequest): Promise<GetSubSceneTaskStatusResponse>;
3219
3336
  getTaskStatusWithOptions(request: GetTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetTaskStatusResponse>;
@@ -3234,6 +3351,8 @@ export default class Client extends OpenApi {
3234
3351
  optimizeRightAngle(request: OptimizeRightAngleRequest): Promise<OptimizeRightAngleResponse>;
3235
3352
  packSceneWithOptions(request: PackSceneRequest, runtime: $Util.RuntimeOptions): Promise<PackSceneResponse>;
3236
3353
  packScene(request: PackSceneRequest): Promise<PackSceneResponse>;
3354
+ packSourceWithOptions(request: PackSourceRequest, runtime: $Util.RuntimeOptions): Promise<PackSourceResponse>;
3355
+ packSource(request: PackSourceRequest): Promise<PackSourceResponse>;
3237
3356
  predImageWithOptions(request: PredImageRequest, runtime: $Util.RuntimeOptions): Promise<PredImageResponse>;
3238
3357
  predImage(request: PredImageRequest): Promise<PredImageResponse>;
3239
3358
  predictionWallLineWithOptions(request: PredictionWallLineRequest, runtime: $Util.RuntimeOptions): Promise<PredictionWallLineResponse>;
package/dist/client.js CHANGED
@@ -1937,6 +1937,68 @@ class GetSingleConnDataResponse extends $tea.Model {
1937
1937
  }
1938
1938
  }
1939
1939
  exports.GetSingleConnDataResponse = GetSingleConnDataResponse;
1940
+ class GetSourcePackStatusRequest extends $tea.Model {
1941
+ constructor(map) {
1942
+ super(map);
1943
+ }
1944
+ static names() {
1945
+ return {
1946
+ taskId: 'TaskId',
1947
+ };
1948
+ }
1949
+ static types() {
1950
+ return {
1951
+ taskId: 'string',
1952
+ };
1953
+ }
1954
+ }
1955
+ exports.GetSourcePackStatusRequest = GetSourcePackStatusRequest;
1956
+ class GetSourcePackStatusResponseBody extends $tea.Model {
1957
+ constructor(map) {
1958
+ super(map);
1959
+ }
1960
+ static names() {
1961
+ return {
1962
+ code: 'Code',
1963
+ data: 'Data',
1964
+ message: 'Message',
1965
+ requestId: 'RequestId',
1966
+ success: 'Success',
1967
+ url: 'Url',
1968
+ };
1969
+ }
1970
+ static types() {
1971
+ return {
1972
+ code: 'number',
1973
+ data: GetSourcePackStatusResponseBodyData,
1974
+ message: 'string',
1975
+ requestId: 'string',
1976
+ success: 'boolean',
1977
+ url: 'string',
1978
+ };
1979
+ }
1980
+ }
1981
+ exports.GetSourcePackStatusResponseBody = GetSourcePackStatusResponseBody;
1982
+ class GetSourcePackStatusResponse extends $tea.Model {
1983
+ constructor(map) {
1984
+ super(map);
1985
+ }
1986
+ static names() {
1987
+ return {
1988
+ headers: 'headers',
1989
+ statusCode: 'statusCode',
1990
+ body: 'body',
1991
+ };
1992
+ }
1993
+ static types() {
1994
+ return {
1995
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1996
+ statusCode: 'number',
1997
+ body: GetSourcePackStatusResponseBody,
1998
+ };
1999
+ }
2000
+ }
2001
+ exports.GetSourcePackStatusResponse = GetSourcePackStatusResponse;
1940
2002
  class GetSubSceneTaskStatusRequest extends $tea.Model {
1941
2003
  constructor(map) {
1942
2004
  super(map);
@@ -2130,7 +2192,7 @@ class LabelBuildRequest extends $tea.Model {
2130
2192
  static names() {
2131
2193
  return {
2132
2194
  mode: 'Mode',
2133
- optimizeModelEffect: 'OptimizeModelEffect',
2195
+ modelStyle: 'ModelStyle',
2134
2196
  optimizeWallWidth: 'OptimizeWallWidth',
2135
2197
  planStyle: 'PlanStyle',
2136
2198
  sceneId: 'SceneId',
@@ -2140,7 +2202,7 @@ class LabelBuildRequest extends $tea.Model {
2140
2202
  static types() {
2141
2203
  return {
2142
2204
  mode: 'string',
2143
- optimizeModelEffect: 'string',
2205
+ modelStyle: 'string',
2144
2206
  optimizeWallWidth: 'string',
2145
2207
  planStyle: 'string',
2146
2208
  sceneId: 'string',
@@ -2603,6 +2665,66 @@ class PackSceneResponse extends $tea.Model {
2603
2665
  }
2604
2666
  }
2605
2667
  exports.PackSceneResponse = PackSceneResponse;
2668
+ class PackSourceRequest extends $tea.Model {
2669
+ constructor(map) {
2670
+ super(map);
2671
+ }
2672
+ static names() {
2673
+ return {
2674
+ sceneId: 'SceneId',
2675
+ };
2676
+ }
2677
+ static types() {
2678
+ return {
2679
+ sceneId: 'string',
2680
+ };
2681
+ }
2682
+ }
2683
+ exports.PackSourceRequest = PackSourceRequest;
2684
+ class PackSourceResponseBody extends $tea.Model {
2685
+ constructor(map) {
2686
+ super(map);
2687
+ }
2688
+ static names() {
2689
+ return {
2690
+ code: 'Code',
2691
+ data: 'Data',
2692
+ message: 'Message',
2693
+ requestId: 'RequestId',
2694
+ success: 'Success',
2695
+ };
2696
+ }
2697
+ static types() {
2698
+ return {
2699
+ code: 'number',
2700
+ data: PackSourceResponseBodyData,
2701
+ message: 'string',
2702
+ requestId: 'string',
2703
+ success: 'boolean',
2704
+ };
2705
+ }
2706
+ }
2707
+ exports.PackSourceResponseBody = PackSourceResponseBody;
2708
+ class PackSourceResponse extends $tea.Model {
2709
+ constructor(map) {
2710
+ super(map);
2711
+ }
2712
+ static names() {
2713
+ return {
2714
+ headers: 'headers',
2715
+ statusCode: 'statusCode',
2716
+ body: 'body',
2717
+ };
2718
+ }
2719
+ static types() {
2720
+ return {
2721
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2722
+ statusCode: 'number',
2723
+ body: PackSourceResponseBody,
2724
+ };
2725
+ }
2726
+ }
2727
+ exports.PackSourceResponse = PackSourceResponse;
2606
2728
  class PredImageRequest extends $tea.Model {
2607
2729
  constructor(map) {
2608
2730
  super(map);
@@ -2880,6 +3002,7 @@ class PublishStatusResponseBody extends $tea.Model {
2880
3002
  requestId: 'RequestId',
2881
3003
  status: 'Status',
2882
3004
  success: 'Success',
3005
+ syncStatus: 'SyncStatus',
2883
3006
  };
2884
3007
  }
2885
3008
  static types() {
@@ -2889,6 +3012,7 @@ class PublishStatusResponseBody extends $tea.Model {
2889
3012
  requestId: 'string',
2890
3013
  status: 'string',
2891
3014
  success: 'boolean',
3015
+ syncStatus: 'string',
2892
3016
  };
2893
3017
  }
2894
3018
  }
@@ -4273,6 +4397,24 @@ class GetSingleConnDataResponseBodyList extends $tea.Model {
4273
4397
  }
4274
4398
  }
4275
4399
  exports.GetSingleConnDataResponseBodyList = GetSingleConnDataResponseBodyList;
4400
+ class GetSourcePackStatusResponseBodyData extends $tea.Model {
4401
+ constructor(map) {
4402
+ super(map);
4403
+ }
4404
+ static names() {
4405
+ return {
4406
+ progress: 'Progress',
4407
+ status: 'Status',
4408
+ };
4409
+ }
4410
+ static types() {
4411
+ return {
4412
+ progress: 'number',
4413
+ status: 'string',
4414
+ };
4415
+ }
4416
+ }
4417
+ exports.GetSourcePackStatusResponseBodyData = GetSourcePackStatusResponseBodyData;
4276
4418
  class GetSubSceneTaskStatusResponseBodyList extends $tea.Model {
4277
4419
  constructor(map) {
4278
4420
  super(map);
@@ -4421,6 +4563,22 @@ class PackSceneResponseBodyData extends $tea.Model {
4421
4563
  }
4422
4564
  }
4423
4565
  exports.PackSceneResponseBodyData = PackSceneResponseBodyData;
4566
+ class PackSourceResponseBodyData extends $tea.Model {
4567
+ constructor(map) {
4568
+ super(map);
4569
+ }
4570
+ static names() {
4571
+ return {
4572
+ taskId: 'TaskId',
4573
+ };
4574
+ }
4575
+ static types() {
4576
+ return {
4577
+ taskId: 'string',
4578
+ };
4579
+ }
4580
+ }
4581
+ exports.PackSourceResponseBodyData = PackSourceResponseBodyData;
4424
4582
  class Client extends openapi_client_1.default {
4425
4583
  constructor(config) {
4426
4584
  super(config);
@@ -5295,6 +5453,32 @@ class Client extends openapi_client_1.default {
5295
5453
  let runtime = new $Util.RuntimeOptions({});
5296
5454
  return await this.getSingleConnDataWithOptions(request, runtime);
5297
5455
  }
5456
+ async getSourcePackStatusWithOptions(request, runtime) {
5457
+ tea_util_1.default.validateModel(request);
5458
+ let query = {};
5459
+ if (!tea_util_1.default.isUnset(request.taskId)) {
5460
+ query["TaskId"] = request.taskId;
5461
+ }
5462
+ let req = new $OpenApi.OpenApiRequest({
5463
+ query: openapi_util_1.default.query(query),
5464
+ });
5465
+ let params = new $OpenApi.Params({
5466
+ action: "GetSourcePackStatus",
5467
+ version: "2020-01-01",
5468
+ protocol: "HTTPS",
5469
+ pathname: "/",
5470
+ method: "POST",
5471
+ authType: "AK",
5472
+ style: "RPC",
5473
+ reqBodyType: "formData",
5474
+ bodyType: "json",
5475
+ });
5476
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSourcePackStatusResponse({}));
5477
+ }
5478
+ async getSourcePackStatus(request) {
5479
+ let runtime = new $Util.RuntimeOptions({});
5480
+ return await this.getSourcePackStatusWithOptions(request, runtime);
5481
+ }
5298
5482
  async getSubSceneTaskStatusWithOptions(request, runtime) {
5299
5483
  tea_util_1.default.validateModel(request);
5300
5484
  let query = {};
@@ -5379,8 +5563,8 @@ class Client extends openapi_client_1.default {
5379
5563
  if (!tea_util_1.default.isUnset(request.mode)) {
5380
5564
  query["Mode"] = request.mode;
5381
5565
  }
5382
- if (!tea_util_1.default.isUnset(request.optimizeModelEffect)) {
5383
- query["OptimizeModelEffect"] = request.optimizeModelEffect;
5566
+ if (!tea_util_1.default.isUnset(request.modelStyle)) {
5567
+ query["ModelStyle"] = request.modelStyle;
5384
5568
  }
5385
5569
  if (!tea_util_1.default.isUnset(request.optimizeWallWidth)) {
5386
5570
  query["OptimizeWallWidth"] = request.optimizeWallWidth;
@@ -5609,6 +5793,32 @@ class Client extends openapi_client_1.default {
5609
5793
  let runtime = new $Util.RuntimeOptions({});
5610
5794
  return await this.packSceneWithOptions(request, runtime);
5611
5795
  }
5796
+ async packSourceWithOptions(request, runtime) {
5797
+ tea_util_1.default.validateModel(request);
5798
+ let query = {};
5799
+ if (!tea_util_1.default.isUnset(request.sceneId)) {
5800
+ query["SceneId"] = request.sceneId;
5801
+ }
5802
+ let req = new $OpenApi.OpenApiRequest({
5803
+ query: openapi_util_1.default.query(query),
5804
+ });
5805
+ let params = new $OpenApi.Params({
5806
+ action: "PackSource",
5807
+ version: "2020-01-01",
5808
+ protocol: "HTTPS",
5809
+ pathname: "/",
5810
+ method: "POST",
5811
+ authType: "AK",
5812
+ style: "RPC",
5813
+ reqBodyType: "formData",
5814
+ bodyType: "json",
5815
+ });
5816
+ return $tea.cast(await this.callApi(params, req, runtime), new PackSourceResponse({}));
5817
+ }
5818
+ async packSource(request) {
5819
+ let runtime = new $Util.RuntimeOptions({});
5820
+ return await this.packSourceWithOptions(request, runtime);
5821
+ }
5612
5822
  async predImageWithOptions(request, runtime) {
5613
5823
  tea_util_1.default.validateModel(request);
5614
5824
  let query = {};