@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/src/client.ts CHANGED
@@ -4824,18 +4824,18 @@ export class ImportHotelConfigHeaders extends $tea.Model {
4824
4824
 
4825
4825
  export class ImportHotelConfigRequest extends $tea.Model {
4826
4826
  hotelId?: string;
4827
- importHotelConfigRequest?: ImportHotelConfigRequestImportHotelConfigRequest;
4827
+ importHotelConfig?: ImportHotelConfigRequestImportHotelConfig;
4828
4828
  static names(): { [key: string]: string } {
4829
4829
  return {
4830
4830
  hotelId: 'HotelId',
4831
- importHotelConfigRequest: 'ImportHotelConfigRequest',
4831
+ importHotelConfig: 'ImportHotelConfig',
4832
4832
  };
4833
4833
  }
4834
4834
 
4835
4835
  static types(): { [key: string]: any } {
4836
4836
  return {
4837
4837
  hotelId: 'string',
4838
- importHotelConfigRequest: ImportHotelConfigRequestImportHotelConfigRequest,
4838
+ importHotelConfig: ImportHotelConfigRequestImportHotelConfig,
4839
4839
  };
4840
4840
  }
4841
4841
 
@@ -4846,18 +4846,18 @@ export class ImportHotelConfigRequest extends $tea.Model {
4846
4846
 
4847
4847
  export class ImportHotelConfigShrinkRequest extends $tea.Model {
4848
4848
  hotelId?: string;
4849
- importHotelConfigRequestShrink?: string;
4849
+ importHotelConfigShrink?: string;
4850
4850
  static names(): { [key: string]: string } {
4851
4851
  return {
4852
4852
  hotelId: 'HotelId',
4853
- importHotelConfigRequestShrink: 'ImportHotelConfigRequest',
4853
+ importHotelConfigShrink: 'ImportHotelConfig',
4854
4854
  };
4855
4855
  }
4856
4856
 
4857
4857
  static types(): { [key: string]: any } {
4858
4858
  return {
4859
4859
  hotelId: 'string',
4860
- importHotelConfigRequestShrink: 'string',
4860
+ importHotelConfigShrink: 'string',
4861
4861
  };
4862
4862
  }
4863
4863
 
@@ -4945,11 +4945,13 @@ export class ImportRoomControlDevicesHeaders extends $tea.Model {
4945
4945
  }
4946
4946
 
4947
4947
  export class ImportRoomControlDevicesRequest extends $tea.Model {
4948
+ enableInfraredDeviceImport?: string;
4948
4949
  hotelId?: string;
4949
4950
  locationDevices?: ImportRoomControlDevicesRequestLocationDevices[];
4950
4951
  roomNo?: string;
4951
4952
  static names(): { [key: string]: string } {
4952
4953
  return {
4954
+ enableInfraredDeviceImport: 'EnableInfraredDeviceImport',
4953
4955
  hotelId: 'HotelId',
4954
4956
  locationDevices: 'LocationDevices',
4955
4957
  roomNo: 'RoomNo',
@@ -4958,6 +4960,7 @@ export class ImportRoomControlDevicesRequest extends $tea.Model {
4958
4960
 
4959
4961
  static types(): { [key: string]: any } {
4960
4962
  return {
4963
+ enableInfraredDeviceImport: 'string',
4961
4964
  hotelId: 'string',
4962
4965
  locationDevices: { 'type': 'array', 'itemType': ImportRoomControlDevicesRequestLocationDevices },
4963
4966
  roomNo: 'string',
@@ -4970,11 +4973,13 @@ export class ImportRoomControlDevicesRequest extends $tea.Model {
4970
4973
  }
4971
4974
 
4972
4975
  export class ImportRoomControlDevicesShrinkRequest extends $tea.Model {
4976
+ enableInfraredDeviceImport?: string;
4973
4977
  hotelId?: string;
4974
4978
  locationDevicesShrink?: string;
4975
4979
  roomNo?: string;
4976
4980
  static names(): { [key: string]: string } {
4977
4981
  return {
4982
+ enableInfraredDeviceImport: 'EnableInfraredDeviceImport',
4978
4983
  hotelId: 'HotelId',
4979
4984
  locationDevicesShrink: 'LocationDevices',
4980
4985
  roomNo: 'RoomNo',
@@ -4983,6 +4988,7 @@ export class ImportRoomControlDevicesShrinkRequest extends $tea.Model {
4983
4988
 
4984
4989
  static types(): { [key: string]: any } {
4985
4990
  return {
4991
+ enableInfraredDeviceImport: 'string',
4986
4992
  hotelId: 'string',
4987
4993
  locationDevicesShrink: 'string',
4988
4994
  roomNo: 'string',
@@ -5275,6 +5281,181 @@ export class InvokeRobotPushResponse extends $tea.Model {
5275
5281
  }
5276
5282
  }
5277
5283
 
5284
+ export class ListAllProvincesHeaders extends $tea.Model {
5285
+ commonHeaders?: { [key: string]: string };
5286
+ xAcsAligenieAccessToken?: string;
5287
+ authorization?: string;
5288
+ static names(): { [key: string]: string } {
5289
+ return {
5290
+ commonHeaders: 'commonHeaders',
5291
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
5292
+ authorization: 'Authorization',
5293
+ };
5294
+ }
5295
+
5296
+ static types(): { [key: string]: any } {
5297
+ return {
5298
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5299
+ xAcsAligenieAccessToken: 'string',
5300
+ authorization: 'string',
5301
+ };
5302
+ }
5303
+
5304
+ constructor(map?: { [key: string]: any }) {
5305
+ super(map);
5306
+ }
5307
+ }
5308
+
5309
+ export class ListAllProvincesResponseBody extends $tea.Model {
5310
+ message?: string;
5311
+ requestId?: string;
5312
+ result?: string[];
5313
+ statusCode?: number;
5314
+ static names(): { [key: string]: string } {
5315
+ return {
5316
+ message: 'Message',
5317
+ requestId: 'RequestId',
5318
+ result: 'Result',
5319
+ statusCode: 'StatusCode',
5320
+ };
5321
+ }
5322
+
5323
+ static types(): { [key: string]: any } {
5324
+ return {
5325
+ message: 'string',
5326
+ requestId: 'string',
5327
+ result: { 'type': 'array', 'itemType': 'string' },
5328
+ statusCode: 'number',
5329
+ };
5330
+ }
5331
+
5332
+ constructor(map?: { [key: string]: any }) {
5333
+ super(map);
5334
+ }
5335
+ }
5336
+
5337
+ export class ListAllProvincesResponse extends $tea.Model {
5338
+ headers: { [key: string]: string };
5339
+ statusCode: number;
5340
+ body: ListAllProvincesResponseBody;
5341
+ static names(): { [key: string]: string } {
5342
+ return {
5343
+ headers: 'headers',
5344
+ statusCode: 'statusCode',
5345
+ body: 'body',
5346
+ };
5347
+ }
5348
+
5349
+ static types(): { [key: string]: any } {
5350
+ return {
5351
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5352
+ statusCode: 'number',
5353
+ body: ListAllProvincesResponseBody,
5354
+ };
5355
+ }
5356
+
5357
+ constructor(map?: { [key: string]: any }) {
5358
+ super(map);
5359
+ }
5360
+ }
5361
+
5362
+ export class ListCitiesByProvinceHeaders extends $tea.Model {
5363
+ commonHeaders?: { [key: string]: string };
5364
+ xAcsAligenieAccessToken?: string;
5365
+ authorization?: string;
5366
+ static names(): { [key: string]: string } {
5367
+ return {
5368
+ commonHeaders: 'commonHeaders',
5369
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
5370
+ authorization: 'Authorization',
5371
+ };
5372
+ }
5373
+
5374
+ static types(): { [key: string]: any } {
5375
+ return {
5376
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5377
+ xAcsAligenieAccessToken: 'string',
5378
+ authorization: 'string',
5379
+ };
5380
+ }
5381
+
5382
+ constructor(map?: { [key: string]: any }) {
5383
+ super(map);
5384
+ }
5385
+ }
5386
+
5387
+ export class ListCitiesByProvinceRequest extends $tea.Model {
5388
+ province?: string;
5389
+ static names(): { [key: string]: string } {
5390
+ return {
5391
+ province: 'Province',
5392
+ };
5393
+ }
5394
+
5395
+ static types(): { [key: string]: any } {
5396
+ return {
5397
+ province: 'string',
5398
+ };
5399
+ }
5400
+
5401
+ constructor(map?: { [key: string]: any }) {
5402
+ super(map);
5403
+ }
5404
+ }
5405
+
5406
+ export class ListCitiesByProvinceResponseBody extends $tea.Model {
5407
+ message?: string;
5408
+ requestId?: string;
5409
+ result?: string[];
5410
+ statusCode?: number;
5411
+ static names(): { [key: string]: string } {
5412
+ return {
5413
+ message: 'Message',
5414
+ requestId: 'RequestId',
5415
+ result: 'Result',
5416
+ statusCode: 'StatusCode',
5417
+ };
5418
+ }
5419
+
5420
+ static types(): { [key: string]: any } {
5421
+ return {
5422
+ message: 'string',
5423
+ requestId: 'string',
5424
+ result: { 'type': 'array', 'itemType': 'string' },
5425
+ statusCode: 'number',
5426
+ };
5427
+ }
5428
+
5429
+ constructor(map?: { [key: string]: any }) {
5430
+ super(map);
5431
+ }
5432
+ }
5433
+
5434
+ export class ListCitiesByProvinceResponse extends $tea.Model {
5435
+ headers: { [key: string]: string };
5436
+ statusCode: number;
5437
+ body: ListCitiesByProvinceResponseBody;
5438
+ static names(): { [key: string]: string } {
5439
+ return {
5440
+ headers: 'headers',
5441
+ statusCode: 'statusCode',
5442
+ body: 'body',
5443
+ };
5444
+ }
5445
+
5446
+ static types(): { [key: string]: any } {
5447
+ return {
5448
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5449
+ statusCode: 'number',
5450
+ body: ListCitiesByProvinceResponseBody,
5451
+ };
5452
+ }
5453
+
5454
+ constructor(map?: { [key: string]: any }) {
5455
+ super(map);
5456
+ }
5457
+ }
5458
+
5278
5459
  export class ListCustomQAHeaders extends $tea.Model {
5279
5460
  commonHeaders?: { [key: string]: string };
5280
5461
  xAcsAligenieAccessToken?: string;
@@ -6594,7 +6775,341 @@ export class ListHotelServiceCategoryResponseBody extends $tea.Model {
6594
6775
  export class ListHotelServiceCategoryResponse extends $tea.Model {
6595
6776
  headers: { [key: string]: string };
6596
6777
  statusCode: number;
6597
- body: ListHotelServiceCategoryResponseBody;
6778
+ body: ListHotelServiceCategoryResponseBody;
6779
+ static names(): { [key: string]: string } {
6780
+ return {
6781
+ headers: 'headers',
6782
+ statusCode: 'statusCode',
6783
+ body: 'body',
6784
+ };
6785
+ }
6786
+
6787
+ static types(): { [key: string]: any } {
6788
+ return {
6789
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6790
+ statusCode: 'number',
6791
+ body: ListHotelServiceCategoryResponseBody,
6792
+ };
6793
+ }
6794
+
6795
+ constructor(map?: { [key: string]: any }) {
6796
+ super(map);
6797
+ }
6798
+ }
6799
+
6800
+ export class ListHotelsHeaders extends $tea.Model {
6801
+ commonHeaders?: { [key: string]: string };
6802
+ xAcsAligenieAccessToken?: string;
6803
+ authorization?: string;
6804
+ static names(): { [key: string]: string } {
6805
+ return {
6806
+ commonHeaders: 'commonHeaders',
6807
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
6808
+ authorization: 'Authorization',
6809
+ };
6810
+ }
6811
+
6812
+ static types(): { [key: string]: any } {
6813
+ return {
6814
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6815
+ xAcsAligenieAccessToken: 'string',
6816
+ authorization: 'string',
6817
+ };
6818
+ }
6819
+
6820
+ constructor(map?: { [key: string]: any }) {
6821
+ super(map);
6822
+ }
6823
+ }
6824
+
6825
+ export class ListHotelsRequest extends $tea.Model {
6826
+ page?: ListHotelsRequestPage;
6827
+ status?: number;
6828
+ static names(): { [key: string]: string } {
6829
+ return {
6830
+ page: 'Page',
6831
+ status: 'Status',
6832
+ };
6833
+ }
6834
+
6835
+ static types(): { [key: string]: any } {
6836
+ return {
6837
+ page: ListHotelsRequestPage,
6838
+ status: 'number',
6839
+ };
6840
+ }
6841
+
6842
+ constructor(map?: { [key: string]: any }) {
6843
+ super(map);
6844
+ }
6845
+ }
6846
+
6847
+ export class ListHotelsShrinkRequest extends $tea.Model {
6848
+ pageShrink?: string;
6849
+ status?: number;
6850
+ static names(): { [key: string]: string } {
6851
+ return {
6852
+ pageShrink: 'Page',
6853
+ status: 'Status',
6854
+ };
6855
+ }
6856
+
6857
+ static types(): { [key: string]: any } {
6858
+ return {
6859
+ pageShrink: 'string',
6860
+ status: 'number',
6861
+ };
6862
+ }
6863
+
6864
+ constructor(map?: { [key: string]: any }) {
6865
+ super(map);
6866
+ }
6867
+ }
6868
+
6869
+ export class ListHotelsResponseBody extends $tea.Model {
6870
+ code?: number;
6871
+ message?: string;
6872
+ requestId?: string;
6873
+ result?: ListHotelsResponseBodyResult;
6874
+ static names(): { [key: string]: string } {
6875
+ return {
6876
+ code: 'Code',
6877
+ message: 'Message',
6878
+ requestId: 'RequestId',
6879
+ result: 'Result',
6880
+ };
6881
+ }
6882
+
6883
+ static types(): { [key: string]: any } {
6884
+ return {
6885
+ code: 'number',
6886
+ message: 'string',
6887
+ requestId: 'string',
6888
+ result: ListHotelsResponseBodyResult,
6889
+ };
6890
+ }
6891
+
6892
+ constructor(map?: { [key: string]: any }) {
6893
+ super(map);
6894
+ }
6895
+ }
6896
+
6897
+ export class ListHotelsResponse extends $tea.Model {
6898
+ headers: { [key: string]: string };
6899
+ statusCode: number;
6900
+ body: ListHotelsResponseBody;
6901
+ static names(): { [key: string]: string } {
6902
+ return {
6903
+ headers: 'headers',
6904
+ statusCode: 'statusCode',
6905
+ body: 'body',
6906
+ };
6907
+ }
6908
+
6909
+ static types(): { [key: string]: any } {
6910
+ return {
6911
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6912
+ statusCode: 'number',
6913
+ body: ListHotelsResponseBody,
6914
+ };
6915
+ }
6916
+
6917
+ constructor(map?: { [key: string]: any }) {
6918
+ super(map);
6919
+ }
6920
+ }
6921
+
6922
+ export class ListInfraredDeviceBrandsHeaders extends $tea.Model {
6923
+ commonHeaders?: { [key: string]: string };
6924
+ xAcsAligenieAccessToken?: string;
6925
+ authorization?: string;
6926
+ static names(): { [key: string]: string } {
6927
+ return {
6928
+ commonHeaders: 'commonHeaders',
6929
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
6930
+ authorization: 'Authorization',
6931
+ };
6932
+ }
6933
+
6934
+ static types(): { [key: string]: any } {
6935
+ return {
6936
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6937
+ xAcsAligenieAccessToken: 'string',
6938
+ authorization: 'string',
6939
+ };
6940
+ }
6941
+
6942
+ constructor(map?: { [key: string]: any }) {
6943
+ super(map);
6944
+ }
6945
+ }
6946
+
6947
+ export class ListInfraredDeviceBrandsRequest extends $tea.Model {
6948
+ category?: string;
6949
+ serviceProvider?: string;
6950
+ static names(): { [key: string]: string } {
6951
+ return {
6952
+ category: 'Category',
6953
+ serviceProvider: 'ServiceProvider',
6954
+ };
6955
+ }
6956
+
6957
+ static types(): { [key: string]: any } {
6958
+ return {
6959
+ category: 'string',
6960
+ serviceProvider: 'string',
6961
+ };
6962
+ }
6963
+
6964
+ constructor(map?: { [key: string]: any }) {
6965
+ super(map);
6966
+ }
6967
+ }
6968
+
6969
+ export class ListInfraredDeviceBrandsResponseBody extends $tea.Model {
6970
+ message?: string;
6971
+ requestId?: string;
6972
+ result?: { [key: string]: string[] };
6973
+ statusCode?: number;
6974
+ static names(): { [key: string]: string } {
6975
+ return {
6976
+ message: 'Message',
6977
+ requestId: 'RequestId',
6978
+ result: 'Result',
6979
+ statusCode: 'StatusCode',
6980
+ };
6981
+ }
6982
+
6983
+ static types(): { [key: string]: any } {
6984
+ return {
6985
+ message: 'string',
6986
+ requestId: 'string',
6987
+ result: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } },
6988
+ statusCode: 'number',
6989
+ };
6990
+ }
6991
+
6992
+ constructor(map?: { [key: string]: any }) {
6993
+ super(map);
6994
+ }
6995
+ }
6996
+
6997
+ export class ListInfraredDeviceBrandsResponse extends $tea.Model {
6998
+ headers: { [key: string]: string };
6999
+ statusCode: number;
7000
+ body: ListInfraredDeviceBrandsResponseBody;
7001
+ static names(): { [key: string]: string } {
7002
+ return {
7003
+ headers: 'headers',
7004
+ statusCode: 'statusCode',
7005
+ body: 'body',
7006
+ };
7007
+ }
7008
+
7009
+ static types(): { [key: string]: any } {
7010
+ return {
7011
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7012
+ statusCode: 'number',
7013
+ body: ListInfraredDeviceBrandsResponseBody,
7014
+ };
7015
+ }
7016
+
7017
+ constructor(map?: { [key: string]: any }) {
7018
+ super(map);
7019
+ }
7020
+ }
7021
+
7022
+ export class ListInfraredRemoteControllersHeaders extends $tea.Model {
7023
+ commonHeaders?: { [key: string]: string };
7024
+ xAcsAligenieAccessToken?: string;
7025
+ authorization?: string;
7026
+ static names(): { [key: string]: string } {
7027
+ return {
7028
+ commonHeaders: 'commonHeaders',
7029
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
7030
+ authorization: 'Authorization',
7031
+ };
7032
+ }
7033
+
7034
+ static types(): { [key: string]: any } {
7035
+ return {
7036
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7037
+ xAcsAligenieAccessToken: 'string',
7038
+ authorization: 'string',
7039
+ };
7040
+ }
7041
+
7042
+ constructor(map?: { [key: string]: any }) {
7043
+ super(map);
7044
+ }
7045
+ }
7046
+
7047
+ export class ListInfraredRemoteControllersRequest extends $tea.Model {
7048
+ brand?: string;
7049
+ category?: string;
7050
+ city?: string;
7051
+ hotelId?: string;
7052
+ province?: string;
7053
+ serviceProvider?: string;
7054
+ static names(): { [key: string]: string } {
7055
+ return {
7056
+ brand: 'Brand',
7057
+ category: 'Category',
7058
+ city: 'City',
7059
+ hotelId: 'HotelId',
7060
+ province: 'Province',
7061
+ serviceProvider: 'ServiceProvider',
7062
+ };
7063
+ }
7064
+
7065
+ static types(): { [key: string]: any } {
7066
+ return {
7067
+ brand: 'string',
7068
+ category: 'string',
7069
+ city: 'string',
7070
+ hotelId: 'string',
7071
+ province: 'string',
7072
+ serviceProvider: 'string',
7073
+ };
7074
+ }
7075
+
7076
+ constructor(map?: { [key: string]: any }) {
7077
+ super(map);
7078
+ }
7079
+ }
7080
+
7081
+ export class ListInfraredRemoteControllersResponseBody extends $tea.Model {
7082
+ message?: string;
7083
+ requestId?: string;
7084
+ result?: ListInfraredRemoteControllersResponseBodyResult[];
7085
+ statusCode?: number;
7086
+ static names(): { [key: string]: string } {
7087
+ return {
7088
+ message: 'Message',
7089
+ requestId: 'RequestId',
7090
+ result: 'Result',
7091
+ statusCode: 'StatusCode',
7092
+ };
7093
+ }
7094
+
7095
+ static types(): { [key: string]: any } {
7096
+ return {
7097
+ message: 'string',
7098
+ requestId: 'string',
7099
+ result: { 'type': 'array', 'itemType': ListInfraredRemoteControllersResponseBodyResult },
7100
+ statusCode: 'number',
7101
+ };
7102
+ }
7103
+
7104
+ constructor(map?: { [key: string]: any }) {
7105
+ super(map);
7106
+ }
7107
+ }
7108
+
7109
+ export class ListInfraredRemoteControllersResponse extends $tea.Model {
7110
+ headers: { [key: string]: string };
7111
+ statusCode: number;
7112
+ body: ListInfraredRemoteControllersResponseBody;
6598
7113
  static names(): { [key: string]: string } {
6599
7114
  return {
6600
7115
  headers: 'headers',
@@ -6607,7 +7122,7 @@ export class ListHotelServiceCategoryResponse extends $tea.Model {
6607
7122
  return {
6608
7123
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6609
7124
  statusCode: 'number',
6610
- body: ListHotelServiceCategoryResponseBody,
7125
+ body: ListInfraredRemoteControllersResponseBody,
6611
7126
  };
6612
7127
  }
6613
7128
 
@@ -6616,7 +7131,7 @@ export class ListHotelServiceCategoryResponse extends $tea.Model {
6616
7131
  }
6617
7132
  }
6618
7133
 
6619
- export class ListHotelsHeaders extends $tea.Model {
7134
+ export class ListSTBServiceProvidersHeaders extends $tea.Model {
6620
7135
  commonHeaders?: { [key: string]: string };
6621
7136
  xAcsAligenieAccessToken?: string;
6622
7137
  authorization?: string;
@@ -6641,42 +7156,20 @@ export class ListHotelsHeaders extends $tea.Model {
6641
7156
  }
6642
7157
  }
6643
7158
 
6644
- export class ListHotelsRequest extends $tea.Model {
6645
- page?: ListHotelsRequestPage;
6646
- status?: number;
6647
- static names(): { [key: string]: string } {
6648
- return {
6649
- page: 'Page',
6650
- status: 'Status',
6651
- };
6652
- }
6653
-
6654
- static types(): { [key: string]: any } {
6655
- return {
6656
- page: ListHotelsRequestPage,
6657
- status: 'number',
6658
- };
6659
- }
6660
-
6661
- constructor(map?: { [key: string]: any }) {
6662
- super(map);
6663
- }
6664
- }
6665
-
6666
- export class ListHotelsShrinkRequest extends $tea.Model {
6667
- pageShrink?: string;
6668
- status?: number;
7159
+ export class ListSTBServiceProvidersRequest extends $tea.Model {
7160
+ city?: string;
7161
+ province?: string;
6669
7162
  static names(): { [key: string]: string } {
6670
7163
  return {
6671
- pageShrink: 'Page',
6672
- status: 'Status',
7164
+ city: 'City',
7165
+ province: 'Province',
6673
7166
  };
6674
7167
  }
6675
7168
 
6676
7169
  static types(): { [key: string]: any } {
6677
7170
  return {
6678
- pageShrink: 'string',
6679
- status: 'number',
7171
+ city: 'string',
7172
+ province: 'string',
6680
7173
  };
6681
7174
  }
6682
7175
 
@@ -6685,26 +7178,26 @@ export class ListHotelsShrinkRequest extends $tea.Model {
6685
7178
  }
6686
7179
  }
6687
7180
 
6688
- export class ListHotelsResponseBody extends $tea.Model {
6689
- code?: number;
7181
+ export class ListSTBServiceProvidersResponseBody extends $tea.Model {
6690
7182
  message?: string;
6691
7183
  requestId?: string;
6692
- result?: ListHotelsResponseBodyResult;
7184
+ result?: { [key: string]: string[] };
7185
+ statusCode?: number;
6693
7186
  static names(): { [key: string]: string } {
6694
7187
  return {
6695
- code: 'Code',
6696
7188
  message: 'Message',
6697
7189
  requestId: 'RequestId',
6698
7190
  result: 'Result',
7191
+ statusCode: 'StatusCode',
6699
7192
  };
6700
7193
  }
6701
7194
 
6702
7195
  static types(): { [key: string]: any } {
6703
7196
  return {
6704
- code: 'number',
6705
7197
  message: 'string',
6706
7198
  requestId: 'string',
6707
- result: ListHotelsResponseBodyResult,
7199
+ result: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } },
7200
+ statusCode: 'number',
6708
7201
  };
6709
7202
  }
6710
7203
 
@@ -6713,10 +7206,10 @@ export class ListHotelsResponseBody extends $tea.Model {
6713
7206
  }
6714
7207
  }
6715
7208
 
6716
- export class ListHotelsResponse extends $tea.Model {
7209
+ export class ListSTBServiceProvidersResponse extends $tea.Model {
6717
7210
  headers: { [key: string]: string };
6718
7211
  statusCode: number;
6719
- body: ListHotelsResponseBody;
7212
+ body: ListSTBServiceProvidersResponseBody;
6720
7213
  static names(): { [key: string]: string } {
6721
7214
  return {
6722
7215
  headers: 'headers',
@@ -6729,7 +7222,7 @@ export class ListHotelsResponse extends $tea.Model {
6729
7222
  return {
6730
7223
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6731
7224
  statusCode: 'number',
6732
- body: ListHotelsResponseBody,
7225
+ body: ListSTBServiceProvidersResponseBody,
6733
7226
  };
6734
7227
  }
6735
7228
 
@@ -11262,7 +11755,7 @@ export class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model {
11262
11755
  }
11263
11756
  }
11264
11757
 
11265
- export class ImportHotelConfigRequestImportHotelConfigRequestRcuCustomScenes extends $tea.Model {
11758
+ export class ImportHotelConfigRequestImportHotelConfigRcuCustomScenes extends $tea.Model {
11266
11759
  corpusList?: string[];
11267
11760
  description?: string;
11268
11761
  icon?: string;
@@ -11293,8 +11786,8 @@ export class ImportHotelConfigRequestImportHotelConfigRequestRcuCustomScenes ext
11293
11786
  }
11294
11787
  }
11295
11788
 
11296
- export class ImportHotelConfigRequestImportHotelConfigRequest extends $tea.Model {
11297
- rcuCustomScenes?: ImportHotelConfigRequestImportHotelConfigRequestRcuCustomScenes[];
11789
+ export class ImportHotelConfigRequestImportHotelConfig extends $tea.Model {
11790
+ rcuCustomScenes?: ImportHotelConfigRequestImportHotelConfigRcuCustomScenes[];
11298
11791
  static names(): { [key: string]: string } {
11299
11792
  return {
11300
11793
  rcuCustomScenes: 'RcuCustomScenes',
@@ -11303,7 +11796,7 @@ export class ImportHotelConfigRequestImportHotelConfigRequest extends $tea.Model
11303
11796
 
11304
11797
  static types(): { [key: string]: any } {
11305
11798
  return {
11306
- rcuCustomScenes: { 'type': 'array', 'itemType': ImportHotelConfigRequestImportHotelConfigRequestRcuCustomScenes },
11799
+ rcuCustomScenes: { 'type': 'array', 'itemType': ImportHotelConfigRequestImportHotelConfigRcuCustomScenes },
11307
11800
  };
11308
11801
  }
11309
11802
 
@@ -11313,22 +11806,46 @@ export class ImportHotelConfigRequestImportHotelConfigRequest extends $tea.Model
11313
11806
  }
11314
11807
 
11315
11808
  export class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
11809
+ brand?: string;
11810
+ city?: string;
11811
+ connectType?: string;
11316
11812
  deviceName?: string;
11813
+ infraredId?: string;
11814
+ infraredIndex?: string;
11815
+ infraredVersion?: string;
11317
11816
  name?: string;
11318
11817
  number?: string;
11818
+ province?: string;
11819
+ serviceProvider?: string;
11319
11820
  static names(): { [key: string]: string } {
11320
11821
  return {
11822
+ brand: 'Brand',
11823
+ city: 'City',
11824
+ connectType: 'ConnectType',
11321
11825
  deviceName: 'DeviceName',
11826
+ infraredId: 'InfraredId',
11827
+ infraredIndex: 'InfraredIndex',
11828
+ infraredVersion: 'InfraredVersion',
11322
11829
  name: 'Name',
11323
11830
  number: 'Number',
11831
+ province: 'Province',
11832
+ serviceProvider: 'ServiceProvider',
11324
11833
  };
11325
11834
  }
11326
11835
 
11327
11836
  static types(): { [key: string]: any } {
11328
11837
  return {
11838
+ brand: 'string',
11839
+ city: 'string',
11840
+ connectType: 'string',
11329
11841
  deviceName: 'string',
11842
+ infraredId: 'string',
11843
+ infraredIndex: 'string',
11844
+ infraredVersion: 'string',
11330
11845
  name: 'string',
11331
11846
  number: 'string',
11847
+ province: 'string',
11848
+ serviceProvider: 'string',
11332
11849
  };
11333
11850
  }
11334
11851
 
@@ -12551,6 +13068,31 @@ export class ListHotelsResponseBodyResult extends $tea.Model {
12551
13068
  }
12552
13069
  }
12553
13070
 
13071
+ export class ListInfraredRemoteControllersResponseBodyResult extends $tea.Model {
13072
+ index?: number;
13073
+ rid?: number;
13074
+ version?: string;
13075
+ static names(): { [key: string]: string } {
13076
+ return {
13077
+ index: 'Index',
13078
+ rid: 'Rid',
13079
+ version: 'Version',
13080
+ };
13081
+ }
13082
+
13083
+ static types(): { [key: string]: any } {
13084
+ return {
13085
+ index: 'number',
13086
+ rid: 'number',
13087
+ version: 'string',
13088
+ };
13089
+ }
13090
+
13091
+ constructor(map?: { [key: string]: any }) {
13092
+ super(map);
13093
+ }
13094
+ }
13095
+
12554
13096
  export class ListServiceQARequestPage extends $tea.Model {
12555
13097
  pageNumber?: number;
12556
13098
  pageSize?: number;
@@ -15961,13 +16503,8 @@ export default class Client extends OpenApi {
15961
16503
  Util.validateModel(tmpReq);
15962
16504
  let request = new ImportHotelConfigShrinkRequest({ });
15963
16505
  OpenApiUtil.convert(tmpReq, request);
15964
- if (!Util.isUnset(tmpReq.importHotelConfigRequest)) {
15965
- request.importHotelConfigRequestShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.importHotelConfigRequest, "ImportHotelConfigRequest", "json");
15966
- }
15967
-
15968
- let query : {[key: string ]: any} = { };
15969
- if (!Util.isUnset(request.importHotelConfigRequestShrink)) {
15970
- query["ImportHotelConfigRequest"] = request.importHotelConfigRequestShrink;
16506
+ if (!Util.isUnset(tmpReq.importHotelConfig)) {
16507
+ request.importHotelConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.importHotelConfig, "ImportHotelConfig", "json");
15971
16508
  }
15972
16509
 
15973
16510
  let body : {[key: string ]: any} = { };
@@ -15975,6 +16512,10 @@ export default class Client extends OpenApi {
15975
16512
  body["HotelId"] = request.hotelId;
15976
16513
  }
15977
16514
 
16515
+ if (!Util.isUnset(request.importHotelConfigShrink)) {
16516
+ body["ImportHotelConfig"] = request.importHotelConfigShrink;
16517
+ }
16518
+
15978
16519
  let realHeaders : {[key: string ]: string} = { };
15979
16520
  if (!Util.isUnset(headers.commonHeaders)) {
15980
16521
  realHeaders = headers.commonHeaders;
@@ -15990,7 +16531,6 @@ export default class Client extends OpenApi {
15990
16531
 
15991
16532
  let req = new $OpenApi.OpenApiRequest({
15992
16533
  headers: realHeaders,
15993
- query: OpenApiUtil.query(query),
15994
16534
  body: OpenApiUtil.parseToMap(body),
15995
16535
  });
15996
16536
  let params = new $OpenApi.Params({
@@ -16022,6 +16562,10 @@ export default class Client extends OpenApi {
16022
16562
  }
16023
16563
 
16024
16564
  let body : {[key: string ]: any} = { };
16565
+ if (!Util.isUnset(request.enableInfraredDeviceImport)) {
16566
+ body["EnableInfraredDeviceImport"] = request.enableInfraredDeviceImport;
16567
+ }
16568
+
16025
16569
  if (!Util.isUnset(request.hotelId)) {
16026
16570
  body["HotelId"] = request.hotelId;
16027
16571
  }
@@ -16179,6 +16723,87 @@ export default class Client extends OpenApi {
16179
16723
  return await this.invokeRobotPushWithOptions(request, headers, runtime);
16180
16724
  }
16181
16725
 
16726
+ async listAllProvincesWithOptions(headers: ListAllProvincesHeaders, runtime: $Util.RuntimeOptions): Promise<ListAllProvincesResponse> {
16727
+ let realHeaders : {[key: string ]: string} = { };
16728
+ if (!Util.isUnset(headers.commonHeaders)) {
16729
+ realHeaders = headers.commonHeaders;
16730
+ }
16731
+
16732
+ if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
16733
+ realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
16734
+ }
16735
+
16736
+ if (!Util.isUnset(headers.authorization)) {
16737
+ realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
16738
+ }
16739
+
16740
+ let req = new $OpenApi.OpenApiRequest({
16741
+ headers: realHeaders,
16742
+ });
16743
+ let params = new $OpenApi.Params({
16744
+ action: "ListAllProvinces",
16745
+ version: "ip_1.0",
16746
+ protocol: "HTTPS",
16747
+ pathname: `/v1.0/ip/listAllProvinces`,
16748
+ method: "POST",
16749
+ authType: "AK",
16750
+ style: "ROA",
16751
+ reqBodyType: "json",
16752
+ bodyType: "json",
16753
+ });
16754
+ return $tea.cast<ListAllProvincesResponse>(await this.callApi(params, req, runtime), new ListAllProvincesResponse({}));
16755
+ }
16756
+
16757
+ async listAllProvinces(): Promise<ListAllProvincesResponse> {
16758
+ let runtime = new $Util.RuntimeOptions({ });
16759
+ let headers = new ListAllProvincesHeaders({ });
16760
+ return await this.listAllProvincesWithOptions(headers, runtime);
16761
+ }
16762
+
16763
+ async listCitiesByProvinceWithOptions(request: ListCitiesByProvinceRequest, headers: ListCitiesByProvinceHeaders, runtime: $Util.RuntimeOptions): Promise<ListCitiesByProvinceResponse> {
16764
+ Util.validateModel(request);
16765
+ let body : {[key: string ]: any} = { };
16766
+ if (!Util.isUnset(request.province)) {
16767
+ body["Province"] = request.province;
16768
+ }
16769
+
16770
+ let realHeaders : {[key: string ]: string} = { };
16771
+ if (!Util.isUnset(headers.commonHeaders)) {
16772
+ realHeaders = headers.commonHeaders;
16773
+ }
16774
+
16775
+ if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
16776
+ realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
16777
+ }
16778
+
16779
+ if (!Util.isUnset(headers.authorization)) {
16780
+ realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
16781
+ }
16782
+
16783
+ let req = new $OpenApi.OpenApiRequest({
16784
+ headers: realHeaders,
16785
+ body: OpenApiUtil.parseToMap(body),
16786
+ });
16787
+ let params = new $OpenApi.Params({
16788
+ action: "ListCitiesByProvince",
16789
+ version: "ip_1.0",
16790
+ protocol: "HTTPS",
16791
+ pathname: `/v1.0/ip/listCitiesByProvince`,
16792
+ method: "POST",
16793
+ authType: "AK",
16794
+ style: "ROA",
16795
+ reqBodyType: "formData",
16796
+ bodyType: "json",
16797
+ });
16798
+ return $tea.cast<ListCitiesByProvinceResponse>(await this.callApi(params, req, runtime), new ListCitiesByProvinceResponse({}));
16799
+ }
16800
+
16801
+ async listCitiesByProvince(request: ListCitiesByProvinceRequest): Promise<ListCitiesByProvinceResponse> {
16802
+ let runtime = new $Util.RuntimeOptions({ });
16803
+ let headers = new ListCitiesByProvinceHeaders({ });
16804
+ return await this.listCitiesByProvinceWithOptions(request, headers, runtime);
16805
+ }
16806
+
16182
16807
  async listCustomQAWithOptions(tmpReq: ListCustomQARequest, headers: ListCustomQAHeaders, runtime: $Util.RuntimeOptions): Promise<ListCustomQAResponse> {
16183
16808
  Util.validateModel(tmpReq);
16184
16809
  let request = new ListCustomQAShrinkRequest({ });
@@ -16841,6 +17466,166 @@ export default class Client extends OpenApi {
16841
17466
  return await this.listHotelsWithOptions(request, headers, runtime);
16842
17467
  }
16843
17468
 
17469
+ async listInfraredDeviceBrandsWithOptions(request: ListInfraredDeviceBrandsRequest, headers: ListInfraredDeviceBrandsHeaders, runtime: $Util.RuntimeOptions): Promise<ListInfraredDeviceBrandsResponse> {
17470
+ Util.validateModel(request);
17471
+ let body : {[key: string ]: any} = { };
17472
+ if (!Util.isUnset(request.category)) {
17473
+ body["Category"] = request.category;
17474
+ }
17475
+
17476
+ if (!Util.isUnset(request.serviceProvider)) {
17477
+ body["ServiceProvider"] = request.serviceProvider;
17478
+ }
17479
+
17480
+ let realHeaders : {[key: string ]: string} = { };
17481
+ if (!Util.isUnset(headers.commonHeaders)) {
17482
+ realHeaders = headers.commonHeaders;
17483
+ }
17484
+
17485
+ if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
17486
+ realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
17487
+ }
17488
+
17489
+ if (!Util.isUnset(headers.authorization)) {
17490
+ realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
17491
+ }
17492
+
17493
+ let req = new $OpenApi.OpenApiRequest({
17494
+ headers: realHeaders,
17495
+ body: OpenApiUtil.parseToMap(body),
17496
+ });
17497
+ let params = new $OpenApi.Params({
17498
+ action: "ListInfraredDeviceBrands",
17499
+ version: "ip_1.0",
17500
+ protocol: "HTTPS",
17501
+ pathname: `/v1.0/ip/listInfraredDeviceBrands`,
17502
+ method: "POST",
17503
+ authType: "AK",
17504
+ style: "ROA",
17505
+ reqBodyType: "formData",
17506
+ bodyType: "json",
17507
+ });
17508
+ return $tea.cast<ListInfraredDeviceBrandsResponse>(await this.callApi(params, req, runtime), new ListInfraredDeviceBrandsResponse({}));
17509
+ }
17510
+
17511
+ async listInfraredDeviceBrands(request: ListInfraredDeviceBrandsRequest): Promise<ListInfraredDeviceBrandsResponse> {
17512
+ let runtime = new $Util.RuntimeOptions({ });
17513
+ let headers = new ListInfraredDeviceBrandsHeaders({ });
17514
+ return await this.listInfraredDeviceBrandsWithOptions(request, headers, runtime);
17515
+ }
17516
+
17517
+ async listInfraredRemoteControllersWithOptions(request: ListInfraredRemoteControllersRequest, headers: ListInfraredRemoteControllersHeaders, runtime: $Util.RuntimeOptions): Promise<ListInfraredRemoteControllersResponse> {
17518
+ Util.validateModel(request);
17519
+ let body : {[key: string ]: any} = { };
17520
+ if (!Util.isUnset(request.brand)) {
17521
+ body["Brand"] = request.brand;
17522
+ }
17523
+
17524
+ if (!Util.isUnset(request.category)) {
17525
+ body["Category"] = request.category;
17526
+ }
17527
+
17528
+ if (!Util.isUnset(request.city)) {
17529
+ body["City"] = request.city;
17530
+ }
17531
+
17532
+ if (!Util.isUnset(request.hotelId)) {
17533
+ body["HotelId"] = request.hotelId;
17534
+ }
17535
+
17536
+ if (!Util.isUnset(request.province)) {
17537
+ body["Province"] = request.province;
17538
+ }
17539
+
17540
+ if (!Util.isUnset(request.serviceProvider)) {
17541
+ body["ServiceProvider"] = request.serviceProvider;
17542
+ }
17543
+
17544
+ let realHeaders : {[key: string ]: string} = { };
17545
+ if (!Util.isUnset(headers.commonHeaders)) {
17546
+ realHeaders = headers.commonHeaders;
17547
+ }
17548
+
17549
+ if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
17550
+ realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
17551
+ }
17552
+
17553
+ if (!Util.isUnset(headers.authorization)) {
17554
+ realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
17555
+ }
17556
+
17557
+ let req = new $OpenApi.OpenApiRequest({
17558
+ headers: realHeaders,
17559
+ body: OpenApiUtil.parseToMap(body),
17560
+ });
17561
+ let params = new $OpenApi.Params({
17562
+ action: "ListInfraredRemoteControllers",
17563
+ version: "ip_1.0",
17564
+ protocol: "HTTPS",
17565
+ pathname: `/v1.0/ip/listInfraredRemoteControllers`,
17566
+ method: "POST",
17567
+ authType: "AK",
17568
+ style: "ROA",
17569
+ reqBodyType: "formData",
17570
+ bodyType: "json",
17571
+ });
17572
+ return $tea.cast<ListInfraredRemoteControllersResponse>(await this.callApi(params, req, runtime), new ListInfraredRemoteControllersResponse({}));
17573
+ }
17574
+
17575
+ async listInfraredRemoteControllers(request: ListInfraredRemoteControllersRequest): Promise<ListInfraredRemoteControllersResponse> {
17576
+ let runtime = new $Util.RuntimeOptions({ });
17577
+ let headers = new ListInfraredRemoteControllersHeaders({ });
17578
+ return await this.listInfraredRemoteControllersWithOptions(request, headers, runtime);
17579
+ }
17580
+
17581
+ async listSTBServiceProvidersWithOptions(request: ListSTBServiceProvidersRequest, headers: ListSTBServiceProvidersHeaders, runtime: $Util.RuntimeOptions): Promise<ListSTBServiceProvidersResponse> {
17582
+ Util.validateModel(request);
17583
+ let body : {[key: string ]: any} = { };
17584
+ if (!Util.isUnset(request.city)) {
17585
+ body["City"] = request.city;
17586
+ }
17587
+
17588
+ if (!Util.isUnset(request.province)) {
17589
+ body["Province"] = request.province;
17590
+ }
17591
+
17592
+ let realHeaders : {[key: string ]: string} = { };
17593
+ if (!Util.isUnset(headers.commonHeaders)) {
17594
+ realHeaders = headers.commonHeaders;
17595
+ }
17596
+
17597
+ if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
17598
+ realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
17599
+ }
17600
+
17601
+ if (!Util.isUnset(headers.authorization)) {
17602
+ realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
17603
+ }
17604
+
17605
+ let req = new $OpenApi.OpenApiRequest({
17606
+ headers: realHeaders,
17607
+ body: OpenApiUtil.parseToMap(body),
17608
+ });
17609
+ let params = new $OpenApi.Params({
17610
+ action: "ListSTBServiceProviders",
17611
+ version: "ip_1.0",
17612
+ protocol: "HTTPS",
17613
+ pathname: `/v1.0/ip/listSTBServiceProviders`,
17614
+ method: "POST",
17615
+ authType: "AK",
17616
+ style: "ROA",
17617
+ reqBodyType: "formData",
17618
+ bodyType: "json",
17619
+ });
17620
+ return $tea.cast<ListSTBServiceProvidersResponse>(await this.callApi(params, req, runtime), new ListSTBServiceProvidersResponse({}));
17621
+ }
17622
+
17623
+ async listSTBServiceProviders(request: ListSTBServiceProvidersRequest): Promise<ListSTBServiceProvidersResponse> {
17624
+ let runtime = new $Util.RuntimeOptions({ });
17625
+ let headers = new ListSTBServiceProvidersHeaders({ });
17626
+ return await this.listSTBServiceProvidersWithOptions(request, headers, runtime);
17627
+ }
17628
+
16844
17629
  async listSceneCategoryWithOptions(request: ListSceneCategoryRequest, headers: ListSceneCategoryHeaders, runtime: $Util.RuntimeOptions): Promise<ListSceneCategoryResponse> {
16845
17630
  Util.validateModel(request);
16846
17631
  let body : {[key: string ]: any} = { };