@alicloud/aligenieip_1_0 1.0.24 → 2.0.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 +333 -5
- package/dist/client.js +650 -16
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +844 -59
package/dist/client.js
CHANGED
|
@@ -3872,13 +3872,13 @@ class ImportHotelConfigRequest extends $tea.Model {
|
|
|
3872
3872
|
static names() {
|
|
3873
3873
|
return {
|
|
3874
3874
|
hotelId: 'HotelId',
|
|
3875
|
-
|
|
3875
|
+
importHotelConfig: 'ImportHotelConfig',
|
|
3876
3876
|
};
|
|
3877
3877
|
}
|
|
3878
3878
|
static types() {
|
|
3879
3879
|
return {
|
|
3880
3880
|
hotelId: 'string',
|
|
3881
|
-
|
|
3881
|
+
importHotelConfig: ImportHotelConfigRequestImportHotelConfig,
|
|
3882
3882
|
};
|
|
3883
3883
|
}
|
|
3884
3884
|
}
|
|
@@ -3890,13 +3890,13 @@ class ImportHotelConfigShrinkRequest extends $tea.Model {
|
|
|
3890
3890
|
static names() {
|
|
3891
3891
|
return {
|
|
3892
3892
|
hotelId: 'HotelId',
|
|
3893
|
-
|
|
3893
|
+
importHotelConfigShrink: 'ImportHotelConfig',
|
|
3894
3894
|
};
|
|
3895
3895
|
}
|
|
3896
3896
|
static types() {
|
|
3897
3897
|
return {
|
|
3898
3898
|
hotelId: 'string',
|
|
3899
|
-
|
|
3899
|
+
importHotelConfigShrink: 'string',
|
|
3900
3900
|
};
|
|
3901
3901
|
}
|
|
3902
3902
|
}
|
|
@@ -3969,6 +3969,7 @@ class ImportRoomControlDevicesRequest extends $tea.Model {
|
|
|
3969
3969
|
}
|
|
3970
3970
|
static names() {
|
|
3971
3971
|
return {
|
|
3972
|
+
enableInfraredDeviceImport: 'EnableInfraredDeviceImport',
|
|
3972
3973
|
hotelId: 'HotelId',
|
|
3973
3974
|
locationDevices: 'LocationDevices',
|
|
3974
3975
|
roomNo: 'RoomNo',
|
|
@@ -3976,6 +3977,7 @@ class ImportRoomControlDevicesRequest extends $tea.Model {
|
|
|
3976
3977
|
}
|
|
3977
3978
|
static types() {
|
|
3978
3979
|
return {
|
|
3980
|
+
enableInfraredDeviceImport: 'string',
|
|
3979
3981
|
hotelId: 'string',
|
|
3980
3982
|
locationDevices: { 'type': 'array', 'itemType': ImportRoomControlDevicesRequestLocationDevices },
|
|
3981
3983
|
roomNo: 'string',
|
|
@@ -3989,6 +3991,7 @@ class ImportRoomControlDevicesShrinkRequest extends $tea.Model {
|
|
|
3989
3991
|
}
|
|
3990
3992
|
static names() {
|
|
3991
3993
|
return {
|
|
3994
|
+
enableInfraredDeviceImport: 'EnableInfraredDeviceImport',
|
|
3992
3995
|
hotelId: 'HotelId',
|
|
3993
3996
|
locationDevicesShrink: 'LocationDevices',
|
|
3994
3997
|
roomNo: 'RoomNo',
|
|
@@ -3996,6 +3999,7 @@ class ImportRoomControlDevicesShrinkRequest extends $tea.Model {
|
|
|
3996
3999
|
}
|
|
3997
4000
|
static types() {
|
|
3998
4001
|
return {
|
|
4002
|
+
enableInfraredDeviceImport: 'string',
|
|
3999
4003
|
hotelId: 'string',
|
|
4000
4004
|
locationDevicesShrink: 'string',
|
|
4001
4005
|
roomNo: 'string',
|
|
@@ -4227,6 +4231,146 @@ class InvokeRobotPushResponse extends $tea.Model {
|
|
|
4227
4231
|
}
|
|
4228
4232
|
}
|
|
4229
4233
|
exports.InvokeRobotPushResponse = InvokeRobotPushResponse;
|
|
4234
|
+
class ListAllProvincesHeaders extends $tea.Model {
|
|
4235
|
+
constructor(map) {
|
|
4236
|
+
super(map);
|
|
4237
|
+
}
|
|
4238
|
+
static names() {
|
|
4239
|
+
return {
|
|
4240
|
+
commonHeaders: 'commonHeaders',
|
|
4241
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
4242
|
+
authorization: 'Authorization',
|
|
4243
|
+
};
|
|
4244
|
+
}
|
|
4245
|
+
static types() {
|
|
4246
|
+
return {
|
|
4247
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4248
|
+
xAcsAligenieAccessToken: 'string',
|
|
4249
|
+
authorization: 'string',
|
|
4250
|
+
};
|
|
4251
|
+
}
|
|
4252
|
+
}
|
|
4253
|
+
exports.ListAllProvincesHeaders = ListAllProvincesHeaders;
|
|
4254
|
+
class ListAllProvincesResponseBody extends $tea.Model {
|
|
4255
|
+
constructor(map) {
|
|
4256
|
+
super(map);
|
|
4257
|
+
}
|
|
4258
|
+
static names() {
|
|
4259
|
+
return {
|
|
4260
|
+
message: 'Message',
|
|
4261
|
+
requestId: 'RequestId',
|
|
4262
|
+
result: 'Result',
|
|
4263
|
+
statusCode: 'StatusCode',
|
|
4264
|
+
};
|
|
4265
|
+
}
|
|
4266
|
+
static types() {
|
|
4267
|
+
return {
|
|
4268
|
+
message: 'string',
|
|
4269
|
+
requestId: 'string',
|
|
4270
|
+
result: { 'type': 'array', 'itemType': 'string' },
|
|
4271
|
+
statusCode: 'number',
|
|
4272
|
+
};
|
|
4273
|
+
}
|
|
4274
|
+
}
|
|
4275
|
+
exports.ListAllProvincesResponseBody = ListAllProvincesResponseBody;
|
|
4276
|
+
class ListAllProvincesResponse extends $tea.Model {
|
|
4277
|
+
constructor(map) {
|
|
4278
|
+
super(map);
|
|
4279
|
+
}
|
|
4280
|
+
static names() {
|
|
4281
|
+
return {
|
|
4282
|
+
headers: 'headers',
|
|
4283
|
+
statusCode: 'statusCode',
|
|
4284
|
+
body: 'body',
|
|
4285
|
+
};
|
|
4286
|
+
}
|
|
4287
|
+
static types() {
|
|
4288
|
+
return {
|
|
4289
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4290
|
+
statusCode: 'number',
|
|
4291
|
+
body: ListAllProvincesResponseBody,
|
|
4292
|
+
};
|
|
4293
|
+
}
|
|
4294
|
+
}
|
|
4295
|
+
exports.ListAllProvincesResponse = ListAllProvincesResponse;
|
|
4296
|
+
class ListCitiesByProvinceHeaders extends $tea.Model {
|
|
4297
|
+
constructor(map) {
|
|
4298
|
+
super(map);
|
|
4299
|
+
}
|
|
4300
|
+
static names() {
|
|
4301
|
+
return {
|
|
4302
|
+
commonHeaders: 'commonHeaders',
|
|
4303
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
4304
|
+
authorization: 'Authorization',
|
|
4305
|
+
};
|
|
4306
|
+
}
|
|
4307
|
+
static types() {
|
|
4308
|
+
return {
|
|
4309
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4310
|
+
xAcsAligenieAccessToken: 'string',
|
|
4311
|
+
authorization: 'string',
|
|
4312
|
+
};
|
|
4313
|
+
}
|
|
4314
|
+
}
|
|
4315
|
+
exports.ListCitiesByProvinceHeaders = ListCitiesByProvinceHeaders;
|
|
4316
|
+
class ListCitiesByProvinceRequest extends $tea.Model {
|
|
4317
|
+
constructor(map) {
|
|
4318
|
+
super(map);
|
|
4319
|
+
}
|
|
4320
|
+
static names() {
|
|
4321
|
+
return {
|
|
4322
|
+
province: 'Province',
|
|
4323
|
+
};
|
|
4324
|
+
}
|
|
4325
|
+
static types() {
|
|
4326
|
+
return {
|
|
4327
|
+
province: 'string',
|
|
4328
|
+
};
|
|
4329
|
+
}
|
|
4330
|
+
}
|
|
4331
|
+
exports.ListCitiesByProvinceRequest = ListCitiesByProvinceRequest;
|
|
4332
|
+
class ListCitiesByProvinceResponseBody extends $tea.Model {
|
|
4333
|
+
constructor(map) {
|
|
4334
|
+
super(map);
|
|
4335
|
+
}
|
|
4336
|
+
static names() {
|
|
4337
|
+
return {
|
|
4338
|
+
message: 'Message',
|
|
4339
|
+
requestId: 'RequestId',
|
|
4340
|
+
result: 'Result',
|
|
4341
|
+
statusCode: 'StatusCode',
|
|
4342
|
+
};
|
|
4343
|
+
}
|
|
4344
|
+
static types() {
|
|
4345
|
+
return {
|
|
4346
|
+
message: 'string',
|
|
4347
|
+
requestId: 'string',
|
|
4348
|
+
result: { 'type': 'array', 'itemType': 'string' },
|
|
4349
|
+
statusCode: 'number',
|
|
4350
|
+
};
|
|
4351
|
+
}
|
|
4352
|
+
}
|
|
4353
|
+
exports.ListCitiesByProvinceResponseBody = ListCitiesByProvinceResponseBody;
|
|
4354
|
+
class ListCitiesByProvinceResponse extends $tea.Model {
|
|
4355
|
+
constructor(map) {
|
|
4356
|
+
super(map);
|
|
4357
|
+
}
|
|
4358
|
+
static names() {
|
|
4359
|
+
return {
|
|
4360
|
+
headers: 'headers',
|
|
4361
|
+
statusCode: 'statusCode',
|
|
4362
|
+
body: 'body',
|
|
4363
|
+
};
|
|
4364
|
+
}
|
|
4365
|
+
static types() {
|
|
4366
|
+
return {
|
|
4367
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4368
|
+
statusCode: 'number',
|
|
4369
|
+
body: ListCitiesByProvinceResponseBody,
|
|
4370
|
+
};
|
|
4371
|
+
}
|
|
4372
|
+
}
|
|
4373
|
+
exports.ListCitiesByProvinceResponse = ListCitiesByProvinceResponse;
|
|
4230
4374
|
class ListCustomQAHeaders extends $tea.Model {
|
|
4231
4375
|
constructor(map) {
|
|
4232
4376
|
super(map);
|
|
@@ -5399,6 +5543,254 @@ class ListHotelsResponse extends $tea.Model {
|
|
|
5399
5543
|
}
|
|
5400
5544
|
}
|
|
5401
5545
|
exports.ListHotelsResponse = ListHotelsResponse;
|
|
5546
|
+
class ListInfraredDeviceBrandsHeaders extends $tea.Model {
|
|
5547
|
+
constructor(map) {
|
|
5548
|
+
super(map);
|
|
5549
|
+
}
|
|
5550
|
+
static names() {
|
|
5551
|
+
return {
|
|
5552
|
+
commonHeaders: 'commonHeaders',
|
|
5553
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
5554
|
+
authorization: 'Authorization',
|
|
5555
|
+
};
|
|
5556
|
+
}
|
|
5557
|
+
static types() {
|
|
5558
|
+
return {
|
|
5559
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5560
|
+
xAcsAligenieAccessToken: 'string',
|
|
5561
|
+
authorization: 'string',
|
|
5562
|
+
};
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
exports.ListInfraredDeviceBrandsHeaders = ListInfraredDeviceBrandsHeaders;
|
|
5566
|
+
class ListInfraredDeviceBrandsRequest extends $tea.Model {
|
|
5567
|
+
constructor(map) {
|
|
5568
|
+
super(map);
|
|
5569
|
+
}
|
|
5570
|
+
static names() {
|
|
5571
|
+
return {
|
|
5572
|
+
category: 'Category',
|
|
5573
|
+
serviceProvider: 'ServiceProvider',
|
|
5574
|
+
};
|
|
5575
|
+
}
|
|
5576
|
+
static types() {
|
|
5577
|
+
return {
|
|
5578
|
+
category: 'string',
|
|
5579
|
+
serviceProvider: 'string',
|
|
5580
|
+
};
|
|
5581
|
+
}
|
|
5582
|
+
}
|
|
5583
|
+
exports.ListInfraredDeviceBrandsRequest = ListInfraredDeviceBrandsRequest;
|
|
5584
|
+
class ListInfraredDeviceBrandsResponseBody extends $tea.Model {
|
|
5585
|
+
constructor(map) {
|
|
5586
|
+
super(map);
|
|
5587
|
+
}
|
|
5588
|
+
static names() {
|
|
5589
|
+
return {
|
|
5590
|
+
message: 'Message',
|
|
5591
|
+
requestId: 'RequestId',
|
|
5592
|
+
result: 'Result',
|
|
5593
|
+
statusCode: 'StatusCode',
|
|
5594
|
+
};
|
|
5595
|
+
}
|
|
5596
|
+
static types() {
|
|
5597
|
+
return {
|
|
5598
|
+
message: 'string',
|
|
5599
|
+
requestId: 'string',
|
|
5600
|
+
result: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } },
|
|
5601
|
+
statusCode: 'number',
|
|
5602
|
+
};
|
|
5603
|
+
}
|
|
5604
|
+
}
|
|
5605
|
+
exports.ListInfraredDeviceBrandsResponseBody = ListInfraredDeviceBrandsResponseBody;
|
|
5606
|
+
class ListInfraredDeviceBrandsResponse extends $tea.Model {
|
|
5607
|
+
constructor(map) {
|
|
5608
|
+
super(map);
|
|
5609
|
+
}
|
|
5610
|
+
static names() {
|
|
5611
|
+
return {
|
|
5612
|
+
headers: 'headers',
|
|
5613
|
+
statusCode: 'statusCode',
|
|
5614
|
+
body: 'body',
|
|
5615
|
+
};
|
|
5616
|
+
}
|
|
5617
|
+
static types() {
|
|
5618
|
+
return {
|
|
5619
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5620
|
+
statusCode: 'number',
|
|
5621
|
+
body: ListInfraredDeviceBrandsResponseBody,
|
|
5622
|
+
};
|
|
5623
|
+
}
|
|
5624
|
+
}
|
|
5625
|
+
exports.ListInfraredDeviceBrandsResponse = ListInfraredDeviceBrandsResponse;
|
|
5626
|
+
class ListInfraredRemoteControllersHeaders extends $tea.Model {
|
|
5627
|
+
constructor(map) {
|
|
5628
|
+
super(map);
|
|
5629
|
+
}
|
|
5630
|
+
static names() {
|
|
5631
|
+
return {
|
|
5632
|
+
commonHeaders: 'commonHeaders',
|
|
5633
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
5634
|
+
authorization: 'Authorization',
|
|
5635
|
+
};
|
|
5636
|
+
}
|
|
5637
|
+
static types() {
|
|
5638
|
+
return {
|
|
5639
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5640
|
+
xAcsAligenieAccessToken: 'string',
|
|
5641
|
+
authorization: 'string',
|
|
5642
|
+
};
|
|
5643
|
+
}
|
|
5644
|
+
}
|
|
5645
|
+
exports.ListInfraredRemoteControllersHeaders = ListInfraredRemoteControllersHeaders;
|
|
5646
|
+
class ListInfraredRemoteControllersRequest extends $tea.Model {
|
|
5647
|
+
constructor(map) {
|
|
5648
|
+
super(map);
|
|
5649
|
+
}
|
|
5650
|
+
static names() {
|
|
5651
|
+
return {
|
|
5652
|
+
brand: 'Brand',
|
|
5653
|
+
category: 'Category',
|
|
5654
|
+
city: 'City',
|
|
5655
|
+
hotelId: 'HotelId',
|
|
5656
|
+
province: 'Province',
|
|
5657
|
+
serviceProvider: 'ServiceProvider',
|
|
5658
|
+
};
|
|
5659
|
+
}
|
|
5660
|
+
static types() {
|
|
5661
|
+
return {
|
|
5662
|
+
brand: 'string',
|
|
5663
|
+
category: 'string',
|
|
5664
|
+
city: 'string',
|
|
5665
|
+
hotelId: 'string',
|
|
5666
|
+
province: 'string',
|
|
5667
|
+
serviceProvider: 'string',
|
|
5668
|
+
};
|
|
5669
|
+
}
|
|
5670
|
+
}
|
|
5671
|
+
exports.ListInfraredRemoteControllersRequest = ListInfraredRemoteControllersRequest;
|
|
5672
|
+
class ListInfraredRemoteControllersResponseBody extends $tea.Model {
|
|
5673
|
+
constructor(map) {
|
|
5674
|
+
super(map);
|
|
5675
|
+
}
|
|
5676
|
+
static names() {
|
|
5677
|
+
return {
|
|
5678
|
+
message: 'Message',
|
|
5679
|
+
requestId: 'RequestId',
|
|
5680
|
+
result: 'Result',
|
|
5681
|
+
statusCode: 'StatusCode',
|
|
5682
|
+
};
|
|
5683
|
+
}
|
|
5684
|
+
static types() {
|
|
5685
|
+
return {
|
|
5686
|
+
message: 'string',
|
|
5687
|
+
requestId: 'string',
|
|
5688
|
+
result: { 'type': 'array', 'itemType': ListInfraredRemoteControllersResponseBodyResult },
|
|
5689
|
+
statusCode: 'number',
|
|
5690
|
+
};
|
|
5691
|
+
}
|
|
5692
|
+
}
|
|
5693
|
+
exports.ListInfraredRemoteControllersResponseBody = ListInfraredRemoteControllersResponseBody;
|
|
5694
|
+
class ListInfraredRemoteControllersResponse extends $tea.Model {
|
|
5695
|
+
constructor(map) {
|
|
5696
|
+
super(map);
|
|
5697
|
+
}
|
|
5698
|
+
static names() {
|
|
5699
|
+
return {
|
|
5700
|
+
headers: 'headers',
|
|
5701
|
+
statusCode: 'statusCode',
|
|
5702
|
+
body: 'body',
|
|
5703
|
+
};
|
|
5704
|
+
}
|
|
5705
|
+
static types() {
|
|
5706
|
+
return {
|
|
5707
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5708
|
+
statusCode: 'number',
|
|
5709
|
+
body: ListInfraredRemoteControllersResponseBody,
|
|
5710
|
+
};
|
|
5711
|
+
}
|
|
5712
|
+
}
|
|
5713
|
+
exports.ListInfraredRemoteControllersResponse = ListInfraredRemoteControllersResponse;
|
|
5714
|
+
class ListSTBServiceProvidersHeaders extends $tea.Model {
|
|
5715
|
+
constructor(map) {
|
|
5716
|
+
super(map);
|
|
5717
|
+
}
|
|
5718
|
+
static names() {
|
|
5719
|
+
return {
|
|
5720
|
+
commonHeaders: 'commonHeaders',
|
|
5721
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
5722
|
+
authorization: 'Authorization',
|
|
5723
|
+
};
|
|
5724
|
+
}
|
|
5725
|
+
static types() {
|
|
5726
|
+
return {
|
|
5727
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5728
|
+
xAcsAligenieAccessToken: 'string',
|
|
5729
|
+
authorization: 'string',
|
|
5730
|
+
};
|
|
5731
|
+
}
|
|
5732
|
+
}
|
|
5733
|
+
exports.ListSTBServiceProvidersHeaders = ListSTBServiceProvidersHeaders;
|
|
5734
|
+
class ListSTBServiceProvidersRequest extends $tea.Model {
|
|
5735
|
+
constructor(map) {
|
|
5736
|
+
super(map);
|
|
5737
|
+
}
|
|
5738
|
+
static names() {
|
|
5739
|
+
return {
|
|
5740
|
+
city: 'City',
|
|
5741
|
+
province: 'Province',
|
|
5742
|
+
};
|
|
5743
|
+
}
|
|
5744
|
+
static types() {
|
|
5745
|
+
return {
|
|
5746
|
+
city: 'string',
|
|
5747
|
+
province: 'string',
|
|
5748
|
+
};
|
|
5749
|
+
}
|
|
5750
|
+
}
|
|
5751
|
+
exports.ListSTBServiceProvidersRequest = ListSTBServiceProvidersRequest;
|
|
5752
|
+
class ListSTBServiceProvidersResponseBody extends $tea.Model {
|
|
5753
|
+
constructor(map) {
|
|
5754
|
+
super(map);
|
|
5755
|
+
}
|
|
5756
|
+
static names() {
|
|
5757
|
+
return {
|
|
5758
|
+
message: 'Message',
|
|
5759
|
+
requestId: 'RequestId',
|
|
5760
|
+
result: 'Result',
|
|
5761
|
+
statusCode: 'StatusCode',
|
|
5762
|
+
};
|
|
5763
|
+
}
|
|
5764
|
+
static types() {
|
|
5765
|
+
return {
|
|
5766
|
+
message: 'string',
|
|
5767
|
+
requestId: 'string',
|
|
5768
|
+
result: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } },
|
|
5769
|
+
statusCode: 'number',
|
|
5770
|
+
};
|
|
5771
|
+
}
|
|
5772
|
+
}
|
|
5773
|
+
exports.ListSTBServiceProvidersResponseBody = ListSTBServiceProvidersResponseBody;
|
|
5774
|
+
class ListSTBServiceProvidersResponse extends $tea.Model {
|
|
5775
|
+
constructor(map) {
|
|
5776
|
+
super(map);
|
|
5777
|
+
}
|
|
5778
|
+
static names() {
|
|
5779
|
+
return {
|
|
5780
|
+
headers: 'headers',
|
|
5781
|
+
statusCode: 'statusCode',
|
|
5782
|
+
body: 'body',
|
|
5783
|
+
};
|
|
5784
|
+
}
|
|
5785
|
+
static types() {
|
|
5786
|
+
return {
|
|
5787
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5788
|
+
statusCode: 'number',
|
|
5789
|
+
body: ListSTBServiceProvidersResponseBody,
|
|
5790
|
+
};
|
|
5791
|
+
}
|
|
5792
|
+
}
|
|
5793
|
+
exports.ListSTBServiceProvidersResponse = ListSTBServiceProvidersResponse;
|
|
5402
5794
|
class ListSceneCategoryHeaders extends $tea.Model {
|
|
5403
5795
|
constructor(map) {
|
|
5404
5796
|
super(map);
|
|
@@ -8955,7 +9347,7 @@ class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model {
|
|
|
8955
9347
|
}
|
|
8956
9348
|
}
|
|
8957
9349
|
exports.GetWelcomeTextAndMusicResponseBodyResult = GetWelcomeTextAndMusicResponseBodyResult;
|
|
8958
|
-
class
|
|
9350
|
+
class ImportHotelConfigRequestImportHotelConfigRcuCustomScenes extends $tea.Model {
|
|
8959
9351
|
constructor(map) {
|
|
8960
9352
|
super(map);
|
|
8961
9353
|
}
|
|
@@ -8978,8 +9370,8 @@ class ImportHotelConfigRequestImportHotelConfigRequestRcuCustomScenes extends $t
|
|
|
8978
9370
|
};
|
|
8979
9371
|
}
|
|
8980
9372
|
}
|
|
8981
|
-
exports.
|
|
8982
|
-
class
|
|
9373
|
+
exports.ImportHotelConfigRequestImportHotelConfigRcuCustomScenes = ImportHotelConfigRequestImportHotelConfigRcuCustomScenes;
|
|
9374
|
+
class ImportHotelConfigRequestImportHotelConfig extends $tea.Model {
|
|
8983
9375
|
constructor(map) {
|
|
8984
9376
|
super(map);
|
|
8985
9377
|
}
|
|
@@ -8990,27 +9382,43 @@ class ImportHotelConfigRequestImportHotelConfigRequest extends $tea.Model {
|
|
|
8990
9382
|
}
|
|
8991
9383
|
static types() {
|
|
8992
9384
|
return {
|
|
8993
|
-
rcuCustomScenes: { 'type': 'array', 'itemType':
|
|
9385
|
+
rcuCustomScenes: { 'type': 'array', 'itemType': ImportHotelConfigRequestImportHotelConfigRcuCustomScenes },
|
|
8994
9386
|
};
|
|
8995
9387
|
}
|
|
8996
9388
|
}
|
|
8997
|
-
exports.
|
|
9389
|
+
exports.ImportHotelConfigRequestImportHotelConfig = ImportHotelConfigRequestImportHotelConfig;
|
|
8998
9390
|
class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
|
|
8999
9391
|
constructor(map) {
|
|
9000
9392
|
super(map);
|
|
9001
9393
|
}
|
|
9002
9394
|
static names() {
|
|
9003
9395
|
return {
|
|
9396
|
+
brand: 'Brand',
|
|
9397
|
+
city: 'City',
|
|
9398
|
+
connectType: 'ConnectType',
|
|
9004
9399
|
deviceName: 'DeviceName',
|
|
9400
|
+
infraredId: 'InfraredId',
|
|
9401
|
+
infraredIndex: 'InfraredIndex',
|
|
9402
|
+
infraredVersion: 'InfraredVersion',
|
|
9005
9403
|
name: 'Name',
|
|
9006
9404
|
number: 'Number',
|
|
9405
|
+
province: 'Province',
|
|
9406
|
+
serviceProvider: 'ServiceProvider',
|
|
9007
9407
|
};
|
|
9008
9408
|
}
|
|
9009
9409
|
static types() {
|
|
9010
9410
|
return {
|
|
9411
|
+
brand: 'string',
|
|
9412
|
+
city: 'string',
|
|
9413
|
+
connectType: 'string',
|
|
9011
9414
|
deviceName: 'string',
|
|
9415
|
+
infraredId: 'string',
|
|
9416
|
+
infraredIndex: 'string',
|
|
9417
|
+
infraredVersion: 'string',
|
|
9012
9418
|
name: 'string',
|
|
9013
9419
|
number: 'string',
|
|
9420
|
+
province: 'string',
|
|
9421
|
+
serviceProvider: 'string',
|
|
9014
9422
|
};
|
|
9015
9423
|
}
|
|
9016
9424
|
}
|
|
@@ -9971,6 +10379,26 @@ class ListHotelsResponseBodyResult extends $tea.Model {
|
|
|
9971
10379
|
}
|
|
9972
10380
|
}
|
|
9973
10381
|
exports.ListHotelsResponseBodyResult = ListHotelsResponseBodyResult;
|
|
10382
|
+
class ListInfraredRemoteControllersResponseBodyResult extends $tea.Model {
|
|
10383
|
+
constructor(map) {
|
|
10384
|
+
super(map);
|
|
10385
|
+
}
|
|
10386
|
+
static names() {
|
|
10387
|
+
return {
|
|
10388
|
+
index: 'Index',
|
|
10389
|
+
rid: 'Rid',
|
|
10390
|
+
version: 'Version',
|
|
10391
|
+
};
|
|
10392
|
+
}
|
|
10393
|
+
static types() {
|
|
10394
|
+
return {
|
|
10395
|
+
index: 'number',
|
|
10396
|
+
rid: 'number',
|
|
10397
|
+
version: 'string',
|
|
10398
|
+
};
|
|
10399
|
+
}
|
|
10400
|
+
}
|
|
10401
|
+
exports.ListInfraredRemoteControllersResponseBodyResult = ListInfraredRemoteControllersResponseBodyResult;
|
|
9974
10402
|
class ListServiceQARequestPage extends $tea.Model {
|
|
9975
10403
|
constructor(map) {
|
|
9976
10404
|
super(map);
|
|
@@ -12780,17 +13208,16 @@ class Client extends openapi_client_1.default {
|
|
|
12780
13208
|
tea_util_1.default.validateModel(tmpReq);
|
|
12781
13209
|
let request = new ImportHotelConfigShrinkRequest({});
|
|
12782
13210
|
openapi_util_1.default.convert(tmpReq, request);
|
|
12783
|
-
if (!tea_util_1.default.isUnset(tmpReq.
|
|
12784
|
-
request.
|
|
12785
|
-
}
|
|
12786
|
-
let query = {};
|
|
12787
|
-
if (!tea_util_1.default.isUnset(request.importHotelConfigRequestShrink)) {
|
|
12788
|
-
query["ImportHotelConfigRequest"] = request.importHotelConfigRequestShrink;
|
|
13211
|
+
if (!tea_util_1.default.isUnset(tmpReq.importHotelConfig)) {
|
|
13212
|
+
request.importHotelConfigShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.importHotelConfig, "ImportHotelConfig", "json");
|
|
12789
13213
|
}
|
|
12790
13214
|
let body = {};
|
|
12791
13215
|
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
12792
13216
|
body["HotelId"] = request.hotelId;
|
|
12793
13217
|
}
|
|
13218
|
+
if (!tea_util_1.default.isUnset(request.importHotelConfigShrink)) {
|
|
13219
|
+
body["ImportHotelConfig"] = request.importHotelConfigShrink;
|
|
13220
|
+
}
|
|
12794
13221
|
let realHeaders = {};
|
|
12795
13222
|
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
12796
13223
|
realHeaders = headers.commonHeaders;
|
|
@@ -12803,7 +13230,6 @@ class Client extends openapi_client_1.default {
|
|
|
12803
13230
|
}
|
|
12804
13231
|
let req = new $OpenApi.OpenApiRequest({
|
|
12805
13232
|
headers: realHeaders,
|
|
12806
|
-
query: openapi_util_1.default.query(query),
|
|
12807
13233
|
body: openapi_util_1.default.parseToMap(body),
|
|
12808
13234
|
});
|
|
12809
13235
|
let params = new $OpenApi.Params({
|
|
@@ -12832,6 +13258,9 @@ class Client extends openapi_client_1.default {
|
|
|
12832
13258
|
request.locationDevicesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.locationDevices, "LocationDevices", "json");
|
|
12833
13259
|
}
|
|
12834
13260
|
let body = {};
|
|
13261
|
+
if (!tea_util_1.default.isUnset(request.enableInfraredDeviceImport)) {
|
|
13262
|
+
body["EnableInfraredDeviceImport"] = request.enableInfraredDeviceImport;
|
|
13263
|
+
}
|
|
12835
13264
|
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
12836
13265
|
body["HotelId"] = request.hotelId;
|
|
12837
13266
|
}
|
|
@@ -12965,6 +13394,76 @@ class Client extends openapi_client_1.default {
|
|
|
12965
13394
|
let headers = new InvokeRobotPushHeaders({});
|
|
12966
13395
|
return await this.invokeRobotPushWithOptions(request, headers, runtime);
|
|
12967
13396
|
}
|
|
13397
|
+
async listAllProvincesWithOptions(headers, runtime) {
|
|
13398
|
+
let realHeaders = {};
|
|
13399
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
13400
|
+
realHeaders = headers.commonHeaders;
|
|
13401
|
+
}
|
|
13402
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
13403
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
13404
|
+
}
|
|
13405
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
13406
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
13407
|
+
}
|
|
13408
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13409
|
+
headers: realHeaders,
|
|
13410
|
+
});
|
|
13411
|
+
let params = new $OpenApi.Params({
|
|
13412
|
+
action: "ListAllProvinces",
|
|
13413
|
+
version: "ip_1.0",
|
|
13414
|
+
protocol: "HTTPS",
|
|
13415
|
+
pathname: `/v1.0/ip/listAllProvinces`,
|
|
13416
|
+
method: "POST",
|
|
13417
|
+
authType: "AK",
|
|
13418
|
+
style: "ROA",
|
|
13419
|
+
reqBodyType: "json",
|
|
13420
|
+
bodyType: "json",
|
|
13421
|
+
});
|
|
13422
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListAllProvincesResponse({}));
|
|
13423
|
+
}
|
|
13424
|
+
async listAllProvinces() {
|
|
13425
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
13426
|
+
let headers = new ListAllProvincesHeaders({});
|
|
13427
|
+
return await this.listAllProvincesWithOptions(headers, runtime);
|
|
13428
|
+
}
|
|
13429
|
+
async listCitiesByProvinceWithOptions(request, headers, runtime) {
|
|
13430
|
+
tea_util_1.default.validateModel(request);
|
|
13431
|
+
let body = {};
|
|
13432
|
+
if (!tea_util_1.default.isUnset(request.province)) {
|
|
13433
|
+
body["Province"] = request.province;
|
|
13434
|
+
}
|
|
13435
|
+
let realHeaders = {};
|
|
13436
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
13437
|
+
realHeaders = headers.commonHeaders;
|
|
13438
|
+
}
|
|
13439
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
13440
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
13441
|
+
}
|
|
13442
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
13443
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
13444
|
+
}
|
|
13445
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13446
|
+
headers: realHeaders,
|
|
13447
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
13448
|
+
});
|
|
13449
|
+
let params = new $OpenApi.Params({
|
|
13450
|
+
action: "ListCitiesByProvince",
|
|
13451
|
+
version: "ip_1.0",
|
|
13452
|
+
protocol: "HTTPS",
|
|
13453
|
+
pathname: `/v1.0/ip/listCitiesByProvince`,
|
|
13454
|
+
method: "POST",
|
|
13455
|
+
authType: "AK",
|
|
13456
|
+
style: "ROA",
|
|
13457
|
+
reqBodyType: "formData",
|
|
13458
|
+
bodyType: "json",
|
|
13459
|
+
});
|
|
13460
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListCitiesByProvinceResponse({}));
|
|
13461
|
+
}
|
|
13462
|
+
async listCitiesByProvince(request) {
|
|
13463
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
13464
|
+
let headers = new ListCitiesByProvinceHeaders({});
|
|
13465
|
+
return await this.listCitiesByProvinceWithOptions(request, headers, runtime);
|
|
13466
|
+
}
|
|
12968
13467
|
async listCustomQAWithOptions(tmpReq, headers, runtime) {
|
|
12969
13468
|
tea_util_1.default.validateModel(tmpReq);
|
|
12970
13469
|
let request = new ListCustomQAShrinkRequest({});
|
|
@@ -13531,6 +14030,141 @@ class Client extends openapi_client_1.default {
|
|
|
13531
14030
|
let headers = new ListHotelsHeaders({});
|
|
13532
14031
|
return await this.listHotelsWithOptions(request, headers, runtime);
|
|
13533
14032
|
}
|
|
14033
|
+
async listInfraredDeviceBrandsWithOptions(request, headers, runtime) {
|
|
14034
|
+
tea_util_1.default.validateModel(request);
|
|
14035
|
+
let body = {};
|
|
14036
|
+
if (!tea_util_1.default.isUnset(request.category)) {
|
|
14037
|
+
body["Category"] = request.category;
|
|
14038
|
+
}
|
|
14039
|
+
if (!tea_util_1.default.isUnset(request.serviceProvider)) {
|
|
14040
|
+
body["ServiceProvider"] = request.serviceProvider;
|
|
14041
|
+
}
|
|
14042
|
+
let realHeaders = {};
|
|
14043
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
14044
|
+
realHeaders = headers.commonHeaders;
|
|
14045
|
+
}
|
|
14046
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
14047
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
14048
|
+
}
|
|
14049
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
14050
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
14051
|
+
}
|
|
14052
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14053
|
+
headers: realHeaders,
|
|
14054
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
14055
|
+
});
|
|
14056
|
+
let params = new $OpenApi.Params({
|
|
14057
|
+
action: "ListInfraredDeviceBrands",
|
|
14058
|
+
version: "ip_1.0",
|
|
14059
|
+
protocol: "HTTPS",
|
|
14060
|
+
pathname: `/v1.0/ip/listInfraredDeviceBrands`,
|
|
14061
|
+
method: "POST",
|
|
14062
|
+
authType: "AK",
|
|
14063
|
+
style: "ROA",
|
|
14064
|
+
reqBodyType: "formData",
|
|
14065
|
+
bodyType: "json",
|
|
14066
|
+
});
|
|
14067
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListInfraredDeviceBrandsResponse({}));
|
|
14068
|
+
}
|
|
14069
|
+
async listInfraredDeviceBrands(request) {
|
|
14070
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14071
|
+
let headers = new ListInfraredDeviceBrandsHeaders({});
|
|
14072
|
+
return await this.listInfraredDeviceBrandsWithOptions(request, headers, runtime);
|
|
14073
|
+
}
|
|
14074
|
+
async listInfraredRemoteControllersWithOptions(request, headers, runtime) {
|
|
14075
|
+
tea_util_1.default.validateModel(request);
|
|
14076
|
+
let body = {};
|
|
14077
|
+
if (!tea_util_1.default.isUnset(request.brand)) {
|
|
14078
|
+
body["Brand"] = request.brand;
|
|
14079
|
+
}
|
|
14080
|
+
if (!tea_util_1.default.isUnset(request.category)) {
|
|
14081
|
+
body["Category"] = request.category;
|
|
14082
|
+
}
|
|
14083
|
+
if (!tea_util_1.default.isUnset(request.city)) {
|
|
14084
|
+
body["City"] = request.city;
|
|
14085
|
+
}
|
|
14086
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
14087
|
+
body["HotelId"] = request.hotelId;
|
|
14088
|
+
}
|
|
14089
|
+
if (!tea_util_1.default.isUnset(request.province)) {
|
|
14090
|
+
body["Province"] = request.province;
|
|
14091
|
+
}
|
|
14092
|
+
if (!tea_util_1.default.isUnset(request.serviceProvider)) {
|
|
14093
|
+
body["ServiceProvider"] = request.serviceProvider;
|
|
14094
|
+
}
|
|
14095
|
+
let realHeaders = {};
|
|
14096
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
14097
|
+
realHeaders = headers.commonHeaders;
|
|
14098
|
+
}
|
|
14099
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
14100
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
14101
|
+
}
|
|
14102
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
14103
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
14104
|
+
}
|
|
14105
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14106
|
+
headers: realHeaders,
|
|
14107
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
14108
|
+
});
|
|
14109
|
+
let params = new $OpenApi.Params({
|
|
14110
|
+
action: "ListInfraredRemoteControllers",
|
|
14111
|
+
version: "ip_1.0",
|
|
14112
|
+
protocol: "HTTPS",
|
|
14113
|
+
pathname: `/v1.0/ip/listInfraredRemoteControllers`,
|
|
14114
|
+
method: "POST",
|
|
14115
|
+
authType: "AK",
|
|
14116
|
+
style: "ROA",
|
|
14117
|
+
reqBodyType: "formData",
|
|
14118
|
+
bodyType: "json",
|
|
14119
|
+
});
|
|
14120
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListInfraredRemoteControllersResponse({}));
|
|
14121
|
+
}
|
|
14122
|
+
async listInfraredRemoteControllers(request) {
|
|
14123
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14124
|
+
let headers = new ListInfraredRemoteControllersHeaders({});
|
|
14125
|
+
return await this.listInfraredRemoteControllersWithOptions(request, headers, runtime);
|
|
14126
|
+
}
|
|
14127
|
+
async listSTBServiceProvidersWithOptions(request, headers, runtime) {
|
|
14128
|
+
tea_util_1.default.validateModel(request);
|
|
14129
|
+
let body = {};
|
|
14130
|
+
if (!tea_util_1.default.isUnset(request.city)) {
|
|
14131
|
+
body["City"] = request.city;
|
|
14132
|
+
}
|
|
14133
|
+
if (!tea_util_1.default.isUnset(request.province)) {
|
|
14134
|
+
body["Province"] = request.province;
|
|
14135
|
+
}
|
|
14136
|
+
let realHeaders = {};
|
|
14137
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
14138
|
+
realHeaders = headers.commonHeaders;
|
|
14139
|
+
}
|
|
14140
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
14141
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
14142
|
+
}
|
|
14143
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
14144
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
14145
|
+
}
|
|
14146
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14147
|
+
headers: realHeaders,
|
|
14148
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
14149
|
+
});
|
|
14150
|
+
let params = new $OpenApi.Params({
|
|
14151
|
+
action: "ListSTBServiceProviders",
|
|
14152
|
+
version: "ip_1.0",
|
|
14153
|
+
protocol: "HTTPS",
|
|
14154
|
+
pathname: `/v1.0/ip/listSTBServiceProviders`,
|
|
14155
|
+
method: "POST",
|
|
14156
|
+
authType: "AK",
|
|
14157
|
+
style: "ROA",
|
|
14158
|
+
reqBodyType: "formData",
|
|
14159
|
+
bodyType: "json",
|
|
14160
|
+
});
|
|
14161
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListSTBServiceProvidersResponse({}));
|
|
14162
|
+
}
|
|
14163
|
+
async listSTBServiceProviders(request) {
|
|
14164
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14165
|
+
let headers = new ListSTBServiceProvidersHeaders({});
|
|
14166
|
+
return await this.listSTBServiceProvidersWithOptions(request, headers, runtime);
|
|
14167
|
+
}
|
|
13534
14168
|
async listSceneCategoryWithOptions(request, headers, runtime) {
|
|
13535
14169
|
tea_util_1.default.validateModel(request);
|
|
13536
14170
|
let body = {};
|