@alicloud/aligenieip_1_0 1.0.25 → 2.1.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 +342 -5
- package/dist/client.js +673 -13
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +876 -54
package/dist/client.js
CHANGED
|
@@ -1901,12 +1901,14 @@ class DeleteHotelSceneBookItemRequest extends $tea.Model {
|
|
|
1901
1901
|
return {
|
|
1902
1902
|
hotelId: 'HotelId',
|
|
1903
1903
|
id: 'Id',
|
|
1904
|
+
name: 'Name',
|
|
1904
1905
|
};
|
|
1905
1906
|
}
|
|
1906
1907
|
static types() {
|
|
1907
1908
|
return {
|
|
1908
1909
|
hotelId: 'string',
|
|
1909
1910
|
id: 'number',
|
|
1911
|
+
name: 'string',
|
|
1910
1912
|
};
|
|
1911
1913
|
}
|
|
1912
1914
|
}
|
|
@@ -3313,12 +3315,14 @@ class GetHotelSceneItemDetailRequest extends $tea.Model {
|
|
|
3313
3315
|
return {
|
|
3314
3316
|
hotelId: 'HotelId',
|
|
3315
3317
|
itemId: 'ItemId',
|
|
3318
|
+
name: 'Name',
|
|
3316
3319
|
};
|
|
3317
3320
|
}
|
|
3318
3321
|
static types() {
|
|
3319
3322
|
return {
|
|
3320
3323
|
hotelId: 'string',
|
|
3321
3324
|
itemId: 'number',
|
|
3325
|
+
name: 'string',
|
|
3322
3326
|
};
|
|
3323
3327
|
}
|
|
3324
3328
|
}
|
|
@@ -3872,13 +3876,13 @@ class ImportHotelConfigRequest extends $tea.Model {
|
|
|
3872
3876
|
static names() {
|
|
3873
3877
|
return {
|
|
3874
3878
|
hotelId: 'HotelId',
|
|
3875
|
-
|
|
3879
|
+
importHotelConfig: 'ImportHotelConfig',
|
|
3876
3880
|
};
|
|
3877
3881
|
}
|
|
3878
3882
|
static types() {
|
|
3879
3883
|
return {
|
|
3880
3884
|
hotelId: 'string',
|
|
3881
|
-
|
|
3885
|
+
importHotelConfig: ImportHotelConfigRequestImportHotelConfig,
|
|
3882
3886
|
};
|
|
3883
3887
|
}
|
|
3884
3888
|
}
|
|
@@ -3890,13 +3894,13 @@ class ImportHotelConfigShrinkRequest extends $tea.Model {
|
|
|
3890
3894
|
static names() {
|
|
3891
3895
|
return {
|
|
3892
3896
|
hotelId: 'HotelId',
|
|
3893
|
-
|
|
3897
|
+
importHotelConfigShrink: 'ImportHotelConfig',
|
|
3894
3898
|
};
|
|
3895
3899
|
}
|
|
3896
3900
|
static types() {
|
|
3897
3901
|
return {
|
|
3898
3902
|
hotelId: 'string',
|
|
3899
|
-
|
|
3903
|
+
importHotelConfigShrink: 'string',
|
|
3900
3904
|
};
|
|
3901
3905
|
}
|
|
3902
3906
|
}
|
|
@@ -3969,6 +3973,7 @@ class ImportRoomControlDevicesRequest extends $tea.Model {
|
|
|
3969
3973
|
}
|
|
3970
3974
|
static names() {
|
|
3971
3975
|
return {
|
|
3976
|
+
enableInfraredDeviceImport: 'EnableInfraredDeviceImport',
|
|
3972
3977
|
hotelId: 'HotelId',
|
|
3973
3978
|
locationDevices: 'LocationDevices',
|
|
3974
3979
|
roomNo: 'RoomNo',
|
|
@@ -3976,6 +3981,7 @@ class ImportRoomControlDevicesRequest extends $tea.Model {
|
|
|
3976
3981
|
}
|
|
3977
3982
|
static types() {
|
|
3978
3983
|
return {
|
|
3984
|
+
enableInfraredDeviceImport: 'string',
|
|
3979
3985
|
hotelId: 'string',
|
|
3980
3986
|
locationDevices: { 'type': 'array', 'itemType': ImportRoomControlDevicesRequestLocationDevices },
|
|
3981
3987
|
roomNo: 'string',
|
|
@@ -3989,6 +3995,7 @@ class ImportRoomControlDevicesShrinkRequest extends $tea.Model {
|
|
|
3989
3995
|
}
|
|
3990
3996
|
static names() {
|
|
3991
3997
|
return {
|
|
3998
|
+
enableInfraredDeviceImport: 'EnableInfraredDeviceImport',
|
|
3992
3999
|
hotelId: 'HotelId',
|
|
3993
4000
|
locationDevicesShrink: 'LocationDevices',
|
|
3994
4001
|
roomNo: 'RoomNo',
|
|
@@ -3996,6 +4003,7 @@ class ImportRoomControlDevicesShrinkRequest extends $tea.Model {
|
|
|
3996
4003
|
}
|
|
3997
4004
|
static types() {
|
|
3998
4005
|
return {
|
|
4006
|
+
enableInfraredDeviceImport: 'string',
|
|
3999
4007
|
hotelId: 'string',
|
|
4000
4008
|
locationDevicesShrink: 'string',
|
|
4001
4009
|
roomNo: 'string',
|
|
@@ -4227,6 +4235,146 @@ class InvokeRobotPushResponse extends $tea.Model {
|
|
|
4227
4235
|
}
|
|
4228
4236
|
}
|
|
4229
4237
|
exports.InvokeRobotPushResponse = InvokeRobotPushResponse;
|
|
4238
|
+
class ListAllProvincesHeaders extends $tea.Model {
|
|
4239
|
+
constructor(map) {
|
|
4240
|
+
super(map);
|
|
4241
|
+
}
|
|
4242
|
+
static names() {
|
|
4243
|
+
return {
|
|
4244
|
+
commonHeaders: 'commonHeaders',
|
|
4245
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
4246
|
+
authorization: 'Authorization',
|
|
4247
|
+
};
|
|
4248
|
+
}
|
|
4249
|
+
static types() {
|
|
4250
|
+
return {
|
|
4251
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4252
|
+
xAcsAligenieAccessToken: 'string',
|
|
4253
|
+
authorization: 'string',
|
|
4254
|
+
};
|
|
4255
|
+
}
|
|
4256
|
+
}
|
|
4257
|
+
exports.ListAllProvincesHeaders = ListAllProvincesHeaders;
|
|
4258
|
+
class ListAllProvincesResponseBody extends $tea.Model {
|
|
4259
|
+
constructor(map) {
|
|
4260
|
+
super(map);
|
|
4261
|
+
}
|
|
4262
|
+
static names() {
|
|
4263
|
+
return {
|
|
4264
|
+
message: 'Message',
|
|
4265
|
+
requestId: 'RequestId',
|
|
4266
|
+
result: 'Result',
|
|
4267
|
+
statusCode: 'StatusCode',
|
|
4268
|
+
};
|
|
4269
|
+
}
|
|
4270
|
+
static types() {
|
|
4271
|
+
return {
|
|
4272
|
+
message: 'string',
|
|
4273
|
+
requestId: 'string',
|
|
4274
|
+
result: { 'type': 'array', 'itemType': 'string' },
|
|
4275
|
+
statusCode: 'number',
|
|
4276
|
+
};
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4279
|
+
exports.ListAllProvincesResponseBody = ListAllProvincesResponseBody;
|
|
4280
|
+
class ListAllProvincesResponse extends $tea.Model {
|
|
4281
|
+
constructor(map) {
|
|
4282
|
+
super(map);
|
|
4283
|
+
}
|
|
4284
|
+
static names() {
|
|
4285
|
+
return {
|
|
4286
|
+
headers: 'headers',
|
|
4287
|
+
statusCode: 'statusCode',
|
|
4288
|
+
body: 'body',
|
|
4289
|
+
};
|
|
4290
|
+
}
|
|
4291
|
+
static types() {
|
|
4292
|
+
return {
|
|
4293
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4294
|
+
statusCode: 'number',
|
|
4295
|
+
body: ListAllProvincesResponseBody,
|
|
4296
|
+
};
|
|
4297
|
+
}
|
|
4298
|
+
}
|
|
4299
|
+
exports.ListAllProvincesResponse = ListAllProvincesResponse;
|
|
4300
|
+
class ListCitiesByProvinceHeaders extends $tea.Model {
|
|
4301
|
+
constructor(map) {
|
|
4302
|
+
super(map);
|
|
4303
|
+
}
|
|
4304
|
+
static names() {
|
|
4305
|
+
return {
|
|
4306
|
+
commonHeaders: 'commonHeaders',
|
|
4307
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
4308
|
+
authorization: 'Authorization',
|
|
4309
|
+
};
|
|
4310
|
+
}
|
|
4311
|
+
static types() {
|
|
4312
|
+
return {
|
|
4313
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4314
|
+
xAcsAligenieAccessToken: 'string',
|
|
4315
|
+
authorization: 'string',
|
|
4316
|
+
};
|
|
4317
|
+
}
|
|
4318
|
+
}
|
|
4319
|
+
exports.ListCitiesByProvinceHeaders = ListCitiesByProvinceHeaders;
|
|
4320
|
+
class ListCitiesByProvinceRequest extends $tea.Model {
|
|
4321
|
+
constructor(map) {
|
|
4322
|
+
super(map);
|
|
4323
|
+
}
|
|
4324
|
+
static names() {
|
|
4325
|
+
return {
|
|
4326
|
+
province: 'Province',
|
|
4327
|
+
};
|
|
4328
|
+
}
|
|
4329
|
+
static types() {
|
|
4330
|
+
return {
|
|
4331
|
+
province: 'string',
|
|
4332
|
+
};
|
|
4333
|
+
}
|
|
4334
|
+
}
|
|
4335
|
+
exports.ListCitiesByProvinceRequest = ListCitiesByProvinceRequest;
|
|
4336
|
+
class ListCitiesByProvinceResponseBody extends $tea.Model {
|
|
4337
|
+
constructor(map) {
|
|
4338
|
+
super(map);
|
|
4339
|
+
}
|
|
4340
|
+
static names() {
|
|
4341
|
+
return {
|
|
4342
|
+
message: 'Message',
|
|
4343
|
+
requestId: 'RequestId',
|
|
4344
|
+
result: 'Result',
|
|
4345
|
+
statusCode: 'StatusCode',
|
|
4346
|
+
};
|
|
4347
|
+
}
|
|
4348
|
+
static types() {
|
|
4349
|
+
return {
|
|
4350
|
+
message: 'string',
|
|
4351
|
+
requestId: 'string',
|
|
4352
|
+
result: { 'type': 'array', 'itemType': 'string' },
|
|
4353
|
+
statusCode: 'number',
|
|
4354
|
+
};
|
|
4355
|
+
}
|
|
4356
|
+
}
|
|
4357
|
+
exports.ListCitiesByProvinceResponseBody = ListCitiesByProvinceResponseBody;
|
|
4358
|
+
class ListCitiesByProvinceResponse extends $tea.Model {
|
|
4359
|
+
constructor(map) {
|
|
4360
|
+
super(map);
|
|
4361
|
+
}
|
|
4362
|
+
static names() {
|
|
4363
|
+
return {
|
|
4364
|
+
headers: 'headers',
|
|
4365
|
+
statusCode: 'statusCode',
|
|
4366
|
+
body: 'body',
|
|
4367
|
+
};
|
|
4368
|
+
}
|
|
4369
|
+
static types() {
|
|
4370
|
+
return {
|
|
4371
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4372
|
+
statusCode: 'number',
|
|
4373
|
+
body: ListCitiesByProvinceResponseBody,
|
|
4374
|
+
};
|
|
4375
|
+
}
|
|
4376
|
+
}
|
|
4377
|
+
exports.ListCitiesByProvinceResponse = ListCitiesByProvinceResponse;
|
|
4230
4378
|
class ListCustomQAHeaders extends $tea.Model {
|
|
4231
4379
|
constructor(map) {
|
|
4232
4380
|
super(map);
|
|
@@ -5399,6 +5547,254 @@ class ListHotelsResponse extends $tea.Model {
|
|
|
5399
5547
|
}
|
|
5400
5548
|
}
|
|
5401
5549
|
exports.ListHotelsResponse = ListHotelsResponse;
|
|
5550
|
+
class ListInfraredDeviceBrandsHeaders extends $tea.Model {
|
|
5551
|
+
constructor(map) {
|
|
5552
|
+
super(map);
|
|
5553
|
+
}
|
|
5554
|
+
static names() {
|
|
5555
|
+
return {
|
|
5556
|
+
commonHeaders: 'commonHeaders',
|
|
5557
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
5558
|
+
authorization: 'Authorization',
|
|
5559
|
+
};
|
|
5560
|
+
}
|
|
5561
|
+
static types() {
|
|
5562
|
+
return {
|
|
5563
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5564
|
+
xAcsAligenieAccessToken: 'string',
|
|
5565
|
+
authorization: 'string',
|
|
5566
|
+
};
|
|
5567
|
+
}
|
|
5568
|
+
}
|
|
5569
|
+
exports.ListInfraredDeviceBrandsHeaders = ListInfraredDeviceBrandsHeaders;
|
|
5570
|
+
class ListInfraredDeviceBrandsRequest extends $tea.Model {
|
|
5571
|
+
constructor(map) {
|
|
5572
|
+
super(map);
|
|
5573
|
+
}
|
|
5574
|
+
static names() {
|
|
5575
|
+
return {
|
|
5576
|
+
category: 'Category',
|
|
5577
|
+
serviceProvider: 'ServiceProvider',
|
|
5578
|
+
};
|
|
5579
|
+
}
|
|
5580
|
+
static types() {
|
|
5581
|
+
return {
|
|
5582
|
+
category: 'string',
|
|
5583
|
+
serviceProvider: 'string',
|
|
5584
|
+
};
|
|
5585
|
+
}
|
|
5586
|
+
}
|
|
5587
|
+
exports.ListInfraredDeviceBrandsRequest = ListInfraredDeviceBrandsRequest;
|
|
5588
|
+
class ListInfraredDeviceBrandsResponseBody extends $tea.Model {
|
|
5589
|
+
constructor(map) {
|
|
5590
|
+
super(map);
|
|
5591
|
+
}
|
|
5592
|
+
static names() {
|
|
5593
|
+
return {
|
|
5594
|
+
message: 'Message',
|
|
5595
|
+
requestId: 'RequestId',
|
|
5596
|
+
result: 'Result',
|
|
5597
|
+
statusCode: 'StatusCode',
|
|
5598
|
+
};
|
|
5599
|
+
}
|
|
5600
|
+
static types() {
|
|
5601
|
+
return {
|
|
5602
|
+
message: 'string',
|
|
5603
|
+
requestId: 'string',
|
|
5604
|
+
result: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } },
|
|
5605
|
+
statusCode: 'number',
|
|
5606
|
+
};
|
|
5607
|
+
}
|
|
5608
|
+
}
|
|
5609
|
+
exports.ListInfraredDeviceBrandsResponseBody = ListInfraredDeviceBrandsResponseBody;
|
|
5610
|
+
class ListInfraredDeviceBrandsResponse extends $tea.Model {
|
|
5611
|
+
constructor(map) {
|
|
5612
|
+
super(map);
|
|
5613
|
+
}
|
|
5614
|
+
static names() {
|
|
5615
|
+
return {
|
|
5616
|
+
headers: 'headers',
|
|
5617
|
+
statusCode: 'statusCode',
|
|
5618
|
+
body: 'body',
|
|
5619
|
+
};
|
|
5620
|
+
}
|
|
5621
|
+
static types() {
|
|
5622
|
+
return {
|
|
5623
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5624
|
+
statusCode: 'number',
|
|
5625
|
+
body: ListInfraredDeviceBrandsResponseBody,
|
|
5626
|
+
};
|
|
5627
|
+
}
|
|
5628
|
+
}
|
|
5629
|
+
exports.ListInfraredDeviceBrandsResponse = ListInfraredDeviceBrandsResponse;
|
|
5630
|
+
class ListInfraredRemoteControllersHeaders extends $tea.Model {
|
|
5631
|
+
constructor(map) {
|
|
5632
|
+
super(map);
|
|
5633
|
+
}
|
|
5634
|
+
static names() {
|
|
5635
|
+
return {
|
|
5636
|
+
commonHeaders: 'commonHeaders',
|
|
5637
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
5638
|
+
authorization: 'Authorization',
|
|
5639
|
+
};
|
|
5640
|
+
}
|
|
5641
|
+
static types() {
|
|
5642
|
+
return {
|
|
5643
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5644
|
+
xAcsAligenieAccessToken: 'string',
|
|
5645
|
+
authorization: 'string',
|
|
5646
|
+
};
|
|
5647
|
+
}
|
|
5648
|
+
}
|
|
5649
|
+
exports.ListInfraredRemoteControllersHeaders = ListInfraredRemoteControllersHeaders;
|
|
5650
|
+
class ListInfraredRemoteControllersRequest extends $tea.Model {
|
|
5651
|
+
constructor(map) {
|
|
5652
|
+
super(map);
|
|
5653
|
+
}
|
|
5654
|
+
static names() {
|
|
5655
|
+
return {
|
|
5656
|
+
brand: 'Brand',
|
|
5657
|
+
category: 'Category',
|
|
5658
|
+
city: 'City',
|
|
5659
|
+
hotelId: 'HotelId',
|
|
5660
|
+
province: 'Province',
|
|
5661
|
+
serviceProvider: 'ServiceProvider',
|
|
5662
|
+
};
|
|
5663
|
+
}
|
|
5664
|
+
static types() {
|
|
5665
|
+
return {
|
|
5666
|
+
brand: 'string',
|
|
5667
|
+
category: 'string',
|
|
5668
|
+
city: 'string',
|
|
5669
|
+
hotelId: 'string',
|
|
5670
|
+
province: 'string',
|
|
5671
|
+
serviceProvider: 'string',
|
|
5672
|
+
};
|
|
5673
|
+
}
|
|
5674
|
+
}
|
|
5675
|
+
exports.ListInfraredRemoteControllersRequest = ListInfraredRemoteControllersRequest;
|
|
5676
|
+
class ListInfraredRemoteControllersResponseBody extends $tea.Model {
|
|
5677
|
+
constructor(map) {
|
|
5678
|
+
super(map);
|
|
5679
|
+
}
|
|
5680
|
+
static names() {
|
|
5681
|
+
return {
|
|
5682
|
+
message: 'Message',
|
|
5683
|
+
requestId: 'RequestId',
|
|
5684
|
+
result: 'Result',
|
|
5685
|
+
statusCode: 'StatusCode',
|
|
5686
|
+
};
|
|
5687
|
+
}
|
|
5688
|
+
static types() {
|
|
5689
|
+
return {
|
|
5690
|
+
message: 'string',
|
|
5691
|
+
requestId: 'string',
|
|
5692
|
+
result: { 'type': 'array', 'itemType': ListInfraredRemoteControllersResponseBodyResult },
|
|
5693
|
+
statusCode: 'number',
|
|
5694
|
+
};
|
|
5695
|
+
}
|
|
5696
|
+
}
|
|
5697
|
+
exports.ListInfraredRemoteControllersResponseBody = ListInfraredRemoteControllersResponseBody;
|
|
5698
|
+
class ListInfraredRemoteControllersResponse extends $tea.Model {
|
|
5699
|
+
constructor(map) {
|
|
5700
|
+
super(map);
|
|
5701
|
+
}
|
|
5702
|
+
static names() {
|
|
5703
|
+
return {
|
|
5704
|
+
headers: 'headers',
|
|
5705
|
+
statusCode: 'statusCode',
|
|
5706
|
+
body: 'body',
|
|
5707
|
+
};
|
|
5708
|
+
}
|
|
5709
|
+
static types() {
|
|
5710
|
+
return {
|
|
5711
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5712
|
+
statusCode: 'number',
|
|
5713
|
+
body: ListInfraredRemoteControllersResponseBody,
|
|
5714
|
+
};
|
|
5715
|
+
}
|
|
5716
|
+
}
|
|
5717
|
+
exports.ListInfraredRemoteControllersResponse = ListInfraredRemoteControllersResponse;
|
|
5718
|
+
class ListSTBServiceProvidersHeaders extends $tea.Model {
|
|
5719
|
+
constructor(map) {
|
|
5720
|
+
super(map);
|
|
5721
|
+
}
|
|
5722
|
+
static names() {
|
|
5723
|
+
return {
|
|
5724
|
+
commonHeaders: 'commonHeaders',
|
|
5725
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
5726
|
+
authorization: 'Authorization',
|
|
5727
|
+
};
|
|
5728
|
+
}
|
|
5729
|
+
static types() {
|
|
5730
|
+
return {
|
|
5731
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5732
|
+
xAcsAligenieAccessToken: 'string',
|
|
5733
|
+
authorization: 'string',
|
|
5734
|
+
};
|
|
5735
|
+
}
|
|
5736
|
+
}
|
|
5737
|
+
exports.ListSTBServiceProvidersHeaders = ListSTBServiceProvidersHeaders;
|
|
5738
|
+
class ListSTBServiceProvidersRequest extends $tea.Model {
|
|
5739
|
+
constructor(map) {
|
|
5740
|
+
super(map);
|
|
5741
|
+
}
|
|
5742
|
+
static names() {
|
|
5743
|
+
return {
|
|
5744
|
+
city: 'City',
|
|
5745
|
+
province: 'Province',
|
|
5746
|
+
};
|
|
5747
|
+
}
|
|
5748
|
+
static types() {
|
|
5749
|
+
return {
|
|
5750
|
+
city: 'string',
|
|
5751
|
+
province: 'string',
|
|
5752
|
+
};
|
|
5753
|
+
}
|
|
5754
|
+
}
|
|
5755
|
+
exports.ListSTBServiceProvidersRequest = ListSTBServiceProvidersRequest;
|
|
5756
|
+
class ListSTBServiceProvidersResponseBody extends $tea.Model {
|
|
5757
|
+
constructor(map) {
|
|
5758
|
+
super(map);
|
|
5759
|
+
}
|
|
5760
|
+
static names() {
|
|
5761
|
+
return {
|
|
5762
|
+
message: 'Message',
|
|
5763
|
+
requestId: 'RequestId',
|
|
5764
|
+
result: 'Result',
|
|
5765
|
+
statusCode: 'StatusCode',
|
|
5766
|
+
};
|
|
5767
|
+
}
|
|
5768
|
+
static types() {
|
|
5769
|
+
return {
|
|
5770
|
+
message: 'string',
|
|
5771
|
+
requestId: 'string',
|
|
5772
|
+
result: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } },
|
|
5773
|
+
statusCode: 'number',
|
|
5774
|
+
};
|
|
5775
|
+
}
|
|
5776
|
+
}
|
|
5777
|
+
exports.ListSTBServiceProvidersResponseBody = ListSTBServiceProvidersResponseBody;
|
|
5778
|
+
class ListSTBServiceProvidersResponse extends $tea.Model {
|
|
5779
|
+
constructor(map) {
|
|
5780
|
+
super(map);
|
|
5781
|
+
}
|
|
5782
|
+
static names() {
|
|
5783
|
+
return {
|
|
5784
|
+
headers: 'headers',
|
|
5785
|
+
statusCode: 'statusCode',
|
|
5786
|
+
body: 'body',
|
|
5787
|
+
};
|
|
5788
|
+
}
|
|
5789
|
+
static types() {
|
|
5790
|
+
return {
|
|
5791
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5792
|
+
statusCode: 'number',
|
|
5793
|
+
body: ListSTBServiceProvidersResponseBody,
|
|
5794
|
+
};
|
|
5795
|
+
}
|
|
5796
|
+
}
|
|
5797
|
+
exports.ListSTBServiceProvidersResponse = ListSTBServiceProvidersResponse;
|
|
5402
5798
|
class ListSceneCategoryHeaders extends $tea.Model {
|
|
5403
5799
|
constructor(map) {
|
|
5404
5800
|
super(map);
|
|
@@ -8955,7 +9351,7 @@ class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model {
|
|
|
8955
9351
|
}
|
|
8956
9352
|
}
|
|
8957
9353
|
exports.GetWelcomeTextAndMusicResponseBodyResult = GetWelcomeTextAndMusicResponseBodyResult;
|
|
8958
|
-
class
|
|
9354
|
+
class ImportHotelConfigRequestImportHotelConfigRcuCustomScenes extends $tea.Model {
|
|
8959
9355
|
constructor(map) {
|
|
8960
9356
|
super(map);
|
|
8961
9357
|
}
|
|
@@ -8978,8 +9374,8 @@ class ImportHotelConfigRequestImportHotelConfigRequestRcuCustomScenes extends $t
|
|
|
8978
9374
|
};
|
|
8979
9375
|
}
|
|
8980
9376
|
}
|
|
8981
|
-
exports.
|
|
8982
|
-
class
|
|
9377
|
+
exports.ImportHotelConfigRequestImportHotelConfigRcuCustomScenes = ImportHotelConfigRequestImportHotelConfigRcuCustomScenes;
|
|
9378
|
+
class ImportHotelConfigRequestImportHotelConfig extends $tea.Model {
|
|
8983
9379
|
constructor(map) {
|
|
8984
9380
|
super(map);
|
|
8985
9381
|
}
|
|
@@ -8990,27 +9386,43 @@ class ImportHotelConfigRequestImportHotelConfigRequest extends $tea.Model {
|
|
|
8990
9386
|
}
|
|
8991
9387
|
static types() {
|
|
8992
9388
|
return {
|
|
8993
|
-
rcuCustomScenes: { 'type': 'array', 'itemType':
|
|
9389
|
+
rcuCustomScenes: { 'type': 'array', 'itemType': ImportHotelConfigRequestImportHotelConfigRcuCustomScenes },
|
|
8994
9390
|
};
|
|
8995
9391
|
}
|
|
8996
9392
|
}
|
|
8997
|
-
exports.
|
|
9393
|
+
exports.ImportHotelConfigRequestImportHotelConfig = ImportHotelConfigRequestImportHotelConfig;
|
|
8998
9394
|
class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
|
|
8999
9395
|
constructor(map) {
|
|
9000
9396
|
super(map);
|
|
9001
9397
|
}
|
|
9002
9398
|
static names() {
|
|
9003
9399
|
return {
|
|
9400
|
+
brand: 'Brand',
|
|
9401
|
+
city: 'City',
|
|
9402
|
+
connectType: 'ConnectType',
|
|
9004
9403
|
deviceName: 'DeviceName',
|
|
9404
|
+
infraredId: 'InfraredId',
|
|
9405
|
+
infraredIndex: 'InfraredIndex',
|
|
9406
|
+
infraredVersion: 'InfraredVersion',
|
|
9005
9407
|
name: 'Name',
|
|
9006
9408
|
number: 'Number',
|
|
9409
|
+
province: 'Province',
|
|
9410
|
+
serviceProvider: 'ServiceProvider',
|
|
9007
9411
|
};
|
|
9008
9412
|
}
|
|
9009
9413
|
static types() {
|
|
9010
9414
|
return {
|
|
9415
|
+
brand: 'string',
|
|
9416
|
+
city: 'string',
|
|
9417
|
+
connectType: 'string',
|
|
9011
9418
|
deviceName: 'string',
|
|
9419
|
+
infraredId: 'string',
|
|
9420
|
+
infraredIndex: 'string',
|
|
9421
|
+
infraredVersion: 'string',
|
|
9012
9422
|
name: 'string',
|
|
9013
9423
|
number: 'string',
|
|
9424
|
+
province: 'string',
|
|
9425
|
+
serviceProvider: 'string',
|
|
9014
9426
|
};
|
|
9015
9427
|
}
|
|
9016
9428
|
}
|
|
@@ -9796,10 +10208,13 @@ class ListHotelSceneItemsResponseBodyResultSceneItemList extends $tea.Model {
|
|
|
9796
10208
|
static names() {
|
|
9797
10209
|
return {
|
|
9798
10210
|
category: 'Category',
|
|
10211
|
+
deliveryMethod: 'DeliveryMethod',
|
|
9799
10212
|
icon: 'Icon',
|
|
9800
10213
|
id: 'Id',
|
|
9801
10214
|
name: 'Name',
|
|
10215
|
+
paymentMethod: 'PaymentMethod',
|
|
9802
10216
|
price: 'Price',
|
|
10217
|
+
robotName: 'RobotName',
|
|
9803
10218
|
status: 'Status',
|
|
9804
10219
|
type: 'Type',
|
|
9805
10220
|
updateTime: 'UpdateTime',
|
|
@@ -9808,10 +10223,13 @@ class ListHotelSceneItemsResponseBodyResultSceneItemList extends $tea.Model {
|
|
|
9808
10223
|
static types() {
|
|
9809
10224
|
return {
|
|
9810
10225
|
category: 'string',
|
|
10226
|
+
deliveryMethod: 'string',
|
|
9811
10227
|
icon: 'string',
|
|
9812
10228
|
id: 'number',
|
|
9813
10229
|
name: 'string',
|
|
10230
|
+
paymentMethod: 'string',
|
|
9814
10231
|
price: 'number',
|
|
10232
|
+
robotName: 'string',
|
|
9815
10233
|
status: 'string',
|
|
9816
10234
|
type: 'string',
|
|
9817
10235
|
updateTime: 'number',
|
|
@@ -9971,6 +10389,26 @@ class ListHotelsResponseBodyResult extends $tea.Model {
|
|
|
9971
10389
|
}
|
|
9972
10390
|
}
|
|
9973
10391
|
exports.ListHotelsResponseBodyResult = ListHotelsResponseBodyResult;
|
|
10392
|
+
class ListInfraredRemoteControllersResponseBodyResult extends $tea.Model {
|
|
10393
|
+
constructor(map) {
|
|
10394
|
+
super(map);
|
|
10395
|
+
}
|
|
10396
|
+
static names() {
|
|
10397
|
+
return {
|
|
10398
|
+
index: 'Index',
|
|
10399
|
+
rid: 'Rid',
|
|
10400
|
+
version: 'Version',
|
|
10401
|
+
};
|
|
10402
|
+
}
|
|
10403
|
+
static types() {
|
|
10404
|
+
return {
|
|
10405
|
+
index: 'number',
|
|
10406
|
+
rid: 'number',
|
|
10407
|
+
version: 'string',
|
|
10408
|
+
};
|
|
10409
|
+
}
|
|
10410
|
+
}
|
|
10411
|
+
exports.ListInfraredRemoteControllersResponseBodyResult = ListInfraredRemoteControllersResponseBodyResult;
|
|
9974
10412
|
class ListServiceQARequestPage extends $tea.Model {
|
|
9975
10413
|
constructor(map) {
|
|
9976
10414
|
super(map);
|
|
@@ -10827,19 +11265,27 @@ class UpdateHotelSceneItemRequestUpdateHotelSceneReq extends $tea.Model {
|
|
|
10827
11265
|
}
|
|
10828
11266
|
static names() {
|
|
10829
11267
|
return {
|
|
11268
|
+
deliveryMethod: 'DeliveryMethod',
|
|
10830
11269
|
dialogueList: 'DialogueList',
|
|
10831
11270
|
icon: 'Icon',
|
|
10832
11271
|
id: 'Id',
|
|
11272
|
+
name: 'Name',
|
|
11273
|
+
paymentMethod: 'PaymentMethod',
|
|
10833
11274
|
price: 'Price',
|
|
11275
|
+
robotName: 'RobotName',
|
|
10834
11276
|
status: 'Status',
|
|
10835
11277
|
};
|
|
10836
11278
|
}
|
|
10837
11279
|
static types() {
|
|
10838
11280
|
return {
|
|
11281
|
+
deliveryMethod: 'string',
|
|
10839
11282
|
dialogueList: { 'type': 'array', 'itemType': UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList },
|
|
10840
11283
|
icon: 'string',
|
|
10841
11284
|
id: 'number',
|
|
11285
|
+
name: 'string',
|
|
11286
|
+
paymentMethod: 'string',
|
|
10842
11287
|
price: 'number',
|
|
11288
|
+
robotName: 'string',
|
|
10843
11289
|
status: 'string',
|
|
10844
11290
|
};
|
|
10845
11291
|
}
|
|
@@ -11823,6 +12269,9 @@ class Client extends openapi_client_1.default {
|
|
|
11823
12269
|
if (!tea_util_1.default.isUnset(request.id)) {
|
|
11824
12270
|
body["Id"] = request.id;
|
|
11825
12271
|
}
|
|
12272
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
12273
|
+
body["Name"] = request.name;
|
|
12274
|
+
}
|
|
11826
12275
|
let realHeaders = {};
|
|
11827
12276
|
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
11828
12277
|
realHeaders = headers.commonHeaders;
|
|
@@ -12505,6 +12954,9 @@ class Client extends openapi_client_1.default {
|
|
|
12505
12954
|
if (!tea_util_1.default.isUnset(request.itemId)) {
|
|
12506
12955
|
body["ItemId"] = request.itemId;
|
|
12507
12956
|
}
|
|
12957
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
12958
|
+
body["Name"] = request.name;
|
|
12959
|
+
}
|
|
12508
12960
|
let realHeaders = {};
|
|
12509
12961
|
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
12510
12962
|
realHeaders = headers.commonHeaders;
|
|
@@ -12780,15 +13232,15 @@ class Client extends openapi_client_1.default {
|
|
|
12780
13232
|
tea_util_1.default.validateModel(tmpReq);
|
|
12781
13233
|
let request = new ImportHotelConfigShrinkRequest({});
|
|
12782
13234
|
openapi_util_1.default.convert(tmpReq, request);
|
|
12783
|
-
if (!tea_util_1.default.isUnset(tmpReq.
|
|
12784
|
-
request.
|
|
13235
|
+
if (!tea_util_1.default.isUnset(tmpReq.importHotelConfig)) {
|
|
13236
|
+
request.importHotelConfigShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.importHotelConfig, "ImportHotelConfig", "json");
|
|
12785
13237
|
}
|
|
12786
13238
|
let body = {};
|
|
12787
13239
|
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
12788
13240
|
body["HotelId"] = request.hotelId;
|
|
12789
13241
|
}
|
|
12790
|
-
if (!tea_util_1.default.isUnset(request.
|
|
12791
|
-
body["
|
|
13242
|
+
if (!tea_util_1.default.isUnset(request.importHotelConfigShrink)) {
|
|
13243
|
+
body["ImportHotelConfig"] = request.importHotelConfigShrink;
|
|
12792
13244
|
}
|
|
12793
13245
|
let realHeaders = {};
|
|
12794
13246
|
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
@@ -12830,6 +13282,9 @@ class Client extends openapi_client_1.default {
|
|
|
12830
13282
|
request.locationDevicesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.locationDevices, "LocationDevices", "json");
|
|
12831
13283
|
}
|
|
12832
13284
|
let body = {};
|
|
13285
|
+
if (!tea_util_1.default.isUnset(request.enableInfraredDeviceImport)) {
|
|
13286
|
+
body["EnableInfraredDeviceImport"] = request.enableInfraredDeviceImport;
|
|
13287
|
+
}
|
|
12833
13288
|
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
12834
13289
|
body["HotelId"] = request.hotelId;
|
|
12835
13290
|
}
|
|
@@ -12963,6 +13418,76 @@ class Client extends openapi_client_1.default {
|
|
|
12963
13418
|
let headers = new InvokeRobotPushHeaders({});
|
|
12964
13419
|
return await this.invokeRobotPushWithOptions(request, headers, runtime);
|
|
12965
13420
|
}
|
|
13421
|
+
async listAllProvincesWithOptions(headers, runtime) {
|
|
13422
|
+
let realHeaders = {};
|
|
13423
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
13424
|
+
realHeaders = headers.commonHeaders;
|
|
13425
|
+
}
|
|
13426
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
13427
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
13428
|
+
}
|
|
13429
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
13430
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
13431
|
+
}
|
|
13432
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13433
|
+
headers: realHeaders,
|
|
13434
|
+
});
|
|
13435
|
+
let params = new $OpenApi.Params({
|
|
13436
|
+
action: "ListAllProvinces",
|
|
13437
|
+
version: "ip_1.0",
|
|
13438
|
+
protocol: "HTTPS",
|
|
13439
|
+
pathname: `/v1.0/ip/listAllProvinces`,
|
|
13440
|
+
method: "POST",
|
|
13441
|
+
authType: "AK",
|
|
13442
|
+
style: "ROA",
|
|
13443
|
+
reqBodyType: "json",
|
|
13444
|
+
bodyType: "json",
|
|
13445
|
+
});
|
|
13446
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListAllProvincesResponse({}));
|
|
13447
|
+
}
|
|
13448
|
+
async listAllProvinces() {
|
|
13449
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
13450
|
+
let headers = new ListAllProvincesHeaders({});
|
|
13451
|
+
return await this.listAllProvincesWithOptions(headers, runtime);
|
|
13452
|
+
}
|
|
13453
|
+
async listCitiesByProvinceWithOptions(request, headers, runtime) {
|
|
13454
|
+
tea_util_1.default.validateModel(request);
|
|
13455
|
+
let body = {};
|
|
13456
|
+
if (!tea_util_1.default.isUnset(request.province)) {
|
|
13457
|
+
body["Province"] = request.province;
|
|
13458
|
+
}
|
|
13459
|
+
let realHeaders = {};
|
|
13460
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
13461
|
+
realHeaders = headers.commonHeaders;
|
|
13462
|
+
}
|
|
13463
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
13464
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
13465
|
+
}
|
|
13466
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
13467
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
13468
|
+
}
|
|
13469
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13470
|
+
headers: realHeaders,
|
|
13471
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
13472
|
+
});
|
|
13473
|
+
let params = new $OpenApi.Params({
|
|
13474
|
+
action: "ListCitiesByProvince",
|
|
13475
|
+
version: "ip_1.0",
|
|
13476
|
+
protocol: "HTTPS",
|
|
13477
|
+
pathname: `/v1.0/ip/listCitiesByProvince`,
|
|
13478
|
+
method: "POST",
|
|
13479
|
+
authType: "AK",
|
|
13480
|
+
style: "ROA",
|
|
13481
|
+
reqBodyType: "formData",
|
|
13482
|
+
bodyType: "json",
|
|
13483
|
+
});
|
|
13484
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListCitiesByProvinceResponse({}));
|
|
13485
|
+
}
|
|
13486
|
+
async listCitiesByProvince(request) {
|
|
13487
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
13488
|
+
let headers = new ListCitiesByProvinceHeaders({});
|
|
13489
|
+
return await this.listCitiesByProvinceWithOptions(request, headers, runtime);
|
|
13490
|
+
}
|
|
12966
13491
|
async listCustomQAWithOptions(tmpReq, headers, runtime) {
|
|
12967
13492
|
tea_util_1.default.validateModel(tmpReq);
|
|
12968
13493
|
let request = new ListCustomQAShrinkRequest({});
|
|
@@ -13529,6 +14054,141 @@ class Client extends openapi_client_1.default {
|
|
|
13529
14054
|
let headers = new ListHotelsHeaders({});
|
|
13530
14055
|
return await this.listHotelsWithOptions(request, headers, runtime);
|
|
13531
14056
|
}
|
|
14057
|
+
async listInfraredDeviceBrandsWithOptions(request, headers, runtime) {
|
|
14058
|
+
tea_util_1.default.validateModel(request);
|
|
14059
|
+
let body = {};
|
|
14060
|
+
if (!tea_util_1.default.isUnset(request.category)) {
|
|
14061
|
+
body["Category"] = request.category;
|
|
14062
|
+
}
|
|
14063
|
+
if (!tea_util_1.default.isUnset(request.serviceProvider)) {
|
|
14064
|
+
body["ServiceProvider"] = request.serviceProvider;
|
|
14065
|
+
}
|
|
14066
|
+
let realHeaders = {};
|
|
14067
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
14068
|
+
realHeaders = headers.commonHeaders;
|
|
14069
|
+
}
|
|
14070
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
14071
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
14072
|
+
}
|
|
14073
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
14074
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
14075
|
+
}
|
|
14076
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14077
|
+
headers: realHeaders,
|
|
14078
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
14079
|
+
});
|
|
14080
|
+
let params = new $OpenApi.Params({
|
|
14081
|
+
action: "ListInfraredDeviceBrands",
|
|
14082
|
+
version: "ip_1.0",
|
|
14083
|
+
protocol: "HTTPS",
|
|
14084
|
+
pathname: `/v1.0/ip/listInfraredDeviceBrands`,
|
|
14085
|
+
method: "POST",
|
|
14086
|
+
authType: "AK",
|
|
14087
|
+
style: "ROA",
|
|
14088
|
+
reqBodyType: "formData",
|
|
14089
|
+
bodyType: "json",
|
|
14090
|
+
});
|
|
14091
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListInfraredDeviceBrandsResponse({}));
|
|
14092
|
+
}
|
|
14093
|
+
async listInfraredDeviceBrands(request) {
|
|
14094
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14095
|
+
let headers = new ListInfraredDeviceBrandsHeaders({});
|
|
14096
|
+
return await this.listInfraredDeviceBrandsWithOptions(request, headers, runtime);
|
|
14097
|
+
}
|
|
14098
|
+
async listInfraredRemoteControllersWithOptions(request, headers, runtime) {
|
|
14099
|
+
tea_util_1.default.validateModel(request);
|
|
14100
|
+
let body = {};
|
|
14101
|
+
if (!tea_util_1.default.isUnset(request.brand)) {
|
|
14102
|
+
body["Brand"] = request.brand;
|
|
14103
|
+
}
|
|
14104
|
+
if (!tea_util_1.default.isUnset(request.category)) {
|
|
14105
|
+
body["Category"] = request.category;
|
|
14106
|
+
}
|
|
14107
|
+
if (!tea_util_1.default.isUnset(request.city)) {
|
|
14108
|
+
body["City"] = request.city;
|
|
14109
|
+
}
|
|
14110
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
14111
|
+
body["HotelId"] = request.hotelId;
|
|
14112
|
+
}
|
|
14113
|
+
if (!tea_util_1.default.isUnset(request.province)) {
|
|
14114
|
+
body["Province"] = request.province;
|
|
14115
|
+
}
|
|
14116
|
+
if (!tea_util_1.default.isUnset(request.serviceProvider)) {
|
|
14117
|
+
body["ServiceProvider"] = request.serviceProvider;
|
|
14118
|
+
}
|
|
14119
|
+
let realHeaders = {};
|
|
14120
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
14121
|
+
realHeaders = headers.commonHeaders;
|
|
14122
|
+
}
|
|
14123
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
14124
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
14125
|
+
}
|
|
14126
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
14127
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
14128
|
+
}
|
|
14129
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14130
|
+
headers: realHeaders,
|
|
14131
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
14132
|
+
});
|
|
14133
|
+
let params = new $OpenApi.Params({
|
|
14134
|
+
action: "ListInfraredRemoteControllers",
|
|
14135
|
+
version: "ip_1.0",
|
|
14136
|
+
protocol: "HTTPS",
|
|
14137
|
+
pathname: `/v1.0/ip/listInfraredRemoteControllers`,
|
|
14138
|
+
method: "POST",
|
|
14139
|
+
authType: "AK",
|
|
14140
|
+
style: "ROA",
|
|
14141
|
+
reqBodyType: "formData",
|
|
14142
|
+
bodyType: "json",
|
|
14143
|
+
});
|
|
14144
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListInfraredRemoteControllersResponse({}));
|
|
14145
|
+
}
|
|
14146
|
+
async listInfraredRemoteControllers(request) {
|
|
14147
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14148
|
+
let headers = new ListInfraredRemoteControllersHeaders({});
|
|
14149
|
+
return await this.listInfraredRemoteControllersWithOptions(request, headers, runtime);
|
|
14150
|
+
}
|
|
14151
|
+
async listSTBServiceProvidersWithOptions(request, headers, runtime) {
|
|
14152
|
+
tea_util_1.default.validateModel(request);
|
|
14153
|
+
let body = {};
|
|
14154
|
+
if (!tea_util_1.default.isUnset(request.city)) {
|
|
14155
|
+
body["City"] = request.city;
|
|
14156
|
+
}
|
|
14157
|
+
if (!tea_util_1.default.isUnset(request.province)) {
|
|
14158
|
+
body["Province"] = request.province;
|
|
14159
|
+
}
|
|
14160
|
+
let realHeaders = {};
|
|
14161
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
14162
|
+
realHeaders = headers.commonHeaders;
|
|
14163
|
+
}
|
|
14164
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
14165
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
14166
|
+
}
|
|
14167
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
14168
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
14169
|
+
}
|
|
14170
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14171
|
+
headers: realHeaders,
|
|
14172
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
14173
|
+
});
|
|
14174
|
+
let params = new $OpenApi.Params({
|
|
14175
|
+
action: "ListSTBServiceProviders",
|
|
14176
|
+
version: "ip_1.0",
|
|
14177
|
+
protocol: "HTTPS",
|
|
14178
|
+
pathname: `/v1.0/ip/listSTBServiceProviders`,
|
|
14179
|
+
method: "POST",
|
|
14180
|
+
authType: "AK",
|
|
14181
|
+
style: "ROA",
|
|
14182
|
+
reqBodyType: "formData",
|
|
14183
|
+
bodyType: "json",
|
|
14184
|
+
});
|
|
14185
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListSTBServiceProvidersResponse({}));
|
|
14186
|
+
}
|
|
14187
|
+
async listSTBServiceProviders(request) {
|
|
14188
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14189
|
+
let headers = new ListSTBServiceProvidersHeaders({});
|
|
14190
|
+
return await this.listSTBServiceProvidersWithOptions(request, headers, runtime);
|
|
14191
|
+
}
|
|
13532
14192
|
async listSceneCategoryWithOptions(request, headers, runtime) {
|
|
13533
14193
|
tea_util_1.default.validateModel(request);
|
|
13534
14194
|
let body = {};
|