@alicloud/tdsr20200101 3.0.2 → 3.0.3

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/src/client.ts CHANGED
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import Util, * as $Util from '@alicloud/tea-util';
6
6
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
7
+ import OpenApiUtil from '@alicloud/openapi-util';
7
8
  import EndpointUtil from '@alicloud/endpoint-util';
8
9
  import * as $tea from '@alicloud/tea-typescript';
9
10
 
@@ -310,10 +311,12 @@ export class AddSceneResponse extends $tea.Model {
310
311
  export class AddSubSceneRequest extends $tea.Model {
311
312
  name?: string;
312
313
  sceneId?: string;
314
+ uploadType?: string;
313
315
  static names(): { [key: string]: string } {
314
316
  return {
315
317
  name: 'Name',
316
318
  sceneId: 'SceneId',
319
+ uploadType: 'UploadType',
317
320
  };
318
321
  }
319
322
 
@@ -321,6 +324,7 @@ export class AddSubSceneRequest extends $tea.Model {
321
324
  return {
322
325
  name: 'string',
323
326
  sceneId: 'string',
327
+ uploadType: 'string',
324
328
  };
325
329
  }
326
330
 
@@ -3523,12 +3527,14 @@ export class RectVerticalResponseBody extends $tea.Model {
3523
3527
  message?: string;
3524
3528
  requestId?: string;
3525
3529
  success?: boolean;
3530
+ taskId?: string;
3526
3531
  static names(): { [key: string]: string } {
3527
3532
  return {
3528
3533
  code: 'Code',
3529
3534
  message: 'Message',
3530
3535
  requestId: 'RequestId',
3531
3536
  success: 'Success',
3537
+ taskId: 'TaskId',
3532
3538
  };
3533
3539
  }
3534
3540
 
@@ -3538,6 +3544,7 @@ export class RectVerticalResponseBody extends $tea.Model {
3538
3544
  message: 'string',
3539
3545
  requestId: 'string',
3540
3546
  success: 'boolean',
3547
+ taskId: 'string',
3541
3548
  };
3542
3549
  }
3543
3550
 
@@ -4691,6 +4698,7 @@ export class ListSubSceneResponseBodyList extends $tea.Model {
4691
4698
  resourceId?: string;
4692
4699
  resourceName?: string;
4693
4700
  status?: number;
4701
+ type?: string;
4694
4702
  url?: string;
4695
4703
  static names(): { [key: string]: string } {
4696
4704
  return {
@@ -4707,6 +4715,7 @@ export class ListSubSceneResponseBodyList extends $tea.Model {
4707
4715
  resourceId: 'ResourceId',
4708
4716
  resourceName: 'ResourceName',
4709
4717
  status: 'Status',
4718
+ type: 'Type',
4710
4719
  url: 'Url',
4711
4720
  };
4712
4721
  }
@@ -4726,6 +4735,7 @@ export class ListSubSceneResponseBodyList extends $tea.Model {
4726
4735
  resourceId: 'string',
4727
4736
  resourceName: 'string',
4728
4737
  status: 'number',
4738
+ type: 'string',
4729
4739
  url: 'string',
4730
4740
  };
4731
4741
  }
@@ -4763,10 +4773,25 @@ export default class Client extends OpenApi {
4763
4773
 
4764
4774
  async addMosaicsWithOptions(request: AddMosaicsRequest, runtime: $Util.RuntimeOptions): Promise<AddMosaicsResponse> {
4765
4775
  Util.validateModel(request);
4776
+ let query = { };
4777
+ query["MarkPosition"] = request.markPosition;
4778
+ query["SubSceneId"] = request.subSceneId;
4766
4779
  let req = new $OpenApi.OpenApiRequest({
4780
+ query: OpenApiUtil.query(query),
4767
4781
  body: Util.toMap(request),
4768
4782
  });
4769
- return $tea.cast<AddMosaicsResponse>(await this.doRPCRequest("AddMosaics", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new AddMosaicsResponse({}));
4783
+ let params = new $OpenApi.Params({
4784
+ action: "AddMosaics",
4785
+ version: "2020-01-01",
4786
+ protocol: "HTTPS",
4787
+ pathname: "/",
4788
+ method: "POST",
4789
+ authType: "AK",
4790
+ style: "RPC",
4791
+ reqBodyType: "json",
4792
+ bodyType: "json",
4793
+ });
4794
+ return $tea.cast<AddMosaicsResponse>(await this.callApi(params, req, runtime), new AddMosaicsResponse({}));
4770
4795
  }
4771
4796
 
4772
4797
  async addMosaics(request: AddMosaicsRequest): Promise<AddMosaicsResponse> {
@@ -4776,10 +4801,25 @@ export default class Client extends OpenApi {
4776
4801
 
4777
4802
  async addProjectWithOptions(request: AddProjectRequest, runtime: $Util.RuntimeOptions): Promise<AddProjectResponse> {
4778
4803
  Util.validateModel(request);
4804
+ let query = { };
4805
+ query["BusinessId"] = request.businessId;
4806
+ query["Name"] = request.name;
4779
4807
  let req = new $OpenApi.OpenApiRequest({
4808
+ query: OpenApiUtil.query(query),
4780
4809
  body: Util.toMap(request),
4781
4810
  });
4782
- return $tea.cast<AddProjectResponse>(await this.doRPCRequest("AddProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new AddProjectResponse({}));
4811
+ let params = new $OpenApi.Params({
4812
+ action: "AddProject",
4813
+ version: "2020-01-01",
4814
+ protocol: "HTTPS",
4815
+ pathname: "/",
4816
+ method: "POST",
4817
+ authType: "AK",
4818
+ style: "RPC",
4819
+ reqBodyType: "json",
4820
+ bodyType: "json",
4821
+ });
4822
+ return $tea.cast<AddProjectResponse>(await this.callApi(params, req, runtime), new AddProjectResponse({}));
4783
4823
  }
4784
4824
 
4785
4825
  async addProject(request: AddProjectRequest): Promise<AddProjectResponse> {
@@ -4789,10 +4829,25 @@ export default class Client extends OpenApi {
4789
4829
 
4790
4830
  async addRelativePositionWithOptions(request: AddRelativePositionRequest, runtime: $Util.RuntimeOptions): Promise<AddRelativePositionResponse> {
4791
4831
  Util.validateModel(request);
4832
+ let query = { };
4833
+ query["RelativePosition"] = request.relativePosition;
4834
+ query["SceneId"] = request.sceneId;
4792
4835
  let req = new $OpenApi.OpenApiRequest({
4836
+ query: OpenApiUtil.query(query),
4793
4837
  body: Util.toMap(request),
4794
4838
  });
4795
- return $tea.cast<AddRelativePositionResponse>(await this.doRPCRequest("AddRelativePosition", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new AddRelativePositionResponse({}));
4839
+ let params = new $OpenApi.Params({
4840
+ action: "AddRelativePosition",
4841
+ version: "2020-01-01",
4842
+ protocol: "HTTPS",
4843
+ pathname: "/",
4844
+ method: "POST",
4845
+ authType: "AK",
4846
+ style: "RPC",
4847
+ reqBodyType: "json",
4848
+ bodyType: "json",
4849
+ });
4850
+ return $tea.cast<AddRelativePositionResponse>(await this.callApi(params, req, runtime), new AddRelativePositionResponse({}));
4796
4851
  }
4797
4852
 
4798
4853
  async addRelativePosition(request: AddRelativePositionRequest): Promise<AddRelativePositionResponse> {
@@ -4802,10 +4857,26 @@ export default class Client extends OpenApi {
4802
4857
 
4803
4858
  async addSceneWithOptions(request: AddSceneRequest, runtime: $Util.RuntimeOptions): Promise<AddSceneResponse> {
4804
4859
  Util.validateModel(request);
4860
+ let query = { };
4861
+ query["Name"] = request.name;
4862
+ query["ProjectId"] = request.projectId;
4863
+ query["Type"] = request.type;
4805
4864
  let req = new $OpenApi.OpenApiRequest({
4865
+ query: OpenApiUtil.query(query),
4806
4866
  body: Util.toMap(request),
4807
4867
  });
4808
- return $tea.cast<AddSceneResponse>(await this.doRPCRequest("AddScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new AddSceneResponse({}));
4868
+ let params = new $OpenApi.Params({
4869
+ action: "AddScene",
4870
+ version: "2020-01-01",
4871
+ protocol: "HTTPS",
4872
+ pathname: "/",
4873
+ method: "POST",
4874
+ authType: "AK",
4875
+ style: "RPC",
4876
+ reqBodyType: "json",
4877
+ bodyType: "json",
4878
+ });
4879
+ return $tea.cast<AddSceneResponse>(await this.callApi(params, req, runtime), new AddSceneResponse({}));
4809
4880
  }
4810
4881
 
4811
4882
  async addScene(request: AddSceneRequest): Promise<AddSceneResponse> {
@@ -4815,10 +4886,26 @@ export default class Client extends OpenApi {
4815
4886
 
4816
4887
  async addSubSceneWithOptions(request: AddSubSceneRequest, runtime: $Util.RuntimeOptions): Promise<AddSubSceneResponse> {
4817
4888
  Util.validateModel(request);
4889
+ let query = { };
4890
+ query["Name"] = request.name;
4891
+ query["SceneId"] = request.sceneId;
4892
+ query["UploadType"] = request.uploadType;
4818
4893
  let req = new $OpenApi.OpenApiRequest({
4894
+ query: OpenApiUtil.query(query),
4819
4895
  body: Util.toMap(request),
4820
4896
  });
4821
- return $tea.cast<AddSubSceneResponse>(await this.doRPCRequest("AddSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new AddSubSceneResponse({}));
4897
+ let params = new $OpenApi.Params({
4898
+ action: "AddSubScene",
4899
+ version: "2020-01-01",
4900
+ protocol: "HTTPS",
4901
+ pathname: "/",
4902
+ method: "POST",
4903
+ authType: "AK",
4904
+ style: "RPC",
4905
+ reqBodyType: "json",
4906
+ bodyType: "json",
4907
+ });
4908
+ return $tea.cast<AddSubSceneResponse>(await this.callApi(params, req, runtime), new AddSubSceneResponse({}));
4822
4909
  }
4823
4910
 
4824
4911
  async addSubScene(request: AddSubSceneRequest): Promise<AddSubSceneResponse> {
@@ -4828,10 +4915,37 @@ export default class Client extends OpenApi {
4828
4915
 
4829
4916
  async checkResourceWithOptions(request: CheckResourceRequest, runtime: $Util.RuntimeOptions): Promise<CheckResourceResponse> {
4830
4917
  Util.validateModel(request);
4918
+ let query = { };
4919
+ query["Bid"] = request.bid;
4920
+ query["Country"] = request.country;
4921
+ query["GmtWakeup"] = request.gmtWakeup;
4922
+ query["Hid"] = request.hid;
4923
+ query["Interrupt"] = request.interrupt;
4924
+ query["Invoker"] = request.invoker;
4925
+ query["Level"] = request.level;
4926
+ query["Message"] = request.message;
4927
+ query["Pk"] = request.pk;
4928
+ query["Prompt"] = request.prompt;
4929
+ query["Success"] = request.success;
4930
+ query["TaskExtraData"] = request.taskExtraData;
4931
+ query["TaskIdentifier"] = request.taskIdentifier;
4932
+ query["Url"] = request.url;
4831
4933
  let req = new $OpenApi.OpenApiRequest({
4934
+ query: OpenApiUtil.query(query),
4832
4935
  body: Util.toMap(request),
4833
4936
  });
4834
- return $tea.cast<CheckResourceResponse>(await this.doRPCRequest("CheckResource", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new CheckResourceResponse({}));
4937
+ let params = new $OpenApi.Params({
4938
+ action: "CheckResource",
4939
+ version: "2020-01-01",
4940
+ protocol: "HTTPS",
4941
+ pathname: "/",
4942
+ method: "POST",
4943
+ authType: "AK",
4944
+ style: "RPC",
4945
+ reqBodyType: "json",
4946
+ bodyType: "json",
4947
+ });
4948
+ return $tea.cast<CheckResourceResponse>(await this.callApi(params, req, runtime), new CheckResourceResponse({}));
4835
4949
  }
4836
4950
 
4837
4951
  async checkResource(request: CheckResourceRequest): Promise<CheckResourceResponse> {
@@ -4841,10 +4955,28 @@ export default class Client extends OpenApi {
4841
4955
 
4842
4956
  async createProjectWithOptions(request: CreateProjectRequest, runtime: $Util.RuntimeOptions): Promise<CreateProjectResponse> {
4843
4957
  Util.validateModel(request);
4958
+ let query = { };
4959
+ query["BuilderUserIdList"] = request.builderUserIdList;
4960
+ query["BusinessId"] = request.businessId;
4961
+ query["BusinessUserIdList"] = request.businessUserIdList;
4962
+ query["GatherUserIdList"] = request.gatherUserIdList;
4963
+ query["Name"] = request.name;
4844
4964
  let req = new $OpenApi.OpenApiRequest({
4965
+ query: OpenApiUtil.query(query),
4845
4966
  body: Util.toMap(request),
4846
4967
  });
4847
- return $tea.cast<CreateProjectResponse>(await this.doRPCRequest("CreateProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new CreateProjectResponse({}));
4968
+ let params = new $OpenApi.Params({
4969
+ action: "CreateProject",
4970
+ version: "2020-01-01",
4971
+ protocol: "HTTPS",
4972
+ pathname: "/",
4973
+ method: "POST",
4974
+ authType: "AK",
4975
+ style: "RPC",
4976
+ reqBodyType: "json",
4977
+ bodyType: "json",
4978
+ });
4979
+ return $tea.cast<CreateProjectResponse>(await this.callApi(params, req, runtime), new CreateProjectResponse({}));
4848
4980
  }
4849
4981
 
4850
4982
  async createProject(request: CreateProjectRequest): Promise<CreateProjectResponse> {
@@ -4854,10 +4986,25 @@ export default class Client extends OpenApi {
4854
4986
 
4855
4987
  async createSceneWithOptions(request: CreateSceneRequest, runtime: $Util.RuntimeOptions): Promise<CreateSceneResponse> {
4856
4988
  Util.validateModel(request);
4989
+ let query = { };
4990
+ query["Name"] = request.name;
4991
+ query["ProjectId"] = request.projectId;
4857
4992
  let req = new $OpenApi.OpenApiRequest({
4993
+ query: OpenApiUtil.query(query),
4858
4994
  body: Util.toMap(request),
4859
4995
  });
4860
- return $tea.cast<CreateSceneResponse>(await this.doRPCRequest("CreateScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new CreateSceneResponse({}));
4996
+ let params = new $OpenApi.Params({
4997
+ action: "CreateScene",
4998
+ version: "2020-01-01",
4999
+ protocol: "HTTPS",
5000
+ pathname: "/",
5001
+ method: "POST",
5002
+ authType: "AK",
5003
+ style: "RPC",
5004
+ reqBodyType: "json",
5005
+ bodyType: "json",
5006
+ });
5007
+ return $tea.cast<CreateSceneResponse>(await this.callApi(params, req, runtime), new CreateSceneResponse({}));
4861
5008
  }
4862
5009
 
4863
5010
  async createScene(request: CreateSceneRequest): Promise<CreateSceneResponse> {
@@ -4867,10 +5014,25 @@ export default class Client extends OpenApi {
4867
5014
 
4868
5015
  async deleteFileWithOptions(request: DeleteFileRequest, runtime: $Util.RuntimeOptions): Promise<DeleteFileResponse> {
4869
5016
  Util.validateModel(request);
5017
+ let query = { };
5018
+ query["ParamFile"] = request.paramFile;
5019
+ query["SubSceneUuid"] = request.subSceneUuid;
4870
5020
  let req = new $OpenApi.OpenApiRequest({
5021
+ query: OpenApiUtil.query(query),
4871
5022
  body: Util.toMap(request),
4872
5023
  });
4873
- return $tea.cast<DeleteFileResponse>(await this.doRPCRequest("DeleteFile", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DeleteFileResponse({}));
5024
+ let params = new $OpenApi.Params({
5025
+ action: "DeleteFile",
5026
+ version: "2020-01-01",
5027
+ protocol: "HTTPS",
5028
+ pathname: "/",
5029
+ method: "POST",
5030
+ authType: "AK",
5031
+ style: "RPC",
5032
+ reqBodyType: "json",
5033
+ bodyType: "json",
5034
+ });
5035
+ return $tea.cast<DeleteFileResponse>(await this.callApi(params, req, runtime), new DeleteFileResponse({}));
4874
5036
  }
4875
5037
 
4876
5038
  async deleteFile(request: DeleteFileRequest): Promise<DeleteFileResponse> {
@@ -4880,10 +5042,24 @@ export default class Client extends OpenApi {
4880
5042
 
4881
5043
  async deleteProjectWithOptions(request: DeleteProjectRequest, runtime: $Util.RuntimeOptions): Promise<DeleteProjectResponse> {
4882
5044
  Util.validateModel(request);
5045
+ let query = { };
5046
+ query["ProjectId"] = request.projectId;
4883
5047
  let req = new $OpenApi.OpenApiRequest({
5048
+ query: OpenApiUtil.query(query),
4884
5049
  body: Util.toMap(request),
4885
5050
  });
4886
- return $tea.cast<DeleteProjectResponse>(await this.doRPCRequest("DeleteProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DeleteProjectResponse({}));
5051
+ let params = new $OpenApi.Params({
5052
+ action: "DeleteProject",
5053
+ version: "2020-01-01",
5054
+ protocol: "HTTPS",
5055
+ pathname: "/",
5056
+ method: "POST",
5057
+ authType: "AK",
5058
+ style: "RPC",
5059
+ reqBodyType: "json",
5060
+ bodyType: "json",
5061
+ });
5062
+ return $tea.cast<DeleteProjectResponse>(await this.callApi(params, req, runtime), new DeleteProjectResponse({}));
4887
5063
  }
4888
5064
 
4889
5065
  async deleteProject(request: DeleteProjectRequest): Promise<DeleteProjectResponse> {
@@ -4893,10 +5069,24 @@ export default class Client extends OpenApi {
4893
5069
 
4894
5070
  async detailProjectWithOptions(request: DetailProjectRequest, runtime: $Util.RuntimeOptions): Promise<DetailProjectResponse> {
4895
5071
  Util.validateModel(request);
5072
+ let query = { };
5073
+ query["Id"] = request.id;
4896
5074
  let req = new $OpenApi.OpenApiRequest({
5075
+ query: OpenApiUtil.query(query),
4897
5076
  body: Util.toMap(request),
4898
5077
  });
4899
- return $tea.cast<DetailProjectResponse>(await this.doRPCRequest("DetailProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DetailProjectResponse({}));
5078
+ let params = new $OpenApi.Params({
5079
+ action: "DetailProject",
5080
+ version: "2020-01-01",
5081
+ protocol: "HTTPS",
5082
+ pathname: "/",
5083
+ method: "POST",
5084
+ authType: "AK",
5085
+ style: "RPC",
5086
+ reqBodyType: "json",
5087
+ bodyType: "json",
5088
+ });
5089
+ return $tea.cast<DetailProjectResponse>(await this.callApi(params, req, runtime), new DetailProjectResponse({}));
4900
5090
  }
4901
5091
 
4902
5092
  async detailProject(request: DetailProjectRequest): Promise<DetailProjectResponse> {
@@ -4906,10 +5096,24 @@ export default class Client extends OpenApi {
4906
5096
 
4907
5097
  async detailSceneWithOptions(request: DetailSceneRequest, runtime: $Util.RuntimeOptions): Promise<DetailSceneResponse> {
4908
5098
  Util.validateModel(request);
5099
+ let query = { };
5100
+ query["Id"] = request.id;
4909
5101
  let req = new $OpenApi.OpenApiRequest({
5102
+ query: OpenApiUtil.query(query),
4910
5103
  body: Util.toMap(request),
4911
5104
  });
4912
- return $tea.cast<DetailSceneResponse>(await this.doRPCRequest("DetailScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DetailSceneResponse({}));
5105
+ let params = new $OpenApi.Params({
5106
+ action: "DetailScene",
5107
+ version: "2020-01-01",
5108
+ protocol: "HTTPS",
5109
+ pathname: "/",
5110
+ method: "POST",
5111
+ authType: "AK",
5112
+ style: "RPC",
5113
+ reqBodyType: "json",
5114
+ bodyType: "json",
5115
+ });
5116
+ return $tea.cast<DetailSceneResponse>(await this.callApi(params, req, runtime), new DetailSceneResponse({}));
4913
5117
  }
4914
5118
 
4915
5119
  async detailScene(request: DetailSceneRequest): Promise<DetailSceneResponse> {
@@ -4919,10 +5123,24 @@ export default class Client extends OpenApi {
4919
5123
 
4920
5124
  async detailSubSceneWithOptions(request: DetailSubSceneRequest, runtime: $Util.RuntimeOptions): Promise<DetailSubSceneResponse> {
4921
5125
  Util.validateModel(request);
5126
+ let query = { };
5127
+ query["Id"] = request.id;
4922
5128
  let req = new $OpenApi.OpenApiRequest({
5129
+ query: OpenApiUtil.query(query),
4923
5130
  body: Util.toMap(request),
4924
5131
  });
4925
- return $tea.cast<DetailSubSceneResponse>(await this.doRPCRequest("DetailSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DetailSubSceneResponse({}));
5132
+ let params = new $OpenApi.Params({
5133
+ action: "DetailSubScene",
5134
+ version: "2020-01-01",
5135
+ protocol: "HTTPS",
5136
+ pathname: "/",
5137
+ method: "POST",
5138
+ authType: "AK",
5139
+ style: "RPC",
5140
+ reqBodyType: "json",
5141
+ bodyType: "json",
5142
+ });
5143
+ return $tea.cast<DetailSubSceneResponse>(await this.callApi(params, req, runtime), new DetailSubSceneResponse({}));
4926
5144
  }
4927
5145
 
4928
5146
  async detailSubScene(request: DetailSubSceneRequest): Promise<DetailSubSceneResponse> {
@@ -4932,10 +5150,24 @@ export default class Client extends OpenApi {
4932
5150
 
4933
5151
  async dropProjectWithOptions(request: DropProjectRequest, runtime: $Util.RuntimeOptions): Promise<DropProjectResponse> {
4934
5152
  Util.validateModel(request);
5153
+ let query = { };
5154
+ query["ProjectId"] = request.projectId;
4935
5155
  let req = new $OpenApi.OpenApiRequest({
5156
+ query: OpenApiUtil.query(query),
4936
5157
  body: Util.toMap(request),
4937
5158
  });
4938
- return $tea.cast<DropProjectResponse>(await this.doRPCRequest("DropProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DropProjectResponse({}));
5159
+ let params = new $OpenApi.Params({
5160
+ action: "DropProject",
5161
+ version: "2020-01-01",
5162
+ protocol: "HTTPS",
5163
+ pathname: "/",
5164
+ method: "POST",
5165
+ authType: "AK",
5166
+ style: "RPC",
5167
+ reqBodyType: "json",
5168
+ bodyType: "json",
5169
+ });
5170
+ return $tea.cast<DropProjectResponse>(await this.callApi(params, req, runtime), new DropProjectResponse({}));
4939
5171
  }
4940
5172
 
4941
5173
  async dropProject(request: DropProjectRequest): Promise<DropProjectResponse> {
@@ -4945,10 +5177,24 @@ export default class Client extends OpenApi {
4945
5177
 
4946
5178
  async dropSceneWithOptions(request: DropSceneRequest, runtime: $Util.RuntimeOptions): Promise<DropSceneResponse> {
4947
5179
  Util.validateModel(request);
5180
+ let query = { };
5181
+ query["Id"] = request.id;
4948
5182
  let req = new $OpenApi.OpenApiRequest({
5183
+ query: OpenApiUtil.query(query),
4949
5184
  body: Util.toMap(request),
4950
5185
  });
4951
- return $tea.cast<DropSceneResponse>(await this.doRPCRequest("DropScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DropSceneResponse({}));
5186
+ let params = new $OpenApi.Params({
5187
+ action: "DropScene",
5188
+ version: "2020-01-01",
5189
+ protocol: "HTTPS",
5190
+ pathname: "/",
5191
+ method: "POST",
5192
+ authType: "AK",
5193
+ style: "RPC",
5194
+ reqBodyType: "json",
5195
+ bodyType: "json",
5196
+ });
5197
+ return $tea.cast<DropSceneResponse>(await this.callApi(params, req, runtime), new DropSceneResponse({}));
4952
5198
  }
4953
5199
 
4954
5200
  async dropScene(request: DropSceneRequest): Promise<DropSceneResponse> {
@@ -4958,10 +5204,24 @@ export default class Client extends OpenApi {
4958
5204
 
4959
5205
  async dropSubSceneWithOptions(request: DropSubSceneRequest, runtime: $Util.RuntimeOptions): Promise<DropSubSceneResponse> {
4960
5206
  Util.validateModel(request);
5207
+ let query = { };
5208
+ query["Id"] = request.id;
4961
5209
  let req = new $OpenApi.OpenApiRequest({
5210
+ query: OpenApiUtil.query(query),
4962
5211
  body: Util.toMap(request),
4963
5212
  });
4964
- return $tea.cast<DropSubSceneResponse>(await this.doRPCRequest("DropSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DropSubSceneResponse({}));
5213
+ let params = new $OpenApi.Params({
5214
+ action: "DropSubScene",
5215
+ version: "2020-01-01",
5216
+ protocol: "HTTPS",
5217
+ pathname: "/",
5218
+ method: "POST",
5219
+ authType: "AK",
5220
+ style: "RPC",
5221
+ reqBodyType: "json",
5222
+ bodyType: "json",
5223
+ });
5224
+ return $tea.cast<DropSubSceneResponse>(await this.callApi(params, req, runtime), new DropSubSceneResponse({}));
4965
5225
  }
4966
5226
 
4967
5227
  async dropSubScene(request: DropSubSceneRequest): Promise<DropSubSceneResponse> {
@@ -4971,10 +5231,24 @@ export default class Client extends OpenApi {
4971
5231
 
4972
5232
  async getConnDataWithOptions(request: GetConnDataRequest, runtime: $Util.RuntimeOptions): Promise<GetConnDataResponse> {
4973
5233
  Util.validateModel(request);
5234
+ let query = { };
5235
+ query["SceneId"] = request.sceneId;
4974
5236
  let req = new $OpenApi.OpenApiRequest({
5237
+ query: OpenApiUtil.query(query),
4975
5238
  body: Util.toMap(request),
4976
5239
  });
4977
- return $tea.cast<GetConnDataResponse>(await this.doRPCRequest("GetConnData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetConnDataResponse({}));
5240
+ let params = new $OpenApi.Params({
5241
+ action: "GetConnData",
5242
+ version: "2020-01-01",
5243
+ protocol: "HTTPS",
5244
+ pathname: "/",
5245
+ method: "POST",
5246
+ authType: "AK",
5247
+ style: "RPC",
5248
+ reqBodyType: "json",
5249
+ bodyType: "json",
5250
+ });
5251
+ return $tea.cast<GetConnDataResponse>(await this.callApi(params, req, runtime), new GetConnDataResponse({}));
4978
5252
  }
4979
5253
 
4980
5254
  async getConnData(request: GetConnDataRequest): Promise<GetConnDataResponse> {
@@ -4984,10 +5258,27 @@ export default class Client extends OpenApi {
4984
5258
 
4985
5259
  async getHotspotConfigWithOptions(request: GetHotspotConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetHotspotConfigResponse> {
4986
5260
  Util.validateModel(request);
5261
+ let query = { };
5262
+ query["Domain"] = request.domain;
5263
+ query["Enabled"] = request.enabled;
5264
+ query["PreviewToken"] = request.previewToken;
5265
+ query["Type"] = request.type;
4987
5266
  let req = new $OpenApi.OpenApiRequest({
5267
+ query: OpenApiUtil.query(query),
4988
5268
  body: Util.toMap(request),
4989
5269
  });
4990
- return $tea.cast<GetHotspotConfigResponse>(await this.doRPCRequest("GetHotspotConfig", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetHotspotConfigResponse({}));
5270
+ let params = new $OpenApi.Params({
5271
+ action: "GetHotspotConfig",
5272
+ version: "2020-01-01",
5273
+ protocol: "HTTPS",
5274
+ pathname: "/",
5275
+ method: "POST",
5276
+ authType: "AK",
5277
+ style: "RPC",
5278
+ reqBodyType: "json",
5279
+ bodyType: "json",
5280
+ });
5281
+ return $tea.cast<GetHotspotConfigResponse>(await this.callApi(params, req, runtime), new GetHotspotConfigResponse({}));
4991
5282
  }
4992
5283
 
4993
5284
  async getHotspotConfig(request: GetHotspotConfigRequest): Promise<GetHotspotConfigResponse> {
@@ -4997,10 +5288,27 @@ export default class Client extends OpenApi {
4997
5288
 
4998
5289
  async getHotspotSceneDataWithOptions(request: GetHotspotSceneDataRequest, runtime: $Util.RuntimeOptions): Promise<GetHotspotSceneDataResponse> {
4999
5290
  Util.validateModel(request);
5291
+ let query = { };
5292
+ query["Domain"] = request.domain;
5293
+ query["Enabled"] = request.enabled;
5294
+ query["PreviewToken"] = request.previewToken;
5295
+ query["Type"] = request.type;
5000
5296
  let req = new $OpenApi.OpenApiRequest({
5297
+ query: OpenApiUtil.query(query),
5001
5298
  body: Util.toMap(request),
5002
5299
  });
5003
- return $tea.cast<GetHotspotSceneDataResponse>(await this.doRPCRequest("GetHotspotSceneData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetHotspotSceneDataResponse({}));
5300
+ let params = new $OpenApi.Params({
5301
+ action: "GetHotspotSceneData",
5302
+ version: "2020-01-01",
5303
+ protocol: "HTTPS",
5304
+ pathname: "/",
5305
+ method: "POST",
5306
+ authType: "AK",
5307
+ style: "RPC",
5308
+ reqBodyType: "json",
5309
+ bodyType: "json",
5310
+ });
5311
+ return $tea.cast<GetHotspotSceneDataResponse>(await this.callApi(params, req, runtime), new GetHotspotSceneDataResponse({}));
5004
5312
  }
5005
5313
 
5006
5314
  async getHotspotSceneData(request: GetHotspotSceneDataRequest): Promise<GetHotspotSceneDataResponse> {
@@ -5010,10 +5318,28 @@ export default class Client extends OpenApi {
5010
5318
 
5011
5319
  async getHotspotTagWithOptions(request: GetHotspotTagRequest, runtime: $Util.RuntimeOptions): Promise<GetHotspotTagResponse> {
5012
5320
  Util.validateModel(request);
5321
+ let query = { };
5322
+ query["Domain"] = request.domain;
5323
+ query["Enabled"] = request.enabled;
5324
+ query["PreviewToken"] = request.previewToken;
5325
+ query["SubSceneUuid"] = request.subSceneUuid;
5326
+ query["Type"] = request.type;
5013
5327
  let req = new $OpenApi.OpenApiRequest({
5328
+ query: OpenApiUtil.query(query),
5014
5329
  body: Util.toMap(request),
5015
5330
  });
5016
- return $tea.cast<GetHotspotTagResponse>(await this.doRPCRequest("GetHotspotTag", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetHotspotTagResponse({}));
5331
+ let params = new $OpenApi.Params({
5332
+ action: "GetHotspotTag",
5333
+ version: "2020-01-01",
5334
+ protocol: "HTTPS",
5335
+ pathname: "/",
5336
+ method: "POST",
5337
+ authType: "AK",
5338
+ style: "RPC",
5339
+ reqBodyType: "json",
5340
+ bodyType: "json",
5341
+ });
5342
+ return $tea.cast<GetHotspotTagResponse>(await this.callApi(params, req, runtime), new GetHotspotTagResponse({}));
5017
5343
  }
5018
5344
 
5019
5345
  async getHotspotTag(request: GetHotspotTagRequest): Promise<GetHotspotTagResponse> {
@@ -5023,10 +5349,24 @@ export default class Client extends OpenApi {
5023
5349
 
5024
5350
  async getLayoutDataWithOptions(request: GetLayoutDataRequest, runtime: $Util.RuntimeOptions): Promise<GetLayoutDataResponse> {
5025
5351
  Util.validateModel(request);
5352
+ let query = { };
5353
+ query["SubSceneId"] = request.subSceneId;
5026
5354
  let req = new $OpenApi.OpenApiRequest({
5355
+ query: OpenApiUtil.query(query),
5027
5356
  body: Util.toMap(request),
5028
5357
  });
5029
- return $tea.cast<GetLayoutDataResponse>(await this.doRPCRequest("GetLayoutData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetLayoutDataResponse({}));
5358
+ let params = new $OpenApi.Params({
5359
+ action: "GetLayoutData",
5360
+ version: "2020-01-01",
5361
+ protocol: "HTTPS",
5362
+ pathname: "/",
5363
+ method: "POST",
5364
+ authType: "AK",
5365
+ style: "RPC",
5366
+ reqBodyType: "json",
5367
+ bodyType: "json",
5368
+ });
5369
+ return $tea.cast<GetLayoutDataResponse>(await this.callApi(params, req, runtime), new GetLayoutDataResponse({}));
5030
5370
  }
5031
5371
 
5032
5372
  async getLayoutData(request: GetLayoutDataRequest): Promise<GetLayoutDataResponse> {
@@ -5036,10 +5376,24 @@ export default class Client extends OpenApi {
5036
5376
 
5037
5377
  async getOriginLayoutDataWithOptions(request: GetOriginLayoutDataRequest, runtime: $Util.RuntimeOptions): Promise<GetOriginLayoutDataResponse> {
5038
5378
  Util.validateModel(request);
5379
+ let query = { };
5380
+ query["SubSceneId"] = request.subSceneId;
5039
5381
  let req = new $OpenApi.OpenApiRequest({
5382
+ query: OpenApiUtil.query(query),
5040
5383
  body: Util.toMap(request),
5041
5384
  });
5042
- return $tea.cast<GetOriginLayoutDataResponse>(await this.doRPCRequest("GetOriginLayoutData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetOriginLayoutDataResponse({}));
5385
+ let params = new $OpenApi.Params({
5386
+ action: "GetOriginLayoutData",
5387
+ version: "2020-01-01",
5388
+ protocol: "HTTPS",
5389
+ pathname: "/",
5390
+ method: "POST",
5391
+ authType: "AK",
5392
+ style: "RPC",
5393
+ reqBodyType: "json",
5394
+ bodyType: "json",
5395
+ });
5396
+ return $tea.cast<GetOriginLayoutDataResponse>(await this.callApi(params, req, runtime), new GetOriginLayoutDataResponse({}));
5043
5397
  }
5044
5398
 
5045
5399
  async getOriginLayoutData(request: GetOriginLayoutDataRequest): Promise<GetOriginLayoutDataResponse> {
@@ -5049,10 +5403,24 @@ export default class Client extends OpenApi {
5049
5403
 
5050
5404
  async getOssPolicyWithOptions(request: GetOssPolicyRequest, runtime: $Util.RuntimeOptions): Promise<GetOssPolicyResponse> {
5051
5405
  Util.validateModel(request);
5406
+ let query = { };
5407
+ query["SubSceneId"] = request.subSceneId;
5052
5408
  let req = new $OpenApi.OpenApiRequest({
5409
+ query: OpenApiUtil.query(query),
5053
5410
  body: Util.toMap(request),
5054
5411
  });
5055
- return $tea.cast<GetOssPolicyResponse>(await this.doRPCRequest("GetOssPolicy", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetOssPolicyResponse({}));
5412
+ let params = new $OpenApi.Params({
5413
+ action: "GetOssPolicy",
5414
+ version: "2020-01-01",
5415
+ protocol: "HTTPS",
5416
+ pathname: "/",
5417
+ method: "POST",
5418
+ authType: "AK",
5419
+ style: "RPC",
5420
+ reqBodyType: "json",
5421
+ bodyType: "json",
5422
+ });
5423
+ return $tea.cast<GetOssPolicyResponse>(await this.callApi(params, req, runtime), new GetOssPolicyResponse({}));
5056
5424
  }
5057
5425
 
5058
5426
  async getOssPolicy(request: GetOssPolicyRequest): Promise<GetOssPolicyResponse> {
@@ -5062,10 +5430,25 @@ export default class Client extends OpenApi {
5062
5430
 
5063
5431
  async getPolicyWithOptions(request: GetPolicyRequest, runtime: $Util.RuntimeOptions): Promise<GetPolicyResponse> {
5064
5432
  Util.validateModel(request);
5433
+ let query = { };
5434
+ query["SubSceneUuid"] = request.subSceneUuid;
5435
+ query["Type"] = request.type;
5065
5436
  let req = new $OpenApi.OpenApiRequest({
5437
+ query: OpenApiUtil.query(query),
5066
5438
  body: Util.toMap(request),
5067
5439
  });
5068
- return $tea.cast<GetPolicyResponse>(await this.doRPCRequest("GetPolicy", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetPolicyResponse({}));
5440
+ let params = new $OpenApi.Params({
5441
+ action: "GetPolicy",
5442
+ version: "2020-01-01",
5443
+ protocol: "HTTPS",
5444
+ pathname: "/",
5445
+ method: "POST",
5446
+ authType: "AK",
5447
+ style: "RPC",
5448
+ reqBodyType: "json",
5449
+ bodyType: "json",
5450
+ });
5451
+ return $tea.cast<GetPolicyResponse>(await this.callApi(params, req, runtime), new GetPolicyResponse({}));
5069
5452
  }
5070
5453
 
5071
5454
  async getPolicy(request: GetPolicyRequest): Promise<GetPolicyResponse> {
@@ -5075,10 +5458,24 @@ export default class Client extends OpenApi {
5075
5458
 
5076
5459
  async getRectifyImageWithOptions(request: GetRectifyImageRequest, runtime: $Util.RuntimeOptions): Promise<GetRectifyImageResponse> {
5077
5460
  Util.validateModel(request);
5461
+ let query = { };
5462
+ query["SubSceneId"] = request.subSceneId;
5078
5463
  let req = new $OpenApi.OpenApiRequest({
5464
+ query: OpenApiUtil.query(query),
5079
5465
  body: Util.toMap(request),
5080
5466
  });
5081
- return $tea.cast<GetRectifyImageResponse>(await this.doRPCRequest("GetRectifyImage", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetRectifyImageResponse({}));
5467
+ let params = new $OpenApi.Params({
5468
+ action: "GetRectifyImage",
5469
+ version: "2020-01-01",
5470
+ protocol: "HTTPS",
5471
+ pathname: "/",
5472
+ method: "POST",
5473
+ authType: "AK",
5474
+ style: "RPC",
5475
+ reqBodyType: "json",
5476
+ bodyType: "json",
5477
+ });
5478
+ return $tea.cast<GetRectifyImageResponse>(await this.callApi(params, req, runtime), new GetRectifyImageResponse({}));
5082
5479
  }
5083
5480
 
5084
5481
  async getRectifyImage(request: GetRectifyImageRequest): Promise<GetRectifyImageResponse> {
@@ -5088,10 +5485,24 @@ export default class Client extends OpenApi {
5088
5485
 
5089
5486
  async getSceneBuildTaskStatusWithOptions(request: GetSceneBuildTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSceneBuildTaskStatusResponse> {
5090
5487
  Util.validateModel(request);
5488
+ let query = { };
5489
+ query["SceneId"] = request.sceneId;
5091
5490
  let req = new $OpenApi.OpenApiRequest({
5491
+ query: OpenApiUtil.query(query),
5092
5492
  body: Util.toMap(request),
5093
5493
  });
5094
- return $tea.cast<GetSceneBuildTaskStatusResponse>(await this.doRPCRequest("GetSceneBuildTaskStatus", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetSceneBuildTaskStatusResponse({}));
5494
+ let params = new $OpenApi.Params({
5495
+ action: "GetSceneBuildTaskStatus",
5496
+ version: "2020-01-01",
5497
+ protocol: "HTTPS",
5498
+ pathname: "/",
5499
+ method: "POST",
5500
+ authType: "AK",
5501
+ style: "RPC",
5502
+ reqBodyType: "json",
5503
+ bodyType: "json",
5504
+ });
5505
+ return $tea.cast<GetSceneBuildTaskStatusResponse>(await this.callApi(params, req, runtime), new GetSceneBuildTaskStatusResponse({}));
5095
5506
  }
5096
5507
 
5097
5508
  async getSceneBuildTaskStatus(request: GetSceneBuildTaskStatusRequest): Promise<GetSceneBuildTaskStatusResponse> {
@@ -5101,10 +5512,26 @@ export default class Client extends OpenApi {
5101
5512
 
5102
5513
  async getScenePreviewInfoWithOptions(request: GetScenePreviewInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetScenePreviewInfoResponse> {
5103
5514
  Util.validateModel(request);
5515
+ let query = { };
5516
+ query["Domain"] = request.domain;
5517
+ query["Enabled"] = request.enabled;
5518
+ query["ModelToken"] = request.modelToken;
5104
5519
  let req = new $OpenApi.OpenApiRequest({
5520
+ query: OpenApiUtil.query(query),
5105
5521
  body: Util.toMap(request),
5106
5522
  });
5107
- return $tea.cast<GetScenePreviewInfoResponse>(await this.doRPCRequest("GetScenePreviewInfo", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetScenePreviewInfoResponse({}));
5523
+ let params = new $OpenApi.Params({
5524
+ action: "GetScenePreviewInfo",
5525
+ version: "2020-01-01",
5526
+ protocol: "HTTPS",
5527
+ pathname: "/",
5528
+ method: "POST",
5529
+ authType: "AK",
5530
+ style: "RPC",
5531
+ reqBodyType: "json",
5532
+ bodyType: "json",
5533
+ });
5534
+ return $tea.cast<GetScenePreviewInfoResponse>(await this.callApi(params, req, runtime), new GetScenePreviewInfoResponse({}));
5108
5535
  }
5109
5536
 
5110
5537
  async getScenePreviewInfo(request: GetScenePreviewInfoRequest): Promise<GetScenePreviewInfoResponse> {
@@ -5114,10 +5541,24 @@ export default class Client extends OpenApi {
5114
5541
 
5115
5542
  async getSingleConnDataWithOptions(request: GetSingleConnDataRequest, runtime: $Util.RuntimeOptions): Promise<GetSingleConnDataResponse> {
5116
5543
  Util.validateModel(request);
5544
+ let query = { };
5545
+ query["SubSceneId"] = request.subSceneId;
5117
5546
  let req = new $OpenApi.OpenApiRequest({
5547
+ query: OpenApiUtil.query(query),
5118
5548
  body: Util.toMap(request),
5119
5549
  });
5120
- return $tea.cast<GetSingleConnDataResponse>(await this.doRPCRequest("GetSingleConnData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetSingleConnDataResponse({}));
5550
+ let params = new $OpenApi.Params({
5551
+ action: "GetSingleConnData",
5552
+ version: "2020-01-01",
5553
+ protocol: "HTTPS",
5554
+ pathname: "/",
5555
+ method: "POST",
5556
+ authType: "AK",
5557
+ style: "RPC",
5558
+ reqBodyType: "json",
5559
+ bodyType: "json",
5560
+ });
5561
+ return $tea.cast<GetSingleConnDataResponse>(await this.callApi(params, req, runtime), new GetSingleConnDataResponse({}));
5121
5562
  }
5122
5563
 
5123
5564
  async getSingleConnData(request: GetSingleConnDataRequest): Promise<GetSingleConnDataResponse> {
@@ -5127,10 +5568,24 @@ export default class Client extends OpenApi {
5127
5568
 
5128
5569
  async getSubSceneTaskStatusWithOptions(request: GetSubSceneTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSubSceneTaskStatusResponse> {
5129
5570
  Util.validateModel(request);
5571
+ let query = { };
5572
+ query["SubSceneId"] = request.subSceneId;
5130
5573
  let req = new $OpenApi.OpenApiRequest({
5574
+ query: OpenApiUtil.query(query),
5131
5575
  body: Util.toMap(request),
5132
5576
  });
5133
- return $tea.cast<GetSubSceneTaskStatusResponse>(await this.doRPCRequest("GetSubSceneTaskStatus", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetSubSceneTaskStatusResponse({}));
5577
+ let params = new $OpenApi.Params({
5578
+ action: "GetSubSceneTaskStatus",
5579
+ version: "2020-01-01",
5580
+ protocol: "HTTPS",
5581
+ pathname: "/",
5582
+ method: "POST",
5583
+ authType: "AK",
5584
+ style: "RPC",
5585
+ reqBodyType: "json",
5586
+ bodyType: "json",
5587
+ });
5588
+ return $tea.cast<GetSubSceneTaskStatusResponse>(await this.callApi(params, req, runtime), new GetSubSceneTaskStatusResponse({}));
5134
5589
  }
5135
5590
 
5136
5591
  async getSubSceneTaskStatus(request: GetSubSceneTaskStatusRequest): Promise<GetSubSceneTaskStatusResponse> {
@@ -5140,10 +5595,24 @@ export default class Client extends OpenApi {
5140
5595
 
5141
5596
  async getTaskStatusWithOptions(request: GetTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetTaskStatusResponse> {
5142
5597
  Util.validateModel(request);
5598
+ let query = { };
5599
+ query["TaskId"] = request.taskId;
5143
5600
  let req = new $OpenApi.OpenApiRequest({
5601
+ query: OpenApiUtil.query(query),
5144
5602
  body: Util.toMap(request),
5145
5603
  });
5146
- return $tea.cast<GetTaskStatusResponse>(await this.doRPCRequest("GetTaskStatus", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetTaskStatusResponse({}));
5604
+ let params = new $OpenApi.Params({
5605
+ action: "GetTaskStatus",
5606
+ version: "2020-01-01",
5607
+ protocol: "HTTPS",
5608
+ pathname: "/",
5609
+ method: "POST",
5610
+ authType: "AK",
5611
+ style: "RPC",
5612
+ reqBodyType: "json",
5613
+ bodyType: "json",
5614
+ });
5615
+ return $tea.cast<GetTaskStatusResponse>(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
5147
5616
  }
5148
5617
 
5149
5618
  async getTaskStatus(request: GetTaskStatusRequest): Promise<GetTaskStatusResponse> {
@@ -5153,10 +5622,24 @@ export default class Client extends OpenApi {
5153
5622
 
5154
5623
  async getWindowConfigWithOptions(request: GetWindowConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetWindowConfigResponse> {
5155
5624
  Util.validateModel(request);
5625
+ let query = { };
5626
+ query["PreviewToken"] = request.previewToken;
5156
5627
  let req = new $OpenApi.OpenApiRequest({
5628
+ query: OpenApiUtil.query(query),
5157
5629
  body: Util.toMap(request),
5158
5630
  });
5159
- return $tea.cast<GetWindowConfigResponse>(await this.doRPCRequest("GetWindowConfig", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetWindowConfigResponse({}));
5631
+ let params = new $OpenApi.Params({
5632
+ action: "GetWindowConfig",
5633
+ version: "2020-01-01",
5634
+ protocol: "HTTPS",
5635
+ pathname: "/",
5636
+ method: "POST",
5637
+ authType: "AK",
5638
+ style: "RPC",
5639
+ reqBodyType: "json",
5640
+ bodyType: "json",
5641
+ });
5642
+ return $tea.cast<GetWindowConfigResponse>(await this.callApi(params, req, runtime), new GetWindowConfigResponse({}));
5160
5643
  }
5161
5644
 
5162
5645
  async getWindowConfig(request: GetWindowConfigRequest): Promise<GetWindowConfigResponse> {
@@ -5166,10 +5649,25 @@ export default class Client extends OpenApi {
5166
5649
 
5167
5650
  async labelBuildWithOptions(request: LabelBuildRequest, runtime: $Util.RuntimeOptions): Promise<LabelBuildResponse> {
5168
5651
  Util.validateModel(request);
5652
+ let query = { };
5653
+ query["Mode"] = request.mode;
5654
+ query["SceneId"] = request.sceneId;
5169
5655
  let req = new $OpenApi.OpenApiRequest({
5656
+ query: OpenApiUtil.query(query),
5170
5657
  body: Util.toMap(request),
5171
5658
  });
5172
- return $tea.cast<LabelBuildResponse>(await this.doRPCRequest("LabelBuild", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new LabelBuildResponse({}));
5659
+ let params = new $OpenApi.Params({
5660
+ action: "LabelBuild",
5661
+ version: "2020-01-01",
5662
+ protocol: "HTTPS",
5663
+ pathname: "/",
5664
+ method: "POST",
5665
+ authType: "AK",
5666
+ style: "RPC",
5667
+ reqBodyType: "json",
5668
+ bodyType: "json",
5669
+ });
5670
+ return $tea.cast<LabelBuildResponse>(await this.callApi(params, req, runtime), new LabelBuildResponse({}));
5173
5671
  }
5174
5672
 
5175
5673
  async labelBuild(request: LabelBuildRequest): Promise<LabelBuildResponse> {
@@ -5179,10 +5677,27 @@ export default class Client extends OpenApi {
5179
5677
 
5180
5678
  async linkImageWithOptions(request: LinkImageRequest, runtime: $Util.RuntimeOptions): Promise<LinkImageResponse> {
5181
5679
  Util.validateModel(request);
5680
+ let query = { };
5681
+ query["CameraHeight"] = request.cameraHeight;
5682
+ query["FileName"] = request.fileName;
5683
+ query["Platform"] = request.platform;
5684
+ query["SubSceneId"] = request.subSceneId;
5182
5685
  let req = new $OpenApi.OpenApiRequest({
5686
+ query: OpenApiUtil.query(query),
5183
5687
  body: Util.toMap(request),
5184
5688
  });
5185
- return $tea.cast<LinkImageResponse>(await this.doRPCRequest("LinkImage", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new LinkImageResponse({}));
5689
+ let params = new $OpenApi.Params({
5690
+ action: "LinkImage",
5691
+ version: "2020-01-01",
5692
+ protocol: "HTTPS",
5693
+ pathname: "/",
5694
+ method: "POST",
5695
+ authType: "AK",
5696
+ style: "RPC",
5697
+ reqBodyType: "json",
5698
+ bodyType: "json",
5699
+ });
5700
+ return $tea.cast<LinkImageResponse>(await this.callApi(params, req, runtime), new LinkImageResponse({}));
5186
5701
  }
5187
5702
 
5188
5703
  async linkImage(request: LinkImageRequest): Promise<LinkImageResponse> {
@@ -5192,10 +5707,26 @@ export default class Client extends OpenApi {
5192
5707
 
5193
5708
  async listProjectWithOptions(request: ListProjectRequest, runtime: $Util.RuntimeOptions): Promise<ListProjectResponse> {
5194
5709
  Util.validateModel(request);
5710
+ let query = { };
5711
+ query["Name"] = request.name;
5712
+ query["PageNum"] = request.pageNum;
5713
+ query["PageSize"] = request.pageSize;
5195
5714
  let req = new $OpenApi.OpenApiRequest({
5715
+ query: OpenApiUtil.query(query),
5196
5716
  body: Util.toMap(request),
5197
5717
  });
5198
- return $tea.cast<ListProjectResponse>(await this.doRPCRequest("ListProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new ListProjectResponse({}));
5718
+ let params = new $OpenApi.Params({
5719
+ action: "ListProject",
5720
+ version: "2020-01-01",
5721
+ protocol: "HTTPS",
5722
+ pathname: "/",
5723
+ method: "POST",
5724
+ authType: "AK",
5725
+ style: "RPC",
5726
+ reqBodyType: "json",
5727
+ bodyType: "json",
5728
+ });
5729
+ return $tea.cast<ListProjectResponse>(await this.callApi(params, req, runtime), new ListProjectResponse({}));
5199
5730
  }
5200
5731
 
5201
5732
  async listProject(request: ListProjectRequest): Promise<ListProjectResponse> {
@@ -5205,10 +5736,27 @@ export default class Client extends OpenApi {
5205
5736
 
5206
5737
  async listSceneWithOptions(request: ListSceneRequest, runtime: $Util.RuntimeOptions): Promise<ListSceneResponse> {
5207
5738
  Util.validateModel(request);
5739
+ let query = { };
5740
+ query["Name"] = request.name;
5741
+ query["PageNum"] = request.pageNum;
5742
+ query["PageSize"] = request.pageSize;
5743
+ query["ProjectId"] = request.projectId;
5208
5744
  let req = new $OpenApi.OpenApiRequest({
5745
+ query: OpenApiUtil.query(query),
5209
5746
  body: Util.toMap(request),
5210
5747
  });
5211
- return $tea.cast<ListSceneResponse>(await this.doRPCRequest("ListScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new ListSceneResponse({}));
5748
+ let params = new $OpenApi.Params({
5749
+ action: "ListScene",
5750
+ version: "2020-01-01",
5751
+ protocol: "HTTPS",
5752
+ pathname: "/",
5753
+ method: "POST",
5754
+ authType: "AK",
5755
+ style: "RPC",
5756
+ reqBodyType: "json",
5757
+ bodyType: "json",
5758
+ });
5759
+ return $tea.cast<ListSceneResponse>(await this.callApi(params, req, runtime), new ListSceneResponse({}));
5212
5760
  }
5213
5761
 
5214
5762
  async listScene(request: ListSceneRequest): Promise<ListSceneResponse> {
@@ -5218,10 +5766,25 @@ export default class Client extends OpenApi {
5218
5766
 
5219
5767
  async listScenesWithOptions(request: ListScenesRequest, runtime: $Util.RuntimeOptions): Promise<ListScenesResponse> {
5220
5768
  Util.validateModel(request);
5769
+ let query = { };
5770
+ query["IsPublishQuery"] = request.isPublishQuery;
5771
+ query["ProjectId"] = request.projectId;
5221
5772
  let req = new $OpenApi.OpenApiRequest({
5773
+ query: OpenApiUtil.query(query),
5222
5774
  body: Util.toMap(request),
5223
5775
  });
5224
- return $tea.cast<ListScenesResponse>(await this.doRPCRequest("ListScenes", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new ListScenesResponse({}));
5776
+ let params = new $OpenApi.Params({
5777
+ action: "ListScenes",
5778
+ version: "2020-01-01",
5779
+ protocol: "HTTPS",
5780
+ pathname: "/",
5781
+ method: "POST",
5782
+ authType: "AK",
5783
+ style: "RPC",
5784
+ reqBodyType: "json",
5785
+ bodyType: "json",
5786
+ });
5787
+ return $tea.cast<ListScenesResponse>(await this.callApi(params, req, runtime), new ListScenesResponse({}));
5225
5788
  }
5226
5789
 
5227
5790
  async listScenes(request: ListScenesRequest): Promise<ListScenesResponse> {
@@ -5231,10 +5794,27 @@ export default class Client extends OpenApi {
5231
5794
 
5232
5795
  async listSubSceneWithOptions(request: ListSubSceneRequest, runtime: $Util.RuntimeOptions): Promise<ListSubSceneResponse> {
5233
5796
  Util.validateModel(request);
5797
+ let query = { };
5798
+ query["PageNum"] = request.pageNum;
5799
+ query["PageSize"] = request.pageSize;
5800
+ query["SceneId"] = request.sceneId;
5801
+ query["ShowLayoutData"] = request.showLayoutData;
5234
5802
  let req = new $OpenApi.OpenApiRequest({
5803
+ query: OpenApiUtil.query(query),
5235
5804
  body: Util.toMap(request),
5236
5805
  });
5237
- return $tea.cast<ListSubSceneResponse>(await this.doRPCRequest("ListSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new ListSubSceneResponse({}));
5806
+ let params = new $OpenApi.Params({
5807
+ action: "ListSubScene",
5808
+ version: "2020-01-01",
5809
+ protocol: "HTTPS",
5810
+ pathname: "/",
5811
+ method: "POST",
5812
+ authType: "AK",
5813
+ style: "RPC",
5814
+ reqBodyType: "json",
5815
+ bodyType: "json",
5816
+ });
5817
+ return $tea.cast<ListSubSceneResponse>(await this.callApi(params, req, runtime), new ListSubSceneResponse({}));
5238
5818
  }
5239
5819
 
5240
5820
  async listSubScene(request: ListSubSceneRequest): Promise<ListSubSceneResponse> {
@@ -5244,10 +5824,24 @@ export default class Client extends OpenApi {
5244
5824
 
5245
5825
  async optimizeRightAngleWithOptions(request: OptimizeRightAngleRequest, runtime: $Util.RuntimeOptions): Promise<OptimizeRightAngleResponse> {
5246
5826
  Util.validateModel(request);
5827
+ let query = { };
5828
+ query["SubSceneId"] = request.subSceneId;
5247
5829
  let req = new $OpenApi.OpenApiRequest({
5830
+ query: OpenApiUtil.query(query),
5248
5831
  body: Util.toMap(request),
5249
5832
  });
5250
- return $tea.cast<OptimizeRightAngleResponse>(await this.doRPCRequest("OptimizeRightAngle", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new OptimizeRightAngleResponse({}));
5833
+ let params = new $OpenApi.Params({
5834
+ action: "OptimizeRightAngle",
5835
+ version: "2020-01-01",
5836
+ protocol: "HTTPS",
5837
+ pathname: "/",
5838
+ method: "POST",
5839
+ authType: "AK",
5840
+ style: "RPC",
5841
+ reqBodyType: "json",
5842
+ bodyType: "json",
5843
+ });
5844
+ return $tea.cast<OptimizeRightAngleResponse>(await this.callApi(params, req, runtime), new OptimizeRightAngleResponse({}));
5251
5845
  }
5252
5846
 
5253
5847
  async optimizeRightAngle(request: OptimizeRightAngleRequest): Promise<OptimizeRightAngleResponse> {
@@ -5257,10 +5851,27 @@ export default class Client extends OpenApi {
5257
5851
 
5258
5852
  async predImageWithOptions(request: PredImageRequest, runtime: $Util.RuntimeOptions): Promise<PredImageResponse> {
5259
5853
  Util.validateModel(request);
5854
+ let query = { };
5855
+ query["CorrectVertical"] = request.correctVertical;
5856
+ query["CountDetectDoor"] = request.countDetectDoor;
5857
+ query["DetectDoor"] = request.detectDoor;
5858
+ query["SubSceneId"] = request.subSceneId;
5260
5859
  let req = new $OpenApi.OpenApiRequest({
5860
+ query: OpenApiUtil.query(query),
5261
5861
  body: Util.toMap(request),
5262
5862
  });
5263
- return $tea.cast<PredImageResponse>(await this.doRPCRequest("PredImage", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new PredImageResponse({}));
5863
+ let params = new $OpenApi.Params({
5864
+ action: "PredImage",
5865
+ version: "2020-01-01",
5866
+ protocol: "HTTPS",
5867
+ pathname: "/",
5868
+ method: "POST",
5869
+ authType: "AK",
5870
+ style: "RPC",
5871
+ reqBodyType: "json",
5872
+ bodyType: "json",
5873
+ });
5874
+ return $tea.cast<PredImageResponse>(await this.callApi(params, req, runtime), new PredImageResponse({}));
5264
5875
  }
5265
5876
 
5266
5877
  async predImage(request: PredImageRequest): Promise<PredImageResponse> {
@@ -5270,10 +5881,25 @@ export default class Client extends OpenApi {
5270
5881
 
5271
5882
  async predictionWallLineWithOptions(request: PredictionWallLineRequest, runtime: $Util.RuntimeOptions): Promise<PredictionWallLineResponse> {
5272
5883
  Util.validateModel(request);
5884
+ let query = { };
5885
+ query["CameraHeight"] = request.cameraHeight;
5886
+ query["Url"] = request.url;
5273
5887
  let req = new $OpenApi.OpenApiRequest({
5888
+ query: OpenApiUtil.query(query),
5274
5889
  body: Util.toMap(request),
5275
5890
  });
5276
- return $tea.cast<PredictionWallLineResponse>(await this.doRPCRequest("PredictionWallLine", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new PredictionWallLineResponse({}));
5891
+ let params = new $OpenApi.Params({
5892
+ action: "PredictionWallLine",
5893
+ version: "2020-01-01",
5894
+ protocol: "HTTPS",
5895
+ pathname: "/",
5896
+ method: "POST",
5897
+ authType: "AK",
5898
+ style: "RPC",
5899
+ reqBodyType: "json",
5900
+ bodyType: "json",
5901
+ });
5902
+ return $tea.cast<PredictionWallLineResponse>(await this.callApi(params, req, runtime), new PredictionWallLineResponse({}));
5277
5903
  }
5278
5904
 
5279
5905
  async predictionWallLine(request: PredictionWallLineRequest): Promise<PredictionWallLineResponse> {
@@ -5283,10 +5909,25 @@ export default class Client extends OpenApi {
5283
5909
 
5284
5910
  async publishHotspotWithOptions(request: PublishHotspotRequest, runtime: $Util.RuntimeOptions): Promise<PublishHotspotResponse> {
5285
5911
  Util.validateModel(request);
5912
+ let query = { };
5913
+ query["ParamTag"] = request.paramTag;
5914
+ query["SubSceneUuid"] = request.subSceneUuid;
5286
5915
  let req = new $OpenApi.OpenApiRequest({
5916
+ query: OpenApiUtil.query(query),
5287
5917
  body: Util.toMap(request),
5288
5918
  });
5289
- return $tea.cast<PublishHotspotResponse>(await this.doRPCRequest("PublishHotspot", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new PublishHotspotResponse({}));
5919
+ let params = new $OpenApi.Params({
5920
+ action: "PublishHotspot",
5921
+ version: "2020-01-01",
5922
+ protocol: "HTTPS",
5923
+ pathname: "/",
5924
+ method: "POST",
5925
+ authType: "AK",
5926
+ style: "RPC",
5927
+ reqBodyType: "json",
5928
+ bodyType: "json",
5929
+ });
5930
+ return $tea.cast<PublishHotspotResponse>(await this.callApi(params, req, runtime), new PublishHotspotResponse({}));
5290
5931
  }
5291
5932
 
5292
5933
  async publishHotspot(request: PublishHotspotRequest): Promise<PublishHotspotResponse> {
@@ -5296,10 +5937,24 @@ export default class Client extends OpenApi {
5296
5937
 
5297
5938
  async publishSceneWithOptions(request: PublishSceneRequest, runtime: $Util.RuntimeOptions): Promise<PublishSceneResponse> {
5298
5939
  Util.validateModel(request);
5940
+ let query = { };
5941
+ query["SceneId"] = request.sceneId;
5299
5942
  let req = new $OpenApi.OpenApiRequest({
5943
+ query: OpenApiUtil.query(query),
5300
5944
  body: Util.toMap(request),
5301
5945
  });
5302
- return $tea.cast<PublishSceneResponse>(await this.doRPCRequest("PublishScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new PublishSceneResponse({}));
5946
+ let params = new $OpenApi.Params({
5947
+ action: "PublishScene",
5948
+ version: "2020-01-01",
5949
+ protocol: "HTTPS",
5950
+ pathname: "/",
5951
+ method: "POST",
5952
+ authType: "AK",
5953
+ style: "RPC",
5954
+ reqBodyType: "json",
5955
+ bodyType: "json",
5956
+ });
5957
+ return $tea.cast<PublishSceneResponse>(await this.callApi(params, req, runtime), new PublishSceneResponse({}));
5303
5958
  }
5304
5959
 
5305
5960
  async publishScene(request: PublishSceneRequest): Promise<PublishSceneResponse> {
@@ -5309,10 +5964,24 @@ export default class Client extends OpenApi {
5309
5964
 
5310
5965
  async publishStatusWithOptions(request: PublishStatusRequest, runtime: $Util.RuntimeOptions): Promise<PublishStatusResponse> {
5311
5966
  Util.validateModel(request);
5967
+ let query = { };
5968
+ query["SceneId"] = request.sceneId;
5312
5969
  let req = new $OpenApi.OpenApiRequest({
5970
+ query: OpenApiUtil.query(query),
5313
5971
  body: Util.toMap(request),
5314
5972
  });
5315
- return $tea.cast<PublishStatusResponse>(await this.doRPCRequest("PublishStatus", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new PublishStatusResponse({}));
5973
+ let params = new $OpenApi.Params({
5974
+ action: "PublishStatus",
5975
+ version: "2020-01-01",
5976
+ protocol: "HTTPS",
5977
+ pathname: "/",
5978
+ method: "POST",
5979
+ authType: "AK",
5980
+ style: "RPC",
5981
+ reqBodyType: "json",
5982
+ bodyType: "json",
5983
+ });
5984
+ return $tea.cast<PublishStatusResponse>(await this.callApi(params, req, runtime), new PublishStatusResponse({}));
5316
5985
  }
5317
5986
 
5318
5987
  async publishStatus(request: PublishStatusRequest): Promise<PublishStatusResponse> {
@@ -5322,10 +5991,24 @@ export default class Client extends OpenApi {
5322
5991
 
5323
5992
  async recoveryOriginImageWithOptions(request: RecoveryOriginImageRequest, runtime: $Util.RuntimeOptions): Promise<RecoveryOriginImageResponse> {
5324
5993
  Util.validateModel(request);
5994
+ let query = { };
5995
+ query["SubSceneId"] = request.subSceneId;
5325
5996
  let req = new $OpenApi.OpenApiRequest({
5997
+ query: OpenApiUtil.query(query),
5326
5998
  body: Util.toMap(request),
5327
5999
  });
5328
- return $tea.cast<RecoveryOriginImageResponse>(await this.doRPCRequest("RecoveryOriginImage", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new RecoveryOriginImageResponse({}));
6000
+ let params = new $OpenApi.Params({
6001
+ action: "RecoveryOriginImage",
6002
+ version: "2020-01-01",
6003
+ protocol: "HTTPS",
6004
+ pathname: "/",
6005
+ method: "POST",
6006
+ authType: "AK",
6007
+ style: "RPC",
6008
+ reqBodyType: "json",
6009
+ bodyType: "json",
6010
+ });
6011
+ return $tea.cast<RecoveryOriginImageResponse>(await this.callApi(params, req, runtime), new RecoveryOriginImageResponse({}));
5329
6012
  }
5330
6013
 
5331
6014
  async recoveryOriginImage(request: RecoveryOriginImageRequest): Promise<RecoveryOriginImageResponse> {
@@ -5335,10 +6018,27 @@ export default class Client extends OpenApi {
5335
6018
 
5336
6019
  async rectVerticalWithOptions(request: RectVerticalRequest, runtime: $Util.RuntimeOptions): Promise<RectVerticalResponse> {
5337
6020
  Util.validateModel(request);
6021
+ let query = { };
6022
+ query["CountDetectDoor"] = request.countDetectDoor;
6023
+ query["DetectDoor"] = request.detectDoor;
6024
+ query["SubSceneId"] = request.subSceneId;
6025
+ query["VerticalRect"] = request.verticalRect;
5338
6026
  let req = new $OpenApi.OpenApiRequest({
6027
+ query: OpenApiUtil.query(query),
5339
6028
  body: Util.toMap(request),
5340
6029
  });
5341
- return $tea.cast<RectVerticalResponse>(await this.doRPCRequest("RectVertical", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new RectVerticalResponse({}));
6030
+ let params = new $OpenApi.Params({
6031
+ action: "RectVertical",
6032
+ version: "2020-01-01",
6033
+ protocol: "HTTPS",
6034
+ pathname: "/",
6035
+ method: "POST",
6036
+ authType: "AK",
6037
+ style: "RPC",
6038
+ reqBodyType: "json",
6039
+ bodyType: "json",
6040
+ });
6041
+ return $tea.cast<RectVerticalResponse>(await this.callApi(params, req, runtime), new RectVerticalResponse({}));
5342
6042
  }
5343
6043
 
5344
6044
  async rectVertical(request: RectVerticalRequest): Promise<RectVerticalResponse> {
@@ -5348,10 +6048,25 @@ export default class Client extends OpenApi {
5348
6048
 
5349
6049
  async rectifyImageWithOptions(request: RectifyImageRequest, runtime: $Util.RuntimeOptions): Promise<RectifyImageResponse> {
5350
6050
  Util.validateModel(request);
6051
+ let query = { };
6052
+ query["CameraHeight"] = request.cameraHeight;
6053
+ query["Url"] = request.url;
5351
6054
  let req = new $OpenApi.OpenApiRequest({
6055
+ query: OpenApiUtil.query(query),
5352
6056
  body: Util.toMap(request),
5353
6057
  });
5354
- return $tea.cast<RectifyImageResponse>(await this.doRPCRequest("RectifyImage", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new RectifyImageResponse({}));
6058
+ let params = new $OpenApi.Params({
6059
+ action: "RectifyImage",
6060
+ version: "2020-01-01",
6061
+ protocol: "HTTPS",
6062
+ pathname: "/",
6063
+ method: "POST",
6064
+ authType: "AK",
6065
+ style: "RPC",
6066
+ reqBodyType: "json",
6067
+ bodyType: "json",
6068
+ });
6069
+ return $tea.cast<RectifyImageResponse>(await this.callApi(params, req, runtime), new RectifyImageResponse({}));
5355
6070
  }
5356
6071
 
5357
6072
  async rectifyImage(request: RectifyImageRequest): Promise<RectifyImageResponse> {
@@ -5361,10 +6076,24 @@ export default class Client extends OpenApi {
5361
6076
 
5362
6077
  async rollbackSubSceneWithOptions(request: RollbackSubSceneRequest, runtime: $Util.RuntimeOptions): Promise<RollbackSubSceneResponse> {
5363
6078
  Util.validateModel(request);
6079
+ let query = { };
6080
+ query["Id"] = request.id;
5364
6081
  let req = new $OpenApi.OpenApiRequest({
6082
+ query: OpenApiUtil.query(query),
5365
6083
  body: Util.toMap(request),
5366
6084
  });
5367
- return $tea.cast<RollbackSubSceneResponse>(await this.doRPCRequest("RollbackSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new RollbackSubSceneResponse({}));
6085
+ let params = new $OpenApi.Params({
6086
+ action: "RollbackSubScene",
6087
+ version: "2020-01-01",
6088
+ protocol: "HTTPS",
6089
+ pathname: "/",
6090
+ method: "POST",
6091
+ authType: "AK",
6092
+ style: "RPC",
6093
+ reqBodyType: "json",
6094
+ bodyType: "json",
6095
+ });
6096
+ return $tea.cast<RollbackSubSceneResponse>(await this.callApi(params, req, runtime), new RollbackSubSceneResponse({}));
5368
6097
  }
5369
6098
 
5370
6099
  async rollbackSubScene(request: RollbackSubSceneRequest): Promise<RollbackSubSceneResponse> {
@@ -5374,10 +6103,25 @@ export default class Client extends OpenApi {
5374
6103
 
5375
6104
  async saveHotspotConfigWithOptions(request: SaveHotspotConfigRequest, runtime: $Util.RuntimeOptions): Promise<SaveHotspotConfigResponse> {
5376
6105
  Util.validateModel(request);
6106
+ let query = { };
6107
+ query["ParamTag"] = request.paramTag;
6108
+ query["PreviewToken"] = request.previewToken;
5377
6109
  let req = new $OpenApi.OpenApiRequest({
6110
+ query: OpenApiUtil.query(query),
5378
6111
  body: Util.toMap(request),
5379
6112
  });
5380
- return $tea.cast<SaveHotspotConfigResponse>(await this.doRPCRequest("SaveHotspotConfig", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new SaveHotspotConfigResponse({}));
6113
+ let params = new $OpenApi.Params({
6114
+ action: "SaveHotspotConfig",
6115
+ version: "2020-01-01",
6116
+ protocol: "HTTPS",
6117
+ pathname: "/",
6118
+ method: "POST",
6119
+ authType: "AK",
6120
+ style: "RPC",
6121
+ reqBodyType: "json",
6122
+ bodyType: "json",
6123
+ });
6124
+ return $tea.cast<SaveHotspotConfigResponse>(await this.callApi(params, req, runtime), new SaveHotspotConfigResponse({}));
5381
6125
  }
5382
6126
 
5383
6127
  async saveHotspotConfig(request: SaveHotspotConfigRequest): Promise<SaveHotspotConfigResponse> {
@@ -5387,10 +6131,25 @@ export default class Client extends OpenApi {
5387
6131
 
5388
6132
  async saveHotspotTagWithOptions(request: SaveHotspotTagRequest, runtime: $Util.RuntimeOptions): Promise<SaveHotspotTagResponse> {
5389
6133
  Util.validateModel(request);
6134
+ let query = { };
6135
+ query["ParamTag"] = request.paramTag;
6136
+ query["SubSceneUuid"] = request.subSceneUuid;
5390
6137
  let req = new $OpenApi.OpenApiRequest({
6138
+ query: OpenApiUtil.query(query),
5391
6139
  body: Util.toMap(request),
5392
6140
  });
5393
- return $tea.cast<SaveHotspotTagResponse>(await this.doRPCRequest("SaveHotspotTag", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new SaveHotspotTagResponse({}));
6141
+ let params = new $OpenApi.Params({
6142
+ action: "SaveHotspotTag",
6143
+ version: "2020-01-01",
6144
+ protocol: "HTTPS",
6145
+ pathname: "/",
6146
+ method: "POST",
6147
+ authType: "AK",
6148
+ style: "RPC",
6149
+ reqBodyType: "json",
6150
+ bodyType: "json",
6151
+ });
6152
+ return $tea.cast<SaveHotspotTagResponse>(await this.callApi(params, req, runtime), new SaveHotspotTagResponse({}));
5394
6153
  }
5395
6154
 
5396
6155
  async saveHotspotTag(request: SaveHotspotTagRequest): Promise<SaveHotspotTagResponse> {
@@ -5400,10 +6159,24 @@ export default class Client extends OpenApi {
5400
6159
 
5401
6160
  async scenePublishWithOptions(request: ScenePublishRequest, runtime: $Util.RuntimeOptions): Promise<ScenePublishResponse> {
5402
6161
  Util.validateModel(request);
6162
+ let query = { };
6163
+ query["SceneId"] = request.sceneId;
5403
6164
  let req = new $OpenApi.OpenApiRequest({
6165
+ query: OpenApiUtil.query(query),
5404
6166
  body: Util.toMap(request),
5405
6167
  });
5406
- return $tea.cast<ScenePublishResponse>(await this.doRPCRequest("ScenePublish", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new ScenePublishResponse({}));
6168
+ let params = new $OpenApi.Params({
6169
+ action: "ScenePublish",
6170
+ version: "2020-01-01",
6171
+ protocol: "HTTPS",
6172
+ pathname: "/",
6173
+ method: "POST",
6174
+ authType: "AK",
6175
+ style: "RPC",
6176
+ reqBodyType: "json",
6177
+ bodyType: "json",
6178
+ });
6179
+ return $tea.cast<ScenePublishResponse>(await this.callApi(params, req, runtime), new ScenePublishResponse({}));
5407
6180
  }
5408
6181
 
5409
6182
  async scenePublish(request: ScenePublishRequest): Promise<ScenePublishResponse> {
@@ -5413,10 +6186,24 @@ export default class Client extends OpenApi {
5413
6186
 
5414
6187
  async tempPreviewWithOptions(request: TempPreviewRequest, runtime: $Util.RuntimeOptions): Promise<TempPreviewResponse> {
5415
6188
  Util.validateModel(request);
6189
+ let query = { };
6190
+ query["SceneId"] = request.sceneId;
5416
6191
  let req = new $OpenApi.OpenApiRequest({
6192
+ query: OpenApiUtil.query(query),
5417
6193
  body: Util.toMap(request),
5418
6194
  });
5419
- return $tea.cast<TempPreviewResponse>(await this.doRPCRequest("TempPreview", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new TempPreviewResponse({}));
6195
+ let params = new $OpenApi.Params({
6196
+ action: "TempPreview",
6197
+ version: "2020-01-01",
6198
+ protocol: "HTTPS",
6199
+ pathname: "/",
6200
+ method: "POST",
6201
+ authType: "AK",
6202
+ style: "RPC",
6203
+ reqBodyType: "json",
6204
+ bodyType: "json",
6205
+ });
6206
+ return $tea.cast<TempPreviewResponse>(await this.callApi(params, req, runtime), new TempPreviewResponse({}));
5420
6207
  }
5421
6208
 
5422
6209
  async tempPreview(request: TempPreviewRequest): Promise<TempPreviewResponse> {
@@ -5426,10 +6213,24 @@ export default class Client extends OpenApi {
5426
6213
 
5427
6214
  async tempPreviewStatusWithOptions(request: TempPreviewStatusRequest, runtime: $Util.RuntimeOptions): Promise<TempPreviewStatusResponse> {
5428
6215
  Util.validateModel(request);
6216
+ let query = { };
6217
+ query["SceneId"] = request.sceneId;
5429
6218
  let req = new $OpenApi.OpenApiRequest({
6219
+ query: OpenApiUtil.query(query),
5430
6220
  body: Util.toMap(request),
5431
6221
  });
5432
- return $tea.cast<TempPreviewStatusResponse>(await this.doRPCRequest("TempPreviewStatus", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new TempPreviewStatusResponse({}));
6222
+ let params = new $OpenApi.Params({
6223
+ action: "TempPreviewStatus",
6224
+ version: "2020-01-01",
6225
+ protocol: "HTTPS",
6226
+ pathname: "/",
6227
+ method: "POST",
6228
+ authType: "AK",
6229
+ style: "RPC",
6230
+ reqBodyType: "json",
6231
+ bodyType: "json",
6232
+ });
6233
+ return $tea.cast<TempPreviewStatusResponse>(await this.callApi(params, req, runtime), new TempPreviewStatusResponse({}));
5433
6234
  }
5434
6235
 
5435
6236
  async tempPreviewStatus(request: TempPreviewStatusRequest): Promise<TempPreviewStatusResponse> {
@@ -5439,10 +6240,25 @@ export default class Client extends OpenApi {
5439
6240
 
5440
6241
  async updateConnDataWithOptions(request: UpdateConnDataRequest, runtime: $Util.RuntimeOptions): Promise<UpdateConnDataResponse> {
5441
6242
  Util.validateModel(request);
6243
+ let query = { };
6244
+ query["ConnData"] = request.connData;
6245
+ query["SceneId"] = request.sceneId;
5442
6246
  let req = new $OpenApi.OpenApiRequest({
6247
+ query: OpenApiUtil.query(query),
5443
6248
  body: Util.toMap(request),
5444
6249
  });
5445
- return $tea.cast<UpdateConnDataResponse>(await this.doRPCRequest("UpdateConnData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateConnDataResponse({}));
6250
+ let params = new $OpenApi.Params({
6251
+ action: "UpdateConnData",
6252
+ version: "2020-01-01",
6253
+ protocol: "HTTPS",
6254
+ pathname: "/",
6255
+ method: "POST",
6256
+ authType: "AK",
6257
+ style: "RPC",
6258
+ reqBodyType: "json",
6259
+ bodyType: "json",
6260
+ });
6261
+ return $tea.cast<UpdateConnDataResponse>(await this.callApi(params, req, runtime), new UpdateConnDataResponse({}));
5446
6262
  }
5447
6263
 
5448
6264
  async updateConnData(request: UpdateConnDataRequest): Promise<UpdateConnDataResponse> {
@@ -5452,10 +6268,25 @@ export default class Client extends OpenApi {
5452
6268
 
5453
6269
  async updateLayoutDataWithOptions(request: UpdateLayoutDataRequest, runtime: $Util.RuntimeOptions): Promise<UpdateLayoutDataResponse> {
5454
6270
  Util.validateModel(request);
6271
+ let query = { };
6272
+ query["LayoutData"] = request.layoutData;
6273
+ query["SubSceneId"] = request.subSceneId;
5455
6274
  let req = new $OpenApi.OpenApiRequest({
6275
+ query: OpenApiUtil.query(query),
5456
6276
  body: Util.toMap(request),
5457
6277
  });
5458
- return $tea.cast<UpdateLayoutDataResponse>(await this.doRPCRequest("UpdateLayoutData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateLayoutDataResponse({}));
6278
+ let params = new $OpenApi.Params({
6279
+ action: "UpdateLayoutData",
6280
+ version: "2020-01-01",
6281
+ protocol: "HTTPS",
6282
+ pathname: "/",
6283
+ method: "POST",
6284
+ authType: "AK",
6285
+ style: "RPC",
6286
+ reqBodyType: "json",
6287
+ bodyType: "json",
6288
+ });
6289
+ return $tea.cast<UpdateLayoutDataResponse>(await this.callApi(params, req, runtime), new UpdateLayoutDataResponse({}));
5459
6290
  }
5460
6291
 
5461
6292
  async updateLayoutData(request: UpdateLayoutDataRequest): Promise<UpdateLayoutDataResponse> {
@@ -5465,10 +6296,26 @@ export default class Client extends OpenApi {
5465
6296
 
5466
6297
  async updateProjectWithOptions(request: UpdateProjectRequest, runtime: $Util.RuntimeOptions): Promise<UpdateProjectResponse> {
5467
6298
  Util.validateModel(request);
6299
+ let query = { };
6300
+ query["BusinessId"] = request.businessId;
6301
+ query["Id"] = request.id;
6302
+ query["Name"] = request.name;
5468
6303
  let req = new $OpenApi.OpenApiRequest({
6304
+ query: OpenApiUtil.query(query),
5469
6305
  body: Util.toMap(request),
5470
6306
  });
5471
- return $tea.cast<UpdateProjectResponse>(await this.doRPCRequest("UpdateProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateProjectResponse({}));
6307
+ let params = new $OpenApi.Params({
6308
+ action: "UpdateProject",
6309
+ version: "2020-01-01",
6310
+ protocol: "HTTPS",
6311
+ pathname: "/",
6312
+ method: "POST",
6313
+ authType: "AK",
6314
+ style: "RPC",
6315
+ reqBodyType: "json",
6316
+ bodyType: "json",
6317
+ });
6318
+ return $tea.cast<UpdateProjectResponse>(await this.callApi(params, req, runtime), new UpdateProjectResponse({}));
5472
6319
  }
5473
6320
 
5474
6321
  async updateProject(request: UpdateProjectRequest): Promise<UpdateProjectResponse> {
@@ -5478,10 +6325,25 @@ export default class Client extends OpenApi {
5478
6325
 
5479
6326
  async updateSceneWithOptions(request: UpdateSceneRequest, runtime: $Util.RuntimeOptions): Promise<UpdateSceneResponse> {
5480
6327
  Util.validateModel(request);
6328
+ let query = { };
6329
+ query["Id"] = request.id;
6330
+ query["Name"] = request.name;
5481
6331
  let req = new $OpenApi.OpenApiRequest({
6332
+ query: OpenApiUtil.query(query),
5482
6333
  body: Util.toMap(request),
5483
6334
  });
5484
- return $tea.cast<UpdateSceneResponse>(await this.doRPCRequest("UpdateScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateSceneResponse({}));
6335
+ let params = new $OpenApi.Params({
6336
+ action: "UpdateScene",
6337
+ version: "2020-01-01",
6338
+ protocol: "HTTPS",
6339
+ pathname: "/",
6340
+ method: "POST",
6341
+ authType: "AK",
6342
+ style: "RPC",
6343
+ reqBodyType: "json",
6344
+ bodyType: "json",
6345
+ });
6346
+ return $tea.cast<UpdateSceneResponse>(await this.callApi(params, req, runtime), new UpdateSceneResponse({}));
5485
6347
  }
5486
6348
 
5487
6349
  async updateScene(request: UpdateSceneRequest): Promise<UpdateSceneResponse> {
@@ -5491,10 +6353,25 @@ export default class Client extends OpenApi {
5491
6353
 
5492
6354
  async updateSubSceneWithOptions(request: UpdateSubSceneRequest, runtime: $Util.RuntimeOptions): Promise<UpdateSubSceneResponse> {
5493
6355
  Util.validateModel(request);
6356
+ let query = { };
6357
+ query["Id"] = request.id;
6358
+ query["Name"] = request.name;
5494
6359
  let req = new $OpenApi.OpenApiRequest({
6360
+ query: OpenApiUtil.query(query),
5495
6361
  body: Util.toMap(request),
5496
6362
  });
5497
- return $tea.cast<UpdateSubSceneResponse>(await this.doRPCRequest("UpdateSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateSubSceneResponse({}));
6363
+ let params = new $OpenApi.Params({
6364
+ action: "UpdateSubScene",
6365
+ version: "2020-01-01",
6366
+ protocol: "HTTPS",
6367
+ pathname: "/",
6368
+ method: "POST",
6369
+ authType: "AK",
6370
+ style: "RPC",
6371
+ reqBodyType: "json",
6372
+ bodyType: "json",
6373
+ });
6374
+ return $tea.cast<UpdateSubSceneResponse>(await this.callApi(params, req, runtime), new UpdateSubSceneResponse({}));
5498
6375
  }
5499
6376
 
5500
6377
  async updateSubScene(request: UpdateSubSceneRequest): Promise<UpdateSubSceneResponse> {