@alicloud/aligenieip_1_0 1.0.9
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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +1503 -0
- package/dist/client.js +2645 -0
- package/dist/client.js.map +1 -0
- package/package.json +32 -0
- package/src/client.ts +3247 -0
package/src/client.ts
ADDED
|
@@ -0,0 +1,3247 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
import Util, * as $Util from '@alicloud/tea-util';
|
|
6
|
+
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
7
|
+
import OpenApiUtil from '@alicloud/openapi-util';
|
|
8
|
+
import EndpointUtil from '@alicloud/endpoint-util';
|
|
9
|
+
import * as $tea from '@alicloud/tea-typescript';
|
|
10
|
+
|
|
11
|
+
export class DeviceControlHeaders extends $tea.Model {
|
|
12
|
+
commonHeaders?: { [key: string]: string };
|
|
13
|
+
xAcsAligenieAccessToken?: string;
|
|
14
|
+
authorization?: string;
|
|
15
|
+
static names(): { [key: string]: string } {
|
|
16
|
+
return {
|
|
17
|
+
commonHeaders: 'commonHeaders',
|
|
18
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
19
|
+
authorization: 'Authorization',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
26
|
+
xAcsAligenieAccessToken: 'string',
|
|
27
|
+
authorization: 'string',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
constructor(map?: { [key: string]: any }) {
|
|
32
|
+
super(map);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class DeviceControlRequest extends $tea.Model {
|
|
37
|
+
payload?: DeviceControlRequestPayload;
|
|
38
|
+
userInfo?: DeviceControlRequestUserInfo;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
payload: 'Payload',
|
|
42
|
+
userInfo: 'UserInfo',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
static types(): { [key: string]: any } {
|
|
47
|
+
return {
|
|
48
|
+
payload: DeviceControlRequestPayload,
|
|
49
|
+
userInfo: DeviceControlRequestUserInfo,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export class DeviceControlShrinkRequest extends $tea.Model {
|
|
59
|
+
payloadShrink?: string;
|
|
60
|
+
userInfoShrink?: string;
|
|
61
|
+
static names(): { [key: string]: string } {
|
|
62
|
+
return {
|
|
63
|
+
payloadShrink: 'Payload',
|
|
64
|
+
userInfoShrink: 'UserInfo',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
static types(): { [key: string]: any } {
|
|
69
|
+
return {
|
|
70
|
+
payloadShrink: 'string',
|
|
71
|
+
userInfoShrink: 'string',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
constructor(map?: { [key: string]: any }) {
|
|
76
|
+
super(map);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export class DeviceControlResponseBody extends $tea.Model {
|
|
81
|
+
code?: number;
|
|
82
|
+
message?: string;
|
|
83
|
+
requestId?: string;
|
|
84
|
+
result?: DeviceControlResponseBodyResult;
|
|
85
|
+
static names(): { [key: string]: string } {
|
|
86
|
+
return {
|
|
87
|
+
code: 'Code',
|
|
88
|
+
message: 'Message',
|
|
89
|
+
requestId: 'RequestId',
|
|
90
|
+
result: 'Result',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static types(): { [key: string]: any } {
|
|
95
|
+
return {
|
|
96
|
+
code: 'number',
|
|
97
|
+
message: 'string',
|
|
98
|
+
requestId: 'string',
|
|
99
|
+
result: DeviceControlResponseBodyResult,
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
constructor(map?: { [key: string]: any }) {
|
|
104
|
+
super(map);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export class DeviceControlResponse extends $tea.Model {
|
|
109
|
+
headers: { [key: string]: string };
|
|
110
|
+
statusCode: number;
|
|
111
|
+
body: DeviceControlResponseBody;
|
|
112
|
+
static names(): { [key: string]: string } {
|
|
113
|
+
return {
|
|
114
|
+
headers: 'headers',
|
|
115
|
+
statusCode: 'statusCode',
|
|
116
|
+
body: 'body',
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
static types(): { [key: string]: any } {
|
|
121
|
+
return {
|
|
122
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
123
|
+
statusCode: 'number',
|
|
124
|
+
body: DeviceControlResponseBody,
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
constructor(map?: { [key: string]: any }) {
|
|
129
|
+
super(map);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export class GetHotelHomeBackImageAndModesHeaders extends $tea.Model {
|
|
134
|
+
commonHeaders?: { [key: string]: string };
|
|
135
|
+
xAcsAligenieAccessToken?: string;
|
|
136
|
+
authorization?: string;
|
|
137
|
+
static names(): { [key: string]: string } {
|
|
138
|
+
return {
|
|
139
|
+
commonHeaders: 'commonHeaders',
|
|
140
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
141
|
+
authorization: 'Authorization',
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
static types(): { [key: string]: any } {
|
|
146
|
+
return {
|
|
147
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
148
|
+
xAcsAligenieAccessToken: 'string',
|
|
149
|
+
authorization: 'string',
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
constructor(map?: { [key: string]: any }) {
|
|
154
|
+
super(map);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export class GetHotelHomeBackImageAndModesRequest extends $tea.Model {
|
|
159
|
+
userInfo?: GetHotelHomeBackImageAndModesRequestUserInfo;
|
|
160
|
+
static names(): { [key: string]: string } {
|
|
161
|
+
return {
|
|
162
|
+
userInfo: 'UserInfo',
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
static types(): { [key: string]: any } {
|
|
167
|
+
return {
|
|
168
|
+
userInfo: GetHotelHomeBackImageAndModesRequestUserInfo,
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
constructor(map?: { [key: string]: any }) {
|
|
173
|
+
super(map);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export class GetHotelHomeBackImageAndModesShrinkRequest extends $tea.Model {
|
|
178
|
+
userInfoShrink?: string;
|
|
179
|
+
static names(): { [key: string]: string } {
|
|
180
|
+
return {
|
|
181
|
+
userInfoShrink: 'UserInfo',
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
static types(): { [key: string]: any } {
|
|
186
|
+
return {
|
|
187
|
+
userInfoShrink: 'string',
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
constructor(map?: { [key: string]: any }) {
|
|
192
|
+
super(map);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export class GetHotelHomeBackImageAndModesResponseBody extends $tea.Model {
|
|
197
|
+
code?: number;
|
|
198
|
+
message?: string;
|
|
199
|
+
requestId?: string;
|
|
200
|
+
result?: GetHotelHomeBackImageAndModesResponseBodyResult;
|
|
201
|
+
static names(): { [key: string]: string } {
|
|
202
|
+
return {
|
|
203
|
+
code: 'Code',
|
|
204
|
+
message: 'Message',
|
|
205
|
+
requestId: 'RequestId',
|
|
206
|
+
result: 'Result',
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
static types(): { [key: string]: any } {
|
|
211
|
+
return {
|
|
212
|
+
code: 'number',
|
|
213
|
+
message: 'string',
|
|
214
|
+
requestId: 'string',
|
|
215
|
+
result: GetHotelHomeBackImageAndModesResponseBodyResult,
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
constructor(map?: { [key: string]: any }) {
|
|
220
|
+
super(map);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export class GetHotelHomeBackImageAndModesResponse extends $tea.Model {
|
|
225
|
+
headers: { [key: string]: string };
|
|
226
|
+
statusCode: number;
|
|
227
|
+
body: GetHotelHomeBackImageAndModesResponseBody;
|
|
228
|
+
static names(): { [key: string]: string } {
|
|
229
|
+
return {
|
|
230
|
+
headers: 'headers',
|
|
231
|
+
statusCode: 'statusCode',
|
|
232
|
+
body: 'body',
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
static types(): { [key: string]: any } {
|
|
237
|
+
return {
|
|
238
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
239
|
+
statusCode: 'number',
|
|
240
|
+
body: GetHotelHomeBackImageAndModesResponseBody,
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
constructor(map?: { [key: string]: any }) {
|
|
245
|
+
super(map);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export class GetHotelOrderDetailHeaders extends $tea.Model {
|
|
250
|
+
commonHeaders?: { [key: string]: string };
|
|
251
|
+
xAcsAligenieAccessToken?: string;
|
|
252
|
+
authorization?: string;
|
|
253
|
+
static names(): { [key: string]: string } {
|
|
254
|
+
return {
|
|
255
|
+
commonHeaders: 'commonHeaders',
|
|
256
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
257
|
+
authorization: 'Authorization',
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
static types(): { [key: string]: any } {
|
|
262
|
+
return {
|
|
263
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
264
|
+
xAcsAligenieAccessToken: 'string',
|
|
265
|
+
authorization: 'string',
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
constructor(map?: { [key: string]: any }) {
|
|
270
|
+
super(map);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export class GetHotelOrderDetailRequest extends $tea.Model {
|
|
275
|
+
payload?: GetHotelOrderDetailRequestPayload;
|
|
276
|
+
static names(): { [key: string]: string } {
|
|
277
|
+
return {
|
|
278
|
+
payload: 'Payload',
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
static types(): { [key: string]: any } {
|
|
283
|
+
return {
|
|
284
|
+
payload: GetHotelOrderDetailRequestPayload,
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
constructor(map?: { [key: string]: any }) {
|
|
289
|
+
super(map);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export class GetHotelOrderDetailShrinkRequest extends $tea.Model {
|
|
294
|
+
payloadShrink?: string;
|
|
295
|
+
static names(): { [key: string]: string } {
|
|
296
|
+
return {
|
|
297
|
+
payloadShrink: 'Payload',
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
static types(): { [key: string]: any } {
|
|
302
|
+
return {
|
|
303
|
+
payloadShrink: 'string',
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
constructor(map?: { [key: string]: any }) {
|
|
308
|
+
super(map);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export class GetHotelOrderDetailResponseBody extends $tea.Model {
|
|
313
|
+
code?: number;
|
|
314
|
+
message?: string;
|
|
315
|
+
requestId?: string;
|
|
316
|
+
result?: GetHotelOrderDetailResponseBodyResult[];
|
|
317
|
+
static names(): { [key: string]: string } {
|
|
318
|
+
return {
|
|
319
|
+
code: 'Code',
|
|
320
|
+
message: 'Message',
|
|
321
|
+
requestId: 'RequestId',
|
|
322
|
+
result: 'Result',
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
static types(): { [key: string]: any } {
|
|
327
|
+
return {
|
|
328
|
+
code: 'number',
|
|
329
|
+
message: 'string',
|
|
330
|
+
requestId: 'string',
|
|
331
|
+
result: { 'type': 'array', 'itemType': GetHotelOrderDetailResponseBodyResult },
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
constructor(map?: { [key: string]: any }) {
|
|
336
|
+
super(map);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export class GetHotelOrderDetailResponse extends $tea.Model {
|
|
341
|
+
headers: { [key: string]: string };
|
|
342
|
+
statusCode: number;
|
|
343
|
+
body: GetHotelOrderDetailResponseBody;
|
|
344
|
+
static names(): { [key: string]: string } {
|
|
345
|
+
return {
|
|
346
|
+
headers: 'headers',
|
|
347
|
+
statusCode: 'statusCode',
|
|
348
|
+
body: 'body',
|
|
349
|
+
};
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
static types(): { [key: string]: any } {
|
|
353
|
+
return {
|
|
354
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
355
|
+
statusCode: 'number',
|
|
356
|
+
body: GetHotelOrderDetailResponseBody,
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
constructor(map?: { [key: string]: any }) {
|
|
361
|
+
super(map);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export class GetHotelSampleUtterancesHeaders extends $tea.Model {
|
|
366
|
+
commonHeaders?: { [key: string]: string };
|
|
367
|
+
xAcsAligenieAccessToken?: string;
|
|
368
|
+
authorization?: string;
|
|
369
|
+
static names(): { [key: string]: string } {
|
|
370
|
+
return {
|
|
371
|
+
commonHeaders: 'commonHeaders',
|
|
372
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
373
|
+
authorization: 'Authorization',
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
static types(): { [key: string]: any } {
|
|
378
|
+
return {
|
|
379
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
380
|
+
xAcsAligenieAccessToken: 'string',
|
|
381
|
+
authorization: 'string',
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
constructor(map?: { [key: string]: any }) {
|
|
386
|
+
super(map);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export class GetHotelSampleUtterancesRequest extends $tea.Model {
|
|
391
|
+
userInfo?: GetHotelSampleUtterancesRequestUserInfo;
|
|
392
|
+
static names(): { [key: string]: string } {
|
|
393
|
+
return {
|
|
394
|
+
userInfo: 'UserInfo',
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
static types(): { [key: string]: any } {
|
|
399
|
+
return {
|
|
400
|
+
userInfo: GetHotelSampleUtterancesRequestUserInfo,
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
constructor(map?: { [key: string]: any }) {
|
|
405
|
+
super(map);
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export class GetHotelSampleUtterancesShrinkRequest extends $tea.Model {
|
|
410
|
+
userInfoShrink?: string;
|
|
411
|
+
static names(): { [key: string]: string } {
|
|
412
|
+
return {
|
|
413
|
+
userInfoShrink: 'UserInfo',
|
|
414
|
+
};
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
static types(): { [key: string]: any } {
|
|
418
|
+
return {
|
|
419
|
+
userInfoShrink: 'string',
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
constructor(map?: { [key: string]: any }) {
|
|
424
|
+
super(map);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export class GetHotelSampleUtterancesResponseBody extends $tea.Model {
|
|
429
|
+
code?: number;
|
|
430
|
+
message?: string;
|
|
431
|
+
requestId?: string;
|
|
432
|
+
result?: string[];
|
|
433
|
+
static names(): { [key: string]: string } {
|
|
434
|
+
return {
|
|
435
|
+
code: 'Code',
|
|
436
|
+
message: 'Message',
|
|
437
|
+
requestId: 'RequestId',
|
|
438
|
+
result: 'Result',
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
static types(): { [key: string]: any } {
|
|
443
|
+
return {
|
|
444
|
+
code: 'number',
|
|
445
|
+
message: 'string',
|
|
446
|
+
requestId: 'string',
|
|
447
|
+
result: { 'type': 'array', 'itemType': 'string' },
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
constructor(map?: { [key: string]: any }) {
|
|
452
|
+
super(map);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export class GetHotelSampleUtterancesResponse extends $tea.Model {
|
|
457
|
+
headers: { [key: string]: string };
|
|
458
|
+
statusCode: number;
|
|
459
|
+
body: GetHotelSampleUtterancesResponseBody;
|
|
460
|
+
static names(): { [key: string]: string } {
|
|
461
|
+
return {
|
|
462
|
+
headers: 'headers',
|
|
463
|
+
statusCode: 'statusCode',
|
|
464
|
+
body: 'body',
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
static types(): { [key: string]: any } {
|
|
469
|
+
return {
|
|
470
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
471
|
+
statusCode: 'number',
|
|
472
|
+
body: GetHotelSampleUtterancesResponseBody,
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
constructor(map?: { [key: string]: any }) {
|
|
477
|
+
super(map);
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export class GetHotelScreenSaverHeaders extends $tea.Model {
|
|
482
|
+
commonHeaders?: { [key: string]: string };
|
|
483
|
+
xAcsAligenieAccessToken?: string;
|
|
484
|
+
authorization?: string;
|
|
485
|
+
static names(): { [key: string]: string } {
|
|
486
|
+
return {
|
|
487
|
+
commonHeaders: 'commonHeaders',
|
|
488
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
489
|
+
authorization: 'Authorization',
|
|
490
|
+
};
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
static types(): { [key: string]: any } {
|
|
494
|
+
return {
|
|
495
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
496
|
+
xAcsAligenieAccessToken: 'string',
|
|
497
|
+
authorization: 'string',
|
|
498
|
+
};
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
constructor(map?: { [key: string]: any }) {
|
|
502
|
+
super(map);
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export class GetHotelScreenSaverRequest extends $tea.Model {
|
|
507
|
+
userInfo?: GetHotelScreenSaverRequestUserInfo;
|
|
508
|
+
static names(): { [key: string]: string } {
|
|
509
|
+
return {
|
|
510
|
+
userInfo: 'UserInfo',
|
|
511
|
+
};
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
static types(): { [key: string]: any } {
|
|
515
|
+
return {
|
|
516
|
+
userInfo: GetHotelScreenSaverRequestUserInfo,
|
|
517
|
+
};
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
constructor(map?: { [key: string]: any }) {
|
|
521
|
+
super(map);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export class GetHotelScreenSaverShrinkRequest extends $tea.Model {
|
|
526
|
+
userInfoShrink?: string;
|
|
527
|
+
static names(): { [key: string]: string } {
|
|
528
|
+
return {
|
|
529
|
+
userInfoShrink: 'UserInfo',
|
|
530
|
+
};
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
static types(): { [key: string]: any } {
|
|
534
|
+
return {
|
|
535
|
+
userInfoShrink: 'string',
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
constructor(map?: { [key: string]: any }) {
|
|
540
|
+
super(map);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
export class GetHotelScreenSaverResponseBody extends $tea.Model {
|
|
545
|
+
code?: number;
|
|
546
|
+
message?: string;
|
|
547
|
+
requestId?: string;
|
|
548
|
+
result?: GetHotelScreenSaverResponseBodyResult;
|
|
549
|
+
static names(): { [key: string]: string } {
|
|
550
|
+
return {
|
|
551
|
+
code: 'Code',
|
|
552
|
+
message: 'Message',
|
|
553
|
+
requestId: 'RequestId',
|
|
554
|
+
result: 'Result',
|
|
555
|
+
};
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
static types(): { [key: string]: any } {
|
|
559
|
+
return {
|
|
560
|
+
code: 'number',
|
|
561
|
+
message: 'string',
|
|
562
|
+
requestId: 'string',
|
|
563
|
+
result: GetHotelScreenSaverResponseBodyResult,
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
constructor(map?: { [key: string]: any }) {
|
|
568
|
+
super(map);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export class GetHotelScreenSaverResponse extends $tea.Model {
|
|
573
|
+
headers: { [key: string]: string };
|
|
574
|
+
statusCode: number;
|
|
575
|
+
body: GetHotelScreenSaverResponseBody;
|
|
576
|
+
static names(): { [key: string]: string } {
|
|
577
|
+
return {
|
|
578
|
+
headers: 'headers',
|
|
579
|
+
statusCode: 'statusCode',
|
|
580
|
+
body: 'body',
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
static types(): { [key: string]: any } {
|
|
585
|
+
return {
|
|
586
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
587
|
+
statusCode: 'number',
|
|
588
|
+
body: GetHotelScreenSaverResponseBody,
|
|
589
|
+
};
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
constructor(map?: { [key: string]: any }) {
|
|
593
|
+
super(map);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export class ListHotelControlDeviceHeaders extends $tea.Model {
|
|
598
|
+
commonHeaders?: { [key: string]: string };
|
|
599
|
+
xAcsAligenieAccessToken?: string;
|
|
600
|
+
authorization?: string;
|
|
601
|
+
static names(): { [key: string]: string } {
|
|
602
|
+
return {
|
|
603
|
+
commonHeaders: 'commonHeaders',
|
|
604
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
605
|
+
authorization: 'Authorization',
|
|
606
|
+
};
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
static types(): { [key: string]: any } {
|
|
610
|
+
return {
|
|
611
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
612
|
+
xAcsAligenieAccessToken: 'string',
|
|
613
|
+
authorization: 'string',
|
|
614
|
+
};
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
constructor(map?: { [key: string]: any }) {
|
|
618
|
+
super(map);
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export class ListHotelControlDeviceRequest extends $tea.Model {
|
|
623
|
+
userInfo?: ListHotelControlDeviceRequestUserInfo;
|
|
624
|
+
static names(): { [key: string]: string } {
|
|
625
|
+
return {
|
|
626
|
+
userInfo: 'UserInfo',
|
|
627
|
+
};
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
static types(): { [key: string]: any } {
|
|
631
|
+
return {
|
|
632
|
+
userInfo: ListHotelControlDeviceRequestUserInfo,
|
|
633
|
+
};
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
constructor(map?: { [key: string]: any }) {
|
|
637
|
+
super(map);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
export class ListHotelControlDeviceShrinkRequest extends $tea.Model {
|
|
642
|
+
userInfoShrink?: string;
|
|
643
|
+
static names(): { [key: string]: string } {
|
|
644
|
+
return {
|
|
645
|
+
userInfoShrink: 'UserInfo',
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
static types(): { [key: string]: any } {
|
|
650
|
+
return {
|
|
651
|
+
userInfoShrink: 'string',
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
constructor(map?: { [key: string]: any }) {
|
|
656
|
+
super(map);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export class ListHotelControlDeviceResponseBody extends $tea.Model {
|
|
661
|
+
code?: number;
|
|
662
|
+
message?: string;
|
|
663
|
+
requestId?: string;
|
|
664
|
+
result?: { [key: string]: string }[];
|
|
665
|
+
static names(): { [key: string]: string } {
|
|
666
|
+
return {
|
|
667
|
+
code: 'Code',
|
|
668
|
+
message: 'Message',
|
|
669
|
+
requestId: 'RequestId',
|
|
670
|
+
result: 'Result',
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
static types(): { [key: string]: any } {
|
|
675
|
+
return {
|
|
676
|
+
code: 'number',
|
|
677
|
+
message: 'string',
|
|
678
|
+
requestId: 'string',
|
|
679
|
+
result: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
680
|
+
};
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
constructor(map?: { [key: string]: any }) {
|
|
684
|
+
super(map);
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export class ListHotelControlDeviceResponse extends $tea.Model {
|
|
689
|
+
headers: { [key: string]: string };
|
|
690
|
+
statusCode: number;
|
|
691
|
+
body: ListHotelControlDeviceResponseBody;
|
|
692
|
+
static names(): { [key: string]: string } {
|
|
693
|
+
return {
|
|
694
|
+
headers: 'headers',
|
|
695
|
+
statusCode: 'statusCode',
|
|
696
|
+
body: 'body',
|
|
697
|
+
};
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
static types(): { [key: string]: any } {
|
|
701
|
+
return {
|
|
702
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
703
|
+
statusCode: 'number',
|
|
704
|
+
body: ListHotelControlDeviceResponseBody,
|
|
705
|
+
};
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
constructor(map?: { [key: string]: any }) {
|
|
709
|
+
super(map);
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export class ListHotelOrderHeaders extends $tea.Model {
|
|
714
|
+
commonHeaders?: { [key: string]: string };
|
|
715
|
+
xAcsAligenieAccessToken?: string;
|
|
716
|
+
authorization?: string;
|
|
717
|
+
static names(): { [key: string]: string } {
|
|
718
|
+
return {
|
|
719
|
+
commonHeaders: 'commonHeaders',
|
|
720
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
721
|
+
authorization: 'Authorization',
|
|
722
|
+
};
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
static types(): { [key: string]: any } {
|
|
726
|
+
return {
|
|
727
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
728
|
+
xAcsAligenieAccessToken: 'string',
|
|
729
|
+
authorization: 'string',
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
constructor(map?: { [key: string]: any }) {
|
|
734
|
+
super(map);
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
export class ListHotelOrderRequest extends $tea.Model {
|
|
739
|
+
payload?: ListHotelOrderRequestPayload;
|
|
740
|
+
userInfo?: ListHotelOrderRequestUserInfo;
|
|
741
|
+
static names(): { [key: string]: string } {
|
|
742
|
+
return {
|
|
743
|
+
payload: 'Payload',
|
|
744
|
+
userInfo: 'UserInfo',
|
|
745
|
+
};
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
static types(): { [key: string]: any } {
|
|
749
|
+
return {
|
|
750
|
+
payload: ListHotelOrderRequestPayload,
|
|
751
|
+
userInfo: ListHotelOrderRequestUserInfo,
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
constructor(map?: { [key: string]: any }) {
|
|
756
|
+
super(map);
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
export class ListHotelOrderShrinkRequest extends $tea.Model {
|
|
761
|
+
payloadShrink?: string;
|
|
762
|
+
userInfoShrink?: string;
|
|
763
|
+
static names(): { [key: string]: string } {
|
|
764
|
+
return {
|
|
765
|
+
payloadShrink: 'Payload',
|
|
766
|
+
userInfoShrink: 'UserInfo',
|
|
767
|
+
};
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
static types(): { [key: string]: any } {
|
|
771
|
+
return {
|
|
772
|
+
payloadShrink: 'string',
|
|
773
|
+
userInfoShrink: 'string',
|
|
774
|
+
};
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
constructor(map?: { [key: string]: any }) {
|
|
778
|
+
super(map);
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
export class ListHotelOrderResponseBody extends $tea.Model {
|
|
783
|
+
code?: number;
|
|
784
|
+
message?: string;
|
|
785
|
+
page?: ListHotelOrderResponseBodyPage;
|
|
786
|
+
requestId?: string;
|
|
787
|
+
result?: ListHotelOrderResponseBodyResult[];
|
|
788
|
+
static names(): { [key: string]: string } {
|
|
789
|
+
return {
|
|
790
|
+
code: 'Code',
|
|
791
|
+
message: 'Message',
|
|
792
|
+
page: 'Page',
|
|
793
|
+
requestId: 'RequestId',
|
|
794
|
+
result: 'Result',
|
|
795
|
+
};
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
static types(): { [key: string]: any } {
|
|
799
|
+
return {
|
|
800
|
+
code: 'number',
|
|
801
|
+
message: 'string',
|
|
802
|
+
page: ListHotelOrderResponseBodyPage,
|
|
803
|
+
requestId: 'string',
|
|
804
|
+
result: { 'type': 'array', 'itemType': ListHotelOrderResponseBodyResult },
|
|
805
|
+
};
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
constructor(map?: { [key: string]: any }) {
|
|
809
|
+
super(map);
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
export class ListHotelOrderResponse extends $tea.Model {
|
|
814
|
+
headers: { [key: string]: string };
|
|
815
|
+
statusCode: number;
|
|
816
|
+
body: ListHotelOrderResponseBody;
|
|
817
|
+
static names(): { [key: string]: string } {
|
|
818
|
+
return {
|
|
819
|
+
headers: 'headers',
|
|
820
|
+
statusCode: 'statusCode',
|
|
821
|
+
body: 'body',
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
static types(): { [key: string]: any } {
|
|
826
|
+
return {
|
|
827
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
828
|
+
statusCode: 'number',
|
|
829
|
+
body: ListHotelOrderResponseBody,
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
constructor(map?: { [key: string]: any }) {
|
|
834
|
+
super(map);
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
export class ListHotelSceneItemHeaders extends $tea.Model {
|
|
839
|
+
commonHeaders?: { [key: string]: string };
|
|
840
|
+
xAcsAligenieAccessToken?: string;
|
|
841
|
+
authorization?: string;
|
|
842
|
+
static names(): { [key: string]: string } {
|
|
843
|
+
return {
|
|
844
|
+
commonHeaders: 'commonHeaders',
|
|
845
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
846
|
+
authorization: 'Authorization',
|
|
847
|
+
};
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
static types(): { [key: string]: any } {
|
|
851
|
+
return {
|
|
852
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
853
|
+
xAcsAligenieAccessToken: 'string',
|
|
854
|
+
authorization: 'string',
|
|
855
|
+
};
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
constructor(map?: { [key: string]: any }) {
|
|
859
|
+
super(map);
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export class ListHotelSceneItemRequest extends $tea.Model {
|
|
864
|
+
payload?: ListHotelSceneItemRequestPayload;
|
|
865
|
+
userInfo?: ListHotelSceneItemRequestUserInfo;
|
|
866
|
+
static names(): { [key: string]: string } {
|
|
867
|
+
return {
|
|
868
|
+
payload: 'Payload',
|
|
869
|
+
userInfo: 'UserInfo',
|
|
870
|
+
};
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
static types(): { [key: string]: any } {
|
|
874
|
+
return {
|
|
875
|
+
payload: ListHotelSceneItemRequestPayload,
|
|
876
|
+
userInfo: ListHotelSceneItemRequestUserInfo,
|
|
877
|
+
};
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
constructor(map?: { [key: string]: any }) {
|
|
881
|
+
super(map);
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
export class ListHotelSceneItemShrinkRequest extends $tea.Model {
|
|
886
|
+
payloadShrink?: string;
|
|
887
|
+
userInfoShrink?: string;
|
|
888
|
+
static names(): { [key: string]: string } {
|
|
889
|
+
return {
|
|
890
|
+
payloadShrink: 'Payload',
|
|
891
|
+
userInfoShrink: 'UserInfo',
|
|
892
|
+
};
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
static types(): { [key: string]: any } {
|
|
896
|
+
return {
|
|
897
|
+
payloadShrink: 'string',
|
|
898
|
+
userInfoShrink: 'string',
|
|
899
|
+
};
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
constructor(map?: { [key: string]: any }) {
|
|
903
|
+
super(map);
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
export class ListHotelSceneItemResponseBody extends $tea.Model {
|
|
908
|
+
code?: number;
|
|
909
|
+
message?: string;
|
|
910
|
+
page?: ListHotelSceneItemResponseBodyPage;
|
|
911
|
+
requestId?: string;
|
|
912
|
+
result?: ListHotelSceneItemResponseBodyResult;
|
|
913
|
+
static names(): { [key: string]: string } {
|
|
914
|
+
return {
|
|
915
|
+
code: 'Code',
|
|
916
|
+
message: 'Message',
|
|
917
|
+
page: 'Page',
|
|
918
|
+
requestId: 'RequestId',
|
|
919
|
+
result: 'Result',
|
|
920
|
+
};
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
static types(): { [key: string]: any } {
|
|
924
|
+
return {
|
|
925
|
+
code: 'number',
|
|
926
|
+
message: 'string',
|
|
927
|
+
page: ListHotelSceneItemResponseBodyPage,
|
|
928
|
+
requestId: 'string',
|
|
929
|
+
result: ListHotelSceneItemResponseBodyResult,
|
|
930
|
+
};
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
constructor(map?: { [key: string]: any }) {
|
|
934
|
+
super(map);
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
export class ListHotelSceneItemResponse extends $tea.Model {
|
|
939
|
+
headers: { [key: string]: string };
|
|
940
|
+
statusCode: number;
|
|
941
|
+
body: ListHotelSceneItemResponseBody;
|
|
942
|
+
static names(): { [key: string]: string } {
|
|
943
|
+
return {
|
|
944
|
+
headers: 'headers',
|
|
945
|
+
statusCode: 'statusCode',
|
|
946
|
+
body: 'body',
|
|
947
|
+
};
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
static types(): { [key: string]: any } {
|
|
951
|
+
return {
|
|
952
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
953
|
+
statusCode: 'number',
|
|
954
|
+
body: ListHotelSceneItemResponseBody,
|
|
955
|
+
};
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
constructor(map?: { [key: string]: any }) {
|
|
959
|
+
super(map);
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
export class ListHotelServiceCategoryHeaders extends $tea.Model {
|
|
964
|
+
commonHeaders?: { [key: string]: string };
|
|
965
|
+
xAcsAligenieAccessToken?: string;
|
|
966
|
+
authorization?: string;
|
|
967
|
+
static names(): { [key: string]: string } {
|
|
968
|
+
return {
|
|
969
|
+
commonHeaders: 'commonHeaders',
|
|
970
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
971
|
+
authorization: 'Authorization',
|
|
972
|
+
};
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
static types(): { [key: string]: any } {
|
|
976
|
+
return {
|
|
977
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
978
|
+
xAcsAligenieAccessToken: 'string',
|
|
979
|
+
authorization: 'string',
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
constructor(map?: { [key: string]: any }) {
|
|
984
|
+
super(map);
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
export class ListHotelServiceCategoryRequest extends $tea.Model {
|
|
989
|
+
payload?: ListHotelServiceCategoryRequestPayload;
|
|
990
|
+
static names(): { [key: string]: string } {
|
|
991
|
+
return {
|
|
992
|
+
payload: 'Payload',
|
|
993
|
+
};
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
static types(): { [key: string]: any } {
|
|
997
|
+
return {
|
|
998
|
+
payload: ListHotelServiceCategoryRequestPayload,
|
|
999
|
+
};
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
constructor(map?: { [key: string]: any }) {
|
|
1003
|
+
super(map);
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
export class ListHotelServiceCategoryShrinkRequest extends $tea.Model {
|
|
1008
|
+
payloadShrink?: string;
|
|
1009
|
+
static names(): { [key: string]: string } {
|
|
1010
|
+
return {
|
|
1011
|
+
payloadShrink: 'Payload',
|
|
1012
|
+
};
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
static types(): { [key: string]: any } {
|
|
1016
|
+
return {
|
|
1017
|
+
payloadShrink: 'string',
|
|
1018
|
+
};
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
constructor(map?: { [key: string]: any }) {
|
|
1022
|
+
super(map);
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
export class ListHotelServiceCategoryResponseBody extends $tea.Model {
|
|
1027
|
+
code?: number;
|
|
1028
|
+
message?: string;
|
|
1029
|
+
requestId?: string;
|
|
1030
|
+
result?: ListHotelServiceCategoryResponseBodyResult[];
|
|
1031
|
+
static names(): { [key: string]: string } {
|
|
1032
|
+
return {
|
|
1033
|
+
code: 'Code',
|
|
1034
|
+
message: 'Message',
|
|
1035
|
+
requestId: 'RequestId',
|
|
1036
|
+
result: 'Result',
|
|
1037
|
+
};
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
static types(): { [key: string]: any } {
|
|
1041
|
+
return {
|
|
1042
|
+
code: 'number',
|
|
1043
|
+
message: 'string',
|
|
1044
|
+
requestId: 'string',
|
|
1045
|
+
result: { 'type': 'array', 'itemType': ListHotelServiceCategoryResponseBodyResult },
|
|
1046
|
+
};
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
constructor(map?: { [key: string]: any }) {
|
|
1050
|
+
super(map);
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
export class ListHotelServiceCategoryResponse extends $tea.Model {
|
|
1055
|
+
headers: { [key: string]: string };
|
|
1056
|
+
statusCode: number;
|
|
1057
|
+
body: ListHotelServiceCategoryResponseBody;
|
|
1058
|
+
static names(): { [key: string]: string } {
|
|
1059
|
+
return {
|
|
1060
|
+
headers: 'headers',
|
|
1061
|
+
statusCode: 'statusCode',
|
|
1062
|
+
body: 'body',
|
|
1063
|
+
};
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
static types(): { [key: string]: any } {
|
|
1067
|
+
return {
|
|
1068
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1069
|
+
statusCode: 'number',
|
|
1070
|
+
body: ListHotelServiceCategoryResponseBody,
|
|
1071
|
+
};
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
constructor(map?: { [key: string]: any }) {
|
|
1075
|
+
super(map);
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
export class QueryDeviceStatusHeaders extends $tea.Model {
|
|
1080
|
+
commonHeaders?: { [key: string]: string };
|
|
1081
|
+
xAcsAligenieAccessToken?: string;
|
|
1082
|
+
authorization?: string;
|
|
1083
|
+
static names(): { [key: string]: string } {
|
|
1084
|
+
return {
|
|
1085
|
+
commonHeaders: 'commonHeaders',
|
|
1086
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1087
|
+
authorization: 'Authorization',
|
|
1088
|
+
};
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
static types(): { [key: string]: any } {
|
|
1092
|
+
return {
|
|
1093
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1094
|
+
xAcsAligenieAccessToken: 'string',
|
|
1095
|
+
authorization: 'string',
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
constructor(map?: { [key: string]: any }) {
|
|
1100
|
+
super(map);
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
export class QueryDeviceStatusRequest extends $tea.Model {
|
|
1105
|
+
payload?: QueryDeviceStatusRequestPayload;
|
|
1106
|
+
userInfo?: QueryDeviceStatusRequestUserInfo;
|
|
1107
|
+
static names(): { [key: string]: string } {
|
|
1108
|
+
return {
|
|
1109
|
+
payload: 'Payload',
|
|
1110
|
+
userInfo: 'UserInfo',
|
|
1111
|
+
};
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
static types(): { [key: string]: any } {
|
|
1115
|
+
return {
|
|
1116
|
+
payload: QueryDeviceStatusRequestPayload,
|
|
1117
|
+
userInfo: QueryDeviceStatusRequestUserInfo,
|
|
1118
|
+
};
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
constructor(map?: { [key: string]: any }) {
|
|
1122
|
+
super(map);
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
export class QueryDeviceStatusShrinkRequest extends $tea.Model {
|
|
1127
|
+
payloadShrink?: string;
|
|
1128
|
+
userInfoShrink?: string;
|
|
1129
|
+
static names(): { [key: string]: string } {
|
|
1130
|
+
return {
|
|
1131
|
+
payloadShrink: 'Payload',
|
|
1132
|
+
userInfoShrink: 'UserInfo',
|
|
1133
|
+
};
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
static types(): { [key: string]: any } {
|
|
1137
|
+
return {
|
|
1138
|
+
payloadShrink: 'string',
|
|
1139
|
+
userInfoShrink: 'string',
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
constructor(map?: { [key: string]: any }) {
|
|
1144
|
+
super(map);
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
export class QueryDeviceStatusResponseBody extends $tea.Model {
|
|
1149
|
+
code?: number;
|
|
1150
|
+
message?: string;
|
|
1151
|
+
requestId?: string;
|
|
1152
|
+
result?: { [key: string]: string }[];
|
|
1153
|
+
static names(): { [key: string]: string } {
|
|
1154
|
+
return {
|
|
1155
|
+
code: 'Code',
|
|
1156
|
+
message: 'Message',
|
|
1157
|
+
requestId: 'RequestId',
|
|
1158
|
+
result: 'Result',
|
|
1159
|
+
};
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
static types(): { [key: string]: any } {
|
|
1163
|
+
return {
|
|
1164
|
+
code: 'number',
|
|
1165
|
+
message: 'string',
|
|
1166
|
+
requestId: 'string',
|
|
1167
|
+
result: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
1168
|
+
};
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
constructor(map?: { [key: string]: any }) {
|
|
1172
|
+
super(map);
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
export class QueryDeviceStatusResponse extends $tea.Model {
|
|
1177
|
+
headers: { [key: string]: string };
|
|
1178
|
+
statusCode: number;
|
|
1179
|
+
body: QueryDeviceStatusResponseBody;
|
|
1180
|
+
static names(): { [key: string]: string } {
|
|
1181
|
+
return {
|
|
1182
|
+
headers: 'headers',
|
|
1183
|
+
statusCode: 'statusCode',
|
|
1184
|
+
body: 'body',
|
|
1185
|
+
};
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
static types(): { [key: string]: any } {
|
|
1189
|
+
return {
|
|
1190
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1191
|
+
statusCode: 'number',
|
|
1192
|
+
body: QueryDeviceStatusResponseBody,
|
|
1193
|
+
};
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
constructor(map?: { [key: string]: any }) {
|
|
1197
|
+
super(map);
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
export class QueryHotelProductHeaders extends $tea.Model {
|
|
1202
|
+
commonHeaders?: { [key: string]: string };
|
|
1203
|
+
xAcsAligenieAccessToken?: string;
|
|
1204
|
+
authorization?: string;
|
|
1205
|
+
static names(): { [key: string]: string } {
|
|
1206
|
+
return {
|
|
1207
|
+
commonHeaders: 'commonHeaders',
|
|
1208
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1209
|
+
authorization: 'Authorization',
|
|
1210
|
+
};
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
static types(): { [key: string]: any } {
|
|
1214
|
+
return {
|
|
1215
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1216
|
+
xAcsAligenieAccessToken: 'string',
|
|
1217
|
+
authorization: 'string',
|
|
1218
|
+
};
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
constructor(map?: { [key: string]: any }) {
|
|
1222
|
+
super(map);
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
export class QueryHotelProductRequest extends $tea.Model {
|
|
1227
|
+
userInfo?: QueryHotelProductRequestUserInfo;
|
|
1228
|
+
static names(): { [key: string]: string } {
|
|
1229
|
+
return {
|
|
1230
|
+
userInfo: 'UserInfo',
|
|
1231
|
+
};
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
static types(): { [key: string]: any } {
|
|
1235
|
+
return {
|
|
1236
|
+
userInfo: QueryHotelProductRequestUserInfo,
|
|
1237
|
+
};
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
constructor(map?: { [key: string]: any }) {
|
|
1241
|
+
super(map);
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
export class QueryHotelProductShrinkRequest extends $tea.Model {
|
|
1246
|
+
userInfoShrink?: string;
|
|
1247
|
+
static names(): { [key: string]: string } {
|
|
1248
|
+
return {
|
|
1249
|
+
userInfoShrink: 'UserInfo',
|
|
1250
|
+
};
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
static types(): { [key: string]: any } {
|
|
1254
|
+
return {
|
|
1255
|
+
userInfoShrink: 'string',
|
|
1256
|
+
};
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
constructor(map?: { [key: string]: any }) {
|
|
1260
|
+
super(map);
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
export class QueryHotelProductResponseBody extends $tea.Model {
|
|
1265
|
+
code?: number;
|
|
1266
|
+
message?: string;
|
|
1267
|
+
requestId?: string;
|
|
1268
|
+
result?: QueryHotelProductResponseBodyResult;
|
|
1269
|
+
static names(): { [key: string]: string } {
|
|
1270
|
+
return {
|
|
1271
|
+
code: 'Code',
|
|
1272
|
+
message: 'Message',
|
|
1273
|
+
requestId: 'RequestId',
|
|
1274
|
+
result: 'Result',
|
|
1275
|
+
};
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
static types(): { [key: string]: any } {
|
|
1279
|
+
return {
|
|
1280
|
+
code: 'number',
|
|
1281
|
+
message: 'string',
|
|
1282
|
+
requestId: 'string',
|
|
1283
|
+
result: QueryHotelProductResponseBodyResult,
|
|
1284
|
+
};
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
constructor(map?: { [key: string]: any }) {
|
|
1288
|
+
super(map);
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
export class QueryHotelProductResponse extends $tea.Model {
|
|
1293
|
+
headers: { [key: string]: string };
|
|
1294
|
+
statusCode: number;
|
|
1295
|
+
body: QueryHotelProductResponseBody;
|
|
1296
|
+
static names(): { [key: string]: string } {
|
|
1297
|
+
return {
|
|
1298
|
+
headers: 'headers',
|
|
1299
|
+
statusCode: 'statusCode',
|
|
1300
|
+
body: 'body',
|
|
1301
|
+
};
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
static types(): { [key: string]: any } {
|
|
1305
|
+
return {
|
|
1306
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1307
|
+
statusCode: 'number',
|
|
1308
|
+
body: QueryHotelProductResponseBody,
|
|
1309
|
+
};
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
constructor(map?: { [key: string]: any }) {
|
|
1313
|
+
super(map);
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
export class RoomCheckOutHeaders extends $tea.Model {
|
|
1318
|
+
commonHeaders?: { [key: string]: string };
|
|
1319
|
+
xAcsAligenieAccessToken?: string;
|
|
1320
|
+
authorization?: string;
|
|
1321
|
+
static names(): { [key: string]: string } {
|
|
1322
|
+
return {
|
|
1323
|
+
commonHeaders: 'commonHeaders',
|
|
1324
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1325
|
+
authorization: 'Authorization',
|
|
1326
|
+
};
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
static types(): { [key: string]: any } {
|
|
1330
|
+
return {
|
|
1331
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1332
|
+
xAcsAligenieAccessToken: 'string',
|
|
1333
|
+
authorization: 'string',
|
|
1334
|
+
};
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
constructor(map?: { [key: string]: any }) {
|
|
1338
|
+
super(map);
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
export class RoomCheckOutRequest extends $tea.Model {
|
|
1343
|
+
deviceInfo?: RoomCheckOutRequestDeviceInfo;
|
|
1344
|
+
userInfo?: RoomCheckOutRequestUserInfo;
|
|
1345
|
+
static names(): { [key: string]: string } {
|
|
1346
|
+
return {
|
|
1347
|
+
deviceInfo: 'DeviceInfo',
|
|
1348
|
+
userInfo: 'UserInfo',
|
|
1349
|
+
};
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
static types(): { [key: string]: any } {
|
|
1353
|
+
return {
|
|
1354
|
+
deviceInfo: RoomCheckOutRequestDeviceInfo,
|
|
1355
|
+
userInfo: RoomCheckOutRequestUserInfo,
|
|
1356
|
+
};
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
constructor(map?: { [key: string]: any }) {
|
|
1360
|
+
super(map);
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
export class RoomCheckOutShrinkRequest extends $tea.Model {
|
|
1365
|
+
deviceInfoShrink?: string;
|
|
1366
|
+
userInfoShrink?: string;
|
|
1367
|
+
static names(): { [key: string]: string } {
|
|
1368
|
+
return {
|
|
1369
|
+
deviceInfoShrink: 'DeviceInfo',
|
|
1370
|
+
userInfoShrink: 'UserInfo',
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
static types(): { [key: string]: any } {
|
|
1375
|
+
return {
|
|
1376
|
+
deviceInfoShrink: 'string',
|
|
1377
|
+
userInfoShrink: 'string',
|
|
1378
|
+
};
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
constructor(map?: { [key: string]: any }) {
|
|
1382
|
+
super(map);
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
export class RoomCheckOutResponseBody extends $tea.Model {
|
|
1387
|
+
code?: number;
|
|
1388
|
+
message?: string;
|
|
1389
|
+
requestId?: string;
|
|
1390
|
+
result?: boolean;
|
|
1391
|
+
static names(): { [key: string]: string } {
|
|
1392
|
+
return {
|
|
1393
|
+
code: 'Code',
|
|
1394
|
+
message: 'Message',
|
|
1395
|
+
requestId: 'RequestId',
|
|
1396
|
+
result: 'Result',
|
|
1397
|
+
};
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
static types(): { [key: string]: any } {
|
|
1401
|
+
return {
|
|
1402
|
+
code: 'number',
|
|
1403
|
+
message: 'string',
|
|
1404
|
+
requestId: 'string',
|
|
1405
|
+
result: 'boolean',
|
|
1406
|
+
};
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
constructor(map?: { [key: string]: any }) {
|
|
1410
|
+
super(map);
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
export class RoomCheckOutResponse extends $tea.Model {
|
|
1415
|
+
headers: { [key: string]: string };
|
|
1416
|
+
statusCode: number;
|
|
1417
|
+
body: RoomCheckOutResponseBody;
|
|
1418
|
+
static names(): { [key: string]: string } {
|
|
1419
|
+
return {
|
|
1420
|
+
headers: 'headers',
|
|
1421
|
+
statusCode: 'statusCode',
|
|
1422
|
+
body: 'body',
|
|
1423
|
+
};
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
static types(): { [key: string]: any } {
|
|
1427
|
+
return {
|
|
1428
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1429
|
+
statusCode: 'number',
|
|
1430
|
+
body: RoomCheckOutResponseBody,
|
|
1431
|
+
};
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
constructor(map?: { [key: string]: any }) {
|
|
1435
|
+
super(map);
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
export class SubmitHotelOrderHeaders extends $tea.Model {
|
|
1440
|
+
commonHeaders?: { [key: string]: string };
|
|
1441
|
+
xAcsAligenieAccessToken?: string;
|
|
1442
|
+
authorization?: string;
|
|
1443
|
+
static names(): { [key: string]: string } {
|
|
1444
|
+
return {
|
|
1445
|
+
commonHeaders: 'commonHeaders',
|
|
1446
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1447
|
+
authorization: 'Authorization',
|
|
1448
|
+
};
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
static types(): { [key: string]: any } {
|
|
1452
|
+
return {
|
|
1453
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1454
|
+
xAcsAligenieAccessToken: 'string',
|
|
1455
|
+
authorization: 'string',
|
|
1456
|
+
};
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
constructor(map?: { [key: string]: any }) {
|
|
1460
|
+
super(map);
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
export class SubmitHotelOrderRequest extends $tea.Model {
|
|
1465
|
+
payload?: SubmitHotelOrderRequestPayload;
|
|
1466
|
+
userInfo?: SubmitHotelOrderRequestUserInfo;
|
|
1467
|
+
static names(): { [key: string]: string } {
|
|
1468
|
+
return {
|
|
1469
|
+
payload: 'Payload',
|
|
1470
|
+
userInfo: 'UserInfo',
|
|
1471
|
+
};
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
static types(): { [key: string]: any } {
|
|
1475
|
+
return {
|
|
1476
|
+
payload: SubmitHotelOrderRequestPayload,
|
|
1477
|
+
userInfo: SubmitHotelOrderRequestUserInfo,
|
|
1478
|
+
};
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
constructor(map?: { [key: string]: any }) {
|
|
1482
|
+
super(map);
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
export class SubmitHotelOrderShrinkRequest extends $tea.Model {
|
|
1487
|
+
payloadShrink?: string;
|
|
1488
|
+
userInfoShrink?: string;
|
|
1489
|
+
static names(): { [key: string]: string } {
|
|
1490
|
+
return {
|
|
1491
|
+
payloadShrink: 'Payload',
|
|
1492
|
+
userInfoShrink: 'UserInfo',
|
|
1493
|
+
};
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
static types(): { [key: string]: any } {
|
|
1497
|
+
return {
|
|
1498
|
+
payloadShrink: 'string',
|
|
1499
|
+
userInfoShrink: 'string',
|
|
1500
|
+
};
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
constructor(map?: { [key: string]: any }) {
|
|
1504
|
+
super(map);
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
export class SubmitHotelOrderResponseBody extends $tea.Model {
|
|
1509
|
+
code?: number;
|
|
1510
|
+
message?: string;
|
|
1511
|
+
requestId?: string;
|
|
1512
|
+
result?: string;
|
|
1513
|
+
static names(): { [key: string]: string } {
|
|
1514
|
+
return {
|
|
1515
|
+
code: 'Code',
|
|
1516
|
+
message: 'Message',
|
|
1517
|
+
requestId: 'RequestId',
|
|
1518
|
+
result: 'Result',
|
|
1519
|
+
};
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
static types(): { [key: string]: any } {
|
|
1523
|
+
return {
|
|
1524
|
+
code: 'number',
|
|
1525
|
+
message: 'string',
|
|
1526
|
+
requestId: 'string',
|
|
1527
|
+
result: 'string',
|
|
1528
|
+
};
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
constructor(map?: { [key: string]: any }) {
|
|
1532
|
+
super(map);
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
export class SubmitHotelOrderResponse extends $tea.Model {
|
|
1537
|
+
headers: { [key: string]: string };
|
|
1538
|
+
statusCode: number;
|
|
1539
|
+
body: SubmitHotelOrderResponseBody;
|
|
1540
|
+
static names(): { [key: string]: string } {
|
|
1541
|
+
return {
|
|
1542
|
+
headers: 'headers',
|
|
1543
|
+
statusCode: 'statusCode',
|
|
1544
|
+
body: 'body',
|
|
1545
|
+
};
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
static types(): { [key: string]: any } {
|
|
1549
|
+
return {
|
|
1550
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1551
|
+
statusCode: 'number',
|
|
1552
|
+
body: SubmitHotelOrderResponseBody,
|
|
1553
|
+
};
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
constructor(map?: { [key: string]: any }) {
|
|
1557
|
+
super(map);
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
export class DeviceControlRequestPayload extends $tea.Model {
|
|
1562
|
+
category?: string;
|
|
1563
|
+
cmd?: string;
|
|
1564
|
+
current?: string;
|
|
1565
|
+
device?: string;
|
|
1566
|
+
deviceNumber?: string;
|
|
1567
|
+
extendInfo?: string;
|
|
1568
|
+
location?: string;
|
|
1569
|
+
properties?: { [key: string]: string };
|
|
1570
|
+
static names(): { [key: string]: string } {
|
|
1571
|
+
return {
|
|
1572
|
+
category: 'Category',
|
|
1573
|
+
cmd: 'Cmd',
|
|
1574
|
+
current: 'Current',
|
|
1575
|
+
device: 'Device',
|
|
1576
|
+
deviceNumber: 'DeviceNumber',
|
|
1577
|
+
extendInfo: 'ExtendInfo',
|
|
1578
|
+
location: 'Location',
|
|
1579
|
+
properties: 'Properties',
|
|
1580
|
+
};
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
static types(): { [key: string]: any } {
|
|
1584
|
+
return {
|
|
1585
|
+
category: 'string',
|
|
1586
|
+
cmd: 'string',
|
|
1587
|
+
current: 'string',
|
|
1588
|
+
device: 'string',
|
|
1589
|
+
deviceNumber: 'string',
|
|
1590
|
+
extendInfo: 'string',
|
|
1591
|
+
location: 'string',
|
|
1592
|
+
properties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1593
|
+
};
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
constructor(map?: { [key: string]: any }) {
|
|
1597
|
+
super(map);
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
export class DeviceControlRequestUserInfo extends $tea.Model {
|
|
1602
|
+
encodeKey?: string;
|
|
1603
|
+
encodeType?: string;
|
|
1604
|
+
id?: string;
|
|
1605
|
+
idType?: string;
|
|
1606
|
+
organizationId?: string;
|
|
1607
|
+
static names(): { [key: string]: string } {
|
|
1608
|
+
return {
|
|
1609
|
+
encodeKey: 'EncodeKey',
|
|
1610
|
+
encodeType: 'EncodeType',
|
|
1611
|
+
id: 'Id',
|
|
1612
|
+
idType: 'IdType',
|
|
1613
|
+
organizationId: 'OrganizationId',
|
|
1614
|
+
};
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
static types(): { [key: string]: any } {
|
|
1618
|
+
return {
|
|
1619
|
+
encodeKey: 'string',
|
|
1620
|
+
encodeType: 'string',
|
|
1621
|
+
id: 'string',
|
|
1622
|
+
idType: 'string',
|
|
1623
|
+
organizationId: 'string',
|
|
1624
|
+
};
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
constructor(map?: { [key: string]: any }) {
|
|
1628
|
+
super(map);
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
export class DeviceControlResponseBodyResult extends $tea.Model {
|
|
1633
|
+
status?: string;
|
|
1634
|
+
static names(): { [key: string]: string } {
|
|
1635
|
+
return {
|
|
1636
|
+
status: 'Status',
|
|
1637
|
+
};
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
static types(): { [key: string]: any } {
|
|
1641
|
+
return {
|
|
1642
|
+
status: 'string',
|
|
1643
|
+
};
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
constructor(map?: { [key: string]: any }) {
|
|
1647
|
+
super(map);
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
export class GetHotelHomeBackImageAndModesRequestUserInfo extends $tea.Model {
|
|
1652
|
+
encodeKey?: string;
|
|
1653
|
+
encodeType?: string;
|
|
1654
|
+
id?: string;
|
|
1655
|
+
idType?: string;
|
|
1656
|
+
organizationId?: string;
|
|
1657
|
+
static names(): { [key: string]: string } {
|
|
1658
|
+
return {
|
|
1659
|
+
encodeKey: 'EncodeKey',
|
|
1660
|
+
encodeType: 'EncodeType',
|
|
1661
|
+
id: 'Id',
|
|
1662
|
+
idType: 'IdType',
|
|
1663
|
+
organizationId: 'OrganizationId',
|
|
1664
|
+
};
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
static types(): { [key: string]: any } {
|
|
1668
|
+
return {
|
|
1669
|
+
encodeKey: 'string',
|
|
1670
|
+
encodeType: 'string',
|
|
1671
|
+
id: 'string',
|
|
1672
|
+
idType: 'string',
|
|
1673
|
+
organizationId: 'string',
|
|
1674
|
+
};
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
constructor(map?: { [key: string]: any }) {
|
|
1678
|
+
super(map);
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
export class GetHotelHomeBackImageAndModesResponseBodyResultModeList extends $tea.Model {
|
|
1683
|
+
cnName?: string;
|
|
1684
|
+
code?: string;
|
|
1685
|
+
icon?: string;
|
|
1686
|
+
static names(): { [key: string]: string } {
|
|
1687
|
+
return {
|
|
1688
|
+
cnName: 'CnName',
|
|
1689
|
+
code: 'Code',
|
|
1690
|
+
icon: 'Icon',
|
|
1691
|
+
};
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
static types(): { [key: string]: any } {
|
|
1695
|
+
return {
|
|
1696
|
+
cnName: 'string',
|
|
1697
|
+
code: 'string',
|
|
1698
|
+
icon: 'string',
|
|
1699
|
+
};
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
constructor(map?: { [key: string]: any }) {
|
|
1703
|
+
super(map);
|
|
1704
|
+
}
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
export class GetHotelHomeBackImageAndModesResponseBodyResult extends $tea.Model {
|
|
1708
|
+
backgroundImage?: string;
|
|
1709
|
+
hotelName?: string;
|
|
1710
|
+
modeList?: GetHotelHomeBackImageAndModesResponseBodyResultModeList[];
|
|
1711
|
+
static names(): { [key: string]: string } {
|
|
1712
|
+
return {
|
|
1713
|
+
backgroundImage: 'BackgroundImage',
|
|
1714
|
+
hotelName: 'HotelName',
|
|
1715
|
+
modeList: 'ModeList',
|
|
1716
|
+
};
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
static types(): { [key: string]: any } {
|
|
1720
|
+
return {
|
|
1721
|
+
backgroundImage: 'string',
|
|
1722
|
+
hotelName: 'string',
|
|
1723
|
+
modeList: { 'type': 'array', 'itemType': GetHotelHomeBackImageAndModesResponseBodyResultModeList },
|
|
1724
|
+
};
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
constructor(map?: { [key: string]: any }) {
|
|
1728
|
+
super(map);
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
export class GetHotelOrderDetailRequestPayload extends $tea.Model {
|
|
1733
|
+
orderNo?: string;
|
|
1734
|
+
static names(): { [key: string]: string } {
|
|
1735
|
+
return {
|
|
1736
|
+
orderNo: 'OrderNo',
|
|
1737
|
+
};
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
static types(): { [key: string]: any } {
|
|
1741
|
+
return {
|
|
1742
|
+
orderNo: 'string',
|
|
1743
|
+
};
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
constructor(map?: { [key: string]: any }) {
|
|
1747
|
+
super(map);
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
export class GetHotelOrderDetailResponseBodyResult extends $tea.Model {
|
|
1752
|
+
applyAmt?: number;
|
|
1753
|
+
gmtCreate?: number;
|
|
1754
|
+
itemUrl?: string;
|
|
1755
|
+
name?: string;
|
|
1756
|
+
quantity?: number;
|
|
1757
|
+
static names(): { [key: string]: string } {
|
|
1758
|
+
return {
|
|
1759
|
+
applyAmt: 'ApplyAmt',
|
|
1760
|
+
gmtCreate: 'GmtCreate',
|
|
1761
|
+
itemUrl: 'ItemUrl',
|
|
1762
|
+
name: 'Name',
|
|
1763
|
+
quantity: 'Quantity',
|
|
1764
|
+
};
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
static types(): { [key: string]: any } {
|
|
1768
|
+
return {
|
|
1769
|
+
applyAmt: 'number',
|
|
1770
|
+
gmtCreate: 'number',
|
|
1771
|
+
itemUrl: 'string',
|
|
1772
|
+
name: 'string',
|
|
1773
|
+
quantity: 'number',
|
|
1774
|
+
};
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
constructor(map?: { [key: string]: any }) {
|
|
1778
|
+
super(map);
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
export class GetHotelSampleUtterancesRequestUserInfo extends $tea.Model {
|
|
1783
|
+
encodeKey?: string;
|
|
1784
|
+
encodeType?: string;
|
|
1785
|
+
id?: string;
|
|
1786
|
+
idType?: string;
|
|
1787
|
+
organizationId?: string;
|
|
1788
|
+
static names(): { [key: string]: string } {
|
|
1789
|
+
return {
|
|
1790
|
+
encodeKey: 'EncodeKey',
|
|
1791
|
+
encodeType: 'EncodeType',
|
|
1792
|
+
id: 'Id',
|
|
1793
|
+
idType: 'IdType',
|
|
1794
|
+
organizationId: 'OrganizationId',
|
|
1795
|
+
};
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
static types(): { [key: string]: any } {
|
|
1799
|
+
return {
|
|
1800
|
+
encodeKey: 'string',
|
|
1801
|
+
encodeType: 'string',
|
|
1802
|
+
id: 'string',
|
|
1803
|
+
idType: 'string',
|
|
1804
|
+
organizationId: 'string',
|
|
1805
|
+
};
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
constructor(map?: { [key: string]: any }) {
|
|
1809
|
+
super(map);
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
export class GetHotelScreenSaverRequestUserInfo extends $tea.Model {
|
|
1814
|
+
encodeKey?: string;
|
|
1815
|
+
encodeType?: string;
|
|
1816
|
+
id?: string;
|
|
1817
|
+
idType?: string;
|
|
1818
|
+
organizationId?: string;
|
|
1819
|
+
static names(): { [key: string]: string } {
|
|
1820
|
+
return {
|
|
1821
|
+
encodeKey: 'EncodeKey',
|
|
1822
|
+
encodeType: 'EncodeType',
|
|
1823
|
+
id: 'Id',
|
|
1824
|
+
idType: 'IdType',
|
|
1825
|
+
organizationId: 'OrganizationId',
|
|
1826
|
+
};
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
static types(): { [key: string]: any } {
|
|
1830
|
+
return {
|
|
1831
|
+
encodeKey: 'string',
|
|
1832
|
+
encodeType: 'string',
|
|
1833
|
+
id: 'string',
|
|
1834
|
+
idType: 'string',
|
|
1835
|
+
organizationId: 'string',
|
|
1836
|
+
};
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
constructor(map?: { [key: string]: any }) {
|
|
1840
|
+
super(map);
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
export class GetHotelScreenSaverResponseBodyResult extends $tea.Model {
|
|
1845
|
+
picUrl?: string;
|
|
1846
|
+
styleCode?: string;
|
|
1847
|
+
static names(): { [key: string]: string } {
|
|
1848
|
+
return {
|
|
1849
|
+
picUrl: 'PicUrl',
|
|
1850
|
+
styleCode: 'StyleCode',
|
|
1851
|
+
};
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
static types(): { [key: string]: any } {
|
|
1855
|
+
return {
|
|
1856
|
+
picUrl: 'string',
|
|
1857
|
+
styleCode: 'string',
|
|
1858
|
+
};
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
constructor(map?: { [key: string]: any }) {
|
|
1862
|
+
super(map);
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
export class ListHotelControlDeviceRequestUserInfo extends $tea.Model {
|
|
1867
|
+
encodeKey?: string;
|
|
1868
|
+
encodeType?: string;
|
|
1869
|
+
id?: string;
|
|
1870
|
+
idType?: string;
|
|
1871
|
+
organizationId?: string;
|
|
1872
|
+
static names(): { [key: string]: string } {
|
|
1873
|
+
return {
|
|
1874
|
+
encodeKey: 'EncodeKey',
|
|
1875
|
+
encodeType: 'EncodeType',
|
|
1876
|
+
id: 'Id',
|
|
1877
|
+
idType: 'IdType',
|
|
1878
|
+
organizationId: 'OrganizationId',
|
|
1879
|
+
};
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
static types(): { [key: string]: any } {
|
|
1883
|
+
return {
|
|
1884
|
+
encodeKey: 'string',
|
|
1885
|
+
encodeType: 'string',
|
|
1886
|
+
id: 'string',
|
|
1887
|
+
idType: 'string',
|
|
1888
|
+
organizationId: 'string',
|
|
1889
|
+
};
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
constructor(map?: { [key: string]: any }) {
|
|
1893
|
+
super(map);
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
export class ListHotelOrderRequestPayloadPage extends $tea.Model {
|
|
1898
|
+
pageNumber?: number;
|
|
1899
|
+
pageSize?: number;
|
|
1900
|
+
static names(): { [key: string]: string } {
|
|
1901
|
+
return {
|
|
1902
|
+
pageNumber: 'PageNumber',
|
|
1903
|
+
pageSize: 'PageSize',
|
|
1904
|
+
};
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
static types(): { [key: string]: any } {
|
|
1908
|
+
return {
|
|
1909
|
+
pageNumber: 'number',
|
|
1910
|
+
pageSize: 'number',
|
|
1911
|
+
};
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
constructor(map?: { [key: string]: any }) {
|
|
1915
|
+
super(map);
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
export class ListHotelOrderRequestPayload extends $tea.Model {
|
|
1920
|
+
page?: ListHotelOrderRequestPayloadPage;
|
|
1921
|
+
static names(): { [key: string]: string } {
|
|
1922
|
+
return {
|
|
1923
|
+
page: 'Page',
|
|
1924
|
+
};
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
static types(): { [key: string]: any } {
|
|
1928
|
+
return {
|
|
1929
|
+
page: ListHotelOrderRequestPayloadPage,
|
|
1930
|
+
};
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
constructor(map?: { [key: string]: any }) {
|
|
1934
|
+
super(map);
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
export class ListHotelOrderRequestUserInfo extends $tea.Model {
|
|
1939
|
+
encodeKey?: string;
|
|
1940
|
+
encodeType?: string;
|
|
1941
|
+
id?: string;
|
|
1942
|
+
idType?: string;
|
|
1943
|
+
organizationId?: string;
|
|
1944
|
+
static names(): { [key: string]: string } {
|
|
1945
|
+
return {
|
|
1946
|
+
encodeKey: 'EncodeKey',
|
|
1947
|
+
encodeType: 'EncodeType',
|
|
1948
|
+
id: 'Id',
|
|
1949
|
+
idType: 'IdType',
|
|
1950
|
+
organizationId: 'OrganizationId',
|
|
1951
|
+
};
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
static types(): { [key: string]: any } {
|
|
1955
|
+
return {
|
|
1956
|
+
encodeKey: 'string',
|
|
1957
|
+
encodeType: 'string',
|
|
1958
|
+
id: 'string',
|
|
1959
|
+
idType: 'string',
|
|
1960
|
+
organizationId: 'string',
|
|
1961
|
+
};
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
constructor(map?: { [key: string]: any }) {
|
|
1965
|
+
super(map);
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
export class ListHotelOrderResponseBodyPage extends $tea.Model {
|
|
1970
|
+
hasNext?: boolean;
|
|
1971
|
+
pageNumber?: number;
|
|
1972
|
+
pageSize?: number;
|
|
1973
|
+
total?: number;
|
|
1974
|
+
totalPage?: number;
|
|
1975
|
+
static names(): { [key: string]: string } {
|
|
1976
|
+
return {
|
|
1977
|
+
hasNext: 'HasNext',
|
|
1978
|
+
pageNumber: 'PageNumber',
|
|
1979
|
+
pageSize: 'PageSize',
|
|
1980
|
+
total: 'Total',
|
|
1981
|
+
totalPage: 'TotalPage',
|
|
1982
|
+
};
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
static types(): { [key: string]: any } {
|
|
1986
|
+
return {
|
|
1987
|
+
hasNext: 'boolean',
|
|
1988
|
+
pageNumber: 'number',
|
|
1989
|
+
pageSize: 'number',
|
|
1990
|
+
total: 'number',
|
|
1991
|
+
totalPage: 'number',
|
|
1992
|
+
};
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
constructor(map?: { [key: string]: any }) {
|
|
1996
|
+
super(map);
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
export class ListHotelOrderResponseBodyResult extends $tea.Model {
|
|
2001
|
+
applyAmt?: number;
|
|
2002
|
+
gmtCreate?: number;
|
|
2003
|
+
orderNo?: string;
|
|
2004
|
+
quantity?: number;
|
|
2005
|
+
roomNo?: string;
|
|
2006
|
+
status?: string;
|
|
2007
|
+
type?: string;
|
|
2008
|
+
typeIconUrl?: string;
|
|
2009
|
+
typeName?: string;
|
|
2010
|
+
static names(): { [key: string]: string } {
|
|
2011
|
+
return {
|
|
2012
|
+
applyAmt: 'ApplyAmt',
|
|
2013
|
+
gmtCreate: 'GmtCreate',
|
|
2014
|
+
orderNo: 'OrderNo',
|
|
2015
|
+
quantity: 'Quantity',
|
|
2016
|
+
roomNo: 'RoomNo',
|
|
2017
|
+
status: 'Status',
|
|
2018
|
+
type: 'Type',
|
|
2019
|
+
typeIconUrl: 'TypeIconUrl',
|
|
2020
|
+
typeName: 'TypeName',
|
|
2021
|
+
};
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
static types(): { [key: string]: any } {
|
|
2025
|
+
return {
|
|
2026
|
+
applyAmt: 'number',
|
|
2027
|
+
gmtCreate: 'number',
|
|
2028
|
+
orderNo: 'string',
|
|
2029
|
+
quantity: 'number',
|
|
2030
|
+
roomNo: 'string',
|
|
2031
|
+
status: 'string',
|
|
2032
|
+
type: 'string',
|
|
2033
|
+
typeIconUrl: 'string',
|
|
2034
|
+
typeName: 'string',
|
|
2035
|
+
};
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
constructor(map?: { [key: string]: any }) {
|
|
2039
|
+
super(map);
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
export class ListHotelSceneItemRequestPayload extends $tea.Model {
|
|
2044
|
+
type?: string;
|
|
2045
|
+
static names(): { [key: string]: string } {
|
|
2046
|
+
return {
|
|
2047
|
+
type: 'Type',
|
|
2048
|
+
};
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
static types(): { [key: string]: any } {
|
|
2052
|
+
return {
|
|
2053
|
+
type: 'string',
|
|
2054
|
+
};
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
constructor(map?: { [key: string]: any }) {
|
|
2058
|
+
super(map);
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
export class ListHotelSceneItemRequestUserInfo extends $tea.Model {
|
|
2063
|
+
encodeKey?: string;
|
|
2064
|
+
encodeType?: string;
|
|
2065
|
+
id?: string;
|
|
2066
|
+
idType?: string;
|
|
2067
|
+
organizationId?: string;
|
|
2068
|
+
static names(): { [key: string]: string } {
|
|
2069
|
+
return {
|
|
2070
|
+
encodeKey: 'EncodeKey',
|
|
2071
|
+
encodeType: 'EncodeType',
|
|
2072
|
+
id: 'Id',
|
|
2073
|
+
idType: 'IdType',
|
|
2074
|
+
organizationId: 'OrganizationId',
|
|
2075
|
+
};
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
static types(): { [key: string]: any } {
|
|
2079
|
+
return {
|
|
2080
|
+
encodeKey: 'string',
|
|
2081
|
+
encodeType: 'string',
|
|
2082
|
+
id: 'string',
|
|
2083
|
+
idType: 'string',
|
|
2084
|
+
organizationId: 'string',
|
|
2085
|
+
};
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
constructor(map?: { [key: string]: any }) {
|
|
2089
|
+
super(map);
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
export class ListHotelSceneItemResponseBodyPage extends $tea.Model {
|
|
2094
|
+
hasNext?: boolean;
|
|
2095
|
+
pageNumber?: number;
|
|
2096
|
+
pageSize?: number;
|
|
2097
|
+
total?: number;
|
|
2098
|
+
totalPage?: number;
|
|
2099
|
+
static names(): { [key: string]: string } {
|
|
2100
|
+
return {
|
|
2101
|
+
hasNext: 'HasNext',
|
|
2102
|
+
pageNumber: 'PageNumber',
|
|
2103
|
+
pageSize: 'PageSize',
|
|
2104
|
+
total: 'Total',
|
|
2105
|
+
totalPage: 'TotalPage',
|
|
2106
|
+
};
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2109
|
+
static types(): { [key: string]: any } {
|
|
2110
|
+
return {
|
|
2111
|
+
hasNext: 'boolean',
|
|
2112
|
+
pageNumber: 'number',
|
|
2113
|
+
pageSize: 'number',
|
|
2114
|
+
total: 'number',
|
|
2115
|
+
totalPage: 'number',
|
|
2116
|
+
};
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
constructor(map?: { [key: string]: any }) {
|
|
2120
|
+
super(map);
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
export class ListHotelSceneItemResponseBodyResultSecondCategoryListItemList extends $tea.Model {
|
|
2125
|
+
category?: string;
|
|
2126
|
+
icon?: string;
|
|
2127
|
+
id?: string;
|
|
2128
|
+
name?: string;
|
|
2129
|
+
price?: number;
|
|
2130
|
+
status?: string;
|
|
2131
|
+
type?: string;
|
|
2132
|
+
static names(): { [key: string]: string } {
|
|
2133
|
+
return {
|
|
2134
|
+
category: 'Category',
|
|
2135
|
+
icon: 'Icon',
|
|
2136
|
+
id: 'Id',
|
|
2137
|
+
name: 'Name',
|
|
2138
|
+
price: 'Price',
|
|
2139
|
+
status: 'Status',
|
|
2140
|
+
type: 'Type',
|
|
2141
|
+
};
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
static types(): { [key: string]: any } {
|
|
2145
|
+
return {
|
|
2146
|
+
category: 'string',
|
|
2147
|
+
icon: 'string',
|
|
2148
|
+
id: 'string',
|
|
2149
|
+
name: 'string',
|
|
2150
|
+
price: 'number',
|
|
2151
|
+
status: 'string',
|
|
2152
|
+
type: 'string',
|
|
2153
|
+
};
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
constructor(map?: { [key: string]: any }) {
|
|
2157
|
+
super(map);
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
export class ListHotelSceneItemResponseBodyResultSecondCategoryList extends $tea.Model {
|
|
2162
|
+
itemList?: ListHotelSceneItemResponseBodyResultSecondCategoryListItemList[];
|
|
2163
|
+
secondCategoryName?: string;
|
|
2164
|
+
static names(): { [key: string]: string } {
|
|
2165
|
+
return {
|
|
2166
|
+
itemList: 'ItemList',
|
|
2167
|
+
secondCategoryName: 'SecondCategoryName',
|
|
2168
|
+
};
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
static types(): { [key: string]: any } {
|
|
2172
|
+
return {
|
|
2173
|
+
itemList: { 'type': 'array', 'itemType': ListHotelSceneItemResponseBodyResultSecondCategoryListItemList },
|
|
2174
|
+
secondCategoryName: 'string',
|
|
2175
|
+
};
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
constructor(map?: { [key: string]: any }) {
|
|
2179
|
+
super(map);
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
export class ListHotelSceneItemResponseBodyResult extends $tea.Model {
|
|
2184
|
+
secondCategoryList?: ListHotelSceneItemResponseBodyResultSecondCategoryList[];
|
|
2185
|
+
static names(): { [key: string]: string } {
|
|
2186
|
+
return {
|
|
2187
|
+
secondCategoryList: 'SecondCategoryList',
|
|
2188
|
+
};
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
static types(): { [key: string]: any } {
|
|
2192
|
+
return {
|
|
2193
|
+
secondCategoryList: { 'type': 'array', 'itemType': ListHotelSceneItemResponseBodyResultSecondCategoryList },
|
|
2194
|
+
};
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
constructor(map?: { [key: string]: any }) {
|
|
2198
|
+
super(map);
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
|
|
2202
|
+
export class ListHotelServiceCategoryRequestPayload extends $tea.Model {
|
|
2203
|
+
type?: string;
|
|
2204
|
+
static names(): { [key: string]: string } {
|
|
2205
|
+
return {
|
|
2206
|
+
type: 'Type',
|
|
2207
|
+
};
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
static types(): { [key: string]: any } {
|
|
2211
|
+
return {
|
|
2212
|
+
type: 'string',
|
|
2213
|
+
};
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2216
|
+
constructor(map?: { [key: string]: any }) {
|
|
2217
|
+
super(map);
|
|
2218
|
+
}
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
export class ListHotelServiceCategoryResponseBodyResult extends $tea.Model {
|
|
2222
|
+
code?: string;
|
|
2223
|
+
desc?: string;
|
|
2224
|
+
icon?: string;
|
|
2225
|
+
name?: string;
|
|
2226
|
+
type?: string;
|
|
2227
|
+
static names(): { [key: string]: string } {
|
|
2228
|
+
return {
|
|
2229
|
+
code: 'Code',
|
|
2230
|
+
desc: 'Desc',
|
|
2231
|
+
icon: 'Icon',
|
|
2232
|
+
name: 'Name',
|
|
2233
|
+
type: 'Type',
|
|
2234
|
+
};
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2237
|
+
static types(): { [key: string]: any } {
|
|
2238
|
+
return {
|
|
2239
|
+
code: 'string',
|
|
2240
|
+
desc: 'string',
|
|
2241
|
+
icon: 'string',
|
|
2242
|
+
name: 'string',
|
|
2243
|
+
type: 'string',
|
|
2244
|
+
};
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
constructor(map?: { [key: string]: any }) {
|
|
2248
|
+
super(map);
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
export class QueryDeviceStatusRequestPayloadLocationDevices extends $tea.Model {
|
|
2253
|
+
deviceNumber?: string;
|
|
2254
|
+
deviceType?: string;
|
|
2255
|
+
location?: string;
|
|
2256
|
+
static names(): { [key: string]: string } {
|
|
2257
|
+
return {
|
|
2258
|
+
deviceNumber: 'DeviceNumber',
|
|
2259
|
+
deviceType: 'DeviceType',
|
|
2260
|
+
location: 'Location',
|
|
2261
|
+
};
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
static types(): { [key: string]: any } {
|
|
2265
|
+
return {
|
|
2266
|
+
deviceNumber: 'string',
|
|
2267
|
+
deviceType: 'string',
|
|
2268
|
+
location: 'string',
|
|
2269
|
+
};
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
constructor(map?: { [key: string]: any }) {
|
|
2273
|
+
super(map);
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
export class QueryDeviceStatusRequestPayload extends $tea.Model {
|
|
2278
|
+
locationDevices?: QueryDeviceStatusRequestPayloadLocationDevices[];
|
|
2279
|
+
properties?: { [key: string]: string };
|
|
2280
|
+
static names(): { [key: string]: string } {
|
|
2281
|
+
return {
|
|
2282
|
+
locationDevices: 'LocationDevices',
|
|
2283
|
+
properties: 'Properties',
|
|
2284
|
+
};
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
static types(): { [key: string]: any } {
|
|
2288
|
+
return {
|
|
2289
|
+
locationDevices: { 'type': 'array', 'itemType': QueryDeviceStatusRequestPayloadLocationDevices },
|
|
2290
|
+
properties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2291
|
+
};
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
constructor(map?: { [key: string]: any }) {
|
|
2295
|
+
super(map);
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
export class QueryDeviceStatusRequestUserInfo extends $tea.Model {
|
|
2300
|
+
encodeKey?: string;
|
|
2301
|
+
encodeType?: string;
|
|
2302
|
+
id?: string;
|
|
2303
|
+
idType?: string;
|
|
2304
|
+
organizationId?: string;
|
|
2305
|
+
static names(): { [key: string]: string } {
|
|
2306
|
+
return {
|
|
2307
|
+
encodeKey: 'EncodeKey',
|
|
2308
|
+
encodeType: 'EncodeType',
|
|
2309
|
+
id: 'Id',
|
|
2310
|
+
idType: 'IdType',
|
|
2311
|
+
organizationId: 'OrganizationId',
|
|
2312
|
+
};
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
static types(): { [key: string]: any } {
|
|
2316
|
+
return {
|
|
2317
|
+
encodeKey: 'string',
|
|
2318
|
+
encodeType: 'string',
|
|
2319
|
+
id: 'string',
|
|
2320
|
+
idType: 'string',
|
|
2321
|
+
organizationId: 'string',
|
|
2322
|
+
};
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
constructor(map?: { [key: string]: any }) {
|
|
2326
|
+
super(map);
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
export class QueryHotelProductRequestUserInfo extends $tea.Model {
|
|
2331
|
+
encodeKey?: string;
|
|
2332
|
+
encodeType?: string;
|
|
2333
|
+
id?: string;
|
|
2334
|
+
idType?: string;
|
|
2335
|
+
organizationId?: string;
|
|
2336
|
+
static names(): { [key: string]: string } {
|
|
2337
|
+
return {
|
|
2338
|
+
encodeKey: 'EncodeKey',
|
|
2339
|
+
encodeType: 'EncodeType',
|
|
2340
|
+
id: 'Id',
|
|
2341
|
+
idType: 'IdType',
|
|
2342
|
+
organizationId: 'OrganizationId',
|
|
2343
|
+
};
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
static types(): { [key: string]: any } {
|
|
2347
|
+
return {
|
|
2348
|
+
encodeKey: 'string',
|
|
2349
|
+
encodeType: 'string',
|
|
2350
|
+
id: 'string',
|
|
2351
|
+
idType: 'string',
|
|
2352
|
+
organizationId: 'string',
|
|
2353
|
+
};
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
constructor(map?: { [key: string]: any }) {
|
|
2357
|
+
super(map);
|
|
2358
|
+
}
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
export class QueryHotelProductResponseBodyResult extends $tea.Model {
|
|
2362
|
+
hotelId?: string;
|
|
2363
|
+
hotelName?: string;
|
|
2364
|
+
productKey?: string;
|
|
2365
|
+
productName?: string;
|
|
2366
|
+
static names(): { [key: string]: string } {
|
|
2367
|
+
return {
|
|
2368
|
+
hotelId: 'HotelId',
|
|
2369
|
+
hotelName: 'HotelName',
|
|
2370
|
+
productKey: 'ProductKey',
|
|
2371
|
+
productName: 'ProductName',
|
|
2372
|
+
};
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
static types(): { [key: string]: any } {
|
|
2376
|
+
return {
|
|
2377
|
+
hotelId: 'string',
|
|
2378
|
+
hotelName: 'string',
|
|
2379
|
+
productKey: 'string',
|
|
2380
|
+
productName: 'string',
|
|
2381
|
+
};
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
constructor(map?: { [key: string]: any }) {
|
|
2385
|
+
super(map);
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
export class RoomCheckOutRequestDeviceInfo extends $tea.Model {
|
|
2390
|
+
encodeKey?: string;
|
|
2391
|
+
encodeType?: string;
|
|
2392
|
+
id?: string;
|
|
2393
|
+
idType?: string;
|
|
2394
|
+
organizationId?: string;
|
|
2395
|
+
static names(): { [key: string]: string } {
|
|
2396
|
+
return {
|
|
2397
|
+
encodeKey: 'EncodeKey',
|
|
2398
|
+
encodeType: 'EncodeType',
|
|
2399
|
+
id: 'Id',
|
|
2400
|
+
idType: 'IdType',
|
|
2401
|
+
organizationId: 'OrganizationId',
|
|
2402
|
+
};
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
static types(): { [key: string]: any } {
|
|
2406
|
+
return {
|
|
2407
|
+
encodeKey: 'string',
|
|
2408
|
+
encodeType: 'string',
|
|
2409
|
+
id: 'string',
|
|
2410
|
+
idType: 'string',
|
|
2411
|
+
organizationId: 'string',
|
|
2412
|
+
};
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2415
|
+
constructor(map?: { [key: string]: any }) {
|
|
2416
|
+
super(map);
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
export class RoomCheckOutRequestUserInfo extends $tea.Model {
|
|
2421
|
+
encodeKey?: string;
|
|
2422
|
+
encodeType?: string;
|
|
2423
|
+
id?: string;
|
|
2424
|
+
idType?: string;
|
|
2425
|
+
organizationId?: string;
|
|
2426
|
+
static names(): { [key: string]: string } {
|
|
2427
|
+
return {
|
|
2428
|
+
encodeKey: 'EncodeKey',
|
|
2429
|
+
encodeType: 'EncodeType',
|
|
2430
|
+
id: 'Id',
|
|
2431
|
+
idType: 'IdType',
|
|
2432
|
+
organizationId: 'OrganizationId',
|
|
2433
|
+
};
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
static types(): { [key: string]: any } {
|
|
2437
|
+
return {
|
|
2438
|
+
encodeKey: 'string',
|
|
2439
|
+
encodeType: 'string',
|
|
2440
|
+
id: 'string',
|
|
2441
|
+
idType: 'string',
|
|
2442
|
+
organizationId: 'string',
|
|
2443
|
+
};
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
constructor(map?: { [key: string]: any }) {
|
|
2447
|
+
super(map);
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
export class SubmitHotelOrderRequestPayloadItemList extends $tea.Model {
|
|
2452
|
+
itemId?: number;
|
|
2453
|
+
quantity?: number;
|
|
2454
|
+
static names(): { [key: string]: string } {
|
|
2455
|
+
return {
|
|
2456
|
+
itemId: 'ItemId',
|
|
2457
|
+
quantity: 'Quantity',
|
|
2458
|
+
};
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2461
|
+
static types(): { [key: string]: any } {
|
|
2462
|
+
return {
|
|
2463
|
+
itemId: 'number',
|
|
2464
|
+
quantity: 'number',
|
|
2465
|
+
};
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2468
|
+
constructor(map?: { [key: string]: any }) {
|
|
2469
|
+
super(map);
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
|
|
2473
|
+
export class SubmitHotelOrderRequestPayload extends $tea.Model {
|
|
2474
|
+
itemList?: SubmitHotelOrderRequestPayloadItemList[];
|
|
2475
|
+
type?: string;
|
|
2476
|
+
static names(): { [key: string]: string } {
|
|
2477
|
+
return {
|
|
2478
|
+
itemList: 'ItemList',
|
|
2479
|
+
type: 'Type',
|
|
2480
|
+
};
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
static types(): { [key: string]: any } {
|
|
2484
|
+
return {
|
|
2485
|
+
itemList: { 'type': 'array', 'itemType': SubmitHotelOrderRequestPayloadItemList },
|
|
2486
|
+
type: 'string',
|
|
2487
|
+
};
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
constructor(map?: { [key: string]: any }) {
|
|
2491
|
+
super(map);
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
export class SubmitHotelOrderRequestUserInfo extends $tea.Model {
|
|
2496
|
+
encodeKey?: string;
|
|
2497
|
+
encodeType?: string;
|
|
2498
|
+
id?: string;
|
|
2499
|
+
idType?: string;
|
|
2500
|
+
organizationId?: string;
|
|
2501
|
+
static names(): { [key: string]: string } {
|
|
2502
|
+
return {
|
|
2503
|
+
encodeKey: 'EncodeKey',
|
|
2504
|
+
encodeType: 'EncodeType',
|
|
2505
|
+
id: 'Id',
|
|
2506
|
+
idType: 'IdType',
|
|
2507
|
+
organizationId: 'OrganizationId',
|
|
2508
|
+
};
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
static types(): { [key: string]: any } {
|
|
2512
|
+
return {
|
|
2513
|
+
encodeKey: 'string',
|
|
2514
|
+
encodeType: 'string',
|
|
2515
|
+
id: 'string',
|
|
2516
|
+
idType: 'string',
|
|
2517
|
+
organizationId: 'string',
|
|
2518
|
+
};
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
constructor(map?: { [key: string]: any }) {
|
|
2522
|
+
super(map);
|
|
2523
|
+
}
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
|
|
2527
|
+
export default class Client extends OpenApi {
|
|
2528
|
+
|
|
2529
|
+
constructor(config: $OpenApi.Config) {
|
|
2530
|
+
super(config);
|
|
2531
|
+
this._endpointRule = "";
|
|
2532
|
+
this.checkConfig(config);
|
|
2533
|
+
this._endpoint = this.getEndpoint("aligenie", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {[key: string ]: string}, endpoint: string): string {
|
|
2538
|
+
if (!Util.empty(endpoint)) {
|
|
2539
|
+
return endpoint;
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
if (!Util.isUnset(endpointMap) && !Util.empty(endpointMap[regionId])) {
|
|
2543
|
+
return endpointMap[regionId];
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2549
|
+
async deviceControl(request: DeviceControlRequest): Promise<DeviceControlResponse> {
|
|
2550
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2551
|
+
let headers = new DeviceControlHeaders({ });
|
|
2552
|
+
return await this.deviceControlWithOptions(request, headers, runtime);
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
async deviceControlWithOptions(tmpReq: DeviceControlRequest, headers: DeviceControlHeaders, runtime: $Util.RuntimeOptions): Promise<DeviceControlResponse> {
|
|
2556
|
+
Util.validateModel(tmpReq);
|
|
2557
|
+
let request = new DeviceControlShrinkRequest({ });
|
|
2558
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2559
|
+
if (!Util.isUnset($tea.toMap(tmpReq.payload))) {
|
|
2560
|
+
request.payloadShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.payload), "Payload", "json");
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
if (!Util.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
2564
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
let query : {[key: string ]: any} = { };
|
|
2568
|
+
if (!Util.isUnset(request.payloadShrink)) {
|
|
2569
|
+
query["Payload"] = request.payloadShrink;
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
if (!Util.isUnset(request.userInfoShrink)) {
|
|
2573
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2576
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
2577
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
2578
|
+
realHeaders = headers.commonHeaders;
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
2582
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
2586
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
2587
|
+
}
|
|
2588
|
+
|
|
2589
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2590
|
+
headers: realHeaders,
|
|
2591
|
+
query: OpenApiUtil.query(query),
|
|
2592
|
+
});
|
|
2593
|
+
let params = new $OpenApi.Params({
|
|
2594
|
+
action: "DeviceControl",
|
|
2595
|
+
version: "ip_1.0",
|
|
2596
|
+
protocol: "HTTPS",
|
|
2597
|
+
pathname: `/v1.0/ip/deviceControl`,
|
|
2598
|
+
method: "POST",
|
|
2599
|
+
authType: "AK",
|
|
2600
|
+
style: "ROA",
|
|
2601
|
+
reqBodyType: "json",
|
|
2602
|
+
bodyType: "json",
|
|
2603
|
+
});
|
|
2604
|
+
return $tea.cast<DeviceControlResponse>(await this.callApi(params, req, runtime), new DeviceControlResponse({}));
|
|
2605
|
+
}
|
|
2606
|
+
|
|
2607
|
+
async getHotelHomeBackImageAndModes(request: GetHotelHomeBackImageAndModesRequest): Promise<GetHotelHomeBackImageAndModesResponse> {
|
|
2608
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2609
|
+
let headers = new GetHotelHomeBackImageAndModesHeaders({ });
|
|
2610
|
+
return await this.getHotelHomeBackImageAndModesWithOptions(request, headers, runtime);
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2613
|
+
async getHotelHomeBackImageAndModesWithOptions(tmpReq: GetHotelHomeBackImageAndModesRequest, headers: GetHotelHomeBackImageAndModesHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelHomeBackImageAndModesResponse> {
|
|
2614
|
+
Util.validateModel(tmpReq);
|
|
2615
|
+
let request = new GetHotelHomeBackImageAndModesShrinkRequest({ });
|
|
2616
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2617
|
+
if (!Util.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
2618
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
2619
|
+
}
|
|
2620
|
+
|
|
2621
|
+
let query : {[key: string ]: any} = { };
|
|
2622
|
+
if (!Util.isUnset(request.userInfoShrink)) {
|
|
2623
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
2627
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
2628
|
+
realHeaders = headers.commonHeaders;
|
|
2629
|
+
}
|
|
2630
|
+
|
|
2631
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
2632
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
2636
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2640
|
+
headers: realHeaders,
|
|
2641
|
+
query: OpenApiUtil.query(query),
|
|
2642
|
+
});
|
|
2643
|
+
let params = new $OpenApi.Params({
|
|
2644
|
+
action: "GetHotelHomeBackImageAndModes",
|
|
2645
|
+
version: "ip_1.0",
|
|
2646
|
+
protocol: "HTTPS",
|
|
2647
|
+
pathname: `/v1.0/ip/getHotelHomeBackImageAndModes`,
|
|
2648
|
+
method: "POST",
|
|
2649
|
+
authType: "AK",
|
|
2650
|
+
style: "ROA",
|
|
2651
|
+
reqBodyType: "json",
|
|
2652
|
+
bodyType: "json",
|
|
2653
|
+
});
|
|
2654
|
+
return $tea.cast<GetHotelHomeBackImageAndModesResponse>(await this.callApi(params, req, runtime), new GetHotelHomeBackImageAndModesResponse({}));
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
async getHotelOrderDetail(request: GetHotelOrderDetailRequest): Promise<GetHotelOrderDetailResponse> {
|
|
2658
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2659
|
+
let headers = new GetHotelOrderDetailHeaders({ });
|
|
2660
|
+
return await this.getHotelOrderDetailWithOptions(request, headers, runtime);
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2663
|
+
async getHotelOrderDetailWithOptions(tmpReq: GetHotelOrderDetailRequest, headers: GetHotelOrderDetailHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelOrderDetailResponse> {
|
|
2664
|
+
Util.validateModel(tmpReq);
|
|
2665
|
+
let request = new GetHotelOrderDetailShrinkRequest({ });
|
|
2666
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2667
|
+
if (!Util.isUnset($tea.toMap(tmpReq.payload))) {
|
|
2668
|
+
request.payloadShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.payload), "Payload", "json");
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
let query : {[key: string ]: any} = { };
|
|
2672
|
+
if (!Util.isUnset(request.payloadShrink)) {
|
|
2673
|
+
query["Payload"] = request.payloadShrink;
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
2677
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
2678
|
+
realHeaders = headers.commonHeaders;
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2681
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
2682
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
2686
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2690
|
+
headers: realHeaders,
|
|
2691
|
+
query: OpenApiUtil.query(query),
|
|
2692
|
+
});
|
|
2693
|
+
let params = new $OpenApi.Params({
|
|
2694
|
+
action: "GetHotelOrderDetail",
|
|
2695
|
+
version: "ip_1.0",
|
|
2696
|
+
protocol: "HTTPS",
|
|
2697
|
+
pathname: `/v1.0/ip/getHotelOrderDetail`,
|
|
2698
|
+
method: "POST",
|
|
2699
|
+
authType: "AK",
|
|
2700
|
+
style: "ROA",
|
|
2701
|
+
reqBodyType: "json",
|
|
2702
|
+
bodyType: "json",
|
|
2703
|
+
});
|
|
2704
|
+
return $tea.cast<GetHotelOrderDetailResponse>(await this.callApi(params, req, runtime), new GetHotelOrderDetailResponse({}));
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
async getHotelSampleUtterances(request: GetHotelSampleUtterancesRequest): Promise<GetHotelSampleUtterancesResponse> {
|
|
2708
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2709
|
+
let headers = new GetHotelSampleUtterancesHeaders({ });
|
|
2710
|
+
return await this.getHotelSampleUtterancesWithOptions(request, headers, runtime);
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
async getHotelSampleUtterancesWithOptions(tmpReq: GetHotelSampleUtterancesRequest, headers: GetHotelSampleUtterancesHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelSampleUtterancesResponse> {
|
|
2714
|
+
Util.validateModel(tmpReq);
|
|
2715
|
+
let request = new GetHotelSampleUtterancesShrinkRequest({ });
|
|
2716
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2717
|
+
if (!Util.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
2718
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
let query : {[key: string ]: any} = { };
|
|
2722
|
+
if (!Util.isUnset(request.userInfoShrink)) {
|
|
2723
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
2727
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
2728
|
+
realHeaders = headers.commonHeaders;
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
2732
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
2736
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2739
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2740
|
+
headers: realHeaders,
|
|
2741
|
+
query: OpenApiUtil.query(query),
|
|
2742
|
+
});
|
|
2743
|
+
let params = new $OpenApi.Params({
|
|
2744
|
+
action: "GetHotelSampleUtterances",
|
|
2745
|
+
version: "ip_1.0",
|
|
2746
|
+
protocol: "HTTPS",
|
|
2747
|
+
pathname: `/v1.0/ip/getHotelSampleUtterances`,
|
|
2748
|
+
method: "POST",
|
|
2749
|
+
authType: "AK",
|
|
2750
|
+
style: "ROA",
|
|
2751
|
+
reqBodyType: "json",
|
|
2752
|
+
bodyType: "json",
|
|
2753
|
+
});
|
|
2754
|
+
return $tea.cast<GetHotelSampleUtterancesResponse>(await this.callApi(params, req, runtime), new GetHotelSampleUtterancesResponse({}));
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2757
|
+
async getHotelScreenSaver(request: GetHotelScreenSaverRequest): Promise<GetHotelScreenSaverResponse> {
|
|
2758
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2759
|
+
let headers = new GetHotelScreenSaverHeaders({ });
|
|
2760
|
+
return await this.getHotelScreenSaverWithOptions(request, headers, runtime);
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
async getHotelScreenSaverWithOptions(tmpReq: GetHotelScreenSaverRequest, headers: GetHotelScreenSaverHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelScreenSaverResponse> {
|
|
2764
|
+
Util.validateModel(tmpReq);
|
|
2765
|
+
let request = new GetHotelScreenSaverShrinkRequest({ });
|
|
2766
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2767
|
+
if (!Util.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
2768
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
let query : {[key: string ]: any} = { };
|
|
2772
|
+
if (!Util.isUnset(request.userInfoShrink)) {
|
|
2773
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
2777
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
2778
|
+
realHeaders = headers.commonHeaders;
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
2782
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
2786
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2790
|
+
headers: realHeaders,
|
|
2791
|
+
query: OpenApiUtil.query(query),
|
|
2792
|
+
});
|
|
2793
|
+
let params = new $OpenApi.Params({
|
|
2794
|
+
action: "GetHotelScreenSaver",
|
|
2795
|
+
version: "ip_1.0",
|
|
2796
|
+
protocol: "HTTPS",
|
|
2797
|
+
pathname: `/v1.0/ip/getHotelScreenSaver`,
|
|
2798
|
+
method: "POST",
|
|
2799
|
+
authType: "AK",
|
|
2800
|
+
style: "ROA",
|
|
2801
|
+
reqBodyType: "json",
|
|
2802
|
+
bodyType: "json",
|
|
2803
|
+
});
|
|
2804
|
+
return $tea.cast<GetHotelScreenSaverResponse>(await this.callApi(params, req, runtime), new GetHotelScreenSaverResponse({}));
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
async listHotelControlDevice(request: ListHotelControlDeviceRequest): Promise<ListHotelControlDeviceResponse> {
|
|
2808
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2809
|
+
let headers = new ListHotelControlDeviceHeaders({ });
|
|
2810
|
+
return await this.listHotelControlDeviceWithOptions(request, headers, runtime);
|
|
2811
|
+
}
|
|
2812
|
+
|
|
2813
|
+
async listHotelControlDeviceWithOptions(tmpReq: ListHotelControlDeviceRequest, headers: ListHotelControlDeviceHeaders, runtime: $Util.RuntimeOptions): Promise<ListHotelControlDeviceResponse> {
|
|
2814
|
+
Util.validateModel(tmpReq);
|
|
2815
|
+
let request = new ListHotelControlDeviceShrinkRequest({ });
|
|
2816
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2817
|
+
if (!Util.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
2818
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2821
|
+
let query : {[key: string ]: any} = { };
|
|
2822
|
+
if (!Util.isUnset(request.userInfoShrink)) {
|
|
2823
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
2827
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
2828
|
+
realHeaders = headers.commonHeaders;
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2831
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
2832
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2835
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
2836
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2840
|
+
headers: realHeaders,
|
|
2841
|
+
query: OpenApiUtil.query(query),
|
|
2842
|
+
});
|
|
2843
|
+
let params = new $OpenApi.Params({
|
|
2844
|
+
action: "ListHotelControlDevice",
|
|
2845
|
+
version: "ip_1.0",
|
|
2846
|
+
protocol: "HTTPS",
|
|
2847
|
+
pathname: `/v1.0/ip/listHotelControlDevice`,
|
|
2848
|
+
method: "POST",
|
|
2849
|
+
authType: "AK",
|
|
2850
|
+
style: "ROA",
|
|
2851
|
+
reqBodyType: "json",
|
|
2852
|
+
bodyType: "json",
|
|
2853
|
+
});
|
|
2854
|
+
return $tea.cast<ListHotelControlDeviceResponse>(await this.callApi(params, req, runtime), new ListHotelControlDeviceResponse({}));
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2857
|
+
async listHotelOrder(request: ListHotelOrderRequest): Promise<ListHotelOrderResponse> {
|
|
2858
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2859
|
+
let headers = new ListHotelOrderHeaders({ });
|
|
2860
|
+
return await this.listHotelOrderWithOptions(request, headers, runtime);
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
async listHotelOrderWithOptions(tmpReq: ListHotelOrderRequest, headers: ListHotelOrderHeaders, runtime: $Util.RuntimeOptions): Promise<ListHotelOrderResponse> {
|
|
2864
|
+
Util.validateModel(tmpReq);
|
|
2865
|
+
let request = new ListHotelOrderShrinkRequest({ });
|
|
2866
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2867
|
+
if (!Util.isUnset($tea.toMap(tmpReq.payload))) {
|
|
2868
|
+
request.payloadShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.payload), "Payload", "json");
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
if (!Util.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
2872
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2875
|
+
let query : {[key: string ]: any} = { };
|
|
2876
|
+
if (!Util.isUnset(request.payloadShrink)) {
|
|
2877
|
+
query["Payload"] = request.payloadShrink;
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2880
|
+
if (!Util.isUnset(request.userInfoShrink)) {
|
|
2881
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2884
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
2885
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
2886
|
+
realHeaders = headers.commonHeaders;
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
2890
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
2894
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2898
|
+
headers: realHeaders,
|
|
2899
|
+
query: OpenApiUtil.query(query),
|
|
2900
|
+
});
|
|
2901
|
+
let params = new $OpenApi.Params({
|
|
2902
|
+
action: "ListHotelOrder",
|
|
2903
|
+
version: "ip_1.0",
|
|
2904
|
+
protocol: "HTTPS",
|
|
2905
|
+
pathname: `/v1.0/ip/listHotelOrder`,
|
|
2906
|
+
method: "POST",
|
|
2907
|
+
authType: "AK",
|
|
2908
|
+
style: "ROA",
|
|
2909
|
+
reqBodyType: "json",
|
|
2910
|
+
bodyType: "json",
|
|
2911
|
+
});
|
|
2912
|
+
return $tea.cast<ListHotelOrderResponse>(await this.callApi(params, req, runtime), new ListHotelOrderResponse({}));
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
async listHotelSceneItem(request: ListHotelSceneItemRequest): Promise<ListHotelSceneItemResponse> {
|
|
2916
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2917
|
+
let headers = new ListHotelSceneItemHeaders({ });
|
|
2918
|
+
return await this.listHotelSceneItemWithOptions(request, headers, runtime);
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
async listHotelSceneItemWithOptions(tmpReq: ListHotelSceneItemRequest, headers: ListHotelSceneItemHeaders, runtime: $Util.RuntimeOptions): Promise<ListHotelSceneItemResponse> {
|
|
2922
|
+
Util.validateModel(tmpReq);
|
|
2923
|
+
let request = new ListHotelSceneItemShrinkRequest({ });
|
|
2924
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2925
|
+
if (!Util.isUnset($tea.toMap(tmpReq.payload))) {
|
|
2926
|
+
request.payloadShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.payload), "Payload", "json");
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
if (!Util.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
2930
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
let query : {[key: string ]: any} = { };
|
|
2934
|
+
if (!Util.isUnset(request.payloadShrink)) {
|
|
2935
|
+
query["Payload"] = request.payloadShrink;
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
if (!Util.isUnset(request.userInfoShrink)) {
|
|
2939
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2942
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
2943
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
2944
|
+
realHeaders = headers.commonHeaders;
|
|
2945
|
+
}
|
|
2946
|
+
|
|
2947
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
2948
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
2949
|
+
}
|
|
2950
|
+
|
|
2951
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
2952
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
2953
|
+
}
|
|
2954
|
+
|
|
2955
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2956
|
+
headers: realHeaders,
|
|
2957
|
+
query: OpenApiUtil.query(query),
|
|
2958
|
+
});
|
|
2959
|
+
let params = new $OpenApi.Params({
|
|
2960
|
+
action: "ListHotelSceneItem",
|
|
2961
|
+
version: "ip_1.0",
|
|
2962
|
+
protocol: "HTTPS",
|
|
2963
|
+
pathname: `/v1.0/ip/listHotelSceneItem`,
|
|
2964
|
+
method: "POST",
|
|
2965
|
+
authType: "AK",
|
|
2966
|
+
style: "ROA",
|
|
2967
|
+
reqBodyType: "json",
|
|
2968
|
+
bodyType: "json",
|
|
2969
|
+
});
|
|
2970
|
+
return $tea.cast<ListHotelSceneItemResponse>(await this.callApi(params, req, runtime), new ListHotelSceneItemResponse({}));
|
|
2971
|
+
}
|
|
2972
|
+
|
|
2973
|
+
async listHotelServiceCategory(request: ListHotelServiceCategoryRequest): Promise<ListHotelServiceCategoryResponse> {
|
|
2974
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2975
|
+
let headers = new ListHotelServiceCategoryHeaders({ });
|
|
2976
|
+
return await this.listHotelServiceCategoryWithOptions(request, headers, runtime);
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2979
|
+
async listHotelServiceCategoryWithOptions(tmpReq: ListHotelServiceCategoryRequest, headers: ListHotelServiceCategoryHeaders, runtime: $Util.RuntimeOptions): Promise<ListHotelServiceCategoryResponse> {
|
|
2980
|
+
Util.validateModel(tmpReq);
|
|
2981
|
+
let request = new ListHotelServiceCategoryShrinkRequest({ });
|
|
2982
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2983
|
+
if (!Util.isUnset($tea.toMap(tmpReq.payload))) {
|
|
2984
|
+
request.payloadShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.payload), "Payload", "json");
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
let query : {[key: string ]: any} = { };
|
|
2988
|
+
if (!Util.isUnset(request.payloadShrink)) {
|
|
2989
|
+
query["Payload"] = request.payloadShrink;
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2992
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
2993
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
2994
|
+
realHeaders = headers.commonHeaders;
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2997
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
2998
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
2999
|
+
}
|
|
3000
|
+
|
|
3001
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
3002
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
3003
|
+
}
|
|
3004
|
+
|
|
3005
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3006
|
+
headers: realHeaders,
|
|
3007
|
+
query: OpenApiUtil.query(query),
|
|
3008
|
+
});
|
|
3009
|
+
let params = new $OpenApi.Params({
|
|
3010
|
+
action: "ListHotelServiceCategory",
|
|
3011
|
+
version: "ip_1.0",
|
|
3012
|
+
protocol: "HTTPS",
|
|
3013
|
+
pathname: `/v1.0/ip/listHotelServiceCategory`,
|
|
3014
|
+
method: "POST",
|
|
3015
|
+
authType: "AK",
|
|
3016
|
+
style: "ROA",
|
|
3017
|
+
reqBodyType: "json",
|
|
3018
|
+
bodyType: "json",
|
|
3019
|
+
});
|
|
3020
|
+
return $tea.cast<ListHotelServiceCategoryResponse>(await this.callApi(params, req, runtime), new ListHotelServiceCategoryResponse({}));
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
async queryDeviceStatus(request: QueryDeviceStatusRequest): Promise<QueryDeviceStatusResponse> {
|
|
3024
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3025
|
+
let headers = new QueryDeviceStatusHeaders({ });
|
|
3026
|
+
return await this.queryDeviceStatusWithOptions(request, headers, runtime);
|
|
3027
|
+
}
|
|
3028
|
+
|
|
3029
|
+
async queryDeviceStatusWithOptions(tmpReq: QueryDeviceStatusRequest, headers: QueryDeviceStatusHeaders, runtime: $Util.RuntimeOptions): Promise<QueryDeviceStatusResponse> {
|
|
3030
|
+
Util.validateModel(tmpReq);
|
|
3031
|
+
let request = new QueryDeviceStatusShrinkRequest({ });
|
|
3032
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
3033
|
+
if (!Util.isUnset($tea.toMap(tmpReq.payload))) {
|
|
3034
|
+
request.payloadShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.payload), "Payload", "json");
|
|
3035
|
+
}
|
|
3036
|
+
|
|
3037
|
+
if (!Util.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
3038
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
3039
|
+
}
|
|
3040
|
+
|
|
3041
|
+
let query : {[key: string ]: any} = { };
|
|
3042
|
+
if (!Util.isUnset(request.payloadShrink)) {
|
|
3043
|
+
query["Payload"] = request.payloadShrink;
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
if (!Util.isUnset(request.userInfoShrink)) {
|
|
3047
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
3048
|
+
}
|
|
3049
|
+
|
|
3050
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3051
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3052
|
+
realHeaders = headers.commonHeaders;
|
|
3053
|
+
}
|
|
3054
|
+
|
|
3055
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
3056
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
3060
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3064
|
+
headers: realHeaders,
|
|
3065
|
+
query: OpenApiUtil.query(query),
|
|
3066
|
+
});
|
|
3067
|
+
let params = new $OpenApi.Params({
|
|
3068
|
+
action: "QueryDeviceStatus",
|
|
3069
|
+
version: "ip_1.0",
|
|
3070
|
+
protocol: "HTTPS",
|
|
3071
|
+
pathname: `/v1.0/ip/queryDeviceStatus`,
|
|
3072
|
+
method: "POST",
|
|
3073
|
+
authType: "AK",
|
|
3074
|
+
style: "ROA",
|
|
3075
|
+
reqBodyType: "json",
|
|
3076
|
+
bodyType: "json",
|
|
3077
|
+
});
|
|
3078
|
+
return $tea.cast<QueryDeviceStatusResponse>(await this.callApi(params, req, runtime), new QueryDeviceStatusResponse({}));
|
|
3079
|
+
}
|
|
3080
|
+
|
|
3081
|
+
async queryHotelProduct(request: QueryHotelProductRequest): Promise<QueryHotelProductResponse> {
|
|
3082
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3083
|
+
let headers = new QueryHotelProductHeaders({ });
|
|
3084
|
+
return await this.queryHotelProductWithOptions(request, headers, runtime);
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
async queryHotelProductWithOptions(tmpReq: QueryHotelProductRequest, headers: QueryHotelProductHeaders, runtime: $Util.RuntimeOptions): Promise<QueryHotelProductResponse> {
|
|
3088
|
+
Util.validateModel(tmpReq);
|
|
3089
|
+
let request = new QueryHotelProductShrinkRequest({ });
|
|
3090
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
3091
|
+
if (!Util.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
3092
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
3093
|
+
}
|
|
3094
|
+
|
|
3095
|
+
let query : {[key: string ]: any} = { };
|
|
3096
|
+
if (!Util.isUnset(request.userInfoShrink)) {
|
|
3097
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3101
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3102
|
+
realHeaders = headers.commonHeaders;
|
|
3103
|
+
}
|
|
3104
|
+
|
|
3105
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
3106
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
3110
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3114
|
+
headers: realHeaders,
|
|
3115
|
+
query: OpenApiUtil.query(query),
|
|
3116
|
+
});
|
|
3117
|
+
let params = new $OpenApi.Params({
|
|
3118
|
+
action: "QueryHotelProduct",
|
|
3119
|
+
version: "ip_1.0",
|
|
3120
|
+
protocol: "HTTPS",
|
|
3121
|
+
pathname: `/v1.0/ip/queryHotelProduct`,
|
|
3122
|
+
method: "POST",
|
|
3123
|
+
authType: "AK",
|
|
3124
|
+
style: "ROA",
|
|
3125
|
+
reqBodyType: "json",
|
|
3126
|
+
bodyType: "json",
|
|
3127
|
+
});
|
|
3128
|
+
return $tea.cast<QueryHotelProductResponse>(await this.callApi(params, req, runtime), new QueryHotelProductResponse({}));
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3131
|
+
async roomCheckOut(request: RoomCheckOutRequest): Promise<RoomCheckOutResponse> {
|
|
3132
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3133
|
+
let headers = new RoomCheckOutHeaders({ });
|
|
3134
|
+
return await this.roomCheckOutWithOptions(request, headers, runtime);
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
async roomCheckOutWithOptions(tmpReq: RoomCheckOutRequest, headers: RoomCheckOutHeaders, runtime: $Util.RuntimeOptions): Promise<RoomCheckOutResponse> {
|
|
3138
|
+
Util.validateModel(tmpReq);
|
|
3139
|
+
let request = new RoomCheckOutShrinkRequest({ });
|
|
3140
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
3141
|
+
if (!Util.isUnset($tea.toMap(tmpReq.deviceInfo))) {
|
|
3142
|
+
request.deviceInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.deviceInfo), "DeviceInfo", "json");
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3145
|
+
if (!Util.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
3146
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
let query : {[key: string ]: any} = { };
|
|
3150
|
+
if (!Util.isUnset(request.deviceInfoShrink)) {
|
|
3151
|
+
query["DeviceInfo"] = request.deviceInfoShrink;
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
if (!Util.isUnset(request.userInfoShrink)) {
|
|
3155
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
3156
|
+
}
|
|
3157
|
+
|
|
3158
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3159
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3160
|
+
realHeaders = headers.commonHeaders;
|
|
3161
|
+
}
|
|
3162
|
+
|
|
3163
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
3164
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
3165
|
+
}
|
|
3166
|
+
|
|
3167
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
3168
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
3169
|
+
}
|
|
3170
|
+
|
|
3171
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3172
|
+
headers: realHeaders,
|
|
3173
|
+
query: OpenApiUtil.query(query),
|
|
3174
|
+
});
|
|
3175
|
+
let params = new $OpenApi.Params({
|
|
3176
|
+
action: "RoomCheckOut",
|
|
3177
|
+
version: "ip_1.0",
|
|
3178
|
+
protocol: "HTTPS",
|
|
3179
|
+
pathname: `/v1.0/ip/roomCheckOut`,
|
|
3180
|
+
method: "POST",
|
|
3181
|
+
authType: "AK",
|
|
3182
|
+
style: "ROA",
|
|
3183
|
+
reqBodyType: "json",
|
|
3184
|
+
bodyType: "json",
|
|
3185
|
+
});
|
|
3186
|
+
return $tea.cast<RoomCheckOutResponse>(await this.callApi(params, req, runtime), new RoomCheckOutResponse({}));
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3189
|
+
async submitHotelOrder(request: SubmitHotelOrderRequest): Promise<SubmitHotelOrderResponse> {
|
|
3190
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3191
|
+
let headers = new SubmitHotelOrderHeaders({ });
|
|
3192
|
+
return await this.submitHotelOrderWithOptions(request, headers, runtime);
|
|
3193
|
+
}
|
|
3194
|
+
|
|
3195
|
+
async submitHotelOrderWithOptions(tmpReq: SubmitHotelOrderRequest, headers: SubmitHotelOrderHeaders, runtime: $Util.RuntimeOptions): Promise<SubmitHotelOrderResponse> {
|
|
3196
|
+
Util.validateModel(tmpReq);
|
|
3197
|
+
let request = new SubmitHotelOrderShrinkRequest({ });
|
|
3198
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
3199
|
+
if (!Util.isUnset($tea.toMap(tmpReq.payload))) {
|
|
3200
|
+
request.payloadShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.payload), "Payload", "json");
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3203
|
+
if (!Util.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
3204
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
3205
|
+
}
|
|
3206
|
+
|
|
3207
|
+
let query : {[key: string ]: any} = { };
|
|
3208
|
+
if (!Util.isUnset(request.payloadShrink)) {
|
|
3209
|
+
query["Payload"] = request.payloadShrink;
|
|
3210
|
+
}
|
|
3211
|
+
|
|
3212
|
+
if (!Util.isUnset(request.userInfoShrink)) {
|
|
3213
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
3214
|
+
}
|
|
3215
|
+
|
|
3216
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3217
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3218
|
+
realHeaders = headers.commonHeaders;
|
|
3219
|
+
}
|
|
3220
|
+
|
|
3221
|
+
if (!Util.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
3222
|
+
realHeaders["x-acs-aligenie-access-token"] = Util.toJSONString(headers.xAcsAligenieAccessToken);
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3225
|
+
if (!Util.isUnset(headers.authorization)) {
|
|
3226
|
+
realHeaders["Authorization"] = Util.toJSONString(headers.authorization);
|
|
3227
|
+
}
|
|
3228
|
+
|
|
3229
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3230
|
+
headers: realHeaders,
|
|
3231
|
+
query: OpenApiUtil.query(query),
|
|
3232
|
+
});
|
|
3233
|
+
let params = new $OpenApi.Params({
|
|
3234
|
+
action: "SubmitHotelOrder",
|
|
3235
|
+
version: "ip_1.0",
|
|
3236
|
+
protocol: "HTTPS",
|
|
3237
|
+
pathname: `/v1.0/ip/submitHotelOrder`,
|
|
3238
|
+
method: "POST",
|
|
3239
|
+
authType: "AK",
|
|
3240
|
+
style: "ROA",
|
|
3241
|
+
reqBodyType: "json",
|
|
3242
|
+
bodyType: "json",
|
|
3243
|
+
});
|
|
3244
|
+
return $tea.cast<SubmitHotelOrderResponse>(await this.callApi(params, req, runtime), new SubmitHotelOrderResponse({}));
|
|
3245
|
+
}
|
|
3246
|
+
|
|
3247
|
+
}
|