@alicloud/tdsr20200101 3.1.5 → 3.1.6

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 CHANGED
@@ -458,50 +458,6 @@ export declare class CreateUploadPolicyResponse extends $tea.Model {
458
458
  [key: string]: any;
459
459
  });
460
460
  }
461
- export declare class DecryptContentRequest extends $tea.Model {
462
- content?: string;
463
- static names(): {
464
- [key: string]: string;
465
- };
466
- static types(): {
467
- [key: string]: any;
468
- };
469
- constructor(map?: {
470
- [key: string]: any;
471
- });
472
- }
473
- export declare class DecryptContentResponseBody extends $tea.Model {
474
- code?: number;
475
- content?: string;
476
- message?: string;
477
- requestId?: string;
478
- success?: boolean;
479
- static names(): {
480
- [key: string]: string;
481
- };
482
- static types(): {
483
- [key: string]: any;
484
- };
485
- constructor(map?: {
486
- [key: string]: any;
487
- });
488
- }
489
- export declare class DecryptContentResponse extends $tea.Model {
490
- headers: {
491
- [key: string]: string;
492
- };
493
- statusCode: number;
494
- body: DecryptContentResponseBody;
495
- static names(): {
496
- [key: string]: string;
497
- };
498
- static types(): {
499
- [key: string]: any;
500
- };
501
- constructor(map?: {
502
- [key: string]: any;
503
- });
504
- }
505
461
  export declare class DetailProjectRequest extends $tea.Model {
506
462
  id?: string;
507
463
  static names(): {
@@ -794,50 +750,6 @@ export declare class DropSubSceneResponse extends $tea.Model {
794
750
  [key: string]: any;
795
751
  });
796
752
  }
797
- export declare class EncryptContentRequest extends $tea.Model {
798
- content?: string;
799
- static names(): {
800
- [key: string]: string;
801
- };
802
- static types(): {
803
- [key: string]: any;
804
- };
805
- constructor(map?: {
806
- [key: string]: any;
807
- });
808
- }
809
- export declare class EncryptContentResponseBody extends $tea.Model {
810
- code?: number;
811
- content?: string;
812
- message?: string;
813
- requestId?: string;
814
- success?: boolean;
815
- static names(): {
816
- [key: string]: string;
817
- };
818
- static types(): {
819
- [key: string]: any;
820
- };
821
- constructor(map?: {
822
- [key: string]: any;
823
- });
824
- }
825
- export declare class EncryptContentResponse extends $tea.Model {
826
- headers: {
827
- [key: string]: string;
828
- };
829
- statusCode: number;
830
- body: EncryptContentResponseBody;
831
- static names(): {
832
- [key: string]: string;
833
- };
834
- static types(): {
835
- [key: string]: any;
836
- };
837
- constructor(map?: {
838
- [key: string]: any;
839
- });
840
- }
841
753
  export declare class GetConnDataRequest extends $tea.Model {
842
754
  sceneId?: string;
843
755
  static names(): {
@@ -2715,6 +2627,50 @@ export declare class SaveHotspotTagListResponse extends $tea.Model {
2715
2627
  [key: string]: any;
2716
2628
  });
2717
2629
  }
2630
+ export declare class SaveMinimapRequest extends $tea.Model {
2631
+ data?: string;
2632
+ sceneId?: string;
2633
+ static names(): {
2634
+ [key: string]: string;
2635
+ };
2636
+ static types(): {
2637
+ [key: string]: any;
2638
+ };
2639
+ constructor(map?: {
2640
+ [key: string]: any;
2641
+ });
2642
+ }
2643
+ export declare class SaveMinimapResponseBody extends $tea.Model {
2644
+ code?: number;
2645
+ message?: string;
2646
+ requestId?: string;
2647
+ success?: boolean;
2648
+ static names(): {
2649
+ [key: string]: string;
2650
+ };
2651
+ static types(): {
2652
+ [key: string]: any;
2653
+ };
2654
+ constructor(map?: {
2655
+ [key: string]: any;
2656
+ });
2657
+ }
2658
+ export declare class SaveMinimapResponse extends $tea.Model {
2659
+ headers: {
2660
+ [key: string]: string;
2661
+ };
2662
+ statusCode: number;
2663
+ body: SaveMinimapResponseBody;
2664
+ static names(): {
2665
+ [key: string]: string;
2666
+ };
2667
+ static types(): {
2668
+ [key: string]: any;
2669
+ };
2670
+ constructor(map?: {
2671
+ [key: string]: any;
2672
+ });
2673
+ }
2718
2674
  export declare class SaveModelConfigRequest extends $tea.Model {
2719
2675
  data?: string;
2720
2676
  sceneId?: string;
@@ -3643,8 +3599,6 @@ export default class Client extends OpenApi {
3643
3599
  copyScene(request: CopySceneRequest): Promise<CopySceneResponse>;
3644
3600
  createUploadPolicyWithOptions(request: CreateUploadPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateUploadPolicyResponse>;
3645
3601
  createUploadPolicy(request: CreateUploadPolicyRequest): Promise<CreateUploadPolicyResponse>;
3646
- decryptContentWithOptions(request: DecryptContentRequest, runtime: $Util.RuntimeOptions): Promise<DecryptContentResponse>;
3647
- decryptContent(request: DecryptContentRequest): Promise<DecryptContentResponse>;
3648
3602
  detailProjectWithOptions(request: DetailProjectRequest, runtime: $Util.RuntimeOptions): Promise<DetailProjectResponse>;
3649
3603
  detailProject(request: DetailProjectRequest): Promise<DetailProjectResponse>;
3650
3604
  detailSceneWithOptions(request: DetailSceneRequest, runtime: $Util.RuntimeOptions): Promise<DetailSceneResponse>;
@@ -3657,8 +3611,6 @@ export default class Client extends OpenApi {
3657
3611
  dropScene(request: DropSceneRequest): Promise<DropSceneResponse>;
3658
3612
  dropSubSceneWithOptions(request: DropSubSceneRequest, runtime: $Util.RuntimeOptions): Promise<DropSubSceneResponse>;
3659
3613
  dropSubScene(request: DropSubSceneRequest): Promise<DropSubSceneResponse>;
3660
- encryptContentWithOptions(request: EncryptContentRequest, runtime: $Util.RuntimeOptions): Promise<EncryptContentResponse>;
3661
- encryptContent(request: EncryptContentRequest): Promise<EncryptContentResponse>;
3662
3614
  getConnDataWithOptions(request: GetConnDataRequest, runtime: $Util.RuntimeOptions): Promise<GetConnDataResponse>;
3663
3615
  getConnData(request: GetConnDataRequest): Promise<GetConnDataResponse>;
3664
3616
  getCopySceneTaskStatusWithOptions(request: GetCopySceneTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetCopySceneTaskStatusResponse>;
@@ -3741,6 +3693,8 @@ export default class Client extends OpenApi {
3741
3693
  saveHotspotTag(request: SaveHotspotTagRequest): Promise<SaveHotspotTagResponse>;
3742
3694
  saveHotspotTagListWithOptions(request: SaveHotspotTagListRequest, runtime: $Util.RuntimeOptions): Promise<SaveHotspotTagListResponse>;
3743
3695
  saveHotspotTagList(request: SaveHotspotTagListRequest): Promise<SaveHotspotTagListResponse>;
3696
+ saveMinimapWithOptions(request: SaveMinimapRequest, runtime: $Util.RuntimeOptions): Promise<SaveMinimapResponse>;
3697
+ saveMinimap(request: SaveMinimapRequest): Promise<SaveMinimapResponse>;
3744
3698
  saveModelConfigWithOptions(request: SaveModelConfigRequest, runtime: $Util.RuntimeOptions): Promise<SaveModelConfigResponse>;
3745
3699
  saveModelConfig(request: SaveModelConfigRequest): Promise<SaveModelConfigResponse>;
3746
3700
  scenePublishWithOptions(request: ScenePublishRequest, runtime: $Util.RuntimeOptions): Promise<ScenePublishResponse>;
package/dist/client.js CHANGED
@@ -643,66 +643,6 @@ class CreateUploadPolicyResponse extends $tea.Model {
643
643
  }
644
644
  }
645
645
  exports.CreateUploadPolicyResponse = CreateUploadPolicyResponse;
646
- class DecryptContentRequest extends $tea.Model {
647
- constructor(map) {
648
- super(map);
649
- }
650
- static names() {
651
- return {
652
- content: 'Content',
653
- };
654
- }
655
- static types() {
656
- return {
657
- content: 'string',
658
- };
659
- }
660
- }
661
- exports.DecryptContentRequest = DecryptContentRequest;
662
- class DecryptContentResponseBody extends $tea.Model {
663
- constructor(map) {
664
- super(map);
665
- }
666
- static names() {
667
- return {
668
- code: 'Code',
669
- content: 'Content',
670
- message: 'Message',
671
- requestId: 'RequestId',
672
- success: 'Success',
673
- };
674
- }
675
- static types() {
676
- return {
677
- code: 'number',
678
- content: 'string',
679
- message: 'string',
680
- requestId: 'string',
681
- success: 'boolean',
682
- };
683
- }
684
- }
685
- exports.DecryptContentResponseBody = DecryptContentResponseBody;
686
- class DecryptContentResponse extends $tea.Model {
687
- constructor(map) {
688
- super(map);
689
- }
690
- static names() {
691
- return {
692
- headers: 'headers',
693
- statusCode: 'statusCode',
694
- body: 'body',
695
- };
696
- }
697
- static types() {
698
- return {
699
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
700
- statusCode: 'number',
701
- body: DecryptContentResponseBody,
702
- };
703
- }
704
- }
705
- exports.DecryptContentResponse = DecryptContentResponse;
706
646
  class DetailProjectRequest extends $tea.Model {
707
647
  constructor(map) {
708
648
  super(map);
@@ -1119,66 +1059,6 @@ class DropSubSceneResponse extends $tea.Model {
1119
1059
  }
1120
1060
  }
1121
1061
  exports.DropSubSceneResponse = DropSubSceneResponse;
1122
- class EncryptContentRequest extends $tea.Model {
1123
- constructor(map) {
1124
- super(map);
1125
- }
1126
- static names() {
1127
- return {
1128
- content: 'Content',
1129
- };
1130
- }
1131
- static types() {
1132
- return {
1133
- content: 'string',
1134
- };
1135
- }
1136
- }
1137
- exports.EncryptContentRequest = EncryptContentRequest;
1138
- class EncryptContentResponseBody extends $tea.Model {
1139
- constructor(map) {
1140
- super(map);
1141
- }
1142
- static names() {
1143
- return {
1144
- code: 'Code',
1145
- content: 'Content',
1146
- message: 'Message',
1147
- requestId: 'RequestId',
1148
- success: 'Success',
1149
- };
1150
- }
1151
- static types() {
1152
- return {
1153
- code: 'number',
1154
- content: 'string',
1155
- message: 'string',
1156
- requestId: 'string',
1157
- success: 'boolean',
1158
- };
1159
- }
1160
- }
1161
- exports.EncryptContentResponseBody = EncryptContentResponseBody;
1162
- class EncryptContentResponse extends $tea.Model {
1163
- constructor(map) {
1164
- super(map);
1165
- }
1166
- static names() {
1167
- return {
1168
- headers: 'headers',
1169
- statusCode: 'statusCode',
1170
- body: 'body',
1171
- };
1172
- }
1173
- static types() {
1174
- return {
1175
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1176
- statusCode: 'number',
1177
- body: EncryptContentResponseBody,
1178
- };
1179
- }
1180
- }
1181
- exports.EncryptContentResponse = EncryptContentResponse;
1182
1062
  class GetConnDataRequest extends $tea.Model {
1183
1063
  constructor(map) {
1184
1064
  super(map);
@@ -3777,6 +3657,66 @@ class SaveHotspotTagListResponse extends $tea.Model {
3777
3657
  }
3778
3658
  }
3779
3659
  exports.SaveHotspotTagListResponse = SaveHotspotTagListResponse;
3660
+ class SaveMinimapRequest extends $tea.Model {
3661
+ constructor(map) {
3662
+ super(map);
3663
+ }
3664
+ static names() {
3665
+ return {
3666
+ data: 'Data',
3667
+ sceneId: 'SceneId',
3668
+ };
3669
+ }
3670
+ static types() {
3671
+ return {
3672
+ data: 'string',
3673
+ sceneId: 'string',
3674
+ };
3675
+ }
3676
+ }
3677
+ exports.SaveMinimapRequest = SaveMinimapRequest;
3678
+ class SaveMinimapResponseBody extends $tea.Model {
3679
+ constructor(map) {
3680
+ super(map);
3681
+ }
3682
+ static names() {
3683
+ return {
3684
+ code: 'Code',
3685
+ message: 'Message',
3686
+ requestId: 'RequestId',
3687
+ success: 'Success',
3688
+ };
3689
+ }
3690
+ static types() {
3691
+ return {
3692
+ code: 'number',
3693
+ message: 'string',
3694
+ requestId: 'string',
3695
+ success: 'boolean',
3696
+ };
3697
+ }
3698
+ }
3699
+ exports.SaveMinimapResponseBody = SaveMinimapResponseBody;
3700
+ class SaveMinimapResponse extends $tea.Model {
3701
+ constructor(map) {
3702
+ super(map);
3703
+ }
3704
+ static names() {
3705
+ return {
3706
+ headers: 'headers',
3707
+ statusCode: 'statusCode',
3708
+ body: 'body',
3709
+ };
3710
+ }
3711
+ static types() {
3712
+ return {
3713
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3714
+ statusCode: 'number',
3715
+ body: SaveMinimapResponseBody,
3716
+ };
3717
+ }
3718
+ }
3719
+ exports.SaveMinimapResponse = SaveMinimapResponse;
3780
3720
  class SaveModelConfigRequest extends $tea.Model {
3781
3721
  constructor(map) {
3782
3722
  super(map);
@@ -5389,32 +5329,6 @@ class Client extends openapi_client_1.default {
5389
5329
  let runtime = new $Util.RuntimeOptions({});
5390
5330
  return await this.createUploadPolicyWithOptions(request, runtime);
5391
5331
  }
5392
- async decryptContentWithOptions(request, runtime) {
5393
- tea_util_1.default.validateModel(request);
5394
- let query = {};
5395
- if (!tea_util_1.default.isUnset(request.content)) {
5396
- query["Content"] = request.content;
5397
- }
5398
- let req = new $OpenApi.OpenApiRequest({
5399
- query: openapi_util_1.default.query(query),
5400
- });
5401
- let params = new $OpenApi.Params({
5402
- action: "DecryptContent",
5403
- version: "2020-01-01",
5404
- protocol: "HTTPS",
5405
- pathname: "/",
5406
- method: "POST",
5407
- authType: "AK",
5408
- style: "RPC",
5409
- reqBodyType: "formData",
5410
- bodyType: "json",
5411
- });
5412
- return $tea.cast(await this.callApi(params, req, runtime), new DecryptContentResponse({}));
5413
- }
5414
- async decryptContent(request) {
5415
- let runtime = new $Util.RuntimeOptions({});
5416
- return await this.decryptContentWithOptions(request, runtime);
5417
- }
5418
5332
  async detailProjectWithOptions(request, runtime) {
5419
5333
  tea_util_1.default.validateModel(request);
5420
5334
  let query = {};
@@ -5571,32 +5485,6 @@ class Client extends openapi_client_1.default {
5571
5485
  let runtime = new $Util.RuntimeOptions({});
5572
5486
  return await this.dropSubSceneWithOptions(request, runtime);
5573
5487
  }
5574
- async encryptContentWithOptions(request, runtime) {
5575
- tea_util_1.default.validateModel(request);
5576
- let query = {};
5577
- if (!tea_util_1.default.isUnset(request.content)) {
5578
- query["Content"] = request.content;
5579
- }
5580
- let req = new $OpenApi.OpenApiRequest({
5581
- query: openapi_util_1.default.query(query),
5582
- });
5583
- let params = new $OpenApi.Params({
5584
- action: "EncryptContent",
5585
- version: "2020-01-01",
5586
- protocol: "HTTPS",
5587
- pathname: "/",
5588
- method: "POST",
5589
- authType: "AK",
5590
- style: "RPC",
5591
- reqBodyType: "formData",
5592
- bodyType: "json",
5593
- });
5594
- return $tea.cast(await this.callApi(params, req, runtime), new EncryptContentResponse({}));
5595
- }
5596
- async encryptContent(request) {
5597
- let runtime = new $Util.RuntimeOptions({});
5598
- return await this.encryptContentWithOptions(request, runtime);
5599
- }
5600
5488
  async getConnDataWithOptions(request, runtime) {
5601
5489
  tea_util_1.default.validateModel(request);
5602
5490
  let query = {};
@@ -6804,6 +6692,35 @@ class Client extends openapi_client_1.default {
6804
6692
  let runtime = new $Util.RuntimeOptions({});
6805
6693
  return await this.saveHotspotTagListWithOptions(request, runtime);
6806
6694
  }
6695
+ async saveMinimapWithOptions(request, runtime) {
6696
+ tea_util_1.default.validateModel(request);
6697
+ let query = {};
6698
+ if (!tea_util_1.default.isUnset(request.data)) {
6699
+ query["Data"] = request.data;
6700
+ }
6701
+ if (!tea_util_1.default.isUnset(request.sceneId)) {
6702
+ query["SceneId"] = request.sceneId;
6703
+ }
6704
+ let req = new $OpenApi.OpenApiRequest({
6705
+ query: openapi_util_1.default.query(query),
6706
+ });
6707
+ let params = new $OpenApi.Params({
6708
+ action: "SaveMinimap",
6709
+ version: "2020-01-01",
6710
+ protocol: "HTTPS",
6711
+ pathname: "/",
6712
+ method: "POST",
6713
+ authType: "AK",
6714
+ style: "RPC",
6715
+ reqBodyType: "formData",
6716
+ bodyType: "json",
6717
+ });
6718
+ return $tea.cast(await this.callApi(params, req, runtime), new SaveMinimapResponse({}));
6719
+ }
6720
+ async saveMinimap(request) {
6721
+ let runtime = new $Util.RuntimeOptions({});
6722
+ return await this.saveMinimapWithOptions(request, runtime);
6723
+ }
6807
6724
  async saveModelConfigWithOptions(request, runtime) {
6808
6725
  tea_util_1.default.validateModel(request);
6809
6726
  let query = {};