@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.d.ts +223 -0
- package/dist/client.js +380 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +483 -0
package/src/client.ts
CHANGED
|
@@ -1443,6 +1443,7 @@ export class ControlRoomDeviceHeaders extends $tea.Model {
|
|
|
1443
1443
|
|
|
1444
1444
|
export class ControlRoomDeviceRequest extends $tea.Model {
|
|
1445
1445
|
cmd?: string;
|
|
1446
|
+
deviceIndex?: number;
|
|
1446
1447
|
deviceNumber?: string;
|
|
1447
1448
|
hotelId?: string;
|
|
1448
1449
|
properties?: { [key: string]: string };
|
|
@@ -1450,6 +1451,7 @@ export class ControlRoomDeviceRequest extends $tea.Model {
|
|
|
1450
1451
|
static names(): { [key: string]: string } {
|
|
1451
1452
|
return {
|
|
1452
1453
|
cmd: 'Cmd',
|
|
1454
|
+
deviceIndex: 'DeviceIndex',
|
|
1453
1455
|
deviceNumber: 'DeviceNumber',
|
|
1454
1456
|
hotelId: 'HotelId',
|
|
1455
1457
|
properties: 'Properties',
|
|
@@ -1460,6 +1462,7 @@ export class ControlRoomDeviceRequest extends $tea.Model {
|
|
|
1460
1462
|
static types(): { [key: string]: any } {
|
|
1461
1463
|
return {
|
|
1462
1464
|
cmd: 'string',
|
|
1465
|
+
deviceIndex: 'number',
|
|
1463
1466
|
deviceNumber: 'string',
|
|
1464
1467
|
hotelId: 'string',
|
|
1465
1468
|
properties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
@@ -1474,6 +1477,7 @@ export class ControlRoomDeviceRequest extends $tea.Model {
|
|
|
1474
1477
|
|
|
1475
1478
|
export class ControlRoomDeviceShrinkRequest extends $tea.Model {
|
|
1476
1479
|
cmd?: string;
|
|
1480
|
+
deviceIndex?: number;
|
|
1477
1481
|
deviceNumber?: string;
|
|
1478
1482
|
hotelId?: string;
|
|
1479
1483
|
propertiesShrink?: string;
|
|
@@ -1481,6 +1485,7 @@ export class ControlRoomDeviceShrinkRequest extends $tea.Model {
|
|
|
1481
1485
|
static names(): { [key: string]: string } {
|
|
1482
1486
|
return {
|
|
1483
1487
|
cmd: 'Cmd',
|
|
1488
|
+
deviceIndex: 'DeviceIndex',
|
|
1484
1489
|
deviceNumber: 'DeviceNumber',
|
|
1485
1490
|
hotelId: 'HotelId',
|
|
1486
1491
|
propertiesShrink: 'Properties',
|
|
@@ -1491,6 +1496,7 @@ export class ControlRoomDeviceShrinkRequest extends $tea.Model {
|
|
|
1491
1496
|
static types(): { [key: string]: any } {
|
|
1492
1497
|
return {
|
|
1493
1498
|
cmd: 'string',
|
|
1499
|
+
deviceIndex: 'number',
|
|
1494
1500
|
deviceNumber: 'string',
|
|
1495
1501
|
hotelId: 'string',
|
|
1496
1502
|
propertiesShrink: 'string',
|
|
@@ -2372,10 +2378,12 @@ export class DeleteHotelSceneBookItemHeaders extends $tea.Model {
|
|
|
2372
2378
|
export class DeleteHotelSceneBookItemRequest extends $tea.Model {
|
|
2373
2379
|
hotelId?: string;
|
|
2374
2380
|
id?: number;
|
|
2381
|
+
name?: string;
|
|
2375
2382
|
static names(): { [key: string]: string } {
|
|
2376
2383
|
return {
|
|
2377
2384
|
hotelId: 'HotelId',
|
|
2378
2385
|
id: 'Id',
|
|
2386
|
+
name: 'Name',
|
|
2379
2387
|
};
|
|
2380
2388
|
}
|
|
2381
2389
|
|
|
@@ -2383,6 +2391,7 @@ export class DeleteHotelSceneBookItemRequest extends $tea.Model {
|
|
|
2383
2391
|
return {
|
|
2384
2392
|
hotelId: 'string',
|
|
2385
2393
|
id: 'number',
|
|
2394
|
+
name: 'string',
|
|
2386
2395
|
};
|
|
2387
2396
|
}
|
|
2388
2397
|
|
|
@@ -4125,10 +4134,12 @@ export class GetHotelSceneItemDetailHeaders extends $tea.Model {
|
|
|
4125
4134
|
export class GetHotelSceneItemDetailRequest extends $tea.Model {
|
|
4126
4135
|
hotelId?: string;
|
|
4127
4136
|
itemId?: number;
|
|
4137
|
+
name?: string;
|
|
4128
4138
|
static names(): { [key: string]: string } {
|
|
4129
4139
|
return {
|
|
4130
4140
|
hotelId: 'HotelId',
|
|
4131
4141
|
itemId: 'ItemId',
|
|
4142
|
+
name: 'Name',
|
|
4132
4143
|
};
|
|
4133
4144
|
}
|
|
4134
4145
|
|
|
@@ -4136,6 +4147,7 @@ export class GetHotelSceneItemDetailRequest extends $tea.Model {
|
|
|
4136
4147
|
return {
|
|
4137
4148
|
hotelId: 'string',
|
|
4138
4149
|
itemId: 'number',
|
|
4150
|
+
name: 'string',
|
|
4139
4151
|
};
|
|
4140
4152
|
}
|
|
4141
4153
|
|
|
@@ -5056,6 +5068,134 @@ export class ImportRoomControlDevicesResponse extends $tea.Model {
|
|
|
5056
5068
|
}
|
|
5057
5069
|
}
|
|
5058
5070
|
|
|
5071
|
+
export class ImportRoomGenieScenesHeaders extends $tea.Model {
|
|
5072
|
+
commonHeaders?: { [key: string]: string };
|
|
5073
|
+
xAcsAligenieAccessToken?: string;
|
|
5074
|
+
authorization?: string;
|
|
5075
|
+
static names(): { [key: string]: string } {
|
|
5076
|
+
return {
|
|
5077
|
+
commonHeaders: 'commonHeaders',
|
|
5078
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
5079
|
+
authorization: 'Authorization',
|
|
5080
|
+
};
|
|
5081
|
+
}
|
|
5082
|
+
|
|
5083
|
+
static types(): { [key: string]: any } {
|
|
5084
|
+
return {
|
|
5085
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5086
|
+
xAcsAligenieAccessToken: 'string',
|
|
5087
|
+
authorization: 'string',
|
|
5088
|
+
};
|
|
5089
|
+
}
|
|
5090
|
+
|
|
5091
|
+
constructor(map?: { [key: string]: any }) {
|
|
5092
|
+
super(map);
|
|
5093
|
+
}
|
|
5094
|
+
}
|
|
5095
|
+
|
|
5096
|
+
export class ImportRoomGenieScenesRequest extends $tea.Model {
|
|
5097
|
+
hotelId?: string;
|
|
5098
|
+
roomNo?: string;
|
|
5099
|
+
sceneList?: ImportRoomGenieScenesRequestSceneList[];
|
|
5100
|
+
static names(): { [key: string]: string } {
|
|
5101
|
+
return {
|
|
5102
|
+
hotelId: 'HotelId',
|
|
5103
|
+
roomNo: 'RoomNo',
|
|
5104
|
+
sceneList: 'SceneList',
|
|
5105
|
+
};
|
|
5106
|
+
}
|
|
5107
|
+
|
|
5108
|
+
static types(): { [key: string]: any } {
|
|
5109
|
+
return {
|
|
5110
|
+
hotelId: 'string',
|
|
5111
|
+
roomNo: 'string',
|
|
5112
|
+
sceneList: { 'type': 'array', 'itemType': ImportRoomGenieScenesRequestSceneList },
|
|
5113
|
+
};
|
|
5114
|
+
}
|
|
5115
|
+
|
|
5116
|
+
constructor(map?: { [key: string]: any }) {
|
|
5117
|
+
super(map);
|
|
5118
|
+
}
|
|
5119
|
+
}
|
|
5120
|
+
|
|
5121
|
+
export class ImportRoomGenieScenesShrinkRequest extends $tea.Model {
|
|
5122
|
+
hotelId?: string;
|
|
5123
|
+
roomNo?: string;
|
|
5124
|
+
sceneListShrink?: string;
|
|
5125
|
+
static names(): { [key: string]: string } {
|
|
5126
|
+
return {
|
|
5127
|
+
hotelId: 'HotelId',
|
|
5128
|
+
roomNo: 'RoomNo',
|
|
5129
|
+
sceneListShrink: 'SceneList',
|
|
5130
|
+
};
|
|
5131
|
+
}
|
|
5132
|
+
|
|
5133
|
+
static types(): { [key: string]: any } {
|
|
5134
|
+
return {
|
|
5135
|
+
hotelId: 'string',
|
|
5136
|
+
roomNo: 'string',
|
|
5137
|
+
sceneListShrink: 'string',
|
|
5138
|
+
};
|
|
5139
|
+
}
|
|
5140
|
+
|
|
5141
|
+
constructor(map?: { [key: string]: any }) {
|
|
5142
|
+
super(map);
|
|
5143
|
+
}
|
|
5144
|
+
}
|
|
5145
|
+
|
|
5146
|
+
export class ImportRoomGenieScenesResponseBody extends $tea.Model {
|
|
5147
|
+
message?: string;
|
|
5148
|
+
requestId?: string;
|
|
5149
|
+
result?: boolean;
|
|
5150
|
+
statusCode?: number;
|
|
5151
|
+
static names(): { [key: string]: string } {
|
|
5152
|
+
return {
|
|
5153
|
+
message: 'Message',
|
|
5154
|
+
requestId: 'RequestId',
|
|
5155
|
+
result: 'Result',
|
|
5156
|
+
statusCode: 'StatusCode',
|
|
5157
|
+
};
|
|
5158
|
+
}
|
|
5159
|
+
|
|
5160
|
+
static types(): { [key: string]: any } {
|
|
5161
|
+
return {
|
|
5162
|
+
message: 'string',
|
|
5163
|
+
requestId: 'string',
|
|
5164
|
+
result: 'boolean',
|
|
5165
|
+
statusCode: 'number',
|
|
5166
|
+
};
|
|
5167
|
+
}
|
|
5168
|
+
|
|
5169
|
+
constructor(map?: { [key: string]: any }) {
|
|
5170
|
+
super(map);
|
|
5171
|
+
}
|
|
5172
|
+
}
|
|
5173
|
+
|
|
5174
|
+
export class ImportRoomGenieScenesResponse extends $tea.Model {
|
|
5175
|
+
headers: { [key: string]: string };
|
|
5176
|
+
statusCode: number;
|
|
5177
|
+
body: ImportRoomGenieScenesResponseBody;
|
|
5178
|
+
static names(): { [key: string]: string } {
|
|
5179
|
+
return {
|
|
5180
|
+
headers: 'headers',
|
|
5181
|
+
statusCode: 'statusCode',
|
|
5182
|
+
body: 'body',
|
|
5183
|
+
};
|
|
5184
|
+
}
|
|
5185
|
+
|
|
5186
|
+
static types(): { [key: string]: any } {
|
|
5187
|
+
return {
|
|
5188
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5189
|
+
statusCode: 'number',
|
|
5190
|
+
body: ImportRoomGenieScenesResponseBody,
|
|
5191
|
+
};
|
|
5192
|
+
}
|
|
5193
|
+
|
|
5194
|
+
constructor(map?: { [key: string]: any }) {
|
|
5195
|
+
super(map);
|
|
5196
|
+
}
|
|
5197
|
+
}
|
|
5198
|
+
|
|
5059
5199
|
export class InsertHotelSceneBookItemHeaders extends $tea.Model {
|
|
5060
5200
|
commonHeaders?: { [key: string]: string };
|
|
5061
5201
|
xAcsAligenieAccessToken?: string;
|
|
@@ -11805,16 +11945,66 @@ export class ImportHotelConfigRequestImportHotelConfig extends $tea.Model {
|
|
|
11805
11945
|
}
|
|
11806
11946
|
}
|
|
11807
11947
|
|
|
11948
|
+
export class ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwitchList extends $tea.Model {
|
|
11949
|
+
category?: string;
|
|
11950
|
+
deviceIndex?: number;
|
|
11951
|
+
deviceName?: string;
|
|
11952
|
+
location?: string;
|
|
11953
|
+
static names(): { [key: string]: string } {
|
|
11954
|
+
return {
|
|
11955
|
+
category: 'Category',
|
|
11956
|
+
deviceIndex: 'DeviceIndex',
|
|
11957
|
+
deviceName: 'DeviceName',
|
|
11958
|
+
location: 'Location',
|
|
11959
|
+
};
|
|
11960
|
+
}
|
|
11961
|
+
|
|
11962
|
+
static types(): { [key: string]: any } {
|
|
11963
|
+
return {
|
|
11964
|
+
category: 'string',
|
|
11965
|
+
deviceIndex: 'number',
|
|
11966
|
+
deviceName: 'string',
|
|
11967
|
+
location: 'string',
|
|
11968
|
+
};
|
|
11969
|
+
}
|
|
11970
|
+
|
|
11971
|
+
constructor(map?: { [key: string]: any }) {
|
|
11972
|
+
super(map);
|
|
11973
|
+
}
|
|
11974
|
+
}
|
|
11975
|
+
|
|
11976
|
+
export class ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExt extends $tea.Model {
|
|
11977
|
+
switchList?: ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwitchList[];
|
|
11978
|
+
static names(): { [key: string]: string } {
|
|
11979
|
+
return {
|
|
11980
|
+
switchList: 'SwitchList',
|
|
11981
|
+
};
|
|
11982
|
+
}
|
|
11983
|
+
|
|
11984
|
+
static types(): { [key: string]: any } {
|
|
11985
|
+
return {
|
|
11986
|
+
switchList: { 'type': 'array', 'itemType': ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwitchList },
|
|
11987
|
+
};
|
|
11988
|
+
}
|
|
11989
|
+
|
|
11990
|
+
constructor(map?: { [key: string]: any }) {
|
|
11991
|
+
super(map);
|
|
11992
|
+
}
|
|
11993
|
+
}
|
|
11994
|
+
|
|
11808
11995
|
export class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
|
|
11809
11996
|
brand?: string;
|
|
11810
11997
|
city?: string;
|
|
11811
11998
|
connectType?: string;
|
|
11812
11999
|
deviceName?: string;
|
|
12000
|
+
dn?: string;
|
|
11813
12001
|
infraredId?: string;
|
|
11814
12002
|
infraredIndex?: string;
|
|
11815
12003
|
infraredVersion?: string;
|
|
12004
|
+
multiKeySwitchExt?: ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExt;
|
|
11816
12005
|
name?: string;
|
|
11817
12006
|
number?: string;
|
|
12007
|
+
pk?: string;
|
|
11818
12008
|
province?: string;
|
|
11819
12009
|
serviceProvider?: string;
|
|
11820
12010
|
static names(): { [key: string]: string } {
|
|
@@ -11823,11 +12013,14 @@ export class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.
|
|
|
11823
12013
|
city: 'City',
|
|
11824
12014
|
connectType: 'ConnectType',
|
|
11825
12015
|
deviceName: 'DeviceName',
|
|
12016
|
+
dn: 'Dn',
|
|
11826
12017
|
infraredId: 'InfraredId',
|
|
11827
12018
|
infraredIndex: 'InfraredIndex',
|
|
11828
12019
|
infraredVersion: 'InfraredVersion',
|
|
12020
|
+
multiKeySwitchExt: 'MultiKeySwitchExt',
|
|
11829
12021
|
name: 'Name',
|
|
11830
12022
|
number: 'Number',
|
|
12023
|
+
pk: 'Pk',
|
|
11831
12024
|
province: 'Province',
|
|
11832
12025
|
serviceProvider: 'ServiceProvider',
|
|
11833
12026
|
};
|
|
@@ -11839,11 +12032,14 @@ export class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.
|
|
|
11839
12032
|
city: 'string',
|
|
11840
12033
|
connectType: 'string',
|
|
11841
12034
|
deviceName: 'string',
|
|
12035
|
+
dn: 'string',
|
|
11842
12036
|
infraredId: 'string',
|
|
11843
12037
|
infraredIndex: 'string',
|
|
11844
12038
|
infraredVersion: 'string',
|
|
12039
|
+
multiKeySwitchExt: ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExt,
|
|
11845
12040
|
name: 'string',
|
|
11846
12041
|
number: 'string',
|
|
12042
|
+
pk: 'string',
|
|
11847
12043
|
province: 'string',
|
|
11848
12044
|
serviceProvider: 'string',
|
|
11849
12045
|
};
|
|
@@ -11879,6 +12075,137 @@ export class ImportRoomControlDevicesRequestLocationDevices extends $tea.Model {
|
|
|
11879
12075
|
}
|
|
11880
12076
|
}
|
|
11881
12077
|
|
|
12078
|
+
export class ImportRoomGenieScenesRequestSceneListActionsAttributeValues extends $tea.Model {
|
|
12079
|
+
attributeName?: string;
|
|
12080
|
+
attributeValue?: string;
|
|
12081
|
+
static names(): { [key: string]: string } {
|
|
12082
|
+
return {
|
|
12083
|
+
attributeName: 'AttributeName',
|
|
12084
|
+
attributeValue: 'AttributeValue',
|
|
12085
|
+
};
|
|
12086
|
+
}
|
|
12087
|
+
|
|
12088
|
+
static types(): { [key: string]: any } {
|
|
12089
|
+
return {
|
|
12090
|
+
attributeName: 'string',
|
|
12091
|
+
attributeValue: 'string',
|
|
12092
|
+
};
|
|
12093
|
+
}
|
|
12094
|
+
|
|
12095
|
+
constructor(map?: { [key: string]: any }) {
|
|
12096
|
+
super(map);
|
|
12097
|
+
}
|
|
12098
|
+
}
|
|
12099
|
+
|
|
12100
|
+
export class ImportRoomGenieScenesRequestSceneListActionsDevice extends $tea.Model {
|
|
12101
|
+
category?: string;
|
|
12102
|
+
deviceIndex?: number;
|
|
12103
|
+
deviceNumber?: string;
|
|
12104
|
+
type?: number;
|
|
12105
|
+
static names(): { [key: string]: string } {
|
|
12106
|
+
return {
|
|
12107
|
+
category: 'Category',
|
|
12108
|
+
deviceIndex: 'DeviceIndex',
|
|
12109
|
+
deviceNumber: 'DeviceNumber',
|
|
12110
|
+
type: 'Type',
|
|
12111
|
+
};
|
|
12112
|
+
}
|
|
12113
|
+
|
|
12114
|
+
static types(): { [key: string]: any } {
|
|
12115
|
+
return {
|
|
12116
|
+
category: 'string',
|
|
12117
|
+
deviceIndex: 'number',
|
|
12118
|
+
deviceNumber: 'string',
|
|
12119
|
+
type: 'number',
|
|
12120
|
+
};
|
|
12121
|
+
}
|
|
12122
|
+
|
|
12123
|
+
constructor(map?: { [key: string]: any }) {
|
|
12124
|
+
super(map);
|
|
12125
|
+
}
|
|
12126
|
+
}
|
|
12127
|
+
|
|
12128
|
+
export class ImportRoomGenieScenesRequestSceneListActions extends $tea.Model {
|
|
12129
|
+
attributeValues?: ImportRoomGenieScenesRequestSceneListActionsAttributeValues[];
|
|
12130
|
+
device?: ImportRoomGenieScenesRequestSceneListActionsDevice;
|
|
12131
|
+
static names(): { [key: string]: string } {
|
|
12132
|
+
return {
|
|
12133
|
+
attributeValues: 'AttributeValues',
|
|
12134
|
+
device: 'Device',
|
|
12135
|
+
};
|
|
12136
|
+
}
|
|
12137
|
+
|
|
12138
|
+
static types(): { [key: string]: any } {
|
|
12139
|
+
return {
|
|
12140
|
+
attributeValues: { 'type': 'array', 'itemType': ImportRoomGenieScenesRequestSceneListActionsAttributeValues },
|
|
12141
|
+
device: ImportRoomGenieScenesRequestSceneListActionsDevice,
|
|
12142
|
+
};
|
|
12143
|
+
}
|
|
12144
|
+
|
|
12145
|
+
constructor(map?: { [key: string]: any }) {
|
|
12146
|
+
super(map);
|
|
12147
|
+
}
|
|
12148
|
+
}
|
|
12149
|
+
|
|
12150
|
+
export class ImportRoomGenieScenesRequestSceneListTriggers extends $tea.Model {
|
|
12151
|
+
corpusList?: string[];
|
|
12152
|
+
type?: number;
|
|
12153
|
+
static names(): { [key: string]: string } {
|
|
12154
|
+
return {
|
|
12155
|
+
corpusList: 'CorpusList',
|
|
12156
|
+
type: 'Type',
|
|
12157
|
+
};
|
|
12158
|
+
}
|
|
12159
|
+
|
|
12160
|
+
static types(): { [key: string]: any } {
|
|
12161
|
+
return {
|
|
12162
|
+
corpusList: { 'type': 'array', 'itemType': 'string' },
|
|
12163
|
+
type: 'number',
|
|
12164
|
+
};
|
|
12165
|
+
}
|
|
12166
|
+
|
|
12167
|
+
constructor(map?: { [key: string]: any }) {
|
|
12168
|
+
super(map);
|
|
12169
|
+
}
|
|
12170
|
+
}
|
|
12171
|
+
|
|
12172
|
+
export class ImportRoomGenieScenesRequestSceneList extends $tea.Model {
|
|
12173
|
+
actions?: ImportRoomGenieScenesRequestSceneListActions[];
|
|
12174
|
+
description?: string;
|
|
12175
|
+
display?: boolean;
|
|
12176
|
+
icon?: string;
|
|
12177
|
+
sceneName?: string;
|
|
12178
|
+
triggerLogical?: number;
|
|
12179
|
+
triggers?: ImportRoomGenieScenesRequestSceneListTriggers[];
|
|
12180
|
+
static names(): { [key: string]: string } {
|
|
12181
|
+
return {
|
|
12182
|
+
actions: 'Actions',
|
|
12183
|
+
description: 'Description',
|
|
12184
|
+
display: 'Display',
|
|
12185
|
+
icon: 'Icon',
|
|
12186
|
+
sceneName: 'SceneName',
|
|
12187
|
+
triggerLogical: 'TriggerLogical',
|
|
12188
|
+
triggers: 'Triggers',
|
|
12189
|
+
};
|
|
12190
|
+
}
|
|
12191
|
+
|
|
12192
|
+
static types(): { [key: string]: any } {
|
|
12193
|
+
return {
|
|
12194
|
+
actions: { 'type': 'array', 'itemType': ImportRoomGenieScenesRequestSceneListActions },
|
|
12195
|
+
description: 'string',
|
|
12196
|
+
display: 'boolean',
|
|
12197
|
+
icon: 'string',
|
|
12198
|
+
sceneName: 'string',
|
|
12199
|
+
triggerLogical: 'number',
|
|
12200
|
+
triggers: { 'type': 'array', 'itemType': ImportRoomGenieScenesRequestSceneListTriggers },
|
|
12201
|
+
};
|
|
12202
|
+
}
|
|
12203
|
+
|
|
12204
|
+
constructor(map?: { [key: string]: any }) {
|
|
12205
|
+
super(map);
|
|
12206
|
+
}
|
|
12207
|
+
}
|
|
12208
|
+
|
|
11882
12209
|
export class InsertHotelSceneBookItemRequestAddHotelSceneItemReq extends $tea.Model {
|
|
11883
12210
|
icon?: string;
|
|
11884
12211
|
name?: string;
|
|
@@ -12837,20 +13164,26 @@ export class ListHotelSceneItemsResponseBodyResultPage extends $tea.Model {
|
|
|
12837
13164
|
|
|
12838
13165
|
export class ListHotelSceneItemsResponseBodyResultSceneItemList extends $tea.Model {
|
|
12839
13166
|
category?: string;
|
|
13167
|
+
deliveryMethod?: string;
|
|
12840
13168
|
icon?: string;
|
|
12841
13169
|
id?: number;
|
|
12842
13170
|
name?: string;
|
|
13171
|
+
paymentMethod?: string;
|
|
12843
13172
|
price?: number;
|
|
13173
|
+
robotName?: string;
|
|
12844
13174
|
status?: string;
|
|
12845
13175
|
type?: string;
|
|
12846
13176
|
updateTime?: number;
|
|
12847
13177
|
static names(): { [key: string]: string } {
|
|
12848
13178
|
return {
|
|
12849
13179
|
category: 'Category',
|
|
13180
|
+
deliveryMethod: 'DeliveryMethod',
|
|
12850
13181
|
icon: 'Icon',
|
|
12851
13182
|
id: 'Id',
|
|
12852
13183
|
name: 'Name',
|
|
13184
|
+
paymentMethod: 'PaymentMethod',
|
|
12853
13185
|
price: 'Price',
|
|
13186
|
+
robotName: 'RobotName',
|
|
12854
13187
|
status: 'Status',
|
|
12855
13188
|
type: 'Type',
|
|
12856
13189
|
updateTime: 'UpdateTime',
|
|
@@ -12860,10 +13193,13 @@ export class ListHotelSceneItemsResponseBodyResultSceneItemList extends $tea.Mod
|
|
|
12860
13193
|
static types(): { [key: string]: any } {
|
|
12861
13194
|
return {
|
|
12862
13195
|
category: 'string',
|
|
13196
|
+
deliveryMethod: 'string',
|
|
12863
13197
|
icon: 'string',
|
|
12864
13198
|
id: 'number',
|
|
12865
13199
|
name: 'string',
|
|
13200
|
+
paymentMethod: 'string',
|
|
12866
13201
|
price: 'number',
|
|
13202
|
+
robotName: 'string',
|
|
12867
13203
|
status: 'string',
|
|
12868
13204
|
type: 'string',
|
|
12869
13205
|
updateTime: 'number',
|
|
@@ -13734,26 +14070,91 @@ export class QueryHotelRoomDetailResponseBodyResult extends $tea.Model {
|
|
|
13734
14070
|
}
|
|
13735
14071
|
}
|
|
13736
14072
|
|
|
14073
|
+
export class QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchList extends $tea.Model {
|
|
14074
|
+
category?: string;
|
|
14075
|
+
deviceIndex?: number;
|
|
14076
|
+
deviceName?: string;
|
|
14077
|
+
deviceStatus?: string;
|
|
14078
|
+
elementCode?: string;
|
|
14079
|
+
location?: string;
|
|
14080
|
+
static names(): { [key: string]: string } {
|
|
14081
|
+
return {
|
|
14082
|
+
category: 'Category',
|
|
14083
|
+
deviceIndex: 'DeviceIndex',
|
|
14084
|
+
deviceName: 'DeviceName',
|
|
14085
|
+
deviceStatus: 'DeviceStatus',
|
|
14086
|
+
elementCode: 'ElementCode',
|
|
14087
|
+
location: 'Location',
|
|
14088
|
+
};
|
|
14089
|
+
}
|
|
14090
|
+
|
|
14091
|
+
static types(): { [key: string]: any } {
|
|
14092
|
+
return {
|
|
14093
|
+
category: 'string',
|
|
14094
|
+
deviceIndex: 'number',
|
|
14095
|
+
deviceName: 'string',
|
|
14096
|
+
deviceStatus: 'string',
|
|
14097
|
+
elementCode: 'string',
|
|
14098
|
+
location: 'string',
|
|
14099
|
+
};
|
|
14100
|
+
}
|
|
14101
|
+
|
|
14102
|
+
constructor(map?: { [key: string]: any }) {
|
|
14103
|
+
super(map);
|
|
14104
|
+
}
|
|
14105
|
+
}
|
|
14106
|
+
|
|
14107
|
+
export class QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExt extends $tea.Model {
|
|
14108
|
+
switchList?: QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchList[];
|
|
14109
|
+
static names(): { [key: string]: string } {
|
|
14110
|
+
return {
|
|
14111
|
+
switchList: 'SwitchList',
|
|
14112
|
+
};
|
|
14113
|
+
}
|
|
14114
|
+
|
|
14115
|
+
static types(): { [key: string]: any } {
|
|
14116
|
+
return {
|
|
14117
|
+
switchList: { 'type': 'array', 'itemType': QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchList },
|
|
14118
|
+
};
|
|
14119
|
+
}
|
|
14120
|
+
|
|
14121
|
+
constructor(map?: { [key: string]: any }) {
|
|
14122
|
+
super(map);
|
|
14123
|
+
}
|
|
14124
|
+
}
|
|
14125
|
+
|
|
13737
14126
|
export class QueryRoomControlDevicesResponseBodyResultDevices extends $tea.Model {
|
|
13738
14127
|
connectType?: string;
|
|
14128
|
+
DN?: string;
|
|
13739
14129
|
deviceName?: string;
|
|
14130
|
+
deviceStatus?: string;
|
|
14131
|
+
multiKeySwitchExt?: QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExt;
|
|
13740
14132
|
name?: string;
|
|
13741
14133
|
number?: string;
|
|
14134
|
+
PK?: string;
|
|
13742
14135
|
static names(): { [key: string]: string } {
|
|
13743
14136
|
return {
|
|
13744
14137
|
connectType: 'ConnectType',
|
|
14138
|
+
DN: 'DN',
|
|
13745
14139
|
deviceName: 'DeviceName',
|
|
14140
|
+
deviceStatus: 'DeviceStatus',
|
|
14141
|
+
multiKeySwitchExt: 'MultiKeySwitchExt',
|
|
13746
14142
|
name: 'Name',
|
|
13747
14143
|
number: 'Number',
|
|
14144
|
+
PK: 'PK',
|
|
13748
14145
|
};
|
|
13749
14146
|
}
|
|
13750
14147
|
|
|
13751
14148
|
static types(): { [key: string]: any } {
|
|
13752
14149
|
return {
|
|
13753
14150
|
connectType: 'string',
|
|
14151
|
+
DN: 'string',
|
|
13754
14152
|
deviceName: 'string',
|
|
14153
|
+
deviceStatus: 'string',
|
|
14154
|
+
multiKeySwitchExt: QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExt,
|
|
13755
14155
|
name: 'string',
|
|
13756
14156
|
number: 'string',
|
|
14157
|
+
PK: 'string',
|
|
13757
14158
|
};
|
|
13758
14159
|
}
|
|
13759
14160
|
|
|
@@ -14189,27 +14590,39 @@ export class UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList extends
|
|
|
14189
14590
|
}
|
|
14190
14591
|
|
|
14191
14592
|
export class UpdateHotelSceneItemRequestUpdateHotelSceneReq extends $tea.Model {
|
|
14593
|
+
deliveryMethod?: string;
|
|
14192
14594
|
dialogueList?: UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList[];
|
|
14193
14595
|
icon?: string;
|
|
14194
14596
|
id?: number;
|
|
14597
|
+
name?: string;
|
|
14598
|
+
paymentMethod?: string;
|
|
14195
14599
|
price?: number;
|
|
14600
|
+
robotName?: string;
|
|
14196
14601
|
status?: string;
|
|
14197
14602
|
static names(): { [key: string]: string } {
|
|
14198
14603
|
return {
|
|
14604
|
+
deliveryMethod: 'DeliveryMethod',
|
|
14199
14605
|
dialogueList: 'DialogueList',
|
|
14200
14606
|
icon: 'Icon',
|
|
14201
14607
|
id: 'Id',
|
|
14608
|
+
name: 'Name',
|
|
14609
|
+
paymentMethod: 'PaymentMethod',
|
|
14202
14610
|
price: 'Price',
|
|
14611
|
+
robotName: 'RobotName',
|
|
14203
14612
|
status: 'Status',
|
|
14204
14613
|
};
|
|
14205
14614
|
}
|
|
14206
14615
|
|
|
14207
14616
|
static types(): { [key: string]: any } {
|
|
14208
14617
|
return {
|
|
14618
|
+
deliveryMethod: 'string',
|
|
14209
14619
|
dialogueList: { 'type': 'array', 'itemType': UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList },
|
|
14210
14620
|
icon: 'string',
|
|
14211
14621
|
id: 'number',
|
|
14622
|
+
name: 'string',
|
|
14623
|
+
paymentMethod: 'string',
|
|
14212
14624
|
price: 'number',
|
|
14625
|
+
robotName: 'string',
|
|
14213
14626
|
status: 'string',
|
|
14214
14627
|
};
|
|
14215
14628
|
}
|
|
@@ -14957,6 +15370,10 @@ export default class Client extends OpenApi {
|
|
|
14957
15370
|
body["Cmd"] = request.cmd;
|
|
14958
15371
|
}
|
|
14959
15372
|
|
|
15373
|
+
if (!Util.isUnset(request.deviceIndex)) {
|
|
15374
|
+
body["DeviceIndex"] = request.deviceIndex;
|
|
15375
|
+
}
|
|
15376
|
+
|
|
14960
15377
|
if (!Util.isUnset(request.deviceNumber)) {
|
|
14961
15378
|
body["DeviceNumber"] = request.deviceNumber;
|
|
14962
15379
|
}
|
|
@@ -15387,6 +15804,10 @@ export default class Client extends OpenApi {
|
|
|
15387
15804
|
body["Id"] = request.id;
|
|
15388
15805
|
}
|
|
15389
15806
|
|
|
15807
|
+
if (!Util.isUnset(request.name)) {
|
|
15808
|
+
body["Name"] = request.name;
|
|
15809
|
+
}
|
|
15810
|
+
|
|
15390
15811
|
let realHeaders : {[key: string ]: string} = { };
|
|
15391
15812
|
if (!Util.isUnset(headers.commonHeaders)) {
|
|
15392
15813
|
realHeaders = headers.commonHeaders;
|
|
@@ -16183,6 +16604,10 @@ export default class Client extends OpenApi {
|
|
|
16183
16604
|
body["ItemId"] = request.itemId;
|
|
16184
16605
|
}
|
|
16185
16606
|
|
|
16607
|
+
if (!Util.isUnset(request.name)) {
|
|
16608
|
+
body["Name"] = request.name;
|
|
16609
|
+
}
|
|
16610
|
+
|
|
16186
16611
|
let realHeaders : {[key: string ]: string} = { };
|
|
16187
16612
|
if (!Util.isUnset(headers.commonHeaders)) {
|
|
16188
16613
|
realHeaders = headers.commonHeaders;
|
|
@@ -16615,6 +17040,64 @@ export default class Client extends OpenApi {
|
|
|
16615
17040
|
return await this.importRoomControlDevicesWithOptions(request, headers, runtime);
|
|
16616
17041
|
}
|
|
16617
17042
|
|
|
17043
|
+
async importRoomGenieScenesWithOptions(tmpReq: ImportRoomGenieScenesRequest, headers: ImportRoomGenieScenesHeaders, runtime: $Util.RuntimeOptions): Promise<ImportRoomGenieScenesResponse> {
|
|
17044
|
+
Util.validateModel(tmpReq);
|
|
17045
|
+
let request = new ImportRoomGenieScenesShrinkRequest({ });
|
|
17046
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
17047
|
+
if (!Util.isUnset(tmpReq.sceneList)) {
|
|
17048
|
+
request.sceneListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sceneList, "SceneList", "json");
|
|
17049
|
+
}
|
|
17050
|
+
|
|
17051
|
+
let body : {[key: string ]: any} = { };
|
|
17052
|
+
if (!Util.isUnset(request.hotelId)) {
|
|
17053
|
+
body["HotelId"] = request.hotelId;
|
|
17054
|
+
}
|
|
17055
|
+
|
|
17056
|
+
if (!Util.isUnset(request.roomNo)) {
|
|
17057
|
+
body["RoomNo"] = request.roomNo;
|
|
17058
|
+
}
|
|
17059
|
+
|
|
17060
|
+
if (!Util.isUnset(request.sceneListShrink)) {
|
|
17061
|
+
body["SceneList"] = request.sceneListShrink;
|
|
17062
|
+
}
|
|
17063
|
+
|
|
17064
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
17065
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
17066
|
+
realHeaders = headers.commonHeaders;
|
|
17067
|
+
}
|
|
17068
|
+
|
|
17069
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
17070
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
17071
|
+
}
|
|
17072
|
+
|
|
17073
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
17074
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
17075
|
+
}
|
|
17076
|
+
|
|
17077
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17078
|
+
headers: realHeaders,
|
|
17079
|
+
body: OpenApiUtil.parseToMap(body),
|
|
17080
|
+
});
|
|
17081
|
+
let params = new $OpenApi.Params({
|
|
17082
|
+
action: "ImportRoomGenieScenes",
|
|
17083
|
+
version: "ip_1.0",
|
|
17084
|
+
protocol: "HTTPS",
|
|
17085
|
+
pathname: `/v1.0/ip/importRoomGenieScenes`,
|
|
17086
|
+
method: "POST",
|
|
17087
|
+
authType: "AK",
|
|
17088
|
+
style: "ROA",
|
|
17089
|
+
reqBodyType: "formData",
|
|
17090
|
+
bodyType: "json",
|
|
17091
|
+
});
|
|
17092
|
+
return $tea.cast<ImportRoomGenieScenesResponse>(await this.callApi(params, req, runtime), new ImportRoomGenieScenesResponse({}));
|
|
17093
|
+
}
|
|
17094
|
+
|
|
17095
|
+
async importRoomGenieScenes(request: ImportRoomGenieScenesRequest): Promise<ImportRoomGenieScenesResponse> {
|
|
17096
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17097
|
+
let headers = new ImportRoomGenieScenesHeaders({ });
|
|
17098
|
+
return await this.importRoomGenieScenesWithOptions(request, headers, runtime);
|
|
17099
|
+
}
|
|
17100
|
+
|
|
16618
17101
|
async insertHotelSceneBookItemWithOptions(tmpReq: InsertHotelSceneBookItemRequest, headers: InsertHotelSceneBookItemHeaders, runtime: $Util.RuntimeOptions): Promise<InsertHotelSceneBookItemResponse> {
|
|
16619
17102
|
Util.validateModel(tmpReq);
|
|
16620
17103
|
let request = new InsertHotelSceneBookItemShrinkRequest({ });
|