@alicloud/tdsr20200101 3.1.5 → 3.1.7
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 +62 -92
- package/dist/client.js +113 -172
- package/dist/client.js.map +1 -1
- package/package.json +3 -4
- package/src/client.ts +139 -208
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/tdsr20200101",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,10 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.4",
|
|
24
|
-
"@alicloud/rpc-client": "^1.3.1",
|
|
25
|
-
"@alicloud/endpoint-util": "^0.0.1",
|
|
26
24
|
"@alicloud/openapi-client": "^0.4.1",
|
|
27
|
-
"@alicloud/openapi-util": "^0.2.9"
|
|
25
|
+
"@alicloud/openapi-util": "^0.2.9",
|
|
26
|
+
"@alicloud/endpoint-util": "^0.0.1"
|
|
28
27
|
},
|
|
29
28
|
"files": [
|
|
30
29
|
"dist",
|
package/src/client.ts
CHANGED
|
@@ -794,81 +794,6 @@ export class CreateUploadPolicyResponse extends $tea.Model {
|
|
|
794
794
|
}
|
|
795
795
|
}
|
|
796
796
|
|
|
797
|
-
export class DecryptContentRequest extends $tea.Model {
|
|
798
|
-
content?: string;
|
|
799
|
-
static names(): { [key: string]: string } {
|
|
800
|
-
return {
|
|
801
|
-
content: 'Content',
|
|
802
|
-
};
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
static types(): { [key: string]: any } {
|
|
806
|
-
return {
|
|
807
|
-
content: 'string',
|
|
808
|
-
};
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
constructor(map?: { [key: string]: any }) {
|
|
812
|
-
super(map);
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
export class DecryptContentResponseBody extends $tea.Model {
|
|
817
|
-
code?: number;
|
|
818
|
-
content?: string;
|
|
819
|
-
message?: string;
|
|
820
|
-
requestId?: string;
|
|
821
|
-
success?: boolean;
|
|
822
|
-
static names(): { [key: string]: string } {
|
|
823
|
-
return {
|
|
824
|
-
code: 'Code',
|
|
825
|
-
content: 'Content',
|
|
826
|
-
message: 'Message',
|
|
827
|
-
requestId: 'RequestId',
|
|
828
|
-
success: 'Success',
|
|
829
|
-
};
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
static types(): { [key: string]: any } {
|
|
833
|
-
return {
|
|
834
|
-
code: 'number',
|
|
835
|
-
content: 'string',
|
|
836
|
-
message: 'string',
|
|
837
|
-
requestId: 'string',
|
|
838
|
-
success: 'boolean',
|
|
839
|
-
};
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
constructor(map?: { [key: string]: any }) {
|
|
843
|
-
super(map);
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
export class DecryptContentResponse extends $tea.Model {
|
|
848
|
-
headers: { [key: string]: string };
|
|
849
|
-
statusCode: number;
|
|
850
|
-
body: DecryptContentResponseBody;
|
|
851
|
-
static names(): { [key: string]: string } {
|
|
852
|
-
return {
|
|
853
|
-
headers: 'headers',
|
|
854
|
-
statusCode: 'statusCode',
|
|
855
|
-
body: 'body',
|
|
856
|
-
};
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
static types(): { [key: string]: any } {
|
|
860
|
-
return {
|
|
861
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
862
|
-
statusCode: 'number',
|
|
863
|
-
body: DecryptContentResponseBody,
|
|
864
|
-
};
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
constructor(map?: { [key: string]: any }) {
|
|
868
|
-
super(map);
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
|
|
872
797
|
export class DetailProjectRequest extends $tea.Model {
|
|
873
798
|
id?: string;
|
|
874
799
|
static names(): { [key: string]: string } {
|
|
@@ -985,6 +910,7 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
985
910
|
captures?: DetailSceneResponseBodyCaptures[];
|
|
986
911
|
code?: number;
|
|
987
912
|
coverUrl?: string;
|
|
913
|
+
floorPlans?: DetailSceneResponseBodyFloorPlans[];
|
|
988
914
|
gmtCreate?: number;
|
|
989
915
|
gmtModified?: number;
|
|
990
916
|
id?: string;
|
|
@@ -1004,6 +930,7 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
1004
930
|
captures: 'Captures',
|
|
1005
931
|
code: 'Code',
|
|
1006
932
|
coverUrl: 'CoverUrl',
|
|
933
|
+
floorPlans: 'FloorPlans',
|
|
1007
934
|
gmtCreate: 'GmtCreate',
|
|
1008
935
|
gmtModified: 'GmtModified',
|
|
1009
936
|
id: 'Id',
|
|
@@ -1026,6 +953,7 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
1026
953
|
captures: { 'type': 'array', 'itemType': DetailSceneResponseBodyCaptures },
|
|
1027
954
|
code: 'number',
|
|
1028
955
|
coverUrl: 'string',
|
|
956
|
+
floorPlans: { 'type': 'array', 'itemType': DetailSceneResponseBodyFloorPlans },
|
|
1029
957
|
gmtCreate: 'number',
|
|
1030
958
|
gmtModified: 'number',
|
|
1031
959
|
id: 'string',
|
|
@@ -1403,81 +1331,6 @@ export class DropSubSceneResponse extends $tea.Model {
|
|
|
1403
1331
|
}
|
|
1404
1332
|
}
|
|
1405
1333
|
|
|
1406
|
-
export class EncryptContentRequest extends $tea.Model {
|
|
1407
|
-
content?: string;
|
|
1408
|
-
static names(): { [key: string]: string } {
|
|
1409
|
-
return {
|
|
1410
|
-
content: 'Content',
|
|
1411
|
-
};
|
|
1412
|
-
}
|
|
1413
|
-
|
|
1414
|
-
static types(): { [key: string]: any } {
|
|
1415
|
-
return {
|
|
1416
|
-
content: 'string',
|
|
1417
|
-
};
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
constructor(map?: { [key: string]: any }) {
|
|
1421
|
-
super(map);
|
|
1422
|
-
}
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
export class EncryptContentResponseBody extends $tea.Model {
|
|
1426
|
-
code?: number;
|
|
1427
|
-
content?: string;
|
|
1428
|
-
message?: string;
|
|
1429
|
-
requestId?: string;
|
|
1430
|
-
success?: boolean;
|
|
1431
|
-
static names(): { [key: string]: string } {
|
|
1432
|
-
return {
|
|
1433
|
-
code: 'Code',
|
|
1434
|
-
content: 'Content',
|
|
1435
|
-
message: 'Message',
|
|
1436
|
-
requestId: 'RequestId',
|
|
1437
|
-
success: 'Success',
|
|
1438
|
-
};
|
|
1439
|
-
}
|
|
1440
|
-
|
|
1441
|
-
static types(): { [key: string]: any } {
|
|
1442
|
-
return {
|
|
1443
|
-
code: 'number',
|
|
1444
|
-
content: 'string',
|
|
1445
|
-
message: 'string',
|
|
1446
|
-
requestId: 'string',
|
|
1447
|
-
success: 'boolean',
|
|
1448
|
-
};
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
|
-
constructor(map?: { [key: string]: any }) {
|
|
1452
|
-
super(map);
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
export class EncryptContentResponse extends $tea.Model {
|
|
1457
|
-
headers: { [key: string]: string };
|
|
1458
|
-
statusCode: number;
|
|
1459
|
-
body: EncryptContentResponseBody;
|
|
1460
|
-
static names(): { [key: string]: string } {
|
|
1461
|
-
return {
|
|
1462
|
-
headers: 'headers',
|
|
1463
|
-
statusCode: 'statusCode',
|
|
1464
|
-
body: 'body',
|
|
1465
|
-
};
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
static types(): { [key: string]: any } {
|
|
1469
|
-
return {
|
|
1470
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1471
|
-
statusCode: 'number',
|
|
1472
|
-
body: EncryptContentResponseBody,
|
|
1473
|
-
};
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
constructor(map?: { [key: string]: any }) {
|
|
1477
|
-
super(map);
|
|
1478
|
-
}
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
1334
|
export class GetConnDataRequest extends $tea.Model {
|
|
1482
1335
|
sceneId?: string;
|
|
1483
1336
|
static names(): { [key: string]: string } {
|
|
@@ -4760,6 +4613,81 @@ export class SaveHotspotTagListResponse extends $tea.Model {
|
|
|
4760
4613
|
}
|
|
4761
4614
|
}
|
|
4762
4615
|
|
|
4616
|
+
export class SaveMinimapRequest extends $tea.Model {
|
|
4617
|
+
data?: string;
|
|
4618
|
+
sceneId?: string;
|
|
4619
|
+
static names(): { [key: string]: string } {
|
|
4620
|
+
return {
|
|
4621
|
+
data: 'Data',
|
|
4622
|
+
sceneId: 'SceneId',
|
|
4623
|
+
};
|
|
4624
|
+
}
|
|
4625
|
+
|
|
4626
|
+
static types(): { [key: string]: any } {
|
|
4627
|
+
return {
|
|
4628
|
+
data: 'string',
|
|
4629
|
+
sceneId: 'string',
|
|
4630
|
+
};
|
|
4631
|
+
}
|
|
4632
|
+
|
|
4633
|
+
constructor(map?: { [key: string]: any }) {
|
|
4634
|
+
super(map);
|
|
4635
|
+
}
|
|
4636
|
+
}
|
|
4637
|
+
|
|
4638
|
+
export class SaveMinimapResponseBody extends $tea.Model {
|
|
4639
|
+
code?: number;
|
|
4640
|
+
message?: string;
|
|
4641
|
+
requestId?: string;
|
|
4642
|
+
success?: boolean;
|
|
4643
|
+
static names(): { [key: string]: string } {
|
|
4644
|
+
return {
|
|
4645
|
+
code: 'Code',
|
|
4646
|
+
message: 'Message',
|
|
4647
|
+
requestId: 'RequestId',
|
|
4648
|
+
success: 'Success',
|
|
4649
|
+
};
|
|
4650
|
+
}
|
|
4651
|
+
|
|
4652
|
+
static types(): { [key: string]: any } {
|
|
4653
|
+
return {
|
|
4654
|
+
code: 'number',
|
|
4655
|
+
message: 'string',
|
|
4656
|
+
requestId: 'string',
|
|
4657
|
+
success: 'boolean',
|
|
4658
|
+
};
|
|
4659
|
+
}
|
|
4660
|
+
|
|
4661
|
+
constructor(map?: { [key: string]: any }) {
|
|
4662
|
+
super(map);
|
|
4663
|
+
}
|
|
4664
|
+
}
|
|
4665
|
+
|
|
4666
|
+
export class SaveMinimapResponse extends $tea.Model {
|
|
4667
|
+
headers: { [key: string]: string };
|
|
4668
|
+
statusCode: number;
|
|
4669
|
+
body: SaveMinimapResponseBody;
|
|
4670
|
+
static names(): { [key: string]: string } {
|
|
4671
|
+
return {
|
|
4672
|
+
headers: 'headers',
|
|
4673
|
+
statusCode: 'statusCode',
|
|
4674
|
+
body: 'body',
|
|
4675
|
+
};
|
|
4676
|
+
}
|
|
4677
|
+
|
|
4678
|
+
static types(): { [key: string]: any } {
|
|
4679
|
+
return {
|
|
4680
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4681
|
+
statusCode: 'number',
|
|
4682
|
+
body: SaveMinimapResponseBody,
|
|
4683
|
+
};
|
|
4684
|
+
}
|
|
4685
|
+
|
|
4686
|
+
constructor(map?: { [key: string]: any }) {
|
|
4687
|
+
super(map);
|
|
4688
|
+
}
|
|
4689
|
+
}
|
|
4690
|
+
|
|
4763
4691
|
export class SaveModelConfigRequest extends $tea.Model {
|
|
4764
4692
|
data?: string;
|
|
4765
4693
|
sceneId?: string;
|
|
@@ -5681,6 +5609,34 @@ export class DetailSceneResponseBodyCaptures extends $tea.Model {
|
|
|
5681
5609
|
}
|
|
5682
5610
|
}
|
|
5683
5611
|
|
|
5612
|
+
export class DetailSceneResponseBodyFloorPlans extends $tea.Model {
|
|
5613
|
+
colorMapUrl?: string;
|
|
5614
|
+
floorLabel?: string;
|
|
5615
|
+
floorName?: string;
|
|
5616
|
+
miniMapUrl?: string;
|
|
5617
|
+
static names(): { [key: string]: string } {
|
|
5618
|
+
return {
|
|
5619
|
+
colorMapUrl: 'ColorMapUrl',
|
|
5620
|
+
floorLabel: 'FloorLabel',
|
|
5621
|
+
floorName: 'FloorName',
|
|
5622
|
+
miniMapUrl: 'MiniMapUrl',
|
|
5623
|
+
};
|
|
5624
|
+
}
|
|
5625
|
+
|
|
5626
|
+
static types(): { [key: string]: any } {
|
|
5627
|
+
return {
|
|
5628
|
+
colorMapUrl: 'string',
|
|
5629
|
+
floorLabel: 'string',
|
|
5630
|
+
floorName: 'string',
|
|
5631
|
+
miniMapUrl: 'string',
|
|
5632
|
+
};
|
|
5633
|
+
}
|
|
5634
|
+
|
|
5635
|
+
constructor(map?: { [key: string]: any }) {
|
|
5636
|
+
super(map);
|
|
5637
|
+
}
|
|
5638
|
+
}
|
|
5639
|
+
|
|
5684
5640
|
export class GetConnDataResponseBodyList extends $tea.Model {
|
|
5685
5641
|
id?: string;
|
|
5686
5642
|
mapId?: string;
|
|
@@ -6774,35 +6730,6 @@ export default class Client extends OpenApi {
|
|
|
6774
6730
|
return await this.createUploadPolicyWithOptions(request, runtime);
|
|
6775
6731
|
}
|
|
6776
6732
|
|
|
6777
|
-
async decryptContentWithOptions(request: DecryptContentRequest, runtime: $Util.RuntimeOptions): Promise<DecryptContentResponse> {
|
|
6778
|
-
Util.validateModel(request);
|
|
6779
|
-
let query = { };
|
|
6780
|
-
if (!Util.isUnset(request.content)) {
|
|
6781
|
-
query["Content"] = request.content;
|
|
6782
|
-
}
|
|
6783
|
-
|
|
6784
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
6785
|
-
query: OpenApiUtil.query(query),
|
|
6786
|
-
});
|
|
6787
|
-
let params = new $OpenApi.Params({
|
|
6788
|
-
action: "DecryptContent",
|
|
6789
|
-
version: "2020-01-01",
|
|
6790
|
-
protocol: "HTTPS",
|
|
6791
|
-
pathname: "/",
|
|
6792
|
-
method: "POST",
|
|
6793
|
-
authType: "AK",
|
|
6794
|
-
style: "RPC",
|
|
6795
|
-
reqBodyType: "formData",
|
|
6796
|
-
bodyType: "json",
|
|
6797
|
-
});
|
|
6798
|
-
return $tea.cast<DecryptContentResponse>(await this.callApi(params, req, runtime), new DecryptContentResponse({}));
|
|
6799
|
-
}
|
|
6800
|
-
|
|
6801
|
-
async decryptContent(request: DecryptContentRequest): Promise<DecryptContentResponse> {
|
|
6802
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
6803
|
-
return await this.decryptContentWithOptions(request, runtime);
|
|
6804
|
-
}
|
|
6805
|
-
|
|
6806
6733
|
async detailProjectWithOptions(request: DetailProjectRequest, runtime: $Util.RuntimeOptions): Promise<DetailProjectResponse> {
|
|
6807
6734
|
Util.validateModel(request);
|
|
6808
6735
|
let query = { };
|
|
@@ -6977,35 +6904,6 @@ export default class Client extends OpenApi {
|
|
|
6977
6904
|
return await this.dropSubSceneWithOptions(request, runtime);
|
|
6978
6905
|
}
|
|
6979
6906
|
|
|
6980
|
-
async encryptContentWithOptions(request: EncryptContentRequest, runtime: $Util.RuntimeOptions): Promise<EncryptContentResponse> {
|
|
6981
|
-
Util.validateModel(request);
|
|
6982
|
-
let query = { };
|
|
6983
|
-
if (!Util.isUnset(request.content)) {
|
|
6984
|
-
query["Content"] = request.content;
|
|
6985
|
-
}
|
|
6986
|
-
|
|
6987
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
6988
|
-
query: OpenApiUtil.query(query),
|
|
6989
|
-
});
|
|
6990
|
-
let params = new $OpenApi.Params({
|
|
6991
|
-
action: "EncryptContent",
|
|
6992
|
-
version: "2020-01-01",
|
|
6993
|
-
protocol: "HTTPS",
|
|
6994
|
-
pathname: "/",
|
|
6995
|
-
method: "POST",
|
|
6996
|
-
authType: "AK",
|
|
6997
|
-
style: "RPC",
|
|
6998
|
-
reqBodyType: "formData",
|
|
6999
|
-
bodyType: "json",
|
|
7000
|
-
});
|
|
7001
|
-
return $tea.cast<EncryptContentResponse>(await this.callApi(params, req, runtime), new EncryptContentResponse({}));
|
|
7002
|
-
}
|
|
7003
|
-
|
|
7004
|
-
async encryptContent(request: EncryptContentRequest): Promise<EncryptContentResponse> {
|
|
7005
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
7006
|
-
return await this.encryptContentWithOptions(request, runtime);
|
|
7007
|
-
}
|
|
7008
|
-
|
|
7009
6907
|
async getConnDataWithOptions(request: GetConnDataRequest, runtime: $Util.RuntimeOptions): Promise<GetConnDataResponse> {
|
|
7010
6908
|
Util.validateModel(request);
|
|
7011
6909
|
let query = { };
|
|
@@ -8383,6 +8281,39 @@ export default class Client extends OpenApi {
|
|
|
8383
8281
|
return await this.saveHotspotTagListWithOptions(request, runtime);
|
|
8384
8282
|
}
|
|
8385
8283
|
|
|
8284
|
+
async saveMinimapWithOptions(request: SaveMinimapRequest, runtime: $Util.RuntimeOptions): Promise<SaveMinimapResponse> {
|
|
8285
|
+
Util.validateModel(request);
|
|
8286
|
+
let query = { };
|
|
8287
|
+
if (!Util.isUnset(request.data)) {
|
|
8288
|
+
query["Data"] = request.data;
|
|
8289
|
+
}
|
|
8290
|
+
|
|
8291
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
8292
|
+
query["SceneId"] = request.sceneId;
|
|
8293
|
+
}
|
|
8294
|
+
|
|
8295
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8296
|
+
query: OpenApiUtil.query(query),
|
|
8297
|
+
});
|
|
8298
|
+
let params = new $OpenApi.Params({
|
|
8299
|
+
action: "SaveMinimap",
|
|
8300
|
+
version: "2020-01-01",
|
|
8301
|
+
protocol: "HTTPS",
|
|
8302
|
+
pathname: "/",
|
|
8303
|
+
method: "POST",
|
|
8304
|
+
authType: "AK",
|
|
8305
|
+
style: "RPC",
|
|
8306
|
+
reqBodyType: "formData",
|
|
8307
|
+
bodyType: "json",
|
|
8308
|
+
});
|
|
8309
|
+
return $tea.cast<SaveMinimapResponse>(await this.callApi(params, req, runtime), new SaveMinimapResponse({}));
|
|
8310
|
+
}
|
|
8311
|
+
|
|
8312
|
+
async saveMinimap(request: SaveMinimapRequest): Promise<SaveMinimapResponse> {
|
|
8313
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8314
|
+
return await this.saveMinimapWithOptions(request, runtime);
|
|
8315
|
+
}
|
|
8316
|
+
|
|
8386
8317
|
async saveModelConfigWithOptions(request: SaveModelConfigRequest, runtime: $Util.RuntimeOptions): Promise<SaveModelConfigResponse> {
|
|
8387
8318
|
Util.validateModel(request);
|
|
8388
8319
|
let query = { };
|