@alicloud/tdsr20200101 3.0.8 → 3.0.9

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.js CHANGED
@@ -68,12 +68,14 @@ class AddMosaicsResponse extends $tea.Model {
68
68
  static names() {
69
69
  return {
70
70
  headers: 'headers',
71
+ statusCode: 'statusCode',
71
72
  body: 'body',
72
73
  };
73
74
  }
74
75
  static types() {
75
76
  return {
76
77
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
78
+ statusCode: 'number',
77
79
  body: AddMosaicsResponseBody,
78
80
  };
79
81
  }
@@ -128,12 +130,14 @@ class AddProjectResponse extends $tea.Model {
128
130
  static names() {
129
131
  return {
130
132
  headers: 'headers',
133
+ statusCode: 'statusCode',
131
134
  body: 'body',
132
135
  };
133
136
  }
134
137
  static types() {
135
138
  return {
136
139
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
140
+ statusCode: 'number',
137
141
  body: AddProjectResponseBody,
138
142
  };
139
143
  }
@@ -186,12 +190,14 @@ class AddRelativePositionResponse extends $tea.Model {
186
190
  static names() {
187
191
  return {
188
192
  headers: 'headers',
193
+ statusCode: 'statusCode',
189
194
  body: 'body',
190
195
  };
191
196
  }
192
197
  static types() {
193
198
  return {
194
199
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
200
+ statusCode: 'number',
195
201
  body: AddRelativePositionResponseBody,
196
202
  };
197
203
  }
@@ -244,12 +250,14 @@ class AddRoomPlanResponse extends $tea.Model {
244
250
  static names() {
245
251
  return {
246
252
  headers: 'headers',
253
+ statusCode: 'statusCode',
247
254
  body: 'body',
248
255
  };
249
256
  }
250
257
  static types() {
251
258
  return {
252
259
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
260
+ statusCode: 'number',
253
261
  body: AddRoomPlanResponseBody,
254
262
  };
255
263
  }
@@ -308,12 +316,14 @@ class AddSceneResponse extends $tea.Model {
308
316
  static names() {
309
317
  return {
310
318
  headers: 'headers',
319
+ statusCode: 'statusCode',
311
320
  body: 'body',
312
321
  };
313
322
  }
314
323
  static types() {
315
324
  return {
316
325
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
326
+ statusCode: 'number',
317
327
  body: AddSceneResponseBody,
318
328
  };
319
329
  }
@@ -370,12 +380,14 @@ class AddSubSceneResponse extends $tea.Model {
370
380
  static names() {
371
381
  return {
372
382
  headers: 'headers',
383
+ statusCode: 'statusCode',
373
384
  body: 'body',
374
385
  };
375
386
  }
376
387
  static types() {
377
388
  return {
378
389
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
390
+ statusCode: 'number',
379
391
  body: AddSubSceneResponseBody,
380
392
  };
381
393
  }
@@ -428,12 +440,14 @@ class CheckUserPropertyResponse extends $tea.Model {
428
440
  static names() {
429
441
  return {
430
442
  headers: 'headers',
443
+ statusCode: 'statusCode',
431
444
  body: 'body',
432
445
  };
433
446
  }
434
447
  static types() {
435
448
  return {
436
449
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
450
+ statusCode: 'number',
437
451
  body: CheckUserPropertyResponseBody,
438
452
  };
439
453
  }
@@ -498,12 +512,14 @@ class DetailProjectResponse extends $tea.Model {
498
512
  static names() {
499
513
  return {
500
514
  headers: 'headers',
515
+ statusCode: 'statusCode',
501
516
  body: 'body',
502
517
  };
503
518
  }
504
519
  static types() {
505
520
  return {
506
521
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
522
+ statusCode: 'number',
507
523
  body: DetailProjectResponseBody,
508
524
  };
509
525
  }
@@ -572,12 +588,14 @@ class DetailSceneResponse extends $tea.Model {
572
588
  static names() {
573
589
  return {
574
590
  headers: 'headers',
591
+ statusCode: 'statusCode',
575
592
  body: 'body',
576
593
  };
577
594
  }
578
595
  static types() {
579
596
  return {
580
597
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
598
+ statusCode: 'number',
581
599
  body: DetailSceneResponseBody,
582
600
  };
583
601
  }
@@ -654,12 +672,14 @@ class DetailSubSceneResponse extends $tea.Model {
654
672
  static names() {
655
673
  return {
656
674
  headers: 'headers',
675
+ statusCode: 'statusCode',
657
676
  body: 'body',
658
677
  };
659
678
  }
660
679
  static types() {
661
680
  return {
662
681
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
682
+ statusCode: 'number',
663
683
  body: DetailSubSceneResponseBody,
664
684
  };
665
685
  }
@@ -710,12 +730,14 @@ class DropProjectResponse extends $tea.Model {
710
730
  static names() {
711
731
  return {
712
732
  headers: 'headers',
733
+ statusCode: 'statusCode',
713
734
  body: 'body',
714
735
  };
715
736
  }
716
737
  static types() {
717
738
  return {
718
739
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
740
+ statusCode: 'number',
719
741
  body: DropProjectResponseBody,
720
742
  };
721
743
  }
@@ -766,12 +788,14 @@ class DropSceneResponse extends $tea.Model {
766
788
  static names() {
767
789
  return {
768
790
  headers: 'headers',
791
+ statusCode: 'statusCode',
769
792
  body: 'body',
770
793
  };
771
794
  }
772
795
  static types() {
773
796
  return {
774
797
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
798
+ statusCode: 'number',
775
799
  body: DropSceneResponseBody,
776
800
  };
777
801
  }
@@ -822,12 +846,14 @@ class DropSubSceneResponse extends $tea.Model {
822
846
  static names() {
823
847
  return {
824
848
  headers: 'headers',
849
+ statusCode: 'statusCode',
825
850
  body: 'body',
826
851
  };
827
852
  }
828
853
  static types() {
829
854
  return {
830
855
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
856
+ statusCode: 'number',
831
857
  body: DropSubSceneResponseBody,
832
858
  };
833
859
  }
@@ -884,12 +910,14 @@ class GetConnDataResponse extends $tea.Model {
884
910
  static names() {
885
911
  return {
886
912
  headers: 'headers',
913
+ statusCode: 'statusCode',
887
914
  body: 'body',
888
915
  };
889
916
  }
890
917
  static types() {
891
918
  return {
892
919
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
920
+ statusCode: 'number',
893
921
  body: GetConnDataResponseBody,
894
922
  };
895
923
  }
@@ -948,12 +976,14 @@ class GetHotspotConfigResponse extends $tea.Model {
948
976
  static names() {
949
977
  return {
950
978
  headers: 'headers',
979
+ statusCode: 'statusCode',
951
980
  body: 'body',
952
981
  };
953
982
  }
954
983
  static types() {
955
984
  return {
956
985
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
986
+ statusCode: 'number',
957
987
  body: GetHotspotConfigResponseBody,
958
988
  };
959
989
  }
@@ -1012,12 +1042,14 @@ class GetHotspotSceneDataResponse extends $tea.Model {
1012
1042
  static names() {
1013
1043
  return {
1014
1044
  headers: 'headers',
1045
+ statusCode: 'statusCode',
1015
1046
  body: 'body',
1016
1047
  };
1017
1048
  }
1018
1049
  static types() {
1019
1050
  return {
1020
1051
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1052
+ statusCode: 'number',
1021
1053
  body: GetHotspotSceneDataResponseBody,
1022
1054
  };
1023
1055
  }
@@ -1078,12 +1110,14 @@ class GetHotspotTagResponse extends $tea.Model {
1078
1110
  static names() {
1079
1111
  return {
1080
1112
  headers: 'headers',
1113
+ statusCode: 'statusCode',
1081
1114
  body: 'body',
1082
1115
  };
1083
1116
  }
1084
1117
  static types() {
1085
1118
  return {
1086
1119
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1120
+ statusCode: 'number',
1087
1121
  body: GetHotspotTagResponseBody,
1088
1122
  };
1089
1123
  }
@@ -1136,12 +1170,14 @@ class GetLayoutDataResponse extends $tea.Model {
1136
1170
  static names() {
1137
1171
  return {
1138
1172
  headers: 'headers',
1173
+ statusCode: 'statusCode',
1139
1174
  body: 'body',
1140
1175
  };
1141
1176
  }
1142
1177
  static types() {
1143
1178
  return {
1144
1179
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1180
+ statusCode: 'number',
1145
1181
  body: GetLayoutDataResponseBody,
1146
1182
  };
1147
1183
  }
@@ -1194,12 +1230,14 @@ class GetOriginLayoutDataResponse extends $tea.Model {
1194
1230
  static names() {
1195
1231
  return {
1196
1232
  headers: 'headers',
1233
+ statusCode: 'statusCode',
1197
1234
  body: 'body',
1198
1235
  };
1199
1236
  }
1200
1237
  static types() {
1201
1238
  return {
1202
1239
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1240
+ statusCode: 'number',
1203
1241
  body: GetOriginLayoutDataResponseBody,
1204
1242
  };
1205
1243
  }
@@ -1264,17 +1302,81 @@ class GetOssPolicyResponse extends $tea.Model {
1264
1302
  static names() {
1265
1303
  return {
1266
1304
  headers: 'headers',
1305
+ statusCode: 'statusCode',
1267
1306
  body: 'body',
1268
1307
  };
1269
1308
  }
1270
1309
  static types() {
1271
1310
  return {
1272
1311
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1312
+ statusCode: 'number',
1273
1313
  body: GetOssPolicyResponseBody,
1274
1314
  };
1275
1315
  }
1276
1316
  }
1277
1317
  exports.GetOssPolicyResponse = GetOssPolicyResponse;
1318
+ class GetPackSceneTaskStatusRequest extends $tea.Model {
1319
+ constructor(map) {
1320
+ super(map);
1321
+ }
1322
+ static names() {
1323
+ return {
1324
+ taskId: 'TaskId',
1325
+ type: 'Type',
1326
+ };
1327
+ }
1328
+ static types() {
1329
+ return {
1330
+ taskId: 'string',
1331
+ type: 'string',
1332
+ };
1333
+ }
1334
+ }
1335
+ exports.GetPackSceneTaskStatusRequest = GetPackSceneTaskStatusRequest;
1336
+ class GetPackSceneTaskStatusResponseBody extends $tea.Model {
1337
+ constructor(map) {
1338
+ super(map);
1339
+ }
1340
+ static names() {
1341
+ return {
1342
+ code: 'Code',
1343
+ data: 'Data',
1344
+ message: 'Message',
1345
+ requestId: 'RequestId',
1346
+ success: 'Success',
1347
+ };
1348
+ }
1349
+ static types() {
1350
+ return {
1351
+ code: 'number',
1352
+ data: GetPackSceneTaskStatusResponseBodyData,
1353
+ message: 'string',
1354
+ requestId: 'string',
1355
+ success: 'boolean',
1356
+ };
1357
+ }
1358
+ }
1359
+ exports.GetPackSceneTaskStatusResponseBody = GetPackSceneTaskStatusResponseBody;
1360
+ class GetPackSceneTaskStatusResponse extends $tea.Model {
1361
+ constructor(map) {
1362
+ super(map);
1363
+ }
1364
+ static names() {
1365
+ return {
1366
+ headers: 'headers',
1367
+ statusCode: 'statusCode',
1368
+ body: 'body',
1369
+ };
1370
+ }
1371
+ static types() {
1372
+ return {
1373
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1374
+ statusCode: 'number',
1375
+ body: GetPackSceneTaskStatusResponseBody,
1376
+ };
1377
+ }
1378
+ }
1379
+ exports.GetPackSceneTaskStatusResponse = GetPackSceneTaskStatusResponse;
1278
1380
  class GetRectifyImageRequest extends $tea.Model {
1279
1381
  constructor(map) {
1280
1382
  super(map);
@@ -1322,12 +1424,14 @@ class GetRectifyImageResponse extends $tea.Model {
1322
1424
  static names() {
1323
1425
  return {
1324
1426
  headers: 'headers',
1427
+ statusCode: 'statusCode',
1325
1428
  body: 'body',
1326
1429
  };
1327
1430
  }
1328
1431
  static types() {
1329
1432
  return {
1330
1433
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1434
+ statusCode: 'number',
1331
1435
  body: GetRectifyImageResponseBody,
1332
1436
  };
1333
1437
  }
@@ -1386,17 +1490,79 @@ class GetSceneBuildTaskStatusResponse extends $tea.Model {
1386
1490
  static names() {
1387
1491
  return {
1388
1492
  headers: 'headers',
1493
+ statusCode: 'statusCode',
1389
1494
  body: 'body',
1390
1495
  };
1391
1496
  }
1392
1497
  static types() {
1393
1498
  return {
1394
1499
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1500
+ statusCode: 'number',
1395
1501
  body: GetSceneBuildTaskStatusResponseBody,
1396
1502
  };
1397
1503
  }
1398
1504
  }
1399
1505
  exports.GetSceneBuildTaskStatusResponse = GetSceneBuildTaskStatusResponse;
1506
+ class GetScenePackUrlRequest extends $tea.Model {
1507
+ constructor(map) {
1508
+ super(map);
1509
+ }
1510
+ static names() {
1511
+ return {
1512
+ sceneId: 'SceneId',
1513
+ };
1514
+ }
1515
+ static types() {
1516
+ return {
1517
+ sceneId: 'string',
1518
+ };
1519
+ }
1520
+ }
1521
+ exports.GetScenePackUrlRequest = GetScenePackUrlRequest;
1522
+ class GetScenePackUrlResponseBody extends $tea.Model {
1523
+ constructor(map) {
1524
+ super(map);
1525
+ }
1526
+ static names() {
1527
+ return {
1528
+ code: 'Code',
1529
+ data: 'Data',
1530
+ message: 'Message',
1531
+ requestId: 'RequestId',
1532
+ success: 'Success',
1533
+ };
1534
+ }
1535
+ static types() {
1536
+ return {
1537
+ code: 'number',
1538
+ data: GetScenePackUrlResponseBodyData,
1539
+ message: 'string',
1540
+ requestId: 'string',
1541
+ success: 'boolean',
1542
+ };
1543
+ }
1544
+ }
1545
+ exports.GetScenePackUrlResponseBody = GetScenePackUrlResponseBody;
1546
+ class GetScenePackUrlResponse extends $tea.Model {
1547
+ constructor(map) {
1548
+ super(map);
1549
+ }
1550
+ static names() {
1551
+ return {
1552
+ headers: 'headers',
1553
+ statusCode: 'statusCode',
1554
+ body: 'body',
1555
+ };
1556
+ }
1557
+ static types() {
1558
+ return {
1559
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1560
+ statusCode: 'number',
1561
+ body: GetScenePackUrlResponseBody,
1562
+ };
1563
+ }
1564
+ }
1565
+ exports.GetScenePackUrlResponse = GetScenePackUrlResponse;
1400
1566
  class GetScenePreviewDataRequest extends $tea.Model {
1401
1567
  constructor(map) {
1402
1568
  super(map);
@@ -1450,12 +1616,14 @@ class GetScenePreviewDataResponse extends $tea.Model {
1450
1616
  static names() {
1451
1617
  return {
1452
1618
  headers: 'headers',
1619
+ statusCode: 'statusCode',
1453
1620
  body: 'body',
1454
1621
  };
1455
1622
  }
1456
1623
  static types() {
1457
1624
  return {
1458
1625
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1626
+ statusCode: 'number',
1459
1627
  body: GetScenePreviewDataResponseBody,
1460
1628
  };
1461
1629
  }
@@ -1512,12 +1680,14 @@ class GetScenePreviewInfoResponse extends $tea.Model {
1512
1680
  static names() {
1513
1681
  return {
1514
1682
  headers: 'headers',
1683
+ statusCode: 'statusCode',
1515
1684
  body: 'body',
1516
1685
  };
1517
1686
  }
1518
1687
  static types() {
1519
1688
  return {
1520
1689
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1690
+ statusCode: 'number',
1521
1691
  body: GetScenePreviewInfoResponseBody,
1522
1692
  };
1523
1693
  }
@@ -1570,12 +1740,14 @@ class GetScenePreviewResourceResponse extends $tea.Model {
1570
1740
  static names() {
1571
1741
  return {
1572
1742
  headers: 'headers',
1743
+ statusCode: 'statusCode',
1573
1744
  body: 'body',
1574
1745
  };
1575
1746
  }
1576
1747
  static types() {
1577
1748
  return {
1578
1749
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1750
+ statusCode: 'number',
1579
1751
  body: GetScenePreviewResourceResponseBody,
1580
1752
  };
1581
1753
  }
@@ -1630,12 +1802,14 @@ class GetSingleConnDataResponse extends $tea.Model {
1630
1802
  static names() {
1631
1803
  return {
1632
1804
  headers: 'headers',
1805
+ statusCode: 'statusCode',
1633
1806
  body: 'body',
1634
1807
  };
1635
1808
  }
1636
1809
  static types() {
1637
1810
  return {
1638
1811
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1812
+ statusCode: 'number',
1639
1813
  body: GetSingleConnDataResponseBody,
1640
1814
  };
1641
1815
  }
@@ -1688,12 +1862,14 @@ class GetSubSceneTaskStatusResponse extends $tea.Model {
1688
1862
  static names() {
1689
1863
  return {
1690
1864
  headers: 'headers',
1865
+ statusCode: 'statusCode',
1691
1866
  body: 'body',
1692
1867
  };
1693
1868
  }
1694
1869
  static types() {
1695
1870
  return {
1696
1871
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1872
+ statusCode: 'number',
1697
1873
  body: GetSubSceneTaskStatusResponseBody,
1698
1874
  };
1699
1875
  }
@@ -1752,12 +1928,14 @@ class GetTaskStatusResponse extends $tea.Model {
1752
1928
  static names() {
1753
1929
  return {
1754
1930
  headers: 'headers',
1931
+ statusCode: 'statusCode',
1755
1932
  body: 'body',
1756
1933
  };
1757
1934
  }
1758
1935
  static types() {
1759
1936
  return {
1760
1937
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1938
+ statusCode: 'number',
1761
1939
  body: GetTaskStatusResponseBody,
1762
1940
  };
1763
1941
  }
@@ -1810,12 +1988,14 @@ class GetWindowConfigResponse extends $tea.Model {
1810
1988
  static names() {
1811
1989
  return {
1812
1990
  headers: 'headers',
1991
+ statusCode: 'statusCode',
1813
1992
  body: 'body',
1814
1993
  };
1815
1994
  }
1816
1995
  static types() {
1817
1996
  return {
1818
1997
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1998
+ statusCode: 'number',
1819
1999
  body: GetWindowConfigResponseBody,
1820
2000
  };
1821
2001
  }
@@ -1870,12 +2050,14 @@ class LabelBuildResponse extends $tea.Model {
1870
2050
  static names() {
1871
2051
  return {
1872
2052
  headers: 'headers',
2053
+ statusCode: 'statusCode',
1873
2054
  body: 'body',
1874
2055
  };
1875
2056
  }
1876
2057
  static types() {
1877
2058
  return {
1878
2059
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2060
+ statusCode: 'number',
1879
2061
  body: LabelBuildResponseBody,
1880
2062
  };
1881
2063
  }
@@ -1934,12 +2116,14 @@ class LinkImageResponse extends $tea.Model {
1934
2116
  static names() {
1935
2117
  return {
1936
2118
  headers: 'headers',
2119
+ statusCode: 'statusCode',
1937
2120
  body: 'body',
1938
2121
  };
1939
2122
  }
1940
2123
  static types() {
1941
2124
  return {
1942
2125
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2126
+ statusCode: 'number',
1943
2127
  body: LinkImageResponseBody,
1944
2128
  };
1945
2129
  }
@@ -2004,12 +2188,14 @@ class ListProjectResponse extends $tea.Model {
2004
2188
  static names() {
2005
2189
  return {
2006
2190
  headers: 'headers',
2191
+ statusCode: 'statusCode',
2007
2192
  body: 'body',
2008
2193
  };
2009
2194
  }
2010
2195
  static types() {
2011
2196
  return {
2012
2197
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2198
+ statusCode: 'number',
2013
2199
  body: ListProjectResponseBody,
2014
2200
  };
2015
2201
  }
@@ -2076,12 +2262,14 @@ class ListSceneResponse extends $tea.Model {
2076
2262
  static names() {
2077
2263
  return {
2078
2264
  headers: 'headers',
2265
+ statusCode: 'statusCode',
2079
2266
  body: 'body',
2080
2267
  };
2081
2268
  }
2082
2269
  static types() {
2083
2270
  return {
2084
2271
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2272
+ statusCode: 'number',
2085
2273
  body: ListSceneResponseBody,
2086
2274
  };
2087
2275
  }
@@ -2148,12 +2336,14 @@ class ListSubSceneResponse extends $tea.Model {
2148
2336
  static names() {
2149
2337
  return {
2150
2338
  headers: 'headers',
2339
+ statusCode: 'statusCode',
2151
2340
  body: 'body',
2152
2341
  };
2153
2342
  }
2154
2343
  static types() {
2155
2344
  return {
2156
2345
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2346
+ statusCode: 'number',
2157
2347
  body: ListSubSceneResponseBody,
2158
2348
  };
2159
2349
  }
@@ -2206,17 +2396,81 @@ class OptimizeRightAngleResponse extends $tea.Model {
2206
2396
  static names() {
2207
2397
  return {
2208
2398
  headers: 'headers',
2399
+ statusCode: 'statusCode',
2209
2400
  body: 'body',
2210
2401
  };
2211
2402
  }
2212
2403
  static types() {
2213
2404
  return {
2214
2405
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2406
+ statusCode: 'number',
2215
2407
  body: OptimizeRightAngleResponseBody,
2216
2408
  };
2217
2409
  }
2218
2410
  }
2219
2411
  exports.OptimizeRightAngleResponse = OptimizeRightAngleResponse;
2412
+ class PackSceneRequest extends $tea.Model {
2413
+ constructor(map) {
2414
+ super(map);
2415
+ }
2416
+ static names() {
2417
+ return {
2418
+ sceneId: 'SceneId',
2419
+ type: 'Type',
2420
+ };
2421
+ }
2422
+ static types() {
2423
+ return {
2424
+ sceneId: 'string',
2425
+ type: 'string',
2426
+ };
2427
+ }
2428
+ }
2429
+ exports.PackSceneRequest = PackSceneRequest;
2430
+ class PackSceneResponseBody extends $tea.Model {
2431
+ constructor(map) {
2432
+ super(map);
2433
+ }
2434
+ static names() {
2435
+ return {
2436
+ code: 'Code',
2437
+ data: 'Data',
2438
+ message: 'Message',
2439
+ requestId: 'RequestId',
2440
+ success: 'Success',
2441
+ };
2442
+ }
2443
+ static types() {
2444
+ return {
2445
+ code: 'number',
2446
+ data: PackSceneResponseBodyData,
2447
+ message: 'string',
2448
+ requestId: 'string',
2449
+ success: 'boolean',
2450
+ };
2451
+ }
2452
+ }
2453
+ exports.PackSceneResponseBody = PackSceneResponseBody;
2454
+ class PackSceneResponse extends $tea.Model {
2455
+ constructor(map) {
2456
+ super(map);
2457
+ }
2458
+ static names() {
2459
+ return {
2460
+ headers: 'headers',
2461
+ statusCode: 'statusCode',
2462
+ body: 'body',
2463
+ };
2464
+ }
2465
+ static types() {
2466
+ return {
2467
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2468
+ statusCode: 'number',
2469
+ body: PackSceneResponseBody,
2470
+ };
2471
+ }
2472
+ }
2473
+ exports.PackSceneResponse = PackSceneResponse;
2220
2474
  class PredImageRequest extends $tea.Model {
2221
2475
  constructor(map) {
2222
2476
  super(map);
@@ -2270,12 +2524,14 @@ class PredImageResponse extends $tea.Model {
2270
2524
  static names() {
2271
2525
  return {
2272
2526
  headers: 'headers',
2527
+ statusCode: 'statusCode',
2273
2528
  body: 'body',
2274
2529
  };
2275
2530
  }
2276
2531
  static types() {
2277
2532
  return {
2278
2533
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2534
+ statusCode: 'number',
2279
2535
  body: PredImageResponseBody,
2280
2536
  };
2281
2537
  }
@@ -2332,12 +2588,14 @@ class PredictionWallLineResponse extends $tea.Model {
2332
2588
  static names() {
2333
2589
  return {
2334
2590
  headers: 'headers',
2591
+ statusCode: 'statusCode',
2335
2592
  body: 'body',
2336
2593
  };
2337
2594
  }
2338
2595
  static types() {
2339
2596
  return {
2340
2597
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2598
+ statusCode: 'number',
2341
2599
  body: PredictionWallLineResponseBody,
2342
2600
  };
2343
2601
  }
@@ -2390,12 +2648,14 @@ class PublishHotspotResponse extends $tea.Model {
2390
2648
  static names() {
2391
2649
  return {
2392
2650
  headers: 'headers',
2651
+ statusCode: 'statusCode',
2393
2652
  body: 'body',
2394
2653
  };
2395
2654
  }
2396
2655
  static types() {
2397
2656
  return {
2398
2657
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2658
+ statusCode: 'number',
2399
2659
  body: PublishHotspotResponseBody,
2400
2660
  };
2401
2661
  }
@@ -2448,12 +2708,14 @@ class PublishSceneResponse extends $tea.Model {
2448
2708
  static names() {
2449
2709
  return {
2450
2710
  headers: 'headers',
2711
+ statusCode: 'statusCode',
2451
2712
  body: 'body',
2452
2713
  };
2453
2714
  }
2454
2715
  static types() {
2455
2716
  return {
2456
2717
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2718
+ statusCode: 'number',
2457
2719
  body: PublishSceneResponseBody,
2458
2720
  };
2459
2721
  }
@@ -2506,12 +2768,14 @@ class PublishStatusResponse extends $tea.Model {
2506
2768
  static names() {
2507
2769
  return {
2508
2770
  headers: 'headers',
2771
+ statusCode: 'statusCode',
2509
2772
  body: 'body',
2510
2773
  };
2511
2774
  }
2512
2775
  static types() {
2513
2776
  return {
2514
2777
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2778
+ statusCode: 'number',
2515
2779
  body: PublishStatusResponseBody,
2516
2780
  };
2517
2781
  }
@@ -2562,12 +2826,14 @@ class RecoveryOriginImageResponse extends $tea.Model {
2562
2826
  static names() {
2563
2827
  return {
2564
2828
  headers: 'headers',
2829
+ statusCode: 'statusCode',
2565
2830
  body: 'body',
2566
2831
  };
2567
2832
  }
2568
2833
  static types() {
2569
2834
  return {
2570
2835
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2836
+ statusCode: 'number',
2571
2837
  body: RecoveryOriginImageResponseBody,
2572
2838
  };
2573
2839
  }
@@ -2626,12 +2892,14 @@ class RectVerticalResponse extends $tea.Model {
2626
2892
  static names() {
2627
2893
  return {
2628
2894
  headers: 'headers',
2895
+ statusCode: 'statusCode',
2629
2896
  body: 'body',
2630
2897
  };
2631
2898
  }
2632
2899
  static types() {
2633
2900
  return {
2634
2901
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2902
+ statusCode: 'number',
2635
2903
  body: RectVerticalResponseBody,
2636
2904
  };
2637
2905
  }
@@ -2688,12 +2956,14 @@ class RectifyImageResponse extends $tea.Model {
2688
2956
  static names() {
2689
2957
  return {
2690
2958
  headers: 'headers',
2959
+ statusCode: 'statusCode',
2691
2960
  body: 'body',
2692
2961
  };
2693
2962
  }
2694
2963
  static types() {
2695
2964
  return {
2696
2965
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2966
+ statusCode: 'number',
2697
2967
  body: RectifyImageResponseBody,
2698
2968
  };
2699
2969
  }
@@ -2744,12 +3014,14 @@ class RollbackSubSceneResponse extends $tea.Model {
2744
3014
  static names() {
2745
3015
  return {
2746
3016
  headers: 'headers',
3017
+ statusCode: 'statusCode',
2747
3018
  body: 'body',
2748
3019
  };
2749
3020
  }
2750
3021
  static types() {
2751
3022
  return {
2752
3023
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3024
+ statusCode: 'number',
2753
3025
  body: RollbackSubSceneResponseBody,
2754
3026
  };
2755
3027
  }
@@ -2800,12 +3072,14 @@ class SaveHotspotConfigResponse extends $tea.Model {
2800
3072
  static names() {
2801
3073
  return {
2802
3074
  headers: 'headers',
3075
+ statusCode: 'statusCode',
2803
3076
  body: 'body',
2804
3077
  };
2805
3078
  }
2806
3079
  static types() {
2807
3080
  return {
2808
3081
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3082
+ statusCode: 'number',
2809
3083
  body: SaveHotspotConfigResponseBody,
2810
3084
  };
2811
3085
  }
@@ -2856,12 +3130,14 @@ class SaveHotspotTagResponse extends $tea.Model {
2856
3130
  static names() {
2857
3131
  return {
2858
3132
  headers: 'headers',
3133
+ statusCode: 'statusCode',
2859
3134
  body: 'body',
2860
3135
  };
2861
3136
  }
2862
3137
  static types() {
2863
3138
  return {
2864
3139
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3140
+ statusCode: 'number',
2865
3141
  body: SaveHotspotTagResponseBody,
2866
3142
  };
2867
3143
  }
@@ -2914,12 +3190,14 @@ class ScenePublishResponse extends $tea.Model {
2914
3190
  static names() {
2915
3191
  return {
2916
3192
  headers: 'headers',
3193
+ statusCode: 'statusCode',
2917
3194
  body: 'body',
2918
3195
  };
2919
3196
  }
2920
3197
  static types() {
2921
3198
  return {
2922
3199
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3200
+ statusCode: 'number',
2923
3201
  body: ScenePublishResponseBody,
2924
3202
  };
2925
3203
  }
@@ -2974,12 +3252,14 @@ class TempPreviewResponse extends $tea.Model {
2974
3252
  static names() {
2975
3253
  return {
2976
3254
  headers: 'headers',
3255
+ statusCode: 'statusCode',
2977
3256
  body: 'body',
2978
3257
  };
2979
3258
  }
2980
3259
  static types() {
2981
3260
  return {
2982
3261
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3262
+ statusCode: 'number',
2983
3263
  body: TempPreviewResponseBody,
2984
3264
  };
2985
3265
  }
@@ -3032,12 +3312,14 @@ class TempPreviewStatusResponse extends $tea.Model {
3032
3312
  static names() {
3033
3313
  return {
3034
3314
  headers: 'headers',
3315
+ statusCode: 'statusCode',
3035
3316
  body: 'body',
3036
3317
  };
3037
3318
  }
3038
3319
  static types() {
3039
3320
  return {
3040
3321
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3322
+ statusCode: 'number',
3041
3323
  body: TempPreviewStatusResponseBody,
3042
3324
  };
3043
3325
  }
@@ -3090,12 +3372,14 @@ class UpdateConnDataResponse extends $tea.Model {
3090
3372
  static names() {
3091
3373
  return {
3092
3374
  headers: 'headers',
3375
+ statusCode: 'statusCode',
3093
3376
  body: 'body',
3094
3377
  };
3095
3378
  }
3096
3379
  static types() {
3097
3380
  return {
3098
3381
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3382
+ statusCode: 'number',
3099
3383
  body: UpdateConnDataResponseBody,
3100
3384
  };
3101
3385
  }
@@ -3148,12 +3432,14 @@ class UpdateLayoutDataResponse extends $tea.Model {
3148
3432
  static names() {
3149
3433
  return {
3150
3434
  headers: 'headers',
3435
+ statusCode: 'statusCode',
3151
3436
  body: 'body',
3152
3437
  };
3153
3438
  }
3154
3439
  static types() {
3155
3440
  return {
3156
3441
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3442
+ statusCode: 'number',
3157
3443
  body: UpdateLayoutDataResponseBody,
3158
3444
  };
3159
3445
  }
@@ -3208,12 +3494,14 @@ class UpdateProjectResponse extends $tea.Model {
3208
3494
  static names() {
3209
3495
  return {
3210
3496
  headers: 'headers',
3497
+ statusCode: 'statusCode',
3211
3498
  body: 'body',
3212
3499
  };
3213
3500
  }
3214
3501
  static types() {
3215
3502
  return {
3216
3503
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3504
+ statusCode: 'number',
3217
3505
  body: UpdateProjectResponseBody,
3218
3506
  };
3219
3507
  }
@@ -3266,12 +3554,14 @@ class UpdateSceneResponse extends $tea.Model {
3266
3554
  static names() {
3267
3555
  return {
3268
3556
  headers: 'headers',
3557
+ statusCode: 'statusCode',
3269
3558
  body: 'body',
3270
3559
  };
3271
3560
  }
3272
3561
  static types() {
3273
3562
  return {
3274
3563
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3564
+ statusCode: 'number',
3275
3565
  body: UpdateSceneResponseBody,
3276
3566
  };
3277
3567
  }
@@ -3324,12 +3614,14 @@ class UpdateSubSceneResponse extends $tea.Model {
3324
3614
  static names() {
3325
3615
  return {
3326
3616
  headers: 'headers',
3617
+ statusCode: 'statusCode',
3327
3618
  body: 'body',
3328
3619
  };
3329
3620
  }
3330
3621
  static types() {
3331
3622
  return {
3332
3623
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3624
+ statusCode: 'number',
3333
3625
  body: UpdateSubSceneResponseBody,
3334
3626
  };
3335
3627
  }
@@ -3405,6 +3697,44 @@ class GetHotspotSceneDataResponseBodyData extends $tea.Model {
3405
3697
  }
3406
3698
  }
3407
3699
  exports.GetHotspotSceneDataResponseBodyData = GetHotspotSceneDataResponseBodyData;
3700
+ class GetPackSceneTaskStatusResponseBodyData extends $tea.Model {
3701
+ constructor(map) {
3702
+ super(map);
3703
+ }
3704
+ static names() {
3705
+ return {
3706
+ progress: 'Progress',
3707
+ status: 'Status',
3708
+ };
3709
+ }
3710
+ static types() {
3711
+ return {
3712
+ progress: 'string',
3713
+ status: 'string',
3714
+ };
3715
+ }
3716
+ }
3717
+ exports.GetPackSceneTaskStatusResponseBodyData = GetPackSceneTaskStatusResponseBodyData;
3718
+ class GetScenePackUrlResponseBodyData extends $tea.Model {
3719
+ constructor(map) {
3720
+ super(map);
3721
+ }
3722
+ static names() {
3723
+ return {
3724
+ expire: 'Expire',
3725
+ url: 'Url',
3726
+ valid: 'Valid',
3727
+ };
3728
+ }
3729
+ static types() {
3730
+ return {
3731
+ expire: 'string',
3732
+ url: 'string',
3733
+ valid: 'string',
3734
+ };
3735
+ }
3736
+ }
3737
+ exports.GetScenePackUrlResponseBodyData = GetScenePackUrlResponseBodyData;
3408
3738
  class GetScenePreviewDataResponseBodyDataModelPanoListPosition extends $tea.Model {
3409
3739
  constructor(map) {
3410
3740
  super(map);
@@ -3809,6 +4139,22 @@ class ListSubSceneResponseBodyList extends $tea.Model {
3809
4139
  }
3810
4140
  }
3811
4141
  exports.ListSubSceneResponseBodyList = ListSubSceneResponseBodyList;
4142
+ class PackSceneResponseBodyData extends $tea.Model {
4143
+ constructor(map) {
4144
+ super(map);
4145
+ }
4146
+ static names() {
4147
+ return {
4148
+ taskId: 'TaskId',
4149
+ };
4150
+ }
4151
+ static types() {
4152
+ return {
4153
+ taskId: 'string',
4154
+ };
4155
+ }
4156
+ }
4157
+ exports.PackSceneResponseBodyData = PackSceneResponseBodyData;
3812
4158
  class Client extends openapi_client_1.default {
3813
4159
  constructor(config) {
3814
4160
  super(config);
@@ -4402,6 +4748,35 @@ class Client extends openapi_client_1.default {
4402
4748
  let runtime = new $Util.RuntimeOptions({});
4403
4749
  return await this.getOssPolicyWithOptions(request, runtime);
4404
4750
  }
4751
+ async getPackSceneTaskStatusWithOptions(request, runtime) {
4752
+ tea_util_1.default.validateModel(request);
4753
+ let query = {};
4754
+ if (!tea_util_1.default.isUnset(request.taskId)) {
4755
+ query["TaskId"] = request.taskId;
4756
+ }
4757
+ if (!tea_util_1.default.isUnset(request.type)) {
4758
+ query["Type"] = request.type;
4759
+ }
4760
+ let req = new $OpenApi.OpenApiRequest({
4761
+ query: openapi_util_1.default.query(query),
4762
+ });
4763
+ let params = new $OpenApi.Params({
4764
+ action: "GetPackSceneTaskStatus",
4765
+ version: "2020-01-01",
4766
+ protocol: "HTTPS",
4767
+ pathname: "/",
4768
+ method: "POST",
4769
+ authType: "AK",
4770
+ style: "RPC",
4771
+ reqBodyType: "formData",
4772
+ bodyType: "json",
4773
+ });
4774
+ return $tea.cast(await this.callApi(params, req, runtime), new GetPackSceneTaskStatusResponse({}));
4775
+ }
4776
+ async getPackSceneTaskStatus(request) {
4777
+ let runtime = new $Util.RuntimeOptions({});
4778
+ return await this.getPackSceneTaskStatusWithOptions(request, runtime);
4779
+ }
4405
4780
  async getRectifyImageWithOptions(request, runtime) {
4406
4781
  tea_util_1.default.validateModel(request);
4407
4782
  let query = {};
@@ -4454,6 +4829,32 @@ class Client extends openapi_client_1.default {
4454
4829
  let runtime = new $Util.RuntimeOptions({});
4455
4830
  return await this.getSceneBuildTaskStatusWithOptions(request, runtime);
4456
4831
  }
4832
+ async getScenePackUrlWithOptions(request, runtime) {
4833
+ tea_util_1.default.validateModel(request);
4834
+ let query = {};
4835
+ if (!tea_util_1.default.isUnset(request.sceneId)) {
4836
+ query["SceneId"] = request.sceneId;
4837
+ }
4838
+ let req = new $OpenApi.OpenApiRequest({
4839
+ query: openapi_util_1.default.query(query),
4840
+ });
4841
+ let params = new $OpenApi.Params({
4842
+ action: "GetScenePackUrl",
4843
+ version: "2020-01-01",
4844
+ protocol: "HTTPS",
4845
+ pathname: "/",
4846
+ method: "POST",
4847
+ authType: "AK",
4848
+ style: "RPC",
4849
+ reqBodyType: "formData",
4850
+ bodyType: "json",
4851
+ });
4852
+ return $tea.cast(await this.callApi(params, req, runtime), new GetScenePackUrlResponse({}));
4853
+ }
4854
+ async getScenePackUrl(request) {
4855
+ let runtime = new $Util.RuntimeOptions({});
4856
+ return await this.getScenePackUrlWithOptions(request, runtime);
4857
+ }
4457
4858
  async getScenePreviewDataWithOptions(request, runtime) {
4458
4859
  tea_util_1.default.validateModel(request);
4459
4860
  let query = {};
@@ -4843,6 +5244,35 @@ class Client extends openapi_client_1.default {
4843
5244
  let runtime = new $Util.RuntimeOptions({});
4844
5245
  return await this.optimizeRightAngleWithOptions(request, runtime);
4845
5246
  }
5247
+ async packSceneWithOptions(request, runtime) {
5248
+ tea_util_1.default.validateModel(request);
5249
+ let query = {};
5250
+ if (!tea_util_1.default.isUnset(request.sceneId)) {
5251
+ query["SceneId"] = request.sceneId;
5252
+ }
5253
+ if (!tea_util_1.default.isUnset(request.type)) {
5254
+ query["Type"] = request.type;
5255
+ }
5256
+ let req = new $OpenApi.OpenApiRequest({
5257
+ query: openapi_util_1.default.query(query),
5258
+ });
5259
+ let params = new $OpenApi.Params({
5260
+ action: "PackScene",
5261
+ version: "2020-01-01",
5262
+ protocol: "HTTPS",
5263
+ pathname: "/",
5264
+ method: "POST",
5265
+ authType: "AK",
5266
+ style: "RPC",
5267
+ reqBodyType: "formData",
5268
+ bodyType: "json",
5269
+ });
5270
+ return $tea.cast(await this.callApi(params, req, runtime), new PackSceneResponse({}));
5271
+ }
5272
+ async packScene(request) {
5273
+ let runtime = new $Util.RuntimeOptions({});
5274
+ return await this.packSceneWithOptions(request, runtime);
5275
+ }
4846
5276
  async predImageWithOptions(request, runtime) {
4847
5277
  tea_util_1.default.validateModel(request);
4848
5278
  let query = {};