@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/src/client.ts
CHANGED
|
@@ -2372,10 +2372,12 @@ export class DeleteHotelSceneBookItemHeaders extends $tea.Model {
|
|
|
2372
2372
|
export class DeleteHotelSceneBookItemRequest extends $tea.Model {
|
|
2373
2373
|
hotelId?: string;
|
|
2374
2374
|
id?: number;
|
|
2375
|
+
name?: string;
|
|
2375
2376
|
static names(): { [key: string]: string } {
|
|
2376
2377
|
return {
|
|
2377
2378
|
hotelId: 'HotelId',
|
|
2378
2379
|
id: 'Id',
|
|
2380
|
+
name: 'Name',
|
|
2379
2381
|
};
|
|
2380
2382
|
}
|
|
2381
2383
|
|
|
@@ -2383,6 +2385,7 @@ export class DeleteHotelSceneBookItemRequest extends $tea.Model {
|
|
|
2383
2385
|
return {
|
|
2384
2386
|
hotelId: 'string',
|
|
2385
2387
|
id: 'number',
|
|
2388
|
+
name: 'string',
|
|
2386
2389
|
};
|
|
2387
2390
|
}
|
|
2388
2391
|
|
|
@@ -4125,10 +4128,12 @@ export class GetHotelSceneItemDetailHeaders extends $tea.Model {
|
|
|
4125
4128
|
export class GetHotelSceneItemDetailRequest extends $tea.Model {
|
|
4126
4129
|
hotelId?: string;
|
|
4127
4130
|
itemId?: number;
|
|
4131
|
+
name?: string;
|
|
4128
4132
|
static names(): { [key: string]: string } {
|
|
4129
4133
|
return {
|
|
4130
4134
|
hotelId: 'HotelId',
|
|
4131
4135
|
itemId: 'ItemId',
|
|
4136
|
+
name: 'Name',
|
|
4132
4137
|
};
|
|
4133
4138
|
}
|
|
4134
4139
|
|
|
@@ -4136,6 +4141,7 @@ export class GetHotelSceneItemDetailRequest extends $tea.Model {
|
|
|
4136
4141
|
return {
|
|
4137
4142
|
hotelId: 'string',
|
|
4138
4143
|
itemId: 'number',
|
|
4144
|
+
name: 'string',
|
|
4139
4145
|
};
|
|
4140
4146
|
}
|
|
4141
4147
|
|
|
@@ -4824,18 +4830,18 @@ export class ImportHotelConfigHeaders extends $tea.Model {
|
|
|
4824
4830
|
|
|
4825
4831
|
export class ImportHotelConfigRequest extends $tea.Model {
|
|
4826
4832
|
hotelId?: string;
|
|
4827
|
-
|
|
4833
|
+
importHotelConfig?: ImportHotelConfigRequestImportHotelConfig;
|
|
4828
4834
|
static names(): { [key: string]: string } {
|
|
4829
4835
|
return {
|
|
4830
4836
|
hotelId: 'HotelId',
|
|
4831
|
-
|
|
4837
|
+
importHotelConfig: 'ImportHotelConfig',
|
|
4832
4838
|
};
|
|
4833
4839
|
}
|
|
4834
4840
|
|
|
4835
4841
|
static types(): { [key: string]: any } {
|
|
4836
4842
|
return {
|
|
4837
4843
|
hotelId: 'string',
|
|
4838
|
-
|
|
4844
|
+
importHotelConfig: ImportHotelConfigRequestImportHotelConfig,
|
|
4839
4845
|
};
|
|
4840
4846
|
}
|
|
4841
4847
|
|
|
@@ -4846,18 +4852,18 @@ export class ImportHotelConfigRequest extends $tea.Model {
|
|
|
4846
4852
|
|
|
4847
4853
|
export class ImportHotelConfigShrinkRequest extends $tea.Model {
|
|
4848
4854
|
hotelId?: string;
|
|
4849
|
-
|
|
4855
|
+
importHotelConfigShrink?: string;
|
|
4850
4856
|
static names(): { [key: string]: string } {
|
|
4851
4857
|
return {
|
|
4852
4858
|
hotelId: 'HotelId',
|
|
4853
|
-
|
|
4859
|
+
importHotelConfigShrink: 'ImportHotelConfig',
|
|
4854
4860
|
};
|
|
4855
4861
|
}
|
|
4856
4862
|
|
|
4857
4863
|
static types(): { [key: string]: any } {
|
|
4858
4864
|
return {
|
|
4859
4865
|
hotelId: 'string',
|
|
4860
|
-
|
|
4866
|
+
importHotelConfigShrink: 'string',
|
|
4861
4867
|
};
|
|
4862
4868
|
}
|
|
4863
4869
|
|
|
@@ -4945,11 +4951,13 @@ export class ImportRoomControlDevicesHeaders extends $tea.Model {
|
|
|
4945
4951
|
}
|
|
4946
4952
|
|
|
4947
4953
|
export class ImportRoomControlDevicesRequest extends $tea.Model {
|
|
4954
|
+
enableInfraredDeviceImport?: string;
|
|
4948
4955
|
hotelId?: string;
|
|
4949
4956
|
locationDevices?: ImportRoomControlDevicesRequestLocationDevices[];
|
|
4950
4957
|
roomNo?: string;
|
|
4951
4958
|
static names(): { [key: string]: string } {
|
|
4952
4959
|
return {
|
|
4960
|
+
enableInfraredDeviceImport: 'EnableInfraredDeviceImport',
|
|
4953
4961
|
hotelId: 'HotelId',
|
|
4954
4962
|
locationDevices: 'LocationDevices',
|
|
4955
4963
|
roomNo: 'RoomNo',
|
|
@@ -4958,6 +4966,7 @@ export class ImportRoomControlDevicesRequest extends $tea.Model {
|
|
|
4958
4966
|
|
|
4959
4967
|
static types(): { [key: string]: any } {
|
|
4960
4968
|
return {
|
|
4969
|
+
enableInfraredDeviceImport: 'string',
|
|
4961
4970
|
hotelId: 'string',
|
|
4962
4971
|
locationDevices: { 'type': 'array', 'itemType': ImportRoomControlDevicesRequestLocationDevices },
|
|
4963
4972
|
roomNo: 'string',
|
|
@@ -4970,11 +4979,13 @@ export class ImportRoomControlDevicesRequest extends $tea.Model {
|
|
|
4970
4979
|
}
|
|
4971
4980
|
|
|
4972
4981
|
export class ImportRoomControlDevicesShrinkRequest extends $tea.Model {
|
|
4982
|
+
enableInfraredDeviceImport?: string;
|
|
4973
4983
|
hotelId?: string;
|
|
4974
4984
|
locationDevicesShrink?: string;
|
|
4975
4985
|
roomNo?: string;
|
|
4976
4986
|
static names(): { [key: string]: string } {
|
|
4977
4987
|
return {
|
|
4988
|
+
enableInfraredDeviceImport: 'EnableInfraredDeviceImport',
|
|
4978
4989
|
hotelId: 'HotelId',
|
|
4979
4990
|
locationDevicesShrink: 'LocationDevices',
|
|
4980
4991
|
roomNo: 'RoomNo',
|
|
@@ -4983,6 +4994,7 @@ export class ImportRoomControlDevicesShrinkRequest extends $tea.Model {
|
|
|
4983
4994
|
|
|
4984
4995
|
static types(): { [key: string]: any } {
|
|
4985
4996
|
return {
|
|
4997
|
+
enableInfraredDeviceImport: 'string',
|
|
4986
4998
|
hotelId: 'string',
|
|
4987
4999
|
locationDevicesShrink: 'string',
|
|
4988
5000
|
roomNo: 'string',
|
|
@@ -5275,6 +5287,181 @@ export class InvokeRobotPushResponse extends $tea.Model {
|
|
|
5275
5287
|
}
|
|
5276
5288
|
}
|
|
5277
5289
|
|
|
5290
|
+
export class ListAllProvincesHeaders extends $tea.Model {
|
|
5291
|
+
commonHeaders?: { [key: string]: string };
|
|
5292
|
+
xAcsAligenieAccessToken?: string;
|
|
5293
|
+
authorization?: string;
|
|
5294
|
+
static names(): { [key: string]: string } {
|
|
5295
|
+
return {
|
|
5296
|
+
commonHeaders: 'commonHeaders',
|
|
5297
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
5298
|
+
authorization: 'Authorization',
|
|
5299
|
+
};
|
|
5300
|
+
}
|
|
5301
|
+
|
|
5302
|
+
static types(): { [key: string]: any } {
|
|
5303
|
+
return {
|
|
5304
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5305
|
+
xAcsAligenieAccessToken: 'string',
|
|
5306
|
+
authorization: 'string',
|
|
5307
|
+
};
|
|
5308
|
+
}
|
|
5309
|
+
|
|
5310
|
+
constructor(map?: { [key: string]: any }) {
|
|
5311
|
+
super(map);
|
|
5312
|
+
}
|
|
5313
|
+
}
|
|
5314
|
+
|
|
5315
|
+
export class ListAllProvincesResponseBody extends $tea.Model {
|
|
5316
|
+
message?: string;
|
|
5317
|
+
requestId?: string;
|
|
5318
|
+
result?: string[];
|
|
5319
|
+
statusCode?: number;
|
|
5320
|
+
static names(): { [key: string]: string } {
|
|
5321
|
+
return {
|
|
5322
|
+
message: 'Message',
|
|
5323
|
+
requestId: 'RequestId',
|
|
5324
|
+
result: 'Result',
|
|
5325
|
+
statusCode: 'StatusCode',
|
|
5326
|
+
};
|
|
5327
|
+
}
|
|
5328
|
+
|
|
5329
|
+
static types(): { [key: string]: any } {
|
|
5330
|
+
return {
|
|
5331
|
+
message: 'string',
|
|
5332
|
+
requestId: 'string',
|
|
5333
|
+
result: { 'type': 'array', 'itemType': 'string' },
|
|
5334
|
+
statusCode: 'number',
|
|
5335
|
+
};
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
constructor(map?: { [key: string]: any }) {
|
|
5339
|
+
super(map);
|
|
5340
|
+
}
|
|
5341
|
+
}
|
|
5342
|
+
|
|
5343
|
+
export class ListAllProvincesResponse extends $tea.Model {
|
|
5344
|
+
headers: { [key: string]: string };
|
|
5345
|
+
statusCode: number;
|
|
5346
|
+
body: ListAllProvincesResponseBody;
|
|
5347
|
+
static names(): { [key: string]: string } {
|
|
5348
|
+
return {
|
|
5349
|
+
headers: 'headers',
|
|
5350
|
+
statusCode: 'statusCode',
|
|
5351
|
+
body: 'body',
|
|
5352
|
+
};
|
|
5353
|
+
}
|
|
5354
|
+
|
|
5355
|
+
static types(): { [key: string]: any } {
|
|
5356
|
+
return {
|
|
5357
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5358
|
+
statusCode: 'number',
|
|
5359
|
+
body: ListAllProvincesResponseBody,
|
|
5360
|
+
};
|
|
5361
|
+
}
|
|
5362
|
+
|
|
5363
|
+
constructor(map?: { [key: string]: any }) {
|
|
5364
|
+
super(map);
|
|
5365
|
+
}
|
|
5366
|
+
}
|
|
5367
|
+
|
|
5368
|
+
export class ListCitiesByProvinceHeaders extends $tea.Model {
|
|
5369
|
+
commonHeaders?: { [key: string]: string };
|
|
5370
|
+
xAcsAligenieAccessToken?: string;
|
|
5371
|
+
authorization?: string;
|
|
5372
|
+
static names(): { [key: string]: string } {
|
|
5373
|
+
return {
|
|
5374
|
+
commonHeaders: 'commonHeaders',
|
|
5375
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
5376
|
+
authorization: 'Authorization',
|
|
5377
|
+
};
|
|
5378
|
+
}
|
|
5379
|
+
|
|
5380
|
+
static types(): { [key: string]: any } {
|
|
5381
|
+
return {
|
|
5382
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5383
|
+
xAcsAligenieAccessToken: 'string',
|
|
5384
|
+
authorization: 'string',
|
|
5385
|
+
};
|
|
5386
|
+
}
|
|
5387
|
+
|
|
5388
|
+
constructor(map?: { [key: string]: any }) {
|
|
5389
|
+
super(map);
|
|
5390
|
+
}
|
|
5391
|
+
}
|
|
5392
|
+
|
|
5393
|
+
export class ListCitiesByProvinceRequest extends $tea.Model {
|
|
5394
|
+
province?: string;
|
|
5395
|
+
static names(): { [key: string]: string } {
|
|
5396
|
+
return {
|
|
5397
|
+
province: 'Province',
|
|
5398
|
+
};
|
|
5399
|
+
}
|
|
5400
|
+
|
|
5401
|
+
static types(): { [key: string]: any } {
|
|
5402
|
+
return {
|
|
5403
|
+
province: 'string',
|
|
5404
|
+
};
|
|
5405
|
+
}
|
|
5406
|
+
|
|
5407
|
+
constructor(map?: { [key: string]: any }) {
|
|
5408
|
+
super(map);
|
|
5409
|
+
}
|
|
5410
|
+
}
|
|
5411
|
+
|
|
5412
|
+
export class ListCitiesByProvinceResponseBody extends $tea.Model {
|
|
5413
|
+
message?: string;
|
|
5414
|
+
requestId?: string;
|
|
5415
|
+
result?: string[];
|
|
5416
|
+
statusCode?: number;
|
|
5417
|
+
static names(): { [key: string]: string } {
|
|
5418
|
+
return {
|
|
5419
|
+
message: 'Message',
|
|
5420
|
+
requestId: 'RequestId',
|
|
5421
|
+
result: 'Result',
|
|
5422
|
+
statusCode: 'StatusCode',
|
|
5423
|
+
};
|
|
5424
|
+
}
|
|
5425
|
+
|
|
5426
|
+
static types(): { [key: string]: any } {
|
|
5427
|
+
return {
|
|
5428
|
+
message: 'string',
|
|
5429
|
+
requestId: 'string',
|
|
5430
|
+
result: { 'type': 'array', 'itemType': 'string' },
|
|
5431
|
+
statusCode: 'number',
|
|
5432
|
+
};
|
|
5433
|
+
}
|
|
5434
|
+
|
|
5435
|
+
constructor(map?: { [key: string]: any }) {
|
|
5436
|
+
super(map);
|
|
5437
|
+
}
|
|
5438
|
+
}
|
|
5439
|
+
|
|
5440
|
+
export class ListCitiesByProvinceResponse extends $tea.Model {
|
|
5441
|
+
headers: { [key: string]: string };
|
|
5442
|
+
statusCode: number;
|
|
5443
|
+
body: ListCitiesByProvinceResponseBody;
|
|
5444
|
+
static names(): { [key: string]: string } {
|
|
5445
|
+
return {
|
|
5446
|
+
headers: 'headers',
|
|
5447
|
+
statusCode: 'statusCode',
|
|
5448
|
+
body: 'body',
|
|
5449
|
+
};
|
|
5450
|
+
}
|
|
5451
|
+
|
|
5452
|
+
static types(): { [key: string]: any } {
|
|
5453
|
+
return {
|
|
5454
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5455
|
+
statusCode: 'number',
|
|
5456
|
+
body: ListCitiesByProvinceResponseBody,
|
|
5457
|
+
};
|
|
5458
|
+
}
|
|
5459
|
+
|
|
5460
|
+
constructor(map?: { [key: string]: any }) {
|
|
5461
|
+
super(map);
|
|
5462
|
+
}
|
|
5463
|
+
}
|
|
5464
|
+
|
|
5278
5465
|
export class ListCustomQAHeaders extends $tea.Model {
|
|
5279
5466
|
commonHeaders?: { [key: string]: string };
|
|
5280
5467
|
xAcsAligenieAccessToken?: string;
|
|
@@ -6607,7 +6794,341 @@ export class ListHotelServiceCategoryResponse extends $tea.Model {
|
|
|
6607
6794
|
return {
|
|
6608
6795
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6609
6796
|
statusCode: 'number',
|
|
6610
|
-
body: ListHotelServiceCategoryResponseBody,
|
|
6797
|
+
body: ListHotelServiceCategoryResponseBody,
|
|
6798
|
+
};
|
|
6799
|
+
}
|
|
6800
|
+
|
|
6801
|
+
constructor(map?: { [key: string]: any }) {
|
|
6802
|
+
super(map);
|
|
6803
|
+
}
|
|
6804
|
+
}
|
|
6805
|
+
|
|
6806
|
+
export class ListHotelsHeaders extends $tea.Model {
|
|
6807
|
+
commonHeaders?: { [key: string]: string };
|
|
6808
|
+
xAcsAligenieAccessToken?: string;
|
|
6809
|
+
authorization?: string;
|
|
6810
|
+
static names(): { [key: string]: string } {
|
|
6811
|
+
return {
|
|
6812
|
+
commonHeaders: 'commonHeaders',
|
|
6813
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
6814
|
+
authorization: 'Authorization',
|
|
6815
|
+
};
|
|
6816
|
+
}
|
|
6817
|
+
|
|
6818
|
+
static types(): { [key: string]: any } {
|
|
6819
|
+
return {
|
|
6820
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6821
|
+
xAcsAligenieAccessToken: 'string',
|
|
6822
|
+
authorization: 'string',
|
|
6823
|
+
};
|
|
6824
|
+
}
|
|
6825
|
+
|
|
6826
|
+
constructor(map?: { [key: string]: any }) {
|
|
6827
|
+
super(map);
|
|
6828
|
+
}
|
|
6829
|
+
}
|
|
6830
|
+
|
|
6831
|
+
export class ListHotelsRequest extends $tea.Model {
|
|
6832
|
+
page?: ListHotelsRequestPage;
|
|
6833
|
+
status?: number;
|
|
6834
|
+
static names(): { [key: string]: string } {
|
|
6835
|
+
return {
|
|
6836
|
+
page: 'Page',
|
|
6837
|
+
status: 'Status',
|
|
6838
|
+
};
|
|
6839
|
+
}
|
|
6840
|
+
|
|
6841
|
+
static types(): { [key: string]: any } {
|
|
6842
|
+
return {
|
|
6843
|
+
page: ListHotelsRequestPage,
|
|
6844
|
+
status: 'number',
|
|
6845
|
+
};
|
|
6846
|
+
}
|
|
6847
|
+
|
|
6848
|
+
constructor(map?: { [key: string]: any }) {
|
|
6849
|
+
super(map);
|
|
6850
|
+
}
|
|
6851
|
+
}
|
|
6852
|
+
|
|
6853
|
+
export class ListHotelsShrinkRequest extends $tea.Model {
|
|
6854
|
+
pageShrink?: string;
|
|
6855
|
+
status?: number;
|
|
6856
|
+
static names(): { [key: string]: string } {
|
|
6857
|
+
return {
|
|
6858
|
+
pageShrink: 'Page',
|
|
6859
|
+
status: 'Status',
|
|
6860
|
+
};
|
|
6861
|
+
}
|
|
6862
|
+
|
|
6863
|
+
static types(): { [key: string]: any } {
|
|
6864
|
+
return {
|
|
6865
|
+
pageShrink: 'string',
|
|
6866
|
+
status: 'number',
|
|
6867
|
+
};
|
|
6868
|
+
}
|
|
6869
|
+
|
|
6870
|
+
constructor(map?: { [key: string]: any }) {
|
|
6871
|
+
super(map);
|
|
6872
|
+
}
|
|
6873
|
+
}
|
|
6874
|
+
|
|
6875
|
+
export class ListHotelsResponseBody extends $tea.Model {
|
|
6876
|
+
code?: number;
|
|
6877
|
+
message?: string;
|
|
6878
|
+
requestId?: string;
|
|
6879
|
+
result?: ListHotelsResponseBodyResult;
|
|
6880
|
+
static names(): { [key: string]: string } {
|
|
6881
|
+
return {
|
|
6882
|
+
code: 'Code',
|
|
6883
|
+
message: 'Message',
|
|
6884
|
+
requestId: 'RequestId',
|
|
6885
|
+
result: 'Result',
|
|
6886
|
+
};
|
|
6887
|
+
}
|
|
6888
|
+
|
|
6889
|
+
static types(): { [key: string]: any } {
|
|
6890
|
+
return {
|
|
6891
|
+
code: 'number',
|
|
6892
|
+
message: 'string',
|
|
6893
|
+
requestId: 'string',
|
|
6894
|
+
result: ListHotelsResponseBodyResult,
|
|
6895
|
+
};
|
|
6896
|
+
}
|
|
6897
|
+
|
|
6898
|
+
constructor(map?: { [key: string]: any }) {
|
|
6899
|
+
super(map);
|
|
6900
|
+
}
|
|
6901
|
+
}
|
|
6902
|
+
|
|
6903
|
+
export class ListHotelsResponse extends $tea.Model {
|
|
6904
|
+
headers: { [key: string]: string };
|
|
6905
|
+
statusCode: number;
|
|
6906
|
+
body: ListHotelsResponseBody;
|
|
6907
|
+
static names(): { [key: string]: string } {
|
|
6908
|
+
return {
|
|
6909
|
+
headers: 'headers',
|
|
6910
|
+
statusCode: 'statusCode',
|
|
6911
|
+
body: 'body',
|
|
6912
|
+
};
|
|
6913
|
+
}
|
|
6914
|
+
|
|
6915
|
+
static types(): { [key: string]: any } {
|
|
6916
|
+
return {
|
|
6917
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6918
|
+
statusCode: 'number',
|
|
6919
|
+
body: ListHotelsResponseBody,
|
|
6920
|
+
};
|
|
6921
|
+
}
|
|
6922
|
+
|
|
6923
|
+
constructor(map?: { [key: string]: any }) {
|
|
6924
|
+
super(map);
|
|
6925
|
+
}
|
|
6926
|
+
}
|
|
6927
|
+
|
|
6928
|
+
export class ListInfraredDeviceBrandsHeaders extends $tea.Model {
|
|
6929
|
+
commonHeaders?: { [key: string]: string };
|
|
6930
|
+
xAcsAligenieAccessToken?: string;
|
|
6931
|
+
authorization?: string;
|
|
6932
|
+
static names(): { [key: string]: string } {
|
|
6933
|
+
return {
|
|
6934
|
+
commonHeaders: 'commonHeaders',
|
|
6935
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
6936
|
+
authorization: 'Authorization',
|
|
6937
|
+
};
|
|
6938
|
+
}
|
|
6939
|
+
|
|
6940
|
+
static types(): { [key: string]: any } {
|
|
6941
|
+
return {
|
|
6942
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6943
|
+
xAcsAligenieAccessToken: 'string',
|
|
6944
|
+
authorization: 'string',
|
|
6945
|
+
};
|
|
6946
|
+
}
|
|
6947
|
+
|
|
6948
|
+
constructor(map?: { [key: string]: any }) {
|
|
6949
|
+
super(map);
|
|
6950
|
+
}
|
|
6951
|
+
}
|
|
6952
|
+
|
|
6953
|
+
export class ListInfraredDeviceBrandsRequest extends $tea.Model {
|
|
6954
|
+
category?: string;
|
|
6955
|
+
serviceProvider?: string;
|
|
6956
|
+
static names(): { [key: string]: string } {
|
|
6957
|
+
return {
|
|
6958
|
+
category: 'Category',
|
|
6959
|
+
serviceProvider: 'ServiceProvider',
|
|
6960
|
+
};
|
|
6961
|
+
}
|
|
6962
|
+
|
|
6963
|
+
static types(): { [key: string]: any } {
|
|
6964
|
+
return {
|
|
6965
|
+
category: 'string',
|
|
6966
|
+
serviceProvider: 'string',
|
|
6967
|
+
};
|
|
6968
|
+
}
|
|
6969
|
+
|
|
6970
|
+
constructor(map?: { [key: string]: any }) {
|
|
6971
|
+
super(map);
|
|
6972
|
+
}
|
|
6973
|
+
}
|
|
6974
|
+
|
|
6975
|
+
export class ListInfraredDeviceBrandsResponseBody extends $tea.Model {
|
|
6976
|
+
message?: string;
|
|
6977
|
+
requestId?: string;
|
|
6978
|
+
result?: { [key: string]: string[] };
|
|
6979
|
+
statusCode?: number;
|
|
6980
|
+
static names(): { [key: string]: string } {
|
|
6981
|
+
return {
|
|
6982
|
+
message: 'Message',
|
|
6983
|
+
requestId: 'RequestId',
|
|
6984
|
+
result: 'Result',
|
|
6985
|
+
statusCode: 'StatusCode',
|
|
6986
|
+
};
|
|
6987
|
+
}
|
|
6988
|
+
|
|
6989
|
+
static types(): { [key: string]: any } {
|
|
6990
|
+
return {
|
|
6991
|
+
message: 'string',
|
|
6992
|
+
requestId: 'string',
|
|
6993
|
+
result: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } },
|
|
6994
|
+
statusCode: 'number',
|
|
6995
|
+
};
|
|
6996
|
+
}
|
|
6997
|
+
|
|
6998
|
+
constructor(map?: { [key: string]: any }) {
|
|
6999
|
+
super(map);
|
|
7000
|
+
}
|
|
7001
|
+
}
|
|
7002
|
+
|
|
7003
|
+
export class ListInfraredDeviceBrandsResponse extends $tea.Model {
|
|
7004
|
+
headers: { [key: string]: string };
|
|
7005
|
+
statusCode: number;
|
|
7006
|
+
body: ListInfraredDeviceBrandsResponseBody;
|
|
7007
|
+
static names(): { [key: string]: string } {
|
|
7008
|
+
return {
|
|
7009
|
+
headers: 'headers',
|
|
7010
|
+
statusCode: 'statusCode',
|
|
7011
|
+
body: 'body',
|
|
7012
|
+
};
|
|
7013
|
+
}
|
|
7014
|
+
|
|
7015
|
+
static types(): { [key: string]: any } {
|
|
7016
|
+
return {
|
|
7017
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7018
|
+
statusCode: 'number',
|
|
7019
|
+
body: ListInfraredDeviceBrandsResponseBody,
|
|
7020
|
+
};
|
|
7021
|
+
}
|
|
7022
|
+
|
|
7023
|
+
constructor(map?: { [key: string]: any }) {
|
|
7024
|
+
super(map);
|
|
7025
|
+
}
|
|
7026
|
+
}
|
|
7027
|
+
|
|
7028
|
+
export class ListInfraredRemoteControllersHeaders extends $tea.Model {
|
|
7029
|
+
commonHeaders?: { [key: string]: string };
|
|
7030
|
+
xAcsAligenieAccessToken?: string;
|
|
7031
|
+
authorization?: string;
|
|
7032
|
+
static names(): { [key: string]: string } {
|
|
7033
|
+
return {
|
|
7034
|
+
commonHeaders: 'commonHeaders',
|
|
7035
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
7036
|
+
authorization: 'Authorization',
|
|
7037
|
+
};
|
|
7038
|
+
}
|
|
7039
|
+
|
|
7040
|
+
static types(): { [key: string]: any } {
|
|
7041
|
+
return {
|
|
7042
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7043
|
+
xAcsAligenieAccessToken: 'string',
|
|
7044
|
+
authorization: 'string',
|
|
7045
|
+
};
|
|
7046
|
+
}
|
|
7047
|
+
|
|
7048
|
+
constructor(map?: { [key: string]: any }) {
|
|
7049
|
+
super(map);
|
|
7050
|
+
}
|
|
7051
|
+
}
|
|
7052
|
+
|
|
7053
|
+
export class ListInfraredRemoteControllersRequest extends $tea.Model {
|
|
7054
|
+
brand?: string;
|
|
7055
|
+
category?: string;
|
|
7056
|
+
city?: string;
|
|
7057
|
+
hotelId?: string;
|
|
7058
|
+
province?: string;
|
|
7059
|
+
serviceProvider?: string;
|
|
7060
|
+
static names(): { [key: string]: string } {
|
|
7061
|
+
return {
|
|
7062
|
+
brand: 'Brand',
|
|
7063
|
+
category: 'Category',
|
|
7064
|
+
city: 'City',
|
|
7065
|
+
hotelId: 'HotelId',
|
|
7066
|
+
province: 'Province',
|
|
7067
|
+
serviceProvider: 'ServiceProvider',
|
|
7068
|
+
};
|
|
7069
|
+
}
|
|
7070
|
+
|
|
7071
|
+
static types(): { [key: string]: any } {
|
|
7072
|
+
return {
|
|
7073
|
+
brand: 'string',
|
|
7074
|
+
category: 'string',
|
|
7075
|
+
city: 'string',
|
|
7076
|
+
hotelId: 'string',
|
|
7077
|
+
province: 'string',
|
|
7078
|
+
serviceProvider: 'string',
|
|
7079
|
+
};
|
|
7080
|
+
}
|
|
7081
|
+
|
|
7082
|
+
constructor(map?: { [key: string]: any }) {
|
|
7083
|
+
super(map);
|
|
7084
|
+
}
|
|
7085
|
+
}
|
|
7086
|
+
|
|
7087
|
+
export class ListInfraredRemoteControllersResponseBody extends $tea.Model {
|
|
7088
|
+
message?: string;
|
|
7089
|
+
requestId?: string;
|
|
7090
|
+
result?: ListInfraredRemoteControllersResponseBodyResult[];
|
|
7091
|
+
statusCode?: number;
|
|
7092
|
+
static names(): { [key: string]: string } {
|
|
7093
|
+
return {
|
|
7094
|
+
message: 'Message',
|
|
7095
|
+
requestId: 'RequestId',
|
|
7096
|
+
result: 'Result',
|
|
7097
|
+
statusCode: 'StatusCode',
|
|
7098
|
+
};
|
|
7099
|
+
}
|
|
7100
|
+
|
|
7101
|
+
static types(): { [key: string]: any } {
|
|
7102
|
+
return {
|
|
7103
|
+
message: 'string',
|
|
7104
|
+
requestId: 'string',
|
|
7105
|
+
result: { 'type': 'array', 'itemType': ListInfraredRemoteControllersResponseBodyResult },
|
|
7106
|
+
statusCode: 'number',
|
|
7107
|
+
};
|
|
7108
|
+
}
|
|
7109
|
+
|
|
7110
|
+
constructor(map?: { [key: string]: any }) {
|
|
7111
|
+
super(map);
|
|
7112
|
+
}
|
|
7113
|
+
}
|
|
7114
|
+
|
|
7115
|
+
export class ListInfraredRemoteControllersResponse extends $tea.Model {
|
|
7116
|
+
headers: { [key: string]: string };
|
|
7117
|
+
statusCode: number;
|
|
7118
|
+
body: ListInfraredRemoteControllersResponseBody;
|
|
7119
|
+
static names(): { [key: string]: string } {
|
|
7120
|
+
return {
|
|
7121
|
+
headers: 'headers',
|
|
7122
|
+
statusCode: 'statusCode',
|
|
7123
|
+
body: 'body',
|
|
7124
|
+
};
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
static types(): { [key: string]: any } {
|
|
7128
|
+
return {
|
|
7129
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7130
|
+
statusCode: 'number',
|
|
7131
|
+
body: ListInfraredRemoteControllersResponseBody,
|
|
6611
7132
|
};
|
|
6612
7133
|
}
|
|
6613
7134
|
|
|
@@ -6616,7 +7137,7 @@ export class ListHotelServiceCategoryResponse extends $tea.Model {
|
|
|
6616
7137
|
}
|
|
6617
7138
|
}
|
|
6618
7139
|
|
|
6619
|
-
export class
|
|
7140
|
+
export class ListSTBServiceProvidersHeaders extends $tea.Model {
|
|
6620
7141
|
commonHeaders?: { [key: string]: string };
|
|
6621
7142
|
xAcsAligenieAccessToken?: string;
|
|
6622
7143
|
authorization?: string;
|
|
@@ -6641,42 +7162,20 @@ export class ListHotelsHeaders extends $tea.Model {
|
|
|
6641
7162
|
}
|
|
6642
7163
|
}
|
|
6643
7164
|
|
|
6644
|
-
export class
|
|
6645
|
-
|
|
6646
|
-
|
|
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;
|
|
7165
|
+
export class ListSTBServiceProvidersRequest extends $tea.Model {
|
|
7166
|
+
city?: string;
|
|
7167
|
+
province?: string;
|
|
6669
7168
|
static names(): { [key: string]: string } {
|
|
6670
7169
|
return {
|
|
6671
|
-
|
|
6672
|
-
|
|
7170
|
+
city: 'City',
|
|
7171
|
+
province: 'Province',
|
|
6673
7172
|
};
|
|
6674
7173
|
}
|
|
6675
7174
|
|
|
6676
7175
|
static types(): { [key: string]: any } {
|
|
6677
7176
|
return {
|
|
6678
|
-
|
|
6679
|
-
|
|
7177
|
+
city: 'string',
|
|
7178
|
+
province: 'string',
|
|
6680
7179
|
};
|
|
6681
7180
|
}
|
|
6682
7181
|
|
|
@@ -6685,26 +7184,26 @@ export class ListHotelsShrinkRequest extends $tea.Model {
|
|
|
6685
7184
|
}
|
|
6686
7185
|
}
|
|
6687
7186
|
|
|
6688
|
-
export class
|
|
6689
|
-
code?: number;
|
|
7187
|
+
export class ListSTBServiceProvidersResponseBody extends $tea.Model {
|
|
6690
7188
|
message?: string;
|
|
6691
7189
|
requestId?: string;
|
|
6692
|
-
result?:
|
|
7190
|
+
result?: { [key: string]: string[] };
|
|
7191
|
+
statusCode?: number;
|
|
6693
7192
|
static names(): { [key: string]: string } {
|
|
6694
7193
|
return {
|
|
6695
|
-
code: 'Code',
|
|
6696
7194
|
message: 'Message',
|
|
6697
7195
|
requestId: 'RequestId',
|
|
6698
7196
|
result: 'Result',
|
|
7197
|
+
statusCode: 'StatusCode',
|
|
6699
7198
|
};
|
|
6700
7199
|
}
|
|
6701
7200
|
|
|
6702
7201
|
static types(): { [key: string]: any } {
|
|
6703
7202
|
return {
|
|
6704
|
-
code: 'number',
|
|
6705
7203
|
message: 'string',
|
|
6706
7204
|
requestId: 'string',
|
|
6707
|
-
result:
|
|
7205
|
+
result: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } },
|
|
7206
|
+
statusCode: 'number',
|
|
6708
7207
|
};
|
|
6709
7208
|
}
|
|
6710
7209
|
|
|
@@ -6713,10 +7212,10 @@ export class ListHotelsResponseBody extends $tea.Model {
|
|
|
6713
7212
|
}
|
|
6714
7213
|
}
|
|
6715
7214
|
|
|
6716
|
-
export class
|
|
7215
|
+
export class ListSTBServiceProvidersResponse extends $tea.Model {
|
|
6717
7216
|
headers: { [key: string]: string };
|
|
6718
7217
|
statusCode: number;
|
|
6719
|
-
body:
|
|
7218
|
+
body: ListSTBServiceProvidersResponseBody;
|
|
6720
7219
|
static names(): { [key: string]: string } {
|
|
6721
7220
|
return {
|
|
6722
7221
|
headers: 'headers',
|
|
@@ -6729,7 +7228,7 @@ export class ListHotelsResponse extends $tea.Model {
|
|
|
6729
7228
|
return {
|
|
6730
7229
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6731
7230
|
statusCode: 'number',
|
|
6732
|
-
body:
|
|
7231
|
+
body: ListSTBServiceProvidersResponseBody,
|
|
6733
7232
|
};
|
|
6734
7233
|
}
|
|
6735
7234
|
|
|
@@ -11262,7 +11761,7 @@ export class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model {
|
|
|
11262
11761
|
}
|
|
11263
11762
|
}
|
|
11264
11763
|
|
|
11265
|
-
export class
|
|
11764
|
+
export class ImportHotelConfigRequestImportHotelConfigRcuCustomScenes extends $tea.Model {
|
|
11266
11765
|
corpusList?: string[];
|
|
11267
11766
|
description?: string;
|
|
11268
11767
|
icon?: string;
|
|
@@ -11293,8 +11792,8 @@ export class ImportHotelConfigRequestImportHotelConfigRequestRcuCustomScenes ext
|
|
|
11293
11792
|
}
|
|
11294
11793
|
}
|
|
11295
11794
|
|
|
11296
|
-
export class
|
|
11297
|
-
rcuCustomScenes?:
|
|
11795
|
+
export class ImportHotelConfigRequestImportHotelConfig extends $tea.Model {
|
|
11796
|
+
rcuCustomScenes?: ImportHotelConfigRequestImportHotelConfigRcuCustomScenes[];
|
|
11298
11797
|
static names(): { [key: string]: string } {
|
|
11299
11798
|
return {
|
|
11300
11799
|
rcuCustomScenes: 'RcuCustomScenes',
|
|
@@ -11303,7 +11802,7 @@ export class ImportHotelConfigRequestImportHotelConfigRequest extends $tea.Model
|
|
|
11303
11802
|
|
|
11304
11803
|
static types(): { [key: string]: any } {
|
|
11305
11804
|
return {
|
|
11306
|
-
rcuCustomScenes: { 'type': 'array', 'itemType':
|
|
11805
|
+
rcuCustomScenes: { 'type': 'array', 'itemType': ImportHotelConfigRequestImportHotelConfigRcuCustomScenes },
|
|
11307
11806
|
};
|
|
11308
11807
|
}
|
|
11309
11808
|
|
|
@@ -11313,22 +11812,46 @@ export class ImportHotelConfigRequestImportHotelConfigRequest extends $tea.Model
|
|
|
11313
11812
|
}
|
|
11314
11813
|
|
|
11315
11814
|
export class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
|
|
11815
|
+
brand?: string;
|
|
11816
|
+
city?: string;
|
|
11817
|
+
connectType?: string;
|
|
11316
11818
|
deviceName?: string;
|
|
11819
|
+
infraredId?: string;
|
|
11820
|
+
infraredIndex?: string;
|
|
11821
|
+
infraredVersion?: string;
|
|
11317
11822
|
name?: string;
|
|
11318
11823
|
number?: string;
|
|
11824
|
+
province?: string;
|
|
11825
|
+
serviceProvider?: string;
|
|
11319
11826
|
static names(): { [key: string]: string } {
|
|
11320
11827
|
return {
|
|
11828
|
+
brand: 'Brand',
|
|
11829
|
+
city: 'City',
|
|
11830
|
+
connectType: 'ConnectType',
|
|
11321
11831
|
deviceName: 'DeviceName',
|
|
11832
|
+
infraredId: 'InfraredId',
|
|
11833
|
+
infraredIndex: 'InfraredIndex',
|
|
11834
|
+
infraredVersion: 'InfraredVersion',
|
|
11322
11835
|
name: 'Name',
|
|
11323
11836
|
number: 'Number',
|
|
11837
|
+
province: 'Province',
|
|
11838
|
+
serviceProvider: 'ServiceProvider',
|
|
11324
11839
|
};
|
|
11325
11840
|
}
|
|
11326
11841
|
|
|
11327
11842
|
static types(): { [key: string]: any } {
|
|
11328
11843
|
return {
|
|
11844
|
+
brand: 'string',
|
|
11845
|
+
city: 'string',
|
|
11846
|
+
connectType: 'string',
|
|
11329
11847
|
deviceName: 'string',
|
|
11848
|
+
infraredId: 'string',
|
|
11849
|
+
infraredIndex: 'string',
|
|
11850
|
+
infraredVersion: 'string',
|
|
11330
11851
|
name: 'string',
|
|
11331
11852
|
number: 'string',
|
|
11853
|
+
province: 'string',
|
|
11854
|
+
serviceProvider: 'string',
|
|
11332
11855
|
};
|
|
11333
11856
|
}
|
|
11334
11857
|
|
|
@@ -12320,20 +12843,26 @@ export class ListHotelSceneItemsResponseBodyResultPage extends $tea.Model {
|
|
|
12320
12843
|
|
|
12321
12844
|
export class ListHotelSceneItemsResponseBodyResultSceneItemList extends $tea.Model {
|
|
12322
12845
|
category?: string;
|
|
12846
|
+
deliveryMethod?: string;
|
|
12323
12847
|
icon?: string;
|
|
12324
12848
|
id?: number;
|
|
12325
12849
|
name?: string;
|
|
12850
|
+
paymentMethod?: string;
|
|
12326
12851
|
price?: number;
|
|
12852
|
+
robotName?: string;
|
|
12327
12853
|
status?: string;
|
|
12328
12854
|
type?: string;
|
|
12329
12855
|
updateTime?: number;
|
|
12330
12856
|
static names(): { [key: string]: string } {
|
|
12331
12857
|
return {
|
|
12332
12858
|
category: 'Category',
|
|
12859
|
+
deliveryMethod: 'DeliveryMethod',
|
|
12333
12860
|
icon: 'Icon',
|
|
12334
12861
|
id: 'Id',
|
|
12335
12862
|
name: 'Name',
|
|
12863
|
+
paymentMethod: 'PaymentMethod',
|
|
12336
12864
|
price: 'Price',
|
|
12865
|
+
robotName: 'RobotName',
|
|
12337
12866
|
status: 'Status',
|
|
12338
12867
|
type: 'Type',
|
|
12339
12868
|
updateTime: 'UpdateTime',
|
|
@@ -12343,10 +12872,13 @@ export class ListHotelSceneItemsResponseBodyResultSceneItemList extends $tea.Mod
|
|
|
12343
12872
|
static types(): { [key: string]: any } {
|
|
12344
12873
|
return {
|
|
12345
12874
|
category: 'string',
|
|
12875
|
+
deliveryMethod: 'string',
|
|
12346
12876
|
icon: 'string',
|
|
12347
12877
|
id: 'number',
|
|
12348
12878
|
name: 'string',
|
|
12879
|
+
paymentMethod: 'string',
|
|
12349
12880
|
price: 'number',
|
|
12881
|
+
robotName: 'string',
|
|
12350
12882
|
status: 'string',
|
|
12351
12883
|
type: 'string',
|
|
12352
12884
|
updateTime: 'number',
|
|
@@ -12551,6 +13083,31 @@ export class ListHotelsResponseBodyResult extends $tea.Model {
|
|
|
12551
13083
|
}
|
|
12552
13084
|
}
|
|
12553
13085
|
|
|
13086
|
+
export class ListInfraredRemoteControllersResponseBodyResult extends $tea.Model {
|
|
13087
|
+
index?: number;
|
|
13088
|
+
rid?: number;
|
|
13089
|
+
version?: string;
|
|
13090
|
+
static names(): { [key: string]: string } {
|
|
13091
|
+
return {
|
|
13092
|
+
index: 'Index',
|
|
13093
|
+
rid: 'Rid',
|
|
13094
|
+
version: 'Version',
|
|
13095
|
+
};
|
|
13096
|
+
}
|
|
13097
|
+
|
|
13098
|
+
static types(): { [key: string]: any } {
|
|
13099
|
+
return {
|
|
13100
|
+
index: 'number',
|
|
13101
|
+
rid: 'number',
|
|
13102
|
+
version: 'string',
|
|
13103
|
+
};
|
|
13104
|
+
}
|
|
13105
|
+
|
|
13106
|
+
constructor(map?: { [key: string]: any }) {
|
|
13107
|
+
super(map);
|
|
13108
|
+
}
|
|
13109
|
+
}
|
|
13110
|
+
|
|
12554
13111
|
export class ListServiceQARequestPage extends $tea.Model {
|
|
12555
13112
|
pageNumber?: number;
|
|
12556
13113
|
pageSize?: number;
|
|
@@ -13647,27 +14204,39 @@ export class UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList extends
|
|
|
13647
14204
|
}
|
|
13648
14205
|
|
|
13649
14206
|
export class UpdateHotelSceneItemRequestUpdateHotelSceneReq extends $tea.Model {
|
|
14207
|
+
deliveryMethod?: string;
|
|
13650
14208
|
dialogueList?: UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList[];
|
|
13651
14209
|
icon?: string;
|
|
13652
14210
|
id?: number;
|
|
14211
|
+
name?: string;
|
|
14212
|
+
paymentMethod?: string;
|
|
13653
14213
|
price?: number;
|
|
14214
|
+
robotName?: string;
|
|
13654
14215
|
status?: string;
|
|
13655
14216
|
static names(): { [key: string]: string } {
|
|
13656
14217
|
return {
|
|
14218
|
+
deliveryMethod: 'DeliveryMethod',
|
|
13657
14219
|
dialogueList: 'DialogueList',
|
|
13658
14220
|
icon: 'Icon',
|
|
13659
14221
|
id: 'Id',
|
|
14222
|
+
name: 'Name',
|
|
14223
|
+
paymentMethod: 'PaymentMethod',
|
|
13660
14224
|
price: 'Price',
|
|
14225
|
+
robotName: 'RobotName',
|
|
13661
14226
|
status: 'Status',
|
|
13662
14227
|
};
|
|
13663
14228
|
}
|
|
13664
14229
|
|
|
13665
14230
|
static types(): { [key: string]: any } {
|
|
13666
14231
|
return {
|
|
14232
|
+
deliveryMethod: 'string',
|
|
13667
14233
|
dialogueList: { 'type': 'array', 'itemType': UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList },
|
|
13668
14234
|
icon: 'string',
|
|
13669
14235
|
id: 'number',
|
|
14236
|
+
name: 'string',
|
|
14237
|
+
paymentMethod: 'string',
|
|
13670
14238
|
price: 'number',
|
|
14239
|
+
robotName: 'string',
|
|
13671
14240
|
status: 'string',
|
|
13672
14241
|
};
|
|
13673
14242
|
}
|
|
@@ -14845,6 +15414,10 @@ export default class Client extends OpenApi {
|
|
|
14845
15414
|
body["Id"] = request.id;
|
|
14846
15415
|
}
|
|
14847
15416
|
|
|
15417
|
+
if (!Util.isUnset(request.name)) {
|
|
15418
|
+
body["Name"] = request.name;
|
|
15419
|
+
}
|
|
15420
|
+
|
|
14848
15421
|
let realHeaders : {[key: string ]: string} = { };
|
|
14849
15422
|
if (!Util.isUnset(headers.commonHeaders)) {
|
|
14850
15423
|
realHeaders = headers.commonHeaders;
|
|
@@ -15641,6 +16214,10 @@ export default class Client extends OpenApi {
|
|
|
15641
16214
|
body["ItemId"] = request.itemId;
|
|
15642
16215
|
}
|
|
15643
16216
|
|
|
16217
|
+
if (!Util.isUnset(request.name)) {
|
|
16218
|
+
body["Name"] = request.name;
|
|
16219
|
+
}
|
|
16220
|
+
|
|
15644
16221
|
let realHeaders : {[key: string ]: string} = { };
|
|
15645
16222
|
if (!Util.isUnset(headers.commonHeaders)) {
|
|
15646
16223
|
realHeaders = headers.commonHeaders;
|
|
@@ -15961,8 +16538,8 @@ export default class Client extends OpenApi {
|
|
|
15961
16538
|
Util.validateModel(tmpReq);
|
|
15962
16539
|
let request = new ImportHotelConfigShrinkRequest({ });
|
|
15963
16540
|
OpenApiUtil.convert(tmpReq, request);
|
|
15964
|
-
if (!Util.isUnset(tmpReq.
|
|
15965
|
-
request.
|
|
16541
|
+
if (!Util.isUnset(tmpReq.importHotelConfig)) {
|
|
16542
|
+
request.importHotelConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.importHotelConfig, "ImportHotelConfig", "json");
|
|
15966
16543
|
}
|
|
15967
16544
|
|
|
15968
16545
|
let body : {[key: string ]: any} = { };
|
|
@@ -15970,8 +16547,8 @@ export default class Client extends OpenApi {
|
|
|
15970
16547
|
body["HotelId"] = request.hotelId;
|
|
15971
16548
|
}
|
|
15972
16549
|
|
|
15973
|
-
if (!Util.isUnset(request.
|
|
15974
|
-
body["
|
|
16550
|
+
if (!Util.isUnset(request.importHotelConfigShrink)) {
|
|
16551
|
+
body["ImportHotelConfig"] = request.importHotelConfigShrink;
|
|
15975
16552
|
}
|
|
15976
16553
|
|
|
15977
16554
|
let realHeaders : {[key: string ]: string} = { };
|
|
@@ -16020,6 +16597,10 @@ export default class Client extends OpenApi {
|
|
|
16020
16597
|
}
|
|
16021
16598
|
|
|
16022
16599
|
let body : {[key: string ]: any} = { };
|
|
16600
|
+
if (!Util.isUnset(request.enableInfraredDeviceImport)) {
|
|
16601
|
+
body["EnableInfraredDeviceImport"] = request.enableInfraredDeviceImport;
|
|
16602
|
+
}
|
|
16603
|
+
|
|
16023
16604
|
if (!Util.isUnset(request.hotelId)) {
|
|
16024
16605
|
body["HotelId"] = request.hotelId;
|
|
16025
16606
|
}
|
|
@@ -16177,6 +16758,87 @@ export default class Client extends OpenApi {
|
|
|
16177
16758
|
return await this.invokeRobotPushWithOptions(request, headers, runtime);
|
|
16178
16759
|
}
|
|
16179
16760
|
|
|
16761
|
+
async listAllProvincesWithOptions(headers: ListAllProvincesHeaders, runtime: $Util.RuntimeOptions): Promise<ListAllProvincesResponse> {
|
|
16762
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
16763
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
16764
|
+
realHeaders = headers.commonHeaders;
|
|
16765
|
+
}
|
|
16766
|
+
|
|
16767
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
16768
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
16769
|
+
}
|
|
16770
|
+
|
|
16771
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
16772
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
16773
|
+
}
|
|
16774
|
+
|
|
16775
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16776
|
+
headers: realHeaders,
|
|
16777
|
+
});
|
|
16778
|
+
let params = new $OpenApi.Params({
|
|
16779
|
+
action: "ListAllProvinces",
|
|
16780
|
+
version: "ip_1.0",
|
|
16781
|
+
protocol: "HTTPS",
|
|
16782
|
+
pathname: `/v1.0/ip/listAllProvinces`,
|
|
16783
|
+
method: "POST",
|
|
16784
|
+
authType: "AK",
|
|
16785
|
+
style: "ROA",
|
|
16786
|
+
reqBodyType: "json",
|
|
16787
|
+
bodyType: "json",
|
|
16788
|
+
});
|
|
16789
|
+
return $tea.cast<ListAllProvincesResponse>(await this.callApi(params, req, runtime), new ListAllProvincesResponse({}));
|
|
16790
|
+
}
|
|
16791
|
+
|
|
16792
|
+
async listAllProvinces(): Promise<ListAllProvincesResponse> {
|
|
16793
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16794
|
+
let headers = new ListAllProvincesHeaders({ });
|
|
16795
|
+
return await this.listAllProvincesWithOptions(headers, runtime);
|
|
16796
|
+
}
|
|
16797
|
+
|
|
16798
|
+
async listCitiesByProvinceWithOptions(request: ListCitiesByProvinceRequest, headers: ListCitiesByProvinceHeaders, runtime: $Util.RuntimeOptions): Promise<ListCitiesByProvinceResponse> {
|
|
16799
|
+
Util.validateModel(request);
|
|
16800
|
+
let body : {[key: string ]: any} = { };
|
|
16801
|
+
if (!Util.isUnset(request.province)) {
|
|
16802
|
+
body["Province"] = request.province;
|
|
16803
|
+
}
|
|
16804
|
+
|
|
16805
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
16806
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
16807
|
+
realHeaders = headers.commonHeaders;
|
|
16808
|
+
}
|
|
16809
|
+
|
|
16810
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
16811
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
16812
|
+
}
|
|
16813
|
+
|
|
16814
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
16815
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
16816
|
+
}
|
|
16817
|
+
|
|
16818
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16819
|
+
headers: realHeaders,
|
|
16820
|
+
body: OpenApiUtil.parseToMap(body),
|
|
16821
|
+
});
|
|
16822
|
+
let params = new $OpenApi.Params({
|
|
16823
|
+
action: "ListCitiesByProvince",
|
|
16824
|
+
version: "ip_1.0",
|
|
16825
|
+
protocol: "HTTPS",
|
|
16826
|
+
pathname: `/v1.0/ip/listCitiesByProvince`,
|
|
16827
|
+
method: "POST",
|
|
16828
|
+
authType: "AK",
|
|
16829
|
+
style: "ROA",
|
|
16830
|
+
reqBodyType: "formData",
|
|
16831
|
+
bodyType: "json",
|
|
16832
|
+
});
|
|
16833
|
+
return $tea.cast<ListCitiesByProvinceResponse>(await this.callApi(params, req, runtime), new ListCitiesByProvinceResponse({}));
|
|
16834
|
+
}
|
|
16835
|
+
|
|
16836
|
+
async listCitiesByProvince(request: ListCitiesByProvinceRequest): Promise<ListCitiesByProvinceResponse> {
|
|
16837
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16838
|
+
let headers = new ListCitiesByProvinceHeaders({ });
|
|
16839
|
+
return await this.listCitiesByProvinceWithOptions(request, headers, runtime);
|
|
16840
|
+
}
|
|
16841
|
+
|
|
16180
16842
|
async listCustomQAWithOptions(tmpReq: ListCustomQARequest, headers: ListCustomQAHeaders, runtime: $Util.RuntimeOptions): Promise<ListCustomQAResponse> {
|
|
16181
16843
|
Util.validateModel(tmpReq);
|
|
16182
16844
|
let request = new ListCustomQAShrinkRequest({ });
|
|
@@ -16839,6 +17501,166 @@ export default class Client extends OpenApi {
|
|
|
16839
17501
|
return await this.listHotelsWithOptions(request, headers, runtime);
|
|
16840
17502
|
}
|
|
16841
17503
|
|
|
17504
|
+
async listInfraredDeviceBrandsWithOptions(request: ListInfraredDeviceBrandsRequest, headers: ListInfraredDeviceBrandsHeaders, runtime: $Util.RuntimeOptions): Promise<ListInfraredDeviceBrandsResponse> {
|
|
17505
|
+
Util.validateModel(request);
|
|
17506
|
+
let body : {[key: string ]: any} = { };
|
|
17507
|
+
if (!Util.isUnset(request.category)) {
|
|
17508
|
+
body["Category"] = request.category;
|
|
17509
|
+
}
|
|
17510
|
+
|
|
17511
|
+
if (!Util.isUnset(request.serviceProvider)) {
|
|
17512
|
+
body["ServiceProvider"] = request.serviceProvider;
|
|
17513
|
+
}
|
|
17514
|
+
|
|
17515
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
17516
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
17517
|
+
realHeaders = headers.commonHeaders;
|
|
17518
|
+
}
|
|
17519
|
+
|
|
17520
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
17521
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
17522
|
+
}
|
|
17523
|
+
|
|
17524
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
17525
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
17526
|
+
}
|
|
17527
|
+
|
|
17528
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17529
|
+
headers: realHeaders,
|
|
17530
|
+
body: OpenApiUtil.parseToMap(body),
|
|
17531
|
+
});
|
|
17532
|
+
let params = new $OpenApi.Params({
|
|
17533
|
+
action: "ListInfraredDeviceBrands",
|
|
17534
|
+
version: "ip_1.0",
|
|
17535
|
+
protocol: "HTTPS",
|
|
17536
|
+
pathname: `/v1.0/ip/listInfraredDeviceBrands`,
|
|
17537
|
+
method: "POST",
|
|
17538
|
+
authType: "AK",
|
|
17539
|
+
style: "ROA",
|
|
17540
|
+
reqBodyType: "formData",
|
|
17541
|
+
bodyType: "json",
|
|
17542
|
+
});
|
|
17543
|
+
return $tea.cast<ListInfraredDeviceBrandsResponse>(await this.callApi(params, req, runtime), new ListInfraredDeviceBrandsResponse({}));
|
|
17544
|
+
}
|
|
17545
|
+
|
|
17546
|
+
async listInfraredDeviceBrands(request: ListInfraredDeviceBrandsRequest): Promise<ListInfraredDeviceBrandsResponse> {
|
|
17547
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17548
|
+
let headers = new ListInfraredDeviceBrandsHeaders({ });
|
|
17549
|
+
return await this.listInfraredDeviceBrandsWithOptions(request, headers, runtime);
|
|
17550
|
+
}
|
|
17551
|
+
|
|
17552
|
+
async listInfraredRemoteControllersWithOptions(request: ListInfraredRemoteControllersRequest, headers: ListInfraredRemoteControllersHeaders, runtime: $Util.RuntimeOptions): Promise<ListInfraredRemoteControllersResponse> {
|
|
17553
|
+
Util.validateModel(request);
|
|
17554
|
+
let body : {[key: string ]: any} = { };
|
|
17555
|
+
if (!Util.isUnset(request.brand)) {
|
|
17556
|
+
body["Brand"] = request.brand;
|
|
17557
|
+
}
|
|
17558
|
+
|
|
17559
|
+
if (!Util.isUnset(request.category)) {
|
|
17560
|
+
body["Category"] = request.category;
|
|
17561
|
+
}
|
|
17562
|
+
|
|
17563
|
+
if (!Util.isUnset(request.city)) {
|
|
17564
|
+
body["City"] = request.city;
|
|
17565
|
+
}
|
|
17566
|
+
|
|
17567
|
+
if (!Util.isUnset(request.hotelId)) {
|
|
17568
|
+
body["HotelId"] = request.hotelId;
|
|
17569
|
+
}
|
|
17570
|
+
|
|
17571
|
+
if (!Util.isUnset(request.province)) {
|
|
17572
|
+
body["Province"] = request.province;
|
|
17573
|
+
}
|
|
17574
|
+
|
|
17575
|
+
if (!Util.isUnset(request.serviceProvider)) {
|
|
17576
|
+
body["ServiceProvider"] = request.serviceProvider;
|
|
17577
|
+
}
|
|
17578
|
+
|
|
17579
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
17580
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
17581
|
+
realHeaders = headers.commonHeaders;
|
|
17582
|
+
}
|
|
17583
|
+
|
|
17584
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
17585
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
17586
|
+
}
|
|
17587
|
+
|
|
17588
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
17589
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
17590
|
+
}
|
|
17591
|
+
|
|
17592
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17593
|
+
headers: realHeaders,
|
|
17594
|
+
body: OpenApiUtil.parseToMap(body),
|
|
17595
|
+
});
|
|
17596
|
+
let params = new $OpenApi.Params({
|
|
17597
|
+
action: "ListInfraredRemoteControllers",
|
|
17598
|
+
version: "ip_1.0",
|
|
17599
|
+
protocol: "HTTPS",
|
|
17600
|
+
pathname: `/v1.0/ip/listInfraredRemoteControllers`,
|
|
17601
|
+
method: "POST",
|
|
17602
|
+
authType: "AK",
|
|
17603
|
+
style: "ROA",
|
|
17604
|
+
reqBodyType: "formData",
|
|
17605
|
+
bodyType: "json",
|
|
17606
|
+
});
|
|
17607
|
+
return $tea.cast<ListInfraredRemoteControllersResponse>(await this.callApi(params, req, runtime), new ListInfraredRemoteControllersResponse({}));
|
|
17608
|
+
}
|
|
17609
|
+
|
|
17610
|
+
async listInfraredRemoteControllers(request: ListInfraredRemoteControllersRequest): Promise<ListInfraredRemoteControllersResponse> {
|
|
17611
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17612
|
+
let headers = new ListInfraredRemoteControllersHeaders({ });
|
|
17613
|
+
return await this.listInfraredRemoteControllersWithOptions(request, headers, runtime);
|
|
17614
|
+
}
|
|
17615
|
+
|
|
17616
|
+
async listSTBServiceProvidersWithOptions(request: ListSTBServiceProvidersRequest, headers: ListSTBServiceProvidersHeaders, runtime: $Util.RuntimeOptions): Promise<ListSTBServiceProvidersResponse> {
|
|
17617
|
+
Util.validateModel(request);
|
|
17618
|
+
let body : {[key: string ]: any} = { };
|
|
17619
|
+
if (!Util.isUnset(request.city)) {
|
|
17620
|
+
body["City"] = request.city;
|
|
17621
|
+
}
|
|
17622
|
+
|
|
17623
|
+
if (!Util.isUnset(request.province)) {
|
|
17624
|
+
body["Province"] = request.province;
|
|
17625
|
+
}
|
|
17626
|
+
|
|
17627
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
17628
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
17629
|
+
realHeaders = headers.commonHeaders;
|
|
17630
|
+
}
|
|
17631
|
+
|
|
17632
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
17633
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
17634
|
+
}
|
|
17635
|
+
|
|
17636
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
17637
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
17638
|
+
}
|
|
17639
|
+
|
|
17640
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17641
|
+
headers: realHeaders,
|
|
17642
|
+
body: OpenApiUtil.parseToMap(body),
|
|
17643
|
+
});
|
|
17644
|
+
let params = new $OpenApi.Params({
|
|
17645
|
+
action: "ListSTBServiceProviders",
|
|
17646
|
+
version: "ip_1.0",
|
|
17647
|
+
protocol: "HTTPS",
|
|
17648
|
+
pathname: `/v1.0/ip/listSTBServiceProviders`,
|
|
17649
|
+
method: "POST",
|
|
17650
|
+
authType: "AK",
|
|
17651
|
+
style: "ROA",
|
|
17652
|
+
reqBodyType: "formData",
|
|
17653
|
+
bodyType: "json",
|
|
17654
|
+
});
|
|
17655
|
+
return $tea.cast<ListSTBServiceProvidersResponse>(await this.callApi(params, req, runtime), new ListSTBServiceProvidersResponse({}));
|
|
17656
|
+
}
|
|
17657
|
+
|
|
17658
|
+
async listSTBServiceProviders(request: ListSTBServiceProvidersRequest): Promise<ListSTBServiceProvidersResponse> {
|
|
17659
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17660
|
+
let headers = new ListSTBServiceProvidersHeaders({ });
|
|
17661
|
+
return await this.listSTBServiceProvidersWithOptions(request, headers, runtime);
|
|
17662
|
+
}
|
|
17663
|
+
|
|
16842
17664
|
async listSceneCategoryWithOptions(request: ListSceneCategoryRequest, headers: ListSceneCategoryHeaders, runtime: $Util.RuntimeOptions): Promise<ListSceneCategoryResponse> {
|
|
16843
17665
|
Util.validateModel(request);
|
|
16844
17666
|
let body : {[key: string ]: any} = { };
|