@alicloud/aligenieip_1_0 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -619,128 +619,6 @@ export class AddOrUpdateHotelSettingResponse extends $tea.Model {
619
619
  }
620
620
  }
621
621
 
622
- export class AddOrUpdateNightModeHeaders extends $tea.Model {
623
- commonHeaders?: { [key: string]: string };
624
- xAcsAligenieAccessToken?: string;
625
- authorization?: string;
626
- static names(): { [key: string]: string } {
627
- return {
628
- commonHeaders: 'commonHeaders',
629
- xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
630
- authorization: 'Authorization',
631
- };
632
- }
633
-
634
- static types(): { [key: string]: any } {
635
- return {
636
- commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
637
- xAcsAligenieAccessToken: 'string',
638
- authorization: 'string',
639
- };
640
- }
641
-
642
- constructor(map?: { [key: string]: any }) {
643
- super(map);
644
- }
645
- }
646
-
647
- export class AddOrUpdateNightModeRequest extends $tea.Model {
648
- hotelId?: string;
649
- nightMode?: AddOrUpdateNightModeRequestNightMode;
650
- static names(): { [key: string]: string } {
651
- return {
652
- hotelId: 'HotelId',
653
- nightMode: 'NightMode',
654
- };
655
- }
656
-
657
- static types(): { [key: string]: any } {
658
- return {
659
- hotelId: 'string',
660
- nightMode: AddOrUpdateNightModeRequestNightMode,
661
- };
662
- }
663
-
664
- constructor(map?: { [key: string]: any }) {
665
- super(map);
666
- }
667
- }
668
-
669
- export class AddOrUpdateNightModeShrinkRequest extends $tea.Model {
670
- hotelId?: string;
671
- nightModeShrink?: string;
672
- static names(): { [key: string]: string } {
673
- return {
674
- hotelId: 'HotelId',
675
- nightModeShrink: 'NightMode',
676
- };
677
- }
678
-
679
- static types(): { [key: string]: any } {
680
- return {
681
- hotelId: 'string',
682
- nightModeShrink: 'string',
683
- };
684
- }
685
-
686
- constructor(map?: { [key: string]: any }) {
687
- super(map);
688
- }
689
- }
690
-
691
- export class AddOrUpdateNightModeResponseBody extends $tea.Model {
692
- message?: string;
693
- requestId?: string;
694
- result?: boolean;
695
- statusCode?: number;
696
- static names(): { [key: string]: string } {
697
- return {
698
- message: 'Message',
699
- requestId: 'RequestId',
700
- result: 'Result',
701
- statusCode: 'StatusCode',
702
- };
703
- }
704
-
705
- static types(): { [key: string]: any } {
706
- return {
707
- message: 'string',
708
- requestId: 'string',
709
- result: 'boolean',
710
- statusCode: 'number',
711
- };
712
- }
713
-
714
- constructor(map?: { [key: string]: any }) {
715
- super(map);
716
- }
717
- }
718
-
719
- export class AddOrUpdateNightModeResponse extends $tea.Model {
720
- headers: { [key: string]: string };
721
- statusCode: number;
722
- body: AddOrUpdateNightModeResponseBody;
723
- static names(): { [key: string]: string } {
724
- return {
725
- headers: 'headers',
726
- statusCode: 'statusCode',
727
- body: 'body',
728
- };
729
- }
730
-
731
- static types(): { [key: string]: any } {
732
- return {
733
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
734
- statusCode: 'number',
735
- body: AddOrUpdateNightModeResponseBody,
736
- };
737
- }
738
-
739
- constructor(map?: { [key: string]: any }) {
740
- super(map);
741
- }
742
- }
743
-
744
622
  export class AddOrUpdateScreenSaverHeaders extends $tea.Model {
745
623
  commonHeaders?: { [key: string]: string };
746
624
  xAcsAligenieAccessToken?: string;
@@ -1571,6 +1449,7 @@ export class CreateHotelRequest extends $tea.Model {
1571
1449
  hotelName?: string;
1572
1450
  phoneNumber?: string;
1573
1451
  relatedPk?: string;
1452
+ relatedPks?: string[];
1574
1453
  remark?: string;
1575
1454
  roomNum?: number;
1576
1455
  tbOpenId?: string;
@@ -1583,6 +1462,7 @@ export class CreateHotelRequest extends $tea.Model {
1583
1462
  hotelName: 'HotelName',
1584
1463
  phoneNumber: 'PhoneNumber',
1585
1464
  relatedPk: 'RelatedPk',
1465
+ relatedPks: 'RelatedPks',
1586
1466
  remark: 'Remark',
1587
1467
  roomNum: 'RoomNum',
1588
1468
  tbOpenId: 'TbOpenId',
@@ -1598,6 +1478,56 @@ export class CreateHotelRequest extends $tea.Model {
1598
1478
  hotelName: 'string',
1599
1479
  phoneNumber: 'string',
1600
1480
  relatedPk: 'string',
1481
+ relatedPks: { 'type': 'array', 'itemType': 'string' },
1482
+ remark: 'string',
1483
+ roomNum: 'number',
1484
+ tbOpenId: 'string',
1485
+ };
1486
+ }
1487
+
1488
+ constructor(map?: { [key: string]: any }) {
1489
+ super(map);
1490
+ }
1491
+ }
1492
+
1493
+ export class CreateHotelShrinkRequest extends $tea.Model {
1494
+ appKey?: string;
1495
+ estOpenTime?: string;
1496
+ hotelAddress?: string;
1497
+ hotelEmail?: string;
1498
+ hotelName?: string;
1499
+ phoneNumber?: string;
1500
+ relatedPk?: string;
1501
+ relatedPksShrink?: string;
1502
+ remark?: string;
1503
+ roomNum?: number;
1504
+ tbOpenId?: string;
1505
+ static names(): { [key: string]: string } {
1506
+ return {
1507
+ appKey: 'AppKey',
1508
+ estOpenTime: 'EstOpenTime',
1509
+ hotelAddress: 'HotelAddress',
1510
+ hotelEmail: 'HotelEmail',
1511
+ hotelName: 'HotelName',
1512
+ phoneNumber: 'PhoneNumber',
1513
+ relatedPk: 'RelatedPk',
1514
+ relatedPksShrink: 'RelatedPks',
1515
+ remark: 'Remark',
1516
+ roomNum: 'RoomNum',
1517
+ tbOpenId: 'TbOpenId',
1518
+ };
1519
+ }
1520
+
1521
+ static types(): { [key: string]: any } {
1522
+ return {
1523
+ appKey: 'string',
1524
+ estOpenTime: 'string',
1525
+ hotelAddress: 'string',
1526
+ hotelEmail: 'string',
1527
+ hotelName: 'string',
1528
+ phoneNumber: 'string',
1529
+ relatedPk: 'string',
1530
+ relatedPksShrink: 'string',
1601
1531
  remark: 'string',
1602
1532
  roomNum: 'number',
1603
1533
  tbOpenId: 'string',
@@ -2759,6 +2689,128 @@ export class GetCartoonResponse extends $tea.Model {
2759
2689
  }
2760
2690
  }
2761
2691
 
2692
+ export class GetHotelContactByGenieDeviceHeaders extends $tea.Model {
2693
+ commonHeaders?: { [key: string]: string };
2694
+ xAcsAligenieAccessToken?: string;
2695
+ authorization?: string;
2696
+ static names(): { [key: string]: string } {
2697
+ return {
2698
+ commonHeaders: 'commonHeaders',
2699
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
2700
+ authorization: 'Authorization',
2701
+ };
2702
+ }
2703
+
2704
+ static types(): { [key: string]: any } {
2705
+ return {
2706
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2707
+ xAcsAligenieAccessToken: 'string',
2708
+ authorization: 'string',
2709
+ };
2710
+ }
2711
+
2712
+ constructor(map?: { [key: string]: any }) {
2713
+ super(map);
2714
+ }
2715
+ }
2716
+
2717
+ export class GetHotelContactByGenieDeviceRequest extends $tea.Model {
2718
+ deviceInfo?: GetHotelContactByGenieDeviceRequestDeviceInfo;
2719
+ userInfo?: GetHotelContactByGenieDeviceRequestUserInfo;
2720
+ static names(): { [key: string]: string } {
2721
+ return {
2722
+ deviceInfo: 'DeviceInfo',
2723
+ userInfo: 'UserInfo',
2724
+ };
2725
+ }
2726
+
2727
+ static types(): { [key: string]: any } {
2728
+ return {
2729
+ deviceInfo: GetHotelContactByGenieDeviceRequestDeviceInfo,
2730
+ userInfo: GetHotelContactByGenieDeviceRequestUserInfo,
2731
+ };
2732
+ }
2733
+
2734
+ constructor(map?: { [key: string]: any }) {
2735
+ super(map);
2736
+ }
2737
+ }
2738
+
2739
+ export class GetHotelContactByGenieDeviceShrinkRequest extends $tea.Model {
2740
+ deviceInfoShrink?: string;
2741
+ userInfoShrink?: string;
2742
+ static names(): { [key: string]: string } {
2743
+ return {
2744
+ deviceInfoShrink: 'DeviceInfo',
2745
+ userInfoShrink: 'UserInfo',
2746
+ };
2747
+ }
2748
+
2749
+ static types(): { [key: string]: any } {
2750
+ return {
2751
+ deviceInfoShrink: 'string',
2752
+ userInfoShrink: 'string',
2753
+ };
2754
+ }
2755
+
2756
+ constructor(map?: { [key: string]: any }) {
2757
+ super(map);
2758
+ }
2759
+ }
2760
+
2761
+ export class GetHotelContactByGenieDeviceResponseBody extends $tea.Model {
2762
+ message?: string;
2763
+ requestId?: string;
2764
+ result?: GetHotelContactByGenieDeviceResponseBodyResult;
2765
+ statusCode?: number;
2766
+ static names(): { [key: string]: string } {
2767
+ return {
2768
+ message: 'Message',
2769
+ requestId: 'RequestId',
2770
+ result: 'Result',
2771
+ statusCode: 'StatusCode',
2772
+ };
2773
+ }
2774
+
2775
+ static types(): { [key: string]: any } {
2776
+ return {
2777
+ message: 'string',
2778
+ requestId: 'string',
2779
+ result: GetHotelContactByGenieDeviceResponseBodyResult,
2780
+ statusCode: 'number',
2781
+ };
2782
+ }
2783
+
2784
+ constructor(map?: { [key: string]: any }) {
2785
+ super(map);
2786
+ }
2787
+ }
2788
+
2789
+ export class GetHotelContactByGenieDeviceResponse extends $tea.Model {
2790
+ headers: { [key: string]: string };
2791
+ statusCode: number;
2792
+ body: GetHotelContactByGenieDeviceResponseBody;
2793
+ static names(): { [key: string]: string } {
2794
+ return {
2795
+ headers: 'headers',
2796
+ statusCode: 'statusCode',
2797
+ body: 'body',
2798
+ };
2799
+ }
2800
+
2801
+ static types(): { [key: string]: any } {
2802
+ return {
2803
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2804
+ statusCode: 'number',
2805
+ body: GetHotelContactByGenieDeviceResponseBody,
2806
+ };
2807
+ }
2808
+
2809
+ constructor(map?: { [key: string]: any }) {
2810
+ super(map);
2811
+ }
2812
+ }
2813
+
2762
2814
  export class GetHotelContactByNumberHeaders extends $tea.Model {
2763
2815
  commonHeaders?: { [key: string]: string };
2764
2816
  xAcsAligenieAccessToken?: string;
@@ -3937,10 +3989,110 @@ export class GetHotelScreenSaverStyleRequest extends $tea.Model {
3937
3989
  }
3938
3990
  }
3939
3991
 
3940
- export class GetHotelScreenSaverStyleResponseBody extends $tea.Model {
3992
+ export class GetHotelScreenSaverStyleResponseBody extends $tea.Model {
3993
+ message?: string;
3994
+ requestId?: string;
3995
+ result?: GetHotelScreenSaverStyleResponseBodyResult[];
3996
+ statusCode?: number;
3997
+ static names(): { [key: string]: string } {
3998
+ return {
3999
+ message: 'Message',
4000
+ requestId: 'RequestId',
4001
+ result: 'Result',
4002
+ statusCode: 'StatusCode',
4003
+ };
4004
+ }
4005
+
4006
+ static types(): { [key: string]: any } {
4007
+ return {
4008
+ message: 'string',
4009
+ requestId: 'string',
4010
+ result: { 'type': 'array', 'itemType': GetHotelScreenSaverStyleResponseBodyResult },
4011
+ statusCode: 'number',
4012
+ };
4013
+ }
4014
+
4015
+ constructor(map?: { [key: string]: any }) {
4016
+ super(map);
4017
+ }
4018
+ }
4019
+
4020
+ export class GetHotelScreenSaverStyleResponse extends $tea.Model {
4021
+ headers: { [key: string]: string };
4022
+ statusCode: number;
4023
+ body: GetHotelScreenSaverStyleResponseBody;
4024
+ static names(): { [key: string]: string } {
4025
+ return {
4026
+ headers: 'headers',
4027
+ statusCode: 'statusCode',
4028
+ body: 'body',
4029
+ };
4030
+ }
4031
+
4032
+ static types(): { [key: string]: any } {
4033
+ return {
4034
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4035
+ statusCode: 'number',
4036
+ body: GetHotelScreenSaverStyleResponseBody,
4037
+ };
4038
+ }
4039
+
4040
+ constructor(map?: { [key: string]: any }) {
4041
+ super(map);
4042
+ }
4043
+ }
4044
+
4045
+ export class GetHotelSettingHeaders extends $tea.Model {
4046
+ commonHeaders?: { [key: string]: string };
4047
+ xAcsAligenieAccessToken?: string;
4048
+ authorization?: string;
4049
+ static names(): { [key: string]: string } {
4050
+ return {
4051
+ commonHeaders: 'commonHeaders',
4052
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
4053
+ authorization: 'Authorization',
4054
+ };
4055
+ }
4056
+
4057
+ static types(): { [key: string]: any } {
4058
+ return {
4059
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4060
+ xAcsAligenieAccessToken: 'string',
4061
+ authorization: 'string',
4062
+ };
4063
+ }
4064
+
4065
+ constructor(map?: { [key: string]: any }) {
4066
+ super(map);
4067
+ }
4068
+ }
4069
+
4070
+ export class GetHotelSettingRequest extends $tea.Model {
4071
+ hotelId?: string;
4072
+ settingType?: string;
4073
+ static names(): { [key: string]: string } {
4074
+ return {
4075
+ hotelId: 'HotelId',
4076
+ settingType: 'SettingType',
4077
+ };
4078
+ }
4079
+
4080
+ static types(): { [key: string]: any } {
4081
+ return {
4082
+ hotelId: 'string',
4083
+ settingType: 'string',
4084
+ };
4085
+ }
4086
+
4087
+ constructor(map?: { [key: string]: any }) {
4088
+ super(map);
4089
+ }
4090
+ }
4091
+
4092
+ export class GetHotelSettingResponseBody extends $tea.Model {
3941
4093
  message?: string;
3942
4094
  requestId?: string;
3943
- result?: GetHotelScreenSaverStyleResponseBodyResult[];
4095
+ result?: GetHotelSettingResponseBodyResult;
3944
4096
  statusCode?: number;
3945
4097
  static names(): { [key: string]: string } {
3946
4098
  return {
@@ -3955,7 +4107,7 @@ export class GetHotelScreenSaverStyleResponseBody extends $tea.Model {
3955
4107
  return {
3956
4108
  message: 'string',
3957
4109
  requestId: 'string',
3958
- result: { 'type': 'array', 'itemType': GetHotelScreenSaverStyleResponseBodyResult },
4110
+ result: GetHotelSettingResponseBodyResult,
3959
4111
  statusCode: 'number',
3960
4112
  };
3961
4113
  }
@@ -3965,10 +4117,10 @@ export class GetHotelScreenSaverStyleResponseBody extends $tea.Model {
3965
4117
  }
3966
4118
  }
3967
4119
 
3968
- export class GetHotelScreenSaverStyleResponse extends $tea.Model {
4120
+ export class GetHotelSettingResponse extends $tea.Model {
3969
4121
  headers: { [key: string]: string };
3970
4122
  statusCode: number;
3971
- body: GetHotelScreenSaverStyleResponseBody;
4123
+ body: GetHotelSettingResponseBody;
3972
4124
  static names(): { [key: string]: string } {
3973
4125
  return {
3974
4126
  headers: 'headers',
@@ -3981,7 +4133,7 @@ export class GetHotelScreenSaverStyleResponse extends $tea.Model {
3981
4133
  return {
3982
4134
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3983
4135
  statusCode: 'number',
3984
- body: GetHotelScreenSaverStyleResponseBody,
4136
+ body: GetHotelSettingResponseBody,
3985
4137
  };
3986
4138
  }
3987
4139
 
@@ -3990,7 +4142,7 @@ export class GetHotelScreenSaverStyleResponse extends $tea.Model {
3990
4142
  }
3991
4143
  }
3992
4144
 
3993
- export class GetHotelSettingHeaders extends $tea.Model {
4145
+ export class GetRelationProductListHeaders extends $tea.Model {
3994
4146
  commonHeaders?: { [key: string]: string };
3995
4147
  xAcsAligenieAccessToken?: string;
3996
4148
  authorization?: string;
@@ -4015,35 +4167,15 @@ export class GetHotelSettingHeaders extends $tea.Model {
4015
4167
  }
4016
4168
  }
4017
4169
 
4018
- export class GetHotelSettingRequest extends $tea.Model {
4019
- hotelId?: string;
4020
- settingType?: string;
4021
- static names(): { [key: string]: string } {
4022
- return {
4023
- hotelId: 'HotelId',
4024
- settingType: 'SettingType',
4025
- };
4026
- }
4027
-
4028
- static types(): { [key: string]: any } {
4029
- return {
4030
- hotelId: 'string',
4031
- settingType: 'string',
4032
- };
4033
- }
4034
-
4035
- constructor(map?: { [key: string]: any }) {
4036
- super(map);
4037
- }
4038
- }
4039
-
4040
- export class GetHotelSettingResponseBody extends $tea.Model {
4170
+ export class GetRelationProductListResponseBody extends $tea.Model {
4171
+ extentions?: { [key: string]: any };
4041
4172
  message?: string;
4042
4173
  requestId?: string;
4043
- result?: GetHotelSettingResponseBodyResult;
4174
+ result?: GetRelationProductListResponseBodyResult[];
4044
4175
  statusCode?: number;
4045
4176
  static names(): { [key: string]: string } {
4046
4177
  return {
4178
+ extentions: 'Extentions',
4047
4179
  message: 'Message',
4048
4180
  requestId: 'RequestId',
4049
4181
  result: 'Result',
@@ -4053,9 +4185,10 @@ export class GetHotelSettingResponseBody extends $tea.Model {
4053
4185
 
4054
4186
  static types(): { [key: string]: any } {
4055
4187
  return {
4188
+ extentions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
4056
4189
  message: 'string',
4057
4190
  requestId: 'string',
4058
- result: GetHotelSettingResponseBodyResult,
4191
+ result: { 'type': 'array', 'itemType': GetRelationProductListResponseBodyResult },
4059
4192
  statusCode: 'number',
4060
4193
  };
4061
4194
  }
@@ -4065,10 +4198,10 @@ export class GetHotelSettingResponseBody extends $tea.Model {
4065
4198
  }
4066
4199
  }
4067
4200
 
4068
- export class GetHotelSettingResponse extends $tea.Model {
4201
+ export class GetRelationProductListResponse extends $tea.Model {
4069
4202
  headers: { [key: string]: string };
4070
4203
  statusCode: number;
4071
- body: GetHotelSettingResponseBody;
4204
+ body: GetRelationProductListResponseBody;
4072
4205
  static names(): { [key: string]: string } {
4073
4206
  return {
4074
4207
  headers: 'headers',
@@ -4081,7 +4214,7 @@ export class GetHotelSettingResponse extends $tea.Model {
4081
4214
  return {
4082
4215
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4083
4216
  statusCode: 'number',
4084
- body: GetHotelSettingResponseBody,
4217
+ body: GetRelationProductListResponseBody,
4085
4218
  };
4086
4219
  }
4087
4220
 
@@ -4090,7 +4223,7 @@ export class GetHotelSettingResponse extends $tea.Model {
4090
4223
  }
4091
4224
  }
4092
4225
 
4093
- export class GetRelationProductListHeaders extends $tea.Model {
4226
+ export class GetUnionIdHeaders extends $tea.Model {
4094
4227
  commonHeaders?: { [key: string]: string };
4095
4228
  xAcsAligenieAccessToken?: string;
4096
4229
  authorization?: string;
@@ -4115,15 +4248,41 @@ export class GetRelationProductListHeaders extends $tea.Model {
4115
4248
  }
4116
4249
  }
4117
4250
 
4118
- export class GetRelationProductListResponseBody extends $tea.Model {
4119
- extentions?: { [key: string]: any };
4251
+ export class GetUnionIdRequest extends $tea.Model {
4252
+ encodeKey?: string;
4253
+ encodeType?: string;
4254
+ id?: string;
4255
+ idType?: string;
4256
+ static names(): { [key: string]: string } {
4257
+ return {
4258
+ encodeKey: 'EncodeKey',
4259
+ encodeType: 'EncodeType',
4260
+ id: 'Id',
4261
+ idType: 'IdType',
4262
+ };
4263
+ }
4264
+
4265
+ static types(): { [key: string]: any } {
4266
+ return {
4267
+ encodeKey: 'string',
4268
+ encodeType: 'string',
4269
+ id: 'string',
4270
+ idType: 'string',
4271
+ };
4272
+ }
4273
+
4274
+ constructor(map?: { [key: string]: any }) {
4275
+ super(map);
4276
+ }
4277
+ }
4278
+
4279
+ export class GetUnionIdResponseBody extends $tea.Model {
4120
4280
  message?: string;
4121
4281
  requestId?: string;
4122
- result?: GetRelationProductListResponseBodyResult[];
4282
+ result?: GetUnionIdResponseBodyResult[];
4123
4283
  statusCode?: number;
4124
4284
  static names(): { [key: string]: string } {
4125
4285
  return {
4126
- extentions: 'Extentions',
4127
4286
  message: 'Message',
4128
4287
  requestId: 'RequestId',
4129
4288
  result: 'Result',
@@ -4133,10 +4292,9 @@ export class GetRelationProductListResponseBody extends $tea.Model {
4133
4292
 
4134
4293
  static types(): { [key: string]: any } {
4135
4294
  return {
4136
- extentions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
4137
4295
  message: 'string',
4138
4296
  requestId: 'string',
4139
- result: { 'type': 'array', 'itemType': GetRelationProductListResponseBodyResult },
4297
+ result: { 'type': 'array', 'itemType': GetUnionIdResponseBodyResult },
4140
4298
  statusCode: 'number',
4141
4299
  };
4142
4300
  }
@@ -4146,10 +4304,10 @@ export class GetRelationProductListResponseBody extends $tea.Model {
4146
4304
  }
4147
4305
  }
4148
4306
 
4149
- export class GetRelationProductListResponse extends $tea.Model {
4307
+ export class GetUnionIdResponse extends $tea.Model {
4150
4308
  headers: { [key: string]: string };
4151
4309
  statusCode: number;
4152
- body: GetRelationProductListResponseBody;
4310
+ body: GetUnionIdResponseBody;
4153
4311
  static names(): { [key: string]: string } {
4154
4312
  return {
4155
4313
  headers: 'headers',
@@ -4162,7 +4320,7 @@ export class GetRelationProductListResponse extends $tea.Model {
4162
4320
  return {
4163
4321
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4164
4322
  statusCode: 'number',
4165
- body: GetRelationProductListResponseBody,
4323
+ body: GetUnionIdResponseBody,
4166
4324
  };
4167
4325
  }
4168
4326
 
@@ -7791,6 +7949,11 @@ export class SyncDeviceStatusWithAkRequest extends $tea.Model {
7791
7949
  number?: string;
7792
7950
  roomNo?: string;
7793
7951
  switch?: number;
7952
+ fanSpeed?: string;
7953
+ mode?: string;
7954
+ roomTemperature?: string;
7955
+ temperature?: string;
7956
+ value?: number;
7794
7957
  static names(): { [key: string]: string } {
7795
7958
  return {
7796
7959
  categoryCnName: 'CategoryCnName',
@@ -7802,6 +7965,11 @@ export class SyncDeviceStatusWithAkRequest extends $tea.Model {
7802
7965
  number: 'Number',
7803
7966
  roomNo: 'RoomNo',
7804
7967
  switch: 'Switch',
7968
+ fanSpeed: 'fanSpeed',
7969
+ mode: 'mode',
7970
+ roomTemperature: 'roomTemperature',
7971
+ temperature: 'temperature',
7972
+ value: 'value',
7805
7973
  };
7806
7974
  }
7807
7975
 
@@ -7816,6 +7984,11 @@ export class SyncDeviceStatusWithAkRequest extends $tea.Model {
7816
7984
  number: 'string',
7817
7985
  roomNo: 'string',
7818
7986
  switch: 'number',
7987
+ fanSpeed: 'string',
7988
+ mode: 'string',
7989
+ roomTemperature: 'string',
7990
+ temperature: 'string',
7991
+ value: 'number',
7819
7992
  };
7820
7993
  }
7821
7994
 
@@ -8186,6 +8359,56 @@ export class UpdateHotelRequest extends $tea.Model {
8186
8359
  hotelId?: string;
8187
8360
  hotelName?: string;
8188
8361
  phoneNumber?: string;
8362
+ relatedPks?: string[];
8363
+ remark?: string;
8364
+ roomNum?: number;
8365
+ tbOpenId?: string;
8366
+ static names(): { [key: string]: string } {
8367
+ return {
8368
+ appKey: 'AppKey',
8369
+ estOpenTime: 'EstOpenTime',
8370
+ hotelAddress: 'HotelAddress',
8371
+ hotelEmail: 'HotelEmail',
8372
+ hotelId: 'HotelId',
8373
+ hotelName: 'HotelName',
8374
+ phoneNumber: 'PhoneNumber',
8375
+ relatedPks: 'RelatedPks',
8376
+ remark: 'Remark',
8377
+ roomNum: 'RoomNum',
8378
+ tbOpenId: 'TbOpenId',
8379
+ };
8380
+ }
8381
+
8382
+ static types(): { [key: string]: any } {
8383
+ return {
8384
+ appKey: 'string',
8385
+ estOpenTime: 'string',
8386
+ hotelAddress: 'string',
8387
+ hotelEmail: 'string',
8388
+ hotelId: 'string',
8389
+ hotelName: 'string',
8390
+ phoneNumber: 'string',
8391
+ relatedPks: { 'type': 'array', 'itemType': 'string' },
8392
+ remark: 'string',
8393
+ roomNum: 'number',
8394
+ tbOpenId: 'string',
8395
+ };
8396
+ }
8397
+
8398
+ constructor(map?: { [key: string]: any }) {
8399
+ super(map);
8400
+ }
8401
+ }
8402
+
8403
+ export class UpdateHotelShrinkRequest extends $tea.Model {
8404
+ appKey?: string;
8405
+ estOpenTime?: string;
8406
+ hotelAddress?: string;
8407
+ hotelEmail?: string;
8408
+ hotelId?: string;
8409
+ hotelName?: string;
8410
+ phoneNumber?: string;
8411
+ relatedPksShrink?: string;
8189
8412
  remark?: string;
8190
8413
  roomNum?: number;
8191
8414
  tbOpenId?: string;
@@ -8198,6 +8421,7 @@ export class UpdateHotelRequest extends $tea.Model {
8198
8421
  hotelId: 'HotelId',
8199
8422
  hotelName: 'HotelName',
8200
8423
  phoneNumber: 'PhoneNumber',
8424
+ relatedPksShrink: 'RelatedPks',
8201
8425
  remark: 'Remark',
8202
8426
  roomNum: 'RoomNum',
8203
8427
  tbOpenId: 'TbOpenId',
@@ -8213,6 +8437,7 @@ export class UpdateHotelRequest extends $tea.Model {
8213
8437
  hotelId: 'string',
8214
8438
  hotelName: 'string',
8215
8439
  phoneNumber: 'string',
8440
+ relatedPksShrink: 'string',
8216
8441
  remark: 'string',
8217
8442
  roomNum: 'number',
8218
8443
  tbOpenId: 'string',
@@ -8996,52 +9221,18 @@ export class AddOrUpdateHotelSettingRequestHotelScreenSaver extends $tea.Model {
8996
9221
  }
8997
9222
 
8998
9223
  export class AddOrUpdateHotelSettingRequestNightMode extends $tea.Model {
9224
+ defaultBright?: string;
9225
+ defaultVolume?: string;
8999
9226
  enable?: boolean;
9000
9227
  end?: string;
9001
- maxBright?: string;
9002
- maxVolume?: string;
9003
- standbyAction?: string;
9004
- start?: string;
9005
- static names(): { [key: string]: string } {
9006
- return {
9007
- enable: 'Enable',
9008
- end: 'End',
9009
- maxBright: 'MaxBright',
9010
- maxVolume: 'MaxVolume',
9011
- standbyAction: 'StandbyAction',
9012
- start: 'Start',
9013
- };
9014
- }
9015
-
9016
- static types(): { [key: string]: any } {
9017
- return {
9018
- enable: 'boolean',
9019
- end: 'string',
9020
- maxBright: 'string',
9021
- maxVolume: 'string',
9022
- standbyAction: 'string',
9023
- start: 'string',
9024
- };
9025
- }
9026
-
9027
- constructor(map?: { [key: string]: any }) {
9028
- super(map);
9029
- }
9030
- }
9031
-
9032
- export class AddOrUpdateNightModeRequestNightMode extends $tea.Model {
9033
- enable?: boolean;
9034
- end?: string;
9035
- maxBright?: string;
9036
- maxVolume?: string;
9037
9228
  standbyAction?: string;
9038
9229
  start?: string;
9039
9230
  static names(): { [key: string]: string } {
9040
9231
  return {
9232
+ defaultBright: 'DefaultBright',
9233
+ defaultVolume: 'DefaultVolume',
9041
9234
  enable: 'Enable',
9042
9235
  end: 'End',
9043
- maxBright: 'MaxBright',
9044
- maxVolume: 'MaxVolume',
9045
9236
  standbyAction: 'StandbyAction',
9046
9237
  start: 'Start',
9047
9238
  };
@@ -9049,10 +9240,10 @@ export class AddOrUpdateNightModeRequestNightMode extends $tea.Model {
9049
9240
 
9050
9241
  static types(): { [key: string]: any } {
9051
9242
  return {
9243
+ defaultBright: 'string',
9244
+ defaultVolume: 'string',
9052
9245
  enable: 'boolean',
9053
9246
  end: 'string',
9054
- maxBright: 'string',
9055
- maxVolume: 'string',
9056
9247
  standbyAction: 'string',
9057
9248
  start: 'string',
9058
9249
  };
@@ -9348,33 +9539,117 @@ export class GetBasicInfoQAResponseBodyResult extends $tea.Model {
9348
9539
  wifiPassword?: string;
9349
9540
  static names(): { [key: string]: string } {
9350
9541
  return {
9351
- checkInTime: 'CheckInTime',
9352
- checkOutTime: 'CheckOutTime',
9353
- hotelAddress: 'HotelAddress',
9354
- hotelIntroduction: 'HotelIntroduction',
9355
- hotelMember: 'HotelMember',
9356
- hotelService: 'HotelService',
9357
- parkingExpenses: 'ParkingExpenses',
9358
- parkingPosition: 'ParkingPosition',
9359
- phoneNumber: 'PhoneNumber',
9360
- wifiName: 'WifiName',
9361
- wifiPassword: 'WifiPassword',
9542
+ checkInTime: 'CheckInTime',
9543
+ checkOutTime: 'CheckOutTime',
9544
+ hotelAddress: 'HotelAddress',
9545
+ hotelIntroduction: 'HotelIntroduction',
9546
+ hotelMember: 'HotelMember',
9547
+ hotelService: 'HotelService',
9548
+ parkingExpenses: 'ParkingExpenses',
9549
+ parkingPosition: 'ParkingPosition',
9550
+ phoneNumber: 'PhoneNumber',
9551
+ wifiName: 'WifiName',
9552
+ wifiPassword: 'WifiPassword',
9553
+ };
9554
+ }
9555
+
9556
+ static types(): { [key: string]: any } {
9557
+ return {
9558
+ checkInTime: 'string',
9559
+ checkOutTime: 'string',
9560
+ hotelAddress: 'string',
9561
+ hotelIntroduction: 'string',
9562
+ hotelMember: 'string',
9563
+ hotelService: 'string',
9564
+ parkingExpenses: 'string',
9565
+ parkingPosition: 'string',
9566
+ phoneNumber: 'string',
9567
+ wifiName: 'string',
9568
+ wifiPassword: 'string',
9569
+ };
9570
+ }
9571
+
9572
+ constructor(map?: { [key: string]: any }) {
9573
+ super(map);
9574
+ }
9575
+ }
9576
+
9577
+ export class GetCartoonResponseBodyResult extends $tea.Model {
9578
+ startVideoMd5?: string;
9579
+ startVideoUrl?: string;
9580
+ static names(): { [key: string]: string } {
9581
+ return {
9582
+ startVideoMd5: 'StartVideoMd5',
9583
+ startVideoUrl: 'StartVideoUrl',
9584
+ };
9585
+ }
9586
+
9587
+ static types(): { [key: string]: any } {
9588
+ return {
9589
+ startVideoMd5: 'string',
9590
+ startVideoUrl: 'string',
9591
+ };
9592
+ }
9593
+
9594
+ constructor(map?: { [key: string]: any }) {
9595
+ super(map);
9596
+ }
9597
+ }
9598
+
9599
+ export class GetHotelContactByGenieDeviceRequestDeviceInfo extends $tea.Model {
9600
+ encodeKey?: string;
9601
+ encodeType?: string;
9602
+ id?: string;
9603
+ idType?: string;
9604
+ organizationId?: string;
9605
+ static names(): { [key: string]: string } {
9606
+ return {
9607
+ encodeKey: 'EncodeKey',
9608
+ encodeType: 'EncodeType',
9609
+ id: 'Id',
9610
+ idType: 'IdType',
9611
+ organizationId: 'OrganizationId',
9612
+ };
9613
+ }
9614
+
9615
+ static types(): { [key: string]: any } {
9616
+ return {
9617
+ encodeKey: 'string',
9618
+ encodeType: 'string',
9619
+ id: 'string',
9620
+ idType: 'string',
9621
+ organizationId: 'string',
9622
+ };
9623
+ }
9624
+
9625
+ constructor(map?: { [key: string]: any }) {
9626
+ super(map);
9627
+ }
9628
+ }
9629
+
9630
+ export class GetHotelContactByGenieDeviceRequestUserInfo extends $tea.Model {
9631
+ encodeKey?: string;
9632
+ encodeType?: string;
9633
+ id?: string;
9634
+ idType?: string;
9635
+ organizationId?: string;
9636
+ static names(): { [key: string]: string } {
9637
+ return {
9638
+ encodeKey: 'EncodeKey',
9639
+ encodeType: 'EncodeType',
9640
+ id: 'Id',
9641
+ idType: 'IdType',
9642
+ organizationId: 'OrganizationId',
9362
9643
  };
9363
9644
  }
9364
9645
 
9365
9646
  static types(): { [key: string]: any } {
9366
9647
  return {
9367
- checkInTime: 'string',
9368
- checkOutTime: 'string',
9369
- hotelAddress: 'string',
9370
- hotelIntroduction: 'string',
9371
- hotelMember: 'string',
9372
- hotelService: 'string',
9373
- parkingExpenses: 'string',
9374
- parkingPosition: 'string',
9375
- phoneNumber: 'string',
9376
- wifiName: 'string',
9377
- wifiPassword: 'string',
9648
+ encodeKey: 'string',
9649
+ encodeType: 'string',
9650
+ id: 'string',
9651
+ idType: 'string',
9652
+ organizationId: 'string',
9378
9653
  };
9379
9654
  }
9380
9655
 
@@ -9383,20 +9658,47 @@ export class GetBasicInfoQAResponseBodyResult extends $tea.Model {
9383
9658
  }
9384
9659
  }
9385
9660
 
9386
- export class GetCartoonResponseBodyResult extends $tea.Model {
9387
- startVideoMd5?: string;
9388
- startVideoUrl?: string;
9661
+ export class GetHotelContactByGenieDeviceResponseBodyResult extends $tea.Model {
9662
+ expireAt?: string;
9663
+ gmtCreate?: string;
9664
+ gmtModified?: string;
9665
+ hotelId?: string;
9666
+ icon?: string;
9667
+ id?: number;
9668
+ name?: string;
9669
+ number?: string;
9670
+ status?: number;
9671
+ type?: string;
9672
+ uuid?: string;
9389
9673
  static names(): { [key: string]: string } {
9390
9674
  return {
9391
- startVideoMd5: 'StartVideoMd5',
9392
- startVideoUrl: 'StartVideoUrl',
9675
+ expireAt: 'ExpireAt',
9676
+ gmtCreate: 'GmtCreate',
9677
+ gmtModified: 'GmtModified',
9678
+ hotelId: 'HotelId',
9679
+ icon: 'Icon',
9680
+ id: 'Id',
9681
+ name: 'Name',
9682
+ number: 'Number',
9683
+ status: 'Status',
9684
+ type: 'Type',
9685
+ uuid: 'Uuid',
9393
9686
  };
9394
9687
  }
9395
9688
 
9396
9689
  static types(): { [key: string]: any } {
9397
9690
  return {
9398
- startVideoMd5: 'string',
9399
- startVideoUrl: 'string',
9691
+ expireAt: 'string',
9692
+ gmtCreate: 'string',
9693
+ gmtModified: 'string',
9694
+ hotelId: 'string',
9695
+ icon: 'string',
9696
+ id: 'number',
9697
+ name: 'string',
9698
+ number: 'string',
9699
+ status: 'number',
9700
+ type: 'string',
9701
+ uuid: 'string',
9400
9702
  };
9401
9703
  }
9402
9704
 
@@ -10023,18 +10325,18 @@ export class GetHotelSettingResponseBodyResultHotelScreenSaver extends $tea.Mode
10023
10325
  }
10024
10326
 
10025
10327
  export class GetHotelSettingResponseBodyResultNightMode extends $tea.Model {
10328
+ defaultBright?: string;
10329
+ defaultVolume?: string;
10026
10330
  enable?: boolean;
10027
10331
  end?: string;
10028
- maxBright?: string;
10029
- maxVolume?: string;
10030
10332
  standbyAction?: string;
10031
10333
  start?: string;
10032
10334
  static names(): { [key: string]: string } {
10033
10335
  return {
10336
+ defaultBright: 'DefaultBright',
10337
+ defaultVolume: 'DefaultVolume',
10034
10338
  enable: 'Enable',
10035
10339
  end: 'End',
10036
- maxBright: 'MaxBright',
10037
- maxVolume: 'MaxVolume',
10038
10340
  standbyAction: 'StandbyAction',
10039
10341
  start: 'Start',
10040
10342
  };
@@ -10042,10 +10344,10 @@ export class GetHotelSettingResponseBodyResultNightMode extends $tea.Model {
10042
10344
 
10043
10345
  static types(): { [key: string]: any } {
10044
10346
  return {
10347
+ defaultBright: 'string',
10348
+ defaultVolume: 'string',
10045
10349
  enable: 'boolean',
10046
10350
  end: 'string',
10047
- maxBright: 'string',
10048
- maxVolume: 'string',
10049
10351
  standbyAction: 'string',
10050
10352
  start: 'string',
10051
10353
  };
@@ -10118,6 +10420,28 @@ export class GetRelationProductListResponseBodyResult extends $tea.Model {
10118
10420
  }
10119
10421
  }
10120
10422
 
10423
+ export class GetUnionIdResponseBodyResult extends $tea.Model {
10424
+ organizationId?: string;
10425
+ unionId?: string;
10426
+ static names(): { [key: string]: string } {
10427
+ return {
10428
+ organizationId: 'OrganizationId',
10429
+ unionId: 'UnionId',
10430
+ };
10431
+ }
10432
+
10433
+ static types(): { [key: string]: any } {
10434
+ return {
10435
+ organizationId: 'string',
10436
+ unionId: 'string',
10437
+ };
10438
+ }
10439
+
10440
+ constructor(map?: { [key: string]: any }) {
10441
+ super(map);
10442
+ }
10443
+ }
10444
+
10121
10445
  export class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model {
10122
10446
  hotelId?: string;
10123
10447
  musicUrl?: string;
@@ -12590,60 +12914,6 @@ export default class Client extends OpenApi {
12590
12914
  return await this.addOrUpdateHotelSettingWithOptions(request, headers, runtime);
12591
12915
  }
12592
12916
 
12593
- async addOrUpdateNightModeWithOptions(tmpReq: AddOrUpdateNightModeRequest, headers: AddOrUpdateNightModeHeaders, runtime: $Util.RuntimeOptions): Promise<AddOrUpdateNightModeResponse> {
12594
- Util.validateModel(tmpReq);
12595
- let request = new AddOrUpdateNightModeShrinkRequest({ });
12596
- OpenApiUtil.convert(tmpReq, request);
12597
- if (!Util.isUnset(tmpReq.nightMode)) {
12598
- request.nightModeShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.nightMode, "NightMode", "json");
12599
- }
12600
-
12601
- let body : {[key: string ]: any} = { };
12602
- if (!Util.isUnset(request.hotelId)) {
12603
- body["HotelId"] = request.hotelId;
12604
- }
12605
-
12606
- if (!Util.isUnset(request.nightModeShrink)) {
12607
- body["NightMode"] = request.nightModeShrink;
12608
- }
12609
-
12610
- let realHeaders : {[key: string ]: string} = { };
12611
- if (!Util.isUnset(headers.commonHeaders)) {
12612
- realHeaders = headers.commonHeaders;
12613
- }
12614
-
12615
- if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
12616
- realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
12617
- }
12618
-
12619
- if (!Util.isUnset(headers.authorization)) {
12620
- realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
12621
- }
12622
-
12623
- let req = new $OpenApi.OpenApiRequest({
12624
- headers: realHeaders,
12625
- body: OpenApiUtil.parseToMap(body),
12626
- });
12627
- let params = new $OpenApi.Params({
12628
- action: "AddOrUpdateNightMode",
12629
- version: "ip_1.0",
12630
- protocol: "HTTPS",
12631
- pathname: `/v1.0/ip/addOrUpdateNightMode`,
12632
- method: "POST",
12633
- authType: "AK",
12634
- style: "ROA",
12635
- reqBodyType: "formData",
12636
- bodyType: "json",
12637
- });
12638
- return $tea.cast<AddOrUpdateNightModeResponse>(await this.callApi(params, req, runtime), new AddOrUpdateNightModeResponse({}));
12639
- }
12640
-
12641
- async addOrUpdateNightMode(request: AddOrUpdateNightModeRequest): Promise<AddOrUpdateNightModeResponse> {
12642
- let runtime = new $Util.RuntimeOptions({ });
12643
- let headers = new AddOrUpdateNightModeHeaders({ });
12644
- return await this.addOrUpdateNightModeWithOptions(request, headers, runtime);
12645
- }
12646
-
12647
12917
  async addOrUpdateScreenSaverWithOptions(tmpReq: AddOrUpdateScreenSaverRequest, headers: AddOrUpdateScreenSaverHeaders, runtime: $Util.RuntimeOptions): Promise<AddOrUpdateScreenSaverResponse> {
12648
12918
  Util.validateModel(tmpReq);
12649
12919
  let request = new AddOrUpdateScreenSaverShrinkRequest({ });
@@ -13012,8 +13282,14 @@ export default class Client extends OpenApi {
13012
13282
  return await this.childAccountAuthWithOptions(request, headers, runtime);
13013
13283
  }
13014
13284
 
13015
- async createHotelWithOptions(request: CreateHotelRequest, headers: CreateHotelHeaders, runtime: $Util.RuntimeOptions): Promise<CreateHotelResponse> {
13016
- Util.validateModel(request);
13285
+ async createHotelWithOptions(tmpReq: CreateHotelRequest, headers: CreateHotelHeaders, runtime: $Util.RuntimeOptions): Promise<CreateHotelResponse> {
13286
+ Util.validateModel(tmpReq);
13287
+ let request = new CreateHotelShrinkRequest({ });
13288
+ OpenApiUtil.convert(tmpReq, request);
13289
+ if (!Util.isUnset(tmpReq.relatedPks)) {
13290
+ request.relatedPksShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.relatedPks, "RelatedPks", "json");
13291
+ }
13292
+
13017
13293
  let body : {[key: string ]: any} = { };
13018
13294
  if (!Util.isUnset(request.appKey)) {
13019
13295
  body["AppKey"] = request.appKey;
@@ -13043,6 +13319,10 @@ export default class Client extends OpenApi {
13043
13319
  body["RelatedPk"] = request.relatedPk;
13044
13320
  }
13045
13321
 
13322
+ if (!Util.isUnset(request.relatedPksShrink)) {
13323
+ body["RelatedPks"] = request.relatedPksShrink;
13324
+ }
13325
+
13046
13326
  if (!Util.isUnset(request.remark)) {
13047
13327
  body["Remark"] = request.remark;
13048
13328
  }
@@ -13596,6 +13876,64 @@ export default class Client extends OpenApi {
13596
13876
  return await this.getCartoonWithOptions(request, headers, runtime);
13597
13877
  }
13598
13878
 
13879
+ async getHotelContactByGenieDeviceWithOptions(tmpReq: GetHotelContactByGenieDeviceRequest, headers: GetHotelContactByGenieDeviceHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelContactByGenieDeviceResponse> {
13880
+ Util.validateModel(tmpReq);
13881
+ let request = new GetHotelContactByGenieDeviceShrinkRequest({ });
13882
+ OpenApiUtil.convert(tmpReq, request);
13883
+ if (!Util.isUnset(tmpReq.deviceInfo)) {
13884
+ request.deviceInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
13885
+ }
13886
+
13887
+ if (!Util.isUnset(tmpReq.userInfo)) {
13888
+ request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
13889
+ }
13890
+
13891
+ let query : {[key: string ]: any} = { };
13892
+ if (!Util.isUnset(request.deviceInfoShrink)) {
13893
+ query["DeviceInfo"] = request.deviceInfoShrink;
13894
+ }
13895
+
13896
+ if (!Util.isUnset(request.userInfoShrink)) {
13897
+ query["UserInfo"] = request.userInfoShrink;
13898
+ }
13899
+
13900
+ let realHeaders : {[key: string ]: string} = { };
13901
+ if (!Util.isUnset(headers.commonHeaders)) {
13902
+ realHeaders = headers.commonHeaders;
13903
+ }
13904
+
13905
+ if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
13906
+ realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
13907
+ }
13908
+
13909
+ if (!Util.isUnset(headers.authorization)) {
13910
+ realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
13911
+ }
13912
+
13913
+ let req = new $OpenApi.OpenApiRequest({
13914
+ headers: realHeaders,
13915
+ query: OpenApiUtil.query(query),
13916
+ });
13917
+ let params = new $OpenApi.Params({
13918
+ action: "GetHotelContactByGenieDevice",
13919
+ version: "ip_1.0",
13920
+ protocol: "HTTPS",
13921
+ pathname: `/v1.0/ip/getHotelContactByGenieDevice`,
13922
+ method: "POST",
13923
+ authType: "AK",
13924
+ style: "ROA",
13925
+ reqBodyType: "json",
13926
+ bodyType: "json",
13927
+ });
13928
+ return $tea.cast<GetHotelContactByGenieDeviceResponse>(await this.callApi(params, req, runtime), new GetHotelContactByGenieDeviceResponse({}));
13929
+ }
13930
+
13931
+ async getHotelContactByGenieDevice(request: GetHotelContactByGenieDeviceRequest): Promise<GetHotelContactByGenieDeviceResponse> {
13932
+ let runtime = new $Util.RuntimeOptions({ });
13933
+ let headers = new GetHotelContactByGenieDeviceHeaders({ });
13934
+ return await this.getHotelContactByGenieDeviceWithOptions(request, headers, runtime);
13935
+ }
13936
+
13599
13937
  async getHotelContactByNumberWithOptions(tmpReq: GetHotelContactByNumberRequest, headers: GetHotelContactByNumberHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelContactByNumberResponse> {
13600
13938
  Util.validateModel(tmpReq);
13601
13939
  let request = new GetHotelContactByNumberShrinkRequest({ });
@@ -14227,6 +14565,62 @@ export default class Client extends OpenApi {
14227
14565
  return await this.getRelationProductListWithOptions(headers, runtime);
14228
14566
  }
14229
14567
 
14568
+ async getUnionIdWithOptions(request: GetUnionIdRequest, headers: GetUnionIdHeaders, runtime: $Util.RuntimeOptions): Promise<GetUnionIdResponse> {
14569
+ Util.validateModel(request);
14570
+ let body : {[key: string ]: any} = { };
14571
+ if (!Util.isUnset(request.encodeKey)) {
14572
+ body["EncodeKey"] = request.encodeKey;
14573
+ }
14574
+
14575
+ if (!Util.isUnset(request.encodeType)) {
14576
+ body["EncodeType"] = request.encodeType;
14577
+ }
14578
+
14579
+ if (!Util.isUnset(request.id)) {
14580
+ body["Id"] = request.id;
14581
+ }
14582
+
14583
+ if (!Util.isUnset(request.idType)) {
14584
+ body["IdType"] = request.idType;
14585
+ }
14586
+
14587
+ let realHeaders : {[key: string ]: string} = { };
14588
+ if (!Util.isUnset(headers.commonHeaders)) {
14589
+ realHeaders = headers.commonHeaders;
14590
+ }
14591
+
14592
+ if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
14593
+ realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
14594
+ }
14595
+
14596
+ if (!Util.isUnset(headers.authorization)) {
14597
+ realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
14598
+ }
14599
+
14600
+ let req = new $OpenApi.OpenApiRequest({
14601
+ headers: realHeaders,
14602
+ body: OpenApiUtil.parseToMap(body),
14603
+ });
14604
+ let params = new $OpenApi.Params({
14605
+ action: "GetUnionId",
14606
+ version: "ip_1.0",
14607
+ protocol: "HTTPS",
14608
+ pathname: `/v1.0/ip/getUnionId`,
14609
+ method: "POST",
14610
+ authType: "AK",
14611
+ style: "ROA",
14612
+ reqBodyType: "formData",
14613
+ bodyType: "json",
14614
+ });
14615
+ return $tea.cast<GetUnionIdResponse>(await this.callApi(params, req, runtime), new GetUnionIdResponse({}));
14616
+ }
14617
+
14618
+ async getUnionId(request: GetUnionIdRequest): Promise<GetUnionIdResponse> {
14619
+ let runtime = new $Util.RuntimeOptions({ });
14620
+ let headers = new GetUnionIdHeaders({ });
14621
+ return await this.getUnionIdWithOptions(request, headers, runtime);
14622
+ }
14623
+
14230
14624
  async getWelcomeTextAndMusicWithOptions(request: GetWelcomeTextAndMusicRequest, headers: GetWelcomeTextAndMusicHeaders, runtime: $Util.RuntimeOptions): Promise<GetWelcomeTextAndMusicResponse> {
14231
14625
  Util.validateModel(request);
14232
14626
  let body : {[key: string ]: any} = { };
@@ -15922,6 +16316,26 @@ export default class Client extends OpenApi {
15922
16316
  body["Switch"] = request.switch;
15923
16317
  }
15924
16318
 
16319
+ if (!Util.isUnset(request.fanSpeed)) {
16320
+ body["fanSpeed"] = request.fanSpeed;
16321
+ }
16322
+
16323
+ if (!Util.isUnset(request.mode)) {
16324
+ body["mode"] = request.mode;
16325
+ }
16326
+
16327
+ if (!Util.isUnset(request.roomTemperature)) {
16328
+ body["roomTemperature"] = request.roomTemperature;
16329
+ }
16330
+
16331
+ if (!Util.isUnset(request.temperature)) {
16332
+ body["temperature"] = request.temperature;
16333
+ }
16334
+
16335
+ if (!Util.isUnset(request.value)) {
16336
+ body["value"] = request.value;
16337
+ }
16338
+
15925
16339
  let realHeaders : {[key: string ]: string} = { };
15926
16340
  if (!Util.isUnset(headers.commonHeaders)) {
15927
16341
  realHeaders = headers.commonHeaders;
@@ -16125,8 +16539,14 @@ export default class Client extends OpenApi {
16125
16539
  return await this.updateCustomQAWithOptions(request, headers, runtime);
16126
16540
  }
16127
16541
 
16128
- async updateHotelWithOptions(request: UpdateHotelRequest, headers: UpdateHotelHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateHotelResponse> {
16129
- Util.validateModel(request);
16542
+ async updateHotelWithOptions(tmpReq: UpdateHotelRequest, headers: UpdateHotelHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateHotelResponse> {
16543
+ Util.validateModel(tmpReq);
16544
+ let request = new UpdateHotelShrinkRequest({ });
16545
+ OpenApiUtil.convert(tmpReq, request);
16546
+ if (!Util.isUnset(tmpReq.relatedPks)) {
16547
+ request.relatedPksShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.relatedPks, "RelatedPks", "json");
16548
+ }
16549
+
16130
16550
  let body : {[key: string ]: any} = { };
16131
16551
  if (!Util.isUnset(request.appKey)) {
16132
16552
  body["AppKey"] = request.appKey;
@@ -16156,6 +16576,10 @@ export default class Client extends OpenApi {
16156
16576
  body["PhoneNumber"] = request.phoneNumber;
16157
16577
  }
16158
16578
 
16579
+ if (!Util.isUnset(request.relatedPksShrink)) {
16580
+ body["RelatedPks"] = request.relatedPksShrink;
16581
+ }
16582
+
16159
16583
  if (!Util.isUnset(request.remark)) {
16160
16584
  body["Remark"] = request.remark;
16161
16585
  }