@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/dist/client.js
CHANGED
|
@@ -459,12 +459,14 @@ class CopySceneRequest extends $tea.Model {
|
|
|
459
459
|
}
|
|
460
460
|
static names() {
|
|
461
461
|
return {
|
|
462
|
+
projectId: 'ProjectId',
|
|
462
463
|
sceneId: 'SceneId',
|
|
463
464
|
sceneName: 'SceneName',
|
|
464
465
|
};
|
|
465
466
|
}
|
|
466
467
|
static types() {
|
|
467
468
|
return {
|
|
469
|
+
projectId: 'string',
|
|
468
470
|
sceneId: 'string',
|
|
469
471
|
sceneName: 'string',
|
|
470
472
|
};
|
|
@@ -515,6 +517,68 @@ class CopySceneResponse extends $tea.Model {
|
|
|
515
517
|
}
|
|
516
518
|
}
|
|
517
519
|
exports.CopySceneResponse = CopySceneResponse;
|
|
520
|
+
class CreateUploadPolicyRequest extends $tea.Model {
|
|
521
|
+
constructor(map) {
|
|
522
|
+
super(map);
|
|
523
|
+
}
|
|
524
|
+
static names() {
|
|
525
|
+
return {
|
|
526
|
+
option: 'Option',
|
|
527
|
+
type: 'Type',
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
static types() {
|
|
531
|
+
return {
|
|
532
|
+
option: 'string',
|
|
533
|
+
type: 'string',
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
exports.CreateUploadPolicyRequest = CreateUploadPolicyRequest;
|
|
538
|
+
class CreateUploadPolicyResponseBody extends $tea.Model {
|
|
539
|
+
constructor(map) {
|
|
540
|
+
super(map);
|
|
541
|
+
}
|
|
542
|
+
static names() {
|
|
543
|
+
return {
|
|
544
|
+
code: 'Code',
|
|
545
|
+
data: 'Data',
|
|
546
|
+
message: 'Message',
|
|
547
|
+
requestId: 'RequestId',
|
|
548
|
+
success: 'Success',
|
|
549
|
+
};
|
|
550
|
+
}
|
|
551
|
+
static types() {
|
|
552
|
+
return {
|
|
553
|
+
code: 'number',
|
|
554
|
+
data: CreateUploadPolicyResponseBodyData,
|
|
555
|
+
message: 'string',
|
|
556
|
+
requestId: 'string',
|
|
557
|
+
success: 'boolean',
|
|
558
|
+
};
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
exports.CreateUploadPolicyResponseBody = CreateUploadPolicyResponseBody;
|
|
562
|
+
class CreateUploadPolicyResponse extends $tea.Model {
|
|
563
|
+
constructor(map) {
|
|
564
|
+
super(map);
|
|
565
|
+
}
|
|
566
|
+
static names() {
|
|
567
|
+
return {
|
|
568
|
+
headers: 'headers',
|
|
569
|
+
statusCode: 'statusCode',
|
|
570
|
+
body: 'body',
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
static types() {
|
|
574
|
+
return {
|
|
575
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
576
|
+
statusCode: 'number',
|
|
577
|
+
body: CreateUploadPolicyResponseBody,
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
exports.CreateUploadPolicyResponse = CreateUploadPolicyResponse;
|
|
518
582
|
class DetailProjectRequest extends $tea.Model {
|
|
519
583
|
constructor(map) {
|
|
520
584
|
super(map);
|
|
@@ -609,6 +673,7 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
609
673
|
}
|
|
610
674
|
static names() {
|
|
611
675
|
return {
|
|
676
|
+
captures: 'Captures',
|
|
612
677
|
code: 'Code',
|
|
613
678
|
coverUrl: 'CoverUrl',
|
|
614
679
|
gmtCreate: 'GmtCreate',
|
|
@@ -620,6 +685,8 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
620
685
|
published: 'Published',
|
|
621
686
|
requestId: 'RequestId',
|
|
622
687
|
sourceNum: 'SourceNum',
|
|
688
|
+
status: 'Status',
|
|
689
|
+
statusName: 'StatusName',
|
|
623
690
|
subSceneNum: 'SubSceneNum',
|
|
624
691
|
success: 'Success',
|
|
625
692
|
type: 'Type',
|
|
@@ -627,6 +694,7 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
627
694
|
}
|
|
628
695
|
static types() {
|
|
629
696
|
return {
|
|
697
|
+
captures: { 'type': 'array', 'itemType': DetailSceneResponseBodyCaptures },
|
|
630
698
|
code: 'number',
|
|
631
699
|
coverUrl: 'string',
|
|
632
700
|
gmtCreate: 'number',
|
|
@@ -638,6 +706,8 @@ class DetailSceneResponseBody extends $tea.Model {
|
|
|
638
706
|
published: 'boolean',
|
|
639
707
|
requestId: 'string',
|
|
640
708
|
sourceNum: 'number',
|
|
709
|
+
status: 'string',
|
|
710
|
+
statusName: 'string',
|
|
641
711
|
subSceneNum: 'number',
|
|
642
712
|
success: 'boolean',
|
|
643
713
|
type: 'string',
|
|
@@ -698,6 +768,7 @@ class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
698
768
|
message: 'Message',
|
|
699
769
|
name: 'Name',
|
|
700
770
|
originUrl: 'OriginUrl',
|
|
771
|
+
position: 'Position',
|
|
701
772
|
requestId: 'RequestId',
|
|
702
773
|
resourceId: 'ResourceId',
|
|
703
774
|
status: 'Status',
|
|
@@ -719,6 +790,7 @@ class DetailSubSceneResponseBody extends $tea.Model {
|
|
|
719
790
|
message: 'string',
|
|
720
791
|
name: 'string',
|
|
721
792
|
originUrl: 'string',
|
|
793
|
+
position: 'string',
|
|
722
794
|
requestId: 'string',
|
|
723
795
|
resourceId: 'string',
|
|
724
796
|
status: 'number',
|
|
@@ -1823,11 +1895,13 @@ class GetScenePreviewResourceRequest extends $tea.Model {
|
|
|
1823
1895
|
}
|
|
1824
1896
|
static names() {
|
|
1825
1897
|
return {
|
|
1898
|
+
draft: 'Draft',
|
|
1826
1899
|
previewToken: 'PreviewToken',
|
|
1827
1900
|
};
|
|
1828
1901
|
}
|
|
1829
1902
|
static types() {
|
|
1830
1903
|
return {
|
|
1904
|
+
draft: 'boolean',
|
|
1831
1905
|
previewToken: 'string',
|
|
1832
1906
|
};
|
|
1833
1907
|
}
|
|
@@ -2917,6 +2991,64 @@ class PublishHotspotResponse extends $tea.Model {
|
|
|
2917
2991
|
}
|
|
2918
2992
|
}
|
|
2919
2993
|
exports.PublishHotspotResponse = PublishHotspotResponse;
|
|
2994
|
+
class PublishHotspotConfigRequest extends $tea.Model {
|
|
2995
|
+
constructor(map) {
|
|
2996
|
+
super(map);
|
|
2997
|
+
}
|
|
2998
|
+
static names() {
|
|
2999
|
+
return {
|
|
3000
|
+
sceneId: 'SceneId',
|
|
3001
|
+
};
|
|
3002
|
+
}
|
|
3003
|
+
static types() {
|
|
3004
|
+
return {
|
|
3005
|
+
sceneId: 'string',
|
|
3006
|
+
};
|
|
3007
|
+
}
|
|
3008
|
+
}
|
|
3009
|
+
exports.PublishHotspotConfigRequest = PublishHotspotConfigRequest;
|
|
3010
|
+
class PublishHotspotConfigResponseBody extends $tea.Model {
|
|
3011
|
+
constructor(map) {
|
|
3012
|
+
super(map);
|
|
3013
|
+
}
|
|
3014
|
+
static names() {
|
|
3015
|
+
return {
|
|
3016
|
+
code: 'Code',
|
|
3017
|
+
message: 'Message',
|
|
3018
|
+
requestId: 'RequestId',
|
|
3019
|
+
success: 'Success',
|
|
3020
|
+
};
|
|
3021
|
+
}
|
|
3022
|
+
static types() {
|
|
3023
|
+
return {
|
|
3024
|
+
code: 'number',
|
|
3025
|
+
message: 'string',
|
|
3026
|
+
requestId: 'string',
|
|
3027
|
+
success: 'boolean',
|
|
3028
|
+
};
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
exports.PublishHotspotConfigResponseBody = PublishHotspotConfigResponseBody;
|
|
3032
|
+
class PublishHotspotConfigResponse extends $tea.Model {
|
|
3033
|
+
constructor(map) {
|
|
3034
|
+
super(map);
|
|
3035
|
+
}
|
|
3036
|
+
static names() {
|
|
3037
|
+
return {
|
|
3038
|
+
headers: 'headers',
|
|
3039
|
+
statusCode: 'statusCode',
|
|
3040
|
+
body: 'body',
|
|
3041
|
+
};
|
|
3042
|
+
}
|
|
3043
|
+
static types() {
|
|
3044
|
+
return {
|
|
3045
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3046
|
+
statusCode: 'number',
|
|
3047
|
+
body: PublishHotspotConfigResponseBody,
|
|
3048
|
+
};
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
3051
|
+
exports.PublishHotspotConfigResponse = PublishHotspotConfigResponse;
|
|
2920
3052
|
class PublishSceneRequest extends $tea.Model {
|
|
2921
3053
|
constructor(map) {
|
|
2922
3054
|
super(map);
|
|
@@ -3401,6 +3533,126 @@ class SaveHotspotTagResponse extends $tea.Model {
|
|
|
3401
3533
|
}
|
|
3402
3534
|
}
|
|
3403
3535
|
exports.SaveHotspotTagResponse = SaveHotspotTagResponse;
|
|
3536
|
+
class SaveHotspotTagListRequest extends $tea.Model {
|
|
3537
|
+
constructor(map) {
|
|
3538
|
+
super(map);
|
|
3539
|
+
}
|
|
3540
|
+
static names() {
|
|
3541
|
+
return {
|
|
3542
|
+
hotspotListJson: 'HotspotListJson',
|
|
3543
|
+
sceneId: 'SceneId',
|
|
3544
|
+
};
|
|
3545
|
+
}
|
|
3546
|
+
static types() {
|
|
3547
|
+
return {
|
|
3548
|
+
hotspotListJson: 'string',
|
|
3549
|
+
sceneId: 'string',
|
|
3550
|
+
};
|
|
3551
|
+
}
|
|
3552
|
+
}
|
|
3553
|
+
exports.SaveHotspotTagListRequest = SaveHotspotTagListRequest;
|
|
3554
|
+
class SaveHotspotTagListResponseBody extends $tea.Model {
|
|
3555
|
+
constructor(map) {
|
|
3556
|
+
super(map);
|
|
3557
|
+
}
|
|
3558
|
+
static names() {
|
|
3559
|
+
return {
|
|
3560
|
+
code: 'Code',
|
|
3561
|
+
message: 'Message',
|
|
3562
|
+
requestId: 'RequestId',
|
|
3563
|
+
success: 'Success',
|
|
3564
|
+
};
|
|
3565
|
+
}
|
|
3566
|
+
static types() {
|
|
3567
|
+
return {
|
|
3568
|
+
code: 'number',
|
|
3569
|
+
message: 'string',
|
|
3570
|
+
requestId: 'string',
|
|
3571
|
+
success: 'boolean',
|
|
3572
|
+
};
|
|
3573
|
+
}
|
|
3574
|
+
}
|
|
3575
|
+
exports.SaveHotspotTagListResponseBody = SaveHotspotTagListResponseBody;
|
|
3576
|
+
class SaveHotspotTagListResponse extends $tea.Model {
|
|
3577
|
+
constructor(map) {
|
|
3578
|
+
super(map);
|
|
3579
|
+
}
|
|
3580
|
+
static names() {
|
|
3581
|
+
return {
|
|
3582
|
+
headers: 'headers',
|
|
3583
|
+
statusCode: 'statusCode',
|
|
3584
|
+
body: 'body',
|
|
3585
|
+
};
|
|
3586
|
+
}
|
|
3587
|
+
static types() {
|
|
3588
|
+
return {
|
|
3589
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3590
|
+
statusCode: 'number',
|
|
3591
|
+
body: SaveHotspotTagListResponseBody,
|
|
3592
|
+
};
|
|
3593
|
+
}
|
|
3594
|
+
}
|
|
3595
|
+
exports.SaveHotspotTagListResponse = SaveHotspotTagListResponse;
|
|
3596
|
+
class SaveModelConfigRequest extends $tea.Model {
|
|
3597
|
+
constructor(map) {
|
|
3598
|
+
super(map);
|
|
3599
|
+
}
|
|
3600
|
+
static names() {
|
|
3601
|
+
return {
|
|
3602
|
+
data: 'Data',
|
|
3603
|
+
sceneId: 'SceneId',
|
|
3604
|
+
};
|
|
3605
|
+
}
|
|
3606
|
+
static types() {
|
|
3607
|
+
return {
|
|
3608
|
+
data: 'string',
|
|
3609
|
+
sceneId: 'string',
|
|
3610
|
+
};
|
|
3611
|
+
}
|
|
3612
|
+
}
|
|
3613
|
+
exports.SaveModelConfigRequest = SaveModelConfigRequest;
|
|
3614
|
+
class SaveModelConfigResponseBody extends $tea.Model {
|
|
3615
|
+
constructor(map) {
|
|
3616
|
+
super(map);
|
|
3617
|
+
}
|
|
3618
|
+
static names() {
|
|
3619
|
+
return {
|
|
3620
|
+
code: 'Code',
|
|
3621
|
+
message: 'Message',
|
|
3622
|
+
requestId: 'RequestId',
|
|
3623
|
+
success: 'Success',
|
|
3624
|
+
};
|
|
3625
|
+
}
|
|
3626
|
+
static types() {
|
|
3627
|
+
return {
|
|
3628
|
+
code: 'number',
|
|
3629
|
+
message: 'string',
|
|
3630
|
+
requestId: 'string',
|
|
3631
|
+
success: 'boolean',
|
|
3632
|
+
};
|
|
3633
|
+
}
|
|
3634
|
+
}
|
|
3635
|
+
exports.SaveModelConfigResponseBody = SaveModelConfigResponseBody;
|
|
3636
|
+
class SaveModelConfigResponse extends $tea.Model {
|
|
3637
|
+
constructor(map) {
|
|
3638
|
+
super(map);
|
|
3639
|
+
}
|
|
3640
|
+
static names() {
|
|
3641
|
+
return {
|
|
3642
|
+
headers: 'headers',
|
|
3643
|
+
statusCode: 'statusCode',
|
|
3644
|
+
body: 'body',
|
|
3645
|
+
};
|
|
3646
|
+
}
|
|
3647
|
+
static types() {
|
|
3648
|
+
return {
|
|
3649
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3650
|
+
statusCode: 'number',
|
|
3651
|
+
body: SaveModelConfigResponseBody,
|
|
3652
|
+
};
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
exports.SaveModelConfigResponse = SaveModelConfigResponse;
|
|
3404
3656
|
class ScenePublishRequest extends $tea.Model {
|
|
3405
3657
|
constructor(map) {
|
|
3406
3658
|
super(map);
|
|
@@ -4029,6 +4281,52 @@ class CopySceneResponseBodyData extends $tea.Model {
|
|
|
4029
4281
|
}
|
|
4030
4282
|
}
|
|
4031
4283
|
exports.CopySceneResponseBodyData = CopySceneResponseBodyData;
|
|
4284
|
+
class CreateUploadPolicyResponseBodyData extends $tea.Model {
|
|
4285
|
+
constructor(map) {
|
|
4286
|
+
super(map);
|
|
4287
|
+
}
|
|
4288
|
+
static names() {
|
|
4289
|
+
return {
|
|
4290
|
+
accessId: 'AccessId',
|
|
4291
|
+
callback: 'Callback',
|
|
4292
|
+
dir: 'Dir',
|
|
4293
|
+
expire: 'Expire',
|
|
4294
|
+
host: 'Host',
|
|
4295
|
+
policy: 'Policy',
|
|
4296
|
+
signature: 'Signature',
|
|
4297
|
+
};
|
|
4298
|
+
}
|
|
4299
|
+
static types() {
|
|
4300
|
+
return {
|
|
4301
|
+
accessId: 'string',
|
|
4302
|
+
callback: 'string',
|
|
4303
|
+
dir: 'string',
|
|
4304
|
+
expire: 'string',
|
|
4305
|
+
host: 'string',
|
|
4306
|
+
policy: 'string',
|
|
4307
|
+
signature: 'string',
|
|
4308
|
+
};
|
|
4309
|
+
}
|
|
4310
|
+
}
|
|
4311
|
+
exports.CreateUploadPolicyResponseBodyData = CreateUploadPolicyResponseBodyData;
|
|
4312
|
+
class DetailSceneResponseBodyCaptures extends $tea.Model {
|
|
4313
|
+
constructor(map) {
|
|
4314
|
+
super(map);
|
|
4315
|
+
}
|
|
4316
|
+
static names() {
|
|
4317
|
+
return {
|
|
4318
|
+
title: 'Title',
|
|
4319
|
+
url: 'Url',
|
|
4320
|
+
};
|
|
4321
|
+
}
|
|
4322
|
+
static types() {
|
|
4323
|
+
return {
|
|
4324
|
+
title: 'string',
|
|
4325
|
+
url: 'string',
|
|
4326
|
+
};
|
|
4327
|
+
}
|
|
4328
|
+
}
|
|
4329
|
+
exports.DetailSceneResponseBodyCaptures = DetailSceneResponseBodyCaptures;
|
|
4032
4330
|
class GetConnDataResponseBodyList extends $tea.Model {
|
|
4033
4331
|
constructor(map) {
|
|
4034
4332
|
super(map);
|
|
@@ -4345,6 +4643,7 @@ class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $tea.Mode
|
|
|
4345
4643
|
}
|
|
4346
4644
|
static names() {
|
|
4347
4645
|
return {
|
|
4646
|
+
hotspotTagConfig: 'HotspotTagConfig',
|
|
4348
4647
|
modelConfig: 'ModelConfig',
|
|
4349
4648
|
orthomapConfig: 'OrthomapConfig',
|
|
4350
4649
|
rootPath: 'RootPath',
|
|
@@ -4352,6 +4651,7 @@ class GetScenePreviewResourceResponseBodyDataResourceDirectory extends $tea.Mode
|
|
|
4352
4651
|
}
|
|
4353
4652
|
static types() {
|
|
4354
4653
|
return {
|
|
4654
|
+
hotspotTagConfig: 'string',
|
|
4355
4655
|
modelConfig: 'string',
|
|
4356
4656
|
orthomapConfig: 'string',
|
|
4357
4657
|
rootPath: 'string',
|
|
@@ -4487,6 +4787,8 @@ class ListSceneResponseBodyList extends $tea.Model {
|
|
|
4487
4787
|
previewToken: 'PreviewToken',
|
|
4488
4788
|
published: 'Published',
|
|
4489
4789
|
sourceNum: 'SourceNum',
|
|
4790
|
+
status: 'Status',
|
|
4791
|
+
statusName: 'StatusName',
|
|
4490
4792
|
subSceneNum: 'SubSceneNum',
|
|
4491
4793
|
type: 'Type',
|
|
4492
4794
|
};
|
|
@@ -4501,6 +4803,8 @@ class ListSceneResponseBodyList extends $tea.Model {
|
|
|
4501
4803
|
previewToken: 'string',
|
|
4502
4804
|
published: 'boolean',
|
|
4503
4805
|
sourceNum: 'number',
|
|
4806
|
+
status: 'string',
|
|
4807
|
+
statusName: 'string',
|
|
4504
4808
|
subSceneNum: 'number',
|
|
4505
4809
|
type: 'string',
|
|
4506
4810
|
};
|
|
@@ -4811,6 +5115,9 @@ class Client extends openapi_client_1.default {
|
|
|
4811
5115
|
async copySceneWithOptions(request, runtime) {
|
|
4812
5116
|
tea_util_1.default.validateModel(request);
|
|
4813
5117
|
let query = {};
|
|
5118
|
+
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
5119
|
+
query["ProjectId"] = request.projectId;
|
|
5120
|
+
}
|
|
4814
5121
|
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
4815
5122
|
query["SceneId"] = request.sceneId;
|
|
4816
5123
|
}
|
|
@@ -4837,6 +5144,35 @@ class Client extends openapi_client_1.default {
|
|
|
4837
5144
|
let runtime = new $Util.RuntimeOptions({});
|
|
4838
5145
|
return await this.copySceneWithOptions(request, runtime);
|
|
4839
5146
|
}
|
|
5147
|
+
async createUploadPolicyWithOptions(request, runtime) {
|
|
5148
|
+
tea_util_1.default.validateModel(request);
|
|
5149
|
+
let query = {};
|
|
5150
|
+
if (!tea_util_1.default.isUnset(request.option)) {
|
|
5151
|
+
query["Option"] = request.option;
|
|
5152
|
+
}
|
|
5153
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
5154
|
+
query["Type"] = request.type;
|
|
5155
|
+
}
|
|
5156
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5157
|
+
query: openapi_util_1.default.query(query),
|
|
5158
|
+
});
|
|
5159
|
+
let params = new $OpenApi.Params({
|
|
5160
|
+
action: "CreateUploadPolicy",
|
|
5161
|
+
version: "2020-01-01",
|
|
5162
|
+
protocol: "HTTPS",
|
|
5163
|
+
pathname: "/",
|
|
5164
|
+
method: "POST",
|
|
5165
|
+
authType: "AK",
|
|
5166
|
+
style: "RPC",
|
|
5167
|
+
reqBodyType: "formData",
|
|
5168
|
+
bodyType: "json",
|
|
5169
|
+
});
|
|
5170
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateUploadPolicyResponse({}));
|
|
5171
|
+
}
|
|
5172
|
+
async createUploadPolicy(request) {
|
|
5173
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5174
|
+
return await this.createUploadPolicyWithOptions(request, runtime);
|
|
5175
|
+
}
|
|
4840
5176
|
async detailProjectWithOptions(request, runtime) {
|
|
4841
5177
|
tea_util_1.default.validateModel(request);
|
|
4842
5178
|
let query = {};
|
|
@@ -5408,6 +5744,9 @@ class Client extends openapi_client_1.default {
|
|
|
5408
5744
|
async getScenePreviewResourceWithOptions(request, runtime) {
|
|
5409
5745
|
tea_util_1.default.validateModel(request);
|
|
5410
5746
|
let query = {};
|
|
5747
|
+
if (!tea_util_1.default.isUnset(request.draft)) {
|
|
5748
|
+
query["Draft"] = request.draft;
|
|
5749
|
+
}
|
|
5411
5750
|
if (!tea_util_1.default.isUnset(request.previewToken)) {
|
|
5412
5751
|
query["PreviewToken"] = request.previewToken;
|
|
5413
5752
|
}
|
|
@@ -5916,6 +6255,32 @@ class Client extends openapi_client_1.default {
|
|
|
5916
6255
|
let runtime = new $Util.RuntimeOptions({});
|
|
5917
6256
|
return await this.publishHotspotWithOptions(request, runtime);
|
|
5918
6257
|
}
|
|
6258
|
+
async publishHotspotConfigWithOptions(request, runtime) {
|
|
6259
|
+
tea_util_1.default.validateModel(request);
|
|
6260
|
+
let query = {};
|
|
6261
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6262
|
+
query["SceneId"] = request.sceneId;
|
|
6263
|
+
}
|
|
6264
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6265
|
+
query: openapi_util_1.default.query(query),
|
|
6266
|
+
});
|
|
6267
|
+
let params = new $OpenApi.Params({
|
|
6268
|
+
action: "PublishHotspotConfig",
|
|
6269
|
+
version: "2020-01-01",
|
|
6270
|
+
protocol: "HTTPS",
|
|
6271
|
+
pathname: "/",
|
|
6272
|
+
method: "POST",
|
|
6273
|
+
authType: "AK",
|
|
6274
|
+
style: "RPC",
|
|
6275
|
+
reqBodyType: "formData",
|
|
6276
|
+
bodyType: "json",
|
|
6277
|
+
});
|
|
6278
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PublishHotspotConfigResponse({}));
|
|
6279
|
+
}
|
|
6280
|
+
async publishHotspotConfig(request) {
|
|
6281
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6282
|
+
return await this.publishHotspotConfigWithOptions(request, runtime);
|
|
6283
|
+
}
|
|
5919
6284
|
async publishSceneWithOptions(request, runtime) {
|
|
5920
6285
|
tea_util_1.default.validateModel(request);
|
|
5921
6286
|
let query = {};
|
|
@@ -6142,6 +6507,64 @@ class Client extends openapi_client_1.default {
|
|
|
6142
6507
|
let runtime = new $Util.RuntimeOptions({});
|
|
6143
6508
|
return await this.saveHotspotTagWithOptions(request, runtime);
|
|
6144
6509
|
}
|
|
6510
|
+
async saveHotspotTagListWithOptions(request, runtime) {
|
|
6511
|
+
tea_util_1.default.validateModel(request);
|
|
6512
|
+
let query = {};
|
|
6513
|
+
if (!tea_util_1.default.isUnset(request.hotspotListJson)) {
|
|
6514
|
+
query["HotspotListJson"] = request.hotspotListJson;
|
|
6515
|
+
}
|
|
6516
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6517
|
+
query["SceneId"] = request.sceneId;
|
|
6518
|
+
}
|
|
6519
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6520
|
+
query: openapi_util_1.default.query(query),
|
|
6521
|
+
});
|
|
6522
|
+
let params = new $OpenApi.Params({
|
|
6523
|
+
action: "SaveHotspotTagList",
|
|
6524
|
+
version: "2020-01-01",
|
|
6525
|
+
protocol: "HTTPS",
|
|
6526
|
+
pathname: "/",
|
|
6527
|
+
method: "POST",
|
|
6528
|
+
authType: "AK",
|
|
6529
|
+
style: "RPC",
|
|
6530
|
+
reqBodyType: "formData",
|
|
6531
|
+
bodyType: "json",
|
|
6532
|
+
});
|
|
6533
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SaveHotspotTagListResponse({}));
|
|
6534
|
+
}
|
|
6535
|
+
async saveHotspotTagList(request) {
|
|
6536
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6537
|
+
return await this.saveHotspotTagListWithOptions(request, runtime);
|
|
6538
|
+
}
|
|
6539
|
+
async saveModelConfigWithOptions(request, runtime) {
|
|
6540
|
+
tea_util_1.default.validateModel(request);
|
|
6541
|
+
let query = {};
|
|
6542
|
+
if (!tea_util_1.default.isUnset(request.data)) {
|
|
6543
|
+
query["Data"] = request.data;
|
|
6544
|
+
}
|
|
6545
|
+
if (!tea_util_1.default.isUnset(request.sceneId)) {
|
|
6546
|
+
query["SceneId"] = request.sceneId;
|
|
6547
|
+
}
|
|
6548
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6549
|
+
query: openapi_util_1.default.query(query),
|
|
6550
|
+
});
|
|
6551
|
+
let params = new $OpenApi.Params({
|
|
6552
|
+
action: "SaveModelConfig",
|
|
6553
|
+
version: "2020-01-01",
|
|
6554
|
+
protocol: "HTTPS",
|
|
6555
|
+
pathname: "/",
|
|
6556
|
+
method: "POST",
|
|
6557
|
+
authType: "AK",
|
|
6558
|
+
style: "RPC",
|
|
6559
|
+
reqBodyType: "formData",
|
|
6560
|
+
bodyType: "json",
|
|
6561
|
+
});
|
|
6562
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SaveModelConfigResponse({}));
|
|
6563
|
+
}
|
|
6564
|
+
async saveModelConfig(request) {
|
|
6565
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6566
|
+
return await this.saveModelConfigWithOptions(request, runtime);
|
|
6567
|
+
}
|
|
6145
6568
|
async scenePublishWithOptions(request, runtime) {
|
|
6146
6569
|
tea_util_1.default.validateModel(request);
|
|
6147
6570
|
let query = {};
|