@alicloud/aligenieip_1_0 2.4.0 → 2.6.0
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 +235 -1
- package/dist/client.js +450 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +563 -2
package/dist/client.d.ts
CHANGED
|
@@ -144,6 +144,85 @@ export declare class AddCustomQAResponse extends $tea.Model {
|
|
|
144
144
|
[key: string]: any;
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
+
export declare class AddCustomQAV2Headers extends $tea.Model {
|
|
148
|
+
commonHeaders?: {
|
|
149
|
+
[key: string]: string;
|
|
150
|
+
};
|
|
151
|
+
xAcsAligenieAccessToken?: string;
|
|
152
|
+
authorization?: string;
|
|
153
|
+
static names(): {
|
|
154
|
+
[key: string]: string;
|
|
155
|
+
};
|
|
156
|
+
static types(): {
|
|
157
|
+
[key: string]: any;
|
|
158
|
+
};
|
|
159
|
+
constructor(map?: {
|
|
160
|
+
[key: string]: any;
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
export declare class AddCustomQAV2Request extends $tea.Model {
|
|
164
|
+
answers?: string[];
|
|
165
|
+
hotelId?: string;
|
|
166
|
+
keyWords?: string[];
|
|
167
|
+
majorQuestion?: string;
|
|
168
|
+
supplementaryQuestions?: string[];
|
|
169
|
+
static names(): {
|
|
170
|
+
[key: string]: string;
|
|
171
|
+
};
|
|
172
|
+
static types(): {
|
|
173
|
+
[key: string]: any;
|
|
174
|
+
};
|
|
175
|
+
constructor(map?: {
|
|
176
|
+
[key: string]: any;
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
export declare class AddCustomQAV2ShrinkRequest extends $tea.Model {
|
|
180
|
+
answersShrink?: string;
|
|
181
|
+
hotelId?: string;
|
|
182
|
+
keyWordsShrink?: string;
|
|
183
|
+
majorQuestion?: string;
|
|
184
|
+
supplementaryQuestionsShrink?: string;
|
|
185
|
+
static names(): {
|
|
186
|
+
[key: string]: string;
|
|
187
|
+
};
|
|
188
|
+
static types(): {
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
};
|
|
191
|
+
constructor(map?: {
|
|
192
|
+
[key: string]: any;
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
export declare class AddCustomQAV2ResponseBody extends $tea.Model {
|
|
196
|
+
message?: string;
|
|
197
|
+
requestId?: string;
|
|
198
|
+
result?: AddCustomQAV2ResponseBodyResult;
|
|
199
|
+
statusCode?: number;
|
|
200
|
+
static names(): {
|
|
201
|
+
[key: string]: string;
|
|
202
|
+
};
|
|
203
|
+
static types(): {
|
|
204
|
+
[key: string]: any;
|
|
205
|
+
};
|
|
206
|
+
constructor(map?: {
|
|
207
|
+
[key: string]: any;
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
export declare class AddCustomQAV2Response extends $tea.Model {
|
|
211
|
+
headers: {
|
|
212
|
+
[key: string]: string;
|
|
213
|
+
};
|
|
214
|
+
statusCode: number;
|
|
215
|
+
body: AddCustomQAV2ResponseBody;
|
|
216
|
+
static names(): {
|
|
217
|
+
[key: string]: string;
|
|
218
|
+
};
|
|
219
|
+
static types(): {
|
|
220
|
+
[key: string]: any;
|
|
221
|
+
};
|
|
222
|
+
constructor(map?: {
|
|
223
|
+
[key: string]: any;
|
|
224
|
+
});
|
|
225
|
+
}
|
|
147
226
|
export declare class AddMessageTemplateHeaders extends $tea.Model {
|
|
148
227
|
commonHeaders?: {
|
|
149
228
|
[key: string]: string;
|
|
@@ -3868,6 +3947,20 @@ export declare class ListHotelRoomsHeaders extends $tea.Model {
|
|
|
3868
3947
|
});
|
|
3869
3948
|
}
|
|
3870
3949
|
export declare class ListHotelRoomsRequest extends $tea.Model {
|
|
3950
|
+
hotelAdminRoom?: ListHotelRoomsRequestHotelAdminRoom;
|
|
3951
|
+
hotelId?: string;
|
|
3952
|
+
static names(): {
|
|
3953
|
+
[key: string]: string;
|
|
3954
|
+
};
|
|
3955
|
+
static types(): {
|
|
3956
|
+
[key: string]: any;
|
|
3957
|
+
};
|
|
3958
|
+
constructor(map?: {
|
|
3959
|
+
[key: string]: any;
|
|
3960
|
+
});
|
|
3961
|
+
}
|
|
3962
|
+
export declare class ListHotelRoomsShrinkRequest extends $tea.Model {
|
|
3963
|
+
hotelAdminRoomShrink?: string;
|
|
3871
3964
|
hotelId?: string;
|
|
3872
3965
|
static names(): {
|
|
3873
3966
|
[key: string]: string;
|
|
@@ -4220,6 +4313,7 @@ export declare class ListHotelsHeaders extends $tea.Model {
|
|
|
4220
4313
|
});
|
|
4221
4314
|
}
|
|
4222
4315
|
export declare class ListHotelsRequest extends $tea.Model {
|
|
4316
|
+
hotelRequest?: ListHotelsRequestHotelRequest;
|
|
4223
4317
|
page?: ListHotelsRequestPage;
|
|
4224
4318
|
status?: number;
|
|
4225
4319
|
static names(): {
|
|
@@ -4233,6 +4327,7 @@ export declare class ListHotelsRequest extends $tea.Model {
|
|
|
4233
4327
|
});
|
|
4234
4328
|
}
|
|
4235
4329
|
export declare class ListHotelsShrinkRequest extends $tea.Model {
|
|
4330
|
+
hotelRequestShrink?: string;
|
|
4236
4331
|
pageShrink?: string;
|
|
4237
4332
|
status?: number;
|
|
4238
4333
|
static names(): {
|
|
@@ -4830,6 +4925,82 @@ export declare class PushHotelMessageResponse extends $tea.Model {
|
|
|
4830
4925
|
[key: string]: any;
|
|
4831
4926
|
});
|
|
4832
4927
|
}
|
|
4928
|
+
export declare class PushVoiceBoxCommandsHeaders extends $tea.Model {
|
|
4929
|
+
commonHeaders?: {
|
|
4930
|
+
[key: string]: string;
|
|
4931
|
+
};
|
|
4932
|
+
xAcsAligenieAccessToken?: string;
|
|
4933
|
+
authorization?: string;
|
|
4934
|
+
static names(): {
|
|
4935
|
+
[key: string]: string;
|
|
4936
|
+
};
|
|
4937
|
+
static types(): {
|
|
4938
|
+
[key: string]: any;
|
|
4939
|
+
};
|
|
4940
|
+
constructor(map?: {
|
|
4941
|
+
[key: string]: any;
|
|
4942
|
+
});
|
|
4943
|
+
}
|
|
4944
|
+
export declare class PushVoiceBoxCommandsRequest extends $tea.Model {
|
|
4945
|
+
commands?: PushVoiceBoxCommandsRequestCommands[];
|
|
4946
|
+
hotelId?: string;
|
|
4947
|
+
roomNo?: string;
|
|
4948
|
+
static names(): {
|
|
4949
|
+
[key: string]: string;
|
|
4950
|
+
};
|
|
4951
|
+
static types(): {
|
|
4952
|
+
[key: string]: any;
|
|
4953
|
+
};
|
|
4954
|
+
constructor(map?: {
|
|
4955
|
+
[key: string]: any;
|
|
4956
|
+
});
|
|
4957
|
+
}
|
|
4958
|
+
export declare class PushVoiceBoxCommandsShrinkRequest extends $tea.Model {
|
|
4959
|
+
commandsShrink?: string;
|
|
4960
|
+
hotelId?: string;
|
|
4961
|
+
roomNo?: string;
|
|
4962
|
+
static names(): {
|
|
4963
|
+
[key: string]: string;
|
|
4964
|
+
};
|
|
4965
|
+
static types(): {
|
|
4966
|
+
[key: string]: any;
|
|
4967
|
+
};
|
|
4968
|
+
constructor(map?: {
|
|
4969
|
+
[key: string]: any;
|
|
4970
|
+
});
|
|
4971
|
+
}
|
|
4972
|
+
export declare class PushVoiceBoxCommandsResponseBody extends $tea.Model {
|
|
4973
|
+
code?: number;
|
|
4974
|
+
message?: string;
|
|
4975
|
+
requestId?: string;
|
|
4976
|
+
result?: boolean;
|
|
4977
|
+
statusCode?: number;
|
|
4978
|
+
static names(): {
|
|
4979
|
+
[key: string]: string;
|
|
4980
|
+
};
|
|
4981
|
+
static types(): {
|
|
4982
|
+
[key: string]: any;
|
|
4983
|
+
};
|
|
4984
|
+
constructor(map?: {
|
|
4985
|
+
[key: string]: any;
|
|
4986
|
+
});
|
|
4987
|
+
}
|
|
4988
|
+
export declare class PushVoiceBoxCommandsResponse extends $tea.Model {
|
|
4989
|
+
headers: {
|
|
4990
|
+
[key: string]: string;
|
|
4991
|
+
};
|
|
4992
|
+
statusCode: number;
|
|
4993
|
+
body: PushVoiceBoxCommandsResponseBody;
|
|
4994
|
+
static names(): {
|
|
4995
|
+
[key: string]: string;
|
|
4996
|
+
};
|
|
4997
|
+
static types(): {
|
|
4998
|
+
[key: string]: any;
|
|
4999
|
+
};
|
|
5000
|
+
constructor(map?: {
|
|
5001
|
+
[key: string]: any;
|
|
5002
|
+
});
|
|
5003
|
+
}
|
|
4833
5004
|
export declare class PushWelcomeHeaders extends $tea.Model {
|
|
4834
5005
|
commonHeaders?: {
|
|
4835
5006
|
[key: string]: string;
|
|
@@ -6384,6 +6555,27 @@ export declare class UpdateTicketResponse extends $tea.Model {
|
|
|
6384
6555
|
[key: string]: any;
|
|
6385
6556
|
});
|
|
6386
6557
|
}
|
|
6558
|
+
export declare class AddCustomQAV2ResponseBodyResult extends $tea.Model {
|
|
6559
|
+
answers?: string;
|
|
6560
|
+
createTime?: string;
|
|
6561
|
+
hotelId?: string;
|
|
6562
|
+
keyWords?: string;
|
|
6563
|
+
lastOperator?: string;
|
|
6564
|
+
majorQuestion?: string;
|
|
6565
|
+
qaId?: string;
|
|
6566
|
+
status?: number;
|
|
6567
|
+
supplementaryQuestion?: string;
|
|
6568
|
+
updateTime?: string;
|
|
6569
|
+
static names(): {
|
|
6570
|
+
[key: string]: string;
|
|
6571
|
+
};
|
|
6572
|
+
static types(): {
|
|
6573
|
+
[key: string]: any;
|
|
6574
|
+
};
|
|
6575
|
+
constructor(map?: {
|
|
6576
|
+
[key: string]: any;
|
|
6577
|
+
});
|
|
6578
|
+
}
|
|
6387
6579
|
export declare class AddOrUpdateHotelSettingRequestHotelScreenSaver extends $tea.Model {
|
|
6388
6580
|
screenSaverPicUrl?: string;
|
|
6389
6581
|
screenSaverStyle?: string;
|
|
@@ -7631,6 +7823,18 @@ export declare class ListHotelOrderResponseBodyResult extends $tea.Model {
|
|
|
7631
7823
|
[key: string]: any;
|
|
7632
7824
|
});
|
|
7633
7825
|
}
|
|
7826
|
+
export declare class ListHotelRoomsRequestHotelAdminRoom extends $tea.Model {
|
|
7827
|
+
roomNo?: string;
|
|
7828
|
+
static names(): {
|
|
7829
|
+
[key: string]: string;
|
|
7830
|
+
};
|
|
7831
|
+
static types(): {
|
|
7832
|
+
[key: string]: any;
|
|
7833
|
+
};
|
|
7834
|
+
constructor(map?: {
|
|
7835
|
+
[key: string]: any;
|
|
7836
|
+
});
|
|
7837
|
+
}
|
|
7634
7838
|
export declare class ListHotelRoomsResponseBodyResult extends $tea.Model {
|
|
7635
7839
|
hotelId?: string;
|
|
7636
7840
|
roomNo?: string;
|
|
@@ -7903,6 +8107,18 @@ export declare class ListHotelServiceCategoryResponseBodyResult extends $tea.Mod
|
|
|
7903
8107
|
[key: string]: any;
|
|
7904
8108
|
});
|
|
7905
8109
|
}
|
|
8110
|
+
export declare class ListHotelsRequestHotelRequest extends $tea.Model {
|
|
8111
|
+
hotelId?: string;
|
|
8112
|
+
static names(): {
|
|
8113
|
+
[key: string]: string;
|
|
8114
|
+
};
|
|
8115
|
+
static types(): {
|
|
8116
|
+
[key: string]: any;
|
|
8117
|
+
};
|
|
8118
|
+
constructor(map?: {
|
|
8119
|
+
[key: string]: any;
|
|
8120
|
+
});
|
|
8121
|
+
}
|
|
7906
8122
|
export declare class ListHotelsRequestPage extends $tea.Model {
|
|
7907
8123
|
pageNumber?: number;
|
|
7908
8124
|
pageSize?: number;
|
|
@@ -8149,6 +8365,20 @@ export declare class PushHotelMessageRequestPushHotelMessageReq extends $tea.Mod
|
|
|
8149
8365
|
[key: string]: any;
|
|
8150
8366
|
});
|
|
8151
8367
|
}
|
|
8368
|
+
export declare class PushVoiceBoxCommandsRequestCommands extends $tea.Model {
|
|
8369
|
+
commandDomain?: string;
|
|
8370
|
+
commandName?: string;
|
|
8371
|
+
payload?: string;
|
|
8372
|
+
static names(): {
|
|
8373
|
+
[key: string]: string;
|
|
8374
|
+
};
|
|
8375
|
+
static types(): {
|
|
8376
|
+
[key: string]: any;
|
|
8377
|
+
};
|
|
8378
|
+
constructor(map?: {
|
|
8379
|
+
[key: string]: any;
|
|
8380
|
+
});
|
|
8381
|
+
}
|
|
8152
8382
|
export declare class QueryDeviceStatusRequestPayloadLocationDevices extends $tea.Model {
|
|
8153
8383
|
deviceNumber?: string;
|
|
8154
8384
|
deviceType?: string;
|
|
@@ -8637,6 +8867,8 @@ export default class Client extends OpenApi {
|
|
|
8637
8867
|
addCartoon(request: AddCartoonRequest): Promise<AddCartoonResponse>;
|
|
8638
8868
|
addCustomQAWithOptions(tmpReq: AddCustomQARequest, headers: AddCustomQAHeaders, runtime: $Util.RuntimeOptions): Promise<AddCustomQAResponse>;
|
|
8639
8869
|
addCustomQA(request: AddCustomQARequest): Promise<AddCustomQAResponse>;
|
|
8870
|
+
addCustomQAV2WithOptions(tmpReq: AddCustomQAV2Request, headers: AddCustomQAV2Headers, runtime: $Util.RuntimeOptions): Promise<AddCustomQAV2Response>;
|
|
8871
|
+
addCustomQAV2(request: AddCustomQAV2Request): Promise<AddCustomQAV2Response>;
|
|
8640
8872
|
addMessageTemplateWithOptions(request: AddMessageTemplateRequest, headers: AddMessageTemplateHeaders, runtime: $Util.RuntimeOptions): Promise<AddMessageTemplateResponse>;
|
|
8641
8873
|
addMessageTemplate(request: AddMessageTemplateRequest): Promise<AddMessageTemplateResponse>;
|
|
8642
8874
|
addOrUpdateDisPlayModesWithOptions(tmpReq: AddOrUpdateDisPlayModesRequest, headers: AddOrUpdateDisPlayModesHeaders, runtime: $Util.RuntimeOptions): Promise<AddOrUpdateDisPlayModesResponse>;
|
|
@@ -8747,7 +8979,7 @@ export default class Client extends OpenApi {
|
|
|
8747
8979
|
listHotelMessageTemplate(): Promise<ListHotelMessageTemplateResponse>;
|
|
8748
8980
|
listHotelOrderWithOptions(tmpReq: ListHotelOrderRequest, headers: ListHotelOrderHeaders, runtime: $Util.RuntimeOptions): Promise<ListHotelOrderResponse>;
|
|
8749
8981
|
listHotelOrder(request: ListHotelOrderRequest): Promise<ListHotelOrderResponse>;
|
|
8750
|
-
listHotelRoomsWithOptions(
|
|
8982
|
+
listHotelRoomsWithOptions(tmpReq: ListHotelRoomsRequest, headers: ListHotelRoomsHeaders, runtime: $Util.RuntimeOptions): Promise<ListHotelRoomsResponse>;
|
|
8751
8983
|
listHotelRooms(request: ListHotelRoomsRequest): Promise<ListHotelRoomsResponse>;
|
|
8752
8984
|
listHotelSceneBookItemsWithOptions(tmpReq: ListHotelSceneBookItemsRequest, headers: ListHotelSceneBookItemsHeaders, runtime: $Util.RuntimeOptions): Promise<ListHotelSceneBookItemsResponse>;
|
|
8753
8985
|
listHotelSceneBookItems(request: ListHotelSceneBookItemsRequest): Promise<ListHotelSceneBookItemsResponse>;
|
|
@@ -8775,6 +9007,8 @@ export default class Client extends OpenApi {
|
|
|
8775
9007
|
pageGetHotelRoomDevices(request: PageGetHotelRoomDevicesRequest): Promise<PageGetHotelRoomDevicesResponse>;
|
|
8776
9008
|
pushHotelMessageWithOptions(tmpReq: PushHotelMessageRequest, headers: PushHotelMessageHeaders, runtime: $Util.RuntimeOptions): Promise<PushHotelMessageResponse>;
|
|
8777
9009
|
pushHotelMessage(request: PushHotelMessageRequest): Promise<PushHotelMessageResponse>;
|
|
9010
|
+
pushVoiceBoxCommandsWithOptions(tmpReq: PushVoiceBoxCommandsRequest, headers: PushVoiceBoxCommandsHeaders, runtime: $Util.RuntimeOptions): Promise<PushVoiceBoxCommandsResponse>;
|
|
9011
|
+
pushVoiceBoxCommands(request: PushVoiceBoxCommandsRequest): Promise<PushVoiceBoxCommandsResponse>;
|
|
8778
9012
|
pushWelcomeWithOptions(request: PushWelcomeRequest, headers: PushWelcomeHeaders, runtime: $Util.RuntimeOptions): Promise<PushWelcomeResponse>;
|
|
8779
9013
|
pushWelcome(request: PushWelcomeRequest): Promise<PushWelcomeResponse>;
|
|
8780
9014
|
pushWelcomeTextAndMusicWithOptions(tmpReq: PushWelcomeTextAndMusicRequest, headers: PushWelcomeTextAndMusicHeaders, runtime: $Util.RuntimeOptions): Promise<PushWelcomeTextAndMusicResponse>;
|