@alicloud/tdsr20200101 3.1.3 → 3.1.4
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 +224 -0
- package/dist/client.js +423 -0
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +522 -0
package/src/client.ts
CHANGED
|
@@ -555,10 +555,12 @@ export class CheckUserPropertyResponse extends $tea.Model {
|
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
export class CopySceneRequest extends $tea.Model {
|
|
558
|
+
projectId?: string;
|
|
558
559
|
sceneId?: string;
|
|
559
560
|
sceneName?: string;
|
|
560
561
|
static names(): { [key: string]: string } {
|
|
561
562
|
return {
|
|
563
|
+
projectId: 'ProjectId',
|
|
562
564
|
sceneId: 'SceneId',
|
|
563
565
|
sceneName: 'SceneName',
|
|
564
566
|
};
|
|
@@ -566,6 +568,7 @@ export class CopySceneRequest extends $tea.Model {
|
|
|
566
568
|
|
|
567
569
|
static types(): { [key: string]: any } {
|
|
568
570
|
return {
|
|
571
|
+
projectId: 'string',
|
|
569
572
|
sceneId: 'string',
|
|
570
573
|
sceneName: 'string',
|
|
571
574
|
};
|
|
@@ -632,6 +635,84 @@ export class CopySceneResponse extends $tea.Model {
|
|
|
632
635
|
}
|
|
633
636
|
}
|
|
634
637
|
|
|
638
|
+
export class CreateUploadPolicyRequest extends $tea.Model {
|
|
639
|
+
option?: string;
|
|
640
|
+
type?: string;
|
|
641
|
+
static names(): { [key: string]: string } {
|
|
642
|
+
return {
|
|
643
|
+
option: 'Option',
|
|
644
|
+
type: 'Type',
|
|
645
|
+
};
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
static types(): { [key: string]: any } {
|
|
649
|
+
return {
|
|
650
|
+
option: 'string',
|
|
651
|
+
type: 'string',
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
constructor(map?: { [key: string]: any }) {
|
|
656
|
+
super(map);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export class CreateUploadPolicyResponseBody extends $tea.Model {
|
|
661
|
+
code?: number;
|
|
662
|
+
data?: CreateUploadPolicyResponseBodyData;
|
|
663
|
+
message?: string;
|
|
664
|
+
requestId?: string;
|
|
665
|
+
success?: boolean;
|
|
666
|
+
static names(): { [key: string]: string } {
|
|
667
|
+
return {
|
|
668
|
+
code: 'Code',
|
|
669
|
+
data: 'Data',
|
|
670
|
+
message: 'Message',
|
|
671
|
+
requestId: 'RequestId',
|
|
672
|
+
success: 'Success',
|
|
673
|
+
};
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
static types(): { [key: string]: any } {
|
|
677
|
+
return {
|
|
678
|
+
code: 'number',
|
|
679
|
+
data: CreateUploadPolicyResponseBodyData,
|
|
680
|
+
message: 'string',
|
|
681
|
+
requestId: 'string',
|
|
682
|
+
success: 'boolean',
|
|
683
|
+
};
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
constructor(map?: { [key: string]: any }) {
|
|
687
|
+
super(map);
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export class CreateUploadPolicyResponse extends $tea.Model {
|
|
692
|
+
headers: { [key: string]: string };
|
|
693
|
+
statusCode: number;
|
|
694
|
+
body: CreateUploadPolicyResponseBody;
|
|
695
|
+
static names(): { [key: string]: string } {
|
|
696
|
+
return {
|
|
697
|
+
headers: 'headers',
|
|
698
|
+
statusCode: 'statusCode',
|
|
699
|
+
body: 'body',
|
|
700
|
+
};
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
static types(): { [key: string]: any } {
|
|
704
|
+
return {
|
|
705
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
706
|
+
statusCode: 'number',
|
|
707
|
+
body: CreateUploadPolicyResponseBody,
|
|
708
|
+
};
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
constructor(map?: { [key: string]: any }) {
|
|
712
|
+
super(map);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
635
716
|
export class DetailProjectRequest extends $tea.Model {
|
|
636
717
|
id?: string;
|
|
637
718
|
static names(): { [key: string]: string } {
|
|
@@ -745,6 +826,7 @@ export class DetailSceneRequest extends $tea.Model {
|
|
|
745
826
|
}
|
|
746
827
|
|
|
747
828
|
export class DetailSceneResponseBody extends $tea.Model {
|
|
829
|
+
captures?: DetailSceneResponseBodyCaptures[];
|
|
748
830
|
code?: number;
|
|
749
831
|
coverUrl?: string;
|
|
750
832
|
gmtCreate?: number;
|
|
@@ -756,11 +838,14 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
756
838
|
published?: boolean;
|
|
757
839
|
requestId?: string;
|
|
758
840
|
sourceNum?: number;
|
|
841
|
+
status?: string;
|
|
842
|
+
statusName?: string;
|
|
759
843
|
subSceneNum?: number;
|
|
760
844
|
success?: boolean;
|
|
761
845
|
type?: string;
|
|
762
846
|
static names(): { [key: string]: string } {
|
|
763
847
|
return {
|
|
848
|
+
captures: 'Captures',
|
|
764
849
|
code: 'Code',
|
|
765
850
|
coverUrl: 'CoverUrl',
|
|
766
851
|
gmtCreate: 'GmtCreate',
|
|
@@ -772,6 +857,8 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
772
857
|
published: 'Published',
|
|
773
858
|
requestId: 'RequestId',
|
|
774
859
|
sourceNum: 'SourceNum',
|
|
860
|
+
status: 'Status',
|
|
861
|
+
statusName: 'StatusName',
|
|
775
862
|
subSceneNum: 'SubSceneNum',
|
|
776
863
|
success: 'Success',
|
|
777
864
|
type: 'Type',
|
|
@@ -780,6 +867,7 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
780
867
|
|
|
781
868
|
static types(): { [key: string]: any } {
|
|
782
869
|
return {
|
|
870
|
+
captures: { 'type': 'array', 'itemType': DetailSceneResponseBodyCaptures },
|
|
783
871
|
code: 'number',
|
|
784
872
|
coverUrl: 'string',
|
|
785
873
|
gmtCreate: 'number',
|
|
@@ -791,6 +879,8 @@ export class DetailSceneResponseBody extends $tea.Model {
|
|
|
791
879
|
published: 'boolean',
|
|
792
880
|
requestId: 'string',
|
|
793
881
|
sourceNum: 'number',
|
|
882
|
+
status: 'string',
|
|
883
|
+
statusName: 'string',
|
|
794
884
|
subSceneNum: 'number',
|
|
795
885
|
success: 'boolean',
|
|
796
886
|
type: 'string',
|
|
@@ -858,6 +948,7 @@ export class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
858
948
|
message?: string;
|
|
859
949
|
name?: string;
|
|
860
950
|
originUrl?: string;
|
|
951
|
+
position?: string;
|
|
861
952
|
requestId?: string;
|
|
862
953
|
resourceId?: string;
|
|
863
954
|
status?: number;
|
|
@@ -877,6 +968,7 @@ export class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
877
968
|
message: 'Message',
|
|
878
969
|
name: 'Name',
|
|
879
970
|
originUrl: 'OriginUrl',
|
|
971
|
+
position: 'Position',
|
|
880
972
|
requestId: 'RequestId',
|
|
881
973
|
resourceId: 'ResourceId',
|
|
882
974
|
status: 'Status',
|
|
@@ -899,6 +991,7 @@ export class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
899
991
|
message: 'string',
|
|
900
992
|
name: 'string',
|
|
901
993
|
originUrl: 'string',
|
|
994
|
+
position: 'string',
|
|
902
995
|
requestId: 'string',
|
|
903
996
|
resourceId: 'string',
|
|
904
997
|
status: 'number',
|
|
@@ -2286,15 +2379,18 @@ export class GetScenePreviewInfoResponse extends $tea.Model {
|
|
|
2286
2379
|
}
|
|
2287
2380
|
|
|
2288
2381
|
export class GetScenePreviewResourceRequest extends $tea.Model {
|
|
2382
|
+
draft?: boolean;
|
|
2289
2383
|
previewToken?: string;
|
|
2290
2384
|
static names(): { [key: string]: string } {
|
|
2291
2385
|
return {
|
|
2386
|
+
draft: 'Draft',
|
|
2292
2387
|
previewToken: 'PreviewToken',
|
|
2293
2388
|
};
|
|
2294
2389
|
}
|
|
2295
2390
|
|
|
2296
2391
|
static types(): { [key: string]: any } {
|
|
2297
2392
|
return {
|
|
2393
|
+
draft: 'boolean',
|
|
2298
2394
|
previewToken: 'string',
|
|
2299
2395
|
};
|
|
2300
2396
|
}
|
|
@@ -3680,6 +3776,78 @@ export class PublishHotspotResponse extends $tea.Model {
|
|
|
3680
3776
|
}
|
|
3681
3777
|
}
|
|
3682
3778
|
|
|
3779
|
+
export class PublishHotspotConfigRequest extends $tea.Model {
|
|
3780
|
+
sceneId?: string;
|
|
3781
|
+
static names(): { [key: string]: string } {
|
|
3782
|
+
return {
|
|
3783
|
+
sceneId: 'SceneId',
|
|
3784
|
+
};
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3787
|
+
static types(): { [key: string]: any } {
|
|
3788
|
+
return {
|
|
3789
|
+
sceneId: 'string',
|
|
3790
|
+
};
|
|
3791
|
+
}
|
|
3792
|
+
|
|
3793
|
+
constructor(map?: { [key: string]: any }) {
|
|
3794
|
+
super(map);
|
|
3795
|
+
}
|
|
3796
|
+
}
|
|
3797
|
+
|
|
3798
|
+
export class PublishHotspotConfigResponseBody extends $tea.Model {
|
|
3799
|
+
code?: number;
|
|
3800
|
+
message?: string;
|
|
3801
|
+
requestId?: string;
|
|
3802
|
+
success?: boolean;
|
|
3803
|
+
static names(): { [key: string]: string } {
|
|
3804
|
+
return {
|
|
3805
|
+
code: 'Code',
|
|
3806
|
+
message: 'Message',
|
|
3807
|
+
requestId: 'RequestId',
|
|
3808
|
+
success: 'Success',
|
|
3809
|
+
};
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3812
|
+
static types(): { [key: string]: any } {
|
|
3813
|
+
return {
|
|
3814
|
+
code: 'number',
|
|
3815
|
+
message: 'string',
|
|
3816
|
+
requestId: 'string',
|
|
3817
|
+
success: 'boolean',
|
|
3818
|
+
};
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
constructor(map?: { [key: string]: any }) {
|
|
3822
|
+
super(map);
|
|
3823
|
+
}
|
|
3824
|
+
}
|
|
3825
|
+
|
|
3826
|
+
export class PublishHotspotConfigResponse extends $tea.Model {
|
|
3827
|
+
headers: { [key: string]: string };
|
|
3828
|
+
statusCode: number;
|
|
3829
|
+
body: PublishHotspotConfigResponseBody;
|
|
3830
|
+
static names(): { [key: string]: string } {
|
|
3831
|
+
return {
|
|
3832
|
+
headers: 'headers',
|
|
3833
|
+
statusCode: 'statusCode',
|
|
3834
|
+
body: 'body',
|
|
3835
|
+
};
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
static types(): { [key: string]: any } {
|
|
3839
|
+
return {
|
|
3840
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3841
|
+
statusCode: 'number',
|
|
3842
|
+
body: PublishHotspotConfigResponseBody,
|
|
3843
|
+
};
|
|
3844
|
+
}
|
|
3845
|
+
|
|
3846
|
+
constructor(map?: { [key: string]: any }) {
|
|
3847
|
+
super(map);
|
|
3848
|
+
}
|
|
3849
|
+
}
|
|
3850
|
+
|
|
3683
3851
|
export class PublishSceneRequest extends $tea.Model {
|
|
3684
3852
|
sceneId?: string;
|
|
3685
3853
|
static names(): { [key: string]: string } {
|
|
@@ -4286,6 +4454,156 @@ export class SaveHotspotTagResponse extends $tea.Model {
|
|
|
4286
4454
|
}
|
|
4287
4455
|
}
|
|
4288
4456
|
|
|
4457
|
+
export class SaveHotspotTagListRequest extends $tea.Model {
|
|
4458
|
+
hotspotListJson?: string;
|
|
4459
|
+
sceneId?: string;
|
|
4460
|
+
static names(): { [key: string]: string } {
|
|
4461
|
+
return {
|
|
4462
|
+
hotspotListJson: 'HotspotListJson',
|
|
4463
|
+
sceneId: 'SceneId',
|
|
4464
|
+
};
|
|
4465
|
+
}
|
|
4466
|
+
|
|
4467
|
+
static types(): { [key: string]: any } {
|
|
4468
|
+
return {
|
|
4469
|
+
hotspotListJson: 'string',
|
|
4470
|
+
sceneId: 'string',
|
|
4471
|
+
};
|
|
4472
|
+
}
|
|
4473
|
+
|
|
4474
|
+
constructor(map?: { [key: string]: any }) {
|
|
4475
|
+
super(map);
|
|
4476
|
+
}
|
|
4477
|
+
}
|
|
4478
|
+
|
|
4479
|
+
export class SaveHotspotTagListResponseBody extends $tea.Model {
|
|
4480
|
+
code?: number;
|
|
4481
|
+
message?: string;
|
|
4482
|
+
requestId?: string;
|
|
4483
|
+
success?: boolean;
|
|
4484
|
+
static names(): { [key: string]: string } {
|
|
4485
|
+
return {
|
|
4486
|
+
code: 'Code',
|
|
4487
|
+
message: 'Message',
|
|
4488
|
+
requestId: 'RequestId',
|
|
4489
|
+
success: 'Success',
|
|
4490
|
+
};
|
|
4491
|
+
}
|
|
4492
|
+
|
|
4493
|
+
static types(): { [key: string]: any } {
|
|
4494
|
+
return {
|
|
4495
|
+
code: 'number',
|
|
4496
|
+
message: 'string',
|
|
4497
|
+
requestId: 'string',
|
|
4498
|
+
success: 'boolean',
|
|
4499
|
+
};
|
|
4500
|
+
}
|
|
4501
|
+
|
|
4502
|
+
constructor(map?: { [key: string]: any }) {
|
|
4503
|
+
super(map);
|
|
4504
|
+
}
|
|
4505
|
+
}
|
|
4506
|
+
|
|
4507
|
+
export class SaveHotspotTagListResponse extends $tea.Model {
|
|
4508
|
+
headers: { [key: string]: string };
|
|
4509
|
+
statusCode: number;
|
|
4510
|
+
body: SaveHotspotTagListResponseBody;
|
|
4511
|
+
static names(): { [key: string]: string } {
|
|
4512
|
+
return {
|
|
4513
|
+
headers: 'headers',
|
|
4514
|
+
statusCode: 'statusCode',
|
|
4515
|
+
body: 'body',
|
|
4516
|
+
};
|
|
4517
|
+
}
|
|
4518
|
+
|
|
4519
|
+
static types(): { [key: string]: any } {
|
|
4520
|
+
return {
|
|
4521
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4522
|
+
statusCode: 'number',
|
|
4523
|
+
body: SaveHotspotTagListResponseBody,
|
|
4524
|
+
};
|
|
4525
|
+
}
|
|
4526
|
+
|
|
4527
|
+
constructor(map?: { [key: string]: any }) {
|
|
4528
|
+
super(map);
|
|
4529
|
+
}
|
|
4530
|
+
}
|
|
4531
|
+
|
|
4532
|
+
export class SaveModelConfigRequest extends $tea.Model {
|
|
4533
|
+
data?: string;
|
|
4534
|
+
sceneId?: string;
|
|
4535
|
+
static names(): { [key: string]: string } {
|
|
4536
|
+
return {
|
|
4537
|
+
data: 'Data',
|
|
4538
|
+
sceneId: 'SceneId',
|
|
4539
|
+
};
|
|
4540
|
+
}
|
|
4541
|
+
|
|
4542
|
+
static types(): { [key: string]: any } {
|
|
4543
|
+
return {
|
|
4544
|
+
data: 'string',
|
|
4545
|
+
sceneId: 'string',
|
|
4546
|
+
};
|
|
4547
|
+
}
|
|
4548
|
+
|
|
4549
|
+
constructor(map?: { [key: string]: any }) {
|
|
4550
|
+
super(map);
|
|
4551
|
+
}
|
|
4552
|
+
}
|
|
4553
|
+
|
|
4554
|
+
export class SaveModelConfigResponseBody extends $tea.Model {
|
|
4555
|
+
code?: number;
|
|
4556
|
+
message?: string;
|
|
4557
|
+
requestId?: string;
|
|
4558
|
+
success?: boolean;
|
|
4559
|
+
static names(): { [key: string]: string } {
|
|
4560
|
+
return {
|
|
4561
|
+
code: 'Code',
|
|
4562
|
+
message: 'Message',
|
|
4563
|
+
requestId: 'RequestId',
|
|
4564
|
+
success: 'Success',
|
|
4565
|
+
};
|
|
4566
|
+
}
|
|
4567
|
+
|
|
4568
|
+
static types(): { [key: string]: any } {
|
|
4569
|
+
return {
|
|
4570
|
+
code: 'number',
|
|
4571
|
+
message: 'string',
|
|
4572
|
+
requestId: 'string',
|
|
4573
|
+
success: 'boolean',
|
|
4574
|
+
};
|
|
4575
|
+
}
|
|
4576
|
+
|
|
4577
|
+
constructor(map?: { [key: string]: any }) {
|
|
4578
|
+
super(map);
|
|
4579
|
+
}
|
|
4580
|
+
}
|
|
4581
|
+
|
|
4582
|
+
export class SaveModelConfigResponse extends $tea.Model {
|
|
4583
|
+
headers: { [key: string]: string };
|
|
4584
|
+
statusCode: number;
|
|
4585
|
+
body: SaveModelConfigResponseBody;
|
|
4586
|
+
static names(): { [key: string]: string } {
|
|
4587
|
+
return {
|
|
4588
|
+
headers: 'headers',
|
|
4589
|
+
statusCode: 'statusCode',
|
|
4590
|
+
body: 'body',
|
|
4591
|
+
};
|
|
4592
|
+
}
|
|
4593
|
+
|
|
4594
|
+
static types(): { [key: string]: any } {
|
|
4595
|
+
return {
|
|
4596
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4597
|
+
statusCode: 'number',
|
|
4598
|
+
body: SaveModelConfigResponseBody,
|
|
4599
|
+
};
|
|
4600
|
+
}
|
|
4601
|
+
|
|
4602
|
+
constructor(map?: { [key: string]: any }) {
|
|
4603
|
+
super(map);
|
|
4604
|
+
}
|
|
4605
|
+
}
|
|
4606
|
+
|
|
4289
4607
|
export class ScenePublishRequest extends $tea.Model {
|
|
4290
4608
|
sceneId?: string;
|
|
4291
4609
|
static names(): { [key: string]: string } {
|
|
@@ -5073,6 +5391,65 @@ export class CopySceneResponseBodyData extends $tea.Model {
|
|
|
5073
5391
|
}
|
|
5074
5392
|
}
|
|
5075
5393
|
|
|
5394
|
+
export class CreateUploadPolicyResponseBodyData extends $tea.Model {
|
|
5395
|
+
accessId?: string;
|
|
5396
|
+
callback?: string;
|
|
5397
|
+
dir?: string;
|
|
5398
|
+
expire?: string;
|
|
5399
|
+
host?: string;
|
|
5400
|
+
policy?: string;
|
|
5401
|
+
signature?: string;
|
|
5402
|
+
static names(): { [key: string]: string } {
|
|
5403
|
+
return {
|
|
5404
|
+
accessId: 'AccessId',
|
|
5405
|
+
callback: 'Callback',
|
|
5406
|
+
dir: 'Dir',
|
|
5407
|
+
expire: 'Expire',
|
|
5408
|
+
host: 'Host',
|
|
5409
|
+
policy: 'Policy',
|
|
5410
|
+
signature: 'Signature',
|
|
5411
|
+
};
|
|
5412
|
+
}
|
|
5413
|
+
|
|
5414
|
+
static types(): { [key: string]: any } {
|
|
5415
|
+
return {
|
|
5416
|
+
accessId: 'string',
|
|
5417
|
+
callback: 'string',
|
|
5418
|
+
dir: 'string',
|
|
5419
|
+
expire: 'string',
|
|
5420
|
+
host: 'string',
|
|
5421
|
+
policy: 'string',
|
|
5422
|
+
signature: 'string',
|
|
5423
|
+
};
|
|
5424
|
+
}
|
|
5425
|
+
|
|
5426
|
+
constructor(map?: { [key: string]: any }) {
|
|
5427
|
+
super(map);
|
|
5428
|
+
}
|
|
5429
|
+
}
|
|
5430
|
+
|
|
5431
|
+
export class DetailSceneResponseBodyCaptures extends $tea.Model {
|
|
5432
|
+
title?: string;
|
|
5433
|
+
url?: string;
|
|
5434
|
+
static names(): { [key: string]: string } {
|
|
5435
|
+
return {
|
|
5436
|
+
title: 'Title',
|
|
5437
|
+
url: 'Url',
|
|
5438
|
+
};
|
|
5439
|
+
}
|
|
5440
|
+
|
|
5441
|
+
static types(): { [key: string]: any } {
|
|
5442
|
+
return {
|
|
5443
|
+
title: 'string',
|
|
5444
|
+
url: 'string',
|
|
5445
|
+
};
|
|
5446
|
+
}
|
|
5447
|
+
|
|
5448
|
+
constructor(map?: { [key: string]: any }) {
|
|
5449
|
+
super(map);
|
|
5450
|
+
}
|
|
5451
|
+
}
|
|
5452
|
+
|
|
5076
5453
|
export class GetConnDataResponseBodyList extends $tea.Model {
|
|
5077
5454
|
id?: string;
|
|
5078
5455
|
mapId?: string;
|
|
@@ -5474,11 +5851,13 @@ export class GetScenePreviewInfoResponseBodyData extends $tea.Model {
|
|
|
5474
5851
|
}
|
|
5475
5852
|
|
|
5476
5853
|
export class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $tea.Model {
|
|
5854
|
+
hotspotTagConfig?: string;
|
|
5477
5855
|
modelConfig?: string;
|
|
5478
5856
|
orthomapConfig?: string;
|
|
5479
5857
|
rootPath?: string;
|
|
5480
5858
|
static names(): { [key: string]: string } {
|
|
5481
5859
|
return {
|
|
5860
|
+
hotspotTagConfig: 'HotspotTagConfig',
|
|
5482
5861
|
modelConfig: 'ModelConfig',
|
|
5483
5862
|
orthomapConfig: 'OrthomapConfig',
|
|
5484
5863
|
rootPath: 'RootPath',
|
|
@@ -5487,6 +5866,7 @@ export class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $t
|
|
|
5487
5866
|
|
|
5488
5867
|
static types(): { [key: string]: any } {
|
|
5489
5868
|
return {
|
|
5869
|
+
hotspotTagConfig: 'string',
|
|
5490
5870
|
modelConfig: 'string',
|
|
5491
5871
|
orthomapConfig: 'string',
|
|
5492
5872
|
rootPath: 'string',
|
|
@@ -5653,6 +6033,8 @@ export class ListSceneResponseBodyList extends $tea.Model {
|
|
|
5653
6033
|
previewToken?: string;
|
|
5654
6034
|
published?: boolean;
|
|
5655
6035
|
sourceNum?: number;
|
|
6036
|
+
status?: string;
|
|
6037
|
+
statusName?: string;
|
|
5656
6038
|
subSceneNum?: number;
|
|
5657
6039
|
type?: string;
|
|
5658
6040
|
static names(): { [key: string]: string } {
|
|
@@ -5665,6 +6047,8 @@ export class ListSceneResponseBodyList extends $tea.Model {
|
|
|
5665
6047
|
previewToken: 'PreviewToken',
|
|
5666
6048
|
published: 'Published',
|
|
5667
6049
|
sourceNum: 'SourceNum',
|
|
6050
|
+
status: 'Status',
|
|
6051
|
+
statusName: 'StatusName',
|
|
5668
6052
|
subSceneNum: 'SubSceneNum',
|
|
5669
6053
|
type: 'Type',
|
|
5670
6054
|
};
|
|
@@ -5680,6 +6064,8 @@ export class ListSceneResponseBodyList extends $tea.Model {
|
|
|
5680
6064
|
previewToken: 'string',
|
|
5681
6065
|
published: 'boolean',
|
|
5682
6066
|
sourceNum: 'number',
|
|
6067
|
+
status: 'string',
|
|
6068
|
+
statusName: 'string',
|
|
5683
6069
|
subSceneNum: 'number',
|
|
5684
6070
|
type: 'string',
|
|
5685
6071
|
};
|
|
@@ -6053,6 +6439,10 @@ export default class Client extends OpenApi {
|
|
|
6053
6439
|
async copySceneWithOptions(request: CopySceneRequest, runtime: $Util.RuntimeOptions): Promise<CopySceneResponse> {
|
|
6054
6440
|
Util.validateModel(request);
|
|
6055
6441
|
let query = { };
|
|
6442
|
+
if (!Util.isUnset(request.projectId)) {
|
|
6443
|
+
query["ProjectId"] = request.projectId;
|
|
6444
|
+
}
|
|
6445
|
+
|
|
6056
6446
|
if (!Util.isUnset(request.sceneId)) {
|
|
6057
6447
|
query["SceneId"] = request.sceneId;
|
|
6058
6448
|
}
|
|
@@ -6083,6 +6473,39 @@ export default class Client extends OpenApi {
|
|
|
6083
6473
|
return await this.copySceneWithOptions(request, runtime);
|
|
6084
6474
|
}
|
|
6085
6475
|
|
|
6476
|
+
async createUploadPolicyWithOptions(request: CreateUploadPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateUploadPolicyResponse> {
|
|
6477
|
+
Util.validateModel(request);
|
|
6478
|
+
let query = { };
|
|
6479
|
+
if (!Util.isUnset(request.option)) {
|
|
6480
|
+
query["Option"] = request.option;
|
|
6481
|
+
}
|
|
6482
|
+
|
|
6483
|
+
if (!Util.isUnset(request.type)) {
|
|
6484
|
+
query["Type"] = request.type;
|
|
6485
|
+
}
|
|
6486
|
+
|
|
6487
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6488
|
+
query: OpenApiUtil.query(query),
|
|
6489
|
+
});
|
|
6490
|
+
let params = new $OpenApi.Params({
|
|
6491
|
+
action: "CreateUploadPolicy",
|
|
6492
|
+
version: "2020-01-01",
|
|
6493
|
+
protocol: "HTTPS",
|
|
6494
|
+
pathname: "/",
|
|
6495
|
+
method: "POST",
|
|
6496
|
+
authType: "AK",
|
|
6497
|
+
style: "RPC",
|
|
6498
|
+
reqBodyType: "formData",
|
|
6499
|
+
bodyType: "json",
|
|
6500
|
+
});
|
|
6501
|
+
return $tea.cast<CreateUploadPolicyResponse>(await this.callApi(params, req, runtime), new CreateUploadPolicyResponse({}));
|
|
6502
|
+
}
|
|
6503
|
+
|
|
6504
|
+
async createUploadPolicy(request: CreateUploadPolicyRequest): Promise<CreateUploadPolicyResponse> {
|
|
6505
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6506
|
+
return await this.createUploadPolicyWithOptions(request, runtime);
|
|
6507
|
+
}
|
|
6508
|
+
|
|
6086
6509
|
async detailProjectWithOptions(request: DetailProjectRequest, runtime: $Util.RuntimeOptions): Promise<DetailProjectResponse> {
|
|
6087
6510
|
Util.validateModel(request);
|
|
6088
6511
|
let query = { };
|
|
@@ -6730,6 +7153,10 @@ export default class Client extends OpenApi {
|
|
|
6730
7153
|
async getScenePreviewResourceWithOptions(request: GetScenePreviewResourceRequest, runtime: $Util.RuntimeOptions): Promise<GetScenePreviewResourceResponse> {
|
|
6731
7154
|
Util.validateModel(request);
|
|
6732
7155
|
let query = { };
|
|
7156
|
+
if (!Util.isUnset(request.draft)) {
|
|
7157
|
+
query["Draft"] = request.draft;
|
|
7158
|
+
}
|
|
7159
|
+
|
|
6733
7160
|
if (!Util.isUnset(request.previewToken)) {
|
|
6734
7161
|
query["PreviewToken"] = request.previewToken;
|
|
6735
7162
|
}
|
|
@@ -7312,6 +7739,35 @@ export default class Client extends OpenApi {
|
|
|
7312
7739
|
return await this.publishHotspotWithOptions(request, runtime);
|
|
7313
7740
|
}
|
|
7314
7741
|
|
|
7742
|
+
async publishHotspotConfigWithOptions(request: PublishHotspotConfigRequest, runtime: $Util.RuntimeOptions): Promise<PublishHotspotConfigResponse> {
|
|
7743
|
+
Util.validateModel(request);
|
|
7744
|
+
let query = { };
|
|
7745
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
7746
|
+
query["SceneId"] = request.sceneId;
|
|
7747
|
+
}
|
|
7748
|
+
|
|
7749
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7750
|
+
query: OpenApiUtil.query(query),
|
|
7751
|
+
});
|
|
7752
|
+
let params = new $OpenApi.Params({
|
|
7753
|
+
action: "PublishHotspotConfig",
|
|
7754
|
+
version: "2020-01-01",
|
|
7755
|
+
protocol: "HTTPS",
|
|
7756
|
+
pathname: "/",
|
|
7757
|
+
method: "POST",
|
|
7758
|
+
authType: "AK",
|
|
7759
|
+
style: "RPC",
|
|
7760
|
+
reqBodyType: "formData",
|
|
7761
|
+
bodyType: "json",
|
|
7762
|
+
});
|
|
7763
|
+
return $tea.cast<PublishHotspotConfigResponse>(await this.callApi(params, req, runtime), new PublishHotspotConfigResponse({}));
|
|
7764
|
+
}
|
|
7765
|
+
|
|
7766
|
+
async publishHotspotConfig(request: PublishHotspotConfigRequest): Promise<PublishHotspotConfigResponse> {
|
|
7767
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7768
|
+
return await this.publishHotspotConfigWithOptions(request, runtime);
|
|
7769
|
+
}
|
|
7770
|
+
|
|
7315
7771
|
async publishSceneWithOptions(request: PublishSceneRequest, runtime: $Util.RuntimeOptions): Promise<PublishSceneResponse> {
|
|
7316
7772
|
Util.validateModel(request);
|
|
7317
7773
|
let query = { };
|
|
@@ -7568,6 +8024,72 @@ export default class Client extends OpenApi {
|
|
|
7568
8024
|
return await this.saveHotspotTagWithOptions(request, runtime);
|
|
7569
8025
|
}
|
|
7570
8026
|
|
|
8027
|
+
async saveHotspotTagListWithOptions(request: SaveHotspotTagListRequest, runtime: $Util.RuntimeOptions): Promise<SaveHotspotTagListResponse> {
|
|
8028
|
+
Util.validateModel(request);
|
|
8029
|
+
let query = { };
|
|
8030
|
+
if (!Util.isUnset(request.hotspotListJson)) {
|
|
8031
|
+
query["HotspotListJson"] = request.hotspotListJson;
|
|
8032
|
+
}
|
|
8033
|
+
|
|
8034
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
8035
|
+
query["SceneId"] = request.sceneId;
|
|
8036
|
+
}
|
|
8037
|
+
|
|
8038
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8039
|
+
query: OpenApiUtil.query(query),
|
|
8040
|
+
});
|
|
8041
|
+
let params = new $OpenApi.Params({
|
|
8042
|
+
action: "SaveHotspotTagList",
|
|
8043
|
+
version: "2020-01-01",
|
|
8044
|
+
protocol: "HTTPS",
|
|
8045
|
+
pathname: "/",
|
|
8046
|
+
method: "POST",
|
|
8047
|
+
authType: "AK",
|
|
8048
|
+
style: "RPC",
|
|
8049
|
+
reqBodyType: "formData",
|
|
8050
|
+
bodyType: "json",
|
|
8051
|
+
});
|
|
8052
|
+
return $tea.cast<SaveHotspotTagListResponse>(await this.callApi(params, req, runtime), new SaveHotspotTagListResponse({}));
|
|
8053
|
+
}
|
|
8054
|
+
|
|
8055
|
+
async saveHotspotTagList(request: SaveHotspotTagListRequest): Promise<SaveHotspotTagListResponse> {
|
|
8056
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8057
|
+
return await this.saveHotspotTagListWithOptions(request, runtime);
|
|
8058
|
+
}
|
|
8059
|
+
|
|
8060
|
+
async saveModelConfigWithOptions(request: SaveModelConfigRequest, runtime: $Util.RuntimeOptions): Promise<SaveModelConfigResponse> {
|
|
8061
|
+
Util.validateModel(request);
|
|
8062
|
+
let query = { };
|
|
8063
|
+
if (!Util.isUnset(request.data)) {
|
|
8064
|
+
query["Data"] = request.data;
|
|
8065
|
+
}
|
|
8066
|
+
|
|
8067
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
8068
|
+
query["SceneId"] = request.sceneId;
|
|
8069
|
+
}
|
|
8070
|
+
|
|
8071
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8072
|
+
query: OpenApiUtil.query(query),
|
|
8073
|
+
});
|
|
8074
|
+
let params = new $OpenApi.Params({
|
|
8075
|
+
action: "SaveModelConfig",
|
|
8076
|
+
version: "2020-01-01",
|
|
8077
|
+
protocol: "HTTPS",
|
|
8078
|
+
pathname: "/",
|
|
8079
|
+
method: "POST",
|
|
8080
|
+
authType: "AK",
|
|
8081
|
+
style: "RPC",
|
|
8082
|
+
reqBodyType: "formData",
|
|
8083
|
+
bodyType: "json",
|
|
8084
|
+
});
|
|
8085
|
+
return $tea.cast<SaveModelConfigResponse>(await this.callApi(params, req, runtime), new SaveModelConfigResponse({}));
|
|
8086
|
+
}
|
|
8087
|
+
|
|
8088
|
+
async saveModelConfig(request: SaveModelConfigRequest): Promise<SaveModelConfigResponse> {
|
|
8089
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8090
|
+
return await this.saveModelConfigWithOptions(request, runtime);
|
|
8091
|
+
}
|
|
8092
|
+
|
|
7571
8093
|
async scenePublishWithOptions(request: ScenePublishRequest, runtime: $Util.RuntimeOptions): Promise<ScenePublishResponse> {
|
|
7572
8094
|
Util.validateModel(request);
|
|
7573
8095
|
let query = { };
|