@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/tdsr20200101",
3
- "version": "3.1.0",
3
+ "version": "3.1.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -746,6 +746,7 @@ export class DetailSceneRequest extends $tea.Model {
746
746
 
747
747
  export class DetailSceneResponseBody extends $tea.Model {
748
748
  code?: number;
749
+ coverUrl?: string;
749
750
  gmtCreate?: number;
750
751
  gmtModified?: number;
751
752
  id?: string;
@@ -761,6 +762,7 @@ export class DetailSceneResponseBody extends $tea.Model {
761
762
  static names(): { [key: string]: string } {
762
763
  return {
763
764
  code: 'Code',
765
+ coverUrl: 'CoverUrl',
764
766
  gmtCreate: 'GmtCreate',
765
767
  gmtModified: 'GmtModified',
766
768
  id: 'Id',
@@ -779,6 +781,7 @@ export class DetailSceneResponseBody extends $tea.Model {
779
781
  static types(): { [key: string]: any } {
780
782
  return {
781
783
  code: 'number',
784
+ coverUrl: 'string',
782
785
  gmtCreate: 'number',
783
786
  gmtModified: 'number',
784
787
  id: 'string',
@@ -2435,6 +2438,84 @@ export class GetSingleConnDataResponse extends $tea.Model {
2435
2438
  }
2436
2439
  }
2437
2440
 
2441
+ export class GetSourcePackStatusRequest extends $tea.Model {
2442
+ taskId?: string;
2443
+ static names(): { [key: string]: string } {
2444
+ return {
2445
+ taskId: 'TaskId',
2446
+ };
2447
+ }
2448
+
2449
+ static types(): { [key: string]: any } {
2450
+ return {
2451
+ taskId: 'string',
2452
+ };
2453
+ }
2454
+
2455
+ constructor(map?: { [key: string]: any }) {
2456
+ super(map);
2457
+ }
2458
+ }
2459
+
2460
+ export class GetSourcePackStatusResponseBody extends $tea.Model {
2461
+ code?: number;
2462
+ data?: GetSourcePackStatusResponseBodyData;
2463
+ message?: string;
2464
+ requestId?: string;
2465
+ success?: boolean;
2466
+ url?: string;
2467
+ static names(): { [key: string]: string } {
2468
+ return {
2469
+ code: 'Code',
2470
+ data: 'Data',
2471
+ message: 'Message',
2472
+ requestId: 'RequestId',
2473
+ success: 'Success',
2474
+ url: 'Url',
2475
+ };
2476
+ }
2477
+
2478
+ static types(): { [key: string]: any } {
2479
+ return {
2480
+ code: 'number',
2481
+ data: GetSourcePackStatusResponseBodyData,
2482
+ message: 'string',
2483
+ requestId: 'string',
2484
+ success: 'boolean',
2485
+ url: 'string',
2486
+ };
2487
+ }
2488
+
2489
+ constructor(map?: { [key: string]: any }) {
2490
+ super(map);
2491
+ }
2492
+ }
2493
+
2494
+ export class GetSourcePackStatusResponse extends $tea.Model {
2495
+ headers: { [key: string]: string };
2496
+ statusCode: number;
2497
+ body: GetSourcePackStatusResponseBody;
2498
+ static names(): { [key: string]: string } {
2499
+ return {
2500
+ headers: 'headers',
2501
+ statusCode: 'statusCode',
2502
+ body: 'body',
2503
+ };
2504
+ }
2505
+
2506
+ static types(): { [key: string]: any } {
2507
+ return {
2508
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2509
+ statusCode: 'number',
2510
+ body: GetSourcePackStatusResponseBody,
2511
+ };
2512
+ }
2513
+
2514
+ constructor(map?: { [key: string]: any }) {
2515
+ super(map);
2516
+ }
2517
+ }
2518
+
2438
2519
  export class GetSubSceneTaskStatusRequest extends $tea.Model {
2439
2520
  subSceneId?: string;
2440
2521
  static names(): { [key: string]: string } {
@@ -2671,18 +2752,30 @@ export class GetWindowConfigResponse extends $tea.Model {
2671
2752
 
2672
2753
  export class LabelBuildRequest extends $tea.Model {
2673
2754
  mode?: string;
2755
+ modelStyle?: string;
2756
+ optimizeWallWidth?: string;
2757
+ planStyle?: string;
2674
2758
  sceneId?: string;
2759
+ wallHeight?: number;
2675
2760
  static names(): { [key: string]: string } {
2676
2761
  return {
2677
2762
  mode: 'Mode',
2763
+ modelStyle: 'ModelStyle',
2764
+ optimizeWallWidth: 'OptimizeWallWidth',
2765
+ planStyle: 'PlanStyle',
2678
2766
  sceneId: 'SceneId',
2767
+ wallHeight: 'WallHeight',
2679
2768
  };
2680
2769
  }
2681
2770
 
2682
2771
  static types(): { [key: string]: any } {
2683
2772
  return {
2684
2773
  mode: 'string',
2774
+ modelStyle: 'string',
2775
+ optimizeWallWidth: 'string',
2776
+ planStyle: 'string',
2685
2777
  sceneId: 'string',
2778
+ wallHeight: 'number',
2686
2779
  };
2687
2780
  }
2688
2781
 
@@ -3272,6 +3365,81 @@ export class PackSceneResponse extends $tea.Model {
3272
3365
  }
3273
3366
  }
3274
3367
 
3368
+ export class PackSourceRequest extends $tea.Model {
3369
+ sceneId?: string;
3370
+ static names(): { [key: string]: string } {
3371
+ return {
3372
+ sceneId: 'SceneId',
3373
+ };
3374
+ }
3375
+
3376
+ static types(): { [key: string]: any } {
3377
+ return {
3378
+ sceneId: 'string',
3379
+ };
3380
+ }
3381
+
3382
+ constructor(map?: { [key: string]: any }) {
3383
+ super(map);
3384
+ }
3385
+ }
3386
+
3387
+ export class PackSourceResponseBody extends $tea.Model {
3388
+ code?: number;
3389
+ data?: PackSourceResponseBodyData;
3390
+ message?: string;
3391
+ requestId?: string;
3392
+ success?: boolean;
3393
+ static names(): { [key: string]: string } {
3394
+ return {
3395
+ code: 'Code',
3396
+ data: 'Data',
3397
+ message: 'Message',
3398
+ requestId: 'RequestId',
3399
+ success: 'Success',
3400
+ };
3401
+ }
3402
+
3403
+ static types(): { [key: string]: any } {
3404
+ return {
3405
+ code: 'number',
3406
+ data: PackSourceResponseBodyData,
3407
+ message: 'string',
3408
+ requestId: 'string',
3409
+ success: 'boolean',
3410
+ };
3411
+ }
3412
+
3413
+ constructor(map?: { [key: string]: any }) {
3414
+ super(map);
3415
+ }
3416
+ }
3417
+
3418
+ export class PackSourceResponse extends $tea.Model {
3419
+ headers: { [key: string]: string };
3420
+ statusCode: number;
3421
+ body: PackSourceResponseBody;
3422
+ static names(): { [key: string]: string } {
3423
+ return {
3424
+ headers: 'headers',
3425
+ statusCode: 'statusCode',
3426
+ body: 'body',
3427
+ };
3428
+ }
3429
+
3430
+ static types(): { [key: string]: any } {
3431
+ return {
3432
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3433
+ statusCode: 'number',
3434
+ body: PackSourceResponseBody,
3435
+ };
3436
+ }
3437
+
3438
+ constructor(map?: { [key: string]: any }) {
3439
+ super(map);
3440
+ }
3441
+ }
3442
+
3275
3443
  export class PredImageRequest extends $tea.Model {
3276
3444
  correctVertical?: boolean;
3277
3445
  countDetectDoor?: number;
@@ -3612,6 +3780,7 @@ export class PublishStatusResponseBody extends $tea.Model {
3612
3780
  requestId?: string;
3613
3781
  status?: string;
3614
3782
  success?: boolean;
3783
+ syncStatus?: string;
3615
3784
  static names(): { [key: string]: string } {
3616
3785
  return {
3617
3786
  code: 'Code',
@@ -3619,6 +3788,7 @@ export class PublishStatusResponseBody extends $tea.Model {
3619
3788
  requestId: 'RequestId',
3620
3789
  status: 'Status',
3621
3790
  success: 'Success',
3791
+ syncStatus: 'SyncStatus',
3622
3792
  };
3623
3793
  }
3624
3794
 
@@ -3629,6 +3799,7 @@ export class PublishStatusResponseBody extends $tea.Model {
3629
3799
  requestId: 'string',
3630
3800
  status: 'string',
3631
3801
  success: 'boolean',
3802
+ syncStatus: 'string',
3632
3803
  };
3633
3804
  }
3634
3805
 
@@ -5377,6 +5548,28 @@ export class GetSingleConnDataResponseBodyList extends $tea.Model {
5377
5548
  }
5378
5549
  }
5379
5550
 
5551
+ export class GetSourcePackStatusResponseBodyData extends $tea.Model {
5552
+ progress?: number;
5553
+ status?: string;
5554
+ static names(): { [key: string]: string } {
5555
+ return {
5556
+ progress: 'Progress',
5557
+ status: 'Status',
5558
+ };
5559
+ }
5560
+
5561
+ static types(): { [key: string]: any } {
5562
+ return {
5563
+ progress: 'number',
5564
+ status: 'string',
5565
+ };
5566
+ }
5567
+
5568
+ constructor(map?: { [key: string]: any }) {
5569
+ super(map);
5570
+ }
5571
+ }
5572
+
5380
5573
  export class GetSubSceneTaskStatusResponseBodyList extends $tea.Model {
5381
5574
  errorCode?: string;
5382
5575
  errorMsg?: string;
@@ -5452,6 +5645,7 @@ export class ListProjectResponseBodyList extends $tea.Model {
5452
5645
  }
5453
5646
 
5454
5647
  export class ListSceneResponseBodyList extends $tea.Model {
5648
+ coverUrl?: string;
5455
5649
  gmtCreate?: number;
5456
5650
  gmtModified?: number;
5457
5651
  id?: string;
@@ -5463,6 +5657,7 @@ export class ListSceneResponseBodyList extends $tea.Model {
5463
5657
  type?: string;
5464
5658
  static names(): { [key: string]: string } {
5465
5659
  return {
5660
+ coverUrl: 'CoverUrl',
5466
5661
  gmtCreate: 'GmtCreate',
5467
5662
  gmtModified: 'GmtModified',
5468
5663
  id: 'Id',
@@ -5477,6 +5672,7 @@ export class ListSceneResponseBodyList extends $tea.Model {
5477
5672
 
5478
5673
  static types(): { [key: string]: any } {
5479
5674
  return {
5675
+ coverUrl: 'string',
5480
5676
  gmtCreate: 'number',
5481
5677
  gmtModified: 'number',
5482
5678
  id: 'string',
@@ -5574,6 +5770,25 @@ export class PackSceneResponseBodyData extends $tea.Model {
5574
5770
  }
5575
5771
  }
5576
5772
 
5773
+ export class PackSourceResponseBodyData extends $tea.Model {
5774
+ taskId?: string;
5775
+ static names(): { [key: string]: string } {
5776
+ return {
5777
+ taskId: 'TaskId',
5778
+ };
5779
+ }
5780
+
5781
+ static types(): { [key: string]: any } {
5782
+ return {
5783
+ taskId: 'string',
5784
+ };
5785
+ }
5786
+
5787
+ constructor(map?: { [key: string]: any }) {
5788
+ super(map);
5789
+ }
5790
+ }
5791
+
5577
5792
 
5578
5793
  export default class Client extends OpenApi {
5579
5794
 
@@ -6570,6 +6785,35 @@ export default class Client extends OpenApi {
6570
6785
  return await this.getSingleConnDataWithOptions(request, runtime);
6571
6786
  }
6572
6787
 
6788
+ async getSourcePackStatusWithOptions(request: GetSourcePackStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSourcePackStatusResponse> {
6789
+ Util.validateModel(request);
6790
+ let query = { };
6791
+ if (!Util.isUnset(request.taskId)) {
6792
+ query["TaskId"] = request.taskId;
6793
+ }
6794
+
6795
+ let req = new $OpenApi.OpenApiRequest({
6796
+ query: OpenApiUtil.query(query),
6797
+ });
6798
+ let params = new $OpenApi.Params({
6799
+ action: "GetSourcePackStatus",
6800
+ version: "2020-01-01",
6801
+ protocol: "HTTPS",
6802
+ pathname: "/",
6803
+ method: "POST",
6804
+ authType: "AK",
6805
+ style: "RPC",
6806
+ reqBodyType: "formData",
6807
+ bodyType: "json",
6808
+ });
6809
+ return $tea.cast<GetSourcePackStatusResponse>(await this.callApi(params, req, runtime), new GetSourcePackStatusResponse({}));
6810
+ }
6811
+
6812
+ async getSourcePackStatus(request: GetSourcePackStatusRequest): Promise<GetSourcePackStatusResponse> {
6813
+ let runtime = new $Util.RuntimeOptions({ });
6814
+ return await this.getSourcePackStatusWithOptions(request, runtime);
6815
+ }
6816
+
6573
6817
  async getSubSceneTaskStatusWithOptions(request: GetSubSceneTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSubSceneTaskStatusResponse> {
6574
6818
  Util.validateModel(request);
6575
6819
  let query = { };
@@ -6664,10 +6908,26 @@ export default class Client extends OpenApi {
6664
6908
  query["Mode"] = request.mode;
6665
6909
  }
6666
6910
 
6911
+ if (!Util.isUnset(request.modelStyle)) {
6912
+ query["ModelStyle"] = request.modelStyle;
6913
+ }
6914
+
6915
+ if (!Util.isUnset(request.optimizeWallWidth)) {
6916
+ query["OptimizeWallWidth"] = request.optimizeWallWidth;
6917
+ }
6918
+
6919
+ if (!Util.isUnset(request.planStyle)) {
6920
+ query["PlanStyle"] = request.planStyle;
6921
+ }
6922
+
6667
6923
  if (!Util.isUnset(request.sceneId)) {
6668
6924
  query["SceneId"] = request.sceneId;
6669
6925
  }
6670
6926
 
6927
+ if (!Util.isUnset(request.wallHeight)) {
6928
+ query["WallHeight"] = request.wallHeight;
6929
+ }
6930
+
6671
6931
  let req = new $OpenApi.OpenApiRequest({
6672
6932
  query: OpenApiUtil.query(query),
6673
6933
  });
@@ -6916,6 +7176,35 @@ export default class Client extends OpenApi {
6916
7176
  return await this.packSceneWithOptions(request, runtime);
6917
7177
  }
6918
7178
 
7179
+ async packSourceWithOptions(request: PackSourceRequest, runtime: $Util.RuntimeOptions): Promise<PackSourceResponse> {
7180
+ Util.validateModel(request);
7181
+ let query = { };
7182
+ if (!Util.isUnset(request.sceneId)) {
7183
+ query["SceneId"] = request.sceneId;
7184
+ }
7185
+
7186
+ let req = new $OpenApi.OpenApiRequest({
7187
+ query: OpenApiUtil.query(query),
7188
+ });
7189
+ let params = new $OpenApi.Params({
7190
+ action: "PackSource",
7191
+ version: "2020-01-01",
7192
+ protocol: "HTTPS",
7193
+ pathname: "/",
7194
+ method: "POST",
7195
+ authType: "AK",
7196
+ style: "RPC",
7197
+ reqBodyType: "formData",
7198
+ bodyType: "json",
7199
+ });
7200
+ return $tea.cast<PackSourceResponse>(await this.callApi(params, req, runtime), new PackSourceResponse({}));
7201
+ }
7202
+
7203
+ async packSource(request: PackSourceRequest): Promise<PackSourceResponse> {
7204
+ let runtime = new $Util.RuntimeOptions({ });
7205
+ return await this.packSourceWithOptions(request, runtime);
7206
+ }
7207
+
6919
7208
  async predImageWithOptions(request: PredImageRequest, runtime: $Util.RuntimeOptions): Promise<PredImageResponse> {
6920
7209
  Util.validateModel(request);
6921
7210
  let query = { };