@alicloud/aligenieip_1_0 2.1.0 → 2.2.1
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 +245 -0
- package/dist/client.js +402 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +507 -0
package/dist/client.d.ts
CHANGED
|
@@ -855,6 +855,7 @@ export declare class ControlRoomDeviceHeaders extends $tea.Model {
|
|
|
855
855
|
}
|
|
856
856
|
export declare class ControlRoomDeviceRequest extends $tea.Model {
|
|
857
857
|
cmd?: string;
|
|
858
|
+
deviceIndex?: number;
|
|
858
859
|
deviceNumber?: string;
|
|
859
860
|
hotelId?: string;
|
|
860
861
|
properties?: {
|
|
@@ -873,6 +874,7 @@ export declare class ControlRoomDeviceRequest extends $tea.Model {
|
|
|
873
874
|
}
|
|
874
875
|
export declare class ControlRoomDeviceShrinkRequest extends $tea.Model {
|
|
875
876
|
cmd?: string;
|
|
877
|
+
deviceIndex?: number;
|
|
876
878
|
deviceNumber?: string;
|
|
877
879
|
hotelId?: string;
|
|
878
880
|
propertiesShrink?: string;
|
|
@@ -3016,6 +3018,81 @@ export declare class ImportRoomControlDevicesResponse extends $tea.Model {
|
|
|
3016
3018
|
[key: string]: any;
|
|
3017
3019
|
});
|
|
3018
3020
|
}
|
|
3021
|
+
export declare class ImportRoomGenieScenesHeaders extends $tea.Model {
|
|
3022
|
+
commonHeaders?: {
|
|
3023
|
+
[key: string]: string;
|
|
3024
|
+
};
|
|
3025
|
+
xAcsAligenieAccessToken?: string;
|
|
3026
|
+
authorization?: string;
|
|
3027
|
+
static names(): {
|
|
3028
|
+
[key: string]: string;
|
|
3029
|
+
};
|
|
3030
|
+
static types(): {
|
|
3031
|
+
[key: string]: any;
|
|
3032
|
+
};
|
|
3033
|
+
constructor(map?: {
|
|
3034
|
+
[key: string]: any;
|
|
3035
|
+
});
|
|
3036
|
+
}
|
|
3037
|
+
export declare class ImportRoomGenieScenesRequest extends $tea.Model {
|
|
3038
|
+
hotelId?: string;
|
|
3039
|
+
roomNo?: string;
|
|
3040
|
+
sceneList?: ImportRoomGenieScenesRequestSceneList[];
|
|
3041
|
+
static names(): {
|
|
3042
|
+
[key: string]: string;
|
|
3043
|
+
};
|
|
3044
|
+
static types(): {
|
|
3045
|
+
[key: string]: any;
|
|
3046
|
+
};
|
|
3047
|
+
constructor(map?: {
|
|
3048
|
+
[key: string]: any;
|
|
3049
|
+
});
|
|
3050
|
+
}
|
|
3051
|
+
export declare class ImportRoomGenieScenesShrinkRequest extends $tea.Model {
|
|
3052
|
+
hotelId?: string;
|
|
3053
|
+
roomNo?: string;
|
|
3054
|
+
sceneListShrink?: string;
|
|
3055
|
+
static names(): {
|
|
3056
|
+
[key: string]: string;
|
|
3057
|
+
};
|
|
3058
|
+
static types(): {
|
|
3059
|
+
[key: string]: any;
|
|
3060
|
+
};
|
|
3061
|
+
constructor(map?: {
|
|
3062
|
+
[key: string]: any;
|
|
3063
|
+
});
|
|
3064
|
+
}
|
|
3065
|
+
export declare class ImportRoomGenieScenesResponseBody extends $tea.Model {
|
|
3066
|
+
message?: string;
|
|
3067
|
+
requestId?: string;
|
|
3068
|
+
result?: boolean;
|
|
3069
|
+
statusCode?: number;
|
|
3070
|
+
static names(): {
|
|
3071
|
+
[key: string]: string;
|
|
3072
|
+
};
|
|
3073
|
+
static types(): {
|
|
3074
|
+
[key: string]: any;
|
|
3075
|
+
};
|
|
3076
|
+
constructor(map?: {
|
|
3077
|
+
[key: string]: any;
|
|
3078
|
+
});
|
|
3079
|
+
}
|
|
3080
|
+
export declare class ImportRoomGenieScenesResponse extends $tea.Model {
|
|
3081
|
+
headers: {
|
|
3082
|
+
[key: string]: string;
|
|
3083
|
+
};
|
|
3084
|
+
statusCode: number;
|
|
3085
|
+
body: ImportRoomGenieScenesResponseBody;
|
|
3086
|
+
static names(): {
|
|
3087
|
+
[key: string]: string;
|
|
3088
|
+
};
|
|
3089
|
+
static types(): {
|
|
3090
|
+
[key: string]: any;
|
|
3091
|
+
};
|
|
3092
|
+
constructor(map?: {
|
|
3093
|
+
[key: string]: any;
|
|
3094
|
+
});
|
|
3095
|
+
}
|
|
3019
3096
|
export declare class InsertHotelSceneBookItemHeaders extends $tea.Model {
|
|
3020
3097
|
commonHeaders?: {
|
|
3021
3098
|
[key: string]: string;
|
|
@@ -6900,16 +6977,46 @@ export declare class ImportHotelConfigRequestImportHotelConfig extends $tea.Mode
|
|
|
6900
6977
|
[key: string]: any;
|
|
6901
6978
|
});
|
|
6902
6979
|
}
|
|
6980
|
+
export declare class ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwitchList extends $tea.Model {
|
|
6981
|
+
category?: string;
|
|
6982
|
+
deviceIndex?: number;
|
|
6983
|
+
deviceName?: string;
|
|
6984
|
+
location?: string;
|
|
6985
|
+
static names(): {
|
|
6986
|
+
[key: string]: string;
|
|
6987
|
+
};
|
|
6988
|
+
static types(): {
|
|
6989
|
+
[key: string]: any;
|
|
6990
|
+
};
|
|
6991
|
+
constructor(map?: {
|
|
6992
|
+
[key: string]: any;
|
|
6993
|
+
});
|
|
6994
|
+
}
|
|
6995
|
+
export declare class ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExt extends $tea.Model {
|
|
6996
|
+
switchList?: ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwitchList[];
|
|
6997
|
+
static names(): {
|
|
6998
|
+
[key: string]: string;
|
|
6999
|
+
};
|
|
7000
|
+
static types(): {
|
|
7001
|
+
[key: string]: any;
|
|
7002
|
+
};
|
|
7003
|
+
constructor(map?: {
|
|
7004
|
+
[key: string]: any;
|
|
7005
|
+
});
|
|
7006
|
+
}
|
|
6903
7007
|
export declare class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
|
|
6904
7008
|
brand?: string;
|
|
6905
7009
|
city?: string;
|
|
6906
7010
|
connectType?: string;
|
|
6907
7011
|
deviceName?: string;
|
|
7012
|
+
dn?: string;
|
|
6908
7013
|
infraredId?: string;
|
|
6909
7014
|
infraredIndex?: string;
|
|
6910
7015
|
infraredVersion?: string;
|
|
7016
|
+
multiKeySwitchExt?: ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExt;
|
|
6911
7017
|
name?: string;
|
|
6912
7018
|
number?: string;
|
|
7019
|
+
pk?: string;
|
|
6913
7020
|
province?: string;
|
|
6914
7021
|
serviceProvider?: string;
|
|
6915
7022
|
static names(): {
|
|
@@ -6936,6 +7043,109 @@ export declare class ImportRoomControlDevicesRequestLocationDevices extends $tea
|
|
|
6936
7043
|
[key: string]: any;
|
|
6937
7044
|
});
|
|
6938
7045
|
}
|
|
7046
|
+
export declare class ImportRoomGenieScenesRequestSceneListActionsAttributeValues extends $tea.Model {
|
|
7047
|
+
attributeName?: string;
|
|
7048
|
+
attributeValue?: string;
|
|
7049
|
+
static names(): {
|
|
7050
|
+
[key: string]: string;
|
|
7051
|
+
};
|
|
7052
|
+
static types(): {
|
|
7053
|
+
[key: string]: any;
|
|
7054
|
+
};
|
|
7055
|
+
constructor(map?: {
|
|
7056
|
+
[key: string]: any;
|
|
7057
|
+
});
|
|
7058
|
+
}
|
|
7059
|
+
export declare class ImportRoomGenieScenesRequestSceneListActionsDevice extends $tea.Model {
|
|
7060
|
+
category?: string;
|
|
7061
|
+
deviceIndex?: number;
|
|
7062
|
+
deviceNumber?: string;
|
|
7063
|
+
type?: number;
|
|
7064
|
+
static names(): {
|
|
7065
|
+
[key: string]: string;
|
|
7066
|
+
};
|
|
7067
|
+
static types(): {
|
|
7068
|
+
[key: string]: any;
|
|
7069
|
+
};
|
|
7070
|
+
constructor(map?: {
|
|
7071
|
+
[key: string]: any;
|
|
7072
|
+
});
|
|
7073
|
+
}
|
|
7074
|
+
export declare class ImportRoomGenieScenesRequestSceneListActions extends $tea.Model {
|
|
7075
|
+
attributeValues?: ImportRoomGenieScenesRequestSceneListActionsAttributeValues[];
|
|
7076
|
+
device?: ImportRoomGenieScenesRequestSceneListActionsDevice;
|
|
7077
|
+
reply?: string;
|
|
7078
|
+
type?: number;
|
|
7079
|
+
static names(): {
|
|
7080
|
+
[key: string]: string;
|
|
7081
|
+
};
|
|
7082
|
+
static types(): {
|
|
7083
|
+
[key: string]: any;
|
|
7084
|
+
};
|
|
7085
|
+
constructor(map?: {
|
|
7086
|
+
[key: string]: any;
|
|
7087
|
+
});
|
|
7088
|
+
}
|
|
7089
|
+
export declare class ImportRoomGenieScenesRequestSceneListTriggersAttributeValues extends $tea.Model {
|
|
7090
|
+
attributeName?: string;
|
|
7091
|
+
attributeValue?: string;
|
|
7092
|
+
static names(): {
|
|
7093
|
+
[key: string]: string;
|
|
7094
|
+
};
|
|
7095
|
+
static types(): {
|
|
7096
|
+
[key: string]: any;
|
|
7097
|
+
};
|
|
7098
|
+
constructor(map?: {
|
|
7099
|
+
[key: string]: any;
|
|
7100
|
+
});
|
|
7101
|
+
}
|
|
7102
|
+
export declare class ImportRoomGenieScenesRequestSceneListTriggersDevice extends $tea.Model {
|
|
7103
|
+
category?: string;
|
|
7104
|
+
deviceIndex?: string;
|
|
7105
|
+
deviceNumber?: string;
|
|
7106
|
+
static names(): {
|
|
7107
|
+
[key: string]: string;
|
|
7108
|
+
};
|
|
7109
|
+
static types(): {
|
|
7110
|
+
[key: string]: any;
|
|
7111
|
+
};
|
|
7112
|
+
constructor(map?: {
|
|
7113
|
+
[key: string]: any;
|
|
7114
|
+
});
|
|
7115
|
+
}
|
|
7116
|
+
export declare class ImportRoomGenieScenesRequestSceneListTriggers extends $tea.Model {
|
|
7117
|
+
attributeValues?: ImportRoomGenieScenesRequestSceneListTriggersAttributeValues[];
|
|
7118
|
+
corpusList?: string[];
|
|
7119
|
+
device?: ImportRoomGenieScenesRequestSceneListTriggersDevice;
|
|
7120
|
+
type?: number;
|
|
7121
|
+
static names(): {
|
|
7122
|
+
[key: string]: string;
|
|
7123
|
+
};
|
|
7124
|
+
static types(): {
|
|
7125
|
+
[key: string]: any;
|
|
7126
|
+
};
|
|
7127
|
+
constructor(map?: {
|
|
7128
|
+
[key: string]: any;
|
|
7129
|
+
});
|
|
7130
|
+
}
|
|
7131
|
+
export declare class ImportRoomGenieScenesRequestSceneList extends $tea.Model {
|
|
7132
|
+
actions?: ImportRoomGenieScenesRequestSceneListActions[];
|
|
7133
|
+
description?: string;
|
|
7134
|
+
display?: boolean;
|
|
7135
|
+
icon?: string;
|
|
7136
|
+
sceneName?: string;
|
|
7137
|
+
triggerLogical?: number;
|
|
7138
|
+
triggers?: ImportRoomGenieScenesRequestSceneListTriggers[];
|
|
7139
|
+
static names(): {
|
|
7140
|
+
[key: string]: string;
|
|
7141
|
+
};
|
|
7142
|
+
static types(): {
|
|
7143
|
+
[key: string]: any;
|
|
7144
|
+
};
|
|
7145
|
+
constructor(map?: {
|
|
7146
|
+
[key: string]: any;
|
|
7147
|
+
});
|
|
7148
|
+
}
|
|
6939
7149
|
export declare class InsertHotelSceneBookItemRequestAddHotelSceneItemReq extends $tea.Model {
|
|
6940
7150
|
icon?: string;
|
|
6941
7151
|
name?: string;
|
|
@@ -7926,11 +8136,44 @@ export declare class QueryHotelRoomDetailResponseBodyResult extends $tea.Model {
|
|
|
7926
8136
|
[key: string]: any;
|
|
7927
8137
|
});
|
|
7928
8138
|
}
|
|
8139
|
+
export declare class QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchList extends $tea.Model {
|
|
8140
|
+
category?: string;
|
|
8141
|
+
deviceIndex?: number;
|
|
8142
|
+
deviceName?: string;
|
|
8143
|
+
deviceStatus?: string;
|
|
8144
|
+
elementCode?: string;
|
|
8145
|
+
location?: string;
|
|
8146
|
+
static names(): {
|
|
8147
|
+
[key: string]: string;
|
|
8148
|
+
};
|
|
8149
|
+
static types(): {
|
|
8150
|
+
[key: string]: any;
|
|
8151
|
+
};
|
|
8152
|
+
constructor(map?: {
|
|
8153
|
+
[key: string]: any;
|
|
8154
|
+
});
|
|
8155
|
+
}
|
|
8156
|
+
export declare class QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExt extends $tea.Model {
|
|
8157
|
+
switchList?: QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchList[];
|
|
8158
|
+
static names(): {
|
|
8159
|
+
[key: string]: string;
|
|
8160
|
+
};
|
|
8161
|
+
static types(): {
|
|
8162
|
+
[key: string]: any;
|
|
8163
|
+
};
|
|
8164
|
+
constructor(map?: {
|
|
8165
|
+
[key: string]: any;
|
|
8166
|
+
});
|
|
8167
|
+
}
|
|
7929
8168
|
export declare class QueryRoomControlDevicesResponseBodyResultDevices extends $tea.Model {
|
|
7930
8169
|
connectType?: string;
|
|
8170
|
+
DN?: string;
|
|
7931
8171
|
deviceName?: string;
|
|
8172
|
+
deviceStatus?: string;
|
|
8173
|
+
multiKeySwitchExt?: QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExt;
|
|
7932
8174
|
name?: string;
|
|
7933
8175
|
number?: string;
|
|
8176
|
+
PK?: string;
|
|
7934
8177
|
static names(): {
|
|
7935
8178
|
[key: string]: string;
|
|
7936
8179
|
};
|
|
@@ -8296,6 +8539,8 @@ export default class Client extends OpenApi {
|
|
|
8296
8539
|
importHotelConfig(request: ImportHotelConfigRequest): Promise<ImportHotelConfigResponse>;
|
|
8297
8540
|
importRoomControlDevicesWithOptions(tmpReq: ImportRoomControlDevicesRequest, headers: ImportRoomControlDevicesHeaders, runtime: $Util.RuntimeOptions): Promise<ImportRoomControlDevicesResponse>;
|
|
8298
8541
|
importRoomControlDevices(request: ImportRoomControlDevicesRequest): Promise<ImportRoomControlDevicesResponse>;
|
|
8542
|
+
importRoomGenieScenesWithOptions(tmpReq: ImportRoomGenieScenesRequest, headers: ImportRoomGenieScenesHeaders, runtime: $Util.RuntimeOptions): Promise<ImportRoomGenieScenesResponse>;
|
|
8543
|
+
importRoomGenieScenes(request: ImportRoomGenieScenesRequest): Promise<ImportRoomGenieScenesResponse>;
|
|
8299
8544
|
insertHotelSceneBookItemWithOptions(tmpReq: InsertHotelSceneBookItemRequest, headers: InsertHotelSceneBookItemHeaders, runtime: $Util.RuntimeOptions): Promise<InsertHotelSceneBookItemResponse>;
|
|
8300
8545
|
insertHotelSceneBookItem(request: InsertHotelSceneBookItemRequest): Promise<InsertHotelSceneBookItemResponse>;
|
|
8301
8546
|
invokeRobotPushWithOptions(request: InvokeRobotPushRequest, headers: InvokeRobotPushHeaders, runtime: $Util.RuntimeOptions): Promise<InvokeRobotPushResponse>;
|