@alicloud/aligenieip_1_0 2.0.0 → 2.2.0

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
@@ -1168,6 +1168,7 @@ class ControlRoomDeviceRequest extends $tea.Model {
1168
1168
  static names() {
1169
1169
  return {
1170
1170
  cmd: 'Cmd',
1171
+ deviceIndex: 'DeviceIndex',
1171
1172
  deviceNumber: 'DeviceNumber',
1172
1173
  hotelId: 'HotelId',
1173
1174
  properties: 'Properties',
@@ -1177,6 +1178,7 @@ class ControlRoomDeviceRequest extends $tea.Model {
1177
1178
  static types() {
1178
1179
  return {
1179
1180
  cmd: 'string',
1181
+ deviceIndex: 'number',
1180
1182
  deviceNumber: 'string',
1181
1183
  hotelId: 'string',
1182
1184
  properties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
@@ -1192,6 +1194,7 @@ class ControlRoomDeviceShrinkRequest extends $tea.Model {
1192
1194
  static names() {
1193
1195
  return {
1194
1196
  cmd: 'Cmd',
1197
+ deviceIndex: 'DeviceIndex',
1195
1198
  deviceNumber: 'DeviceNumber',
1196
1199
  hotelId: 'HotelId',
1197
1200
  propertiesShrink: 'Properties',
@@ -1201,6 +1204,7 @@ class ControlRoomDeviceShrinkRequest extends $tea.Model {
1201
1204
  static types() {
1202
1205
  return {
1203
1206
  cmd: 'string',
1207
+ deviceIndex: 'number',
1204
1208
  deviceNumber: 'string',
1205
1209
  hotelId: 'string',
1206
1210
  propertiesShrink: 'string',
@@ -1901,12 +1905,14 @@ class DeleteHotelSceneBookItemRequest extends $tea.Model {
1901
1905
  return {
1902
1906
  hotelId: 'HotelId',
1903
1907
  id: 'Id',
1908
+ name: 'Name',
1904
1909
  };
1905
1910
  }
1906
1911
  static types() {
1907
1912
  return {
1908
1913
  hotelId: 'string',
1909
1914
  id: 'number',
1915
+ name: 'string',
1910
1916
  };
1911
1917
  }
1912
1918
  }
@@ -3313,12 +3319,14 @@ class GetHotelSceneItemDetailRequest extends $tea.Model {
3313
3319
  return {
3314
3320
  hotelId: 'HotelId',
3315
3321
  itemId: 'ItemId',
3322
+ name: 'Name',
3316
3323
  };
3317
3324
  }
3318
3325
  static types() {
3319
3326
  return {
3320
3327
  hotelId: 'string',
3321
3328
  itemId: 'number',
3329
+ name: 'string',
3322
3330
  };
3323
3331
  }
3324
3332
  }
@@ -4051,6 +4059,108 @@ class ImportRoomControlDevicesResponse extends $tea.Model {
4051
4059
  }
4052
4060
  }
4053
4061
  exports.ImportRoomControlDevicesResponse = ImportRoomControlDevicesResponse;
4062
+ class ImportRoomGenieScenesHeaders extends $tea.Model {
4063
+ constructor(map) {
4064
+ super(map);
4065
+ }
4066
+ static names() {
4067
+ return {
4068
+ commonHeaders: 'commonHeaders',
4069
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
4070
+ authorization: 'Authorization',
4071
+ };
4072
+ }
4073
+ static types() {
4074
+ return {
4075
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4076
+ xAcsAligenieAccessToken: 'string',
4077
+ authorization: 'string',
4078
+ };
4079
+ }
4080
+ }
4081
+ exports.ImportRoomGenieScenesHeaders = ImportRoomGenieScenesHeaders;
4082
+ class ImportRoomGenieScenesRequest extends $tea.Model {
4083
+ constructor(map) {
4084
+ super(map);
4085
+ }
4086
+ static names() {
4087
+ return {
4088
+ hotelId: 'HotelId',
4089
+ roomNo: 'RoomNo',
4090
+ sceneList: 'SceneList',
4091
+ };
4092
+ }
4093
+ static types() {
4094
+ return {
4095
+ hotelId: 'string',
4096
+ roomNo: 'string',
4097
+ sceneList: { 'type': 'array', 'itemType': ImportRoomGenieScenesRequestSceneList },
4098
+ };
4099
+ }
4100
+ }
4101
+ exports.ImportRoomGenieScenesRequest = ImportRoomGenieScenesRequest;
4102
+ class ImportRoomGenieScenesShrinkRequest extends $tea.Model {
4103
+ constructor(map) {
4104
+ super(map);
4105
+ }
4106
+ static names() {
4107
+ return {
4108
+ hotelId: 'HotelId',
4109
+ roomNo: 'RoomNo',
4110
+ sceneListShrink: 'SceneList',
4111
+ };
4112
+ }
4113
+ static types() {
4114
+ return {
4115
+ hotelId: 'string',
4116
+ roomNo: 'string',
4117
+ sceneListShrink: 'string',
4118
+ };
4119
+ }
4120
+ }
4121
+ exports.ImportRoomGenieScenesShrinkRequest = ImportRoomGenieScenesShrinkRequest;
4122
+ class ImportRoomGenieScenesResponseBody extends $tea.Model {
4123
+ constructor(map) {
4124
+ super(map);
4125
+ }
4126
+ static names() {
4127
+ return {
4128
+ message: 'Message',
4129
+ requestId: 'RequestId',
4130
+ result: 'Result',
4131
+ statusCode: 'StatusCode',
4132
+ };
4133
+ }
4134
+ static types() {
4135
+ return {
4136
+ message: 'string',
4137
+ requestId: 'string',
4138
+ result: 'boolean',
4139
+ statusCode: 'number',
4140
+ };
4141
+ }
4142
+ }
4143
+ exports.ImportRoomGenieScenesResponseBody = ImportRoomGenieScenesResponseBody;
4144
+ class ImportRoomGenieScenesResponse extends $tea.Model {
4145
+ constructor(map) {
4146
+ super(map);
4147
+ }
4148
+ static names() {
4149
+ return {
4150
+ headers: 'headers',
4151
+ statusCode: 'statusCode',
4152
+ body: 'body',
4153
+ };
4154
+ }
4155
+ static types() {
4156
+ return {
4157
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4158
+ statusCode: 'number',
4159
+ body: ImportRoomGenieScenesResponseBody,
4160
+ };
4161
+ }
4162
+ }
4163
+ exports.ImportRoomGenieScenesResponse = ImportRoomGenieScenesResponse;
4054
4164
  class InsertHotelSceneBookItemHeaders extends $tea.Model {
4055
4165
  constructor(map) {
4056
4166
  super(map);
@@ -9387,6 +9497,44 @@ class ImportHotelConfigRequestImportHotelConfig extends $tea.Model {
9387
9497
  }
9388
9498
  }
9389
9499
  exports.ImportHotelConfigRequestImportHotelConfig = ImportHotelConfigRequestImportHotelConfig;
9500
+ class ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwitchList extends $tea.Model {
9501
+ constructor(map) {
9502
+ super(map);
9503
+ }
9504
+ static names() {
9505
+ return {
9506
+ category: 'Category',
9507
+ deviceIndex: 'DeviceIndex',
9508
+ deviceName: 'DeviceName',
9509
+ location: 'Location',
9510
+ };
9511
+ }
9512
+ static types() {
9513
+ return {
9514
+ category: 'string',
9515
+ deviceIndex: 'number',
9516
+ deviceName: 'string',
9517
+ location: 'string',
9518
+ };
9519
+ }
9520
+ }
9521
+ exports.ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwitchList = ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwitchList;
9522
+ class ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExt extends $tea.Model {
9523
+ constructor(map) {
9524
+ super(map);
9525
+ }
9526
+ static names() {
9527
+ return {
9528
+ switchList: 'SwitchList',
9529
+ };
9530
+ }
9531
+ static types() {
9532
+ return {
9533
+ switchList: { 'type': 'array', 'itemType': ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwitchList },
9534
+ };
9535
+ }
9536
+ }
9537
+ exports.ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExt = ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExt;
9390
9538
  class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
9391
9539
  constructor(map) {
9392
9540
  super(map);
@@ -9397,11 +9545,14 @@ class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
9397
9545
  city: 'City',
9398
9546
  connectType: 'ConnectType',
9399
9547
  deviceName: 'DeviceName',
9548
+ dn: 'Dn',
9400
9549
  infraredId: 'InfraredId',
9401
9550
  infraredIndex: 'InfraredIndex',
9402
9551
  infraredVersion: 'InfraredVersion',
9552
+ multiKeySwitchExt: 'MultiKeySwitchExt',
9403
9553
  name: 'Name',
9404
9554
  number: 'Number',
9555
+ pk: 'Pk',
9405
9556
  province: 'Province',
9406
9557
  serviceProvider: 'ServiceProvider',
9407
9558
  };
@@ -9412,11 +9563,14 @@ class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
9412
9563
  city: 'string',
9413
9564
  connectType: 'string',
9414
9565
  deviceName: 'string',
9566
+ dn: 'string',
9415
9567
  infraredId: 'string',
9416
9568
  infraredIndex: 'string',
9417
9569
  infraredVersion: 'string',
9570
+ multiKeySwitchExt: ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExt,
9418
9571
  name: 'string',
9419
9572
  number: 'string',
9573
+ pk: 'string',
9420
9574
  province: 'string',
9421
9575
  serviceProvider: 'string',
9422
9576
  };
@@ -9443,6 +9597,110 @@ class ImportRoomControlDevicesRequestLocationDevices extends $tea.Model {
9443
9597
  }
9444
9598
  }
9445
9599
  exports.ImportRoomControlDevicesRequestLocationDevices = ImportRoomControlDevicesRequestLocationDevices;
9600
+ class ImportRoomGenieScenesRequestSceneListActionsAttributeValues extends $tea.Model {
9601
+ constructor(map) {
9602
+ super(map);
9603
+ }
9604
+ static names() {
9605
+ return {
9606
+ attributeName: 'AttributeName',
9607
+ attributeValue: 'AttributeValue',
9608
+ };
9609
+ }
9610
+ static types() {
9611
+ return {
9612
+ attributeName: 'string',
9613
+ attributeValue: 'string',
9614
+ };
9615
+ }
9616
+ }
9617
+ exports.ImportRoomGenieScenesRequestSceneListActionsAttributeValues = ImportRoomGenieScenesRequestSceneListActionsAttributeValues;
9618
+ class ImportRoomGenieScenesRequestSceneListActionsDevice extends $tea.Model {
9619
+ constructor(map) {
9620
+ super(map);
9621
+ }
9622
+ static names() {
9623
+ return {
9624
+ category: 'Category',
9625
+ deviceIndex: 'DeviceIndex',
9626
+ deviceNumber: 'DeviceNumber',
9627
+ type: 'Type',
9628
+ };
9629
+ }
9630
+ static types() {
9631
+ return {
9632
+ category: 'string',
9633
+ deviceIndex: 'number',
9634
+ deviceNumber: 'string',
9635
+ type: 'number',
9636
+ };
9637
+ }
9638
+ }
9639
+ exports.ImportRoomGenieScenesRequestSceneListActionsDevice = ImportRoomGenieScenesRequestSceneListActionsDevice;
9640
+ class ImportRoomGenieScenesRequestSceneListActions extends $tea.Model {
9641
+ constructor(map) {
9642
+ super(map);
9643
+ }
9644
+ static names() {
9645
+ return {
9646
+ attributeValues: 'AttributeValues',
9647
+ device: 'Device',
9648
+ };
9649
+ }
9650
+ static types() {
9651
+ return {
9652
+ attributeValues: { 'type': 'array', 'itemType': ImportRoomGenieScenesRequestSceneListActionsAttributeValues },
9653
+ device: ImportRoomGenieScenesRequestSceneListActionsDevice,
9654
+ };
9655
+ }
9656
+ }
9657
+ exports.ImportRoomGenieScenesRequestSceneListActions = ImportRoomGenieScenesRequestSceneListActions;
9658
+ class ImportRoomGenieScenesRequestSceneListTriggers extends $tea.Model {
9659
+ constructor(map) {
9660
+ super(map);
9661
+ }
9662
+ static names() {
9663
+ return {
9664
+ corpusList: 'CorpusList',
9665
+ type: 'Type',
9666
+ };
9667
+ }
9668
+ static types() {
9669
+ return {
9670
+ corpusList: { 'type': 'array', 'itemType': 'string' },
9671
+ type: 'number',
9672
+ };
9673
+ }
9674
+ }
9675
+ exports.ImportRoomGenieScenesRequestSceneListTriggers = ImportRoomGenieScenesRequestSceneListTriggers;
9676
+ class ImportRoomGenieScenesRequestSceneList extends $tea.Model {
9677
+ constructor(map) {
9678
+ super(map);
9679
+ }
9680
+ static names() {
9681
+ return {
9682
+ actions: 'Actions',
9683
+ description: 'Description',
9684
+ display: 'Display',
9685
+ icon: 'Icon',
9686
+ sceneName: 'SceneName',
9687
+ triggerLogical: 'TriggerLogical',
9688
+ triggers: 'Triggers',
9689
+ };
9690
+ }
9691
+ static types() {
9692
+ return {
9693
+ actions: { 'type': 'array', 'itemType': ImportRoomGenieScenesRequestSceneListActions },
9694
+ description: 'string',
9695
+ display: 'boolean',
9696
+ icon: 'string',
9697
+ sceneName: 'string',
9698
+ triggerLogical: 'number',
9699
+ triggers: { 'type': 'array', 'itemType': ImportRoomGenieScenesRequestSceneListTriggers },
9700
+ };
9701
+ }
9702
+ }
9703
+ exports.ImportRoomGenieScenesRequestSceneList = ImportRoomGenieScenesRequestSceneList;
9446
9704
  class InsertHotelSceneBookItemRequestAddHotelSceneItemReq extends $tea.Model {
9447
9705
  constructor(map) {
9448
9706
  super(map);
@@ -10204,10 +10462,13 @@ class ListHotelSceneItemsResponseBodyResultSceneItemList extends $tea.Model {
10204
10462
  static names() {
10205
10463
  return {
10206
10464
  category: 'Category',
10465
+ deliveryMethod: 'DeliveryMethod',
10207
10466
  icon: 'Icon',
10208
10467
  id: 'Id',
10209
10468
  name: 'Name',
10469
+ paymentMethod: 'PaymentMethod',
10210
10470
  price: 'Price',
10471
+ robotName: 'RobotName',
10211
10472
  status: 'Status',
10212
10473
  type: 'Type',
10213
10474
  updateTime: 'UpdateTime',
@@ -10216,10 +10477,13 @@ class ListHotelSceneItemsResponseBodyResultSceneItemList extends $tea.Model {
10216
10477
  static types() {
10217
10478
  return {
10218
10479
  category: 'string',
10480
+ deliveryMethod: 'string',
10219
10481
  icon: 'string',
10220
10482
  id: 'number',
10221
10483
  name: 'string',
10484
+ paymentMethod: 'string',
10222
10485
  price: 'number',
10486
+ robotName: 'string',
10223
10487
  status: 'string',
10224
10488
  type: 'string',
10225
10489
  updateTime: 'number',
@@ -10893,6 +11157,48 @@ class QueryHotelRoomDetailResponseBodyResult extends $tea.Model {
10893
11157
  }
10894
11158
  }
10895
11159
  exports.QueryHotelRoomDetailResponseBodyResult = QueryHotelRoomDetailResponseBodyResult;
11160
+ class QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchList extends $tea.Model {
11161
+ constructor(map) {
11162
+ super(map);
11163
+ }
11164
+ static names() {
11165
+ return {
11166
+ category: 'Category',
11167
+ deviceIndex: 'DeviceIndex',
11168
+ deviceName: 'DeviceName',
11169
+ deviceStatus: 'DeviceStatus',
11170
+ elementCode: 'ElementCode',
11171
+ location: 'Location',
11172
+ };
11173
+ }
11174
+ static types() {
11175
+ return {
11176
+ category: 'string',
11177
+ deviceIndex: 'number',
11178
+ deviceName: 'string',
11179
+ deviceStatus: 'string',
11180
+ elementCode: 'string',
11181
+ location: 'string',
11182
+ };
11183
+ }
11184
+ }
11185
+ exports.QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchList = QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchList;
11186
+ class QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExt extends $tea.Model {
11187
+ constructor(map) {
11188
+ super(map);
11189
+ }
11190
+ static names() {
11191
+ return {
11192
+ switchList: 'SwitchList',
11193
+ };
11194
+ }
11195
+ static types() {
11196
+ return {
11197
+ switchList: { 'type': 'array', 'itemType': QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchList },
11198
+ };
11199
+ }
11200
+ }
11201
+ exports.QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExt = QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExt;
10896
11202
  class QueryRoomControlDevicesResponseBodyResultDevices extends $tea.Model {
10897
11203
  constructor(map) {
10898
11204
  super(map);
@@ -10900,17 +11206,25 @@ class QueryRoomControlDevicesResponseBodyResultDevices extends $tea.Model {
10900
11206
  static names() {
10901
11207
  return {
10902
11208
  connectType: 'ConnectType',
11209
+ DN: 'DN',
10903
11210
  deviceName: 'DeviceName',
11211
+ deviceStatus: 'DeviceStatus',
11212
+ multiKeySwitchExt: 'MultiKeySwitchExt',
10904
11213
  name: 'Name',
10905
11214
  number: 'Number',
11215
+ PK: 'PK',
10906
11216
  };
10907
11217
  }
10908
11218
  static types() {
10909
11219
  return {
10910
11220
  connectType: 'string',
11221
+ DN: 'string',
10911
11222
  deviceName: 'string',
11223
+ deviceStatus: 'string',
11224
+ multiKeySwitchExt: QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExt,
10912
11225
  name: 'string',
10913
11226
  number: 'string',
11227
+ PK: 'string',
10914
11228
  };
10915
11229
  }
10916
11230
  }
@@ -11255,19 +11569,27 @@ class UpdateHotelSceneItemRequestUpdateHotelSceneReq extends $tea.Model {
11255
11569
  }
11256
11570
  static names() {
11257
11571
  return {
11572
+ deliveryMethod: 'DeliveryMethod',
11258
11573
  dialogueList: 'DialogueList',
11259
11574
  icon: 'Icon',
11260
11575
  id: 'Id',
11576
+ name: 'Name',
11577
+ paymentMethod: 'PaymentMethod',
11261
11578
  price: 'Price',
11579
+ robotName: 'RobotName',
11262
11580
  status: 'Status',
11263
11581
  };
11264
11582
  }
11265
11583
  static types() {
11266
11584
  return {
11585
+ deliveryMethod: 'string',
11267
11586
  dialogueList: { 'type': 'array', 'itemType': UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList },
11268
11587
  icon: 'string',
11269
11588
  id: 'number',
11589
+ name: 'string',
11590
+ paymentMethod: 'string',
11270
11591
  price: 'number',
11592
+ robotName: 'string',
11271
11593
  status: 'string',
11272
11594
  };
11273
11595
  }
@@ -11891,6 +12213,9 @@ class Client extends openapi_client_1.default {
11891
12213
  if (!tea_util_1.default.isUnset(request.cmd)) {
11892
12214
  body["Cmd"] = request.cmd;
11893
12215
  }
12216
+ if (!tea_util_1.default.isUnset(request.deviceIndex)) {
12217
+ body["DeviceIndex"] = request.deviceIndex;
12218
+ }
11894
12219
  if (!tea_util_1.default.isUnset(request.deviceNumber)) {
11895
12220
  body["DeviceNumber"] = request.deviceNumber;
11896
12221
  }
@@ -12251,6 +12576,9 @@ class Client extends openapi_client_1.default {
12251
12576
  if (!tea_util_1.default.isUnset(request.id)) {
12252
12577
  body["Id"] = request.id;
12253
12578
  }
12579
+ if (!tea_util_1.default.isUnset(request.name)) {
12580
+ body["Name"] = request.name;
12581
+ }
12254
12582
  let realHeaders = {};
12255
12583
  if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
12256
12584
  realHeaders = headers.commonHeaders;
@@ -12933,6 +13261,9 @@ class Client extends openapi_client_1.default {
12933
13261
  if (!tea_util_1.default.isUnset(request.itemId)) {
12934
13262
  body["ItemId"] = request.itemId;
12935
13263
  }
13264
+ if (!tea_util_1.default.isUnset(request.name)) {
13265
+ body["Name"] = request.name;
13266
+ }
12936
13267
  let realHeaders = {};
12937
13268
  if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
12938
13269
  realHeaders = headers.commonHeaders;
@@ -13302,6 +13633,55 @@ class Client extends openapi_client_1.default {
13302
13633
  let headers = new ImportRoomControlDevicesHeaders({});
13303
13634
  return await this.importRoomControlDevicesWithOptions(request, headers, runtime);
13304
13635
  }
13636
+ async importRoomGenieScenesWithOptions(tmpReq, headers, runtime) {
13637
+ tea_util_1.default.validateModel(tmpReq);
13638
+ let request = new ImportRoomGenieScenesShrinkRequest({});
13639
+ openapi_util_1.default.convert(tmpReq, request);
13640
+ if (!tea_util_1.default.isUnset(tmpReq.sceneList)) {
13641
+ request.sceneListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.sceneList, "SceneList", "json");
13642
+ }
13643
+ let body = {};
13644
+ if (!tea_util_1.default.isUnset(request.hotelId)) {
13645
+ body["HotelId"] = request.hotelId;
13646
+ }
13647
+ if (!tea_util_1.default.isUnset(request.roomNo)) {
13648
+ body["RoomNo"] = request.roomNo;
13649
+ }
13650
+ if (!tea_util_1.default.isUnset(request.sceneListShrink)) {
13651
+ body["SceneList"] = request.sceneListShrink;
13652
+ }
13653
+ let realHeaders = {};
13654
+ if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
13655
+ realHeaders = headers.commonHeaders;
13656
+ }
13657
+ if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
13658
+ realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
13659
+ }
13660
+ if (!tea_util_1.default.isUnset(headers.authorization)) {
13661
+ realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
13662
+ }
13663
+ let req = new $OpenApi.OpenApiRequest({
13664
+ headers: realHeaders,
13665
+ body: openapi_util_1.default.parseToMap(body),
13666
+ });
13667
+ let params = new $OpenApi.Params({
13668
+ action: "ImportRoomGenieScenes",
13669
+ version: "ip_1.0",
13670
+ protocol: "HTTPS",
13671
+ pathname: `/v1.0/ip/importRoomGenieScenes`,
13672
+ method: "POST",
13673
+ authType: "AK",
13674
+ style: "ROA",
13675
+ reqBodyType: "formData",
13676
+ bodyType: "json",
13677
+ });
13678
+ return $tea.cast(await this.callApi(params, req, runtime), new ImportRoomGenieScenesResponse({}));
13679
+ }
13680
+ async importRoomGenieScenes(request) {
13681
+ let runtime = new $Util.RuntimeOptions({});
13682
+ let headers = new ImportRoomGenieScenesHeaders({});
13683
+ return await this.importRoomGenieScenesWithOptions(request, headers, runtime);
13684
+ }
13305
13685
  async insertHotelSceneBookItemWithOptions(tmpReq, headers, runtime) {
13306
13686
  tea_util_1.default.validateModel(tmpReq);
13307
13687
  let request = new InsertHotelSceneBookItemShrinkRequest({});