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