@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/dist/client.js CHANGED
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  */
17
17
  const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
18
18
  const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
19
+ const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
19
20
  const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
20
21
  const $tea = __importStar(require("@alicloud/tea-typescript"));
21
22
  class AddMosaicsRequest extends $tea.Model {
@@ -266,12 +267,14 @@ class AddSubSceneRequest extends $tea.Model {
266
267
  return {
267
268
  name: 'Name',
268
269
  sceneId: 'SceneId',
270
+ uploadType: 'UploadType',
269
271
  };
270
272
  }
271
273
  static types() {
272
274
  return {
273
275
  name: 'string',
274
276
  sceneId: 'string',
277
+ uploadType: 'string',
275
278
  };
276
279
  }
277
280
  }
@@ -2812,6 +2815,7 @@ class RectVerticalResponseBody extends $tea.Model {
2812
2815
  message: 'Message',
2813
2816
  requestId: 'RequestId',
2814
2817
  success: 'Success',
2818
+ taskId: 'TaskId',
2815
2819
  };
2816
2820
  }
2817
2821
  static types() {
@@ -2820,6 +2824,7 @@ class RectVerticalResponseBody extends $tea.Model {
2820
2824
  message: 'string',
2821
2825
  requestId: 'string',
2822
2826
  success: 'boolean',
2827
+ taskId: 'string',
2823
2828
  };
2824
2829
  }
2825
2830
  }
@@ -3747,6 +3752,7 @@ class ListSubSceneResponseBodyList extends $tea.Model {
3747
3752
  resourceId: 'ResourceId',
3748
3753
  resourceName: 'ResourceName',
3749
3754
  status: 'Status',
3755
+ type: 'Type',
3750
3756
  url: 'Url',
3751
3757
  };
3752
3758
  }
@@ -3765,6 +3771,7 @@ class ListSubSceneResponseBodyList extends $tea.Model {
3765
3771
  resourceId: 'string',
3766
3772
  resourceName: 'string',
3767
3773
  status: 'number',
3774
+ type: 'string',
3768
3775
  url: 'string',
3769
3776
  };
3770
3777
  }
@@ -3791,10 +3798,25 @@ class Client extends openapi_client_1.default {
3791
3798
  }
3792
3799
  async addMosaicsWithOptions(request, runtime) {
3793
3800
  tea_util_1.default.validateModel(request);
3801
+ let query = {};
3802
+ query["MarkPosition"] = request.markPosition;
3803
+ query["SubSceneId"] = request.subSceneId;
3794
3804
  let req = new $OpenApi.OpenApiRequest({
3805
+ query: openapi_util_1.default.query(query),
3795
3806
  body: tea_util_1.default.toMap(request),
3796
3807
  });
3797
- return $tea.cast(await this.doRPCRequest("AddMosaics", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new AddMosaicsResponse({}));
3808
+ let params = new $OpenApi.Params({
3809
+ action: "AddMosaics",
3810
+ version: "2020-01-01",
3811
+ protocol: "HTTPS",
3812
+ pathname: "/",
3813
+ method: "POST",
3814
+ authType: "AK",
3815
+ style: "RPC",
3816
+ reqBodyType: "json",
3817
+ bodyType: "json",
3818
+ });
3819
+ return $tea.cast(await this.callApi(params, req, runtime), new AddMosaicsResponse({}));
3798
3820
  }
3799
3821
  async addMosaics(request) {
3800
3822
  let runtime = new $Util.RuntimeOptions({});
@@ -3802,10 +3824,25 @@ class Client extends openapi_client_1.default {
3802
3824
  }
3803
3825
  async addProjectWithOptions(request, runtime) {
3804
3826
  tea_util_1.default.validateModel(request);
3827
+ let query = {};
3828
+ query["BusinessId"] = request.businessId;
3829
+ query["Name"] = request.name;
3805
3830
  let req = new $OpenApi.OpenApiRequest({
3831
+ query: openapi_util_1.default.query(query),
3806
3832
  body: tea_util_1.default.toMap(request),
3807
3833
  });
3808
- return $tea.cast(await this.doRPCRequest("AddProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new AddProjectResponse({}));
3834
+ let params = new $OpenApi.Params({
3835
+ action: "AddProject",
3836
+ version: "2020-01-01",
3837
+ protocol: "HTTPS",
3838
+ pathname: "/",
3839
+ method: "POST",
3840
+ authType: "AK",
3841
+ style: "RPC",
3842
+ reqBodyType: "json",
3843
+ bodyType: "json",
3844
+ });
3845
+ return $tea.cast(await this.callApi(params, req, runtime), new AddProjectResponse({}));
3809
3846
  }
3810
3847
  async addProject(request) {
3811
3848
  let runtime = new $Util.RuntimeOptions({});
@@ -3813,10 +3850,25 @@ class Client extends openapi_client_1.default {
3813
3850
  }
3814
3851
  async addRelativePositionWithOptions(request, runtime) {
3815
3852
  tea_util_1.default.validateModel(request);
3853
+ let query = {};
3854
+ query["RelativePosition"] = request.relativePosition;
3855
+ query["SceneId"] = request.sceneId;
3816
3856
  let req = new $OpenApi.OpenApiRequest({
3857
+ query: openapi_util_1.default.query(query),
3817
3858
  body: tea_util_1.default.toMap(request),
3818
3859
  });
3819
- return $tea.cast(await this.doRPCRequest("AddRelativePosition", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new AddRelativePositionResponse({}));
3860
+ let params = new $OpenApi.Params({
3861
+ action: "AddRelativePosition",
3862
+ version: "2020-01-01",
3863
+ protocol: "HTTPS",
3864
+ pathname: "/",
3865
+ method: "POST",
3866
+ authType: "AK",
3867
+ style: "RPC",
3868
+ reqBodyType: "json",
3869
+ bodyType: "json",
3870
+ });
3871
+ return $tea.cast(await this.callApi(params, req, runtime), new AddRelativePositionResponse({}));
3820
3872
  }
3821
3873
  async addRelativePosition(request) {
3822
3874
  let runtime = new $Util.RuntimeOptions({});
@@ -3824,10 +3876,26 @@ class Client extends openapi_client_1.default {
3824
3876
  }
3825
3877
  async addSceneWithOptions(request, runtime) {
3826
3878
  tea_util_1.default.validateModel(request);
3879
+ let query = {};
3880
+ query["Name"] = request.name;
3881
+ query["ProjectId"] = request.projectId;
3882
+ query["Type"] = request.type;
3827
3883
  let req = new $OpenApi.OpenApiRequest({
3884
+ query: openapi_util_1.default.query(query),
3828
3885
  body: tea_util_1.default.toMap(request),
3829
3886
  });
3830
- return $tea.cast(await this.doRPCRequest("AddScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new AddSceneResponse({}));
3887
+ let params = new $OpenApi.Params({
3888
+ action: "AddScene",
3889
+ version: "2020-01-01",
3890
+ protocol: "HTTPS",
3891
+ pathname: "/",
3892
+ method: "POST",
3893
+ authType: "AK",
3894
+ style: "RPC",
3895
+ reqBodyType: "json",
3896
+ bodyType: "json",
3897
+ });
3898
+ return $tea.cast(await this.callApi(params, req, runtime), new AddSceneResponse({}));
3831
3899
  }
3832
3900
  async addScene(request) {
3833
3901
  let runtime = new $Util.RuntimeOptions({});
@@ -3835,10 +3903,26 @@ class Client extends openapi_client_1.default {
3835
3903
  }
3836
3904
  async addSubSceneWithOptions(request, runtime) {
3837
3905
  tea_util_1.default.validateModel(request);
3906
+ let query = {};
3907
+ query["Name"] = request.name;
3908
+ query["SceneId"] = request.sceneId;
3909
+ query["UploadType"] = request.uploadType;
3838
3910
  let req = new $OpenApi.OpenApiRequest({
3911
+ query: openapi_util_1.default.query(query),
3839
3912
  body: tea_util_1.default.toMap(request),
3840
3913
  });
3841
- return $tea.cast(await this.doRPCRequest("AddSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new AddSubSceneResponse({}));
3914
+ let params = new $OpenApi.Params({
3915
+ action: "AddSubScene",
3916
+ version: "2020-01-01",
3917
+ protocol: "HTTPS",
3918
+ pathname: "/",
3919
+ method: "POST",
3920
+ authType: "AK",
3921
+ style: "RPC",
3922
+ reqBodyType: "json",
3923
+ bodyType: "json",
3924
+ });
3925
+ return $tea.cast(await this.callApi(params, req, runtime), new AddSubSceneResponse({}));
3842
3926
  }
3843
3927
  async addSubScene(request) {
3844
3928
  let runtime = new $Util.RuntimeOptions({});
@@ -3846,10 +3930,37 @@ class Client extends openapi_client_1.default {
3846
3930
  }
3847
3931
  async checkResourceWithOptions(request, runtime) {
3848
3932
  tea_util_1.default.validateModel(request);
3933
+ let query = {};
3934
+ query["Bid"] = request.bid;
3935
+ query["Country"] = request.country;
3936
+ query["GmtWakeup"] = request.gmtWakeup;
3937
+ query["Hid"] = request.hid;
3938
+ query["Interrupt"] = request.interrupt;
3939
+ query["Invoker"] = request.invoker;
3940
+ query["Level"] = request.level;
3941
+ query["Message"] = request.message;
3942
+ query["Pk"] = request.pk;
3943
+ query["Prompt"] = request.prompt;
3944
+ query["Success"] = request.success;
3945
+ query["TaskExtraData"] = request.taskExtraData;
3946
+ query["TaskIdentifier"] = request.taskIdentifier;
3947
+ query["Url"] = request.url;
3849
3948
  let req = new $OpenApi.OpenApiRequest({
3949
+ query: openapi_util_1.default.query(query),
3850
3950
  body: tea_util_1.default.toMap(request),
3851
3951
  });
3852
- return $tea.cast(await this.doRPCRequest("CheckResource", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new CheckResourceResponse({}));
3952
+ let params = new $OpenApi.Params({
3953
+ action: "CheckResource",
3954
+ version: "2020-01-01",
3955
+ protocol: "HTTPS",
3956
+ pathname: "/",
3957
+ method: "POST",
3958
+ authType: "AK",
3959
+ style: "RPC",
3960
+ reqBodyType: "json",
3961
+ bodyType: "json",
3962
+ });
3963
+ return $tea.cast(await this.callApi(params, req, runtime), new CheckResourceResponse({}));
3853
3964
  }
3854
3965
  async checkResource(request) {
3855
3966
  let runtime = new $Util.RuntimeOptions({});
@@ -3857,10 +3968,28 @@ class Client extends openapi_client_1.default {
3857
3968
  }
3858
3969
  async createProjectWithOptions(request, runtime) {
3859
3970
  tea_util_1.default.validateModel(request);
3971
+ let query = {};
3972
+ query["BuilderUserIdList"] = request.builderUserIdList;
3973
+ query["BusinessId"] = request.businessId;
3974
+ query["BusinessUserIdList"] = request.businessUserIdList;
3975
+ query["GatherUserIdList"] = request.gatherUserIdList;
3976
+ query["Name"] = request.name;
3860
3977
  let req = new $OpenApi.OpenApiRequest({
3978
+ query: openapi_util_1.default.query(query),
3861
3979
  body: tea_util_1.default.toMap(request),
3862
3980
  });
3863
- return $tea.cast(await this.doRPCRequest("CreateProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new CreateProjectResponse({}));
3981
+ let params = new $OpenApi.Params({
3982
+ action: "CreateProject",
3983
+ version: "2020-01-01",
3984
+ protocol: "HTTPS",
3985
+ pathname: "/",
3986
+ method: "POST",
3987
+ authType: "AK",
3988
+ style: "RPC",
3989
+ reqBodyType: "json",
3990
+ bodyType: "json",
3991
+ });
3992
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateProjectResponse({}));
3864
3993
  }
3865
3994
  async createProject(request) {
3866
3995
  let runtime = new $Util.RuntimeOptions({});
@@ -3868,10 +3997,25 @@ class Client extends openapi_client_1.default {
3868
3997
  }
3869
3998
  async createSceneWithOptions(request, runtime) {
3870
3999
  tea_util_1.default.validateModel(request);
4000
+ let query = {};
4001
+ query["Name"] = request.name;
4002
+ query["ProjectId"] = request.projectId;
3871
4003
  let req = new $OpenApi.OpenApiRequest({
4004
+ query: openapi_util_1.default.query(query),
3872
4005
  body: tea_util_1.default.toMap(request),
3873
4006
  });
3874
- return $tea.cast(await this.doRPCRequest("CreateScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new CreateSceneResponse({}));
4007
+ let params = new $OpenApi.Params({
4008
+ action: "CreateScene",
4009
+ version: "2020-01-01",
4010
+ protocol: "HTTPS",
4011
+ pathname: "/",
4012
+ method: "POST",
4013
+ authType: "AK",
4014
+ style: "RPC",
4015
+ reqBodyType: "json",
4016
+ bodyType: "json",
4017
+ });
4018
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateSceneResponse({}));
3875
4019
  }
3876
4020
  async createScene(request) {
3877
4021
  let runtime = new $Util.RuntimeOptions({});
@@ -3879,10 +4023,25 @@ class Client extends openapi_client_1.default {
3879
4023
  }
3880
4024
  async deleteFileWithOptions(request, runtime) {
3881
4025
  tea_util_1.default.validateModel(request);
4026
+ let query = {};
4027
+ query["ParamFile"] = request.paramFile;
4028
+ query["SubSceneUuid"] = request.subSceneUuid;
3882
4029
  let req = new $OpenApi.OpenApiRequest({
4030
+ query: openapi_util_1.default.query(query),
3883
4031
  body: tea_util_1.default.toMap(request),
3884
4032
  });
3885
- return $tea.cast(await this.doRPCRequest("DeleteFile", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DeleteFileResponse({}));
4033
+ let params = new $OpenApi.Params({
4034
+ action: "DeleteFile",
4035
+ version: "2020-01-01",
4036
+ protocol: "HTTPS",
4037
+ pathname: "/",
4038
+ method: "POST",
4039
+ authType: "AK",
4040
+ style: "RPC",
4041
+ reqBodyType: "json",
4042
+ bodyType: "json",
4043
+ });
4044
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteFileResponse({}));
3886
4045
  }
3887
4046
  async deleteFile(request) {
3888
4047
  let runtime = new $Util.RuntimeOptions({});
@@ -3890,10 +4049,24 @@ class Client extends openapi_client_1.default {
3890
4049
  }
3891
4050
  async deleteProjectWithOptions(request, runtime) {
3892
4051
  tea_util_1.default.validateModel(request);
4052
+ let query = {};
4053
+ query["ProjectId"] = request.projectId;
3893
4054
  let req = new $OpenApi.OpenApiRequest({
4055
+ query: openapi_util_1.default.query(query),
3894
4056
  body: tea_util_1.default.toMap(request),
3895
4057
  });
3896
- return $tea.cast(await this.doRPCRequest("DeleteProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DeleteProjectResponse({}));
4058
+ let params = new $OpenApi.Params({
4059
+ action: "DeleteProject",
4060
+ version: "2020-01-01",
4061
+ protocol: "HTTPS",
4062
+ pathname: "/",
4063
+ method: "POST",
4064
+ authType: "AK",
4065
+ style: "RPC",
4066
+ reqBodyType: "json",
4067
+ bodyType: "json",
4068
+ });
4069
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteProjectResponse({}));
3897
4070
  }
3898
4071
  async deleteProject(request) {
3899
4072
  let runtime = new $Util.RuntimeOptions({});
@@ -3901,10 +4074,24 @@ class Client extends openapi_client_1.default {
3901
4074
  }
3902
4075
  async detailProjectWithOptions(request, runtime) {
3903
4076
  tea_util_1.default.validateModel(request);
4077
+ let query = {};
4078
+ query["Id"] = request.id;
3904
4079
  let req = new $OpenApi.OpenApiRequest({
4080
+ query: openapi_util_1.default.query(query),
3905
4081
  body: tea_util_1.default.toMap(request),
3906
4082
  });
3907
- return $tea.cast(await this.doRPCRequest("DetailProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DetailProjectResponse({}));
4083
+ let params = new $OpenApi.Params({
4084
+ action: "DetailProject",
4085
+ version: "2020-01-01",
4086
+ protocol: "HTTPS",
4087
+ pathname: "/",
4088
+ method: "POST",
4089
+ authType: "AK",
4090
+ style: "RPC",
4091
+ reqBodyType: "json",
4092
+ bodyType: "json",
4093
+ });
4094
+ return $tea.cast(await this.callApi(params, req, runtime), new DetailProjectResponse({}));
3908
4095
  }
3909
4096
  async detailProject(request) {
3910
4097
  let runtime = new $Util.RuntimeOptions({});
@@ -3912,10 +4099,24 @@ class Client extends openapi_client_1.default {
3912
4099
  }
3913
4100
  async detailSceneWithOptions(request, runtime) {
3914
4101
  tea_util_1.default.validateModel(request);
4102
+ let query = {};
4103
+ query["Id"] = request.id;
3915
4104
  let req = new $OpenApi.OpenApiRequest({
4105
+ query: openapi_util_1.default.query(query),
3916
4106
  body: tea_util_1.default.toMap(request),
3917
4107
  });
3918
- return $tea.cast(await this.doRPCRequest("DetailScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DetailSceneResponse({}));
4108
+ let params = new $OpenApi.Params({
4109
+ action: "DetailScene",
4110
+ version: "2020-01-01",
4111
+ protocol: "HTTPS",
4112
+ pathname: "/",
4113
+ method: "POST",
4114
+ authType: "AK",
4115
+ style: "RPC",
4116
+ reqBodyType: "json",
4117
+ bodyType: "json",
4118
+ });
4119
+ return $tea.cast(await this.callApi(params, req, runtime), new DetailSceneResponse({}));
3919
4120
  }
3920
4121
  async detailScene(request) {
3921
4122
  let runtime = new $Util.RuntimeOptions({});
@@ -3923,10 +4124,24 @@ class Client extends openapi_client_1.default {
3923
4124
  }
3924
4125
  async detailSubSceneWithOptions(request, runtime) {
3925
4126
  tea_util_1.default.validateModel(request);
4127
+ let query = {};
4128
+ query["Id"] = request.id;
3926
4129
  let req = new $OpenApi.OpenApiRequest({
4130
+ query: openapi_util_1.default.query(query),
3927
4131
  body: tea_util_1.default.toMap(request),
3928
4132
  });
3929
- return $tea.cast(await this.doRPCRequest("DetailSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DetailSubSceneResponse({}));
4133
+ let params = new $OpenApi.Params({
4134
+ action: "DetailSubScene",
4135
+ version: "2020-01-01",
4136
+ protocol: "HTTPS",
4137
+ pathname: "/",
4138
+ method: "POST",
4139
+ authType: "AK",
4140
+ style: "RPC",
4141
+ reqBodyType: "json",
4142
+ bodyType: "json",
4143
+ });
4144
+ return $tea.cast(await this.callApi(params, req, runtime), new DetailSubSceneResponse({}));
3930
4145
  }
3931
4146
  async detailSubScene(request) {
3932
4147
  let runtime = new $Util.RuntimeOptions({});
@@ -3934,10 +4149,24 @@ class Client extends openapi_client_1.default {
3934
4149
  }
3935
4150
  async dropProjectWithOptions(request, runtime) {
3936
4151
  tea_util_1.default.validateModel(request);
4152
+ let query = {};
4153
+ query["ProjectId"] = request.projectId;
3937
4154
  let req = new $OpenApi.OpenApiRequest({
4155
+ query: openapi_util_1.default.query(query),
3938
4156
  body: tea_util_1.default.toMap(request),
3939
4157
  });
3940
- return $tea.cast(await this.doRPCRequest("DropProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DropProjectResponse({}));
4158
+ let params = new $OpenApi.Params({
4159
+ action: "DropProject",
4160
+ version: "2020-01-01",
4161
+ protocol: "HTTPS",
4162
+ pathname: "/",
4163
+ method: "POST",
4164
+ authType: "AK",
4165
+ style: "RPC",
4166
+ reqBodyType: "json",
4167
+ bodyType: "json",
4168
+ });
4169
+ return $tea.cast(await this.callApi(params, req, runtime), new DropProjectResponse({}));
3941
4170
  }
3942
4171
  async dropProject(request) {
3943
4172
  let runtime = new $Util.RuntimeOptions({});
@@ -3945,10 +4174,24 @@ class Client extends openapi_client_1.default {
3945
4174
  }
3946
4175
  async dropSceneWithOptions(request, runtime) {
3947
4176
  tea_util_1.default.validateModel(request);
4177
+ let query = {};
4178
+ query["Id"] = request.id;
3948
4179
  let req = new $OpenApi.OpenApiRequest({
4180
+ query: openapi_util_1.default.query(query),
3949
4181
  body: tea_util_1.default.toMap(request),
3950
4182
  });
3951
- return $tea.cast(await this.doRPCRequest("DropScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DropSceneResponse({}));
4183
+ let params = new $OpenApi.Params({
4184
+ action: "DropScene",
4185
+ version: "2020-01-01",
4186
+ protocol: "HTTPS",
4187
+ pathname: "/",
4188
+ method: "POST",
4189
+ authType: "AK",
4190
+ style: "RPC",
4191
+ reqBodyType: "json",
4192
+ bodyType: "json",
4193
+ });
4194
+ return $tea.cast(await this.callApi(params, req, runtime), new DropSceneResponse({}));
3952
4195
  }
3953
4196
  async dropScene(request) {
3954
4197
  let runtime = new $Util.RuntimeOptions({});
@@ -3956,10 +4199,24 @@ class Client extends openapi_client_1.default {
3956
4199
  }
3957
4200
  async dropSubSceneWithOptions(request, runtime) {
3958
4201
  tea_util_1.default.validateModel(request);
4202
+ let query = {};
4203
+ query["Id"] = request.id;
3959
4204
  let req = new $OpenApi.OpenApiRequest({
4205
+ query: openapi_util_1.default.query(query),
3960
4206
  body: tea_util_1.default.toMap(request),
3961
4207
  });
3962
- return $tea.cast(await this.doRPCRequest("DropSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new DropSubSceneResponse({}));
4208
+ let params = new $OpenApi.Params({
4209
+ action: "DropSubScene",
4210
+ version: "2020-01-01",
4211
+ protocol: "HTTPS",
4212
+ pathname: "/",
4213
+ method: "POST",
4214
+ authType: "AK",
4215
+ style: "RPC",
4216
+ reqBodyType: "json",
4217
+ bodyType: "json",
4218
+ });
4219
+ return $tea.cast(await this.callApi(params, req, runtime), new DropSubSceneResponse({}));
3963
4220
  }
3964
4221
  async dropSubScene(request) {
3965
4222
  let runtime = new $Util.RuntimeOptions({});
@@ -3967,10 +4224,24 @@ class Client extends openapi_client_1.default {
3967
4224
  }
3968
4225
  async getConnDataWithOptions(request, runtime) {
3969
4226
  tea_util_1.default.validateModel(request);
4227
+ let query = {};
4228
+ query["SceneId"] = request.sceneId;
3970
4229
  let req = new $OpenApi.OpenApiRequest({
4230
+ query: openapi_util_1.default.query(query),
3971
4231
  body: tea_util_1.default.toMap(request),
3972
4232
  });
3973
- return $tea.cast(await this.doRPCRequest("GetConnData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetConnDataResponse({}));
4233
+ let params = new $OpenApi.Params({
4234
+ action: "GetConnData",
4235
+ version: "2020-01-01",
4236
+ protocol: "HTTPS",
4237
+ pathname: "/",
4238
+ method: "POST",
4239
+ authType: "AK",
4240
+ style: "RPC",
4241
+ reqBodyType: "json",
4242
+ bodyType: "json",
4243
+ });
4244
+ return $tea.cast(await this.callApi(params, req, runtime), new GetConnDataResponse({}));
3974
4245
  }
3975
4246
  async getConnData(request) {
3976
4247
  let runtime = new $Util.RuntimeOptions({});
@@ -3978,10 +4249,27 @@ class Client extends openapi_client_1.default {
3978
4249
  }
3979
4250
  async getHotspotConfigWithOptions(request, runtime) {
3980
4251
  tea_util_1.default.validateModel(request);
4252
+ let query = {};
4253
+ query["Domain"] = request.domain;
4254
+ query["Enabled"] = request.enabled;
4255
+ query["PreviewToken"] = request.previewToken;
4256
+ query["Type"] = request.type;
3981
4257
  let req = new $OpenApi.OpenApiRequest({
4258
+ query: openapi_util_1.default.query(query),
3982
4259
  body: tea_util_1.default.toMap(request),
3983
4260
  });
3984
- return $tea.cast(await this.doRPCRequest("GetHotspotConfig", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetHotspotConfigResponse({}));
4261
+ let params = new $OpenApi.Params({
4262
+ action: "GetHotspotConfig",
4263
+ version: "2020-01-01",
4264
+ protocol: "HTTPS",
4265
+ pathname: "/",
4266
+ method: "POST",
4267
+ authType: "AK",
4268
+ style: "RPC",
4269
+ reqBodyType: "json",
4270
+ bodyType: "json",
4271
+ });
4272
+ return $tea.cast(await this.callApi(params, req, runtime), new GetHotspotConfigResponse({}));
3985
4273
  }
3986
4274
  async getHotspotConfig(request) {
3987
4275
  let runtime = new $Util.RuntimeOptions({});
@@ -3989,10 +4277,27 @@ class Client extends openapi_client_1.default {
3989
4277
  }
3990
4278
  async getHotspotSceneDataWithOptions(request, runtime) {
3991
4279
  tea_util_1.default.validateModel(request);
4280
+ let query = {};
4281
+ query["Domain"] = request.domain;
4282
+ query["Enabled"] = request.enabled;
4283
+ query["PreviewToken"] = request.previewToken;
4284
+ query["Type"] = request.type;
3992
4285
  let req = new $OpenApi.OpenApiRequest({
4286
+ query: openapi_util_1.default.query(query),
3993
4287
  body: tea_util_1.default.toMap(request),
3994
4288
  });
3995
- return $tea.cast(await this.doRPCRequest("GetHotspotSceneData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetHotspotSceneDataResponse({}));
4289
+ let params = new $OpenApi.Params({
4290
+ action: "GetHotspotSceneData",
4291
+ version: "2020-01-01",
4292
+ protocol: "HTTPS",
4293
+ pathname: "/",
4294
+ method: "POST",
4295
+ authType: "AK",
4296
+ style: "RPC",
4297
+ reqBodyType: "json",
4298
+ bodyType: "json",
4299
+ });
4300
+ return $tea.cast(await this.callApi(params, req, runtime), new GetHotspotSceneDataResponse({}));
3996
4301
  }
3997
4302
  async getHotspotSceneData(request) {
3998
4303
  let runtime = new $Util.RuntimeOptions({});
@@ -4000,10 +4305,28 @@ class Client extends openapi_client_1.default {
4000
4305
  }
4001
4306
  async getHotspotTagWithOptions(request, runtime) {
4002
4307
  tea_util_1.default.validateModel(request);
4308
+ let query = {};
4309
+ query["Domain"] = request.domain;
4310
+ query["Enabled"] = request.enabled;
4311
+ query["PreviewToken"] = request.previewToken;
4312
+ query["SubSceneUuid"] = request.subSceneUuid;
4313
+ query["Type"] = request.type;
4003
4314
  let req = new $OpenApi.OpenApiRequest({
4315
+ query: openapi_util_1.default.query(query),
4004
4316
  body: tea_util_1.default.toMap(request),
4005
4317
  });
4006
- return $tea.cast(await this.doRPCRequest("GetHotspotTag", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetHotspotTagResponse({}));
4318
+ let params = new $OpenApi.Params({
4319
+ action: "GetHotspotTag",
4320
+ version: "2020-01-01",
4321
+ protocol: "HTTPS",
4322
+ pathname: "/",
4323
+ method: "POST",
4324
+ authType: "AK",
4325
+ style: "RPC",
4326
+ reqBodyType: "json",
4327
+ bodyType: "json",
4328
+ });
4329
+ return $tea.cast(await this.callApi(params, req, runtime), new GetHotspotTagResponse({}));
4007
4330
  }
4008
4331
  async getHotspotTag(request) {
4009
4332
  let runtime = new $Util.RuntimeOptions({});
@@ -4011,10 +4334,24 @@ class Client extends openapi_client_1.default {
4011
4334
  }
4012
4335
  async getLayoutDataWithOptions(request, runtime) {
4013
4336
  tea_util_1.default.validateModel(request);
4337
+ let query = {};
4338
+ query["SubSceneId"] = request.subSceneId;
4014
4339
  let req = new $OpenApi.OpenApiRequest({
4340
+ query: openapi_util_1.default.query(query),
4015
4341
  body: tea_util_1.default.toMap(request),
4016
4342
  });
4017
- return $tea.cast(await this.doRPCRequest("GetLayoutData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetLayoutDataResponse({}));
4343
+ let params = new $OpenApi.Params({
4344
+ action: "GetLayoutData",
4345
+ version: "2020-01-01",
4346
+ protocol: "HTTPS",
4347
+ pathname: "/",
4348
+ method: "POST",
4349
+ authType: "AK",
4350
+ style: "RPC",
4351
+ reqBodyType: "json",
4352
+ bodyType: "json",
4353
+ });
4354
+ return $tea.cast(await this.callApi(params, req, runtime), new GetLayoutDataResponse({}));
4018
4355
  }
4019
4356
  async getLayoutData(request) {
4020
4357
  let runtime = new $Util.RuntimeOptions({});
@@ -4022,10 +4359,24 @@ class Client extends openapi_client_1.default {
4022
4359
  }
4023
4360
  async getOriginLayoutDataWithOptions(request, runtime) {
4024
4361
  tea_util_1.default.validateModel(request);
4362
+ let query = {};
4363
+ query["SubSceneId"] = request.subSceneId;
4025
4364
  let req = new $OpenApi.OpenApiRequest({
4365
+ query: openapi_util_1.default.query(query),
4026
4366
  body: tea_util_1.default.toMap(request),
4027
4367
  });
4028
- return $tea.cast(await this.doRPCRequest("GetOriginLayoutData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetOriginLayoutDataResponse({}));
4368
+ let params = new $OpenApi.Params({
4369
+ action: "GetOriginLayoutData",
4370
+ version: "2020-01-01",
4371
+ protocol: "HTTPS",
4372
+ pathname: "/",
4373
+ method: "POST",
4374
+ authType: "AK",
4375
+ style: "RPC",
4376
+ reqBodyType: "json",
4377
+ bodyType: "json",
4378
+ });
4379
+ return $tea.cast(await this.callApi(params, req, runtime), new GetOriginLayoutDataResponse({}));
4029
4380
  }
4030
4381
  async getOriginLayoutData(request) {
4031
4382
  let runtime = new $Util.RuntimeOptions({});
@@ -4033,10 +4384,24 @@ class Client extends openapi_client_1.default {
4033
4384
  }
4034
4385
  async getOssPolicyWithOptions(request, runtime) {
4035
4386
  tea_util_1.default.validateModel(request);
4387
+ let query = {};
4388
+ query["SubSceneId"] = request.subSceneId;
4036
4389
  let req = new $OpenApi.OpenApiRequest({
4390
+ query: openapi_util_1.default.query(query),
4037
4391
  body: tea_util_1.default.toMap(request),
4038
4392
  });
4039
- return $tea.cast(await this.doRPCRequest("GetOssPolicy", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetOssPolicyResponse({}));
4393
+ let params = new $OpenApi.Params({
4394
+ action: "GetOssPolicy",
4395
+ version: "2020-01-01",
4396
+ protocol: "HTTPS",
4397
+ pathname: "/",
4398
+ method: "POST",
4399
+ authType: "AK",
4400
+ style: "RPC",
4401
+ reqBodyType: "json",
4402
+ bodyType: "json",
4403
+ });
4404
+ return $tea.cast(await this.callApi(params, req, runtime), new GetOssPolicyResponse({}));
4040
4405
  }
4041
4406
  async getOssPolicy(request) {
4042
4407
  let runtime = new $Util.RuntimeOptions({});
@@ -4044,10 +4409,25 @@ class Client extends openapi_client_1.default {
4044
4409
  }
4045
4410
  async getPolicyWithOptions(request, runtime) {
4046
4411
  tea_util_1.default.validateModel(request);
4412
+ let query = {};
4413
+ query["SubSceneUuid"] = request.subSceneUuid;
4414
+ query["Type"] = request.type;
4047
4415
  let req = new $OpenApi.OpenApiRequest({
4416
+ query: openapi_util_1.default.query(query),
4048
4417
  body: tea_util_1.default.toMap(request),
4049
4418
  });
4050
- return $tea.cast(await this.doRPCRequest("GetPolicy", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetPolicyResponse({}));
4419
+ let params = new $OpenApi.Params({
4420
+ action: "GetPolicy",
4421
+ version: "2020-01-01",
4422
+ protocol: "HTTPS",
4423
+ pathname: "/",
4424
+ method: "POST",
4425
+ authType: "AK",
4426
+ style: "RPC",
4427
+ reqBodyType: "json",
4428
+ bodyType: "json",
4429
+ });
4430
+ return $tea.cast(await this.callApi(params, req, runtime), new GetPolicyResponse({}));
4051
4431
  }
4052
4432
  async getPolicy(request) {
4053
4433
  let runtime = new $Util.RuntimeOptions({});
@@ -4055,10 +4435,24 @@ class Client extends openapi_client_1.default {
4055
4435
  }
4056
4436
  async getRectifyImageWithOptions(request, runtime) {
4057
4437
  tea_util_1.default.validateModel(request);
4438
+ let query = {};
4439
+ query["SubSceneId"] = request.subSceneId;
4058
4440
  let req = new $OpenApi.OpenApiRequest({
4441
+ query: openapi_util_1.default.query(query),
4059
4442
  body: tea_util_1.default.toMap(request),
4060
4443
  });
4061
- return $tea.cast(await this.doRPCRequest("GetRectifyImage", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetRectifyImageResponse({}));
4444
+ let params = new $OpenApi.Params({
4445
+ action: "GetRectifyImage",
4446
+ version: "2020-01-01",
4447
+ protocol: "HTTPS",
4448
+ pathname: "/",
4449
+ method: "POST",
4450
+ authType: "AK",
4451
+ style: "RPC",
4452
+ reqBodyType: "json",
4453
+ bodyType: "json",
4454
+ });
4455
+ return $tea.cast(await this.callApi(params, req, runtime), new GetRectifyImageResponse({}));
4062
4456
  }
4063
4457
  async getRectifyImage(request) {
4064
4458
  let runtime = new $Util.RuntimeOptions({});
@@ -4066,10 +4460,24 @@ class Client extends openapi_client_1.default {
4066
4460
  }
4067
4461
  async getSceneBuildTaskStatusWithOptions(request, runtime) {
4068
4462
  tea_util_1.default.validateModel(request);
4463
+ let query = {};
4464
+ query["SceneId"] = request.sceneId;
4069
4465
  let req = new $OpenApi.OpenApiRequest({
4466
+ query: openapi_util_1.default.query(query),
4070
4467
  body: tea_util_1.default.toMap(request),
4071
4468
  });
4072
- return $tea.cast(await this.doRPCRequest("GetSceneBuildTaskStatus", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetSceneBuildTaskStatusResponse({}));
4469
+ let params = new $OpenApi.Params({
4470
+ action: "GetSceneBuildTaskStatus",
4471
+ version: "2020-01-01",
4472
+ protocol: "HTTPS",
4473
+ pathname: "/",
4474
+ method: "POST",
4475
+ authType: "AK",
4476
+ style: "RPC",
4477
+ reqBodyType: "json",
4478
+ bodyType: "json",
4479
+ });
4480
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSceneBuildTaskStatusResponse({}));
4073
4481
  }
4074
4482
  async getSceneBuildTaskStatus(request) {
4075
4483
  let runtime = new $Util.RuntimeOptions({});
@@ -4077,10 +4485,26 @@ class Client extends openapi_client_1.default {
4077
4485
  }
4078
4486
  async getScenePreviewInfoWithOptions(request, runtime) {
4079
4487
  tea_util_1.default.validateModel(request);
4488
+ let query = {};
4489
+ query["Domain"] = request.domain;
4490
+ query["Enabled"] = request.enabled;
4491
+ query["ModelToken"] = request.modelToken;
4080
4492
  let req = new $OpenApi.OpenApiRequest({
4493
+ query: openapi_util_1.default.query(query),
4081
4494
  body: tea_util_1.default.toMap(request),
4082
4495
  });
4083
- return $tea.cast(await this.doRPCRequest("GetScenePreviewInfo", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetScenePreviewInfoResponse({}));
4496
+ let params = new $OpenApi.Params({
4497
+ action: "GetScenePreviewInfo",
4498
+ version: "2020-01-01",
4499
+ protocol: "HTTPS",
4500
+ pathname: "/",
4501
+ method: "POST",
4502
+ authType: "AK",
4503
+ style: "RPC",
4504
+ reqBodyType: "json",
4505
+ bodyType: "json",
4506
+ });
4507
+ return $tea.cast(await this.callApi(params, req, runtime), new GetScenePreviewInfoResponse({}));
4084
4508
  }
4085
4509
  async getScenePreviewInfo(request) {
4086
4510
  let runtime = new $Util.RuntimeOptions({});
@@ -4088,10 +4512,24 @@ class Client extends openapi_client_1.default {
4088
4512
  }
4089
4513
  async getSingleConnDataWithOptions(request, runtime) {
4090
4514
  tea_util_1.default.validateModel(request);
4515
+ let query = {};
4516
+ query["SubSceneId"] = request.subSceneId;
4091
4517
  let req = new $OpenApi.OpenApiRequest({
4518
+ query: openapi_util_1.default.query(query),
4092
4519
  body: tea_util_1.default.toMap(request),
4093
4520
  });
4094
- return $tea.cast(await this.doRPCRequest("GetSingleConnData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetSingleConnDataResponse({}));
4521
+ let params = new $OpenApi.Params({
4522
+ action: "GetSingleConnData",
4523
+ version: "2020-01-01",
4524
+ protocol: "HTTPS",
4525
+ pathname: "/",
4526
+ method: "POST",
4527
+ authType: "AK",
4528
+ style: "RPC",
4529
+ reqBodyType: "json",
4530
+ bodyType: "json",
4531
+ });
4532
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSingleConnDataResponse({}));
4095
4533
  }
4096
4534
  async getSingleConnData(request) {
4097
4535
  let runtime = new $Util.RuntimeOptions({});
@@ -4099,10 +4537,24 @@ class Client extends openapi_client_1.default {
4099
4537
  }
4100
4538
  async getSubSceneTaskStatusWithOptions(request, runtime) {
4101
4539
  tea_util_1.default.validateModel(request);
4540
+ let query = {};
4541
+ query["SubSceneId"] = request.subSceneId;
4102
4542
  let req = new $OpenApi.OpenApiRequest({
4543
+ query: openapi_util_1.default.query(query),
4103
4544
  body: tea_util_1.default.toMap(request),
4104
4545
  });
4105
- return $tea.cast(await this.doRPCRequest("GetSubSceneTaskStatus", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetSubSceneTaskStatusResponse({}));
4546
+ let params = new $OpenApi.Params({
4547
+ action: "GetSubSceneTaskStatus",
4548
+ version: "2020-01-01",
4549
+ protocol: "HTTPS",
4550
+ pathname: "/",
4551
+ method: "POST",
4552
+ authType: "AK",
4553
+ style: "RPC",
4554
+ reqBodyType: "json",
4555
+ bodyType: "json",
4556
+ });
4557
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSubSceneTaskStatusResponse({}));
4106
4558
  }
4107
4559
  async getSubSceneTaskStatus(request) {
4108
4560
  let runtime = new $Util.RuntimeOptions({});
@@ -4110,10 +4562,24 @@ class Client extends openapi_client_1.default {
4110
4562
  }
4111
4563
  async getTaskStatusWithOptions(request, runtime) {
4112
4564
  tea_util_1.default.validateModel(request);
4565
+ let query = {};
4566
+ query["TaskId"] = request.taskId;
4113
4567
  let req = new $OpenApi.OpenApiRequest({
4568
+ query: openapi_util_1.default.query(query),
4114
4569
  body: tea_util_1.default.toMap(request),
4115
4570
  });
4116
- return $tea.cast(await this.doRPCRequest("GetTaskStatus", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetTaskStatusResponse({}));
4571
+ let params = new $OpenApi.Params({
4572
+ action: "GetTaskStatus",
4573
+ version: "2020-01-01",
4574
+ protocol: "HTTPS",
4575
+ pathname: "/",
4576
+ method: "POST",
4577
+ authType: "AK",
4578
+ style: "RPC",
4579
+ reqBodyType: "json",
4580
+ bodyType: "json",
4581
+ });
4582
+ return $tea.cast(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
4117
4583
  }
4118
4584
  async getTaskStatus(request) {
4119
4585
  let runtime = new $Util.RuntimeOptions({});
@@ -4121,10 +4587,24 @@ class Client extends openapi_client_1.default {
4121
4587
  }
4122
4588
  async getWindowConfigWithOptions(request, runtime) {
4123
4589
  tea_util_1.default.validateModel(request);
4590
+ let query = {};
4591
+ query["PreviewToken"] = request.previewToken;
4124
4592
  let req = new $OpenApi.OpenApiRequest({
4593
+ query: openapi_util_1.default.query(query),
4125
4594
  body: tea_util_1.default.toMap(request),
4126
4595
  });
4127
- return $tea.cast(await this.doRPCRequest("GetWindowConfig", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new GetWindowConfigResponse({}));
4596
+ let params = new $OpenApi.Params({
4597
+ action: "GetWindowConfig",
4598
+ version: "2020-01-01",
4599
+ protocol: "HTTPS",
4600
+ pathname: "/",
4601
+ method: "POST",
4602
+ authType: "AK",
4603
+ style: "RPC",
4604
+ reqBodyType: "json",
4605
+ bodyType: "json",
4606
+ });
4607
+ return $tea.cast(await this.callApi(params, req, runtime), new GetWindowConfigResponse({}));
4128
4608
  }
4129
4609
  async getWindowConfig(request) {
4130
4610
  let runtime = new $Util.RuntimeOptions({});
@@ -4132,10 +4612,25 @@ class Client extends openapi_client_1.default {
4132
4612
  }
4133
4613
  async labelBuildWithOptions(request, runtime) {
4134
4614
  tea_util_1.default.validateModel(request);
4615
+ let query = {};
4616
+ query["Mode"] = request.mode;
4617
+ query["SceneId"] = request.sceneId;
4135
4618
  let req = new $OpenApi.OpenApiRequest({
4619
+ query: openapi_util_1.default.query(query),
4136
4620
  body: tea_util_1.default.toMap(request),
4137
4621
  });
4138
- return $tea.cast(await this.doRPCRequest("LabelBuild", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new LabelBuildResponse({}));
4622
+ let params = new $OpenApi.Params({
4623
+ action: "LabelBuild",
4624
+ version: "2020-01-01",
4625
+ protocol: "HTTPS",
4626
+ pathname: "/",
4627
+ method: "POST",
4628
+ authType: "AK",
4629
+ style: "RPC",
4630
+ reqBodyType: "json",
4631
+ bodyType: "json",
4632
+ });
4633
+ return $tea.cast(await this.callApi(params, req, runtime), new LabelBuildResponse({}));
4139
4634
  }
4140
4635
  async labelBuild(request) {
4141
4636
  let runtime = new $Util.RuntimeOptions({});
@@ -4143,10 +4638,27 @@ class Client extends openapi_client_1.default {
4143
4638
  }
4144
4639
  async linkImageWithOptions(request, runtime) {
4145
4640
  tea_util_1.default.validateModel(request);
4641
+ let query = {};
4642
+ query["CameraHeight"] = request.cameraHeight;
4643
+ query["FileName"] = request.fileName;
4644
+ query["Platform"] = request.platform;
4645
+ query["SubSceneId"] = request.subSceneId;
4146
4646
  let req = new $OpenApi.OpenApiRequest({
4647
+ query: openapi_util_1.default.query(query),
4147
4648
  body: tea_util_1.default.toMap(request),
4148
4649
  });
4149
- return $tea.cast(await this.doRPCRequest("LinkImage", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new LinkImageResponse({}));
4650
+ let params = new $OpenApi.Params({
4651
+ action: "LinkImage",
4652
+ version: "2020-01-01",
4653
+ protocol: "HTTPS",
4654
+ pathname: "/",
4655
+ method: "POST",
4656
+ authType: "AK",
4657
+ style: "RPC",
4658
+ reqBodyType: "json",
4659
+ bodyType: "json",
4660
+ });
4661
+ return $tea.cast(await this.callApi(params, req, runtime), new LinkImageResponse({}));
4150
4662
  }
4151
4663
  async linkImage(request) {
4152
4664
  let runtime = new $Util.RuntimeOptions({});
@@ -4154,10 +4666,26 @@ class Client extends openapi_client_1.default {
4154
4666
  }
4155
4667
  async listProjectWithOptions(request, runtime) {
4156
4668
  tea_util_1.default.validateModel(request);
4669
+ let query = {};
4670
+ query["Name"] = request.name;
4671
+ query["PageNum"] = request.pageNum;
4672
+ query["PageSize"] = request.pageSize;
4157
4673
  let req = new $OpenApi.OpenApiRequest({
4674
+ query: openapi_util_1.default.query(query),
4158
4675
  body: tea_util_1.default.toMap(request),
4159
4676
  });
4160
- return $tea.cast(await this.doRPCRequest("ListProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new ListProjectResponse({}));
4677
+ let params = new $OpenApi.Params({
4678
+ action: "ListProject",
4679
+ version: "2020-01-01",
4680
+ protocol: "HTTPS",
4681
+ pathname: "/",
4682
+ method: "POST",
4683
+ authType: "AK",
4684
+ style: "RPC",
4685
+ reqBodyType: "json",
4686
+ bodyType: "json",
4687
+ });
4688
+ return $tea.cast(await this.callApi(params, req, runtime), new ListProjectResponse({}));
4161
4689
  }
4162
4690
  async listProject(request) {
4163
4691
  let runtime = new $Util.RuntimeOptions({});
@@ -4165,10 +4693,27 @@ class Client extends openapi_client_1.default {
4165
4693
  }
4166
4694
  async listSceneWithOptions(request, runtime) {
4167
4695
  tea_util_1.default.validateModel(request);
4696
+ let query = {};
4697
+ query["Name"] = request.name;
4698
+ query["PageNum"] = request.pageNum;
4699
+ query["PageSize"] = request.pageSize;
4700
+ query["ProjectId"] = request.projectId;
4168
4701
  let req = new $OpenApi.OpenApiRequest({
4702
+ query: openapi_util_1.default.query(query),
4169
4703
  body: tea_util_1.default.toMap(request),
4170
4704
  });
4171
- return $tea.cast(await this.doRPCRequest("ListScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new ListSceneResponse({}));
4705
+ let params = new $OpenApi.Params({
4706
+ action: "ListScene",
4707
+ version: "2020-01-01",
4708
+ protocol: "HTTPS",
4709
+ pathname: "/",
4710
+ method: "POST",
4711
+ authType: "AK",
4712
+ style: "RPC",
4713
+ reqBodyType: "json",
4714
+ bodyType: "json",
4715
+ });
4716
+ return $tea.cast(await this.callApi(params, req, runtime), new ListSceneResponse({}));
4172
4717
  }
4173
4718
  async listScene(request) {
4174
4719
  let runtime = new $Util.RuntimeOptions({});
@@ -4176,10 +4721,25 @@ class Client extends openapi_client_1.default {
4176
4721
  }
4177
4722
  async listScenesWithOptions(request, runtime) {
4178
4723
  tea_util_1.default.validateModel(request);
4724
+ let query = {};
4725
+ query["IsPublishQuery"] = request.isPublishQuery;
4726
+ query["ProjectId"] = request.projectId;
4179
4727
  let req = new $OpenApi.OpenApiRequest({
4728
+ query: openapi_util_1.default.query(query),
4180
4729
  body: tea_util_1.default.toMap(request),
4181
4730
  });
4182
- return $tea.cast(await this.doRPCRequest("ListScenes", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new ListScenesResponse({}));
4731
+ let params = new $OpenApi.Params({
4732
+ action: "ListScenes",
4733
+ version: "2020-01-01",
4734
+ protocol: "HTTPS",
4735
+ pathname: "/",
4736
+ method: "POST",
4737
+ authType: "AK",
4738
+ style: "RPC",
4739
+ reqBodyType: "json",
4740
+ bodyType: "json",
4741
+ });
4742
+ return $tea.cast(await this.callApi(params, req, runtime), new ListScenesResponse({}));
4183
4743
  }
4184
4744
  async listScenes(request) {
4185
4745
  let runtime = new $Util.RuntimeOptions({});
@@ -4187,10 +4747,27 @@ class Client extends openapi_client_1.default {
4187
4747
  }
4188
4748
  async listSubSceneWithOptions(request, runtime) {
4189
4749
  tea_util_1.default.validateModel(request);
4750
+ let query = {};
4751
+ query["PageNum"] = request.pageNum;
4752
+ query["PageSize"] = request.pageSize;
4753
+ query["SceneId"] = request.sceneId;
4754
+ query["ShowLayoutData"] = request.showLayoutData;
4190
4755
  let req = new $OpenApi.OpenApiRequest({
4756
+ query: openapi_util_1.default.query(query),
4191
4757
  body: tea_util_1.default.toMap(request),
4192
4758
  });
4193
- return $tea.cast(await this.doRPCRequest("ListSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new ListSubSceneResponse({}));
4759
+ let params = new $OpenApi.Params({
4760
+ action: "ListSubScene",
4761
+ version: "2020-01-01",
4762
+ protocol: "HTTPS",
4763
+ pathname: "/",
4764
+ method: "POST",
4765
+ authType: "AK",
4766
+ style: "RPC",
4767
+ reqBodyType: "json",
4768
+ bodyType: "json",
4769
+ });
4770
+ return $tea.cast(await this.callApi(params, req, runtime), new ListSubSceneResponse({}));
4194
4771
  }
4195
4772
  async listSubScene(request) {
4196
4773
  let runtime = new $Util.RuntimeOptions({});
@@ -4198,10 +4775,24 @@ class Client extends openapi_client_1.default {
4198
4775
  }
4199
4776
  async optimizeRightAngleWithOptions(request, runtime) {
4200
4777
  tea_util_1.default.validateModel(request);
4778
+ let query = {};
4779
+ query["SubSceneId"] = request.subSceneId;
4201
4780
  let req = new $OpenApi.OpenApiRequest({
4781
+ query: openapi_util_1.default.query(query),
4202
4782
  body: tea_util_1.default.toMap(request),
4203
4783
  });
4204
- return $tea.cast(await this.doRPCRequest("OptimizeRightAngle", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new OptimizeRightAngleResponse({}));
4784
+ let params = new $OpenApi.Params({
4785
+ action: "OptimizeRightAngle",
4786
+ version: "2020-01-01",
4787
+ protocol: "HTTPS",
4788
+ pathname: "/",
4789
+ method: "POST",
4790
+ authType: "AK",
4791
+ style: "RPC",
4792
+ reqBodyType: "json",
4793
+ bodyType: "json",
4794
+ });
4795
+ return $tea.cast(await this.callApi(params, req, runtime), new OptimizeRightAngleResponse({}));
4205
4796
  }
4206
4797
  async optimizeRightAngle(request) {
4207
4798
  let runtime = new $Util.RuntimeOptions({});
@@ -4209,10 +4800,27 @@ class Client extends openapi_client_1.default {
4209
4800
  }
4210
4801
  async predImageWithOptions(request, runtime) {
4211
4802
  tea_util_1.default.validateModel(request);
4803
+ let query = {};
4804
+ query["CorrectVertical"] = request.correctVertical;
4805
+ query["CountDetectDoor"] = request.countDetectDoor;
4806
+ query["DetectDoor"] = request.detectDoor;
4807
+ query["SubSceneId"] = request.subSceneId;
4212
4808
  let req = new $OpenApi.OpenApiRequest({
4809
+ query: openapi_util_1.default.query(query),
4213
4810
  body: tea_util_1.default.toMap(request),
4214
4811
  });
4215
- return $tea.cast(await this.doRPCRequest("PredImage", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new PredImageResponse({}));
4812
+ let params = new $OpenApi.Params({
4813
+ action: "PredImage",
4814
+ version: "2020-01-01",
4815
+ protocol: "HTTPS",
4816
+ pathname: "/",
4817
+ method: "POST",
4818
+ authType: "AK",
4819
+ style: "RPC",
4820
+ reqBodyType: "json",
4821
+ bodyType: "json",
4822
+ });
4823
+ return $tea.cast(await this.callApi(params, req, runtime), new PredImageResponse({}));
4216
4824
  }
4217
4825
  async predImage(request) {
4218
4826
  let runtime = new $Util.RuntimeOptions({});
@@ -4220,10 +4828,25 @@ class Client extends openapi_client_1.default {
4220
4828
  }
4221
4829
  async predictionWallLineWithOptions(request, runtime) {
4222
4830
  tea_util_1.default.validateModel(request);
4831
+ let query = {};
4832
+ query["CameraHeight"] = request.cameraHeight;
4833
+ query["Url"] = request.url;
4223
4834
  let req = new $OpenApi.OpenApiRequest({
4835
+ query: openapi_util_1.default.query(query),
4224
4836
  body: tea_util_1.default.toMap(request),
4225
4837
  });
4226
- return $tea.cast(await this.doRPCRequest("PredictionWallLine", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new PredictionWallLineResponse({}));
4838
+ let params = new $OpenApi.Params({
4839
+ action: "PredictionWallLine",
4840
+ version: "2020-01-01",
4841
+ protocol: "HTTPS",
4842
+ pathname: "/",
4843
+ method: "POST",
4844
+ authType: "AK",
4845
+ style: "RPC",
4846
+ reqBodyType: "json",
4847
+ bodyType: "json",
4848
+ });
4849
+ return $tea.cast(await this.callApi(params, req, runtime), new PredictionWallLineResponse({}));
4227
4850
  }
4228
4851
  async predictionWallLine(request) {
4229
4852
  let runtime = new $Util.RuntimeOptions({});
@@ -4231,10 +4854,25 @@ class Client extends openapi_client_1.default {
4231
4854
  }
4232
4855
  async publishHotspotWithOptions(request, runtime) {
4233
4856
  tea_util_1.default.validateModel(request);
4857
+ let query = {};
4858
+ query["ParamTag"] = request.paramTag;
4859
+ query["SubSceneUuid"] = request.subSceneUuid;
4234
4860
  let req = new $OpenApi.OpenApiRequest({
4861
+ query: openapi_util_1.default.query(query),
4235
4862
  body: tea_util_1.default.toMap(request),
4236
4863
  });
4237
- return $tea.cast(await this.doRPCRequest("PublishHotspot", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new PublishHotspotResponse({}));
4864
+ let params = new $OpenApi.Params({
4865
+ action: "PublishHotspot",
4866
+ version: "2020-01-01",
4867
+ protocol: "HTTPS",
4868
+ pathname: "/",
4869
+ method: "POST",
4870
+ authType: "AK",
4871
+ style: "RPC",
4872
+ reqBodyType: "json",
4873
+ bodyType: "json",
4874
+ });
4875
+ return $tea.cast(await this.callApi(params, req, runtime), new PublishHotspotResponse({}));
4238
4876
  }
4239
4877
  async publishHotspot(request) {
4240
4878
  let runtime = new $Util.RuntimeOptions({});
@@ -4242,10 +4880,24 @@ class Client extends openapi_client_1.default {
4242
4880
  }
4243
4881
  async publishSceneWithOptions(request, runtime) {
4244
4882
  tea_util_1.default.validateModel(request);
4883
+ let query = {};
4884
+ query["SceneId"] = request.sceneId;
4245
4885
  let req = new $OpenApi.OpenApiRequest({
4886
+ query: openapi_util_1.default.query(query),
4246
4887
  body: tea_util_1.default.toMap(request),
4247
4888
  });
4248
- return $tea.cast(await this.doRPCRequest("PublishScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new PublishSceneResponse({}));
4889
+ let params = new $OpenApi.Params({
4890
+ action: "PublishScene",
4891
+ version: "2020-01-01",
4892
+ protocol: "HTTPS",
4893
+ pathname: "/",
4894
+ method: "POST",
4895
+ authType: "AK",
4896
+ style: "RPC",
4897
+ reqBodyType: "json",
4898
+ bodyType: "json",
4899
+ });
4900
+ return $tea.cast(await this.callApi(params, req, runtime), new PublishSceneResponse({}));
4249
4901
  }
4250
4902
  async publishScene(request) {
4251
4903
  let runtime = new $Util.RuntimeOptions({});
@@ -4253,10 +4905,24 @@ class Client extends openapi_client_1.default {
4253
4905
  }
4254
4906
  async publishStatusWithOptions(request, runtime) {
4255
4907
  tea_util_1.default.validateModel(request);
4908
+ let query = {};
4909
+ query["SceneId"] = request.sceneId;
4256
4910
  let req = new $OpenApi.OpenApiRequest({
4911
+ query: openapi_util_1.default.query(query),
4257
4912
  body: tea_util_1.default.toMap(request),
4258
4913
  });
4259
- return $tea.cast(await this.doRPCRequest("PublishStatus", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new PublishStatusResponse({}));
4914
+ let params = new $OpenApi.Params({
4915
+ action: "PublishStatus",
4916
+ version: "2020-01-01",
4917
+ protocol: "HTTPS",
4918
+ pathname: "/",
4919
+ method: "POST",
4920
+ authType: "AK",
4921
+ style: "RPC",
4922
+ reqBodyType: "json",
4923
+ bodyType: "json",
4924
+ });
4925
+ return $tea.cast(await this.callApi(params, req, runtime), new PublishStatusResponse({}));
4260
4926
  }
4261
4927
  async publishStatus(request) {
4262
4928
  let runtime = new $Util.RuntimeOptions({});
@@ -4264,10 +4930,24 @@ class Client extends openapi_client_1.default {
4264
4930
  }
4265
4931
  async recoveryOriginImageWithOptions(request, runtime) {
4266
4932
  tea_util_1.default.validateModel(request);
4933
+ let query = {};
4934
+ query["SubSceneId"] = request.subSceneId;
4267
4935
  let req = new $OpenApi.OpenApiRequest({
4936
+ query: openapi_util_1.default.query(query),
4268
4937
  body: tea_util_1.default.toMap(request),
4269
4938
  });
4270
- return $tea.cast(await this.doRPCRequest("RecoveryOriginImage", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new RecoveryOriginImageResponse({}));
4939
+ let params = new $OpenApi.Params({
4940
+ action: "RecoveryOriginImage",
4941
+ version: "2020-01-01",
4942
+ protocol: "HTTPS",
4943
+ pathname: "/",
4944
+ method: "POST",
4945
+ authType: "AK",
4946
+ style: "RPC",
4947
+ reqBodyType: "json",
4948
+ bodyType: "json",
4949
+ });
4950
+ return $tea.cast(await this.callApi(params, req, runtime), new RecoveryOriginImageResponse({}));
4271
4951
  }
4272
4952
  async recoveryOriginImage(request) {
4273
4953
  let runtime = new $Util.RuntimeOptions({});
@@ -4275,10 +4955,27 @@ class Client extends openapi_client_1.default {
4275
4955
  }
4276
4956
  async rectVerticalWithOptions(request, runtime) {
4277
4957
  tea_util_1.default.validateModel(request);
4958
+ let query = {};
4959
+ query["CountDetectDoor"] = request.countDetectDoor;
4960
+ query["DetectDoor"] = request.detectDoor;
4961
+ query["SubSceneId"] = request.subSceneId;
4962
+ query["VerticalRect"] = request.verticalRect;
4278
4963
  let req = new $OpenApi.OpenApiRequest({
4964
+ query: openapi_util_1.default.query(query),
4279
4965
  body: tea_util_1.default.toMap(request),
4280
4966
  });
4281
- return $tea.cast(await this.doRPCRequest("RectVertical", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new RectVerticalResponse({}));
4967
+ let params = new $OpenApi.Params({
4968
+ action: "RectVertical",
4969
+ version: "2020-01-01",
4970
+ protocol: "HTTPS",
4971
+ pathname: "/",
4972
+ method: "POST",
4973
+ authType: "AK",
4974
+ style: "RPC",
4975
+ reqBodyType: "json",
4976
+ bodyType: "json",
4977
+ });
4978
+ return $tea.cast(await this.callApi(params, req, runtime), new RectVerticalResponse({}));
4282
4979
  }
4283
4980
  async rectVertical(request) {
4284
4981
  let runtime = new $Util.RuntimeOptions({});
@@ -4286,10 +4983,25 @@ class Client extends openapi_client_1.default {
4286
4983
  }
4287
4984
  async rectifyImageWithOptions(request, runtime) {
4288
4985
  tea_util_1.default.validateModel(request);
4986
+ let query = {};
4987
+ query["CameraHeight"] = request.cameraHeight;
4988
+ query["Url"] = request.url;
4289
4989
  let req = new $OpenApi.OpenApiRequest({
4990
+ query: openapi_util_1.default.query(query),
4290
4991
  body: tea_util_1.default.toMap(request),
4291
4992
  });
4292
- return $tea.cast(await this.doRPCRequest("RectifyImage", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new RectifyImageResponse({}));
4993
+ let params = new $OpenApi.Params({
4994
+ action: "RectifyImage",
4995
+ version: "2020-01-01",
4996
+ protocol: "HTTPS",
4997
+ pathname: "/",
4998
+ method: "POST",
4999
+ authType: "AK",
5000
+ style: "RPC",
5001
+ reqBodyType: "json",
5002
+ bodyType: "json",
5003
+ });
5004
+ return $tea.cast(await this.callApi(params, req, runtime), new RectifyImageResponse({}));
4293
5005
  }
4294
5006
  async rectifyImage(request) {
4295
5007
  let runtime = new $Util.RuntimeOptions({});
@@ -4297,10 +5009,24 @@ class Client extends openapi_client_1.default {
4297
5009
  }
4298
5010
  async rollbackSubSceneWithOptions(request, runtime) {
4299
5011
  tea_util_1.default.validateModel(request);
5012
+ let query = {};
5013
+ query["Id"] = request.id;
4300
5014
  let req = new $OpenApi.OpenApiRequest({
5015
+ query: openapi_util_1.default.query(query),
4301
5016
  body: tea_util_1.default.toMap(request),
4302
5017
  });
4303
- return $tea.cast(await this.doRPCRequest("RollbackSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new RollbackSubSceneResponse({}));
5018
+ let params = new $OpenApi.Params({
5019
+ action: "RollbackSubScene",
5020
+ version: "2020-01-01",
5021
+ protocol: "HTTPS",
5022
+ pathname: "/",
5023
+ method: "POST",
5024
+ authType: "AK",
5025
+ style: "RPC",
5026
+ reqBodyType: "json",
5027
+ bodyType: "json",
5028
+ });
5029
+ return $tea.cast(await this.callApi(params, req, runtime), new RollbackSubSceneResponse({}));
4304
5030
  }
4305
5031
  async rollbackSubScene(request) {
4306
5032
  let runtime = new $Util.RuntimeOptions({});
@@ -4308,10 +5034,25 @@ class Client extends openapi_client_1.default {
4308
5034
  }
4309
5035
  async saveHotspotConfigWithOptions(request, runtime) {
4310
5036
  tea_util_1.default.validateModel(request);
5037
+ let query = {};
5038
+ query["ParamTag"] = request.paramTag;
5039
+ query["PreviewToken"] = request.previewToken;
4311
5040
  let req = new $OpenApi.OpenApiRequest({
5041
+ query: openapi_util_1.default.query(query),
4312
5042
  body: tea_util_1.default.toMap(request),
4313
5043
  });
4314
- return $tea.cast(await this.doRPCRequest("SaveHotspotConfig", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new SaveHotspotConfigResponse({}));
5044
+ let params = new $OpenApi.Params({
5045
+ action: "SaveHotspotConfig",
5046
+ version: "2020-01-01",
5047
+ protocol: "HTTPS",
5048
+ pathname: "/",
5049
+ method: "POST",
5050
+ authType: "AK",
5051
+ style: "RPC",
5052
+ reqBodyType: "json",
5053
+ bodyType: "json",
5054
+ });
5055
+ return $tea.cast(await this.callApi(params, req, runtime), new SaveHotspotConfigResponse({}));
4315
5056
  }
4316
5057
  async saveHotspotConfig(request) {
4317
5058
  let runtime = new $Util.RuntimeOptions({});
@@ -4319,10 +5060,25 @@ class Client extends openapi_client_1.default {
4319
5060
  }
4320
5061
  async saveHotspotTagWithOptions(request, runtime) {
4321
5062
  tea_util_1.default.validateModel(request);
5063
+ let query = {};
5064
+ query["ParamTag"] = request.paramTag;
5065
+ query["SubSceneUuid"] = request.subSceneUuid;
4322
5066
  let req = new $OpenApi.OpenApiRequest({
5067
+ query: openapi_util_1.default.query(query),
4323
5068
  body: tea_util_1.default.toMap(request),
4324
5069
  });
4325
- return $tea.cast(await this.doRPCRequest("SaveHotspotTag", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new SaveHotspotTagResponse({}));
5070
+ let params = new $OpenApi.Params({
5071
+ action: "SaveHotspotTag",
5072
+ version: "2020-01-01",
5073
+ protocol: "HTTPS",
5074
+ pathname: "/",
5075
+ method: "POST",
5076
+ authType: "AK",
5077
+ style: "RPC",
5078
+ reqBodyType: "json",
5079
+ bodyType: "json",
5080
+ });
5081
+ return $tea.cast(await this.callApi(params, req, runtime), new SaveHotspotTagResponse({}));
4326
5082
  }
4327
5083
  async saveHotspotTag(request) {
4328
5084
  let runtime = new $Util.RuntimeOptions({});
@@ -4330,10 +5086,24 @@ class Client extends openapi_client_1.default {
4330
5086
  }
4331
5087
  async scenePublishWithOptions(request, runtime) {
4332
5088
  tea_util_1.default.validateModel(request);
5089
+ let query = {};
5090
+ query["SceneId"] = request.sceneId;
4333
5091
  let req = new $OpenApi.OpenApiRequest({
5092
+ query: openapi_util_1.default.query(query),
4334
5093
  body: tea_util_1.default.toMap(request),
4335
5094
  });
4336
- return $tea.cast(await this.doRPCRequest("ScenePublish", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new ScenePublishResponse({}));
5095
+ let params = new $OpenApi.Params({
5096
+ action: "ScenePublish",
5097
+ version: "2020-01-01",
5098
+ protocol: "HTTPS",
5099
+ pathname: "/",
5100
+ method: "POST",
5101
+ authType: "AK",
5102
+ style: "RPC",
5103
+ reqBodyType: "json",
5104
+ bodyType: "json",
5105
+ });
5106
+ return $tea.cast(await this.callApi(params, req, runtime), new ScenePublishResponse({}));
4337
5107
  }
4338
5108
  async scenePublish(request) {
4339
5109
  let runtime = new $Util.RuntimeOptions({});
@@ -4341,10 +5111,24 @@ class Client extends openapi_client_1.default {
4341
5111
  }
4342
5112
  async tempPreviewWithOptions(request, runtime) {
4343
5113
  tea_util_1.default.validateModel(request);
5114
+ let query = {};
5115
+ query["SceneId"] = request.sceneId;
4344
5116
  let req = new $OpenApi.OpenApiRequest({
5117
+ query: openapi_util_1.default.query(query),
4345
5118
  body: tea_util_1.default.toMap(request),
4346
5119
  });
4347
- return $tea.cast(await this.doRPCRequest("TempPreview", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new TempPreviewResponse({}));
5120
+ let params = new $OpenApi.Params({
5121
+ action: "TempPreview",
5122
+ version: "2020-01-01",
5123
+ protocol: "HTTPS",
5124
+ pathname: "/",
5125
+ method: "POST",
5126
+ authType: "AK",
5127
+ style: "RPC",
5128
+ reqBodyType: "json",
5129
+ bodyType: "json",
5130
+ });
5131
+ return $tea.cast(await this.callApi(params, req, runtime), new TempPreviewResponse({}));
4348
5132
  }
4349
5133
  async tempPreview(request) {
4350
5134
  let runtime = new $Util.RuntimeOptions({});
@@ -4352,10 +5136,24 @@ class Client extends openapi_client_1.default {
4352
5136
  }
4353
5137
  async tempPreviewStatusWithOptions(request, runtime) {
4354
5138
  tea_util_1.default.validateModel(request);
5139
+ let query = {};
5140
+ query["SceneId"] = request.sceneId;
4355
5141
  let req = new $OpenApi.OpenApiRequest({
5142
+ query: openapi_util_1.default.query(query),
4356
5143
  body: tea_util_1.default.toMap(request),
4357
5144
  });
4358
- return $tea.cast(await this.doRPCRequest("TempPreviewStatus", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new TempPreviewStatusResponse({}));
5145
+ let params = new $OpenApi.Params({
5146
+ action: "TempPreviewStatus",
5147
+ version: "2020-01-01",
5148
+ protocol: "HTTPS",
5149
+ pathname: "/",
5150
+ method: "POST",
5151
+ authType: "AK",
5152
+ style: "RPC",
5153
+ reqBodyType: "json",
5154
+ bodyType: "json",
5155
+ });
5156
+ return $tea.cast(await this.callApi(params, req, runtime), new TempPreviewStatusResponse({}));
4359
5157
  }
4360
5158
  async tempPreviewStatus(request) {
4361
5159
  let runtime = new $Util.RuntimeOptions({});
@@ -4363,10 +5161,25 @@ class Client extends openapi_client_1.default {
4363
5161
  }
4364
5162
  async updateConnDataWithOptions(request, runtime) {
4365
5163
  tea_util_1.default.validateModel(request);
5164
+ let query = {};
5165
+ query["ConnData"] = request.connData;
5166
+ query["SceneId"] = request.sceneId;
4366
5167
  let req = new $OpenApi.OpenApiRequest({
5168
+ query: openapi_util_1.default.query(query),
4367
5169
  body: tea_util_1.default.toMap(request),
4368
5170
  });
4369
- return $tea.cast(await this.doRPCRequest("UpdateConnData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateConnDataResponse({}));
5171
+ let params = new $OpenApi.Params({
5172
+ action: "UpdateConnData",
5173
+ version: "2020-01-01",
5174
+ protocol: "HTTPS",
5175
+ pathname: "/",
5176
+ method: "POST",
5177
+ authType: "AK",
5178
+ style: "RPC",
5179
+ reqBodyType: "json",
5180
+ bodyType: "json",
5181
+ });
5182
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateConnDataResponse({}));
4370
5183
  }
4371
5184
  async updateConnData(request) {
4372
5185
  let runtime = new $Util.RuntimeOptions({});
@@ -4374,10 +5187,25 @@ class Client extends openapi_client_1.default {
4374
5187
  }
4375
5188
  async updateLayoutDataWithOptions(request, runtime) {
4376
5189
  tea_util_1.default.validateModel(request);
5190
+ let query = {};
5191
+ query["LayoutData"] = request.layoutData;
5192
+ query["SubSceneId"] = request.subSceneId;
4377
5193
  let req = new $OpenApi.OpenApiRequest({
5194
+ query: openapi_util_1.default.query(query),
4378
5195
  body: tea_util_1.default.toMap(request),
4379
5196
  });
4380
- return $tea.cast(await this.doRPCRequest("UpdateLayoutData", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateLayoutDataResponse({}));
5197
+ let params = new $OpenApi.Params({
5198
+ action: "UpdateLayoutData",
5199
+ version: "2020-01-01",
5200
+ protocol: "HTTPS",
5201
+ pathname: "/",
5202
+ method: "POST",
5203
+ authType: "AK",
5204
+ style: "RPC",
5205
+ reqBodyType: "json",
5206
+ bodyType: "json",
5207
+ });
5208
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateLayoutDataResponse({}));
4381
5209
  }
4382
5210
  async updateLayoutData(request) {
4383
5211
  let runtime = new $Util.RuntimeOptions({});
@@ -4385,10 +5213,26 @@ class Client extends openapi_client_1.default {
4385
5213
  }
4386
5214
  async updateProjectWithOptions(request, runtime) {
4387
5215
  tea_util_1.default.validateModel(request);
5216
+ let query = {};
5217
+ query["BusinessId"] = request.businessId;
5218
+ query["Id"] = request.id;
5219
+ query["Name"] = request.name;
4388
5220
  let req = new $OpenApi.OpenApiRequest({
5221
+ query: openapi_util_1.default.query(query),
4389
5222
  body: tea_util_1.default.toMap(request),
4390
5223
  });
4391
- return $tea.cast(await this.doRPCRequest("UpdateProject", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateProjectResponse({}));
5224
+ let params = new $OpenApi.Params({
5225
+ action: "UpdateProject",
5226
+ version: "2020-01-01",
5227
+ protocol: "HTTPS",
5228
+ pathname: "/",
5229
+ method: "POST",
5230
+ authType: "AK",
5231
+ style: "RPC",
5232
+ reqBodyType: "json",
5233
+ bodyType: "json",
5234
+ });
5235
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateProjectResponse({}));
4392
5236
  }
4393
5237
  async updateProject(request) {
4394
5238
  let runtime = new $Util.RuntimeOptions({});
@@ -4396,10 +5240,25 @@ class Client extends openapi_client_1.default {
4396
5240
  }
4397
5241
  async updateSceneWithOptions(request, runtime) {
4398
5242
  tea_util_1.default.validateModel(request);
5243
+ let query = {};
5244
+ query["Id"] = request.id;
5245
+ query["Name"] = request.name;
4399
5246
  let req = new $OpenApi.OpenApiRequest({
5247
+ query: openapi_util_1.default.query(query),
4400
5248
  body: tea_util_1.default.toMap(request),
4401
5249
  });
4402
- return $tea.cast(await this.doRPCRequest("UpdateScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateSceneResponse({}));
5250
+ let params = new $OpenApi.Params({
5251
+ action: "UpdateScene",
5252
+ version: "2020-01-01",
5253
+ protocol: "HTTPS",
5254
+ pathname: "/",
5255
+ method: "POST",
5256
+ authType: "AK",
5257
+ style: "RPC",
5258
+ reqBodyType: "json",
5259
+ bodyType: "json",
5260
+ });
5261
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateSceneResponse({}));
4403
5262
  }
4404
5263
  async updateScene(request) {
4405
5264
  let runtime = new $Util.RuntimeOptions({});
@@ -4407,10 +5266,25 @@ class Client extends openapi_client_1.default {
4407
5266
  }
4408
5267
  async updateSubSceneWithOptions(request, runtime) {
4409
5268
  tea_util_1.default.validateModel(request);
5269
+ let query = {};
5270
+ query["Id"] = request.id;
5271
+ query["Name"] = request.name;
4410
5272
  let req = new $OpenApi.OpenApiRequest({
5273
+ query: openapi_util_1.default.query(query),
4411
5274
  body: tea_util_1.default.toMap(request),
4412
5275
  });
4413
- return $tea.cast(await this.doRPCRequest("UpdateSubScene", "2020-01-01", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateSubSceneResponse({}));
5276
+ let params = new $OpenApi.Params({
5277
+ action: "UpdateSubScene",
5278
+ version: "2020-01-01",
5279
+ protocol: "HTTPS",
5280
+ pathname: "/",
5281
+ method: "POST",
5282
+ authType: "AK",
5283
+ style: "RPC",
5284
+ reqBodyType: "json",
5285
+ bodyType: "json",
5286
+ });
5287
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateSubSceneResponse({}));
4414
5288
  }
4415
5289
  async updateSubScene(request) {
4416
5290
  let runtime = new $Util.RuntimeOptions({});