@alicloud/aligenieip_1_0 1.0.22 → 1.0.25
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 +558 -0
- package/dist/client.js +1105 -55
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1367 -65
package/src/client.ts
CHANGED
|
@@ -1416,6 +1416,146 @@ export class ChildAccountAuthResponse extends $tea.Model {
|
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
|
|
1419
|
+
export class ControlRoomDeviceHeaders extends $tea.Model {
|
|
1420
|
+
commonHeaders?: { [key: string]: string };
|
|
1421
|
+
xAcsAligenieAccessToken?: string;
|
|
1422
|
+
authorization?: string;
|
|
1423
|
+
static names(): { [key: string]: string } {
|
|
1424
|
+
return {
|
|
1425
|
+
commonHeaders: 'commonHeaders',
|
|
1426
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1427
|
+
authorization: 'Authorization',
|
|
1428
|
+
};
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
static types(): { [key: string]: any } {
|
|
1432
|
+
return {
|
|
1433
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1434
|
+
xAcsAligenieAccessToken: 'string',
|
|
1435
|
+
authorization: 'string',
|
|
1436
|
+
};
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
constructor(map?: { [key: string]: any }) {
|
|
1440
|
+
super(map);
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
export class ControlRoomDeviceRequest extends $tea.Model {
|
|
1445
|
+
cmd?: string;
|
|
1446
|
+
deviceNumber?: string;
|
|
1447
|
+
hotelId?: string;
|
|
1448
|
+
properties?: { [key: string]: string };
|
|
1449
|
+
roomNo?: string;
|
|
1450
|
+
static names(): { [key: string]: string } {
|
|
1451
|
+
return {
|
|
1452
|
+
cmd: 'Cmd',
|
|
1453
|
+
deviceNumber: 'DeviceNumber',
|
|
1454
|
+
hotelId: 'HotelId',
|
|
1455
|
+
properties: 'Properties',
|
|
1456
|
+
roomNo: 'RoomNo',
|
|
1457
|
+
};
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
static types(): { [key: string]: any } {
|
|
1461
|
+
return {
|
|
1462
|
+
cmd: 'string',
|
|
1463
|
+
deviceNumber: 'string',
|
|
1464
|
+
hotelId: 'string',
|
|
1465
|
+
properties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1466
|
+
roomNo: 'string',
|
|
1467
|
+
};
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
constructor(map?: { [key: string]: any }) {
|
|
1471
|
+
super(map);
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
export class ControlRoomDeviceShrinkRequest extends $tea.Model {
|
|
1476
|
+
cmd?: string;
|
|
1477
|
+
deviceNumber?: string;
|
|
1478
|
+
hotelId?: string;
|
|
1479
|
+
propertiesShrink?: string;
|
|
1480
|
+
roomNo?: string;
|
|
1481
|
+
static names(): { [key: string]: string } {
|
|
1482
|
+
return {
|
|
1483
|
+
cmd: 'Cmd',
|
|
1484
|
+
deviceNumber: 'DeviceNumber',
|
|
1485
|
+
hotelId: 'HotelId',
|
|
1486
|
+
propertiesShrink: 'Properties',
|
|
1487
|
+
roomNo: 'RoomNo',
|
|
1488
|
+
};
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
static types(): { [key: string]: any } {
|
|
1492
|
+
return {
|
|
1493
|
+
cmd: 'string',
|
|
1494
|
+
deviceNumber: 'string',
|
|
1495
|
+
hotelId: 'string',
|
|
1496
|
+
propertiesShrink: 'string',
|
|
1497
|
+
roomNo: 'string',
|
|
1498
|
+
};
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
constructor(map?: { [key: string]: any }) {
|
|
1502
|
+
super(map);
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
export class ControlRoomDeviceResponseBody extends $tea.Model {
|
|
1507
|
+
code?: number;
|
|
1508
|
+
message?: string;
|
|
1509
|
+
requestId?: string;
|
|
1510
|
+
result?: ControlRoomDeviceResponseBodyResult;
|
|
1511
|
+
static names(): { [key: string]: string } {
|
|
1512
|
+
return {
|
|
1513
|
+
code: 'Code',
|
|
1514
|
+
message: 'Message',
|
|
1515
|
+
requestId: 'RequestId',
|
|
1516
|
+
result: 'Result',
|
|
1517
|
+
};
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
static types(): { [key: string]: any } {
|
|
1521
|
+
return {
|
|
1522
|
+
code: 'number',
|
|
1523
|
+
message: 'string',
|
|
1524
|
+
requestId: 'string',
|
|
1525
|
+
result: ControlRoomDeviceResponseBodyResult,
|
|
1526
|
+
};
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
constructor(map?: { [key: string]: any }) {
|
|
1530
|
+
super(map);
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
export class ControlRoomDeviceResponse extends $tea.Model {
|
|
1535
|
+
headers: { [key: string]: string };
|
|
1536
|
+
statusCode: number;
|
|
1537
|
+
body: ControlRoomDeviceResponseBody;
|
|
1538
|
+
static names(): { [key: string]: string } {
|
|
1539
|
+
return {
|
|
1540
|
+
headers: 'headers',
|
|
1541
|
+
statusCode: 'statusCode',
|
|
1542
|
+
body: 'body',
|
|
1543
|
+
};
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
static types(): { [key: string]: any } {
|
|
1547
|
+
return {
|
|
1548
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1549
|
+
statusCode: 'number',
|
|
1550
|
+
body: ControlRoomDeviceResponseBody,
|
|
1551
|
+
};
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
constructor(map?: { [key: string]: any }) {
|
|
1555
|
+
super(map);
|
|
1556
|
+
}
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1419
1559
|
export class CreateHotelHeaders extends $tea.Model {
|
|
1420
1560
|
commonHeaders?: { [key: string]: string };
|
|
1421
1561
|
xAcsAligenieAccessToken?: string;
|
|
@@ -1732,6 +1872,134 @@ export class CreateHotelAlarmResponse extends $tea.Model {
|
|
|
1732
1872
|
}
|
|
1733
1873
|
}
|
|
1734
1874
|
|
|
1875
|
+
export class CreateRcuSceneHeaders extends $tea.Model {
|
|
1876
|
+
commonHeaders?: { [key: string]: string };
|
|
1877
|
+
xAcsAligenieAccessToken?: string;
|
|
1878
|
+
authorization?: string;
|
|
1879
|
+
static names(): { [key: string]: string } {
|
|
1880
|
+
return {
|
|
1881
|
+
commonHeaders: 'commonHeaders',
|
|
1882
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1883
|
+
authorization: 'Authorization',
|
|
1884
|
+
};
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
static types(): { [key: string]: any } {
|
|
1888
|
+
return {
|
|
1889
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1890
|
+
xAcsAligenieAccessToken: 'string',
|
|
1891
|
+
authorization: 'string',
|
|
1892
|
+
};
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
constructor(map?: { [key: string]: any }) {
|
|
1896
|
+
super(map);
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
export class CreateRcuSceneRequest extends $tea.Model {
|
|
1901
|
+
hotelId?: string;
|
|
1902
|
+
sceneId?: string;
|
|
1903
|
+
sceneRelationExtDTO?: CreateRcuSceneRequestSceneRelationExtDTO;
|
|
1904
|
+
static names(): { [key: string]: string } {
|
|
1905
|
+
return {
|
|
1906
|
+
hotelId: 'HotelId',
|
|
1907
|
+
sceneId: 'SceneId',
|
|
1908
|
+
sceneRelationExtDTO: 'SceneRelationExtDTO',
|
|
1909
|
+
};
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
static types(): { [key: string]: any } {
|
|
1913
|
+
return {
|
|
1914
|
+
hotelId: 'string',
|
|
1915
|
+
sceneId: 'string',
|
|
1916
|
+
sceneRelationExtDTO: CreateRcuSceneRequestSceneRelationExtDTO,
|
|
1917
|
+
};
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
constructor(map?: { [key: string]: any }) {
|
|
1921
|
+
super(map);
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
export class CreateRcuSceneShrinkRequest extends $tea.Model {
|
|
1926
|
+
hotelId?: string;
|
|
1927
|
+
sceneId?: string;
|
|
1928
|
+
sceneRelationExtDTOShrink?: string;
|
|
1929
|
+
static names(): { [key: string]: string } {
|
|
1930
|
+
return {
|
|
1931
|
+
hotelId: 'HotelId',
|
|
1932
|
+
sceneId: 'SceneId',
|
|
1933
|
+
sceneRelationExtDTOShrink: 'SceneRelationExtDTO',
|
|
1934
|
+
};
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
static types(): { [key: string]: any } {
|
|
1938
|
+
return {
|
|
1939
|
+
hotelId: 'string',
|
|
1940
|
+
sceneId: 'string',
|
|
1941
|
+
sceneRelationExtDTOShrink: 'string',
|
|
1942
|
+
};
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
constructor(map?: { [key: string]: any }) {
|
|
1946
|
+
super(map);
|
|
1947
|
+
}
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
export class CreateRcuSceneResponseBody extends $tea.Model {
|
|
1951
|
+
message?: string;
|
|
1952
|
+
requestId?: string;
|
|
1953
|
+
result?: boolean;
|
|
1954
|
+
statusCode?: number;
|
|
1955
|
+
static names(): { [key: string]: string } {
|
|
1956
|
+
return {
|
|
1957
|
+
message: 'Message',
|
|
1958
|
+
requestId: 'RequestId',
|
|
1959
|
+
result: 'Result',
|
|
1960
|
+
statusCode: 'StatusCode',
|
|
1961
|
+
};
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
static types(): { [key: string]: any } {
|
|
1965
|
+
return {
|
|
1966
|
+
message: 'string',
|
|
1967
|
+
requestId: 'string',
|
|
1968
|
+
result: 'boolean',
|
|
1969
|
+
statusCode: 'number',
|
|
1970
|
+
};
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
constructor(map?: { [key: string]: any }) {
|
|
1974
|
+
super(map);
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
export class CreateRcuSceneResponse extends $tea.Model {
|
|
1979
|
+
headers: { [key: string]: string };
|
|
1980
|
+
statusCode: number;
|
|
1981
|
+
body: CreateRcuSceneResponseBody;
|
|
1982
|
+
static names(): { [key: string]: string } {
|
|
1983
|
+
return {
|
|
1984
|
+
headers: 'headers',
|
|
1985
|
+
statusCode: 'statusCode',
|
|
1986
|
+
body: 'body',
|
|
1987
|
+
};
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
static types(): { [key: string]: any } {
|
|
1991
|
+
return {
|
|
1992
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1993
|
+
statusCode: 'number',
|
|
1994
|
+
body: CreateRcuSceneResponseBody,
|
|
1995
|
+
};
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
constructor(map?: { [key: string]: any }) {
|
|
1999
|
+
super(map);
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
|
|
1735
2003
|
export class DeleteCartoonHeaders extends $tea.Model {
|
|
1736
2004
|
commonHeaders?: { [key: string]: string };
|
|
1737
2005
|
xAcsAligenieAccessToken?: string;
|
|
@@ -2373,6 +2641,106 @@ export class DeleteMessageTemplateResponse extends $tea.Model {
|
|
|
2373
2641
|
}
|
|
2374
2642
|
}
|
|
2375
2643
|
|
|
2644
|
+
export class DeleteRcuSceneHeaders extends $tea.Model {
|
|
2645
|
+
commonHeaders?: { [key: string]: string };
|
|
2646
|
+
xAcsAligenieAccessToken?: string;
|
|
2647
|
+
authorization?: string;
|
|
2648
|
+
static names(): { [key: string]: string } {
|
|
2649
|
+
return {
|
|
2650
|
+
commonHeaders: 'commonHeaders',
|
|
2651
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
2652
|
+
authorization: 'Authorization',
|
|
2653
|
+
};
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
static types(): { [key: string]: any } {
|
|
2657
|
+
return {
|
|
2658
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2659
|
+
xAcsAligenieAccessToken: 'string',
|
|
2660
|
+
authorization: 'string',
|
|
2661
|
+
};
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2664
|
+
constructor(map?: { [key: string]: any }) {
|
|
2665
|
+
super(map);
|
|
2666
|
+
}
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
export class DeleteRcuSceneRequest extends $tea.Model {
|
|
2670
|
+
hotelId?: string;
|
|
2671
|
+
sceneId?: string;
|
|
2672
|
+
static names(): { [key: string]: string } {
|
|
2673
|
+
return {
|
|
2674
|
+
hotelId: 'HotelId',
|
|
2675
|
+
sceneId: 'SceneId',
|
|
2676
|
+
};
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2679
|
+
static types(): { [key: string]: any } {
|
|
2680
|
+
return {
|
|
2681
|
+
hotelId: 'string',
|
|
2682
|
+
sceneId: 'string',
|
|
2683
|
+
};
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
constructor(map?: { [key: string]: any }) {
|
|
2687
|
+
super(map);
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
export class DeleteRcuSceneResponseBody extends $tea.Model {
|
|
2692
|
+
message?: string;
|
|
2693
|
+
requestId?: string;
|
|
2694
|
+
result?: boolean;
|
|
2695
|
+
statusCode?: number;
|
|
2696
|
+
static names(): { [key: string]: string } {
|
|
2697
|
+
return {
|
|
2698
|
+
message: 'Message',
|
|
2699
|
+
requestId: 'RequestId',
|
|
2700
|
+
result: 'Result',
|
|
2701
|
+
statusCode: 'StatusCode',
|
|
2702
|
+
};
|
|
2703
|
+
}
|
|
2704
|
+
|
|
2705
|
+
static types(): { [key: string]: any } {
|
|
2706
|
+
return {
|
|
2707
|
+
message: 'string',
|
|
2708
|
+
requestId: 'string',
|
|
2709
|
+
result: 'boolean',
|
|
2710
|
+
statusCode: 'number',
|
|
2711
|
+
};
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2714
|
+
constructor(map?: { [key: string]: any }) {
|
|
2715
|
+
super(map);
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
export class DeleteRcuSceneResponse extends $tea.Model {
|
|
2720
|
+
headers: { [key: string]: string };
|
|
2721
|
+
statusCode: number;
|
|
2722
|
+
body: DeleteRcuSceneResponseBody;
|
|
2723
|
+
static names(): { [key: string]: string } {
|
|
2724
|
+
return {
|
|
2725
|
+
headers: 'headers',
|
|
2726
|
+
statusCode: 'statusCode',
|
|
2727
|
+
body: 'body',
|
|
2728
|
+
};
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
static types(): { [key: string]: any } {
|
|
2732
|
+
return {
|
|
2733
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2734
|
+
statusCode: 'number',
|
|
2735
|
+
body: DeleteRcuSceneResponseBody,
|
|
2736
|
+
};
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2739
|
+
constructor(map?: { [key: string]: any }) {
|
|
2740
|
+
super(map);
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2376
2744
|
export class DeviceControlHeaders extends $tea.Model {
|
|
2377
2745
|
commonHeaders?: { [key: string]: string };
|
|
2378
2746
|
xAcsAligenieAccessToken?: string;
|
|
@@ -4276,13 +4644,112 @@ export class GetUnionIdRequest extends $tea.Model {
|
|
|
4276
4644
|
}
|
|
4277
4645
|
}
|
|
4278
4646
|
|
|
4279
|
-
export class GetUnionIdResponseBody extends $tea.Model {
|
|
4647
|
+
export class GetUnionIdResponseBody extends $tea.Model {
|
|
4648
|
+
message?: string;
|
|
4649
|
+
requestId?: string;
|
|
4650
|
+
result?: GetUnionIdResponseBodyResult[];
|
|
4651
|
+
statusCode?: number;
|
|
4652
|
+
static names(): { [key: string]: string } {
|
|
4653
|
+
return {
|
|
4654
|
+
message: 'Message',
|
|
4655
|
+
requestId: 'RequestId',
|
|
4656
|
+
result: 'Result',
|
|
4657
|
+
statusCode: 'StatusCode',
|
|
4658
|
+
};
|
|
4659
|
+
}
|
|
4660
|
+
|
|
4661
|
+
static types(): { [key: string]: any } {
|
|
4662
|
+
return {
|
|
4663
|
+
message: 'string',
|
|
4664
|
+
requestId: 'string',
|
|
4665
|
+
result: { 'type': 'array', 'itemType': GetUnionIdResponseBodyResult },
|
|
4666
|
+
statusCode: 'number',
|
|
4667
|
+
};
|
|
4668
|
+
}
|
|
4669
|
+
|
|
4670
|
+
constructor(map?: { [key: string]: any }) {
|
|
4671
|
+
super(map);
|
|
4672
|
+
}
|
|
4673
|
+
}
|
|
4674
|
+
|
|
4675
|
+
export class GetUnionIdResponse extends $tea.Model {
|
|
4676
|
+
headers: { [key: string]: string };
|
|
4677
|
+
statusCode: number;
|
|
4678
|
+
body: GetUnionIdResponseBody;
|
|
4679
|
+
static names(): { [key: string]: string } {
|
|
4680
|
+
return {
|
|
4681
|
+
headers: 'headers',
|
|
4682
|
+
statusCode: 'statusCode',
|
|
4683
|
+
body: 'body',
|
|
4684
|
+
};
|
|
4685
|
+
}
|
|
4686
|
+
|
|
4687
|
+
static types(): { [key: string]: any } {
|
|
4688
|
+
return {
|
|
4689
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4690
|
+
statusCode: 'number',
|
|
4691
|
+
body: GetUnionIdResponseBody,
|
|
4692
|
+
};
|
|
4693
|
+
}
|
|
4694
|
+
|
|
4695
|
+
constructor(map?: { [key: string]: any }) {
|
|
4696
|
+
super(map);
|
|
4697
|
+
}
|
|
4698
|
+
}
|
|
4699
|
+
|
|
4700
|
+
export class GetWelcomeTextAndMusicHeaders extends $tea.Model {
|
|
4701
|
+
commonHeaders?: { [key: string]: string };
|
|
4702
|
+
xAcsAligenieAccessToken?: string;
|
|
4703
|
+
authorization?: string;
|
|
4704
|
+
static names(): { [key: string]: string } {
|
|
4705
|
+
return {
|
|
4706
|
+
commonHeaders: 'commonHeaders',
|
|
4707
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
4708
|
+
authorization: 'Authorization',
|
|
4709
|
+
};
|
|
4710
|
+
}
|
|
4711
|
+
|
|
4712
|
+
static types(): { [key: string]: any } {
|
|
4713
|
+
return {
|
|
4714
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4715
|
+
xAcsAligenieAccessToken: 'string',
|
|
4716
|
+
authorization: 'string',
|
|
4717
|
+
};
|
|
4718
|
+
}
|
|
4719
|
+
|
|
4720
|
+
constructor(map?: { [key: string]: any }) {
|
|
4721
|
+
super(map);
|
|
4722
|
+
}
|
|
4723
|
+
}
|
|
4724
|
+
|
|
4725
|
+
export class GetWelcomeTextAndMusicRequest extends $tea.Model {
|
|
4726
|
+
hotelId?: string;
|
|
4727
|
+
static names(): { [key: string]: string } {
|
|
4728
|
+
return {
|
|
4729
|
+
hotelId: 'HotelId',
|
|
4730
|
+
};
|
|
4731
|
+
}
|
|
4732
|
+
|
|
4733
|
+
static types(): { [key: string]: any } {
|
|
4734
|
+
return {
|
|
4735
|
+
hotelId: 'string',
|
|
4736
|
+
};
|
|
4737
|
+
}
|
|
4738
|
+
|
|
4739
|
+
constructor(map?: { [key: string]: any }) {
|
|
4740
|
+
super(map);
|
|
4741
|
+
}
|
|
4742
|
+
}
|
|
4743
|
+
|
|
4744
|
+
export class GetWelcomeTextAndMusicResponseBody extends $tea.Model {
|
|
4745
|
+
extentions?: { [key: string]: any };
|
|
4280
4746
|
message?: string;
|
|
4281
4747
|
requestId?: string;
|
|
4282
|
-
result?:
|
|
4748
|
+
result?: GetWelcomeTextAndMusicResponseBodyResult;
|
|
4283
4749
|
statusCode?: number;
|
|
4284
4750
|
static names(): { [key: string]: string } {
|
|
4285
4751
|
return {
|
|
4752
|
+
extentions: 'Extentions',
|
|
4286
4753
|
message: 'Message',
|
|
4287
4754
|
requestId: 'RequestId',
|
|
4288
4755
|
result: 'Result',
|
|
@@ -4292,9 +4759,10 @@ export class GetUnionIdResponseBody extends $tea.Model {
|
|
|
4292
4759
|
|
|
4293
4760
|
static types(): { [key: string]: any } {
|
|
4294
4761
|
return {
|
|
4762
|
+
extentions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
4295
4763
|
message: 'string',
|
|
4296
4764
|
requestId: 'string',
|
|
4297
|
-
result:
|
|
4765
|
+
result: GetWelcomeTextAndMusicResponseBodyResult,
|
|
4298
4766
|
statusCode: 'number',
|
|
4299
4767
|
};
|
|
4300
4768
|
}
|
|
@@ -4304,10 +4772,10 @@ export class GetUnionIdResponseBody extends $tea.Model {
|
|
|
4304
4772
|
}
|
|
4305
4773
|
}
|
|
4306
4774
|
|
|
4307
|
-
export class
|
|
4775
|
+
export class GetWelcomeTextAndMusicResponse extends $tea.Model {
|
|
4308
4776
|
headers: { [key: string]: string };
|
|
4309
4777
|
statusCode: number;
|
|
4310
|
-
body:
|
|
4778
|
+
body: GetWelcomeTextAndMusicResponseBody;
|
|
4311
4779
|
static names(): { [key: string]: string } {
|
|
4312
4780
|
return {
|
|
4313
4781
|
headers: 'headers',
|
|
@@ -4320,7 +4788,7 @@ export class GetUnionIdResponse extends $tea.Model {
|
|
|
4320
4788
|
return {
|
|
4321
4789
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4322
4790
|
statusCode: 'number',
|
|
4323
|
-
body:
|
|
4791
|
+
body: GetWelcomeTextAndMusicResponseBody,
|
|
4324
4792
|
};
|
|
4325
4793
|
}
|
|
4326
4794
|
|
|
@@ -4329,7 +4797,7 @@ export class GetUnionIdResponse extends $tea.Model {
|
|
|
4329
4797
|
}
|
|
4330
4798
|
}
|
|
4331
4799
|
|
|
4332
|
-
export class
|
|
4800
|
+
export class ImportHotelConfigHeaders extends $tea.Model {
|
|
4333
4801
|
commonHeaders?: { [key: string]: string };
|
|
4334
4802
|
xAcsAligenieAccessToken?: string;
|
|
4335
4803
|
authorization?: string;
|
|
@@ -4354,17 +4822,20 @@ export class GetWelcomeTextAndMusicHeaders extends $tea.Model {
|
|
|
4354
4822
|
}
|
|
4355
4823
|
}
|
|
4356
4824
|
|
|
4357
|
-
export class
|
|
4825
|
+
export class ImportHotelConfigRequest extends $tea.Model {
|
|
4358
4826
|
hotelId?: string;
|
|
4827
|
+
importHotelConfigRequest?: ImportHotelConfigRequestImportHotelConfigRequest;
|
|
4359
4828
|
static names(): { [key: string]: string } {
|
|
4360
4829
|
return {
|
|
4361
4830
|
hotelId: 'HotelId',
|
|
4831
|
+
importHotelConfigRequest: 'ImportHotelConfigRequest',
|
|
4362
4832
|
};
|
|
4363
4833
|
}
|
|
4364
4834
|
|
|
4365
4835
|
static types(): { [key: string]: any } {
|
|
4366
4836
|
return {
|
|
4367
4837
|
hotelId: 'string',
|
|
4838
|
+
importHotelConfigRequest: ImportHotelConfigRequestImportHotelConfigRequest,
|
|
4368
4839
|
};
|
|
4369
4840
|
}
|
|
4370
4841
|
|
|
@@ -4373,15 +4844,35 @@ export class GetWelcomeTextAndMusicRequest extends $tea.Model {
|
|
|
4373
4844
|
}
|
|
4374
4845
|
}
|
|
4375
4846
|
|
|
4376
|
-
export class
|
|
4377
|
-
|
|
4847
|
+
export class ImportHotelConfigShrinkRequest extends $tea.Model {
|
|
4848
|
+
hotelId?: string;
|
|
4849
|
+
importHotelConfigRequestShrink?: string;
|
|
4850
|
+
static names(): { [key: string]: string } {
|
|
4851
|
+
return {
|
|
4852
|
+
hotelId: 'HotelId',
|
|
4853
|
+
importHotelConfigRequestShrink: 'ImportHotelConfigRequest',
|
|
4854
|
+
};
|
|
4855
|
+
}
|
|
4856
|
+
|
|
4857
|
+
static types(): { [key: string]: any } {
|
|
4858
|
+
return {
|
|
4859
|
+
hotelId: 'string',
|
|
4860
|
+
importHotelConfigRequestShrink: 'string',
|
|
4861
|
+
};
|
|
4862
|
+
}
|
|
4863
|
+
|
|
4864
|
+
constructor(map?: { [key: string]: any }) {
|
|
4865
|
+
super(map);
|
|
4866
|
+
}
|
|
4867
|
+
}
|
|
4868
|
+
|
|
4869
|
+
export class ImportHotelConfigResponseBody extends $tea.Model {
|
|
4378
4870
|
message?: string;
|
|
4379
4871
|
requestId?: string;
|
|
4380
|
-
result?:
|
|
4872
|
+
result?: boolean;
|
|
4381
4873
|
statusCode?: number;
|
|
4382
4874
|
static names(): { [key: string]: string } {
|
|
4383
4875
|
return {
|
|
4384
|
-
extentions: 'Extentions',
|
|
4385
4876
|
message: 'Message',
|
|
4386
4877
|
requestId: 'RequestId',
|
|
4387
4878
|
result: 'Result',
|
|
@@ -4391,10 +4882,9 @@ export class GetWelcomeTextAndMusicResponseBody extends $tea.Model {
|
|
|
4391
4882
|
|
|
4392
4883
|
static types(): { [key: string]: any } {
|
|
4393
4884
|
return {
|
|
4394
|
-
extentions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
4395
4885
|
message: 'string',
|
|
4396
4886
|
requestId: 'string',
|
|
4397
|
-
result:
|
|
4887
|
+
result: 'boolean',
|
|
4398
4888
|
statusCode: 'number',
|
|
4399
4889
|
};
|
|
4400
4890
|
}
|
|
@@ -4404,10 +4894,10 @@ export class GetWelcomeTextAndMusicResponseBody extends $tea.Model {
|
|
|
4404
4894
|
}
|
|
4405
4895
|
}
|
|
4406
4896
|
|
|
4407
|
-
export class
|
|
4897
|
+
export class ImportHotelConfigResponse extends $tea.Model {
|
|
4408
4898
|
headers: { [key: string]: string };
|
|
4409
4899
|
statusCode: number;
|
|
4410
|
-
body:
|
|
4900
|
+
body: ImportHotelConfigResponseBody;
|
|
4411
4901
|
static names(): { [key: string]: string } {
|
|
4412
4902
|
return {
|
|
4413
4903
|
headers: 'headers',
|
|
@@ -4420,7 +4910,7 @@ export class GetWelcomeTextAndMusicResponse extends $tea.Model {
|
|
|
4420
4910
|
return {
|
|
4421
4911
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4422
4912
|
statusCode: 'number',
|
|
4423
|
-
body:
|
|
4913
|
+
body: ImportHotelConfigResponseBody,
|
|
4424
4914
|
};
|
|
4425
4915
|
}
|
|
4426
4916
|
|
|
@@ -7351,6 +7841,140 @@ export class QueryRoomControlDevicesResponse extends $tea.Model {
|
|
|
7351
7841
|
}
|
|
7352
7842
|
}
|
|
7353
7843
|
|
|
7844
|
+
export class QuerySceneListHeaders extends $tea.Model {
|
|
7845
|
+
commonHeaders?: { [key: string]: string };
|
|
7846
|
+
xAcsAligenieAccessToken?: string;
|
|
7847
|
+
authorization?: string;
|
|
7848
|
+
static names(): { [key: string]: string } {
|
|
7849
|
+
return {
|
|
7850
|
+
commonHeaders: 'commonHeaders',
|
|
7851
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
7852
|
+
authorization: 'Authorization',
|
|
7853
|
+
};
|
|
7854
|
+
}
|
|
7855
|
+
|
|
7856
|
+
static types(): { [key: string]: any } {
|
|
7857
|
+
return {
|
|
7858
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7859
|
+
xAcsAligenieAccessToken: 'string',
|
|
7860
|
+
authorization: 'string',
|
|
7861
|
+
};
|
|
7862
|
+
}
|
|
7863
|
+
|
|
7864
|
+
constructor(map?: { [key: string]: any }) {
|
|
7865
|
+
super(map);
|
|
7866
|
+
}
|
|
7867
|
+
}
|
|
7868
|
+
|
|
7869
|
+
export class QuerySceneListRequest extends $tea.Model {
|
|
7870
|
+
hotelId?: string;
|
|
7871
|
+
sceneStates?: number[];
|
|
7872
|
+
sceneTypes?: string[];
|
|
7873
|
+
templateInfoIds?: string[];
|
|
7874
|
+
static names(): { [key: string]: string } {
|
|
7875
|
+
return {
|
|
7876
|
+
hotelId: 'HotelId',
|
|
7877
|
+
sceneStates: 'SceneStates',
|
|
7878
|
+
sceneTypes: 'SceneTypes',
|
|
7879
|
+
templateInfoIds: 'TemplateInfoIds',
|
|
7880
|
+
};
|
|
7881
|
+
}
|
|
7882
|
+
|
|
7883
|
+
static types(): { [key: string]: any } {
|
|
7884
|
+
return {
|
|
7885
|
+
hotelId: 'string',
|
|
7886
|
+
sceneStates: { 'type': 'array', 'itemType': 'number' },
|
|
7887
|
+
sceneTypes: { 'type': 'array', 'itemType': 'string' },
|
|
7888
|
+
templateInfoIds: { 'type': 'array', 'itemType': 'string' },
|
|
7889
|
+
};
|
|
7890
|
+
}
|
|
7891
|
+
|
|
7892
|
+
constructor(map?: { [key: string]: any }) {
|
|
7893
|
+
super(map);
|
|
7894
|
+
}
|
|
7895
|
+
}
|
|
7896
|
+
|
|
7897
|
+
export class QuerySceneListShrinkRequest extends $tea.Model {
|
|
7898
|
+
hotelId?: string;
|
|
7899
|
+
sceneStatesShrink?: string;
|
|
7900
|
+
sceneTypesShrink?: string;
|
|
7901
|
+
templateInfoIdsShrink?: string;
|
|
7902
|
+
static names(): { [key: string]: string } {
|
|
7903
|
+
return {
|
|
7904
|
+
hotelId: 'HotelId',
|
|
7905
|
+
sceneStatesShrink: 'SceneStates',
|
|
7906
|
+
sceneTypesShrink: 'SceneTypes',
|
|
7907
|
+
templateInfoIdsShrink: 'TemplateInfoIds',
|
|
7908
|
+
};
|
|
7909
|
+
}
|
|
7910
|
+
|
|
7911
|
+
static types(): { [key: string]: any } {
|
|
7912
|
+
return {
|
|
7913
|
+
hotelId: 'string',
|
|
7914
|
+
sceneStatesShrink: 'string',
|
|
7915
|
+
sceneTypesShrink: 'string',
|
|
7916
|
+
templateInfoIdsShrink: 'string',
|
|
7917
|
+
};
|
|
7918
|
+
}
|
|
7919
|
+
|
|
7920
|
+
constructor(map?: { [key: string]: any }) {
|
|
7921
|
+
super(map);
|
|
7922
|
+
}
|
|
7923
|
+
}
|
|
7924
|
+
|
|
7925
|
+
export class QuerySceneListResponseBody extends $tea.Model {
|
|
7926
|
+
message?: string;
|
|
7927
|
+
requestId?: string;
|
|
7928
|
+
results?: QuerySceneListResponseBodyResults[];
|
|
7929
|
+
statusCode?: number;
|
|
7930
|
+
static names(): { [key: string]: string } {
|
|
7931
|
+
return {
|
|
7932
|
+
message: 'Message',
|
|
7933
|
+
requestId: 'RequestId',
|
|
7934
|
+
results: 'Results',
|
|
7935
|
+
statusCode: 'StatusCode',
|
|
7936
|
+
};
|
|
7937
|
+
}
|
|
7938
|
+
|
|
7939
|
+
static types(): { [key: string]: any } {
|
|
7940
|
+
return {
|
|
7941
|
+
message: 'string',
|
|
7942
|
+
requestId: 'string',
|
|
7943
|
+
results: { 'type': 'array', 'itemType': QuerySceneListResponseBodyResults },
|
|
7944
|
+
statusCode: 'number',
|
|
7945
|
+
};
|
|
7946
|
+
}
|
|
7947
|
+
|
|
7948
|
+
constructor(map?: { [key: string]: any }) {
|
|
7949
|
+
super(map);
|
|
7950
|
+
}
|
|
7951
|
+
}
|
|
7952
|
+
|
|
7953
|
+
export class QuerySceneListResponse extends $tea.Model {
|
|
7954
|
+
headers: { [key: string]: string };
|
|
7955
|
+
statusCode: number;
|
|
7956
|
+
body: QuerySceneListResponseBody;
|
|
7957
|
+
static names(): { [key: string]: string } {
|
|
7958
|
+
return {
|
|
7959
|
+
headers: 'headers',
|
|
7960
|
+
statusCode: 'statusCode',
|
|
7961
|
+
body: 'body',
|
|
7962
|
+
};
|
|
7963
|
+
}
|
|
7964
|
+
|
|
7965
|
+
static types(): { [key: string]: any } {
|
|
7966
|
+
return {
|
|
7967
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7968
|
+
statusCode: 'number',
|
|
7969
|
+
body: QuerySceneListResponseBody,
|
|
7970
|
+
};
|
|
7971
|
+
}
|
|
7972
|
+
|
|
7973
|
+
constructor(map?: { [key: string]: any }) {
|
|
7974
|
+
super(map);
|
|
7975
|
+
}
|
|
7976
|
+
}
|
|
7977
|
+
|
|
7354
7978
|
export class RemoveChildAccountAuthHeaders extends $tea.Model {
|
|
7355
7979
|
commonHeaders?: { [key: string]: string };
|
|
7356
7980
|
xAcsAligenieAccessToken?: string;
|
|
@@ -8807,17 +9431,120 @@ export class UpdateHotelSceneItemShrinkRequest extends $tea.Model {
|
|
|
8807
9431
|
updateHotelSceneReqShrink?: string;
|
|
8808
9432
|
static names(): { [key: string]: string } {
|
|
8809
9433
|
return {
|
|
8810
|
-
hotelId: 'HotelId',
|
|
8811
|
-
updateHotelSceneOperateReqShrink: 'UpdateHotelSceneOperateReq',
|
|
8812
|
-
updateHotelSceneReqShrink: 'UpdateHotelSceneReq',
|
|
9434
|
+
hotelId: 'HotelId',
|
|
9435
|
+
updateHotelSceneOperateReqShrink: 'UpdateHotelSceneOperateReq',
|
|
9436
|
+
updateHotelSceneReqShrink: 'UpdateHotelSceneReq',
|
|
9437
|
+
};
|
|
9438
|
+
}
|
|
9439
|
+
|
|
9440
|
+
static types(): { [key: string]: any } {
|
|
9441
|
+
return {
|
|
9442
|
+
hotelId: 'string',
|
|
9443
|
+
updateHotelSceneOperateReqShrink: 'string',
|
|
9444
|
+
updateHotelSceneReqShrink: 'string',
|
|
9445
|
+
};
|
|
9446
|
+
}
|
|
9447
|
+
|
|
9448
|
+
constructor(map?: { [key: string]: any }) {
|
|
9449
|
+
super(map);
|
|
9450
|
+
}
|
|
9451
|
+
}
|
|
9452
|
+
|
|
9453
|
+
export class UpdateHotelSceneItemResponseBody extends $tea.Model {
|
|
9454
|
+
code?: number;
|
|
9455
|
+
message?: string;
|
|
9456
|
+
requestId?: string;
|
|
9457
|
+
result?: boolean;
|
|
9458
|
+
static names(): { [key: string]: string } {
|
|
9459
|
+
return {
|
|
9460
|
+
code: 'Code',
|
|
9461
|
+
message: 'Message',
|
|
9462
|
+
requestId: 'RequestId',
|
|
9463
|
+
result: 'Result',
|
|
9464
|
+
};
|
|
9465
|
+
}
|
|
9466
|
+
|
|
9467
|
+
static types(): { [key: string]: any } {
|
|
9468
|
+
return {
|
|
9469
|
+
code: 'number',
|
|
9470
|
+
message: 'string',
|
|
9471
|
+
requestId: 'string',
|
|
9472
|
+
result: 'boolean',
|
|
9473
|
+
};
|
|
9474
|
+
}
|
|
9475
|
+
|
|
9476
|
+
constructor(map?: { [key: string]: any }) {
|
|
9477
|
+
super(map);
|
|
9478
|
+
}
|
|
9479
|
+
}
|
|
9480
|
+
|
|
9481
|
+
export class UpdateHotelSceneItemResponse extends $tea.Model {
|
|
9482
|
+
headers: { [key: string]: string };
|
|
9483
|
+
statusCode: number;
|
|
9484
|
+
body: UpdateHotelSceneItemResponseBody;
|
|
9485
|
+
static names(): { [key: string]: string } {
|
|
9486
|
+
return {
|
|
9487
|
+
headers: 'headers',
|
|
9488
|
+
statusCode: 'statusCode',
|
|
9489
|
+
body: 'body',
|
|
9490
|
+
};
|
|
9491
|
+
}
|
|
9492
|
+
|
|
9493
|
+
static types(): { [key: string]: any } {
|
|
9494
|
+
return {
|
|
9495
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9496
|
+
statusCode: 'number',
|
|
9497
|
+
body: UpdateHotelSceneItemResponseBody,
|
|
9498
|
+
};
|
|
9499
|
+
}
|
|
9500
|
+
|
|
9501
|
+
constructor(map?: { [key: string]: any }) {
|
|
9502
|
+
super(map);
|
|
9503
|
+
}
|
|
9504
|
+
}
|
|
9505
|
+
|
|
9506
|
+
export class UpdateMessageTemplateHeaders extends $tea.Model {
|
|
9507
|
+
commonHeaders?: { [key: string]: string };
|
|
9508
|
+
xAcsAligenieAccessToken?: string;
|
|
9509
|
+
authorization?: string;
|
|
9510
|
+
static names(): { [key: string]: string } {
|
|
9511
|
+
return {
|
|
9512
|
+
commonHeaders: 'commonHeaders',
|
|
9513
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
9514
|
+
authorization: 'Authorization',
|
|
9515
|
+
};
|
|
9516
|
+
}
|
|
9517
|
+
|
|
9518
|
+
static types(): { [key: string]: any } {
|
|
9519
|
+
return {
|
|
9520
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9521
|
+
xAcsAligenieAccessToken: 'string',
|
|
9522
|
+
authorization: 'string',
|
|
9523
|
+
};
|
|
9524
|
+
}
|
|
9525
|
+
|
|
9526
|
+
constructor(map?: { [key: string]: any }) {
|
|
9527
|
+
super(map);
|
|
9528
|
+
}
|
|
9529
|
+
}
|
|
9530
|
+
|
|
9531
|
+
export class UpdateMessageTemplateRequest extends $tea.Model {
|
|
9532
|
+
templateDetail?: string;
|
|
9533
|
+
templateId?: number;
|
|
9534
|
+
templateName?: string;
|
|
9535
|
+
static names(): { [key: string]: string } {
|
|
9536
|
+
return {
|
|
9537
|
+
templateDetail: 'TemplateDetail',
|
|
9538
|
+
templateId: 'TemplateId',
|
|
9539
|
+
templateName: 'TemplateName',
|
|
8813
9540
|
};
|
|
8814
9541
|
}
|
|
8815
9542
|
|
|
8816
9543
|
static types(): { [key: string]: any } {
|
|
8817
9544
|
return {
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
|
|
9545
|
+
templateDetail: 'string',
|
|
9546
|
+
templateId: 'number',
|
|
9547
|
+
templateName: 'string',
|
|
8821
9548
|
};
|
|
8822
9549
|
}
|
|
8823
9550
|
|
|
@@ -8826,26 +9553,26 @@ export class UpdateHotelSceneItemShrinkRequest extends $tea.Model {
|
|
|
8826
9553
|
}
|
|
8827
9554
|
}
|
|
8828
9555
|
|
|
8829
|
-
export class
|
|
8830
|
-
code?: number;
|
|
9556
|
+
export class UpdateMessageTemplateResponseBody extends $tea.Model {
|
|
8831
9557
|
message?: string;
|
|
8832
9558
|
requestId?: string;
|
|
8833
9559
|
result?: boolean;
|
|
9560
|
+
statusCode?: number;
|
|
8834
9561
|
static names(): { [key: string]: string } {
|
|
8835
9562
|
return {
|
|
8836
|
-
code: 'Code',
|
|
8837
9563
|
message: 'Message',
|
|
8838
9564
|
requestId: 'RequestId',
|
|
8839
9565
|
result: 'Result',
|
|
9566
|
+
statusCode: 'StatusCode',
|
|
8840
9567
|
};
|
|
8841
9568
|
}
|
|
8842
9569
|
|
|
8843
9570
|
static types(): { [key: string]: any } {
|
|
8844
9571
|
return {
|
|
8845
|
-
code: 'number',
|
|
8846
9572
|
message: 'string',
|
|
8847
9573
|
requestId: 'string',
|
|
8848
9574
|
result: 'boolean',
|
|
9575
|
+
statusCode: 'number',
|
|
8849
9576
|
};
|
|
8850
9577
|
}
|
|
8851
9578
|
|
|
@@ -8854,10 +9581,10 @@ export class UpdateHotelSceneItemResponseBody extends $tea.Model {
|
|
|
8854
9581
|
}
|
|
8855
9582
|
}
|
|
8856
9583
|
|
|
8857
|
-
export class
|
|
9584
|
+
export class UpdateMessageTemplateResponse extends $tea.Model {
|
|
8858
9585
|
headers: { [key: string]: string };
|
|
8859
9586
|
statusCode: number;
|
|
8860
|
-
body:
|
|
9587
|
+
body: UpdateMessageTemplateResponseBody;
|
|
8861
9588
|
static names(): { [key: string]: string } {
|
|
8862
9589
|
return {
|
|
8863
9590
|
headers: 'headers',
|
|
@@ -8870,7 +9597,7 @@ export class UpdateHotelSceneItemResponse extends $tea.Model {
|
|
|
8870
9597
|
return {
|
|
8871
9598
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8872
9599
|
statusCode: 'number',
|
|
8873
|
-
body:
|
|
9600
|
+
body: UpdateMessageTemplateResponseBody,
|
|
8874
9601
|
};
|
|
8875
9602
|
}
|
|
8876
9603
|
|
|
@@ -8879,7 +9606,7 @@ export class UpdateHotelSceneItemResponse extends $tea.Model {
|
|
|
8879
9606
|
}
|
|
8880
9607
|
}
|
|
8881
9608
|
|
|
8882
|
-
export class
|
|
9609
|
+
export class UpdateRcuSceneHeaders extends $tea.Model {
|
|
8883
9610
|
commonHeaders?: { [key: string]: string };
|
|
8884
9611
|
xAcsAligenieAccessToken?: string;
|
|
8885
9612
|
authorization?: string;
|
|
@@ -8904,23 +9631,23 @@ export class UpdateMessageTemplateHeaders extends $tea.Model {
|
|
|
8904
9631
|
}
|
|
8905
9632
|
}
|
|
8906
9633
|
|
|
8907
|
-
export class
|
|
8908
|
-
|
|
8909
|
-
|
|
8910
|
-
|
|
9634
|
+
export class UpdateRcuSceneRequest extends $tea.Model {
|
|
9635
|
+
hotelId?: string;
|
|
9636
|
+
sceneId?: string;
|
|
9637
|
+
sceneRelationExtDTO?: UpdateRcuSceneRequestSceneRelationExtDTO;
|
|
8911
9638
|
static names(): { [key: string]: string } {
|
|
8912
9639
|
return {
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
9640
|
+
hotelId: 'HotelId',
|
|
9641
|
+
sceneId: 'SceneId',
|
|
9642
|
+
sceneRelationExtDTO: 'SceneRelationExtDTO',
|
|
8916
9643
|
};
|
|
8917
9644
|
}
|
|
8918
9645
|
|
|
8919
9646
|
static types(): { [key: string]: any } {
|
|
8920
9647
|
return {
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
9648
|
+
hotelId: 'string',
|
|
9649
|
+
sceneId: 'string',
|
|
9650
|
+
sceneRelationExtDTO: UpdateRcuSceneRequestSceneRelationExtDTO,
|
|
8924
9651
|
};
|
|
8925
9652
|
}
|
|
8926
9653
|
|
|
@@ -8929,7 +9656,32 @@ export class UpdateMessageTemplateRequest extends $tea.Model {
|
|
|
8929
9656
|
}
|
|
8930
9657
|
}
|
|
8931
9658
|
|
|
8932
|
-
export class
|
|
9659
|
+
export class UpdateRcuSceneShrinkRequest extends $tea.Model {
|
|
9660
|
+
hotelId?: string;
|
|
9661
|
+
sceneId?: string;
|
|
9662
|
+
sceneRelationExtDTOShrink?: string;
|
|
9663
|
+
static names(): { [key: string]: string } {
|
|
9664
|
+
return {
|
|
9665
|
+
hotelId: 'HotelId',
|
|
9666
|
+
sceneId: 'SceneId',
|
|
9667
|
+
sceneRelationExtDTOShrink: 'SceneRelationExtDTO',
|
|
9668
|
+
};
|
|
9669
|
+
}
|
|
9670
|
+
|
|
9671
|
+
static types(): { [key: string]: any } {
|
|
9672
|
+
return {
|
|
9673
|
+
hotelId: 'string',
|
|
9674
|
+
sceneId: 'string',
|
|
9675
|
+
sceneRelationExtDTOShrink: 'string',
|
|
9676
|
+
};
|
|
9677
|
+
}
|
|
9678
|
+
|
|
9679
|
+
constructor(map?: { [key: string]: any }) {
|
|
9680
|
+
super(map);
|
|
9681
|
+
}
|
|
9682
|
+
}
|
|
9683
|
+
|
|
9684
|
+
export class UpdateRcuSceneResponseBody extends $tea.Model {
|
|
8933
9685
|
message?: string;
|
|
8934
9686
|
requestId?: string;
|
|
8935
9687
|
result?: boolean;
|
|
@@ -8957,10 +9709,10 @@ export class UpdateMessageTemplateResponseBody extends $tea.Model {
|
|
|
8957
9709
|
}
|
|
8958
9710
|
}
|
|
8959
9711
|
|
|
8960
|
-
export class
|
|
9712
|
+
export class UpdateRcuSceneResponse extends $tea.Model {
|
|
8961
9713
|
headers: { [key: string]: string };
|
|
8962
9714
|
statusCode: number;
|
|
8963
|
-
body:
|
|
9715
|
+
body: UpdateRcuSceneResponseBody;
|
|
8964
9716
|
static names(): { [key: string]: string } {
|
|
8965
9717
|
return {
|
|
8966
9718
|
headers: 'headers',
|
|
@@ -8973,7 +9725,7 @@ export class UpdateMessageTemplateResponse extends $tea.Model {
|
|
|
8973
9725
|
return {
|
|
8974
9726
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8975
9727
|
statusCode: 'number',
|
|
8976
|
-
body:
|
|
9728
|
+
body: UpdateRcuSceneResponseBody,
|
|
8977
9729
|
};
|
|
8978
9730
|
}
|
|
8979
9731
|
|
|
@@ -9294,6 +10046,28 @@ export class AuditHotelRequestAuditHotelReq extends $tea.Model {
|
|
|
9294
10046
|
}
|
|
9295
10047
|
}
|
|
9296
10048
|
|
|
10049
|
+
export class ControlRoomDeviceResponseBodyResult extends $tea.Model {
|
|
10050
|
+
message?: string;
|
|
10051
|
+
status?: number;
|
|
10052
|
+
static names(): { [key: string]: string } {
|
|
10053
|
+
return {
|
|
10054
|
+
message: 'Message',
|
|
10055
|
+
status: 'Status',
|
|
10056
|
+
};
|
|
10057
|
+
}
|
|
10058
|
+
|
|
10059
|
+
static types(): { [key: string]: any } {
|
|
10060
|
+
return {
|
|
10061
|
+
message: 'string',
|
|
10062
|
+
status: 'number',
|
|
10063
|
+
};
|
|
10064
|
+
}
|
|
10065
|
+
|
|
10066
|
+
constructor(map?: { [key: string]: any }) {
|
|
10067
|
+
super(map);
|
|
10068
|
+
}
|
|
10069
|
+
}
|
|
10070
|
+
|
|
9297
10071
|
export class CreateHotelAlarmRequestScheduleInfoOnce extends $tea.Model {
|
|
9298
10072
|
day?: number;
|
|
9299
10073
|
hour?: number;
|
|
@@ -9406,6 +10180,34 @@ export class CreateHotelAlarmResponseBodyResult extends $tea.Model {
|
|
|
9406
10180
|
}
|
|
9407
10181
|
}
|
|
9408
10182
|
|
|
10183
|
+
export class CreateRcuSceneRequestSceneRelationExtDTO extends $tea.Model {
|
|
10184
|
+
corpusList?: string[];
|
|
10185
|
+
description?: string;
|
|
10186
|
+
icon?: string;
|
|
10187
|
+
name?: string;
|
|
10188
|
+
static names(): { [key: string]: string } {
|
|
10189
|
+
return {
|
|
10190
|
+
corpusList: 'CorpusList',
|
|
10191
|
+
description: 'Description',
|
|
10192
|
+
icon: 'Icon',
|
|
10193
|
+
name: 'Name',
|
|
10194
|
+
};
|
|
10195
|
+
}
|
|
10196
|
+
|
|
10197
|
+
static types(): { [key: string]: any } {
|
|
10198
|
+
return {
|
|
10199
|
+
corpusList: { 'type': 'array', 'itemType': 'string' },
|
|
10200
|
+
description: 'string',
|
|
10201
|
+
icon: 'string',
|
|
10202
|
+
name: 'string',
|
|
10203
|
+
};
|
|
10204
|
+
}
|
|
10205
|
+
|
|
10206
|
+
constructor(map?: { [key: string]: any }) {
|
|
10207
|
+
super(map);
|
|
10208
|
+
}
|
|
10209
|
+
}
|
|
10210
|
+
|
|
9409
10211
|
export class DeleteHotelAlarmRequestAlarms extends $tea.Model {
|
|
9410
10212
|
alarmId?: number;
|
|
9411
10213
|
deviceOpenId?: string;
|
|
@@ -10460,6 +11262,56 @@ export class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model {
|
|
|
10460
11262
|
}
|
|
10461
11263
|
}
|
|
10462
11264
|
|
|
11265
|
+
export class ImportHotelConfigRequestImportHotelConfigRequestRcuCustomScenes extends $tea.Model {
|
|
11266
|
+
corpusList?: string[];
|
|
11267
|
+
description?: string;
|
|
11268
|
+
icon?: string;
|
|
11269
|
+
name?: string;
|
|
11270
|
+
sceneId?: string;
|
|
11271
|
+
static names(): { [key: string]: string } {
|
|
11272
|
+
return {
|
|
11273
|
+
corpusList: 'CorpusList',
|
|
11274
|
+
description: 'Description',
|
|
11275
|
+
icon: 'Icon',
|
|
11276
|
+
name: 'Name',
|
|
11277
|
+
sceneId: 'SceneId',
|
|
11278
|
+
};
|
|
11279
|
+
}
|
|
11280
|
+
|
|
11281
|
+
static types(): { [key: string]: any } {
|
|
11282
|
+
return {
|
|
11283
|
+
corpusList: { 'type': 'array', 'itemType': 'string' },
|
|
11284
|
+
description: 'string',
|
|
11285
|
+
icon: 'string',
|
|
11286
|
+
name: 'string',
|
|
11287
|
+
sceneId: 'string',
|
|
11288
|
+
};
|
|
11289
|
+
}
|
|
11290
|
+
|
|
11291
|
+
constructor(map?: { [key: string]: any }) {
|
|
11292
|
+
super(map);
|
|
11293
|
+
}
|
|
11294
|
+
}
|
|
11295
|
+
|
|
11296
|
+
export class ImportHotelConfigRequestImportHotelConfigRequest extends $tea.Model {
|
|
11297
|
+
rcuCustomScenes?: ImportHotelConfigRequestImportHotelConfigRequestRcuCustomScenes[];
|
|
11298
|
+
static names(): { [key: string]: string } {
|
|
11299
|
+
return {
|
|
11300
|
+
rcuCustomScenes: 'RcuCustomScenes',
|
|
11301
|
+
};
|
|
11302
|
+
}
|
|
11303
|
+
|
|
11304
|
+
static types(): { [key: string]: any } {
|
|
11305
|
+
return {
|
|
11306
|
+
rcuCustomScenes: { 'type': 'array', 'itemType': ImportHotelConfigRequestImportHotelConfigRequestRcuCustomScenes },
|
|
11307
|
+
};
|
|
11308
|
+
}
|
|
11309
|
+
|
|
11310
|
+
constructor(map?: { [key: string]: any }) {
|
|
11311
|
+
super(map);
|
|
11312
|
+
}
|
|
11313
|
+
}
|
|
11314
|
+
|
|
10463
11315
|
export class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
|
|
10464
11316
|
deviceName?: string;
|
|
10465
11317
|
name?: string;
|
|
@@ -12341,11 +13193,13 @@ export class QueryHotelRoomDetailResponseBodyResult extends $tea.Model {
|
|
|
12341
13193
|
}
|
|
12342
13194
|
|
|
12343
13195
|
export class QueryRoomControlDevicesResponseBodyResultDevices extends $tea.Model {
|
|
13196
|
+
connectType?: string;
|
|
12344
13197
|
deviceName?: string;
|
|
12345
13198
|
name?: string;
|
|
12346
13199
|
number?: string;
|
|
12347
13200
|
static names(): { [key: string]: string } {
|
|
12348
13201
|
return {
|
|
13202
|
+
connectType: 'ConnectType',
|
|
12349
13203
|
deviceName: 'DeviceName',
|
|
12350
13204
|
name: 'Name',
|
|
12351
13205
|
number: 'Number',
|
|
@@ -12354,6 +13208,7 @@ export class QueryRoomControlDevicesResponseBodyResultDevices extends $tea.Model
|
|
|
12354
13208
|
|
|
12355
13209
|
static types(): { [key: string]: any } {
|
|
12356
13210
|
return {
|
|
13211
|
+
connectType: 'string',
|
|
12357
13212
|
deviceName: 'string',
|
|
12358
13213
|
name: 'string',
|
|
12359
13214
|
number: 'string',
|
|
@@ -12390,6 +13245,71 @@ export class QueryRoomControlDevicesResponseBodyResult extends $tea.Model {
|
|
|
12390
13245
|
}
|
|
12391
13246
|
}
|
|
12392
13247
|
|
|
13248
|
+
export class QuerySceneListResponseBodyResultsTemplateInfoDTOList extends $tea.Model {
|
|
13249
|
+
description?: string;
|
|
13250
|
+
id?: number;
|
|
13251
|
+
name?: string;
|
|
13252
|
+
static names(): { [key: string]: string } {
|
|
13253
|
+
return {
|
|
13254
|
+
description: 'Description',
|
|
13255
|
+
id: 'Id',
|
|
13256
|
+
name: 'Name',
|
|
13257
|
+
};
|
|
13258
|
+
}
|
|
13259
|
+
|
|
13260
|
+
static types(): { [key: string]: any } {
|
|
13261
|
+
return {
|
|
13262
|
+
description: 'string',
|
|
13263
|
+
id: 'number',
|
|
13264
|
+
name: 'string',
|
|
13265
|
+
};
|
|
13266
|
+
}
|
|
13267
|
+
|
|
13268
|
+
constructor(map?: { [key: string]: any }) {
|
|
13269
|
+
super(map);
|
|
13270
|
+
}
|
|
13271
|
+
}
|
|
13272
|
+
|
|
13273
|
+
export class QuerySceneListResponseBodyResults extends $tea.Model {
|
|
13274
|
+
icon?: string;
|
|
13275
|
+
sceneId?: string;
|
|
13276
|
+
sceneName?: string;
|
|
13277
|
+
sceneSource?: string;
|
|
13278
|
+
sceneState?: number;
|
|
13279
|
+
sceneType?: string;
|
|
13280
|
+
templateInfoDTOList?: QuerySceneListResponseBodyResultsTemplateInfoDTOList[];
|
|
13281
|
+
unavailableReason?: string;
|
|
13282
|
+
static names(): { [key: string]: string } {
|
|
13283
|
+
return {
|
|
13284
|
+
icon: 'Icon',
|
|
13285
|
+
sceneId: 'SceneId',
|
|
13286
|
+
sceneName: 'SceneName',
|
|
13287
|
+
sceneSource: 'SceneSource',
|
|
13288
|
+
sceneState: 'SceneState',
|
|
13289
|
+
sceneType: 'SceneType',
|
|
13290
|
+
templateInfoDTOList: 'TemplateInfoDTOList',
|
|
13291
|
+
unavailableReason: 'UnavailableReason',
|
|
13292
|
+
};
|
|
13293
|
+
}
|
|
13294
|
+
|
|
13295
|
+
static types(): { [key: string]: any } {
|
|
13296
|
+
return {
|
|
13297
|
+
icon: 'string',
|
|
13298
|
+
sceneId: 'string',
|
|
13299
|
+
sceneName: 'string',
|
|
13300
|
+
sceneSource: 'string',
|
|
13301
|
+
sceneState: 'number',
|
|
13302
|
+
sceneType: 'string',
|
|
13303
|
+
templateInfoDTOList: { 'type': 'array', 'itemType': QuerySceneListResponseBodyResultsTemplateInfoDTOList },
|
|
13304
|
+
unavailableReason: 'string',
|
|
13305
|
+
};
|
|
13306
|
+
}
|
|
13307
|
+
|
|
13308
|
+
constructor(map?: { [key: string]: any }) {
|
|
13309
|
+
super(map);
|
|
13310
|
+
}
|
|
13311
|
+
}
|
|
13312
|
+
|
|
12393
13313
|
export class RoomCheckOutRequestDeviceInfo extends $tea.Model {
|
|
12394
13314
|
encodeKey?: string;
|
|
12395
13315
|
encodeType?: string;
|
|
@@ -12757,6 +13677,34 @@ export class UpdateHotelSceneItemRequestUpdateHotelSceneReq extends $tea.Model {
|
|
|
12757
13677
|
}
|
|
12758
13678
|
}
|
|
12759
13679
|
|
|
13680
|
+
export class UpdateRcuSceneRequestSceneRelationExtDTO extends $tea.Model {
|
|
13681
|
+
corpusList?: string[];
|
|
13682
|
+
description?: string;
|
|
13683
|
+
icon?: string;
|
|
13684
|
+
name?: string;
|
|
13685
|
+
static names(): { [key: string]: string } {
|
|
13686
|
+
return {
|
|
13687
|
+
corpusList: 'CorpusList',
|
|
13688
|
+
description: 'Description',
|
|
13689
|
+
icon: 'Icon',
|
|
13690
|
+
name: 'Name',
|
|
13691
|
+
};
|
|
13692
|
+
}
|
|
13693
|
+
|
|
13694
|
+
static types(): { [key: string]: any } {
|
|
13695
|
+
return {
|
|
13696
|
+
corpusList: { 'type': 'array', 'itemType': 'string' },
|
|
13697
|
+
description: 'string',
|
|
13698
|
+
icon: 'string',
|
|
13699
|
+
name: 'string',
|
|
13700
|
+
};
|
|
13701
|
+
}
|
|
13702
|
+
|
|
13703
|
+
constructor(map?: { [key: string]: any }) {
|
|
13704
|
+
super(map);
|
|
13705
|
+
}
|
|
13706
|
+
}
|
|
13707
|
+
|
|
12760
13708
|
|
|
12761
13709
|
export default class Client extends OpenApi {
|
|
12762
13710
|
|
|
@@ -13379,42 +14327,108 @@ export default class Client extends OpenApi {
|
|
|
13379
14327
|
body: OpenApiUtil.parseToMap(body),
|
|
13380
14328
|
});
|
|
13381
14329
|
let params = new $OpenApi.Params({
|
|
13382
|
-
action: "CheckoutWithAK",
|
|
14330
|
+
action: "CheckoutWithAK",
|
|
14331
|
+
version: "ip_1.0",
|
|
14332
|
+
protocol: "HTTPS",
|
|
14333
|
+
pathname: `/v1.0/ip/checkoutWithAK`,
|
|
14334
|
+
method: "POST",
|
|
14335
|
+
authType: "AK",
|
|
14336
|
+
style: "ROA",
|
|
14337
|
+
reqBodyType: "formData",
|
|
14338
|
+
bodyType: "json",
|
|
14339
|
+
});
|
|
14340
|
+
return $tea.cast<CheckoutWithAKResponse>(await this.callApi(params, req, runtime), new CheckoutWithAKResponse({}));
|
|
14341
|
+
}
|
|
14342
|
+
|
|
14343
|
+
async checkoutWithAK(request: CheckoutWithAKRequest): Promise<CheckoutWithAKResponse> {
|
|
14344
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14345
|
+
let headers = new CheckoutWithAKHeaders({ });
|
|
14346
|
+
return await this.checkoutWithAKWithOptions(request, headers, runtime);
|
|
14347
|
+
}
|
|
14348
|
+
|
|
14349
|
+
async childAccountAuthWithOptions(request: ChildAccountAuthRequest, headers: ChildAccountAuthHeaders, runtime: $Util.RuntimeOptions): Promise<ChildAccountAuthResponse> {
|
|
14350
|
+
Util.validateModel(request);
|
|
14351
|
+
let body : {[key: string ]: any} = { };
|
|
14352
|
+
if (!Util.isUnset(request.account)) {
|
|
14353
|
+
body["Account"] = request.account;
|
|
14354
|
+
}
|
|
14355
|
+
|
|
14356
|
+
if (!Util.isUnset(request.appKey)) {
|
|
14357
|
+
body["AppKey"] = request.appKey;
|
|
14358
|
+
}
|
|
14359
|
+
|
|
14360
|
+
if (!Util.isUnset(request.hotelId)) {
|
|
14361
|
+
body["HotelId"] = request.hotelId;
|
|
14362
|
+
}
|
|
14363
|
+
|
|
14364
|
+
if (!Util.isUnset(request.tbOpenId)) {
|
|
14365
|
+
body["TbOpenId"] = request.tbOpenId;
|
|
14366
|
+
}
|
|
14367
|
+
|
|
14368
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
14369
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
14370
|
+
realHeaders = headers.commonHeaders;
|
|
14371
|
+
}
|
|
14372
|
+
|
|
14373
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
14374
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
14375
|
+
}
|
|
14376
|
+
|
|
14377
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
14378
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
14379
|
+
}
|
|
14380
|
+
|
|
14381
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14382
|
+
headers: realHeaders,
|
|
14383
|
+
body: OpenApiUtil.parseToMap(body),
|
|
14384
|
+
});
|
|
14385
|
+
let params = new $OpenApi.Params({
|
|
14386
|
+
action: "ChildAccountAuth",
|
|
13383
14387
|
version: "ip_1.0",
|
|
13384
14388
|
protocol: "HTTPS",
|
|
13385
|
-
pathname: `/v1.0/ip/
|
|
14389
|
+
pathname: `/v1.0/ip/childAccountAuth`,
|
|
13386
14390
|
method: "POST",
|
|
13387
14391
|
authType: "AK",
|
|
13388
14392
|
style: "ROA",
|
|
13389
14393
|
reqBodyType: "formData",
|
|
13390
14394
|
bodyType: "json",
|
|
13391
14395
|
});
|
|
13392
|
-
return $tea.cast<
|
|
14396
|
+
return $tea.cast<ChildAccountAuthResponse>(await this.callApi(params, req, runtime), new ChildAccountAuthResponse({}));
|
|
13393
14397
|
}
|
|
13394
14398
|
|
|
13395
|
-
async
|
|
14399
|
+
async childAccountAuth(request: ChildAccountAuthRequest): Promise<ChildAccountAuthResponse> {
|
|
13396
14400
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13397
|
-
let headers = new
|
|
13398
|
-
return await this.
|
|
14401
|
+
let headers = new ChildAccountAuthHeaders({ });
|
|
14402
|
+
return await this.childAccountAuthWithOptions(request, headers, runtime);
|
|
13399
14403
|
}
|
|
13400
14404
|
|
|
13401
|
-
async
|
|
13402
|
-
Util.validateModel(
|
|
14405
|
+
async controlRoomDeviceWithOptions(tmpReq: ControlRoomDeviceRequest, headers: ControlRoomDeviceHeaders, runtime: $Util.RuntimeOptions): Promise<ControlRoomDeviceResponse> {
|
|
14406
|
+
Util.validateModel(tmpReq);
|
|
14407
|
+
let request = new ControlRoomDeviceShrinkRequest({ });
|
|
14408
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
14409
|
+
if (!Util.isUnset(tmpReq.properties)) {
|
|
14410
|
+
request.propertiesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.properties, "Properties", "json");
|
|
14411
|
+
}
|
|
14412
|
+
|
|
13403
14413
|
let body : {[key: string ]: any} = { };
|
|
13404
|
-
if (!Util.isUnset(request.
|
|
13405
|
-
body["
|
|
14414
|
+
if (!Util.isUnset(request.cmd)) {
|
|
14415
|
+
body["Cmd"] = request.cmd;
|
|
13406
14416
|
}
|
|
13407
14417
|
|
|
13408
|
-
if (!Util.isUnset(request.
|
|
13409
|
-
body["
|
|
14418
|
+
if (!Util.isUnset(request.deviceNumber)) {
|
|
14419
|
+
body["DeviceNumber"] = request.deviceNumber;
|
|
13410
14420
|
}
|
|
13411
14421
|
|
|
13412
14422
|
if (!Util.isUnset(request.hotelId)) {
|
|
13413
14423
|
body["HotelId"] = request.hotelId;
|
|
13414
14424
|
}
|
|
13415
14425
|
|
|
13416
|
-
if (!Util.isUnset(request.
|
|
13417
|
-
body["
|
|
14426
|
+
if (!Util.isUnset(request.propertiesShrink)) {
|
|
14427
|
+
body["Properties"] = request.propertiesShrink;
|
|
14428
|
+
}
|
|
14429
|
+
|
|
14430
|
+
if (!Util.isUnset(request.roomNo)) {
|
|
14431
|
+
body["RoomNo"] = request.roomNo;
|
|
13418
14432
|
}
|
|
13419
14433
|
|
|
13420
14434
|
let realHeaders : {[key: string ]: string} = { };
|
|
@@ -13435,23 +14449,23 @@ export default class Client extends OpenApi {
|
|
|
13435
14449
|
body: OpenApiUtil.parseToMap(body),
|
|
13436
14450
|
});
|
|
13437
14451
|
let params = new $OpenApi.Params({
|
|
13438
|
-
action: "
|
|
14452
|
+
action: "ControlRoomDevice",
|
|
13439
14453
|
version: "ip_1.0",
|
|
13440
14454
|
protocol: "HTTPS",
|
|
13441
|
-
pathname: `/v1.0/ip/
|
|
14455
|
+
pathname: `/v1.0/ip/controlRoomDevice`,
|
|
13442
14456
|
method: "POST",
|
|
13443
14457
|
authType: "AK",
|
|
13444
14458
|
style: "ROA",
|
|
13445
14459
|
reqBodyType: "formData",
|
|
13446
14460
|
bodyType: "json",
|
|
13447
14461
|
});
|
|
13448
|
-
return $tea.cast<
|
|
14462
|
+
return $tea.cast<ControlRoomDeviceResponse>(await this.callApi(params, req, runtime), new ControlRoomDeviceResponse({}));
|
|
13449
14463
|
}
|
|
13450
14464
|
|
|
13451
|
-
async
|
|
14465
|
+
async controlRoomDevice(request: ControlRoomDeviceRequest): Promise<ControlRoomDeviceResponse> {
|
|
13452
14466
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13453
|
-
let headers = new
|
|
13454
|
-
return await this.
|
|
14467
|
+
let headers = new ControlRoomDeviceHeaders({ });
|
|
14468
|
+
return await this.controlRoomDeviceWithOptions(request, headers, runtime);
|
|
13455
14469
|
}
|
|
13456
14470
|
|
|
13457
14471
|
async createHotelWithOptions(tmpReq: CreateHotelRequest, headers: CreateHotelHeaders, runtime: $Util.RuntimeOptions): Promise<CreateHotelResponse> {
|
|
@@ -13610,6 +14624,64 @@ export default class Client extends OpenApi {
|
|
|
13610
14624
|
return await this.createHotelAlarmWithOptions(request, headers, runtime);
|
|
13611
14625
|
}
|
|
13612
14626
|
|
|
14627
|
+
async createRcuSceneWithOptions(tmpReq: CreateRcuSceneRequest, headers: CreateRcuSceneHeaders, runtime: $Util.RuntimeOptions): Promise<CreateRcuSceneResponse> {
|
|
14628
|
+
Util.validateModel(tmpReq);
|
|
14629
|
+
let request = new CreateRcuSceneShrinkRequest({ });
|
|
14630
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
14631
|
+
if (!Util.isUnset(tmpReq.sceneRelationExtDTO)) {
|
|
14632
|
+
request.sceneRelationExtDTOShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sceneRelationExtDTO, "SceneRelationExtDTO", "json");
|
|
14633
|
+
}
|
|
14634
|
+
|
|
14635
|
+
let body : {[key: string ]: any} = { };
|
|
14636
|
+
if (!Util.isUnset(request.hotelId)) {
|
|
14637
|
+
body["HotelId"] = request.hotelId;
|
|
14638
|
+
}
|
|
14639
|
+
|
|
14640
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
14641
|
+
body["SceneId"] = request.sceneId;
|
|
14642
|
+
}
|
|
14643
|
+
|
|
14644
|
+
if (!Util.isUnset(request.sceneRelationExtDTOShrink)) {
|
|
14645
|
+
body["SceneRelationExtDTO"] = request.sceneRelationExtDTOShrink;
|
|
14646
|
+
}
|
|
14647
|
+
|
|
14648
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
14649
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
14650
|
+
realHeaders = headers.commonHeaders;
|
|
14651
|
+
}
|
|
14652
|
+
|
|
14653
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
14654
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
14655
|
+
}
|
|
14656
|
+
|
|
14657
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
14658
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
14659
|
+
}
|
|
14660
|
+
|
|
14661
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14662
|
+
headers: realHeaders,
|
|
14663
|
+
body: OpenApiUtil.parseToMap(body),
|
|
14664
|
+
});
|
|
14665
|
+
let params = new $OpenApi.Params({
|
|
14666
|
+
action: "CreateRcuScene",
|
|
14667
|
+
version: "ip_1.0",
|
|
14668
|
+
protocol: "HTTPS",
|
|
14669
|
+
pathname: `/v1.0/ip/createRcuScene`,
|
|
14670
|
+
method: "POST",
|
|
14671
|
+
authType: "AK",
|
|
14672
|
+
style: "ROA",
|
|
14673
|
+
reqBodyType: "formData",
|
|
14674
|
+
bodyType: "json",
|
|
14675
|
+
});
|
|
14676
|
+
return $tea.cast<CreateRcuSceneResponse>(await this.callApi(params, req, runtime), new CreateRcuSceneResponse({}));
|
|
14677
|
+
}
|
|
14678
|
+
|
|
14679
|
+
async createRcuScene(request: CreateRcuSceneRequest): Promise<CreateRcuSceneResponse> {
|
|
14680
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14681
|
+
let headers = new CreateRcuSceneHeaders({ });
|
|
14682
|
+
return await this.createRcuSceneWithOptions(request, headers, runtime);
|
|
14683
|
+
}
|
|
14684
|
+
|
|
13613
14685
|
async deleteCartoonWithOptions(request: DeleteCartoonRequest, headers: DeleteCartoonHeaders, runtime: $Util.RuntimeOptions): Promise<DeleteCartoonResponse> {
|
|
13614
14686
|
Util.validateModel(request);
|
|
13615
14687
|
let body : {[key: string ]: any} = { };
|
|
@@ -13902,6 +14974,54 @@ export default class Client extends OpenApi {
|
|
|
13902
14974
|
return await this.deleteMessageTemplateWithOptions(request, headers, runtime);
|
|
13903
14975
|
}
|
|
13904
14976
|
|
|
14977
|
+
async deleteRcuSceneWithOptions(request: DeleteRcuSceneRequest, headers: DeleteRcuSceneHeaders, runtime: $Util.RuntimeOptions): Promise<DeleteRcuSceneResponse> {
|
|
14978
|
+
Util.validateModel(request);
|
|
14979
|
+
let body : {[key: string ]: any} = { };
|
|
14980
|
+
if (!Util.isUnset(request.hotelId)) {
|
|
14981
|
+
body["HotelId"] = request.hotelId;
|
|
14982
|
+
}
|
|
14983
|
+
|
|
14984
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
14985
|
+
body["SceneId"] = request.sceneId;
|
|
14986
|
+
}
|
|
14987
|
+
|
|
14988
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
14989
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
14990
|
+
realHeaders = headers.commonHeaders;
|
|
14991
|
+
}
|
|
14992
|
+
|
|
14993
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
14994
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
14995
|
+
}
|
|
14996
|
+
|
|
14997
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
14998
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
14999
|
+
}
|
|
15000
|
+
|
|
15001
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15002
|
+
headers: realHeaders,
|
|
15003
|
+
body: OpenApiUtil.parseToMap(body),
|
|
15004
|
+
});
|
|
15005
|
+
let params = new $OpenApi.Params({
|
|
15006
|
+
action: "DeleteRcuScene",
|
|
15007
|
+
version: "ip_1.0",
|
|
15008
|
+
protocol: "HTTPS",
|
|
15009
|
+
pathname: `/v1.0/ip/deleteRcuScene`,
|
|
15010
|
+
method: "POST",
|
|
15011
|
+
authType: "AK",
|
|
15012
|
+
style: "ROA",
|
|
15013
|
+
reqBodyType: "formData",
|
|
15014
|
+
bodyType: "json",
|
|
15015
|
+
});
|
|
15016
|
+
return $tea.cast<DeleteRcuSceneResponse>(await this.callApi(params, req, runtime), new DeleteRcuSceneResponse({}));
|
|
15017
|
+
}
|
|
15018
|
+
|
|
15019
|
+
async deleteRcuScene(request: DeleteRcuSceneRequest): Promise<DeleteRcuSceneResponse> {
|
|
15020
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15021
|
+
let headers = new DeleteRcuSceneHeaders({ });
|
|
15022
|
+
return await this.deleteRcuSceneWithOptions(request, headers, runtime);
|
|
15023
|
+
}
|
|
15024
|
+
|
|
13905
15025
|
async deviceControlWithOptions(tmpReq: DeviceControlRequest, headers: DeviceControlHeaders, runtime: $Util.RuntimeOptions): Promise<DeviceControlResponse> {
|
|
13906
15026
|
Util.validateModel(tmpReq);
|
|
13907
15027
|
let request = new DeviceControlShrinkRequest({ });
|
|
@@ -14837,6 +15957,60 @@ export default class Client extends OpenApi {
|
|
|
14837
15957
|
return await this.getWelcomeTextAndMusicWithOptions(request, headers, runtime);
|
|
14838
15958
|
}
|
|
14839
15959
|
|
|
15960
|
+
async importHotelConfigWithOptions(tmpReq: ImportHotelConfigRequest, headers: ImportHotelConfigHeaders, runtime: $Util.RuntimeOptions): Promise<ImportHotelConfigResponse> {
|
|
15961
|
+
Util.validateModel(tmpReq);
|
|
15962
|
+
let request = new ImportHotelConfigShrinkRequest({ });
|
|
15963
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
15964
|
+
if (!Util.isUnset(tmpReq.importHotelConfigRequest)) {
|
|
15965
|
+
request.importHotelConfigRequestShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.importHotelConfigRequest, "ImportHotelConfigRequest", "json");
|
|
15966
|
+
}
|
|
15967
|
+
|
|
15968
|
+
let body : {[key: string ]: any} = { };
|
|
15969
|
+
if (!Util.isUnset(request.hotelId)) {
|
|
15970
|
+
body["HotelId"] = request.hotelId;
|
|
15971
|
+
}
|
|
15972
|
+
|
|
15973
|
+
if (!Util.isUnset(request.importHotelConfigRequestShrink)) {
|
|
15974
|
+
body["ImportHotelConfigRequest"] = request.importHotelConfigRequestShrink;
|
|
15975
|
+
}
|
|
15976
|
+
|
|
15977
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
15978
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
15979
|
+
realHeaders = headers.commonHeaders;
|
|
15980
|
+
}
|
|
15981
|
+
|
|
15982
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
15983
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
15984
|
+
}
|
|
15985
|
+
|
|
15986
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
15987
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
15988
|
+
}
|
|
15989
|
+
|
|
15990
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15991
|
+
headers: realHeaders,
|
|
15992
|
+
body: OpenApiUtil.parseToMap(body),
|
|
15993
|
+
});
|
|
15994
|
+
let params = new $OpenApi.Params({
|
|
15995
|
+
action: "ImportHotelConfig",
|
|
15996
|
+
version: "ip_1.0",
|
|
15997
|
+
protocol: "HTTPS",
|
|
15998
|
+
pathname: `/v1.0/ip/importHotelConfig`,
|
|
15999
|
+
method: "POST",
|
|
16000
|
+
authType: "AK",
|
|
16001
|
+
style: "ROA",
|
|
16002
|
+
reqBodyType: "formData",
|
|
16003
|
+
bodyType: "json",
|
|
16004
|
+
});
|
|
16005
|
+
return $tea.cast<ImportHotelConfigResponse>(await this.callApi(params, req, runtime), new ImportHotelConfigResponse({}));
|
|
16006
|
+
}
|
|
16007
|
+
|
|
16008
|
+
async importHotelConfig(request: ImportHotelConfigRequest): Promise<ImportHotelConfigResponse> {
|
|
16009
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16010
|
+
let headers = new ImportHotelConfigHeaders({ });
|
|
16011
|
+
return await this.importHotelConfigWithOptions(request, headers, runtime);
|
|
16012
|
+
}
|
|
16013
|
+
|
|
14840
16014
|
async importRoomControlDevicesWithOptions(tmpReq: ImportRoomControlDevicesRequest, headers: ImportRoomControlDevicesHeaders, runtime: $Util.RuntimeOptions): Promise<ImportRoomControlDevicesResponse> {
|
|
14841
16015
|
Util.validateModel(tmpReq);
|
|
14842
16016
|
let request = new ImportRoomControlDevicesShrinkRequest({ });
|
|
@@ -16191,6 +17365,76 @@ export default class Client extends OpenApi {
|
|
|
16191
17365
|
return await this.queryRoomControlDevicesWithOptions(request, headers, runtime);
|
|
16192
17366
|
}
|
|
16193
17367
|
|
|
17368
|
+
async querySceneListWithOptions(tmpReq: QuerySceneListRequest, headers: QuerySceneListHeaders, runtime: $Util.RuntimeOptions): Promise<QuerySceneListResponse> {
|
|
17369
|
+
Util.validateModel(tmpReq);
|
|
17370
|
+
let request = new QuerySceneListShrinkRequest({ });
|
|
17371
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
17372
|
+
if (!Util.isUnset(tmpReq.sceneStates)) {
|
|
17373
|
+
request.sceneStatesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sceneStates, "SceneStates", "json");
|
|
17374
|
+
}
|
|
17375
|
+
|
|
17376
|
+
if (!Util.isUnset(tmpReq.sceneTypes)) {
|
|
17377
|
+
request.sceneTypesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sceneTypes, "SceneTypes", "json");
|
|
17378
|
+
}
|
|
17379
|
+
|
|
17380
|
+
if (!Util.isUnset(tmpReq.templateInfoIds)) {
|
|
17381
|
+
request.templateInfoIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.templateInfoIds, "TemplateInfoIds", "json");
|
|
17382
|
+
}
|
|
17383
|
+
|
|
17384
|
+
let body : {[key: string ]: any} = { };
|
|
17385
|
+
if (!Util.isUnset(request.hotelId)) {
|
|
17386
|
+
body["HotelId"] = request.hotelId;
|
|
17387
|
+
}
|
|
17388
|
+
|
|
17389
|
+
if (!Util.isUnset(request.sceneStatesShrink)) {
|
|
17390
|
+
body["SceneStates"] = request.sceneStatesShrink;
|
|
17391
|
+
}
|
|
17392
|
+
|
|
17393
|
+
if (!Util.isUnset(request.sceneTypesShrink)) {
|
|
17394
|
+
body["SceneTypes"] = request.sceneTypesShrink;
|
|
17395
|
+
}
|
|
17396
|
+
|
|
17397
|
+
if (!Util.isUnset(request.templateInfoIdsShrink)) {
|
|
17398
|
+
body["TemplateInfoIds"] = request.templateInfoIdsShrink;
|
|
17399
|
+
}
|
|
17400
|
+
|
|
17401
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
17402
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
17403
|
+
realHeaders = headers.commonHeaders;
|
|
17404
|
+
}
|
|
17405
|
+
|
|
17406
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
17407
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
17408
|
+
}
|
|
17409
|
+
|
|
17410
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
17411
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
17412
|
+
}
|
|
17413
|
+
|
|
17414
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17415
|
+
headers: realHeaders,
|
|
17416
|
+
body: OpenApiUtil.parseToMap(body),
|
|
17417
|
+
});
|
|
17418
|
+
let params = new $OpenApi.Params({
|
|
17419
|
+
action: "QuerySceneList",
|
|
17420
|
+
version: "ip_1.0",
|
|
17421
|
+
protocol: "HTTPS",
|
|
17422
|
+
pathname: `/v1.0/ip/querySceneList`,
|
|
17423
|
+
method: "POST",
|
|
17424
|
+
authType: "AK",
|
|
17425
|
+
style: "ROA",
|
|
17426
|
+
reqBodyType: "formData",
|
|
17427
|
+
bodyType: "json",
|
|
17428
|
+
});
|
|
17429
|
+
return $tea.cast<QuerySceneListResponse>(await this.callApi(params, req, runtime), new QuerySceneListResponse({}));
|
|
17430
|
+
}
|
|
17431
|
+
|
|
17432
|
+
async querySceneList(request: QuerySceneListRequest): Promise<QuerySceneListResponse> {
|
|
17433
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17434
|
+
let headers = new QuerySceneListHeaders({ });
|
|
17435
|
+
return await this.querySceneListWithOptions(request, headers, runtime);
|
|
17436
|
+
}
|
|
17437
|
+
|
|
16194
17438
|
async removeChildAccountAuthWithOptions(request: RemoveChildAccountAuthRequest, headers: RemoveChildAccountAuthHeaders, runtime: $Util.RuntimeOptions): Promise<RemoveChildAccountAuthResponse> {
|
|
16195
17439
|
Util.validateModel(request);
|
|
16196
17440
|
let body : {[key: string ]: any} = { };
|
|
@@ -17045,6 +18289,64 @@ export default class Client extends OpenApi {
|
|
|
17045
18289
|
return await this.updateMessageTemplateWithOptions(request, headers, runtime);
|
|
17046
18290
|
}
|
|
17047
18291
|
|
|
18292
|
+
async updateRcuSceneWithOptions(tmpReq: UpdateRcuSceneRequest, headers: UpdateRcuSceneHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateRcuSceneResponse> {
|
|
18293
|
+
Util.validateModel(tmpReq);
|
|
18294
|
+
let request = new UpdateRcuSceneShrinkRequest({ });
|
|
18295
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
18296
|
+
if (!Util.isUnset(tmpReq.sceneRelationExtDTO)) {
|
|
18297
|
+
request.sceneRelationExtDTOShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sceneRelationExtDTO, "SceneRelationExtDTO", "json");
|
|
18298
|
+
}
|
|
18299
|
+
|
|
18300
|
+
let body : {[key: string ]: any} = { };
|
|
18301
|
+
if (!Util.isUnset(request.hotelId)) {
|
|
18302
|
+
body["HotelId"] = request.hotelId;
|
|
18303
|
+
}
|
|
18304
|
+
|
|
18305
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
18306
|
+
body["SceneId"] = request.sceneId;
|
|
18307
|
+
}
|
|
18308
|
+
|
|
18309
|
+
if (!Util.isUnset(request.sceneRelationExtDTOShrink)) {
|
|
18310
|
+
body["SceneRelationExtDTO"] = request.sceneRelationExtDTOShrink;
|
|
18311
|
+
}
|
|
18312
|
+
|
|
18313
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
18314
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
18315
|
+
realHeaders = headers.commonHeaders;
|
|
18316
|
+
}
|
|
18317
|
+
|
|
18318
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
18319
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
18320
|
+
}
|
|
18321
|
+
|
|
18322
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
18323
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
18324
|
+
}
|
|
18325
|
+
|
|
18326
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18327
|
+
headers: realHeaders,
|
|
18328
|
+
body: OpenApiUtil.parseToMap(body),
|
|
18329
|
+
});
|
|
18330
|
+
let params = new $OpenApi.Params({
|
|
18331
|
+
action: "UpdateRcuScene",
|
|
18332
|
+
version: "ip_1.0",
|
|
18333
|
+
protocol: "HTTPS",
|
|
18334
|
+
pathname: `/v1.0/ip/updateRcuScene`,
|
|
18335
|
+
method: "POST",
|
|
18336
|
+
authType: "AK",
|
|
18337
|
+
style: "ROA",
|
|
18338
|
+
reqBodyType: "formData",
|
|
18339
|
+
bodyType: "json",
|
|
18340
|
+
});
|
|
18341
|
+
return $tea.cast<UpdateRcuSceneResponse>(await this.callApi(params, req, runtime), new UpdateRcuSceneResponse({}));
|
|
18342
|
+
}
|
|
18343
|
+
|
|
18344
|
+
async updateRcuScene(request: UpdateRcuSceneRequest): Promise<UpdateRcuSceneResponse> {
|
|
18345
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18346
|
+
let headers = new UpdateRcuSceneHeaders({ });
|
|
18347
|
+
return await this.updateRcuSceneWithOptions(request, headers, runtime);
|
|
18348
|
+
}
|
|
18349
|
+
|
|
17048
18350
|
async updateServiceQAWithOptions(request: UpdateServiceQARequest, headers: UpdateServiceQAHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateServiceQAResponse> {
|
|
17049
18351
|
Util.validateModel(request);
|
|
17050
18352
|
let body : {[key: string ]: any} = { };
|