@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/tdsr20200101",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -2435,6 +2435,84 @@ export class GetSingleConnDataResponse extends $tea.Model {
2435
2435
  }
2436
2436
  }
2437
2437
 
2438
+ export class GetSourcePackStatusRequest extends $tea.Model {
2439
+ taskId?: string;
2440
+ static names(): { [key: string]: string } {
2441
+ return {
2442
+ taskId: 'TaskId',
2443
+ };
2444
+ }
2445
+
2446
+ static types(): { [key: string]: any } {
2447
+ return {
2448
+ taskId: 'string',
2449
+ };
2450
+ }
2451
+
2452
+ constructor(map?: { [key: string]: any }) {
2453
+ super(map);
2454
+ }
2455
+ }
2456
+
2457
+ export class GetSourcePackStatusResponseBody extends $tea.Model {
2458
+ code?: number;
2459
+ data?: GetSourcePackStatusResponseBodyData;
2460
+ message?: string;
2461
+ requestId?: string;
2462
+ success?: boolean;
2463
+ url?: string;
2464
+ static names(): { [key: string]: string } {
2465
+ return {
2466
+ code: 'Code',
2467
+ data: 'Data',
2468
+ message: 'Message',
2469
+ requestId: 'RequestId',
2470
+ success: 'Success',
2471
+ url: 'Url',
2472
+ };
2473
+ }
2474
+
2475
+ static types(): { [key: string]: any } {
2476
+ return {
2477
+ code: 'number',
2478
+ data: GetSourcePackStatusResponseBodyData,
2479
+ message: 'string',
2480
+ requestId: 'string',
2481
+ success: 'boolean',
2482
+ url: 'string',
2483
+ };
2484
+ }
2485
+
2486
+ constructor(map?: { [key: string]: any }) {
2487
+ super(map);
2488
+ }
2489
+ }
2490
+
2491
+ export class GetSourcePackStatusResponse extends $tea.Model {
2492
+ headers: { [key: string]: string };
2493
+ statusCode: number;
2494
+ body: GetSourcePackStatusResponseBody;
2495
+ static names(): { [key: string]: string } {
2496
+ return {
2497
+ headers: 'headers',
2498
+ statusCode: 'statusCode',
2499
+ body: 'body',
2500
+ };
2501
+ }
2502
+
2503
+ static types(): { [key: string]: any } {
2504
+ return {
2505
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2506
+ statusCode: 'number',
2507
+ body: GetSourcePackStatusResponseBody,
2508
+ };
2509
+ }
2510
+
2511
+ constructor(map?: { [key: string]: any }) {
2512
+ super(map);
2513
+ }
2514
+ }
2515
+
2438
2516
  export class GetSubSceneTaskStatusRequest extends $tea.Model {
2439
2517
  subSceneId?: string;
2440
2518
  static names(): { [key: string]: string } {
@@ -2671,7 +2749,7 @@ export class GetWindowConfigResponse extends $tea.Model {
2671
2749
 
2672
2750
  export class LabelBuildRequest extends $tea.Model {
2673
2751
  mode?: string;
2674
- optimizeModelEffect?: string;
2752
+ modelStyle?: string;
2675
2753
  optimizeWallWidth?: string;
2676
2754
  planStyle?: string;
2677
2755
  sceneId?: string;
@@ -2679,7 +2757,7 @@ export class LabelBuildRequest extends $tea.Model {
2679
2757
  static names(): { [key: string]: string } {
2680
2758
  return {
2681
2759
  mode: 'Mode',
2682
- optimizeModelEffect: 'OptimizeModelEffect',
2760
+ modelStyle: 'ModelStyle',
2683
2761
  optimizeWallWidth: 'OptimizeWallWidth',
2684
2762
  planStyle: 'PlanStyle',
2685
2763
  sceneId: 'SceneId',
@@ -2690,7 +2768,7 @@ export class LabelBuildRequest extends $tea.Model {
2690
2768
  static types(): { [key: string]: any } {
2691
2769
  return {
2692
2770
  mode: 'string',
2693
- optimizeModelEffect: 'string',
2771
+ modelStyle: 'string',
2694
2772
  optimizeWallWidth: 'string',
2695
2773
  planStyle: 'string',
2696
2774
  sceneId: 'string',
@@ -3284,6 +3362,81 @@ export class PackSceneResponse extends $tea.Model {
3284
3362
  }
3285
3363
  }
3286
3364
 
3365
+ export class PackSourceRequest extends $tea.Model {
3366
+ sceneId?: string;
3367
+ static names(): { [key: string]: string } {
3368
+ return {
3369
+ sceneId: 'SceneId',
3370
+ };
3371
+ }
3372
+
3373
+ static types(): { [key: string]: any } {
3374
+ return {
3375
+ sceneId: 'string',
3376
+ };
3377
+ }
3378
+
3379
+ constructor(map?: { [key: string]: any }) {
3380
+ super(map);
3381
+ }
3382
+ }
3383
+
3384
+ export class PackSourceResponseBody extends $tea.Model {
3385
+ code?: number;
3386
+ data?: PackSourceResponseBodyData;
3387
+ message?: string;
3388
+ requestId?: string;
3389
+ success?: boolean;
3390
+ static names(): { [key: string]: string } {
3391
+ return {
3392
+ code: 'Code',
3393
+ data: 'Data',
3394
+ message: 'Message',
3395
+ requestId: 'RequestId',
3396
+ success: 'Success',
3397
+ };
3398
+ }
3399
+
3400
+ static types(): { [key: string]: any } {
3401
+ return {
3402
+ code: 'number',
3403
+ data: PackSourceResponseBodyData,
3404
+ message: 'string',
3405
+ requestId: 'string',
3406
+ success: 'boolean',
3407
+ };
3408
+ }
3409
+
3410
+ constructor(map?: { [key: string]: any }) {
3411
+ super(map);
3412
+ }
3413
+ }
3414
+
3415
+ export class PackSourceResponse extends $tea.Model {
3416
+ headers: { [key: string]: string };
3417
+ statusCode: number;
3418
+ body: PackSourceResponseBody;
3419
+ static names(): { [key: string]: string } {
3420
+ return {
3421
+ headers: 'headers',
3422
+ statusCode: 'statusCode',
3423
+ body: 'body',
3424
+ };
3425
+ }
3426
+
3427
+ static types(): { [key: string]: any } {
3428
+ return {
3429
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3430
+ statusCode: 'number',
3431
+ body: PackSourceResponseBody,
3432
+ };
3433
+ }
3434
+
3435
+ constructor(map?: { [key: string]: any }) {
3436
+ super(map);
3437
+ }
3438
+ }
3439
+
3287
3440
  export class PredImageRequest extends $tea.Model {
3288
3441
  correctVertical?: boolean;
3289
3442
  countDetectDoor?: number;
@@ -3624,6 +3777,7 @@ export class PublishStatusResponseBody extends $tea.Model {
3624
3777
  requestId?: string;
3625
3778
  status?: string;
3626
3779
  success?: boolean;
3780
+ syncStatus?: string;
3627
3781
  static names(): { [key: string]: string } {
3628
3782
  return {
3629
3783
  code: 'Code',
@@ -3631,6 +3785,7 @@ export class PublishStatusResponseBody extends $tea.Model {
3631
3785
  requestId: 'RequestId',
3632
3786
  status: 'Status',
3633
3787
  success: 'Success',
3788
+ syncStatus: 'SyncStatus',
3634
3789
  };
3635
3790
  }
3636
3791
 
@@ -3641,6 +3796,7 @@ export class PublishStatusResponseBody extends $tea.Model {
3641
3796
  requestId: 'string',
3642
3797
  status: 'string',
3643
3798
  success: 'boolean',
3799
+ syncStatus: 'string',
3644
3800
  };
3645
3801
  }
3646
3802
 
@@ -5389,6 +5545,28 @@ export class GetSingleConnDataResponseBodyList extends $tea.Model {
5389
5545
  }
5390
5546
  }
5391
5547
 
5548
+ export class GetSourcePackStatusResponseBodyData extends $tea.Model {
5549
+ progress?: number;
5550
+ status?: string;
5551
+ static names(): { [key: string]: string } {
5552
+ return {
5553
+ progress: 'Progress',
5554
+ status: 'Status',
5555
+ };
5556
+ }
5557
+
5558
+ static types(): { [key: string]: any } {
5559
+ return {
5560
+ progress: 'number',
5561
+ status: 'string',
5562
+ };
5563
+ }
5564
+
5565
+ constructor(map?: { [key: string]: any }) {
5566
+ super(map);
5567
+ }
5568
+ }
5569
+
5392
5570
  export class GetSubSceneTaskStatusResponseBodyList extends $tea.Model {
5393
5571
  errorCode?: string;
5394
5572
  errorMsg?: string;
@@ -5586,6 +5764,25 @@ export class PackSceneResponseBodyData extends $tea.Model {
5586
5764
  }
5587
5765
  }
5588
5766
 
5767
+ export class PackSourceResponseBodyData extends $tea.Model {
5768
+ taskId?: string;
5769
+ static names(): { [key: string]: string } {
5770
+ return {
5771
+ taskId: 'TaskId',
5772
+ };
5773
+ }
5774
+
5775
+ static types(): { [key: string]: any } {
5776
+ return {
5777
+ taskId: 'string',
5778
+ };
5779
+ }
5780
+
5781
+ constructor(map?: { [key: string]: any }) {
5782
+ super(map);
5783
+ }
5784
+ }
5785
+
5589
5786
 
5590
5787
  export default class Client extends OpenApi {
5591
5788
 
@@ -6582,6 +6779,35 @@ export default class Client extends OpenApi {
6582
6779
  return await this.getSingleConnDataWithOptions(request, runtime);
6583
6780
  }
6584
6781
 
6782
+ async getSourcePackStatusWithOptions(request: GetSourcePackStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSourcePackStatusResponse> {
6783
+ Util.validateModel(request);
6784
+ let query = { };
6785
+ if (!Util.isUnset(request.taskId)) {
6786
+ query["TaskId"] = request.taskId;
6787
+ }
6788
+
6789
+ let req = new $OpenApi.OpenApiRequest({
6790
+ query: OpenApiUtil.query(query),
6791
+ });
6792
+ let params = new $OpenApi.Params({
6793
+ action: "GetSourcePackStatus",
6794
+ version: "2020-01-01",
6795
+ protocol: "HTTPS",
6796
+ pathname: "/",
6797
+ method: "POST",
6798
+ authType: "AK",
6799
+ style: "RPC",
6800
+ reqBodyType: "formData",
6801
+ bodyType: "json",
6802
+ });
6803
+ return $tea.cast<GetSourcePackStatusResponse>(await this.callApi(params, req, runtime), new GetSourcePackStatusResponse({}));
6804
+ }
6805
+
6806
+ async getSourcePackStatus(request: GetSourcePackStatusRequest): Promise<GetSourcePackStatusResponse> {
6807
+ let runtime = new $Util.RuntimeOptions({ });
6808
+ return await this.getSourcePackStatusWithOptions(request, runtime);
6809
+ }
6810
+
6585
6811
  async getSubSceneTaskStatusWithOptions(request: GetSubSceneTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSubSceneTaskStatusResponse> {
6586
6812
  Util.validateModel(request);
6587
6813
  let query = { };
@@ -6676,8 +6902,8 @@ export default class Client extends OpenApi {
6676
6902
  query["Mode"] = request.mode;
6677
6903
  }
6678
6904
 
6679
- if (!Util.isUnset(request.optimizeModelEffect)) {
6680
- query["OptimizeModelEffect"] = request.optimizeModelEffect;
6905
+ if (!Util.isUnset(request.modelStyle)) {
6906
+ query["ModelStyle"] = request.modelStyle;
6681
6907
  }
6682
6908
 
6683
6909
  if (!Util.isUnset(request.optimizeWallWidth)) {
@@ -6944,6 +7170,35 @@ export default class Client extends OpenApi {
6944
7170
  return await this.packSceneWithOptions(request, runtime);
6945
7171
  }
6946
7172
 
7173
+ async packSourceWithOptions(request: PackSourceRequest, runtime: $Util.RuntimeOptions): Promise<PackSourceResponse> {
7174
+ Util.validateModel(request);
7175
+ let query = { };
7176
+ if (!Util.isUnset(request.sceneId)) {
7177
+ query["SceneId"] = request.sceneId;
7178
+ }
7179
+
7180
+ let req = new $OpenApi.OpenApiRequest({
7181
+ query: OpenApiUtil.query(query),
7182
+ });
7183
+ let params = new $OpenApi.Params({
7184
+ action: "PackSource",
7185
+ version: "2020-01-01",
7186
+ protocol: "HTTPS",
7187
+ pathname: "/",
7188
+ method: "POST",
7189
+ authType: "AK",
7190
+ style: "RPC",
7191
+ reqBodyType: "formData",
7192
+ bodyType: "json",
7193
+ });
7194
+ return $tea.cast<PackSourceResponse>(await this.callApi(params, req, runtime), new PackSourceResponse({}));
7195
+ }
7196
+
7197
+ async packSource(request: PackSourceRequest): Promise<PackSourceResponse> {
7198
+ let runtime = new $Util.RuntimeOptions({ });
7199
+ return await this.packSourceWithOptions(request, runtime);
7200
+ }
7201
+
6947
7202
  async predImageWithOptions(request: PredImageRequest, runtime: $Util.RuntimeOptions): Promise<PredImageResponse> {
6948
7203
  Util.validateModel(request);
6949
7204
  let query = { };