@alicloud/aligenieip_1_0 1.0.20 → 1.0.21
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 +110 -31
- package/dist/client.js +195 -65
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +248 -73
package/dist/client.d.ts
CHANGED
|
@@ -4258,7 +4258,7 @@ export declare class QueryDeviceStatusResponse extends $tea.Model {
|
|
|
4258
4258
|
[key: string]: any;
|
|
4259
4259
|
});
|
|
4260
4260
|
}
|
|
4261
|
-
export declare class
|
|
4261
|
+
export declare class QueryHotelRoomDetailHeaders extends $tea.Model {
|
|
4262
4262
|
commonHeaders?: {
|
|
4263
4263
|
[key: string]: string;
|
|
4264
4264
|
};
|
|
@@ -4274,20 +4274,11 @@ export declare class QueryHotelProductHeaders extends $tea.Model {
|
|
|
4274
4274
|
[key: string]: any;
|
|
4275
4275
|
});
|
|
4276
4276
|
}
|
|
4277
|
-
export declare class
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
static types(): {
|
|
4283
|
-
[key: string]: any;
|
|
4284
|
-
};
|
|
4285
|
-
constructor(map?: {
|
|
4286
|
-
[key: string]: any;
|
|
4287
|
-
});
|
|
4288
|
-
}
|
|
4289
|
-
export declare class QueryHotelProductShrinkRequest extends $tea.Model {
|
|
4290
|
-
userInfoShrink?: string;
|
|
4277
|
+
export declare class QueryHotelRoomDetailRequest extends $tea.Model {
|
|
4278
|
+
hotelId?: string;
|
|
4279
|
+
mac?: string;
|
|
4280
|
+
roomNo?: string;
|
|
4281
|
+
uuid?: string;
|
|
4291
4282
|
static names(): {
|
|
4292
4283
|
[key: string]: string;
|
|
4293
4284
|
};
|
|
@@ -4298,11 +4289,11 @@ export declare class QueryHotelProductShrinkRequest extends $tea.Model {
|
|
|
4298
4289
|
[key: string]: any;
|
|
4299
4290
|
});
|
|
4300
4291
|
}
|
|
4301
|
-
export declare class
|
|
4302
|
-
code?: number;
|
|
4292
|
+
export declare class QueryHotelRoomDetailResponseBody extends $tea.Model {
|
|
4303
4293
|
message?: string;
|
|
4304
4294
|
requestId?: string;
|
|
4305
|
-
result?:
|
|
4295
|
+
result?: QueryHotelRoomDetailResponseBodyResult;
|
|
4296
|
+
statusCode?: number;
|
|
4306
4297
|
static names(): {
|
|
4307
4298
|
[key: string]: string;
|
|
4308
4299
|
};
|
|
@@ -4313,12 +4304,12 @@ export declare class QueryHotelProductResponseBody extends $tea.Model {
|
|
|
4313
4304
|
[key: string]: any;
|
|
4314
4305
|
});
|
|
4315
4306
|
}
|
|
4316
|
-
export declare class
|
|
4307
|
+
export declare class QueryHotelRoomDetailResponse extends $tea.Model {
|
|
4317
4308
|
headers: {
|
|
4318
4309
|
[key: string]: string;
|
|
4319
4310
|
};
|
|
4320
4311
|
statusCode: number;
|
|
4321
|
-
body:
|
|
4312
|
+
body: QueryHotelRoomDetailResponseBody;
|
|
4322
4313
|
static names(): {
|
|
4323
4314
|
[key: string]: string;
|
|
4324
4315
|
};
|
|
@@ -6995,12 +6986,62 @@ export declare class QueryDeviceStatusRequestUserInfo extends $tea.Model {
|
|
|
6995
6986
|
[key: string]: any;
|
|
6996
6987
|
});
|
|
6997
6988
|
}
|
|
6998
|
-
export declare class
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
6989
|
+
export declare class QueryHotelRoomDetailResponseBodyResultAuthAccounts extends $tea.Model {
|
|
6990
|
+
accountName?: string;
|
|
6991
|
+
authTime?: string;
|
|
6992
|
+
static names(): {
|
|
6993
|
+
[key: string]: string;
|
|
6994
|
+
};
|
|
6995
|
+
static types(): {
|
|
6996
|
+
[key: string]: any;
|
|
6997
|
+
};
|
|
6998
|
+
constructor(map?: {
|
|
6999
|
+
[key: string]: any;
|
|
7000
|
+
});
|
|
7001
|
+
}
|
|
7002
|
+
export declare class QueryHotelRoomDetailResponseBodyResultDeviceInfos extends $tea.Model {
|
|
7003
|
+
activeTime?: string;
|
|
7004
|
+
deviceName?: string;
|
|
7005
|
+
firmwareVersion?: string;
|
|
7006
|
+
mac?: string;
|
|
7007
|
+
onlineStatus?: number;
|
|
7008
|
+
sn?: string;
|
|
7009
|
+
uuid?: string;
|
|
7010
|
+
static names(): {
|
|
7011
|
+
[key: string]: string;
|
|
7012
|
+
};
|
|
7013
|
+
static types(): {
|
|
7014
|
+
[key: string]: any;
|
|
7015
|
+
};
|
|
7016
|
+
constructor(map?: {
|
|
7017
|
+
[key: string]: any;
|
|
7018
|
+
});
|
|
7019
|
+
}
|
|
7020
|
+
export declare class QueryHotelRoomDetailResponseBodyResultOtherService extends $tea.Model {
|
|
7021
|
+
openCall?: boolean;
|
|
7022
|
+
unhandleTickets?: number;
|
|
7023
|
+
static names(): {
|
|
7024
|
+
[key: string]: string;
|
|
7025
|
+
};
|
|
7026
|
+
static types(): {
|
|
7027
|
+
[key: string]: any;
|
|
7028
|
+
};
|
|
7029
|
+
constructor(map?: {
|
|
7030
|
+
[key: string]: any;
|
|
7031
|
+
});
|
|
7032
|
+
}
|
|
7033
|
+
export declare class QueryHotelRoomDetailResponseBodyResultRoomControlInfoDeviceInfos extends $tea.Model {
|
|
7034
|
+
categoryEnName?: string;
|
|
7035
|
+
categoryId?: number;
|
|
7036
|
+
categoryName?: string;
|
|
7037
|
+
deviceConnectType?: string;
|
|
7038
|
+
deviceCount?: number;
|
|
7039
|
+
deviceId?: string;
|
|
7040
|
+
deviceName?: string;
|
|
7041
|
+
locationEnName?: string;
|
|
7042
|
+
locationId?: number;
|
|
7043
|
+
locationName?: string;
|
|
7044
|
+
productKey?: string;
|
|
7004
7045
|
static names(): {
|
|
7005
7046
|
[key: string]: string;
|
|
7006
7047
|
};
|
|
@@ -7011,11 +7052,49 @@ export declare class QueryHotelProductRequestUserInfo extends $tea.Model {
|
|
|
7011
7052
|
[key: string]: any;
|
|
7012
7053
|
});
|
|
7013
7054
|
}
|
|
7014
|
-
export declare class
|
|
7055
|
+
export declare class QueryHotelRoomDetailResponseBodyResultRoomControlInfo extends $tea.Model {
|
|
7056
|
+
appId?: number;
|
|
7057
|
+
appName?: string;
|
|
7058
|
+
deviceInfos?: QueryHotelRoomDetailResponseBodyResultRoomControlInfoDeviceInfos[];
|
|
7059
|
+
rcuUrl?: string;
|
|
7060
|
+
templateId?: number;
|
|
7061
|
+
templateName?: string;
|
|
7062
|
+
static names(): {
|
|
7063
|
+
[key: string]: string;
|
|
7064
|
+
};
|
|
7065
|
+
static types(): {
|
|
7066
|
+
[key: string]: any;
|
|
7067
|
+
};
|
|
7068
|
+
constructor(map?: {
|
|
7069
|
+
[key: string]: any;
|
|
7070
|
+
});
|
|
7071
|
+
}
|
|
7072
|
+
export declare class QueryHotelRoomDetailResponseBodyResultRoomServiceInfo extends $tea.Model {
|
|
7073
|
+
bookServiceCnt?: number;
|
|
7074
|
+
goodsServiceCnt?: number;
|
|
7075
|
+
repairServiceCnt?: number;
|
|
7076
|
+
roomServiceCnt?: number;
|
|
7077
|
+
static names(): {
|
|
7078
|
+
[key: string]: string;
|
|
7079
|
+
};
|
|
7080
|
+
static types(): {
|
|
7081
|
+
[key: string]: any;
|
|
7082
|
+
};
|
|
7083
|
+
constructor(map?: {
|
|
7084
|
+
[key: string]: any;
|
|
7085
|
+
});
|
|
7086
|
+
}
|
|
7087
|
+
export declare class QueryHotelRoomDetailResponseBodyResult extends $tea.Model {
|
|
7088
|
+
authAccounts?: QueryHotelRoomDetailResponseBodyResultAuthAccounts[];
|
|
7089
|
+
connectType?: string;
|
|
7090
|
+
creatorAccountName?: string;
|
|
7091
|
+
deviceInfos?: QueryHotelRoomDetailResponseBodyResultDeviceInfos[];
|
|
7015
7092
|
hotelId?: string;
|
|
7016
7093
|
hotelName?: string;
|
|
7017
|
-
|
|
7018
|
-
|
|
7094
|
+
otherService?: QueryHotelRoomDetailResponseBodyResultOtherService;
|
|
7095
|
+
roomControlInfo?: QueryHotelRoomDetailResponseBodyResultRoomControlInfo;
|
|
7096
|
+
roomNo?: string;
|
|
7097
|
+
roomServiceInfo?: QueryHotelRoomDetailResponseBodyResultRoomServiceInfo;
|
|
7019
7098
|
static names(): {
|
|
7020
7099
|
[key: string]: string;
|
|
7021
7100
|
};
|
|
@@ -7379,8 +7458,8 @@ export default class Client extends OpenApi {
|
|
|
7379
7458
|
pushWelcomeTextAndMusic(request: PushWelcomeTextAndMusicRequest): Promise<PushWelcomeTextAndMusicResponse>;
|
|
7380
7459
|
queryDeviceStatusWithOptions(tmpReq: QueryDeviceStatusRequest, headers: QueryDeviceStatusHeaders, runtime: $Util.RuntimeOptions): Promise<QueryDeviceStatusResponse>;
|
|
7381
7460
|
queryDeviceStatus(request: QueryDeviceStatusRequest): Promise<QueryDeviceStatusResponse>;
|
|
7382
|
-
|
|
7383
|
-
|
|
7461
|
+
queryHotelRoomDetailWithOptions(request: QueryHotelRoomDetailRequest, headers: QueryHotelRoomDetailHeaders, runtime: $Util.RuntimeOptions): Promise<QueryHotelRoomDetailResponse>;
|
|
7462
|
+
queryHotelRoomDetail(request: QueryHotelRoomDetailRequest): Promise<QueryHotelRoomDetailResponse>;
|
|
7384
7463
|
queryRoomControlDevicesWithOptions(request: QueryRoomControlDevicesRequest, headers: QueryRoomControlDevicesHeaders, runtime: $Util.RuntimeOptions): Promise<QueryRoomControlDevicesResponse>;
|
|
7385
7464
|
queryRoomControlDevices(request: QueryRoomControlDevicesRequest): Promise<QueryRoomControlDevicesResponse>;
|
|
7386
7465
|
removeChildAccountAuthWithOptions(request: RemoveChildAccountAuthRequest, headers: RemoveChildAccountAuthHeaders, runtime: $Util.RuntimeOptions): Promise<RemoveChildAccountAuthResponse>;
|
package/dist/client.js
CHANGED
|
@@ -5715,7 +5715,7 @@ class QueryDeviceStatusResponse extends $tea.Model {
|
|
|
5715
5715
|
}
|
|
5716
5716
|
}
|
|
5717
5717
|
exports.QueryDeviceStatusResponse = QueryDeviceStatusResponse;
|
|
5718
|
-
class
|
|
5718
|
+
class QueryHotelRoomDetailHeaders extends $tea.Model {
|
|
5719
5719
|
constructor(map) {
|
|
5720
5720
|
super(map);
|
|
5721
5721
|
}
|
|
@@ -5734,62 +5734,52 @@ class QueryHotelProductHeaders extends $tea.Model {
|
|
|
5734
5734
|
};
|
|
5735
5735
|
}
|
|
5736
5736
|
}
|
|
5737
|
-
exports.
|
|
5738
|
-
class
|
|
5737
|
+
exports.QueryHotelRoomDetailHeaders = QueryHotelRoomDetailHeaders;
|
|
5738
|
+
class QueryHotelRoomDetailRequest extends $tea.Model {
|
|
5739
5739
|
constructor(map) {
|
|
5740
5740
|
super(map);
|
|
5741
5741
|
}
|
|
5742
5742
|
static names() {
|
|
5743
5743
|
return {
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
return {
|
|
5749
|
-
userInfo: QueryHotelProductRequestUserInfo,
|
|
5750
|
-
};
|
|
5751
|
-
}
|
|
5752
|
-
}
|
|
5753
|
-
exports.QueryHotelProductRequest = QueryHotelProductRequest;
|
|
5754
|
-
class QueryHotelProductShrinkRequest extends $tea.Model {
|
|
5755
|
-
constructor(map) {
|
|
5756
|
-
super(map);
|
|
5757
|
-
}
|
|
5758
|
-
static names() {
|
|
5759
|
-
return {
|
|
5760
|
-
userInfoShrink: 'UserInfo',
|
|
5744
|
+
hotelId: 'HotelId',
|
|
5745
|
+
mac: 'Mac',
|
|
5746
|
+
roomNo: 'RoomNo',
|
|
5747
|
+
uuid: 'Uuid',
|
|
5761
5748
|
};
|
|
5762
5749
|
}
|
|
5763
5750
|
static types() {
|
|
5764
5751
|
return {
|
|
5765
|
-
|
|
5752
|
+
hotelId: 'string',
|
|
5753
|
+
mac: 'string',
|
|
5754
|
+
roomNo: 'string',
|
|
5755
|
+
uuid: 'string',
|
|
5766
5756
|
};
|
|
5767
5757
|
}
|
|
5768
5758
|
}
|
|
5769
|
-
exports.
|
|
5770
|
-
class
|
|
5759
|
+
exports.QueryHotelRoomDetailRequest = QueryHotelRoomDetailRequest;
|
|
5760
|
+
class QueryHotelRoomDetailResponseBody extends $tea.Model {
|
|
5771
5761
|
constructor(map) {
|
|
5772
5762
|
super(map);
|
|
5773
5763
|
}
|
|
5774
5764
|
static names() {
|
|
5775
5765
|
return {
|
|
5776
|
-
code: 'Code',
|
|
5777
5766
|
message: 'Message',
|
|
5778
5767
|
requestId: 'RequestId',
|
|
5779
5768
|
result: 'Result',
|
|
5769
|
+
statusCode: 'StatusCode',
|
|
5780
5770
|
};
|
|
5781
5771
|
}
|
|
5782
5772
|
static types() {
|
|
5783
5773
|
return {
|
|
5784
|
-
code: 'number',
|
|
5785
5774
|
message: 'string',
|
|
5786
5775
|
requestId: 'string',
|
|
5787
|
-
result:
|
|
5776
|
+
result: QueryHotelRoomDetailResponseBodyResult,
|
|
5777
|
+
statusCode: 'number',
|
|
5788
5778
|
};
|
|
5789
5779
|
}
|
|
5790
5780
|
}
|
|
5791
|
-
exports.
|
|
5792
|
-
class
|
|
5781
|
+
exports.QueryHotelRoomDetailResponseBody = QueryHotelRoomDetailResponseBody;
|
|
5782
|
+
class QueryHotelRoomDetailResponse extends $tea.Model {
|
|
5793
5783
|
constructor(map) {
|
|
5794
5784
|
super(map);
|
|
5795
5785
|
}
|
|
@@ -5804,11 +5794,11 @@ class QueryHotelProductResponse extends $tea.Model {
|
|
|
5804
5794
|
return {
|
|
5805
5795
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5806
5796
|
statusCode: 'number',
|
|
5807
|
-
body:
|
|
5797
|
+
body: QueryHotelRoomDetailResponseBody,
|
|
5808
5798
|
};
|
|
5809
5799
|
}
|
|
5810
5800
|
}
|
|
5811
|
-
exports.
|
|
5801
|
+
exports.QueryHotelRoomDetailResponse = QueryHotelRoomDetailResponse;
|
|
5812
5802
|
class QueryRoomControlDevicesHeaders extends $tea.Model {
|
|
5813
5803
|
constructor(map) {
|
|
5814
5804
|
super(map);
|
|
@@ -9613,52 +9603,188 @@ class QueryDeviceStatusRequestUserInfo extends $tea.Model {
|
|
|
9613
9603
|
}
|
|
9614
9604
|
}
|
|
9615
9605
|
exports.QueryDeviceStatusRequestUserInfo = QueryDeviceStatusRequestUserInfo;
|
|
9616
|
-
class
|
|
9606
|
+
class QueryHotelRoomDetailResponseBodyResultAuthAccounts extends $tea.Model {
|
|
9617
9607
|
constructor(map) {
|
|
9618
9608
|
super(map);
|
|
9619
9609
|
}
|
|
9620
9610
|
static names() {
|
|
9621
9611
|
return {
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
id: 'Id',
|
|
9625
|
-
idType: 'IdType',
|
|
9626
|
-
organizationId: 'OrganizationId',
|
|
9612
|
+
accountName: 'AccountName',
|
|
9613
|
+
authTime: 'AuthTime',
|
|
9627
9614
|
};
|
|
9628
9615
|
}
|
|
9629
9616
|
static types() {
|
|
9630
9617
|
return {
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
9635
|
-
|
|
9618
|
+
accountName: 'string',
|
|
9619
|
+
authTime: 'string',
|
|
9620
|
+
};
|
|
9621
|
+
}
|
|
9622
|
+
}
|
|
9623
|
+
exports.QueryHotelRoomDetailResponseBodyResultAuthAccounts = QueryHotelRoomDetailResponseBodyResultAuthAccounts;
|
|
9624
|
+
class QueryHotelRoomDetailResponseBodyResultDeviceInfos extends $tea.Model {
|
|
9625
|
+
constructor(map) {
|
|
9626
|
+
super(map);
|
|
9627
|
+
}
|
|
9628
|
+
static names() {
|
|
9629
|
+
return {
|
|
9630
|
+
activeTime: 'ActiveTime',
|
|
9631
|
+
deviceName: 'DeviceName',
|
|
9632
|
+
firmwareVersion: 'FirmwareVersion',
|
|
9633
|
+
mac: 'Mac',
|
|
9634
|
+
onlineStatus: 'OnlineStatus',
|
|
9635
|
+
sn: 'Sn',
|
|
9636
|
+
uuid: 'Uuid',
|
|
9637
|
+
};
|
|
9638
|
+
}
|
|
9639
|
+
static types() {
|
|
9640
|
+
return {
|
|
9641
|
+
activeTime: 'string',
|
|
9642
|
+
deviceName: 'string',
|
|
9643
|
+
firmwareVersion: 'string',
|
|
9644
|
+
mac: 'string',
|
|
9645
|
+
onlineStatus: 'number',
|
|
9646
|
+
sn: 'string',
|
|
9647
|
+
uuid: 'string',
|
|
9648
|
+
};
|
|
9649
|
+
}
|
|
9650
|
+
}
|
|
9651
|
+
exports.QueryHotelRoomDetailResponseBodyResultDeviceInfos = QueryHotelRoomDetailResponseBodyResultDeviceInfos;
|
|
9652
|
+
class QueryHotelRoomDetailResponseBodyResultOtherService extends $tea.Model {
|
|
9653
|
+
constructor(map) {
|
|
9654
|
+
super(map);
|
|
9655
|
+
}
|
|
9656
|
+
static names() {
|
|
9657
|
+
return {
|
|
9658
|
+
openCall: 'OpenCall',
|
|
9659
|
+
unhandleTickets: 'UnhandleTickets',
|
|
9660
|
+
};
|
|
9661
|
+
}
|
|
9662
|
+
static types() {
|
|
9663
|
+
return {
|
|
9664
|
+
openCall: 'boolean',
|
|
9665
|
+
unhandleTickets: 'number',
|
|
9666
|
+
};
|
|
9667
|
+
}
|
|
9668
|
+
}
|
|
9669
|
+
exports.QueryHotelRoomDetailResponseBodyResultOtherService = QueryHotelRoomDetailResponseBodyResultOtherService;
|
|
9670
|
+
class QueryHotelRoomDetailResponseBodyResultRoomControlInfoDeviceInfos extends $tea.Model {
|
|
9671
|
+
constructor(map) {
|
|
9672
|
+
super(map);
|
|
9673
|
+
}
|
|
9674
|
+
static names() {
|
|
9675
|
+
return {
|
|
9676
|
+
categoryEnName: 'CategoryEnName',
|
|
9677
|
+
categoryId: 'CategoryId',
|
|
9678
|
+
categoryName: 'CategoryName',
|
|
9679
|
+
deviceConnectType: 'DeviceConnectType',
|
|
9680
|
+
deviceCount: 'DeviceCount',
|
|
9681
|
+
deviceId: 'DeviceId',
|
|
9682
|
+
deviceName: 'DeviceName',
|
|
9683
|
+
locationEnName: 'LocationEnName',
|
|
9684
|
+
locationId: 'LocationId',
|
|
9685
|
+
locationName: 'LocationName',
|
|
9686
|
+
productKey: 'ProductKey',
|
|
9687
|
+
};
|
|
9688
|
+
}
|
|
9689
|
+
static types() {
|
|
9690
|
+
return {
|
|
9691
|
+
categoryEnName: 'string',
|
|
9692
|
+
categoryId: 'number',
|
|
9693
|
+
categoryName: 'string',
|
|
9694
|
+
deviceConnectType: 'string',
|
|
9695
|
+
deviceCount: 'number',
|
|
9696
|
+
deviceId: 'string',
|
|
9697
|
+
deviceName: 'string',
|
|
9698
|
+
locationEnName: 'string',
|
|
9699
|
+
locationId: 'number',
|
|
9700
|
+
locationName: 'string',
|
|
9701
|
+
productKey: 'string',
|
|
9702
|
+
};
|
|
9703
|
+
}
|
|
9704
|
+
}
|
|
9705
|
+
exports.QueryHotelRoomDetailResponseBodyResultRoomControlInfoDeviceInfos = QueryHotelRoomDetailResponseBodyResultRoomControlInfoDeviceInfos;
|
|
9706
|
+
class QueryHotelRoomDetailResponseBodyResultRoomControlInfo extends $tea.Model {
|
|
9707
|
+
constructor(map) {
|
|
9708
|
+
super(map);
|
|
9709
|
+
}
|
|
9710
|
+
static names() {
|
|
9711
|
+
return {
|
|
9712
|
+
appId: 'AppId',
|
|
9713
|
+
appName: 'AppName',
|
|
9714
|
+
deviceInfos: 'DeviceInfos',
|
|
9715
|
+
rcuUrl: 'RcuUrl',
|
|
9716
|
+
templateId: 'TemplateId',
|
|
9717
|
+
templateName: 'TemplateName',
|
|
9718
|
+
};
|
|
9719
|
+
}
|
|
9720
|
+
static types() {
|
|
9721
|
+
return {
|
|
9722
|
+
appId: 'number',
|
|
9723
|
+
appName: 'string',
|
|
9724
|
+
deviceInfos: { 'type': 'array', 'itemType': QueryHotelRoomDetailResponseBodyResultRoomControlInfoDeviceInfos },
|
|
9725
|
+
rcuUrl: 'string',
|
|
9726
|
+
templateId: 'number',
|
|
9727
|
+
templateName: 'string',
|
|
9728
|
+
};
|
|
9729
|
+
}
|
|
9730
|
+
}
|
|
9731
|
+
exports.QueryHotelRoomDetailResponseBodyResultRoomControlInfo = QueryHotelRoomDetailResponseBodyResultRoomControlInfo;
|
|
9732
|
+
class QueryHotelRoomDetailResponseBodyResultRoomServiceInfo extends $tea.Model {
|
|
9733
|
+
constructor(map) {
|
|
9734
|
+
super(map);
|
|
9735
|
+
}
|
|
9736
|
+
static names() {
|
|
9737
|
+
return {
|
|
9738
|
+
bookServiceCnt: 'BookServiceCnt',
|
|
9739
|
+
goodsServiceCnt: 'GoodsServiceCnt',
|
|
9740
|
+
repairServiceCnt: 'RepairServiceCnt',
|
|
9741
|
+
roomServiceCnt: 'RoomServiceCnt',
|
|
9742
|
+
};
|
|
9743
|
+
}
|
|
9744
|
+
static types() {
|
|
9745
|
+
return {
|
|
9746
|
+
bookServiceCnt: 'number',
|
|
9747
|
+
goodsServiceCnt: 'number',
|
|
9748
|
+
repairServiceCnt: 'number',
|
|
9749
|
+
roomServiceCnt: 'number',
|
|
9636
9750
|
};
|
|
9637
9751
|
}
|
|
9638
9752
|
}
|
|
9639
|
-
exports.
|
|
9640
|
-
class
|
|
9753
|
+
exports.QueryHotelRoomDetailResponseBodyResultRoomServiceInfo = QueryHotelRoomDetailResponseBodyResultRoomServiceInfo;
|
|
9754
|
+
class QueryHotelRoomDetailResponseBodyResult extends $tea.Model {
|
|
9641
9755
|
constructor(map) {
|
|
9642
9756
|
super(map);
|
|
9643
9757
|
}
|
|
9644
9758
|
static names() {
|
|
9645
9759
|
return {
|
|
9760
|
+
authAccounts: 'AuthAccounts',
|
|
9761
|
+
connectType: 'ConnectType',
|
|
9762
|
+
creatorAccountName: 'CreatorAccountName',
|
|
9763
|
+
deviceInfos: 'DeviceInfos',
|
|
9646
9764
|
hotelId: 'HotelId',
|
|
9647
9765
|
hotelName: 'HotelName',
|
|
9648
|
-
|
|
9649
|
-
|
|
9766
|
+
otherService: 'OtherService',
|
|
9767
|
+
roomControlInfo: 'RoomControlInfo',
|
|
9768
|
+
roomNo: 'RoomNo',
|
|
9769
|
+
roomServiceInfo: 'RoomServiceInfo',
|
|
9650
9770
|
};
|
|
9651
9771
|
}
|
|
9652
9772
|
static types() {
|
|
9653
9773
|
return {
|
|
9774
|
+
authAccounts: { 'type': 'array', 'itemType': QueryHotelRoomDetailResponseBodyResultAuthAccounts },
|
|
9775
|
+
connectType: 'string',
|
|
9776
|
+
creatorAccountName: 'string',
|
|
9777
|
+
deviceInfos: { 'type': 'array', 'itemType': QueryHotelRoomDetailResponseBodyResultDeviceInfos },
|
|
9654
9778
|
hotelId: 'string',
|
|
9655
9779
|
hotelName: 'string',
|
|
9656
|
-
|
|
9657
|
-
|
|
9780
|
+
otherService: QueryHotelRoomDetailResponseBodyResultOtherService,
|
|
9781
|
+
roomControlInfo: QueryHotelRoomDetailResponseBodyResultRoomControlInfo,
|
|
9782
|
+
roomNo: 'string',
|
|
9783
|
+
roomServiceInfo: QueryHotelRoomDetailResponseBodyResultRoomServiceInfo,
|
|
9658
9784
|
};
|
|
9659
9785
|
}
|
|
9660
9786
|
}
|
|
9661
|
-
exports.
|
|
9787
|
+
exports.QueryHotelRoomDetailResponseBodyResult = QueryHotelRoomDetailResponseBodyResult;
|
|
9662
9788
|
class QueryRoomControlDevicesResponseBodyResultDevices extends $tea.Model {
|
|
9663
9789
|
constructor(map) {
|
|
9664
9790
|
super(map);
|
|
@@ -12809,16 +12935,20 @@ class Client extends openapi_client_1.default {
|
|
|
12809
12935
|
let headers = new QueryDeviceStatusHeaders({});
|
|
12810
12936
|
return await this.queryDeviceStatusWithOptions(request, headers, runtime);
|
|
12811
12937
|
}
|
|
12812
|
-
async
|
|
12813
|
-
tea_util_1.default.validateModel(
|
|
12814
|
-
let
|
|
12815
|
-
|
|
12816
|
-
|
|
12817
|
-
request.userInfoShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
|
|
12938
|
+
async queryHotelRoomDetailWithOptions(request, headers, runtime) {
|
|
12939
|
+
tea_util_1.default.validateModel(request);
|
|
12940
|
+
let body = {};
|
|
12941
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
12942
|
+
body["HotelId"] = request.hotelId;
|
|
12818
12943
|
}
|
|
12819
|
-
|
|
12820
|
-
|
|
12821
|
-
|
|
12944
|
+
if (!tea_util_1.default.isUnset(request.mac)) {
|
|
12945
|
+
body["Mac"] = request.mac;
|
|
12946
|
+
}
|
|
12947
|
+
if (!tea_util_1.default.isUnset(request.roomNo)) {
|
|
12948
|
+
body["RoomNo"] = request.roomNo;
|
|
12949
|
+
}
|
|
12950
|
+
if (!tea_util_1.default.isUnset(request.uuid)) {
|
|
12951
|
+
body["Uuid"] = request.uuid;
|
|
12822
12952
|
}
|
|
12823
12953
|
let realHeaders = {};
|
|
12824
12954
|
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
@@ -12832,25 +12962,25 @@ class Client extends openapi_client_1.default {
|
|
|
12832
12962
|
}
|
|
12833
12963
|
let req = new $OpenApi.OpenApiRequest({
|
|
12834
12964
|
headers: realHeaders,
|
|
12835
|
-
|
|
12965
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
12836
12966
|
});
|
|
12837
12967
|
let params = new $OpenApi.Params({
|
|
12838
|
-
action: "
|
|
12968
|
+
action: "QueryHotelRoomDetail",
|
|
12839
12969
|
version: "ip_1.0",
|
|
12840
12970
|
protocol: "HTTPS",
|
|
12841
|
-
pathname: `/v1.0/ip/
|
|
12971
|
+
pathname: `/v1.0/ip/queryHotelRoomDetail`,
|
|
12842
12972
|
method: "POST",
|
|
12843
12973
|
authType: "AK",
|
|
12844
12974
|
style: "ROA",
|
|
12845
|
-
reqBodyType: "
|
|
12975
|
+
reqBodyType: "formData",
|
|
12846
12976
|
bodyType: "json",
|
|
12847
12977
|
});
|
|
12848
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
12978
|
+
return $tea.cast(await this.callApi(params, req, runtime), new QueryHotelRoomDetailResponse({}));
|
|
12849
12979
|
}
|
|
12850
|
-
async
|
|
12980
|
+
async queryHotelRoomDetail(request) {
|
|
12851
12981
|
let runtime = new $Util.RuntimeOptions({});
|
|
12852
|
-
let headers = new
|
|
12853
|
-
return await this.
|
|
12982
|
+
let headers = new QueryHotelRoomDetailHeaders({});
|
|
12983
|
+
return await this.queryHotelRoomDetailWithOptions(request, headers, runtime);
|
|
12854
12984
|
}
|
|
12855
12985
|
async queryRoomControlDevicesWithOptions(request, headers, runtime) {
|
|
12856
12986
|
tea_util_1.default.validateModel(request);
|