@alicloud/aligenieip_1_0 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1575 -180
- package/dist/client.js +2878 -373
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +3896 -806
package/dist/client.js
CHANGED
|
@@ -19,7 +19,7 @@ const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $Ope
|
|
|
19
19
|
const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
|
|
20
20
|
const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
|
|
21
21
|
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
22
|
-
class
|
|
22
|
+
class AddMessageTemplateHeaders extends $tea.Model {
|
|
23
23
|
constructor(map) {
|
|
24
24
|
super(map);
|
|
25
25
|
}
|
|
@@ -38,44 +38,26 @@ class DeviceControlHeaders extends $tea.Model {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
exports.
|
|
42
|
-
class
|
|
43
|
-
constructor(map) {
|
|
44
|
-
super(map);
|
|
45
|
-
}
|
|
46
|
-
static names() {
|
|
47
|
-
return {
|
|
48
|
-
payload: 'Payload',
|
|
49
|
-
userInfo: 'UserInfo',
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
static types() {
|
|
53
|
-
return {
|
|
54
|
-
payload: DeviceControlRequestPayload,
|
|
55
|
-
userInfo: DeviceControlRequestUserInfo,
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
exports.DeviceControlRequest = DeviceControlRequest;
|
|
60
|
-
class DeviceControlShrinkRequest extends $tea.Model {
|
|
41
|
+
exports.AddMessageTemplateHeaders = AddMessageTemplateHeaders;
|
|
42
|
+
class AddMessageTemplateRequest extends $tea.Model {
|
|
61
43
|
constructor(map) {
|
|
62
44
|
super(map);
|
|
63
45
|
}
|
|
64
46
|
static names() {
|
|
65
47
|
return {
|
|
66
|
-
|
|
67
|
-
|
|
48
|
+
templateDetail: 'TemplateDetail',
|
|
49
|
+
templateName: 'TemplateName',
|
|
68
50
|
};
|
|
69
51
|
}
|
|
70
52
|
static types() {
|
|
71
53
|
return {
|
|
72
|
-
|
|
73
|
-
|
|
54
|
+
templateDetail: 'string',
|
|
55
|
+
templateName: 'string',
|
|
74
56
|
};
|
|
75
57
|
}
|
|
76
58
|
}
|
|
77
|
-
exports.
|
|
78
|
-
class
|
|
59
|
+
exports.AddMessageTemplateRequest = AddMessageTemplateRequest;
|
|
60
|
+
class AddMessageTemplateResponseBody extends $tea.Model {
|
|
79
61
|
constructor(map) {
|
|
80
62
|
super(map);
|
|
81
63
|
}
|
|
@@ -92,12 +74,12 @@ class DeviceControlResponseBody extends $tea.Model {
|
|
|
92
74
|
code: 'number',
|
|
93
75
|
message: 'string',
|
|
94
76
|
requestId: 'string',
|
|
95
|
-
result:
|
|
77
|
+
result: 'number',
|
|
96
78
|
};
|
|
97
79
|
}
|
|
98
80
|
}
|
|
99
|
-
exports.
|
|
100
|
-
class
|
|
81
|
+
exports.AddMessageTemplateResponseBody = AddMessageTemplateResponseBody;
|
|
82
|
+
class AddMessageTemplateResponse extends $tea.Model {
|
|
101
83
|
constructor(map) {
|
|
102
84
|
super(map);
|
|
103
85
|
}
|
|
@@ -112,12 +94,12 @@ class DeviceControlResponse extends $tea.Model {
|
|
|
112
94
|
return {
|
|
113
95
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
114
96
|
statusCode: 'number',
|
|
115
|
-
body:
|
|
97
|
+
body: AddMessageTemplateResponseBody,
|
|
116
98
|
};
|
|
117
99
|
}
|
|
118
100
|
}
|
|
119
|
-
exports.
|
|
120
|
-
class
|
|
101
|
+
exports.AddMessageTemplateResponse = AddMessageTemplateResponse;
|
|
102
|
+
class BatchAddHotelRoomHeaders extends $tea.Model {
|
|
121
103
|
constructor(map) {
|
|
122
104
|
super(map);
|
|
123
105
|
}
|
|
@@ -136,40 +118,44 @@ class GetHotelHomeBackImageAndModesHeaders extends $tea.Model {
|
|
|
136
118
|
};
|
|
137
119
|
}
|
|
138
120
|
}
|
|
139
|
-
exports.
|
|
140
|
-
class
|
|
121
|
+
exports.BatchAddHotelRoomHeaders = BatchAddHotelRoomHeaders;
|
|
122
|
+
class BatchAddHotelRoomRequest extends $tea.Model {
|
|
141
123
|
constructor(map) {
|
|
142
124
|
super(map);
|
|
143
125
|
}
|
|
144
126
|
static names() {
|
|
145
127
|
return {
|
|
146
|
-
|
|
128
|
+
hotelId: 'HotelId',
|
|
129
|
+
roomNoList: 'RoomNoList',
|
|
147
130
|
};
|
|
148
131
|
}
|
|
149
132
|
static types() {
|
|
150
133
|
return {
|
|
151
|
-
|
|
134
|
+
hotelId: 'string',
|
|
135
|
+
roomNoList: { 'type': 'array', 'itemType': 'string' },
|
|
152
136
|
};
|
|
153
137
|
}
|
|
154
138
|
}
|
|
155
|
-
exports.
|
|
156
|
-
class
|
|
139
|
+
exports.BatchAddHotelRoomRequest = BatchAddHotelRoomRequest;
|
|
140
|
+
class BatchAddHotelRoomShrinkRequest extends $tea.Model {
|
|
157
141
|
constructor(map) {
|
|
158
142
|
super(map);
|
|
159
143
|
}
|
|
160
144
|
static names() {
|
|
161
145
|
return {
|
|
162
|
-
|
|
146
|
+
hotelId: 'HotelId',
|
|
147
|
+
roomNoListShrink: 'RoomNoList',
|
|
163
148
|
};
|
|
164
149
|
}
|
|
165
150
|
static types() {
|
|
166
151
|
return {
|
|
167
|
-
|
|
152
|
+
hotelId: 'string',
|
|
153
|
+
roomNoListShrink: 'string',
|
|
168
154
|
};
|
|
169
155
|
}
|
|
170
156
|
}
|
|
171
|
-
exports.
|
|
172
|
-
class
|
|
157
|
+
exports.BatchAddHotelRoomShrinkRequest = BatchAddHotelRoomShrinkRequest;
|
|
158
|
+
class BatchAddHotelRoomResponseBody extends $tea.Model {
|
|
173
159
|
constructor(map) {
|
|
174
160
|
super(map);
|
|
175
161
|
}
|
|
@@ -186,12 +172,12 @@ class GetHotelHomeBackImageAndModesResponseBody extends $tea.Model {
|
|
|
186
172
|
code: 'number',
|
|
187
173
|
message: 'string',
|
|
188
174
|
requestId: 'string',
|
|
189
|
-
result:
|
|
175
|
+
result: 'boolean',
|
|
190
176
|
};
|
|
191
177
|
}
|
|
192
178
|
}
|
|
193
|
-
exports.
|
|
194
|
-
class
|
|
179
|
+
exports.BatchAddHotelRoomResponseBody = BatchAddHotelRoomResponseBody;
|
|
180
|
+
class BatchAddHotelRoomResponse extends $tea.Model {
|
|
195
181
|
constructor(map) {
|
|
196
182
|
super(map);
|
|
197
183
|
}
|
|
@@ -206,12 +192,12 @@ class GetHotelHomeBackImageAndModesResponse extends $tea.Model {
|
|
|
206
192
|
return {
|
|
207
193
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
208
194
|
statusCode: 'number',
|
|
209
|
-
body:
|
|
195
|
+
body: BatchAddHotelRoomResponseBody,
|
|
210
196
|
};
|
|
211
197
|
}
|
|
212
198
|
}
|
|
213
|
-
exports.
|
|
214
|
-
class
|
|
199
|
+
exports.BatchAddHotelRoomResponse = BatchAddHotelRoomResponse;
|
|
200
|
+
class BatchDeleteHotelRoomHeaders extends $tea.Model {
|
|
215
201
|
constructor(map) {
|
|
216
202
|
super(map);
|
|
217
203
|
}
|
|
@@ -230,40 +216,44 @@ class GetHotelOrderDetailHeaders extends $tea.Model {
|
|
|
230
216
|
};
|
|
231
217
|
}
|
|
232
218
|
}
|
|
233
|
-
exports.
|
|
234
|
-
class
|
|
219
|
+
exports.BatchDeleteHotelRoomHeaders = BatchDeleteHotelRoomHeaders;
|
|
220
|
+
class BatchDeleteHotelRoomRequest extends $tea.Model {
|
|
235
221
|
constructor(map) {
|
|
236
222
|
super(map);
|
|
237
223
|
}
|
|
238
224
|
static names() {
|
|
239
225
|
return {
|
|
240
|
-
|
|
226
|
+
hotelId: 'HotelId',
|
|
227
|
+
roomNoList: 'RoomNoList',
|
|
241
228
|
};
|
|
242
229
|
}
|
|
243
230
|
static types() {
|
|
244
231
|
return {
|
|
245
|
-
|
|
232
|
+
hotelId: 'string',
|
|
233
|
+
roomNoList: { 'type': 'array', 'itemType': 'string' },
|
|
246
234
|
};
|
|
247
235
|
}
|
|
248
236
|
}
|
|
249
|
-
exports.
|
|
250
|
-
class
|
|
237
|
+
exports.BatchDeleteHotelRoomRequest = BatchDeleteHotelRoomRequest;
|
|
238
|
+
class BatchDeleteHotelRoomShrinkRequest extends $tea.Model {
|
|
251
239
|
constructor(map) {
|
|
252
240
|
super(map);
|
|
253
241
|
}
|
|
254
242
|
static names() {
|
|
255
243
|
return {
|
|
256
|
-
|
|
244
|
+
hotelId: 'HotelId',
|
|
245
|
+
roomNoListShrink: 'RoomNoList',
|
|
257
246
|
};
|
|
258
247
|
}
|
|
259
248
|
static types() {
|
|
260
249
|
return {
|
|
261
|
-
|
|
250
|
+
hotelId: 'string',
|
|
251
|
+
roomNoListShrink: 'string',
|
|
262
252
|
};
|
|
263
253
|
}
|
|
264
254
|
}
|
|
265
|
-
exports.
|
|
266
|
-
class
|
|
255
|
+
exports.BatchDeleteHotelRoomShrinkRequest = BatchDeleteHotelRoomShrinkRequest;
|
|
256
|
+
class BatchDeleteHotelRoomResponseBody extends $tea.Model {
|
|
267
257
|
constructor(map) {
|
|
268
258
|
super(map);
|
|
269
259
|
}
|
|
@@ -280,12 +270,12 @@ class GetHotelOrderDetailResponseBody extends $tea.Model {
|
|
|
280
270
|
code: 'number',
|
|
281
271
|
message: 'string',
|
|
282
272
|
requestId: 'string',
|
|
283
|
-
result:
|
|
273
|
+
result: 'boolean',
|
|
284
274
|
};
|
|
285
275
|
}
|
|
286
276
|
}
|
|
287
|
-
exports.
|
|
288
|
-
class
|
|
277
|
+
exports.BatchDeleteHotelRoomResponseBody = BatchDeleteHotelRoomResponseBody;
|
|
278
|
+
class BatchDeleteHotelRoomResponse extends $tea.Model {
|
|
289
279
|
constructor(map) {
|
|
290
280
|
super(map);
|
|
291
281
|
}
|
|
@@ -300,12 +290,12 @@ class GetHotelOrderDetailResponse extends $tea.Model {
|
|
|
300
290
|
return {
|
|
301
291
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
302
292
|
statusCode: 'number',
|
|
303
|
-
body:
|
|
293
|
+
body: BatchDeleteHotelRoomResponseBody,
|
|
304
294
|
};
|
|
305
295
|
}
|
|
306
296
|
}
|
|
307
|
-
exports.
|
|
308
|
-
class
|
|
297
|
+
exports.BatchDeleteHotelRoomResponse = BatchDeleteHotelRoomResponse;
|
|
298
|
+
class CreateHotelAlarmHeaders extends $tea.Model {
|
|
309
299
|
constructor(map) {
|
|
310
300
|
super(map);
|
|
311
301
|
}
|
|
@@ -324,62 +314,76 @@ class GetHotelSampleUtterancesHeaders extends $tea.Model {
|
|
|
324
314
|
};
|
|
325
315
|
}
|
|
326
316
|
}
|
|
327
|
-
exports.
|
|
328
|
-
class
|
|
317
|
+
exports.CreateHotelAlarmHeaders = CreateHotelAlarmHeaders;
|
|
318
|
+
class CreateHotelAlarmRequest extends $tea.Model {
|
|
329
319
|
constructor(map) {
|
|
330
320
|
super(map);
|
|
331
321
|
}
|
|
332
322
|
static names() {
|
|
333
323
|
return {
|
|
334
|
-
|
|
324
|
+
hotelId: 'HotelId',
|
|
325
|
+
musicType: 'MusicType',
|
|
326
|
+
rooms: 'Rooms',
|
|
327
|
+
scheduleInfo: 'ScheduleInfo',
|
|
335
328
|
};
|
|
336
329
|
}
|
|
337
330
|
static types() {
|
|
338
331
|
return {
|
|
339
|
-
|
|
332
|
+
hotelId: 'string',
|
|
333
|
+
musicType: 'string',
|
|
334
|
+
rooms: { 'type': 'array', 'itemType': 'string' },
|
|
335
|
+
scheduleInfo: CreateHotelAlarmRequestScheduleInfo,
|
|
340
336
|
};
|
|
341
337
|
}
|
|
342
338
|
}
|
|
343
|
-
exports.
|
|
344
|
-
class
|
|
339
|
+
exports.CreateHotelAlarmRequest = CreateHotelAlarmRequest;
|
|
340
|
+
class CreateHotelAlarmShrinkRequest extends $tea.Model {
|
|
345
341
|
constructor(map) {
|
|
346
342
|
super(map);
|
|
347
343
|
}
|
|
348
344
|
static names() {
|
|
349
345
|
return {
|
|
350
|
-
|
|
346
|
+
hotelId: 'HotelId',
|
|
347
|
+
musicType: 'MusicType',
|
|
348
|
+
roomsShrink: 'Rooms',
|
|
349
|
+
scheduleInfoShrink: 'ScheduleInfo',
|
|
351
350
|
};
|
|
352
351
|
}
|
|
353
352
|
static types() {
|
|
354
353
|
return {
|
|
355
|
-
|
|
354
|
+
hotelId: 'string',
|
|
355
|
+
musicType: 'string',
|
|
356
|
+
roomsShrink: 'string',
|
|
357
|
+
scheduleInfoShrink: 'string',
|
|
356
358
|
};
|
|
357
359
|
}
|
|
358
360
|
}
|
|
359
|
-
exports.
|
|
360
|
-
class
|
|
361
|
+
exports.CreateHotelAlarmShrinkRequest = CreateHotelAlarmShrinkRequest;
|
|
362
|
+
class CreateHotelAlarmResponseBody extends $tea.Model {
|
|
361
363
|
constructor(map) {
|
|
362
364
|
super(map);
|
|
363
365
|
}
|
|
364
366
|
static names() {
|
|
365
367
|
return {
|
|
366
|
-
|
|
368
|
+
extentions: 'Extentions',
|
|
367
369
|
message: 'Message',
|
|
368
370
|
requestId: 'RequestId',
|
|
369
371
|
result: 'Result',
|
|
372
|
+
statusCode: 'StatusCode',
|
|
370
373
|
};
|
|
371
374
|
}
|
|
372
375
|
static types() {
|
|
373
376
|
return {
|
|
374
|
-
|
|
377
|
+
extentions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
375
378
|
message: 'string',
|
|
376
379
|
requestId: 'string',
|
|
377
|
-
result: { 'type': 'array', 'itemType':
|
|
380
|
+
result: { 'type': 'array', 'itemType': CreateHotelAlarmResponseBodyResult },
|
|
381
|
+
statusCode: 'number',
|
|
378
382
|
};
|
|
379
383
|
}
|
|
380
384
|
}
|
|
381
|
-
exports.
|
|
382
|
-
class
|
|
385
|
+
exports.CreateHotelAlarmResponseBody = CreateHotelAlarmResponseBody;
|
|
386
|
+
class CreateHotelAlarmResponse extends $tea.Model {
|
|
383
387
|
constructor(map) {
|
|
384
388
|
super(map);
|
|
385
389
|
}
|
|
@@ -394,12 +398,12 @@ class GetHotelSampleUtterancesResponse extends $tea.Model {
|
|
|
394
398
|
return {
|
|
395
399
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
396
400
|
statusCode: 'number',
|
|
397
|
-
body:
|
|
401
|
+
body: CreateHotelAlarmResponseBody,
|
|
398
402
|
};
|
|
399
403
|
}
|
|
400
404
|
}
|
|
401
|
-
exports.
|
|
402
|
-
class
|
|
405
|
+
exports.CreateHotelAlarmResponse = CreateHotelAlarmResponse;
|
|
406
|
+
class DeleteHotelAlarmHeaders extends $tea.Model {
|
|
403
407
|
constructor(map) {
|
|
404
408
|
super(map);
|
|
405
409
|
}
|
|
@@ -418,62 +422,68 @@ class GetHotelScreenSaverHeaders extends $tea.Model {
|
|
|
418
422
|
};
|
|
419
423
|
}
|
|
420
424
|
}
|
|
421
|
-
exports.
|
|
422
|
-
class
|
|
425
|
+
exports.DeleteHotelAlarmHeaders = DeleteHotelAlarmHeaders;
|
|
426
|
+
class DeleteHotelAlarmRequest extends $tea.Model {
|
|
423
427
|
constructor(map) {
|
|
424
428
|
super(map);
|
|
425
429
|
}
|
|
426
430
|
static names() {
|
|
427
431
|
return {
|
|
428
|
-
|
|
432
|
+
alarms: 'Alarms',
|
|
433
|
+
hotelId: 'HotelId',
|
|
429
434
|
};
|
|
430
435
|
}
|
|
431
436
|
static types() {
|
|
432
437
|
return {
|
|
433
|
-
|
|
438
|
+
alarms: { 'type': 'array', 'itemType': DeleteHotelAlarmRequestAlarms },
|
|
439
|
+
hotelId: 'string',
|
|
434
440
|
};
|
|
435
441
|
}
|
|
436
442
|
}
|
|
437
|
-
exports.
|
|
438
|
-
class
|
|
443
|
+
exports.DeleteHotelAlarmRequest = DeleteHotelAlarmRequest;
|
|
444
|
+
class DeleteHotelAlarmShrinkRequest extends $tea.Model {
|
|
439
445
|
constructor(map) {
|
|
440
446
|
super(map);
|
|
441
447
|
}
|
|
442
448
|
static names() {
|
|
443
449
|
return {
|
|
444
|
-
|
|
450
|
+
alarmsShrink: 'Alarms',
|
|
451
|
+
hotelId: 'HotelId',
|
|
445
452
|
};
|
|
446
453
|
}
|
|
447
454
|
static types() {
|
|
448
455
|
return {
|
|
449
|
-
|
|
456
|
+
alarmsShrink: 'string',
|
|
457
|
+
hotelId: 'string',
|
|
450
458
|
};
|
|
451
459
|
}
|
|
452
460
|
}
|
|
453
|
-
exports.
|
|
454
|
-
class
|
|
461
|
+
exports.DeleteHotelAlarmShrinkRequest = DeleteHotelAlarmShrinkRequest;
|
|
462
|
+
class DeleteHotelAlarmResponseBody extends $tea.Model {
|
|
455
463
|
constructor(map) {
|
|
456
464
|
super(map);
|
|
457
465
|
}
|
|
458
466
|
static names() {
|
|
459
467
|
return {
|
|
460
|
-
|
|
468
|
+
extentions: 'Extentions',
|
|
461
469
|
message: 'Message',
|
|
462
470
|
requestId: 'RequestId',
|
|
463
471
|
result: 'Result',
|
|
472
|
+
statusCode: 'StatusCode',
|
|
464
473
|
};
|
|
465
474
|
}
|
|
466
475
|
static types() {
|
|
467
476
|
return {
|
|
468
|
-
|
|
477
|
+
extentions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
469
478
|
message: 'string',
|
|
470
479
|
requestId: 'string',
|
|
471
|
-
result:
|
|
480
|
+
result: 'number',
|
|
481
|
+
statusCode: 'number',
|
|
472
482
|
};
|
|
473
483
|
}
|
|
474
484
|
}
|
|
475
|
-
exports.
|
|
476
|
-
class
|
|
485
|
+
exports.DeleteHotelAlarmResponseBody = DeleteHotelAlarmResponseBody;
|
|
486
|
+
class DeleteHotelAlarmResponse extends $tea.Model {
|
|
477
487
|
constructor(map) {
|
|
478
488
|
super(map);
|
|
479
489
|
}
|
|
@@ -488,12 +498,12 @@ class GetHotelScreenSaverResponse extends $tea.Model {
|
|
|
488
498
|
return {
|
|
489
499
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
490
500
|
statusCode: 'number',
|
|
491
|
-
body:
|
|
501
|
+
body: DeleteHotelAlarmResponseBody,
|
|
492
502
|
};
|
|
493
503
|
}
|
|
494
504
|
}
|
|
495
|
-
exports.
|
|
496
|
-
class
|
|
505
|
+
exports.DeleteHotelAlarmResponse = DeleteHotelAlarmResponse;
|
|
506
|
+
class DeviceControlHeaders extends $tea.Model {
|
|
497
507
|
constructor(map) {
|
|
498
508
|
super(map);
|
|
499
509
|
}
|
|
@@ -512,40 +522,44 @@ class ListHotelControlDeviceHeaders extends $tea.Model {
|
|
|
512
522
|
};
|
|
513
523
|
}
|
|
514
524
|
}
|
|
515
|
-
exports.
|
|
516
|
-
class
|
|
525
|
+
exports.DeviceControlHeaders = DeviceControlHeaders;
|
|
526
|
+
class DeviceControlRequest extends $tea.Model {
|
|
517
527
|
constructor(map) {
|
|
518
528
|
super(map);
|
|
519
529
|
}
|
|
520
530
|
static names() {
|
|
521
531
|
return {
|
|
532
|
+
payload: 'Payload',
|
|
522
533
|
userInfo: 'UserInfo',
|
|
523
534
|
};
|
|
524
535
|
}
|
|
525
536
|
static types() {
|
|
526
537
|
return {
|
|
527
|
-
|
|
538
|
+
payload: DeviceControlRequestPayload,
|
|
539
|
+
userInfo: DeviceControlRequestUserInfo,
|
|
528
540
|
};
|
|
529
541
|
}
|
|
530
542
|
}
|
|
531
|
-
exports.
|
|
532
|
-
class
|
|
543
|
+
exports.DeviceControlRequest = DeviceControlRequest;
|
|
544
|
+
class DeviceControlShrinkRequest extends $tea.Model {
|
|
533
545
|
constructor(map) {
|
|
534
546
|
super(map);
|
|
535
547
|
}
|
|
536
548
|
static names() {
|
|
537
549
|
return {
|
|
550
|
+
payloadShrink: 'Payload',
|
|
538
551
|
userInfoShrink: 'UserInfo',
|
|
539
552
|
};
|
|
540
553
|
}
|
|
541
554
|
static types() {
|
|
542
555
|
return {
|
|
556
|
+
payloadShrink: 'string',
|
|
543
557
|
userInfoShrink: 'string',
|
|
544
558
|
};
|
|
545
559
|
}
|
|
546
560
|
}
|
|
547
|
-
exports.
|
|
548
|
-
class
|
|
561
|
+
exports.DeviceControlShrinkRequest = DeviceControlShrinkRequest;
|
|
562
|
+
class DeviceControlResponseBody extends $tea.Model {
|
|
549
563
|
constructor(map) {
|
|
550
564
|
super(map);
|
|
551
565
|
}
|
|
@@ -562,12 +576,12 @@ class ListHotelControlDeviceResponseBody extends $tea.Model {
|
|
|
562
576
|
code: 'number',
|
|
563
577
|
message: 'string',
|
|
564
578
|
requestId: 'string',
|
|
565
|
-
result:
|
|
579
|
+
result: DeviceControlResponseBodyResult,
|
|
566
580
|
};
|
|
567
581
|
}
|
|
568
582
|
}
|
|
569
|
-
exports.
|
|
570
|
-
class
|
|
583
|
+
exports.DeviceControlResponseBody = DeviceControlResponseBody;
|
|
584
|
+
class DeviceControlResponse extends $tea.Model {
|
|
571
585
|
constructor(map) {
|
|
572
586
|
super(map);
|
|
573
587
|
}
|
|
@@ -582,12 +596,12 @@ class ListHotelControlDeviceResponse extends $tea.Model {
|
|
|
582
596
|
return {
|
|
583
597
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
584
598
|
statusCode: 'number',
|
|
585
|
-
body:
|
|
599
|
+
body: DeviceControlResponseBody,
|
|
586
600
|
};
|
|
587
601
|
}
|
|
588
602
|
}
|
|
589
|
-
exports.
|
|
590
|
-
class
|
|
603
|
+
exports.DeviceControlResponse = DeviceControlResponse;
|
|
604
|
+
class GetHotelHomeBackImageAndModesHeaders extends $tea.Model {
|
|
591
605
|
constructor(map) {
|
|
592
606
|
super(map);
|
|
593
607
|
}
|
|
@@ -606,44 +620,40 @@ class ListHotelOrderHeaders extends $tea.Model {
|
|
|
606
620
|
};
|
|
607
621
|
}
|
|
608
622
|
}
|
|
609
|
-
exports.
|
|
610
|
-
class
|
|
623
|
+
exports.GetHotelHomeBackImageAndModesHeaders = GetHotelHomeBackImageAndModesHeaders;
|
|
624
|
+
class GetHotelHomeBackImageAndModesRequest extends $tea.Model {
|
|
611
625
|
constructor(map) {
|
|
612
626
|
super(map);
|
|
613
627
|
}
|
|
614
628
|
static names() {
|
|
615
629
|
return {
|
|
616
|
-
payload: 'Payload',
|
|
617
630
|
userInfo: 'UserInfo',
|
|
618
631
|
};
|
|
619
632
|
}
|
|
620
633
|
static types() {
|
|
621
634
|
return {
|
|
622
|
-
|
|
623
|
-
userInfo: ListHotelOrderRequestUserInfo,
|
|
635
|
+
userInfo: GetHotelHomeBackImageAndModesRequestUserInfo,
|
|
624
636
|
};
|
|
625
637
|
}
|
|
626
638
|
}
|
|
627
|
-
exports.
|
|
628
|
-
class
|
|
639
|
+
exports.GetHotelHomeBackImageAndModesRequest = GetHotelHomeBackImageAndModesRequest;
|
|
640
|
+
class GetHotelHomeBackImageAndModesShrinkRequest extends $tea.Model {
|
|
629
641
|
constructor(map) {
|
|
630
642
|
super(map);
|
|
631
643
|
}
|
|
632
644
|
static names() {
|
|
633
645
|
return {
|
|
634
|
-
payloadShrink: 'Payload',
|
|
635
646
|
userInfoShrink: 'UserInfo',
|
|
636
647
|
};
|
|
637
648
|
}
|
|
638
649
|
static types() {
|
|
639
650
|
return {
|
|
640
|
-
payloadShrink: 'string',
|
|
641
651
|
userInfoShrink: 'string',
|
|
642
652
|
};
|
|
643
653
|
}
|
|
644
654
|
}
|
|
645
|
-
exports.
|
|
646
|
-
class
|
|
655
|
+
exports.GetHotelHomeBackImageAndModesShrinkRequest = GetHotelHomeBackImageAndModesShrinkRequest;
|
|
656
|
+
class GetHotelHomeBackImageAndModesResponseBody extends $tea.Model {
|
|
647
657
|
constructor(map) {
|
|
648
658
|
super(map);
|
|
649
659
|
}
|
|
@@ -651,7 +661,6 @@ class ListHotelOrderResponseBody extends $tea.Model {
|
|
|
651
661
|
return {
|
|
652
662
|
code: 'Code',
|
|
653
663
|
message: 'Message',
|
|
654
|
-
page: 'Page',
|
|
655
664
|
requestId: 'RequestId',
|
|
656
665
|
result: 'Result',
|
|
657
666
|
};
|
|
@@ -660,14 +669,13 @@ class ListHotelOrderResponseBody extends $tea.Model {
|
|
|
660
669
|
return {
|
|
661
670
|
code: 'number',
|
|
662
671
|
message: 'string',
|
|
663
|
-
page: ListHotelOrderResponseBodyPage,
|
|
664
672
|
requestId: 'string',
|
|
665
|
-
result:
|
|
673
|
+
result: GetHotelHomeBackImageAndModesResponseBodyResult,
|
|
666
674
|
};
|
|
667
675
|
}
|
|
668
676
|
}
|
|
669
|
-
exports.
|
|
670
|
-
class
|
|
677
|
+
exports.GetHotelHomeBackImageAndModesResponseBody = GetHotelHomeBackImageAndModesResponseBody;
|
|
678
|
+
class GetHotelHomeBackImageAndModesResponse extends $tea.Model {
|
|
671
679
|
constructor(map) {
|
|
672
680
|
super(map);
|
|
673
681
|
}
|
|
@@ -682,12 +690,12 @@ class ListHotelOrderResponse extends $tea.Model {
|
|
|
682
690
|
return {
|
|
683
691
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
684
692
|
statusCode: 'number',
|
|
685
|
-
body:
|
|
693
|
+
body: GetHotelHomeBackImageAndModesResponseBody,
|
|
686
694
|
};
|
|
687
695
|
}
|
|
688
696
|
}
|
|
689
|
-
exports.
|
|
690
|
-
class
|
|
697
|
+
exports.GetHotelHomeBackImageAndModesResponse = GetHotelHomeBackImageAndModesResponse;
|
|
698
|
+
class GetHotelNoticeHeaders extends $tea.Model {
|
|
691
699
|
constructor(map) {
|
|
692
700
|
super(map);
|
|
693
701
|
}
|
|
@@ -706,44 +714,40 @@ class ListHotelSceneItemHeaders extends $tea.Model {
|
|
|
706
714
|
};
|
|
707
715
|
}
|
|
708
716
|
}
|
|
709
|
-
exports.
|
|
710
|
-
class
|
|
717
|
+
exports.GetHotelNoticeHeaders = GetHotelNoticeHeaders;
|
|
718
|
+
class GetHotelNoticeRequest extends $tea.Model {
|
|
711
719
|
constructor(map) {
|
|
712
720
|
super(map);
|
|
713
721
|
}
|
|
714
722
|
static names() {
|
|
715
723
|
return {
|
|
716
|
-
payload: 'Payload',
|
|
717
724
|
userInfo: 'UserInfo',
|
|
718
725
|
};
|
|
719
726
|
}
|
|
720
727
|
static types() {
|
|
721
728
|
return {
|
|
722
|
-
|
|
723
|
-
userInfo: ListHotelSceneItemRequestUserInfo,
|
|
729
|
+
userInfo: GetHotelNoticeRequestUserInfo,
|
|
724
730
|
};
|
|
725
731
|
}
|
|
726
732
|
}
|
|
727
|
-
exports.
|
|
728
|
-
class
|
|
733
|
+
exports.GetHotelNoticeRequest = GetHotelNoticeRequest;
|
|
734
|
+
class GetHotelNoticeShrinkRequest extends $tea.Model {
|
|
729
735
|
constructor(map) {
|
|
730
736
|
super(map);
|
|
731
737
|
}
|
|
732
738
|
static names() {
|
|
733
739
|
return {
|
|
734
|
-
payloadShrink: 'Payload',
|
|
735
740
|
userInfoShrink: 'UserInfo',
|
|
736
741
|
};
|
|
737
742
|
}
|
|
738
743
|
static types() {
|
|
739
744
|
return {
|
|
740
|
-
payloadShrink: 'string',
|
|
741
745
|
userInfoShrink: 'string',
|
|
742
746
|
};
|
|
743
747
|
}
|
|
744
748
|
}
|
|
745
|
-
exports.
|
|
746
|
-
class
|
|
749
|
+
exports.GetHotelNoticeShrinkRequest = GetHotelNoticeShrinkRequest;
|
|
750
|
+
class GetHotelNoticeResponseBody extends $tea.Model {
|
|
747
751
|
constructor(map) {
|
|
748
752
|
super(map);
|
|
749
753
|
}
|
|
@@ -751,7 +755,6 @@ class ListHotelSceneItemResponseBody extends $tea.Model {
|
|
|
751
755
|
return {
|
|
752
756
|
code: 'Code',
|
|
753
757
|
message: 'Message',
|
|
754
|
-
page: 'Page',
|
|
755
758
|
requestId: 'RequestId',
|
|
756
759
|
result: 'Result',
|
|
757
760
|
};
|
|
@@ -760,14 +763,13 @@ class ListHotelSceneItemResponseBody extends $tea.Model {
|
|
|
760
763
|
return {
|
|
761
764
|
code: 'number',
|
|
762
765
|
message: 'string',
|
|
763
|
-
page: ListHotelSceneItemResponseBodyPage,
|
|
764
766
|
requestId: 'string',
|
|
765
|
-
result:
|
|
767
|
+
result: 'string',
|
|
766
768
|
};
|
|
767
769
|
}
|
|
768
770
|
}
|
|
769
|
-
exports.
|
|
770
|
-
class
|
|
771
|
+
exports.GetHotelNoticeResponseBody = GetHotelNoticeResponseBody;
|
|
772
|
+
class GetHotelNoticeResponse extends $tea.Model {
|
|
771
773
|
constructor(map) {
|
|
772
774
|
super(map);
|
|
773
775
|
}
|
|
@@ -782,12 +784,12 @@ class ListHotelSceneItemResponse extends $tea.Model {
|
|
|
782
784
|
return {
|
|
783
785
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
784
786
|
statusCode: 'number',
|
|
785
|
-
body:
|
|
787
|
+
body: GetHotelNoticeResponseBody,
|
|
786
788
|
};
|
|
787
789
|
}
|
|
788
790
|
}
|
|
789
|
-
exports.
|
|
790
|
-
class
|
|
791
|
+
exports.GetHotelNoticeResponse = GetHotelNoticeResponse;
|
|
792
|
+
class GetHotelOrderDetailHeaders extends $tea.Model {
|
|
791
793
|
constructor(map) {
|
|
792
794
|
super(map);
|
|
793
795
|
}
|
|
@@ -806,8 +808,8 @@ class ListHotelServiceCategoryHeaders extends $tea.Model {
|
|
|
806
808
|
};
|
|
807
809
|
}
|
|
808
810
|
}
|
|
809
|
-
exports.
|
|
810
|
-
class
|
|
811
|
+
exports.GetHotelOrderDetailHeaders = GetHotelOrderDetailHeaders;
|
|
812
|
+
class GetHotelOrderDetailRequest extends $tea.Model {
|
|
811
813
|
constructor(map) {
|
|
812
814
|
super(map);
|
|
813
815
|
}
|
|
@@ -818,12 +820,12 @@ class ListHotelServiceCategoryRequest extends $tea.Model {
|
|
|
818
820
|
}
|
|
819
821
|
static types() {
|
|
820
822
|
return {
|
|
821
|
-
payload:
|
|
823
|
+
payload: GetHotelOrderDetailRequestPayload,
|
|
822
824
|
};
|
|
823
825
|
}
|
|
824
826
|
}
|
|
825
|
-
exports.
|
|
826
|
-
class
|
|
827
|
+
exports.GetHotelOrderDetailRequest = GetHotelOrderDetailRequest;
|
|
828
|
+
class GetHotelOrderDetailShrinkRequest extends $tea.Model {
|
|
827
829
|
constructor(map) {
|
|
828
830
|
super(map);
|
|
829
831
|
}
|
|
@@ -838,8 +840,8 @@ class ListHotelServiceCategoryShrinkRequest extends $tea.Model {
|
|
|
838
840
|
};
|
|
839
841
|
}
|
|
840
842
|
}
|
|
841
|
-
exports.
|
|
842
|
-
class
|
|
843
|
+
exports.GetHotelOrderDetailShrinkRequest = GetHotelOrderDetailShrinkRequest;
|
|
844
|
+
class GetHotelOrderDetailResponseBody extends $tea.Model {
|
|
843
845
|
constructor(map) {
|
|
844
846
|
super(map);
|
|
845
847
|
}
|
|
@@ -856,12 +858,12 @@ class ListHotelServiceCategoryResponseBody extends $tea.Model {
|
|
|
856
858
|
code: 'number',
|
|
857
859
|
message: 'string',
|
|
858
860
|
requestId: 'string',
|
|
859
|
-
result: { 'type': 'array', 'itemType':
|
|
861
|
+
result: { 'type': 'array', 'itemType': GetHotelOrderDetailResponseBodyResult },
|
|
860
862
|
};
|
|
861
863
|
}
|
|
862
864
|
}
|
|
863
|
-
exports.
|
|
864
|
-
class
|
|
865
|
+
exports.GetHotelOrderDetailResponseBody = GetHotelOrderDetailResponseBody;
|
|
866
|
+
class GetHotelOrderDetailResponse extends $tea.Model {
|
|
865
867
|
constructor(map) {
|
|
866
868
|
super(map);
|
|
867
869
|
}
|
|
@@ -876,12 +878,12 @@ class ListHotelServiceCategoryResponse extends $tea.Model {
|
|
|
876
878
|
return {
|
|
877
879
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
878
880
|
statusCode: 'number',
|
|
879
|
-
body:
|
|
881
|
+
body: GetHotelOrderDetailResponseBody,
|
|
880
882
|
};
|
|
881
883
|
}
|
|
882
884
|
}
|
|
883
|
-
exports.
|
|
884
|
-
class
|
|
885
|
+
exports.GetHotelOrderDetailResponse = GetHotelOrderDetailResponse;
|
|
886
|
+
class GetHotelRoomDeviceHeaders extends $tea.Model {
|
|
885
887
|
constructor(map) {
|
|
886
888
|
super(map);
|
|
887
889
|
}
|
|
@@ -900,66 +902,48 @@ class QueryDeviceStatusHeaders extends $tea.Model {
|
|
|
900
902
|
};
|
|
901
903
|
}
|
|
902
904
|
}
|
|
903
|
-
exports.
|
|
904
|
-
class
|
|
905
|
+
exports.GetHotelRoomDeviceHeaders = GetHotelRoomDeviceHeaders;
|
|
906
|
+
class GetHotelRoomDeviceRequest extends $tea.Model {
|
|
905
907
|
constructor(map) {
|
|
906
908
|
super(map);
|
|
907
909
|
}
|
|
908
910
|
static names() {
|
|
909
911
|
return {
|
|
910
|
-
|
|
911
|
-
|
|
912
|
+
hotelId: 'HotelId',
|
|
913
|
+
roomNo: 'RoomNo',
|
|
912
914
|
};
|
|
913
915
|
}
|
|
914
916
|
static types() {
|
|
915
917
|
return {
|
|
916
|
-
|
|
917
|
-
|
|
918
|
+
hotelId: 'string',
|
|
919
|
+
roomNo: 'string',
|
|
918
920
|
};
|
|
919
921
|
}
|
|
920
922
|
}
|
|
921
|
-
exports.
|
|
922
|
-
class
|
|
923
|
+
exports.GetHotelRoomDeviceRequest = GetHotelRoomDeviceRequest;
|
|
924
|
+
class GetHotelRoomDeviceResponseBody extends $tea.Model {
|
|
923
925
|
constructor(map) {
|
|
924
926
|
super(map);
|
|
925
927
|
}
|
|
926
928
|
static names() {
|
|
927
929
|
return {
|
|
928
|
-
|
|
929
|
-
|
|
930
|
+
code: 'Code',
|
|
931
|
+
message: 'Message',
|
|
932
|
+
requestId: 'RequestId',
|
|
933
|
+
result: 'Result',
|
|
930
934
|
};
|
|
931
935
|
}
|
|
932
936
|
static types() {
|
|
933
937
|
return {
|
|
934
|
-
|
|
935
|
-
|
|
938
|
+
code: 'number',
|
|
939
|
+
message: 'string',
|
|
940
|
+
requestId: 'string',
|
|
941
|
+
result: { 'type': 'array', 'itemType': GetHotelRoomDeviceResponseBodyResult },
|
|
936
942
|
};
|
|
937
943
|
}
|
|
938
944
|
}
|
|
939
|
-
exports.
|
|
940
|
-
class
|
|
941
|
-
constructor(map) {
|
|
942
|
-
super(map);
|
|
943
|
-
}
|
|
944
|
-
static names() {
|
|
945
|
-
return {
|
|
946
|
-
code: 'Code',
|
|
947
|
-
message: 'Message',
|
|
948
|
-
requestId: 'RequestId',
|
|
949
|
-
result: 'Result',
|
|
950
|
-
};
|
|
951
|
-
}
|
|
952
|
-
static types() {
|
|
953
|
-
return {
|
|
954
|
-
code: 'number',
|
|
955
|
-
message: 'string',
|
|
956
|
-
requestId: 'string',
|
|
957
|
-
result: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
958
|
-
};
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
exports.QueryDeviceStatusResponseBody = QueryDeviceStatusResponseBody;
|
|
962
|
-
class QueryDeviceStatusResponse extends $tea.Model {
|
|
945
|
+
exports.GetHotelRoomDeviceResponseBody = GetHotelRoomDeviceResponseBody;
|
|
946
|
+
class GetHotelRoomDeviceResponse extends $tea.Model {
|
|
963
947
|
constructor(map) {
|
|
964
948
|
super(map);
|
|
965
949
|
}
|
|
@@ -974,12 +958,12 @@ class QueryDeviceStatusResponse extends $tea.Model {
|
|
|
974
958
|
return {
|
|
975
959
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
976
960
|
statusCode: 'number',
|
|
977
|
-
body:
|
|
961
|
+
body: GetHotelRoomDeviceResponseBody,
|
|
978
962
|
};
|
|
979
963
|
}
|
|
980
964
|
}
|
|
981
|
-
exports.
|
|
982
|
-
class
|
|
965
|
+
exports.GetHotelRoomDeviceResponse = GetHotelRoomDeviceResponse;
|
|
966
|
+
class GetHotelSampleUtterancesHeaders extends $tea.Model {
|
|
983
967
|
constructor(map) {
|
|
984
968
|
super(map);
|
|
985
969
|
}
|
|
@@ -998,8 +982,8 @@ class QueryHotelProductHeaders extends $tea.Model {
|
|
|
998
982
|
};
|
|
999
983
|
}
|
|
1000
984
|
}
|
|
1001
|
-
exports.
|
|
1002
|
-
class
|
|
985
|
+
exports.GetHotelSampleUtterancesHeaders = GetHotelSampleUtterancesHeaders;
|
|
986
|
+
class GetHotelSampleUtterancesRequest extends $tea.Model {
|
|
1003
987
|
constructor(map) {
|
|
1004
988
|
super(map);
|
|
1005
989
|
}
|
|
@@ -1010,12 +994,12 @@ class QueryHotelProductRequest extends $tea.Model {
|
|
|
1010
994
|
}
|
|
1011
995
|
static types() {
|
|
1012
996
|
return {
|
|
1013
|
-
userInfo:
|
|
997
|
+
userInfo: GetHotelSampleUtterancesRequestUserInfo,
|
|
1014
998
|
};
|
|
1015
999
|
}
|
|
1016
1000
|
}
|
|
1017
|
-
exports.
|
|
1018
|
-
class
|
|
1001
|
+
exports.GetHotelSampleUtterancesRequest = GetHotelSampleUtterancesRequest;
|
|
1002
|
+
class GetHotelSampleUtterancesShrinkRequest extends $tea.Model {
|
|
1019
1003
|
constructor(map) {
|
|
1020
1004
|
super(map);
|
|
1021
1005
|
}
|
|
@@ -1030,8 +1014,8 @@ class QueryHotelProductShrinkRequest extends $tea.Model {
|
|
|
1030
1014
|
};
|
|
1031
1015
|
}
|
|
1032
1016
|
}
|
|
1033
|
-
exports.
|
|
1034
|
-
class
|
|
1017
|
+
exports.GetHotelSampleUtterancesShrinkRequest = GetHotelSampleUtterancesShrinkRequest;
|
|
1018
|
+
class GetHotelSampleUtterancesResponseBody extends $tea.Model {
|
|
1035
1019
|
constructor(map) {
|
|
1036
1020
|
super(map);
|
|
1037
1021
|
}
|
|
@@ -1048,12 +1032,12 @@ class QueryHotelProductResponseBody extends $tea.Model {
|
|
|
1048
1032
|
code: 'number',
|
|
1049
1033
|
message: 'string',
|
|
1050
1034
|
requestId: 'string',
|
|
1051
|
-
result:
|
|
1035
|
+
result: { 'type': 'array', 'itemType': 'string' },
|
|
1052
1036
|
};
|
|
1053
1037
|
}
|
|
1054
1038
|
}
|
|
1055
|
-
exports.
|
|
1056
|
-
class
|
|
1039
|
+
exports.GetHotelSampleUtterancesResponseBody = GetHotelSampleUtterancesResponseBody;
|
|
1040
|
+
class GetHotelSampleUtterancesResponse extends $tea.Model {
|
|
1057
1041
|
constructor(map) {
|
|
1058
1042
|
super(map);
|
|
1059
1043
|
}
|
|
@@ -1068,12 +1052,12 @@ class QueryHotelProductResponse extends $tea.Model {
|
|
|
1068
1052
|
return {
|
|
1069
1053
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1070
1054
|
statusCode: 'number',
|
|
1071
|
-
body:
|
|
1055
|
+
body: GetHotelSampleUtterancesResponseBody,
|
|
1072
1056
|
};
|
|
1073
1057
|
}
|
|
1074
1058
|
}
|
|
1075
|
-
exports.
|
|
1076
|
-
class
|
|
1059
|
+
exports.GetHotelSampleUtterancesResponse = GetHotelSampleUtterancesResponse;
|
|
1060
|
+
class GetHotelScreenSaverHeaders extends $tea.Model {
|
|
1077
1061
|
constructor(map) {
|
|
1078
1062
|
super(map);
|
|
1079
1063
|
}
|
|
@@ -1092,44 +1076,40 @@ class RoomCheckOutHeaders extends $tea.Model {
|
|
|
1092
1076
|
};
|
|
1093
1077
|
}
|
|
1094
1078
|
}
|
|
1095
|
-
exports.
|
|
1096
|
-
class
|
|
1079
|
+
exports.GetHotelScreenSaverHeaders = GetHotelScreenSaverHeaders;
|
|
1080
|
+
class GetHotelScreenSaverRequest extends $tea.Model {
|
|
1097
1081
|
constructor(map) {
|
|
1098
1082
|
super(map);
|
|
1099
1083
|
}
|
|
1100
1084
|
static names() {
|
|
1101
1085
|
return {
|
|
1102
|
-
deviceInfo: 'DeviceInfo',
|
|
1103
1086
|
userInfo: 'UserInfo',
|
|
1104
1087
|
};
|
|
1105
1088
|
}
|
|
1106
1089
|
static types() {
|
|
1107
1090
|
return {
|
|
1108
|
-
|
|
1109
|
-
userInfo: RoomCheckOutRequestUserInfo,
|
|
1091
|
+
userInfo: GetHotelScreenSaverRequestUserInfo,
|
|
1110
1092
|
};
|
|
1111
1093
|
}
|
|
1112
1094
|
}
|
|
1113
|
-
exports.
|
|
1114
|
-
class
|
|
1095
|
+
exports.GetHotelScreenSaverRequest = GetHotelScreenSaverRequest;
|
|
1096
|
+
class GetHotelScreenSaverShrinkRequest extends $tea.Model {
|
|
1115
1097
|
constructor(map) {
|
|
1116
1098
|
super(map);
|
|
1117
1099
|
}
|
|
1118
1100
|
static names() {
|
|
1119
1101
|
return {
|
|
1120
|
-
deviceInfoShrink: 'DeviceInfo',
|
|
1121
1102
|
userInfoShrink: 'UserInfo',
|
|
1122
1103
|
};
|
|
1123
1104
|
}
|
|
1124
1105
|
static types() {
|
|
1125
1106
|
return {
|
|
1126
|
-
deviceInfoShrink: 'string',
|
|
1127
1107
|
userInfoShrink: 'string',
|
|
1128
1108
|
};
|
|
1129
1109
|
}
|
|
1130
1110
|
}
|
|
1131
|
-
exports.
|
|
1132
|
-
class
|
|
1111
|
+
exports.GetHotelScreenSaverShrinkRequest = GetHotelScreenSaverShrinkRequest;
|
|
1112
|
+
class GetHotelScreenSaverResponseBody extends $tea.Model {
|
|
1133
1113
|
constructor(map) {
|
|
1134
1114
|
super(map);
|
|
1135
1115
|
}
|
|
@@ -1146,12 +1126,12 @@ class RoomCheckOutResponseBody extends $tea.Model {
|
|
|
1146
1126
|
code: 'number',
|
|
1147
1127
|
message: 'string',
|
|
1148
1128
|
requestId: 'string',
|
|
1149
|
-
result:
|
|
1129
|
+
result: GetHotelScreenSaverResponseBodyResult,
|
|
1150
1130
|
};
|
|
1151
1131
|
}
|
|
1152
1132
|
}
|
|
1153
|
-
exports.
|
|
1154
|
-
class
|
|
1133
|
+
exports.GetHotelScreenSaverResponseBody = GetHotelScreenSaverResponseBody;
|
|
1134
|
+
class GetHotelScreenSaverResponse extends $tea.Model {
|
|
1155
1135
|
constructor(map) {
|
|
1156
1136
|
super(map);
|
|
1157
1137
|
}
|
|
@@ -1166,12 +1146,12 @@ class RoomCheckOutResponse extends $tea.Model {
|
|
|
1166
1146
|
return {
|
|
1167
1147
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1168
1148
|
statusCode: 'number',
|
|
1169
|
-
body:
|
|
1149
|
+
body: GetHotelScreenSaverResponseBody,
|
|
1170
1150
|
};
|
|
1171
1151
|
}
|
|
1172
1152
|
}
|
|
1173
|
-
exports.
|
|
1174
|
-
class
|
|
1153
|
+
exports.GetHotelScreenSaverResponse = GetHotelScreenSaverResponse;
|
|
1154
|
+
class ImportRoomControlDevicesHeaders extends $tea.Model {
|
|
1175
1155
|
constructor(map) {
|
|
1176
1156
|
super(map);
|
|
1177
1157
|
}
|
|
@@ -1190,66 +1170,72 @@ class SubmitHotelOrderHeaders extends $tea.Model {
|
|
|
1190
1170
|
};
|
|
1191
1171
|
}
|
|
1192
1172
|
}
|
|
1193
|
-
exports.
|
|
1194
|
-
class
|
|
1173
|
+
exports.ImportRoomControlDevicesHeaders = ImportRoomControlDevicesHeaders;
|
|
1174
|
+
class ImportRoomControlDevicesRequest extends $tea.Model {
|
|
1195
1175
|
constructor(map) {
|
|
1196
1176
|
super(map);
|
|
1197
1177
|
}
|
|
1198
1178
|
static names() {
|
|
1199
1179
|
return {
|
|
1200
|
-
|
|
1201
|
-
|
|
1180
|
+
hotelId: 'HotelId',
|
|
1181
|
+
locationDevices: 'LocationDevices',
|
|
1182
|
+
roomNo: 'RoomNo',
|
|
1202
1183
|
};
|
|
1203
1184
|
}
|
|
1204
1185
|
static types() {
|
|
1205
1186
|
return {
|
|
1206
|
-
|
|
1207
|
-
|
|
1187
|
+
hotelId: 'string',
|
|
1188
|
+
locationDevices: { 'type': 'array', 'itemType': ImportRoomControlDevicesRequestLocationDevices },
|
|
1189
|
+
roomNo: 'string',
|
|
1208
1190
|
};
|
|
1209
1191
|
}
|
|
1210
1192
|
}
|
|
1211
|
-
exports.
|
|
1212
|
-
class
|
|
1193
|
+
exports.ImportRoomControlDevicesRequest = ImportRoomControlDevicesRequest;
|
|
1194
|
+
class ImportRoomControlDevicesShrinkRequest extends $tea.Model {
|
|
1213
1195
|
constructor(map) {
|
|
1214
1196
|
super(map);
|
|
1215
1197
|
}
|
|
1216
1198
|
static names() {
|
|
1217
1199
|
return {
|
|
1218
|
-
|
|
1219
|
-
|
|
1200
|
+
hotelId: 'HotelId',
|
|
1201
|
+
locationDevicesShrink: 'LocationDevices',
|
|
1202
|
+
roomNo: 'RoomNo',
|
|
1220
1203
|
};
|
|
1221
1204
|
}
|
|
1222
1205
|
static types() {
|
|
1223
1206
|
return {
|
|
1224
|
-
|
|
1225
|
-
|
|
1207
|
+
hotelId: 'string',
|
|
1208
|
+
locationDevicesShrink: 'string',
|
|
1209
|
+
roomNo: 'string',
|
|
1226
1210
|
};
|
|
1227
1211
|
}
|
|
1228
1212
|
}
|
|
1229
|
-
exports.
|
|
1230
|
-
class
|
|
1213
|
+
exports.ImportRoomControlDevicesShrinkRequest = ImportRoomControlDevicesShrinkRequest;
|
|
1214
|
+
class ImportRoomControlDevicesResponseBody extends $tea.Model {
|
|
1231
1215
|
constructor(map) {
|
|
1232
1216
|
super(map);
|
|
1233
1217
|
}
|
|
1234
1218
|
static names() {
|
|
1235
1219
|
return {
|
|
1236
|
-
|
|
1220
|
+
extentions: 'Extentions',
|
|
1237
1221
|
message: 'Message',
|
|
1238
1222
|
requestId: 'RequestId',
|
|
1239
1223
|
result: 'Result',
|
|
1224
|
+
statusCode: 'StatusCode',
|
|
1240
1225
|
};
|
|
1241
1226
|
}
|
|
1242
1227
|
static types() {
|
|
1243
1228
|
return {
|
|
1244
|
-
|
|
1229
|
+
extentions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1245
1230
|
message: 'string',
|
|
1246
1231
|
requestId: 'string',
|
|
1247
|
-
result: '
|
|
1232
|
+
result: 'number',
|
|
1233
|
+
statusCode: 'number',
|
|
1248
1234
|
};
|
|
1249
1235
|
}
|
|
1250
1236
|
}
|
|
1251
|
-
exports.
|
|
1252
|
-
class
|
|
1237
|
+
exports.ImportRoomControlDevicesResponseBody = ImportRoomControlDevicesResponseBody;
|
|
1238
|
+
class ImportRoomControlDevicesResponse extends $tea.Model {
|
|
1253
1239
|
constructor(map) {
|
|
1254
1240
|
super(map);
|
|
1255
1241
|
}
|
|
@@ -1264,227 +1250,1741 @@ class SubmitHotelOrderResponse extends $tea.Model {
|
|
|
1264
1250
|
return {
|
|
1265
1251
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1266
1252
|
statusCode: 'number',
|
|
1267
|
-
body:
|
|
1253
|
+
body: ImportRoomControlDevicesResponseBody,
|
|
1268
1254
|
};
|
|
1269
1255
|
}
|
|
1270
1256
|
}
|
|
1271
|
-
exports.
|
|
1272
|
-
class
|
|
1257
|
+
exports.ImportRoomControlDevicesResponse = ImportRoomControlDevicesResponse;
|
|
1258
|
+
class ListHotelAlarmHeaders extends $tea.Model {
|
|
1273
1259
|
constructor(map) {
|
|
1274
1260
|
super(map);
|
|
1275
1261
|
}
|
|
1276
1262
|
static names() {
|
|
1277
1263
|
return {
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
device: 'Device',
|
|
1282
|
-
deviceNumber: 'DeviceNumber',
|
|
1283
|
-
extendInfo: 'ExtendInfo',
|
|
1284
|
-
location: 'Location',
|
|
1285
|
-
properties: 'Properties',
|
|
1264
|
+
commonHeaders: 'commonHeaders',
|
|
1265
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1266
|
+
authorization: 'Authorization',
|
|
1286
1267
|
};
|
|
1287
1268
|
}
|
|
1288
1269
|
static types() {
|
|
1289
1270
|
return {
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
device: 'string',
|
|
1294
|
-
deviceNumber: 'string',
|
|
1295
|
-
extendInfo: 'string',
|
|
1296
|
-
location: 'string',
|
|
1297
|
-
properties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1271
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1272
|
+
xAcsAligenieAccessToken: 'string',
|
|
1273
|
+
authorization: 'string',
|
|
1298
1274
|
};
|
|
1299
1275
|
}
|
|
1300
1276
|
}
|
|
1301
|
-
exports.
|
|
1302
|
-
class
|
|
1277
|
+
exports.ListHotelAlarmHeaders = ListHotelAlarmHeaders;
|
|
1278
|
+
class ListHotelAlarmRequest extends $tea.Model {
|
|
1303
1279
|
constructor(map) {
|
|
1304
1280
|
super(map);
|
|
1305
1281
|
}
|
|
1306
1282
|
static names() {
|
|
1307
1283
|
return {
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
id: 'Id',
|
|
1311
|
-
idType: 'IdType',
|
|
1312
|
-
organizationId: 'OrganizationId',
|
|
1284
|
+
hotelId: 'HotelId',
|
|
1285
|
+
rooms: 'Rooms',
|
|
1313
1286
|
};
|
|
1314
1287
|
}
|
|
1315
1288
|
static types() {
|
|
1316
1289
|
return {
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
id: 'string',
|
|
1320
|
-
idType: 'string',
|
|
1321
|
-
organizationId: 'string',
|
|
1290
|
+
hotelId: 'string',
|
|
1291
|
+
rooms: { 'type': 'array', 'itemType': 'string' },
|
|
1322
1292
|
};
|
|
1323
1293
|
}
|
|
1324
1294
|
}
|
|
1325
|
-
exports.
|
|
1326
|
-
class
|
|
1295
|
+
exports.ListHotelAlarmRequest = ListHotelAlarmRequest;
|
|
1296
|
+
class ListHotelAlarmShrinkRequest extends $tea.Model {
|
|
1327
1297
|
constructor(map) {
|
|
1328
1298
|
super(map);
|
|
1329
1299
|
}
|
|
1330
1300
|
static names() {
|
|
1331
1301
|
return {
|
|
1332
|
-
|
|
1302
|
+
hotelId: 'HotelId',
|
|
1303
|
+
roomsShrink: 'Rooms',
|
|
1333
1304
|
};
|
|
1334
1305
|
}
|
|
1335
1306
|
static types() {
|
|
1336
1307
|
return {
|
|
1337
|
-
|
|
1308
|
+
hotelId: 'string',
|
|
1309
|
+
roomsShrink: 'string',
|
|
1338
1310
|
};
|
|
1339
1311
|
}
|
|
1340
1312
|
}
|
|
1341
|
-
exports.
|
|
1342
|
-
class
|
|
1313
|
+
exports.ListHotelAlarmShrinkRequest = ListHotelAlarmShrinkRequest;
|
|
1314
|
+
class ListHotelAlarmResponseBody extends $tea.Model {
|
|
1343
1315
|
constructor(map) {
|
|
1344
1316
|
super(map);
|
|
1345
1317
|
}
|
|
1346
1318
|
static names() {
|
|
1347
1319
|
return {
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1320
|
+
extentions: 'Extentions',
|
|
1321
|
+
message: 'Message',
|
|
1322
|
+
requestId: 'RequestId',
|
|
1323
|
+
result: 'Result',
|
|
1324
|
+
statusCode: 'StatusCode',
|
|
1353
1325
|
};
|
|
1354
1326
|
}
|
|
1355
1327
|
static types() {
|
|
1356
1328
|
return {
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1329
|
+
extentions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1330
|
+
message: 'string',
|
|
1331
|
+
requestId: 'string',
|
|
1332
|
+
result: { 'type': 'array', 'itemType': ListHotelAlarmResponseBodyResult },
|
|
1333
|
+
statusCode: 'number',
|
|
1362
1334
|
};
|
|
1363
1335
|
}
|
|
1364
1336
|
}
|
|
1365
|
-
exports.
|
|
1366
|
-
class
|
|
1337
|
+
exports.ListHotelAlarmResponseBody = ListHotelAlarmResponseBody;
|
|
1338
|
+
class ListHotelAlarmResponse extends $tea.Model {
|
|
1367
1339
|
constructor(map) {
|
|
1368
1340
|
super(map);
|
|
1369
1341
|
}
|
|
1370
1342
|
static names() {
|
|
1371
1343
|
return {
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1344
|
+
headers: 'headers',
|
|
1345
|
+
statusCode: 'statusCode',
|
|
1346
|
+
body: 'body',
|
|
1375
1347
|
};
|
|
1376
1348
|
}
|
|
1377
1349
|
static types() {
|
|
1378
1350
|
return {
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1351
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1352
|
+
statusCode: 'number',
|
|
1353
|
+
body: ListHotelAlarmResponseBody,
|
|
1382
1354
|
};
|
|
1383
1355
|
}
|
|
1384
1356
|
}
|
|
1385
|
-
exports.
|
|
1386
|
-
class
|
|
1357
|
+
exports.ListHotelAlarmResponse = ListHotelAlarmResponse;
|
|
1358
|
+
class ListHotelControlDeviceHeaders extends $tea.Model {
|
|
1387
1359
|
constructor(map) {
|
|
1388
1360
|
super(map);
|
|
1389
1361
|
}
|
|
1390
1362
|
static names() {
|
|
1391
1363
|
return {
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1364
|
+
commonHeaders: 'commonHeaders',
|
|
1365
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1366
|
+
authorization: 'Authorization',
|
|
1395
1367
|
};
|
|
1396
1368
|
}
|
|
1397
1369
|
static types() {
|
|
1398
1370
|
return {
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1371
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1372
|
+
xAcsAligenieAccessToken: 'string',
|
|
1373
|
+
authorization: 'string',
|
|
1402
1374
|
};
|
|
1403
1375
|
}
|
|
1404
1376
|
}
|
|
1405
|
-
exports.
|
|
1406
|
-
class
|
|
1377
|
+
exports.ListHotelControlDeviceHeaders = ListHotelControlDeviceHeaders;
|
|
1378
|
+
class ListHotelControlDeviceRequest extends $tea.Model {
|
|
1407
1379
|
constructor(map) {
|
|
1408
1380
|
super(map);
|
|
1409
1381
|
}
|
|
1410
1382
|
static names() {
|
|
1411
1383
|
return {
|
|
1412
|
-
|
|
1384
|
+
userInfo: 'UserInfo',
|
|
1413
1385
|
};
|
|
1414
1386
|
}
|
|
1415
1387
|
static types() {
|
|
1416
1388
|
return {
|
|
1417
|
-
|
|
1389
|
+
userInfo: ListHotelControlDeviceRequestUserInfo,
|
|
1418
1390
|
};
|
|
1419
1391
|
}
|
|
1420
1392
|
}
|
|
1421
|
-
exports.
|
|
1422
|
-
class
|
|
1393
|
+
exports.ListHotelControlDeviceRequest = ListHotelControlDeviceRequest;
|
|
1394
|
+
class ListHotelControlDeviceShrinkRequest extends $tea.Model {
|
|
1423
1395
|
constructor(map) {
|
|
1424
1396
|
super(map);
|
|
1425
1397
|
}
|
|
1426
1398
|
static names() {
|
|
1427
1399
|
return {
|
|
1428
|
-
|
|
1429
|
-
gmtCreate: 'GmtCreate',
|
|
1430
|
-
itemUrl: 'ItemUrl',
|
|
1431
|
-
name: 'Name',
|
|
1432
|
-
quantity: 'Quantity',
|
|
1400
|
+
userInfoShrink: 'UserInfo',
|
|
1433
1401
|
};
|
|
1434
1402
|
}
|
|
1435
1403
|
static types() {
|
|
1436
1404
|
return {
|
|
1437
|
-
|
|
1438
|
-
gmtCreate: 'number',
|
|
1439
|
-
itemUrl: 'string',
|
|
1440
|
-
name: 'string',
|
|
1441
|
-
quantity: 'number',
|
|
1405
|
+
userInfoShrink: 'string',
|
|
1442
1406
|
};
|
|
1443
1407
|
}
|
|
1444
1408
|
}
|
|
1445
|
-
exports.
|
|
1446
|
-
class
|
|
1409
|
+
exports.ListHotelControlDeviceShrinkRequest = ListHotelControlDeviceShrinkRequest;
|
|
1410
|
+
class ListHotelControlDeviceResponseBody extends $tea.Model {
|
|
1447
1411
|
constructor(map) {
|
|
1448
1412
|
super(map);
|
|
1449
1413
|
}
|
|
1450
1414
|
static names() {
|
|
1451
1415
|
return {
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
organizationId: 'OrganizationId',
|
|
1416
|
+
code: 'Code',
|
|
1417
|
+
message: 'Message',
|
|
1418
|
+
requestId: 'RequestId',
|
|
1419
|
+
result: 'Result',
|
|
1457
1420
|
};
|
|
1458
1421
|
}
|
|
1459
1422
|
static types() {
|
|
1460
1423
|
return {
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
organizationId: 'string',
|
|
1424
|
+
code: 'number',
|
|
1425
|
+
message: 'string',
|
|
1426
|
+
requestId: 'string',
|
|
1427
|
+
result: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
1466
1428
|
};
|
|
1467
1429
|
}
|
|
1468
1430
|
}
|
|
1469
|
-
exports.
|
|
1470
|
-
class
|
|
1431
|
+
exports.ListHotelControlDeviceResponseBody = ListHotelControlDeviceResponseBody;
|
|
1432
|
+
class ListHotelControlDeviceResponse extends $tea.Model {
|
|
1471
1433
|
constructor(map) {
|
|
1472
1434
|
super(map);
|
|
1473
1435
|
}
|
|
1474
1436
|
static names() {
|
|
1475
1437
|
return {
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
idType: 'IdType',
|
|
1480
|
-
organizationId: 'OrganizationId',
|
|
1438
|
+
headers: 'headers',
|
|
1439
|
+
statusCode: 'statusCode',
|
|
1440
|
+
body: 'body',
|
|
1481
1441
|
};
|
|
1482
1442
|
}
|
|
1483
1443
|
static types() {
|
|
1484
1444
|
return {
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1445
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1446
|
+
statusCode: 'number',
|
|
1447
|
+
body: ListHotelControlDeviceResponseBody,
|
|
1448
|
+
};
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
exports.ListHotelControlDeviceResponse = ListHotelControlDeviceResponse;
|
|
1452
|
+
class ListHotelInfoHeaders extends $tea.Model {
|
|
1453
|
+
constructor(map) {
|
|
1454
|
+
super(map);
|
|
1455
|
+
}
|
|
1456
|
+
static names() {
|
|
1457
|
+
return {
|
|
1458
|
+
commonHeaders: 'commonHeaders',
|
|
1459
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1460
|
+
authorization: 'Authorization',
|
|
1461
|
+
};
|
|
1462
|
+
}
|
|
1463
|
+
static types() {
|
|
1464
|
+
return {
|
|
1465
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1466
|
+
xAcsAligenieAccessToken: 'string',
|
|
1467
|
+
authorization: 'string',
|
|
1468
|
+
};
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
exports.ListHotelInfoHeaders = ListHotelInfoHeaders;
|
|
1472
|
+
class ListHotelInfoResponseBody extends $tea.Model {
|
|
1473
|
+
constructor(map) {
|
|
1474
|
+
super(map);
|
|
1475
|
+
}
|
|
1476
|
+
static names() {
|
|
1477
|
+
return {
|
|
1478
|
+
extentions: 'Extentions',
|
|
1479
|
+
message: 'Message',
|
|
1480
|
+
requestId: 'RequestId',
|
|
1481
|
+
result: 'Result',
|
|
1482
|
+
statusCode: 'StatusCode',
|
|
1483
|
+
};
|
|
1484
|
+
}
|
|
1485
|
+
static types() {
|
|
1486
|
+
return {
|
|
1487
|
+
extentions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1488
|
+
message: 'string',
|
|
1489
|
+
requestId: 'string',
|
|
1490
|
+
result: { 'type': 'array', 'itemType': ListHotelInfoResponseBodyResult },
|
|
1491
|
+
statusCode: 'number',
|
|
1492
|
+
};
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
exports.ListHotelInfoResponseBody = ListHotelInfoResponseBody;
|
|
1496
|
+
class ListHotelInfoResponse extends $tea.Model {
|
|
1497
|
+
constructor(map) {
|
|
1498
|
+
super(map);
|
|
1499
|
+
}
|
|
1500
|
+
static names() {
|
|
1501
|
+
return {
|
|
1502
|
+
headers: 'headers',
|
|
1503
|
+
statusCode: 'statusCode',
|
|
1504
|
+
body: 'body',
|
|
1505
|
+
};
|
|
1506
|
+
}
|
|
1507
|
+
static types() {
|
|
1508
|
+
return {
|
|
1509
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1510
|
+
statusCode: 'number',
|
|
1511
|
+
body: ListHotelInfoResponseBody,
|
|
1512
|
+
};
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
exports.ListHotelInfoResponse = ListHotelInfoResponse;
|
|
1516
|
+
class ListHotelMessageTemplateHeaders extends $tea.Model {
|
|
1517
|
+
constructor(map) {
|
|
1518
|
+
super(map);
|
|
1519
|
+
}
|
|
1520
|
+
static names() {
|
|
1521
|
+
return {
|
|
1522
|
+
commonHeaders: 'commonHeaders',
|
|
1523
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1524
|
+
authorization: 'Authorization',
|
|
1525
|
+
};
|
|
1526
|
+
}
|
|
1527
|
+
static types() {
|
|
1528
|
+
return {
|
|
1529
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1530
|
+
xAcsAligenieAccessToken: 'string',
|
|
1531
|
+
authorization: 'string',
|
|
1532
|
+
};
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
exports.ListHotelMessageTemplateHeaders = ListHotelMessageTemplateHeaders;
|
|
1536
|
+
class ListHotelMessageTemplateResponseBody extends $tea.Model {
|
|
1537
|
+
constructor(map) {
|
|
1538
|
+
super(map);
|
|
1539
|
+
}
|
|
1540
|
+
static names() {
|
|
1541
|
+
return {
|
|
1542
|
+
code: 'Code',
|
|
1543
|
+
message: 'Message',
|
|
1544
|
+
requestId: 'RequestId',
|
|
1545
|
+
result: 'Result',
|
|
1546
|
+
};
|
|
1547
|
+
}
|
|
1548
|
+
static types() {
|
|
1549
|
+
return {
|
|
1550
|
+
code: 'number',
|
|
1551
|
+
message: 'string',
|
|
1552
|
+
requestId: 'string',
|
|
1553
|
+
result: { 'type': 'array', 'itemType': ListHotelMessageTemplateResponseBodyResult },
|
|
1554
|
+
};
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
exports.ListHotelMessageTemplateResponseBody = ListHotelMessageTemplateResponseBody;
|
|
1558
|
+
class ListHotelMessageTemplateResponse extends $tea.Model {
|
|
1559
|
+
constructor(map) {
|
|
1560
|
+
super(map);
|
|
1561
|
+
}
|
|
1562
|
+
static names() {
|
|
1563
|
+
return {
|
|
1564
|
+
headers: 'headers',
|
|
1565
|
+
statusCode: 'statusCode',
|
|
1566
|
+
body: 'body',
|
|
1567
|
+
};
|
|
1568
|
+
}
|
|
1569
|
+
static types() {
|
|
1570
|
+
return {
|
|
1571
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1572
|
+
statusCode: 'number',
|
|
1573
|
+
body: ListHotelMessageTemplateResponseBody,
|
|
1574
|
+
};
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
exports.ListHotelMessageTemplateResponse = ListHotelMessageTemplateResponse;
|
|
1578
|
+
class ListHotelOrderHeaders extends $tea.Model {
|
|
1579
|
+
constructor(map) {
|
|
1580
|
+
super(map);
|
|
1581
|
+
}
|
|
1582
|
+
static names() {
|
|
1583
|
+
return {
|
|
1584
|
+
commonHeaders: 'commonHeaders',
|
|
1585
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1586
|
+
authorization: 'Authorization',
|
|
1587
|
+
};
|
|
1588
|
+
}
|
|
1589
|
+
static types() {
|
|
1590
|
+
return {
|
|
1591
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1592
|
+
xAcsAligenieAccessToken: 'string',
|
|
1593
|
+
authorization: 'string',
|
|
1594
|
+
};
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
exports.ListHotelOrderHeaders = ListHotelOrderHeaders;
|
|
1598
|
+
class ListHotelOrderRequest extends $tea.Model {
|
|
1599
|
+
constructor(map) {
|
|
1600
|
+
super(map);
|
|
1601
|
+
}
|
|
1602
|
+
static names() {
|
|
1603
|
+
return {
|
|
1604
|
+
payload: 'Payload',
|
|
1605
|
+
userInfo: 'UserInfo',
|
|
1606
|
+
};
|
|
1607
|
+
}
|
|
1608
|
+
static types() {
|
|
1609
|
+
return {
|
|
1610
|
+
payload: ListHotelOrderRequestPayload,
|
|
1611
|
+
userInfo: ListHotelOrderRequestUserInfo,
|
|
1612
|
+
};
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
exports.ListHotelOrderRequest = ListHotelOrderRequest;
|
|
1616
|
+
class ListHotelOrderShrinkRequest extends $tea.Model {
|
|
1617
|
+
constructor(map) {
|
|
1618
|
+
super(map);
|
|
1619
|
+
}
|
|
1620
|
+
static names() {
|
|
1621
|
+
return {
|
|
1622
|
+
payloadShrink: 'Payload',
|
|
1623
|
+
userInfoShrink: 'UserInfo',
|
|
1624
|
+
};
|
|
1625
|
+
}
|
|
1626
|
+
static types() {
|
|
1627
|
+
return {
|
|
1628
|
+
payloadShrink: 'string',
|
|
1629
|
+
userInfoShrink: 'string',
|
|
1630
|
+
};
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
exports.ListHotelOrderShrinkRequest = ListHotelOrderShrinkRequest;
|
|
1634
|
+
class ListHotelOrderResponseBody extends $tea.Model {
|
|
1635
|
+
constructor(map) {
|
|
1636
|
+
super(map);
|
|
1637
|
+
}
|
|
1638
|
+
static names() {
|
|
1639
|
+
return {
|
|
1640
|
+
code: 'Code',
|
|
1641
|
+
message: 'Message',
|
|
1642
|
+
page: 'Page',
|
|
1643
|
+
requestId: 'RequestId',
|
|
1644
|
+
result: 'Result',
|
|
1645
|
+
};
|
|
1646
|
+
}
|
|
1647
|
+
static types() {
|
|
1648
|
+
return {
|
|
1649
|
+
code: 'number',
|
|
1650
|
+
message: 'string',
|
|
1651
|
+
page: ListHotelOrderResponseBodyPage,
|
|
1652
|
+
requestId: 'string',
|
|
1653
|
+
result: { 'type': 'array', 'itemType': ListHotelOrderResponseBodyResult },
|
|
1654
|
+
};
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
exports.ListHotelOrderResponseBody = ListHotelOrderResponseBody;
|
|
1658
|
+
class ListHotelOrderResponse extends $tea.Model {
|
|
1659
|
+
constructor(map) {
|
|
1660
|
+
super(map);
|
|
1661
|
+
}
|
|
1662
|
+
static names() {
|
|
1663
|
+
return {
|
|
1664
|
+
headers: 'headers',
|
|
1665
|
+
statusCode: 'statusCode',
|
|
1666
|
+
body: 'body',
|
|
1667
|
+
};
|
|
1668
|
+
}
|
|
1669
|
+
static types() {
|
|
1670
|
+
return {
|
|
1671
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1672
|
+
statusCode: 'number',
|
|
1673
|
+
body: ListHotelOrderResponseBody,
|
|
1674
|
+
};
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
exports.ListHotelOrderResponse = ListHotelOrderResponse;
|
|
1678
|
+
class ListHotelRoomsHeaders extends $tea.Model {
|
|
1679
|
+
constructor(map) {
|
|
1680
|
+
super(map);
|
|
1681
|
+
}
|
|
1682
|
+
static names() {
|
|
1683
|
+
return {
|
|
1684
|
+
commonHeaders: 'commonHeaders',
|
|
1685
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1686
|
+
authorization: 'Authorization',
|
|
1687
|
+
};
|
|
1688
|
+
}
|
|
1689
|
+
static types() {
|
|
1690
|
+
return {
|
|
1691
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1692
|
+
xAcsAligenieAccessToken: 'string',
|
|
1693
|
+
authorization: 'string',
|
|
1694
|
+
};
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
exports.ListHotelRoomsHeaders = ListHotelRoomsHeaders;
|
|
1698
|
+
class ListHotelRoomsRequest extends $tea.Model {
|
|
1699
|
+
constructor(map) {
|
|
1700
|
+
super(map);
|
|
1701
|
+
}
|
|
1702
|
+
static names() {
|
|
1703
|
+
return {
|
|
1704
|
+
hotelId: 'HotelId',
|
|
1705
|
+
};
|
|
1706
|
+
}
|
|
1707
|
+
static types() {
|
|
1708
|
+
return {
|
|
1709
|
+
hotelId: 'string',
|
|
1710
|
+
};
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
exports.ListHotelRoomsRequest = ListHotelRoomsRequest;
|
|
1714
|
+
class ListHotelRoomsResponseBody extends $tea.Model {
|
|
1715
|
+
constructor(map) {
|
|
1716
|
+
super(map);
|
|
1717
|
+
}
|
|
1718
|
+
static names() {
|
|
1719
|
+
return {
|
|
1720
|
+
code: 'Code',
|
|
1721
|
+
message: 'Message',
|
|
1722
|
+
requestId: 'RequestId',
|
|
1723
|
+
result: 'Result',
|
|
1724
|
+
};
|
|
1725
|
+
}
|
|
1726
|
+
static types() {
|
|
1727
|
+
return {
|
|
1728
|
+
code: 'number',
|
|
1729
|
+
message: 'string',
|
|
1730
|
+
requestId: 'string',
|
|
1731
|
+
result: { 'type': 'array', 'itemType': ListHotelRoomsResponseBodyResult },
|
|
1732
|
+
};
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
exports.ListHotelRoomsResponseBody = ListHotelRoomsResponseBody;
|
|
1736
|
+
class ListHotelRoomsResponse extends $tea.Model {
|
|
1737
|
+
constructor(map) {
|
|
1738
|
+
super(map);
|
|
1739
|
+
}
|
|
1740
|
+
static names() {
|
|
1741
|
+
return {
|
|
1742
|
+
headers: 'headers',
|
|
1743
|
+
statusCode: 'statusCode',
|
|
1744
|
+
body: 'body',
|
|
1745
|
+
};
|
|
1746
|
+
}
|
|
1747
|
+
static types() {
|
|
1748
|
+
return {
|
|
1749
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1750
|
+
statusCode: 'number',
|
|
1751
|
+
body: ListHotelRoomsResponseBody,
|
|
1752
|
+
};
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
exports.ListHotelRoomsResponse = ListHotelRoomsResponse;
|
|
1756
|
+
class ListHotelSceneItemHeaders extends $tea.Model {
|
|
1757
|
+
constructor(map) {
|
|
1758
|
+
super(map);
|
|
1759
|
+
}
|
|
1760
|
+
static names() {
|
|
1761
|
+
return {
|
|
1762
|
+
commonHeaders: 'commonHeaders',
|
|
1763
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1764
|
+
authorization: 'Authorization',
|
|
1765
|
+
};
|
|
1766
|
+
}
|
|
1767
|
+
static types() {
|
|
1768
|
+
return {
|
|
1769
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1770
|
+
xAcsAligenieAccessToken: 'string',
|
|
1771
|
+
authorization: 'string',
|
|
1772
|
+
};
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
exports.ListHotelSceneItemHeaders = ListHotelSceneItemHeaders;
|
|
1776
|
+
class ListHotelSceneItemRequest extends $tea.Model {
|
|
1777
|
+
constructor(map) {
|
|
1778
|
+
super(map);
|
|
1779
|
+
}
|
|
1780
|
+
static names() {
|
|
1781
|
+
return {
|
|
1782
|
+
payload: 'Payload',
|
|
1783
|
+
userInfo: 'UserInfo',
|
|
1784
|
+
};
|
|
1785
|
+
}
|
|
1786
|
+
static types() {
|
|
1787
|
+
return {
|
|
1788
|
+
payload: ListHotelSceneItemRequestPayload,
|
|
1789
|
+
userInfo: ListHotelSceneItemRequestUserInfo,
|
|
1790
|
+
};
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
exports.ListHotelSceneItemRequest = ListHotelSceneItemRequest;
|
|
1794
|
+
class ListHotelSceneItemShrinkRequest extends $tea.Model {
|
|
1795
|
+
constructor(map) {
|
|
1796
|
+
super(map);
|
|
1797
|
+
}
|
|
1798
|
+
static names() {
|
|
1799
|
+
return {
|
|
1800
|
+
payloadShrink: 'Payload',
|
|
1801
|
+
userInfoShrink: 'UserInfo',
|
|
1802
|
+
};
|
|
1803
|
+
}
|
|
1804
|
+
static types() {
|
|
1805
|
+
return {
|
|
1806
|
+
payloadShrink: 'string',
|
|
1807
|
+
userInfoShrink: 'string',
|
|
1808
|
+
};
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
exports.ListHotelSceneItemShrinkRequest = ListHotelSceneItemShrinkRequest;
|
|
1812
|
+
class ListHotelSceneItemResponseBody extends $tea.Model {
|
|
1813
|
+
constructor(map) {
|
|
1814
|
+
super(map);
|
|
1815
|
+
}
|
|
1816
|
+
static names() {
|
|
1817
|
+
return {
|
|
1818
|
+
code: 'Code',
|
|
1819
|
+
message: 'Message',
|
|
1820
|
+
page: 'Page',
|
|
1821
|
+
requestId: 'RequestId',
|
|
1822
|
+
result: 'Result',
|
|
1823
|
+
};
|
|
1824
|
+
}
|
|
1825
|
+
static types() {
|
|
1826
|
+
return {
|
|
1827
|
+
code: 'number',
|
|
1828
|
+
message: 'string',
|
|
1829
|
+
page: ListHotelSceneItemResponseBodyPage,
|
|
1830
|
+
requestId: 'string',
|
|
1831
|
+
result: ListHotelSceneItemResponseBodyResult,
|
|
1832
|
+
};
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
exports.ListHotelSceneItemResponseBody = ListHotelSceneItemResponseBody;
|
|
1836
|
+
class ListHotelSceneItemResponse extends $tea.Model {
|
|
1837
|
+
constructor(map) {
|
|
1838
|
+
super(map);
|
|
1839
|
+
}
|
|
1840
|
+
static names() {
|
|
1841
|
+
return {
|
|
1842
|
+
headers: 'headers',
|
|
1843
|
+
statusCode: 'statusCode',
|
|
1844
|
+
body: 'body',
|
|
1845
|
+
};
|
|
1846
|
+
}
|
|
1847
|
+
static types() {
|
|
1848
|
+
return {
|
|
1849
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1850
|
+
statusCode: 'number',
|
|
1851
|
+
body: ListHotelSceneItemResponseBody,
|
|
1852
|
+
};
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
exports.ListHotelSceneItemResponse = ListHotelSceneItemResponse;
|
|
1856
|
+
class ListHotelServiceCategoryHeaders extends $tea.Model {
|
|
1857
|
+
constructor(map) {
|
|
1858
|
+
super(map);
|
|
1859
|
+
}
|
|
1860
|
+
static names() {
|
|
1861
|
+
return {
|
|
1862
|
+
commonHeaders: 'commonHeaders',
|
|
1863
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1864
|
+
authorization: 'Authorization',
|
|
1865
|
+
};
|
|
1866
|
+
}
|
|
1867
|
+
static types() {
|
|
1868
|
+
return {
|
|
1869
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1870
|
+
xAcsAligenieAccessToken: 'string',
|
|
1871
|
+
authorization: 'string',
|
|
1872
|
+
};
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
exports.ListHotelServiceCategoryHeaders = ListHotelServiceCategoryHeaders;
|
|
1876
|
+
class ListHotelServiceCategoryRequest extends $tea.Model {
|
|
1877
|
+
constructor(map) {
|
|
1878
|
+
super(map);
|
|
1879
|
+
}
|
|
1880
|
+
static names() {
|
|
1881
|
+
return {
|
|
1882
|
+
payload: 'Payload',
|
|
1883
|
+
};
|
|
1884
|
+
}
|
|
1885
|
+
static types() {
|
|
1886
|
+
return {
|
|
1887
|
+
payload: ListHotelServiceCategoryRequestPayload,
|
|
1888
|
+
};
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
exports.ListHotelServiceCategoryRequest = ListHotelServiceCategoryRequest;
|
|
1892
|
+
class ListHotelServiceCategoryShrinkRequest extends $tea.Model {
|
|
1893
|
+
constructor(map) {
|
|
1894
|
+
super(map);
|
|
1895
|
+
}
|
|
1896
|
+
static names() {
|
|
1897
|
+
return {
|
|
1898
|
+
payloadShrink: 'Payload',
|
|
1899
|
+
};
|
|
1900
|
+
}
|
|
1901
|
+
static types() {
|
|
1902
|
+
return {
|
|
1903
|
+
payloadShrink: 'string',
|
|
1904
|
+
};
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
exports.ListHotelServiceCategoryShrinkRequest = ListHotelServiceCategoryShrinkRequest;
|
|
1908
|
+
class ListHotelServiceCategoryResponseBody extends $tea.Model {
|
|
1909
|
+
constructor(map) {
|
|
1910
|
+
super(map);
|
|
1911
|
+
}
|
|
1912
|
+
static names() {
|
|
1913
|
+
return {
|
|
1914
|
+
code: 'Code',
|
|
1915
|
+
message: 'Message',
|
|
1916
|
+
requestId: 'RequestId',
|
|
1917
|
+
result: 'Result',
|
|
1918
|
+
};
|
|
1919
|
+
}
|
|
1920
|
+
static types() {
|
|
1921
|
+
return {
|
|
1922
|
+
code: 'number',
|
|
1923
|
+
message: 'string',
|
|
1924
|
+
requestId: 'string',
|
|
1925
|
+
result: { 'type': 'array', 'itemType': ListHotelServiceCategoryResponseBodyResult },
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
exports.ListHotelServiceCategoryResponseBody = ListHotelServiceCategoryResponseBody;
|
|
1930
|
+
class ListHotelServiceCategoryResponse extends $tea.Model {
|
|
1931
|
+
constructor(map) {
|
|
1932
|
+
super(map);
|
|
1933
|
+
}
|
|
1934
|
+
static names() {
|
|
1935
|
+
return {
|
|
1936
|
+
headers: 'headers',
|
|
1937
|
+
statusCode: 'statusCode',
|
|
1938
|
+
body: 'body',
|
|
1939
|
+
};
|
|
1940
|
+
}
|
|
1941
|
+
static types() {
|
|
1942
|
+
return {
|
|
1943
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1944
|
+
statusCode: 'number',
|
|
1945
|
+
body: ListHotelServiceCategoryResponseBody,
|
|
1946
|
+
};
|
|
1947
|
+
}
|
|
1948
|
+
}
|
|
1949
|
+
exports.ListHotelServiceCategoryResponse = ListHotelServiceCategoryResponse;
|
|
1950
|
+
class PushHotelMessageHeaders extends $tea.Model {
|
|
1951
|
+
constructor(map) {
|
|
1952
|
+
super(map);
|
|
1953
|
+
}
|
|
1954
|
+
static names() {
|
|
1955
|
+
return {
|
|
1956
|
+
commonHeaders: 'commonHeaders',
|
|
1957
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
1958
|
+
authorization: 'Authorization',
|
|
1959
|
+
};
|
|
1960
|
+
}
|
|
1961
|
+
static types() {
|
|
1962
|
+
return {
|
|
1963
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1964
|
+
xAcsAligenieAccessToken: 'string',
|
|
1965
|
+
authorization: 'string',
|
|
1966
|
+
};
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
exports.PushHotelMessageHeaders = PushHotelMessageHeaders;
|
|
1970
|
+
class PushHotelMessageRequest extends $tea.Model {
|
|
1971
|
+
constructor(map) {
|
|
1972
|
+
super(map);
|
|
1973
|
+
}
|
|
1974
|
+
static names() {
|
|
1975
|
+
return {
|
|
1976
|
+
pushHotelMessageReq: 'PushHotelMessageReq',
|
|
1977
|
+
};
|
|
1978
|
+
}
|
|
1979
|
+
static types() {
|
|
1980
|
+
return {
|
|
1981
|
+
pushHotelMessageReq: PushHotelMessageRequestPushHotelMessageReq,
|
|
1982
|
+
};
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
exports.PushHotelMessageRequest = PushHotelMessageRequest;
|
|
1986
|
+
class PushHotelMessageShrinkRequest extends $tea.Model {
|
|
1987
|
+
constructor(map) {
|
|
1988
|
+
super(map);
|
|
1989
|
+
}
|
|
1990
|
+
static names() {
|
|
1991
|
+
return {
|
|
1992
|
+
pushHotelMessageReqShrink: 'PushHotelMessageReq',
|
|
1993
|
+
};
|
|
1994
|
+
}
|
|
1995
|
+
static types() {
|
|
1996
|
+
return {
|
|
1997
|
+
pushHotelMessageReqShrink: 'string',
|
|
1998
|
+
};
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
exports.PushHotelMessageShrinkRequest = PushHotelMessageShrinkRequest;
|
|
2002
|
+
class PushHotelMessageResponseBody extends $tea.Model {
|
|
2003
|
+
constructor(map) {
|
|
2004
|
+
super(map);
|
|
2005
|
+
}
|
|
2006
|
+
static names() {
|
|
2007
|
+
return {
|
|
2008
|
+
code: 'Code',
|
|
2009
|
+
message: 'Message',
|
|
2010
|
+
requestId: 'RequestId',
|
|
2011
|
+
result: 'Result',
|
|
2012
|
+
};
|
|
2013
|
+
}
|
|
2014
|
+
static types() {
|
|
2015
|
+
return {
|
|
2016
|
+
code: 'number',
|
|
2017
|
+
message: 'string',
|
|
2018
|
+
requestId: 'string',
|
|
2019
|
+
result: 'boolean',
|
|
2020
|
+
};
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
exports.PushHotelMessageResponseBody = PushHotelMessageResponseBody;
|
|
2024
|
+
class PushHotelMessageResponse extends $tea.Model {
|
|
2025
|
+
constructor(map) {
|
|
2026
|
+
super(map);
|
|
2027
|
+
}
|
|
2028
|
+
static names() {
|
|
2029
|
+
return {
|
|
2030
|
+
headers: 'headers',
|
|
2031
|
+
statusCode: 'statusCode',
|
|
2032
|
+
body: 'body',
|
|
2033
|
+
};
|
|
2034
|
+
}
|
|
2035
|
+
static types() {
|
|
2036
|
+
return {
|
|
2037
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2038
|
+
statusCode: 'number',
|
|
2039
|
+
body: PushHotelMessageResponseBody,
|
|
2040
|
+
};
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
exports.PushHotelMessageResponse = PushHotelMessageResponse;
|
|
2044
|
+
class QueryDeviceStatusHeaders extends $tea.Model {
|
|
2045
|
+
constructor(map) {
|
|
2046
|
+
super(map);
|
|
2047
|
+
}
|
|
2048
|
+
static names() {
|
|
2049
|
+
return {
|
|
2050
|
+
commonHeaders: 'commonHeaders',
|
|
2051
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
2052
|
+
authorization: 'Authorization',
|
|
2053
|
+
};
|
|
2054
|
+
}
|
|
2055
|
+
static types() {
|
|
2056
|
+
return {
|
|
2057
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2058
|
+
xAcsAligenieAccessToken: 'string',
|
|
2059
|
+
authorization: 'string',
|
|
2060
|
+
};
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
exports.QueryDeviceStatusHeaders = QueryDeviceStatusHeaders;
|
|
2064
|
+
class QueryDeviceStatusRequest extends $tea.Model {
|
|
2065
|
+
constructor(map) {
|
|
2066
|
+
super(map);
|
|
2067
|
+
}
|
|
2068
|
+
static names() {
|
|
2069
|
+
return {
|
|
2070
|
+
payload: 'Payload',
|
|
2071
|
+
userInfo: 'UserInfo',
|
|
2072
|
+
};
|
|
2073
|
+
}
|
|
2074
|
+
static types() {
|
|
2075
|
+
return {
|
|
2076
|
+
payload: QueryDeviceStatusRequestPayload,
|
|
2077
|
+
userInfo: QueryDeviceStatusRequestUserInfo,
|
|
2078
|
+
};
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
exports.QueryDeviceStatusRequest = QueryDeviceStatusRequest;
|
|
2082
|
+
class QueryDeviceStatusShrinkRequest extends $tea.Model {
|
|
2083
|
+
constructor(map) {
|
|
2084
|
+
super(map);
|
|
2085
|
+
}
|
|
2086
|
+
static names() {
|
|
2087
|
+
return {
|
|
2088
|
+
payloadShrink: 'Payload',
|
|
2089
|
+
userInfoShrink: 'UserInfo',
|
|
2090
|
+
};
|
|
2091
|
+
}
|
|
2092
|
+
static types() {
|
|
2093
|
+
return {
|
|
2094
|
+
payloadShrink: 'string',
|
|
2095
|
+
userInfoShrink: 'string',
|
|
2096
|
+
};
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
exports.QueryDeviceStatusShrinkRequest = QueryDeviceStatusShrinkRequest;
|
|
2100
|
+
class QueryDeviceStatusResponseBody extends $tea.Model {
|
|
2101
|
+
constructor(map) {
|
|
2102
|
+
super(map);
|
|
2103
|
+
}
|
|
2104
|
+
static names() {
|
|
2105
|
+
return {
|
|
2106
|
+
code: 'Code',
|
|
2107
|
+
message: 'Message',
|
|
2108
|
+
requestId: 'RequestId',
|
|
2109
|
+
result: 'Result',
|
|
2110
|
+
};
|
|
2111
|
+
}
|
|
2112
|
+
static types() {
|
|
2113
|
+
return {
|
|
2114
|
+
code: 'number',
|
|
2115
|
+
message: 'string',
|
|
2116
|
+
requestId: 'string',
|
|
2117
|
+
result: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
2118
|
+
};
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
2121
|
+
exports.QueryDeviceStatusResponseBody = QueryDeviceStatusResponseBody;
|
|
2122
|
+
class QueryDeviceStatusResponse extends $tea.Model {
|
|
2123
|
+
constructor(map) {
|
|
2124
|
+
super(map);
|
|
2125
|
+
}
|
|
2126
|
+
static names() {
|
|
2127
|
+
return {
|
|
2128
|
+
headers: 'headers',
|
|
2129
|
+
statusCode: 'statusCode',
|
|
2130
|
+
body: 'body',
|
|
2131
|
+
};
|
|
2132
|
+
}
|
|
2133
|
+
static types() {
|
|
2134
|
+
return {
|
|
2135
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2136
|
+
statusCode: 'number',
|
|
2137
|
+
body: QueryDeviceStatusResponseBody,
|
|
2138
|
+
};
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
exports.QueryDeviceStatusResponse = QueryDeviceStatusResponse;
|
|
2142
|
+
class QueryHotelProductHeaders extends $tea.Model {
|
|
2143
|
+
constructor(map) {
|
|
2144
|
+
super(map);
|
|
2145
|
+
}
|
|
2146
|
+
static names() {
|
|
2147
|
+
return {
|
|
2148
|
+
commonHeaders: 'commonHeaders',
|
|
2149
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
2150
|
+
authorization: 'Authorization',
|
|
2151
|
+
};
|
|
2152
|
+
}
|
|
2153
|
+
static types() {
|
|
2154
|
+
return {
|
|
2155
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2156
|
+
xAcsAligenieAccessToken: 'string',
|
|
2157
|
+
authorization: 'string',
|
|
2158
|
+
};
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
exports.QueryHotelProductHeaders = QueryHotelProductHeaders;
|
|
2162
|
+
class QueryHotelProductRequest extends $tea.Model {
|
|
2163
|
+
constructor(map) {
|
|
2164
|
+
super(map);
|
|
2165
|
+
}
|
|
2166
|
+
static names() {
|
|
2167
|
+
return {
|
|
2168
|
+
userInfo: 'UserInfo',
|
|
2169
|
+
};
|
|
2170
|
+
}
|
|
2171
|
+
static types() {
|
|
2172
|
+
return {
|
|
2173
|
+
userInfo: QueryHotelProductRequestUserInfo,
|
|
2174
|
+
};
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2177
|
+
exports.QueryHotelProductRequest = QueryHotelProductRequest;
|
|
2178
|
+
class QueryHotelProductShrinkRequest extends $tea.Model {
|
|
2179
|
+
constructor(map) {
|
|
2180
|
+
super(map);
|
|
2181
|
+
}
|
|
2182
|
+
static names() {
|
|
2183
|
+
return {
|
|
2184
|
+
userInfoShrink: 'UserInfo',
|
|
2185
|
+
};
|
|
2186
|
+
}
|
|
2187
|
+
static types() {
|
|
2188
|
+
return {
|
|
2189
|
+
userInfoShrink: 'string',
|
|
2190
|
+
};
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
exports.QueryHotelProductShrinkRequest = QueryHotelProductShrinkRequest;
|
|
2194
|
+
class QueryHotelProductResponseBody extends $tea.Model {
|
|
2195
|
+
constructor(map) {
|
|
2196
|
+
super(map);
|
|
2197
|
+
}
|
|
2198
|
+
static names() {
|
|
2199
|
+
return {
|
|
2200
|
+
code: 'Code',
|
|
2201
|
+
message: 'Message',
|
|
2202
|
+
requestId: 'RequestId',
|
|
2203
|
+
result: 'Result',
|
|
2204
|
+
};
|
|
2205
|
+
}
|
|
2206
|
+
static types() {
|
|
2207
|
+
return {
|
|
2208
|
+
code: 'number',
|
|
2209
|
+
message: 'string',
|
|
2210
|
+
requestId: 'string',
|
|
2211
|
+
result: QueryHotelProductResponseBodyResult,
|
|
2212
|
+
};
|
|
2213
|
+
}
|
|
2214
|
+
}
|
|
2215
|
+
exports.QueryHotelProductResponseBody = QueryHotelProductResponseBody;
|
|
2216
|
+
class QueryHotelProductResponse extends $tea.Model {
|
|
2217
|
+
constructor(map) {
|
|
2218
|
+
super(map);
|
|
2219
|
+
}
|
|
2220
|
+
static names() {
|
|
2221
|
+
return {
|
|
2222
|
+
headers: 'headers',
|
|
2223
|
+
statusCode: 'statusCode',
|
|
2224
|
+
body: 'body',
|
|
2225
|
+
};
|
|
2226
|
+
}
|
|
2227
|
+
static types() {
|
|
2228
|
+
return {
|
|
2229
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2230
|
+
statusCode: 'number',
|
|
2231
|
+
body: QueryHotelProductResponseBody,
|
|
2232
|
+
};
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
exports.QueryHotelProductResponse = QueryHotelProductResponse;
|
|
2236
|
+
class QueryRoomControlDevicesHeaders extends $tea.Model {
|
|
2237
|
+
constructor(map) {
|
|
2238
|
+
super(map);
|
|
2239
|
+
}
|
|
2240
|
+
static names() {
|
|
2241
|
+
return {
|
|
2242
|
+
commonHeaders: 'commonHeaders',
|
|
2243
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
2244
|
+
authorization: 'Authorization',
|
|
2245
|
+
};
|
|
2246
|
+
}
|
|
2247
|
+
static types() {
|
|
2248
|
+
return {
|
|
2249
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2250
|
+
xAcsAligenieAccessToken: 'string',
|
|
2251
|
+
authorization: 'string',
|
|
2252
|
+
};
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
exports.QueryRoomControlDevicesHeaders = QueryRoomControlDevicesHeaders;
|
|
2256
|
+
class QueryRoomControlDevicesRequest extends $tea.Model {
|
|
2257
|
+
constructor(map) {
|
|
2258
|
+
super(map);
|
|
2259
|
+
}
|
|
2260
|
+
static names() {
|
|
2261
|
+
return {
|
|
2262
|
+
hotelId: 'HotelId',
|
|
2263
|
+
roomNo: 'RoomNo',
|
|
2264
|
+
};
|
|
2265
|
+
}
|
|
2266
|
+
static types() {
|
|
2267
|
+
return {
|
|
2268
|
+
hotelId: 'string',
|
|
2269
|
+
roomNo: 'string',
|
|
2270
|
+
};
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
exports.QueryRoomControlDevicesRequest = QueryRoomControlDevicesRequest;
|
|
2274
|
+
class QueryRoomControlDevicesResponseBody extends $tea.Model {
|
|
2275
|
+
constructor(map) {
|
|
2276
|
+
super(map);
|
|
2277
|
+
}
|
|
2278
|
+
static names() {
|
|
2279
|
+
return {
|
|
2280
|
+
code: 'Code',
|
|
2281
|
+
message: 'Message',
|
|
2282
|
+
requestId: 'RequestId',
|
|
2283
|
+
result: 'Result',
|
|
2284
|
+
};
|
|
2285
|
+
}
|
|
2286
|
+
static types() {
|
|
2287
|
+
return {
|
|
2288
|
+
code: 'number',
|
|
2289
|
+
message: 'string',
|
|
2290
|
+
requestId: 'string',
|
|
2291
|
+
result: { 'type': 'array', 'itemType': QueryRoomControlDevicesResponseBodyResult },
|
|
2292
|
+
};
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
exports.QueryRoomControlDevicesResponseBody = QueryRoomControlDevicesResponseBody;
|
|
2296
|
+
class QueryRoomControlDevicesResponse extends $tea.Model {
|
|
2297
|
+
constructor(map) {
|
|
2298
|
+
super(map);
|
|
2299
|
+
}
|
|
2300
|
+
static names() {
|
|
2301
|
+
return {
|
|
2302
|
+
headers: 'headers',
|
|
2303
|
+
statusCode: 'statusCode',
|
|
2304
|
+
body: 'body',
|
|
2305
|
+
};
|
|
2306
|
+
}
|
|
2307
|
+
static types() {
|
|
2308
|
+
return {
|
|
2309
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2310
|
+
statusCode: 'number',
|
|
2311
|
+
body: QueryRoomControlDevicesResponseBody,
|
|
2312
|
+
};
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
exports.QueryRoomControlDevicesResponse = QueryRoomControlDevicesResponse;
|
|
2316
|
+
class RoomCheckOutHeaders extends $tea.Model {
|
|
2317
|
+
constructor(map) {
|
|
2318
|
+
super(map);
|
|
2319
|
+
}
|
|
2320
|
+
static names() {
|
|
2321
|
+
return {
|
|
2322
|
+
commonHeaders: 'commonHeaders',
|
|
2323
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
2324
|
+
authorization: 'Authorization',
|
|
2325
|
+
};
|
|
2326
|
+
}
|
|
2327
|
+
static types() {
|
|
2328
|
+
return {
|
|
2329
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2330
|
+
xAcsAligenieAccessToken: 'string',
|
|
2331
|
+
authorization: 'string',
|
|
2332
|
+
};
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
exports.RoomCheckOutHeaders = RoomCheckOutHeaders;
|
|
2336
|
+
class RoomCheckOutRequest extends $tea.Model {
|
|
2337
|
+
constructor(map) {
|
|
2338
|
+
super(map);
|
|
2339
|
+
}
|
|
2340
|
+
static names() {
|
|
2341
|
+
return {
|
|
2342
|
+
deviceInfo: 'DeviceInfo',
|
|
2343
|
+
userInfo: 'UserInfo',
|
|
2344
|
+
};
|
|
2345
|
+
}
|
|
2346
|
+
static types() {
|
|
2347
|
+
return {
|
|
2348
|
+
deviceInfo: RoomCheckOutRequestDeviceInfo,
|
|
2349
|
+
userInfo: RoomCheckOutRequestUserInfo,
|
|
2350
|
+
};
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
exports.RoomCheckOutRequest = RoomCheckOutRequest;
|
|
2354
|
+
class RoomCheckOutShrinkRequest extends $tea.Model {
|
|
2355
|
+
constructor(map) {
|
|
2356
|
+
super(map);
|
|
2357
|
+
}
|
|
2358
|
+
static names() {
|
|
2359
|
+
return {
|
|
2360
|
+
deviceInfoShrink: 'DeviceInfo',
|
|
2361
|
+
userInfoShrink: 'UserInfo',
|
|
2362
|
+
};
|
|
2363
|
+
}
|
|
2364
|
+
static types() {
|
|
2365
|
+
return {
|
|
2366
|
+
deviceInfoShrink: 'string',
|
|
2367
|
+
userInfoShrink: 'string',
|
|
2368
|
+
};
|
|
2369
|
+
}
|
|
2370
|
+
}
|
|
2371
|
+
exports.RoomCheckOutShrinkRequest = RoomCheckOutShrinkRequest;
|
|
2372
|
+
class RoomCheckOutResponseBody extends $tea.Model {
|
|
2373
|
+
constructor(map) {
|
|
2374
|
+
super(map);
|
|
2375
|
+
}
|
|
2376
|
+
static names() {
|
|
2377
|
+
return {
|
|
2378
|
+
code: 'Code',
|
|
2379
|
+
message: 'Message',
|
|
2380
|
+
requestId: 'RequestId',
|
|
2381
|
+
result: 'Result',
|
|
2382
|
+
};
|
|
2383
|
+
}
|
|
2384
|
+
static types() {
|
|
2385
|
+
return {
|
|
2386
|
+
code: 'number',
|
|
2387
|
+
message: 'string',
|
|
2388
|
+
requestId: 'string',
|
|
2389
|
+
result: 'boolean',
|
|
2390
|
+
};
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
exports.RoomCheckOutResponseBody = RoomCheckOutResponseBody;
|
|
2394
|
+
class RoomCheckOutResponse extends $tea.Model {
|
|
2395
|
+
constructor(map) {
|
|
2396
|
+
super(map);
|
|
2397
|
+
}
|
|
2398
|
+
static names() {
|
|
2399
|
+
return {
|
|
2400
|
+
headers: 'headers',
|
|
2401
|
+
statusCode: 'statusCode',
|
|
2402
|
+
body: 'body',
|
|
2403
|
+
};
|
|
2404
|
+
}
|
|
2405
|
+
static types() {
|
|
2406
|
+
return {
|
|
2407
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2408
|
+
statusCode: 'number',
|
|
2409
|
+
body: RoomCheckOutResponseBody,
|
|
2410
|
+
};
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
exports.RoomCheckOutResponse = RoomCheckOutResponse;
|
|
2414
|
+
class SubmitHotelOrderHeaders extends $tea.Model {
|
|
2415
|
+
constructor(map) {
|
|
2416
|
+
super(map);
|
|
2417
|
+
}
|
|
2418
|
+
static names() {
|
|
2419
|
+
return {
|
|
2420
|
+
commonHeaders: 'commonHeaders',
|
|
2421
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
2422
|
+
authorization: 'Authorization',
|
|
2423
|
+
};
|
|
2424
|
+
}
|
|
2425
|
+
static types() {
|
|
2426
|
+
return {
|
|
2427
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2428
|
+
xAcsAligenieAccessToken: 'string',
|
|
2429
|
+
authorization: 'string',
|
|
2430
|
+
};
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
exports.SubmitHotelOrderHeaders = SubmitHotelOrderHeaders;
|
|
2434
|
+
class SubmitHotelOrderRequest extends $tea.Model {
|
|
2435
|
+
constructor(map) {
|
|
2436
|
+
super(map);
|
|
2437
|
+
}
|
|
2438
|
+
static names() {
|
|
2439
|
+
return {
|
|
2440
|
+
payload: 'Payload',
|
|
2441
|
+
userInfo: 'UserInfo',
|
|
2442
|
+
};
|
|
2443
|
+
}
|
|
2444
|
+
static types() {
|
|
2445
|
+
return {
|
|
2446
|
+
payload: SubmitHotelOrderRequestPayload,
|
|
2447
|
+
userInfo: SubmitHotelOrderRequestUserInfo,
|
|
2448
|
+
};
|
|
2449
|
+
}
|
|
2450
|
+
}
|
|
2451
|
+
exports.SubmitHotelOrderRequest = SubmitHotelOrderRequest;
|
|
2452
|
+
class SubmitHotelOrderShrinkRequest extends $tea.Model {
|
|
2453
|
+
constructor(map) {
|
|
2454
|
+
super(map);
|
|
2455
|
+
}
|
|
2456
|
+
static names() {
|
|
2457
|
+
return {
|
|
2458
|
+
payloadShrink: 'Payload',
|
|
2459
|
+
userInfoShrink: 'UserInfo',
|
|
2460
|
+
};
|
|
2461
|
+
}
|
|
2462
|
+
static types() {
|
|
2463
|
+
return {
|
|
2464
|
+
payloadShrink: 'string',
|
|
2465
|
+
userInfoShrink: 'string',
|
|
2466
|
+
};
|
|
2467
|
+
}
|
|
2468
|
+
}
|
|
2469
|
+
exports.SubmitHotelOrderShrinkRequest = SubmitHotelOrderShrinkRequest;
|
|
2470
|
+
class SubmitHotelOrderResponseBody extends $tea.Model {
|
|
2471
|
+
constructor(map) {
|
|
2472
|
+
super(map);
|
|
2473
|
+
}
|
|
2474
|
+
static names() {
|
|
2475
|
+
return {
|
|
2476
|
+
code: 'Code',
|
|
2477
|
+
message: 'Message',
|
|
2478
|
+
requestId: 'RequestId',
|
|
2479
|
+
result: 'Result',
|
|
2480
|
+
};
|
|
2481
|
+
}
|
|
2482
|
+
static types() {
|
|
2483
|
+
return {
|
|
2484
|
+
code: 'number',
|
|
2485
|
+
message: 'string',
|
|
2486
|
+
requestId: 'string',
|
|
2487
|
+
result: 'string',
|
|
2488
|
+
};
|
|
2489
|
+
}
|
|
2490
|
+
}
|
|
2491
|
+
exports.SubmitHotelOrderResponseBody = SubmitHotelOrderResponseBody;
|
|
2492
|
+
class SubmitHotelOrderResponse extends $tea.Model {
|
|
2493
|
+
constructor(map) {
|
|
2494
|
+
super(map);
|
|
2495
|
+
}
|
|
2496
|
+
static names() {
|
|
2497
|
+
return {
|
|
2498
|
+
headers: 'headers',
|
|
2499
|
+
statusCode: 'statusCode',
|
|
2500
|
+
body: 'body',
|
|
2501
|
+
};
|
|
2502
|
+
}
|
|
2503
|
+
static types() {
|
|
2504
|
+
return {
|
|
2505
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2506
|
+
statusCode: 'number',
|
|
2507
|
+
body: SubmitHotelOrderResponseBody,
|
|
2508
|
+
};
|
|
2509
|
+
}
|
|
2510
|
+
}
|
|
2511
|
+
exports.SubmitHotelOrderResponse = SubmitHotelOrderResponse;
|
|
2512
|
+
class UpdateHotelAlarmHeaders extends $tea.Model {
|
|
2513
|
+
constructor(map) {
|
|
2514
|
+
super(map);
|
|
2515
|
+
}
|
|
2516
|
+
static names() {
|
|
2517
|
+
return {
|
|
2518
|
+
commonHeaders: 'commonHeaders',
|
|
2519
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
2520
|
+
authorization: 'Authorization',
|
|
2521
|
+
};
|
|
2522
|
+
}
|
|
2523
|
+
static types() {
|
|
2524
|
+
return {
|
|
2525
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2526
|
+
xAcsAligenieAccessToken: 'string',
|
|
2527
|
+
authorization: 'string',
|
|
2528
|
+
};
|
|
2529
|
+
}
|
|
2530
|
+
}
|
|
2531
|
+
exports.UpdateHotelAlarmHeaders = UpdateHotelAlarmHeaders;
|
|
2532
|
+
class UpdateHotelAlarmRequest extends $tea.Model {
|
|
2533
|
+
constructor(map) {
|
|
2534
|
+
super(map);
|
|
2535
|
+
}
|
|
2536
|
+
static names() {
|
|
2537
|
+
return {
|
|
2538
|
+
alarms: 'Alarms',
|
|
2539
|
+
hotelId: 'HotelId',
|
|
2540
|
+
scheduleInfo: 'ScheduleInfo',
|
|
2541
|
+
};
|
|
2542
|
+
}
|
|
2543
|
+
static types() {
|
|
2544
|
+
return {
|
|
2545
|
+
alarms: { 'type': 'array', 'itemType': UpdateHotelAlarmRequestAlarms },
|
|
2546
|
+
hotelId: 'string',
|
|
2547
|
+
scheduleInfo: UpdateHotelAlarmRequestScheduleInfo,
|
|
2548
|
+
};
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
exports.UpdateHotelAlarmRequest = UpdateHotelAlarmRequest;
|
|
2552
|
+
class UpdateHotelAlarmShrinkRequest extends $tea.Model {
|
|
2553
|
+
constructor(map) {
|
|
2554
|
+
super(map);
|
|
2555
|
+
}
|
|
2556
|
+
static names() {
|
|
2557
|
+
return {
|
|
2558
|
+
alarmsShrink: 'Alarms',
|
|
2559
|
+
hotelId: 'HotelId',
|
|
2560
|
+
scheduleInfoShrink: 'ScheduleInfo',
|
|
2561
|
+
};
|
|
2562
|
+
}
|
|
2563
|
+
static types() {
|
|
2564
|
+
return {
|
|
2565
|
+
alarmsShrink: 'string',
|
|
2566
|
+
hotelId: 'string',
|
|
2567
|
+
scheduleInfoShrink: 'string',
|
|
2568
|
+
};
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
exports.UpdateHotelAlarmShrinkRequest = UpdateHotelAlarmShrinkRequest;
|
|
2572
|
+
class UpdateHotelAlarmResponseBody extends $tea.Model {
|
|
2573
|
+
constructor(map) {
|
|
2574
|
+
super(map);
|
|
2575
|
+
}
|
|
2576
|
+
static names() {
|
|
2577
|
+
return {
|
|
2578
|
+
extentions: 'Extentions',
|
|
2579
|
+
message: 'Message',
|
|
2580
|
+
requestId: 'RequestId',
|
|
2581
|
+
result: 'Result',
|
|
2582
|
+
statusCode: 'StatusCode',
|
|
2583
|
+
};
|
|
2584
|
+
}
|
|
2585
|
+
static types() {
|
|
2586
|
+
return {
|
|
2587
|
+
extentions: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
2588
|
+
message: 'string',
|
|
2589
|
+
requestId: 'string',
|
|
2590
|
+
result: 'number',
|
|
2591
|
+
statusCode: 'number',
|
|
2592
|
+
};
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
exports.UpdateHotelAlarmResponseBody = UpdateHotelAlarmResponseBody;
|
|
2596
|
+
class UpdateHotelAlarmResponse extends $tea.Model {
|
|
2597
|
+
constructor(map) {
|
|
2598
|
+
super(map);
|
|
2599
|
+
}
|
|
2600
|
+
static names() {
|
|
2601
|
+
return {
|
|
2602
|
+
headers: 'headers',
|
|
2603
|
+
statusCode: 'statusCode',
|
|
2604
|
+
body: 'body',
|
|
2605
|
+
};
|
|
2606
|
+
}
|
|
2607
|
+
static types() {
|
|
2608
|
+
return {
|
|
2609
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2610
|
+
statusCode: 'number',
|
|
2611
|
+
body: UpdateHotelAlarmResponseBody,
|
|
2612
|
+
};
|
|
2613
|
+
}
|
|
2614
|
+
}
|
|
2615
|
+
exports.UpdateHotelAlarmResponse = UpdateHotelAlarmResponse;
|
|
2616
|
+
class CreateHotelAlarmRequestScheduleInfoOnce extends $tea.Model {
|
|
2617
|
+
constructor(map) {
|
|
2618
|
+
super(map);
|
|
2619
|
+
}
|
|
2620
|
+
static names() {
|
|
2621
|
+
return {
|
|
2622
|
+
day: 'Day',
|
|
2623
|
+
hour: 'Hour',
|
|
2624
|
+
minute: 'Minute',
|
|
2625
|
+
month: 'Month',
|
|
2626
|
+
year: 'Year',
|
|
2627
|
+
};
|
|
2628
|
+
}
|
|
2629
|
+
static types() {
|
|
2630
|
+
return {
|
|
2631
|
+
day: 'number',
|
|
2632
|
+
hour: 'number',
|
|
2633
|
+
minute: 'number',
|
|
2634
|
+
month: 'number',
|
|
2635
|
+
year: 'number',
|
|
2636
|
+
};
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
exports.CreateHotelAlarmRequestScheduleInfoOnce = CreateHotelAlarmRequestScheduleInfoOnce;
|
|
2640
|
+
class CreateHotelAlarmRequestScheduleInfoWeekly extends $tea.Model {
|
|
2641
|
+
constructor(map) {
|
|
2642
|
+
super(map);
|
|
2643
|
+
}
|
|
2644
|
+
static names() {
|
|
2645
|
+
return {
|
|
2646
|
+
daysOfWeek: 'DaysOfWeek',
|
|
2647
|
+
hour: 'Hour',
|
|
2648
|
+
minute: 'Minute',
|
|
2649
|
+
};
|
|
2650
|
+
}
|
|
2651
|
+
static types() {
|
|
2652
|
+
return {
|
|
2653
|
+
daysOfWeek: { 'type': 'array', 'itemType': 'number' },
|
|
2654
|
+
hour: 'number',
|
|
2655
|
+
minute: 'number',
|
|
2656
|
+
};
|
|
2657
|
+
}
|
|
2658
|
+
}
|
|
2659
|
+
exports.CreateHotelAlarmRequestScheduleInfoWeekly = CreateHotelAlarmRequestScheduleInfoWeekly;
|
|
2660
|
+
class CreateHotelAlarmRequestScheduleInfo extends $tea.Model {
|
|
2661
|
+
constructor(map) {
|
|
2662
|
+
super(map);
|
|
2663
|
+
}
|
|
2664
|
+
static names() {
|
|
2665
|
+
return {
|
|
2666
|
+
once: 'Once',
|
|
2667
|
+
type: 'Type',
|
|
2668
|
+
weekly: 'Weekly',
|
|
2669
|
+
};
|
|
2670
|
+
}
|
|
2671
|
+
static types() {
|
|
2672
|
+
return {
|
|
2673
|
+
once: CreateHotelAlarmRequestScheduleInfoOnce,
|
|
2674
|
+
type: 'string',
|
|
2675
|
+
weekly: CreateHotelAlarmRequestScheduleInfoWeekly,
|
|
2676
|
+
};
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2679
|
+
exports.CreateHotelAlarmRequestScheduleInfo = CreateHotelAlarmRequestScheduleInfo;
|
|
2680
|
+
class CreateHotelAlarmResponseBodyResult extends $tea.Model {
|
|
2681
|
+
constructor(map) {
|
|
2682
|
+
super(map);
|
|
2683
|
+
}
|
|
2684
|
+
static names() {
|
|
2685
|
+
return {
|
|
2686
|
+
alarmId: 'AlarmId',
|
|
2687
|
+
deviceOpenId: 'DeviceOpenId',
|
|
2688
|
+
failMsg: 'FailMsg',
|
|
2689
|
+
roomNo: 'RoomNo',
|
|
2690
|
+
userOpenId: 'UserOpenId',
|
|
2691
|
+
};
|
|
2692
|
+
}
|
|
2693
|
+
static types() {
|
|
2694
|
+
return {
|
|
2695
|
+
alarmId: 'number',
|
|
2696
|
+
deviceOpenId: 'string',
|
|
2697
|
+
failMsg: 'string',
|
|
2698
|
+
roomNo: 'string',
|
|
2699
|
+
userOpenId: 'string',
|
|
2700
|
+
};
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
exports.CreateHotelAlarmResponseBodyResult = CreateHotelAlarmResponseBodyResult;
|
|
2704
|
+
class DeleteHotelAlarmRequestAlarms extends $tea.Model {
|
|
2705
|
+
constructor(map) {
|
|
2706
|
+
super(map);
|
|
2707
|
+
}
|
|
2708
|
+
static names() {
|
|
2709
|
+
return {
|
|
2710
|
+
alarmId: 'AlarmId',
|
|
2711
|
+
deviceOpenId: 'DeviceOpenId',
|
|
2712
|
+
roomNo: 'RoomNo',
|
|
2713
|
+
userOpenId: 'UserOpenId',
|
|
2714
|
+
};
|
|
2715
|
+
}
|
|
2716
|
+
static types() {
|
|
2717
|
+
return {
|
|
2718
|
+
alarmId: 'number',
|
|
2719
|
+
deviceOpenId: 'string',
|
|
2720
|
+
roomNo: 'string',
|
|
2721
|
+
userOpenId: 'string',
|
|
2722
|
+
};
|
|
2723
|
+
}
|
|
2724
|
+
}
|
|
2725
|
+
exports.DeleteHotelAlarmRequestAlarms = DeleteHotelAlarmRequestAlarms;
|
|
2726
|
+
class DeviceControlRequestPayload extends $tea.Model {
|
|
2727
|
+
constructor(map) {
|
|
2728
|
+
super(map);
|
|
2729
|
+
}
|
|
2730
|
+
static names() {
|
|
2731
|
+
return {
|
|
2732
|
+
category: 'Category',
|
|
2733
|
+
cmd: 'Cmd',
|
|
2734
|
+
deviceNumber: 'DeviceNumber',
|
|
2735
|
+
extendInfo: 'ExtendInfo',
|
|
2736
|
+
location: 'Location',
|
|
2737
|
+
properties: 'Properties',
|
|
2738
|
+
};
|
|
2739
|
+
}
|
|
2740
|
+
static types() {
|
|
2741
|
+
return {
|
|
2742
|
+
category: 'string',
|
|
2743
|
+
cmd: 'string',
|
|
2744
|
+
deviceNumber: 'string',
|
|
2745
|
+
extendInfo: 'string',
|
|
2746
|
+
location: 'string',
|
|
2747
|
+
properties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2748
|
+
};
|
|
2749
|
+
}
|
|
2750
|
+
}
|
|
2751
|
+
exports.DeviceControlRequestPayload = DeviceControlRequestPayload;
|
|
2752
|
+
class DeviceControlRequestUserInfo extends $tea.Model {
|
|
2753
|
+
constructor(map) {
|
|
2754
|
+
super(map);
|
|
2755
|
+
}
|
|
2756
|
+
static names() {
|
|
2757
|
+
return {
|
|
2758
|
+
encodeKey: 'EncodeKey',
|
|
2759
|
+
encodeType: 'EncodeType',
|
|
2760
|
+
id: 'Id',
|
|
2761
|
+
idType: 'IdType',
|
|
2762
|
+
organizationId: 'OrganizationId',
|
|
2763
|
+
};
|
|
2764
|
+
}
|
|
2765
|
+
static types() {
|
|
2766
|
+
return {
|
|
2767
|
+
encodeKey: 'string',
|
|
2768
|
+
encodeType: 'string',
|
|
2769
|
+
id: 'string',
|
|
2770
|
+
idType: 'string',
|
|
2771
|
+
organizationId: 'string',
|
|
2772
|
+
};
|
|
2773
|
+
}
|
|
2774
|
+
}
|
|
2775
|
+
exports.DeviceControlRequestUserInfo = DeviceControlRequestUserInfo;
|
|
2776
|
+
class DeviceControlResponseBodyResult extends $tea.Model {
|
|
2777
|
+
constructor(map) {
|
|
2778
|
+
super(map);
|
|
2779
|
+
}
|
|
2780
|
+
static names() {
|
|
2781
|
+
return {
|
|
2782
|
+
status: 'Status',
|
|
2783
|
+
};
|
|
2784
|
+
}
|
|
2785
|
+
static types() {
|
|
2786
|
+
return {
|
|
2787
|
+
status: 'string',
|
|
2788
|
+
};
|
|
2789
|
+
}
|
|
2790
|
+
}
|
|
2791
|
+
exports.DeviceControlResponseBodyResult = DeviceControlResponseBodyResult;
|
|
2792
|
+
class GetHotelHomeBackImageAndModesRequestUserInfo extends $tea.Model {
|
|
2793
|
+
constructor(map) {
|
|
2794
|
+
super(map);
|
|
2795
|
+
}
|
|
2796
|
+
static names() {
|
|
2797
|
+
return {
|
|
2798
|
+
encodeKey: 'EncodeKey',
|
|
2799
|
+
encodeType: 'EncodeType',
|
|
2800
|
+
id: 'Id',
|
|
2801
|
+
idType: 'IdType',
|
|
2802
|
+
organizationId: 'OrganizationId',
|
|
2803
|
+
};
|
|
2804
|
+
}
|
|
2805
|
+
static types() {
|
|
2806
|
+
return {
|
|
2807
|
+
encodeKey: 'string',
|
|
2808
|
+
encodeType: 'string',
|
|
2809
|
+
id: 'string',
|
|
2810
|
+
idType: 'string',
|
|
2811
|
+
organizationId: 'string',
|
|
2812
|
+
};
|
|
2813
|
+
}
|
|
2814
|
+
}
|
|
2815
|
+
exports.GetHotelHomeBackImageAndModesRequestUserInfo = GetHotelHomeBackImageAndModesRequestUserInfo;
|
|
2816
|
+
class GetHotelHomeBackImageAndModesResponseBodyResultModeList extends $tea.Model {
|
|
2817
|
+
constructor(map) {
|
|
2818
|
+
super(map);
|
|
2819
|
+
}
|
|
2820
|
+
static names() {
|
|
2821
|
+
return {
|
|
2822
|
+
cnName: 'CnName',
|
|
2823
|
+
code: 'Code',
|
|
2824
|
+
icon: 'Icon',
|
|
2825
|
+
};
|
|
2826
|
+
}
|
|
2827
|
+
static types() {
|
|
2828
|
+
return {
|
|
2829
|
+
cnName: 'string',
|
|
2830
|
+
code: 'string',
|
|
2831
|
+
icon: 'string',
|
|
2832
|
+
};
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2835
|
+
exports.GetHotelHomeBackImageAndModesResponseBodyResultModeList = GetHotelHomeBackImageAndModesResponseBodyResultModeList;
|
|
2836
|
+
class GetHotelHomeBackImageAndModesResponseBodyResult extends $tea.Model {
|
|
2837
|
+
constructor(map) {
|
|
2838
|
+
super(map);
|
|
2839
|
+
}
|
|
2840
|
+
static names() {
|
|
2841
|
+
return {
|
|
2842
|
+
backgroundImage: 'BackgroundImage',
|
|
2843
|
+
hotelName: 'HotelName',
|
|
2844
|
+
modeList: 'ModeList',
|
|
2845
|
+
};
|
|
2846
|
+
}
|
|
2847
|
+
static types() {
|
|
2848
|
+
return {
|
|
2849
|
+
backgroundImage: 'string',
|
|
2850
|
+
hotelName: 'string',
|
|
2851
|
+
modeList: { 'type': 'array', 'itemType': GetHotelHomeBackImageAndModesResponseBodyResultModeList },
|
|
2852
|
+
};
|
|
2853
|
+
}
|
|
2854
|
+
}
|
|
2855
|
+
exports.GetHotelHomeBackImageAndModesResponseBodyResult = GetHotelHomeBackImageAndModesResponseBodyResult;
|
|
2856
|
+
class GetHotelNoticeRequestUserInfo extends $tea.Model {
|
|
2857
|
+
constructor(map) {
|
|
2858
|
+
super(map);
|
|
2859
|
+
}
|
|
2860
|
+
static names() {
|
|
2861
|
+
return {
|
|
2862
|
+
encodeKey: 'EncodeKey',
|
|
2863
|
+
encodeType: 'EncodeType',
|
|
2864
|
+
id: 'Id',
|
|
2865
|
+
idType: 'IdType',
|
|
2866
|
+
organizationId: 'OrganizationId',
|
|
2867
|
+
};
|
|
2868
|
+
}
|
|
2869
|
+
static types() {
|
|
2870
|
+
return {
|
|
2871
|
+
encodeKey: 'string',
|
|
2872
|
+
encodeType: 'string',
|
|
2873
|
+
id: 'string',
|
|
2874
|
+
idType: 'string',
|
|
2875
|
+
organizationId: 'string',
|
|
2876
|
+
};
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
exports.GetHotelNoticeRequestUserInfo = GetHotelNoticeRequestUserInfo;
|
|
2880
|
+
class GetHotelOrderDetailRequestPayload extends $tea.Model {
|
|
2881
|
+
constructor(map) {
|
|
2882
|
+
super(map);
|
|
2883
|
+
}
|
|
2884
|
+
static names() {
|
|
2885
|
+
return {
|
|
2886
|
+
orderNo: 'OrderNo',
|
|
2887
|
+
};
|
|
2888
|
+
}
|
|
2889
|
+
static types() {
|
|
2890
|
+
return {
|
|
2891
|
+
orderNo: 'string',
|
|
2892
|
+
};
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
exports.GetHotelOrderDetailRequestPayload = GetHotelOrderDetailRequestPayload;
|
|
2896
|
+
class GetHotelOrderDetailResponseBodyResult extends $tea.Model {
|
|
2897
|
+
constructor(map) {
|
|
2898
|
+
super(map);
|
|
2899
|
+
}
|
|
2900
|
+
static names() {
|
|
2901
|
+
return {
|
|
2902
|
+
applyAmt: 'ApplyAmt',
|
|
2903
|
+
gmtCreate: 'GmtCreate',
|
|
2904
|
+
itemUrl: 'ItemUrl',
|
|
2905
|
+
name: 'Name',
|
|
2906
|
+
quantity: 'Quantity',
|
|
2907
|
+
};
|
|
2908
|
+
}
|
|
2909
|
+
static types() {
|
|
2910
|
+
return {
|
|
2911
|
+
applyAmt: 'number',
|
|
2912
|
+
gmtCreate: 'number',
|
|
2913
|
+
itemUrl: 'string',
|
|
2914
|
+
name: 'string',
|
|
2915
|
+
quantity: 'number',
|
|
2916
|
+
};
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2919
|
+
exports.GetHotelOrderDetailResponseBodyResult = GetHotelOrderDetailResponseBodyResult;
|
|
2920
|
+
class GetHotelRoomDeviceResponseBodyResult extends $tea.Model {
|
|
2921
|
+
constructor(map) {
|
|
2922
|
+
super(map);
|
|
2923
|
+
}
|
|
2924
|
+
static names() {
|
|
2925
|
+
return {
|
|
2926
|
+
firmwareVersion: 'FirmwareVersion',
|
|
2927
|
+
hotelId: 'HotelId',
|
|
2928
|
+
mac: 'Mac',
|
|
2929
|
+
onlineStatus: 'OnlineStatus',
|
|
2930
|
+
roomNo: 'RoomNo',
|
|
2931
|
+
sn: 'Sn',
|
|
2932
|
+
};
|
|
2933
|
+
}
|
|
2934
|
+
static types() {
|
|
2935
|
+
return {
|
|
2936
|
+
firmwareVersion: 'string',
|
|
2937
|
+
hotelId: 'string',
|
|
2938
|
+
mac: 'string',
|
|
2939
|
+
onlineStatus: 'number',
|
|
2940
|
+
roomNo: 'string',
|
|
2941
|
+
sn: 'string',
|
|
2942
|
+
};
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2945
|
+
exports.GetHotelRoomDeviceResponseBodyResult = GetHotelRoomDeviceResponseBodyResult;
|
|
2946
|
+
class GetHotelSampleUtterancesRequestUserInfo extends $tea.Model {
|
|
2947
|
+
constructor(map) {
|
|
2948
|
+
super(map);
|
|
2949
|
+
}
|
|
2950
|
+
static names() {
|
|
2951
|
+
return {
|
|
2952
|
+
encodeKey: 'EncodeKey',
|
|
2953
|
+
encodeType: 'EncodeType',
|
|
2954
|
+
id: 'Id',
|
|
2955
|
+
idType: 'IdType',
|
|
2956
|
+
organizationId: 'OrganizationId',
|
|
2957
|
+
};
|
|
2958
|
+
}
|
|
2959
|
+
static types() {
|
|
2960
|
+
return {
|
|
2961
|
+
encodeKey: 'string',
|
|
2962
|
+
encodeType: 'string',
|
|
2963
|
+
id: 'string',
|
|
2964
|
+
idType: 'string',
|
|
2965
|
+
organizationId: 'string',
|
|
2966
|
+
};
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
exports.GetHotelSampleUtterancesRequestUserInfo = GetHotelSampleUtterancesRequestUserInfo;
|
|
2970
|
+
class GetHotelScreenSaverRequestUserInfo extends $tea.Model {
|
|
2971
|
+
constructor(map) {
|
|
2972
|
+
super(map);
|
|
2973
|
+
}
|
|
2974
|
+
static names() {
|
|
2975
|
+
return {
|
|
2976
|
+
encodeKey: 'EncodeKey',
|
|
2977
|
+
encodeType: 'EncodeType',
|
|
2978
|
+
id: 'Id',
|
|
2979
|
+
idType: 'IdType',
|
|
2980
|
+
organizationId: 'OrganizationId',
|
|
2981
|
+
};
|
|
2982
|
+
}
|
|
2983
|
+
static types() {
|
|
2984
|
+
return {
|
|
2985
|
+
encodeKey: 'string',
|
|
2986
|
+
encodeType: 'string',
|
|
2987
|
+
id: 'string',
|
|
1488
2988
|
idType: 'string',
|
|
1489
2989
|
organizationId: 'string',
|
|
1490
2990
|
};
|
|
@@ -1509,6 +3009,132 @@ class GetHotelScreenSaverResponseBodyResult extends $tea.Model {
|
|
|
1509
3009
|
}
|
|
1510
3010
|
}
|
|
1511
3011
|
exports.GetHotelScreenSaverResponseBodyResult = GetHotelScreenSaverResponseBodyResult;
|
|
3012
|
+
class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
|
|
3013
|
+
constructor(map) {
|
|
3014
|
+
super(map);
|
|
3015
|
+
}
|
|
3016
|
+
static names() {
|
|
3017
|
+
return {
|
|
3018
|
+
deviceName: 'DeviceName',
|
|
3019
|
+
name: 'Name',
|
|
3020
|
+
number: 'Number',
|
|
3021
|
+
};
|
|
3022
|
+
}
|
|
3023
|
+
static types() {
|
|
3024
|
+
return {
|
|
3025
|
+
deviceName: 'string',
|
|
3026
|
+
name: 'string',
|
|
3027
|
+
number: 'string',
|
|
3028
|
+
};
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
exports.ImportRoomControlDevicesRequestLocationDevicesDevices = ImportRoomControlDevicesRequestLocationDevicesDevices;
|
|
3032
|
+
class ImportRoomControlDevicesRequestLocationDevices extends $tea.Model {
|
|
3033
|
+
constructor(map) {
|
|
3034
|
+
super(map);
|
|
3035
|
+
}
|
|
3036
|
+
static names() {
|
|
3037
|
+
return {
|
|
3038
|
+
devices: 'Devices',
|
|
3039
|
+
location: 'Location',
|
|
3040
|
+
locationName: 'LocationName',
|
|
3041
|
+
};
|
|
3042
|
+
}
|
|
3043
|
+
static types() {
|
|
3044
|
+
return {
|
|
3045
|
+
devices: { 'type': 'array', 'itemType': ImportRoomControlDevicesRequestLocationDevicesDevices },
|
|
3046
|
+
location: 'string',
|
|
3047
|
+
locationName: 'string',
|
|
3048
|
+
};
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
3051
|
+
exports.ImportRoomControlDevicesRequestLocationDevices = ImportRoomControlDevicesRequestLocationDevices;
|
|
3052
|
+
class ListHotelAlarmResponseBodyResultScheduleInfoOnce extends $tea.Model {
|
|
3053
|
+
constructor(map) {
|
|
3054
|
+
super(map);
|
|
3055
|
+
}
|
|
3056
|
+
static names() {
|
|
3057
|
+
return {
|
|
3058
|
+
day: 'Day',
|
|
3059
|
+
hour: 'Hour',
|
|
3060
|
+
minute: 'Minute',
|
|
3061
|
+
month: 'Month',
|
|
3062
|
+
year: 'Year',
|
|
3063
|
+
};
|
|
3064
|
+
}
|
|
3065
|
+
static types() {
|
|
3066
|
+
return {
|
|
3067
|
+
day: 'number',
|
|
3068
|
+
hour: 'number',
|
|
3069
|
+
minute: 'number',
|
|
3070
|
+
month: 'number',
|
|
3071
|
+
year: 'number',
|
|
3072
|
+
};
|
|
3073
|
+
}
|
|
3074
|
+
}
|
|
3075
|
+
exports.ListHotelAlarmResponseBodyResultScheduleInfoOnce = ListHotelAlarmResponseBodyResultScheduleInfoOnce;
|
|
3076
|
+
class ListHotelAlarmResponseBodyResultScheduleInfoWeekly extends $tea.Model {
|
|
3077
|
+
constructor(map) {
|
|
3078
|
+
super(map);
|
|
3079
|
+
}
|
|
3080
|
+
static names() {
|
|
3081
|
+
return {
|
|
3082
|
+
daysOfWeek: 'DaysOfWeek',
|
|
3083
|
+
hour: 'Hour',
|
|
3084
|
+
minute: 'Minute',
|
|
3085
|
+
};
|
|
3086
|
+
}
|
|
3087
|
+
static types() {
|
|
3088
|
+
return {
|
|
3089
|
+
daysOfWeek: { 'type': 'array', 'itemType': 'number' },
|
|
3090
|
+
hour: 'number',
|
|
3091
|
+
minute: 'number',
|
|
3092
|
+
};
|
|
3093
|
+
}
|
|
3094
|
+
}
|
|
3095
|
+
exports.ListHotelAlarmResponseBodyResultScheduleInfoWeekly = ListHotelAlarmResponseBodyResultScheduleInfoWeekly;
|
|
3096
|
+
class ListHotelAlarmResponseBodyResultScheduleInfo extends $tea.Model {
|
|
3097
|
+
constructor(map) {
|
|
3098
|
+
super(map);
|
|
3099
|
+
}
|
|
3100
|
+
static names() {
|
|
3101
|
+
return {
|
|
3102
|
+
once: 'Once',
|
|
3103
|
+
type: 'Type',
|
|
3104
|
+
weekly: 'Weekly',
|
|
3105
|
+
};
|
|
3106
|
+
}
|
|
3107
|
+
static types() {
|
|
3108
|
+
return {
|
|
3109
|
+
once: ListHotelAlarmResponseBodyResultScheduleInfoOnce,
|
|
3110
|
+
type: 'string',
|
|
3111
|
+
weekly: ListHotelAlarmResponseBodyResultScheduleInfoWeekly,
|
|
3112
|
+
};
|
|
3113
|
+
}
|
|
3114
|
+
}
|
|
3115
|
+
exports.ListHotelAlarmResponseBodyResultScheduleInfo = ListHotelAlarmResponseBodyResultScheduleInfo;
|
|
3116
|
+
class ListHotelAlarmResponseBodyResult extends $tea.Model {
|
|
3117
|
+
constructor(map) {
|
|
3118
|
+
super(map);
|
|
3119
|
+
}
|
|
3120
|
+
static names() {
|
|
3121
|
+
return {
|
|
3122
|
+
alarmId: 'AlarmId',
|
|
3123
|
+
deviceOpenId: 'DeviceOpenId',
|
|
3124
|
+
scheduleInfo: 'ScheduleInfo',
|
|
3125
|
+
userOpenId: 'UserOpenId',
|
|
3126
|
+
};
|
|
3127
|
+
}
|
|
3128
|
+
static types() {
|
|
3129
|
+
return {
|
|
3130
|
+
alarmId: 'number',
|
|
3131
|
+
deviceOpenId: 'string',
|
|
3132
|
+
scheduleInfo: ListHotelAlarmResponseBodyResultScheduleInfo,
|
|
3133
|
+
userOpenId: 'string',
|
|
3134
|
+
};
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
exports.ListHotelAlarmResponseBodyResult = ListHotelAlarmResponseBodyResult;
|
|
1512
3138
|
class ListHotelControlDeviceRequestUserInfo extends $tea.Model {
|
|
1513
3139
|
constructor(map) {
|
|
1514
3140
|
super(map);
|
|
@@ -1533,6 +3159,68 @@ class ListHotelControlDeviceRequestUserInfo extends $tea.Model {
|
|
|
1533
3159
|
}
|
|
1534
3160
|
}
|
|
1535
3161
|
exports.ListHotelControlDeviceRequestUserInfo = ListHotelControlDeviceRequestUserInfo;
|
|
3162
|
+
class ListHotelInfoResponseBodyResultAuthAccount extends $tea.Model {
|
|
3163
|
+
constructor(map) {
|
|
3164
|
+
super(map);
|
|
3165
|
+
}
|
|
3166
|
+
static names() {
|
|
3167
|
+
return {
|
|
3168
|
+
userName: 'UserName',
|
|
3169
|
+
};
|
|
3170
|
+
}
|
|
3171
|
+
static types() {
|
|
3172
|
+
return {
|
|
3173
|
+
userName: 'string',
|
|
3174
|
+
};
|
|
3175
|
+
}
|
|
3176
|
+
}
|
|
3177
|
+
exports.ListHotelInfoResponseBodyResultAuthAccount = ListHotelInfoResponseBodyResultAuthAccount;
|
|
3178
|
+
class ListHotelInfoResponseBodyResult extends $tea.Model {
|
|
3179
|
+
constructor(map) {
|
|
3180
|
+
super(map);
|
|
3181
|
+
}
|
|
3182
|
+
static names() {
|
|
3183
|
+
return {
|
|
3184
|
+
authAccount: 'AuthAccount',
|
|
3185
|
+
hotelAddress: 'HotelAddress',
|
|
3186
|
+
hotelId: 'HotelId',
|
|
3187
|
+
hotelName: 'HotelName',
|
|
3188
|
+
};
|
|
3189
|
+
}
|
|
3190
|
+
static types() {
|
|
3191
|
+
return {
|
|
3192
|
+
authAccount: { 'type': 'array', 'itemType': ListHotelInfoResponseBodyResultAuthAccount },
|
|
3193
|
+
hotelAddress: 'string',
|
|
3194
|
+
hotelId: 'string',
|
|
3195
|
+
hotelName: 'string',
|
|
3196
|
+
};
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3199
|
+
exports.ListHotelInfoResponseBodyResult = ListHotelInfoResponseBodyResult;
|
|
3200
|
+
class ListHotelMessageTemplateResponseBodyResult extends $tea.Model {
|
|
3201
|
+
constructor(map) {
|
|
3202
|
+
super(map);
|
|
3203
|
+
}
|
|
3204
|
+
static names() {
|
|
3205
|
+
return {
|
|
3206
|
+
auditMark: 'AuditMark',
|
|
3207
|
+
auditStatus: 'AuditStatus',
|
|
3208
|
+
templateDetail: 'TemplateDetail',
|
|
3209
|
+
templateId: 'TemplateId',
|
|
3210
|
+
templateName: 'TemplateName',
|
|
3211
|
+
};
|
|
3212
|
+
}
|
|
3213
|
+
static types() {
|
|
3214
|
+
return {
|
|
3215
|
+
auditMark: 'string',
|
|
3216
|
+
auditStatus: 'string',
|
|
3217
|
+
templateDetail: 'string',
|
|
3218
|
+
templateId: 'number',
|
|
3219
|
+
templateName: 'string',
|
|
3220
|
+
};
|
|
3221
|
+
}
|
|
3222
|
+
}
|
|
3223
|
+
exports.ListHotelMessageTemplateResponseBodyResult = ListHotelMessageTemplateResponseBodyResult;
|
|
1536
3224
|
class ListHotelOrderRequestPayloadPage extends $tea.Model {
|
|
1537
3225
|
constructor(map) {
|
|
1538
3226
|
super(map);
|
|
@@ -1647,6 +3335,24 @@ class ListHotelOrderResponseBodyResult extends $tea.Model {
|
|
|
1647
3335
|
}
|
|
1648
3336
|
}
|
|
1649
3337
|
exports.ListHotelOrderResponseBodyResult = ListHotelOrderResponseBodyResult;
|
|
3338
|
+
class ListHotelRoomsResponseBodyResult extends $tea.Model {
|
|
3339
|
+
constructor(map) {
|
|
3340
|
+
super(map);
|
|
3341
|
+
}
|
|
3342
|
+
static names() {
|
|
3343
|
+
return {
|
|
3344
|
+
hotelId: 'HotelId',
|
|
3345
|
+
roomNo: 'RoomNo',
|
|
3346
|
+
};
|
|
3347
|
+
}
|
|
3348
|
+
static types() {
|
|
3349
|
+
return {
|
|
3350
|
+
hotelId: 'string',
|
|
3351
|
+
roomNo: 'string',
|
|
3352
|
+
};
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
exports.ListHotelRoomsResponseBodyResult = ListHotelRoomsResponseBodyResult;
|
|
1650
3356
|
class ListHotelSceneItemRequestPayload extends $tea.Model {
|
|
1651
3357
|
constructor(map) {
|
|
1652
3358
|
super(map);
|
|
@@ -1813,6 +3519,28 @@ class ListHotelServiceCategoryResponseBodyResult extends $tea.Model {
|
|
|
1813
3519
|
}
|
|
1814
3520
|
}
|
|
1815
3521
|
exports.ListHotelServiceCategoryResponseBodyResult = ListHotelServiceCategoryResponseBodyResult;
|
|
3522
|
+
class PushHotelMessageRequestPushHotelMessageReq extends $tea.Model {
|
|
3523
|
+
constructor(map) {
|
|
3524
|
+
super(map);
|
|
3525
|
+
}
|
|
3526
|
+
static names() {
|
|
3527
|
+
return {
|
|
3528
|
+
hotelId: 'HotelId',
|
|
3529
|
+
paramMap: 'ParamMap',
|
|
3530
|
+
roomNo: 'RoomNo',
|
|
3531
|
+
templateId: 'TemplateId',
|
|
3532
|
+
};
|
|
3533
|
+
}
|
|
3534
|
+
static types() {
|
|
3535
|
+
return {
|
|
3536
|
+
hotelId: 'string',
|
|
3537
|
+
paramMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3538
|
+
roomNo: 'string',
|
|
3539
|
+
templateId: 'number',
|
|
3540
|
+
};
|
|
3541
|
+
}
|
|
3542
|
+
}
|
|
3543
|
+
exports.PushHotelMessageRequestPushHotelMessageReq = PushHotelMessageRequestPushHotelMessageReq;
|
|
1816
3544
|
class QueryDeviceStatusRequestPayloadLocationDevices extends $tea.Model {
|
|
1817
3545
|
constructor(map) {
|
|
1818
3546
|
super(map);
|
|
@@ -1890,37 +3618,77 @@ class QueryHotelProductRequestUserInfo extends $tea.Model {
|
|
|
1890
3618
|
}
|
|
1891
3619
|
static types() {
|
|
1892
3620
|
return {
|
|
1893
|
-
encodeKey: 'string',
|
|
1894
|
-
encodeType: 'string',
|
|
1895
|
-
id: 'string',
|
|
1896
|
-
idType: 'string',
|
|
1897
|
-
organizationId: 'string',
|
|
3621
|
+
encodeKey: 'string',
|
|
3622
|
+
encodeType: 'string',
|
|
3623
|
+
id: 'string',
|
|
3624
|
+
idType: 'string',
|
|
3625
|
+
organizationId: 'string',
|
|
3626
|
+
};
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
exports.QueryHotelProductRequestUserInfo = QueryHotelProductRequestUserInfo;
|
|
3630
|
+
class QueryHotelProductResponseBodyResult extends $tea.Model {
|
|
3631
|
+
constructor(map) {
|
|
3632
|
+
super(map);
|
|
3633
|
+
}
|
|
3634
|
+
static names() {
|
|
3635
|
+
return {
|
|
3636
|
+
hotelId: 'HotelId',
|
|
3637
|
+
hotelName: 'HotelName',
|
|
3638
|
+
productKey: 'ProductKey',
|
|
3639
|
+
productName: 'ProductName',
|
|
3640
|
+
};
|
|
3641
|
+
}
|
|
3642
|
+
static types() {
|
|
3643
|
+
return {
|
|
3644
|
+
hotelId: 'string',
|
|
3645
|
+
hotelName: 'string',
|
|
3646
|
+
productKey: 'string',
|
|
3647
|
+
productName: 'string',
|
|
3648
|
+
};
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
exports.QueryHotelProductResponseBodyResult = QueryHotelProductResponseBodyResult;
|
|
3652
|
+
class QueryRoomControlDevicesResponseBodyResultDevices extends $tea.Model {
|
|
3653
|
+
constructor(map) {
|
|
3654
|
+
super(map);
|
|
3655
|
+
}
|
|
3656
|
+
static names() {
|
|
3657
|
+
return {
|
|
3658
|
+
deviceName: 'DeviceName',
|
|
3659
|
+
name: 'Name',
|
|
3660
|
+
number: 'Number',
|
|
3661
|
+
};
|
|
3662
|
+
}
|
|
3663
|
+
static types() {
|
|
3664
|
+
return {
|
|
3665
|
+
deviceName: 'string',
|
|
3666
|
+
name: 'string',
|
|
3667
|
+
number: 'string',
|
|
1898
3668
|
};
|
|
1899
3669
|
}
|
|
1900
3670
|
}
|
|
1901
|
-
exports.
|
|
1902
|
-
class
|
|
3671
|
+
exports.QueryRoomControlDevicesResponseBodyResultDevices = QueryRoomControlDevicesResponseBodyResultDevices;
|
|
3672
|
+
class QueryRoomControlDevicesResponseBodyResult extends $tea.Model {
|
|
1903
3673
|
constructor(map) {
|
|
1904
3674
|
super(map);
|
|
1905
3675
|
}
|
|
1906
3676
|
static names() {
|
|
1907
3677
|
return {
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
productName: 'ProductName',
|
|
3678
|
+
devices: 'Devices',
|
|
3679
|
+
location: 'Location',
|
|
3680
|
+
locationName: 'LocationName',
|
|
1912
3681
|
};
|
|
1913
3682
|
}
|
|
1914
3683
|
static types() {
|
|
1915
3684
|
return {
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
productName: 'string',
|
|
3685
|
+
devices: { 'type': 'array', 'itemType': QueryRoomControlDevicesResponseBodyResultDevices },
|
|
3686
|
+
location: 'string',
|
|
3687
|
+
locationName: 'string',
|
|
1920
3688
|
};
|
|
1921
3689
|
}
|
|
1922
3690
|
}
|
|
1923
|
-
exports.
|
|
3691
|
+
exports.QueryRoomControlDevicesResponseBodyResult = QueryRoomControlDevicesResponseBodyResult;
|
|
1924
3692
|
class RoomCheckOutRequestDeviceInfo extends $tea.Model {
|
|
1925
3693
|
constructor(map) {
|
|
1926
3694
|
super(map);
|
|
@@ -2029,6 +3797,92 @@ class SubmitHotelOrderRequestUserInfo extends $tea.Model {
|
|
|
2029
3797
|
}
|
|
2030
3798
|
}
|
|
2031
3799
|
exports.SubmitHotelOrderRequestUserInfo = SubmitHotelOrderRequestUserInfo;
|
|
3800
|
+
class UpdateHotelAlarmRequestAlarms extends $tea.Model {
|
|
3801
|
+
constructor(map) {
|
|
3802
|
+
super(map);
|
|
3803
|
+
}
|
|
3804
|
+
static names() {
|
|
3805
|
+
return {
|
|
3806
|
+
alarmId: 'AlarmId',
|
|
3807
|
+
deviceOpenId: 'DeviceOpenId',
|
|
3808
|
+
roomNo: 'RoomNo',
|
|
3809
|
+
userOpenId: 'UserOpenId',
|
|
3810
|
+
};
|
|
3811
|
+
}
|
|
3812
|
+
static types() {
|
|
3813
|
+
return {
|
|
3814
|
+
alarmId: 'number',
|
|
3815
|
+
deviceOpenId: 'string',
|
|
3816
|
+
roomNo: 'string',
|
|
3817
|
+
userOpenId: 'string',
|
|
3818
|
+
};
|
|
3819
|
+
}
|
|
3820
|
+
}
|
|
3821
|
+
exports.UpdateHotelAlarmRequestAlarms = UpdateHotelAlarmRequestAlarms;
|
|
3822
|
+
class UpdateHotelAlarmRequestScheduleInfoOnce extends $tea.Model {
|
|
3823
|
+
constructor(map) {
|
|
3824
|
+
super(map);
|
|
3825
|
+
}
|
|
3826
|
+
static names() {
|
|
3827
|
+
return {
|
|
3828
|
+
day: 'Day',
|
|
3829
|
+
hour: 'Hour',
|
|
3830
|
+
minute: 'Minute',
|
|
3831
|
+
month: 'Month',
|
|
3832
|
+
year: 'Year',
|
|
3833
|
+
};
|
|
3834
|
+
}
|
|
3835
|
+
static types() {
|
|
3836
|
+
return {
|
|
3837
|
+
day: 'number',
|
|
3838
|
+
hour: 'number',
|
|
3839
|
+
minute: 'number',
|
|
3840
|
+
month: 'number',
|
|
3841
|
+
year: 'number',
|
|
3842
|
+
};
|
|
3843
|
+
}
|
|
3844
|
+
}
|
|
3845
|
+
exports.UpdateHotelAlarmRequestScheduleInfoOnce = UpdateHotelAlarmRequestScheduleInfoOnce;
|
|
3846
|
+
class UpdateHotelAlarmRequestScheduleInfoWeekly extends $tea.Model {
|
|
3847
|
+
constructor(map) {
|
|
3848
|
+
super(map);
|
|
3849
|
+
}
|
|
3850
|
+
static names() {
|
|
3851
|
+
return {
|
|
3852
|
+
daysOfWeek: 'DaysOfWeek',
|
|
3853
|
+
hour: 'Hour',
|
|
3854
|
+
minute: 'Minute',
|
|
3855
|
+
};
|
|
3856
|
+
}
|
|
3857
|
+
static types() {
|
|
3858
|
+
return {
|
|
3859
|
+
daysOfWeek: { 'type': 'array', 'itemType': 'number' },
|
|
3860
|
+
hour: 'number',
|
|
3861
|
+
minute: 'number',
|
|
3862
|
+
};
|
|
3863
|
+
}
|
|
3864
|
+
}
|
|
3865
|
+
exports.UpdateHotelAlarmRequestScheduleInfoWeekly = UpdateHotelAlarmRequestScheduleInfoWeekly;
|
|
3866
|
+
class UpdateHotelAlarmRequestScheduleInfo extends $tea.Model {
|
|
3867
|
+
constructor(map) {
|
|
3868
|
+
super(map);
|
|
3869
|
+
}
|
|
3870
|
+
static names() {
|
|
3871
|
+
return {
|
|
3872
|
+
once: 'Once',
|
|
3873
|
+
type: 'Type',
|
|
3874
|
+
weekly: 'Weekly',
|
|
3875
|
+
};
|
|
3876
|
+
}
|
|
3877
|
+
static types() {
|
|
3878
|
+
return {
|
|
3879
|
+
once: UpdateHotelAlarmRequestScheduleInfoOnce,
|
|
3880
|
+
type: 'string',
|
|
3881
|
+
weekly: UpdateHotelAlarmRequestScheduleInfoWeekly,
|
|
3882
|
+
};
|
|
3883
|
+
}
|
|
3884
|
+
}
|
|
3885
|
+
exports.UpdateHotelAlarmRequestScheduleInfo = UpdateHotelAlarmRequestScheduleInfo;
|
|
2032
3886
|
class Client extends openapi_client_1.default {
|
|
2033
3887
|
constructor(config) {
|
|
2034
3888
|
super(config);
|
|
@@ -2045,6 +3899,240 @@ class Client extends openapi_client_1.default {
|
|
|
2045
3899
|
}
|
|
2046
3900
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
2047
3901
|
}
|
|
3902
|
+
async addMessageTemplate(request) {
|
|
3903
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3904
|
+
let headers = new AddMessageTemplateHeaders({});
|
|
3905
|
+
return await this.addMessageTemplateWithOptions(request, headers, runtime);
|
|
3906
|
+
}
|
|
3907
|
+
async addMessageTemplateWithOptions(request, headers, runtime) {
|
|
3908
|
+
tea_util_1.default.validateModel(request);
|
|
3909
|
+
let body = {};
|
|
3910
|
+
if (!tea_util_1.default.isUnset(request.templateDetail)) {
|
|
3911
|
+
body["TemplateDetail"] = request.templateDetail;
|
|
3912
|
+
}
|
|
3913
|
+
if (!tea_util_1.default.isUnset(request.templateName)) {
|
|
3914
|
+
body["TemplateName"] = request.templateName;
|
|
3915
|
+
}
|
|
3916
|
+
let realHeaders = {};
|
|
3917
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3918
|
+
realHeaders = headers.commonHeaders;
|
|
3919
|
+
}
|
|
3920
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
3921
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
3922
|
+
}
|
|
3923
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
3924
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
3925
|
+
}
|
|
3926
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3927
|
+
headers: realHeaders,
|
|
3928
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3929
|
+
});
|
|
3930
|
+
let params = new $OpenApi.Params({
|
|
3931
|
+
action: "AddMessageTemplate",
|
|
3932
|
+
version: "ip_1.0",
|
|
3933
|
+
protocol: "HTTPS",
|
|
3934
|
+
pathname: `/v1.0/ip/addMessageTemplate`,
|
|
3935
|
+
method: "POST",
|
|
3936
|
+
authType: "AK",
|
|
3937
|
+
style: "ROA",
|
|
3938
|
+
reqBodyType: "formData",
|
|
3939
|
+
bodyType: "json",
|
|
3940
|
+
});
|
|
3941
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AddMessageTemplateResponse({}));
|
|
3942
|
+
}
|
|
3943
|
+
async batchAddHotelRoom(request) {
|
|
3944
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3945
|
+
let headers = new BatchAddHotelRoomHeaders({});
|
|
3946
|
+
return await this.batchAddHotelRoomWithOptions(request, headers, runtime);
|
|
3947
|
+
}
|
|
3948
|
+
async batchAddHotelRoomWithOptions(tmpReq, headers, runtime) {
|
|
3949
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3950
|
+
let request = new BatchAddHotelRoomShrinkRequest({});
|
|
3951
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3952
|
+
if (!tea_util_1.default.isUnset(tmpReq.roomNoList)) {
|
|
3953
|
+
request.roomNoListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.roomNoList, "RoomNoList", "simple");
|
|
3954
|
+
}
|
|
3955
|
+
let body = {};
|
|
3956
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
3957
|
+
body["HotelId"] = request.hotelId;
|
|
3958
|
+
}
|
|
3959
|
+
if (!tea_util_1.default.isUnset(request.roomNoListShrink)) {
|
|
3960
|
+
body["RoomNoList"] = request.roomNoListShrink;
|
|
3961
|
+
}
|
|
3962
|
+
let realHeaders = {};
|
|
3963
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3964
|
+
realHeaders = headers.commonHeaders;
|
|
3965
|
+
}
|
|
3966
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
3967
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
3968
|
+
}
|
|
3969
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
3970
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
3971
|
+
}
|
|
3972
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3973
|
+
headers: realHeaders,
|
|
3974
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3975
|
+
});
|
|
3976
|
+
let params = new $OpenApi.Params({
|
|
3977
|
+
action: "BatchAddHotelRoom",
|
|
3978
|
+
version: "ip_1.0",
|
|
3979
|
+
protocol: "HTTPS",
|
|
3980
|
+
pathname: `/v1.0/ip/batchAddHotelRoom`,
|
|
3981
|
+
method: "POST",
|
|
3982
|
+
authType: "AK",
|
|
3983
|
+
style: "ROA",
|
|
3984
|
+
reqBodyType: "formData",
|
|
3985
|
+
bodyType: "json",
|
|
3986
|
+
});
|
|
3987
|
+
return $tea.cast(await this.callApi(params, req, runtime), new BatchAddHotelRoomResponse({}));
|
|
3988
|
+
}
|
|
3989
|
+
async batchDeleteHotelRoom(request) {
|
|
3990
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3991
|
+
let headers = new BatchDeleteHotelRoomHeaders({});
|
|
3992
|
+
return await this.batchDeleteHotelRoomWithOptions(request, headers, runtime);
|
|
3993
|
+
}
|
|
3994
|
+
async batchDeleteHotelRoomWithOptions(tmpReq, headers, runtime) {
|
|
3995
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3996
|
+
let request = new BatchDeleteHotelRoomShrinkRequest({});
|
|
3997
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3998
|
+
if (!tea_util_1.default.isUnset(tmpReq.roomNoList)) {
|
|
3999
|
+
request.roomNoListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.roomNoList, "RoomNoList", "simple");
|
|
4000
|
+
}
|
|
4001
|
+
let body = {};
|
|
4002
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
4003
|
+
body["HotelId"] = request.hotelId;
|
|
4004
|
+
}
|
|
4005
|
+
if (!tea_util_1.default.isUnset(request.roomNoListShrink)) {
|
|
4006
|
+
body["RoomNoList"] = request.roomNoListShrink;
|
|
4007
|
+
}
|
|
4008
|
+
let realHeaders = {};
|
|
4009
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4010
|
+
realHeaders = headers.commonHeaders;
|
|
4011
|
+
}
|
|
4012
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4013
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4014
|
+
}
|
|
4015
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4016
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4017
|
+
}
|
|
4018
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4019
|
+
headers: realHeaders,
|
|
4020
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4021
|
+
});
|
|
4022
|
+
let params = new $OpenApi.Params({
|
|
4023
|
+
action: "BatchDeleteHotelRoom",
|
|
4024
|
+
version: "ip_1.0",
|
|
4025
|
+
protocol: "HTTPS",
|
|
4026
|
+
pathname: `/v1.0/ip/batchDeleteHotelRoom`,
|
|
4027
|
+
method: "POST",
|
|
4028
|
+
authType: "AK",
|
|
4029
|
+
style: "ROA",
|
|
4030
|
+
reqBodyType: "formData",
|
|
4031
|
+
bodyType: "json",
|
|
4032
|
+
});
|
|
4033
|
+
return $tea.cast(await this.callApi(params, req, runtime), new BatchDeleteHotelRoomResponse({}));
|
|
4034
|
+
}
|
|
4035
|
+
async createHotelAlarm(request) {
|
|
4036
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4037
|
+
let headers = new CreateHotelAlarmHeaders({});
|
|
4038
|
+
return await this.createHotelAlarmWithOptions(request, headers, runtime);
|
|
4039
|
+
}
|
|
4040
|
+
async createHotelAlarmWithOptions(tmpReq, headers, runtime) {
|
|
4041
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
4042
|
+
let request = new CreateHotelAlarmShrinkRequest({});
|
|
4043
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
4044
|
+
if (!tea_util_1.default.isUnset(tmpReq.rooms)) {
|
|
4045
|
+
request.roomsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.rooms, "Rooms", "json");
|
|
4046
|
+
}
|
|
4047
|
+
if (!tea_util_1.default.isUnset($tea.toMap(tmpReq.scheduleInfo))) {
|
|
4048
|
+
request.scheduleInfoShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.scheduleInfo), "ScheduleInfo", "json");
|
|
4049
|
+
}
|
|
4050
|
+
let body = {};
|
|
4051
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
4052
|
+
body["HotelId"] = request.hotelId;
|
|
4053
|
+
}
|
|
4054
|
+
if (!tea_util_1.default.isUnset(request.musicType)) {
|
|
4055
|
+
body["MusicType"] = request.musicType;
|
|
4056
|
+
}
|
|
4057
|
+
if (!tea_util_1.default.isUnset(request.roomsShrink)) {
|
|
4058
|
+
body["Rooms"] = request.roomsShrink;
|
|
4059
|
+
}
|
|
4060
|
+
if (!tea_util_1.default.isUnset(request.scheduleInfoShrink)) {
|
|
4061
|
+
body["ScheduleInfo"] = request.scheduleInfoShrink;
|
|
4062
|
+
}
|
|
4063
|
+
let realHeaders = {};
|
|
4064
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4065
|
+
realHeaders = headers.commonHeaders;
|
|
4066
|
+
}
|
|
4067
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4068
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4069
|
+
}
|
|
4070
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4071
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4072
|
+
}
|
|
4073
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4074
|
+
headers: realHeaders,
|
|
4075
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4076
|
+
});
|
|
4077
|
+
let params = new $OpenApi.Params({
|
|
4078
|
+
action: "CreateHotelAlarm",
|
|
4079
|
+
version: "ip_1.0",
|
|
4080
|
+
protocol: "HTTPS",
|
|
4081
|
+
pathname: `/v1.0/ip/createHotelAlarm`,
|
|
4082
|
+
method: "POST",
|
|
4083
|
+
authType: "AK",
|
|
4084
|
+
style: "ROA",
|
|
4085
|
+
reqBodyType: "formData",
|
|
4086
|
+
bodyType: "json",
|
|
4087
|
+
});
|
|
4088
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateHotelAlarmResponse({}));
|
|
4089
|
+
}
|
|
4090
|
+
async deleteHotelAlarm(request) {
|
|
4091
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4092
|
+
let headers = new DeleteHotelAlarmHeaders({});
|
|
4093
|
+
return await this.deleteHotelAlarmWithOptions(request, headers, runtime);
|
|
4094
|
+
}
|
|
4095
|
+
async deleteHotelAlarmWithOptions(tmpReq, headers, runtime) {
|
|
4096
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
4097
|
+
let request = new DeleteHotelAlarmShrinkRequest({});
|
|
4098
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
4099
|
+
if (!tea_util_1.default.isUnset(tmpReq.alarms)) {
|
|
4100
|
+
request.alarmsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.alarms, "Alarms", "json");
|
|
4101
|
+
}
|
|
4102
|
+
let body = {};
|
|
4103
|
+
if (!tea_util_1.default.isUnset(request.alarmsShrink)) {
|
|
4104
|
+
body["Alarms"] = request.alarmsShrink;
|
|
4105
|
+
}
|
|
4106
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
4107
|
+
body["HotelId"] = request.hotelId;
|
|
4108
|
+
}
|
|
4109
|
+
let realHeaders = {};
|
|
4110
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4111
|
+
realHeaders = headers.commonHeaders;
|
|
4112
|
+
}
|
|
4113
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4114
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4115
|
+
}
|
|
4116
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4117
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4118
|
+
}
|
|
4119
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4120
|
+
headers: realHeaders,
|
|
4121
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4122
|
+
});
|
|
4123
|
+
let params = new $OpenApi.Params({
|
|
4124
|
+
action: "DeleteHotelAlarm",
|
|
4125
|
+
version: "ip_1.0",
|
|
4126
|
+
protocol: "HTTPS",
|
|
4127
|
+
pathname: `/v1.0/ip/deleteHotelAlarm`,
|
|
4128
|
+
method: "POST",
|
|
4129
|
+
authType: "AK",
|
|
4130
|
+
style: "ROA",
|
|
4131
|
+
reqBodyType: "formData",
|
|
4132
|
+
bodyType: "json",
|
|
4133
|
+
});
|
|
4134
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteHotelAlarmResponse({}));
|
|
4135
|
+
}
|
|
2048
4136
|
async deviceControl(request) {
|
|
2049
4137
|
let runtime = new $Util.RuntimeOptions({});
|
|
2050
4138
|
let headers = new DeviceControlHeaders({});
|
|
@@ -2125,17 +4213,60 @@ class Client extends openapi_client_1.default {
|
|
|
2125
4213
|
query: openapi_util_1.default.query(query),
|
|
2126
4214
|
});
|
|
2127
4215
|
let params = new $OpenApi.Params({
|
|
2128
|
-
action: "GetHotelHomeBackImageAndModes",
|
|
4216
|
+
action: "GetHotelHomeBackImageAndModes",
|
|
4217
|
+
version: "ip_1.0",
|
|
4218
|
+
protocol: "HTTPS",
|
|
4219
|
+
pathname: `/v1.0/ip/getHotelHomeBackImageAndModes`,
|
|
4220
|
+
method: "POST",
|
|
4221
|
+
authType: "AK",
|
|
4222
|
+
style: "ROA",
|
|
4223
|
+
reqBodyType: "json",
|
|
4224
|
+
bodyType: "json",
|
|
4225
|
+
});
|
|
4226
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetHotelHomeBackImageAndModesResponse({}));
|
|
4227
|
+
}
|
|
4228
|
+
async getHotelNotice(request) {
|
|
4229
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4230
|
+
let headers = new GetHotelNoticeHeaders({});
|
|
4231
|
+
return await this.getHotelNoticeWithOptions(request, headers, runtime);
|
|
4232
|
+
}
|
|
4233
|
+
async getHotelNoticeWithOptions(tmpReq, headers, runtime) {
|
|
4234
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
4235
|
+
let request = new GetHotelNoticeShrinkRequest({});
|
|
4236
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
4237
|
+
if (!tea_util_1.default.isUnset($tea.toMap(tmpReq.userInfo))) {
|
|
4238
|
+
request.userInfoShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.userInfo), "UserInfo", "json");
|
|
4239
|
+
}
|
|
4240
|
+
let query = {};
|
|
4241
|
+
if (!tea_util_1.default.isUnset(request.userInfoShrink)) {
|
|
4242
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
4243
|
+
}
|
|
4244
|
+
let realHeaders = {};
|
|
4245
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4246
|
+
realHeaders = headers.commonHeaders;
|
|
4247
|
+
}
|
|
4248
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4249
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4250
|
+
}
|
|
4251
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4252
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4253
|
+
}
|
|
4254
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4255
|
+
headers: realHeaders,
|
|
4256
|
+
query: openapi_util_1.default.query(query),
|
|
4257
|
+
});
|
|
4258
|
+
let params = new $OpenApi.Params({
|
|
4259
|
+
action: "GetHotelNotice",
|
|
2129
4260
|
version: "ip_1.0",
|
|
2130
4261
|
protocol: "HTTPS",
|
|
2131
|
-
pathname: `/v1.0/ip/
|
|
4262
|
+
pathname: `/v1.0/ip/getHotelNotice`,
|
|
2132
4263
|
method: "POST",
|
|
2133
4264
|
authType: "AK",
|
|
2134
4265
|
style: "ROA",
|
|
2135
4266
|
reqBodyType: "json",
|
|
2136
4267
|
bodyType: "json",
|
|
2137
4268
|
});
|
|
2138
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
4269
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetHotelNoticeResponse({}));
|
|
2139
4270
|
}
|
|
2140
4271
|
async getHotelOrderDetail(request) {
|
|
2141
4272
|
let runtime = new $Util.RuntimeOptions({});
|
|
@@ -2180,6 +4311,47 @@ class Client extends openapi_client_1.default {
|
|
|
2180
4311
|
});
|
|
2181
4312
|
return $tea.cast(await this.callApi(params, req, runtime), new GetHotelOrderDetailResponse({}));
|
|
2182
4313
|
}
|
|
4314
|
+
async getHotelRoomDevice(request) {
|
|
4315
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4316
|
+
let headers = new GetHotelRoomDeviceHeaders({});
|
|
4317
|
+
return await this.getHotelRoomDeviceWithOptions(request, headers, runtime);
|
|
4318
|
+
}
|
|
4319
|
+
async getHotelRoomDeviceWithOptions(request, headers, runtime) {
|
|
4320
|
+
tea_util_1.default.validateModel(request);
|
|
4321
|
+
let query = {};
|
|
4322
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
4323
|
+
query["HotelId"] = request.hotelId;
|
|
4324
|
+
}
|
|
4325
|
+
if (!tea_util_1.default.isUnset(request.roomNo)) {
|
|
4326
|
+
query["RoomNo"] = request.roomNo;
|
|
4327
|
+
}
|
|
4328
|
+
let realHeaders = {};
|
|
4329
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4330
|
+
realHeaders = headers.commonHeaders;
|
|
4331
|
+
}
|
|
4332
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4333
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4334
|
+
}
|
|
4335
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4336
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4337
|
+
}
|
|
4338
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4339
|
+
headers: realHeaders,
|
|
4340
|
+
query: openapi_util_1.default.query(query),
|
|
4341
|
+
});
|
|
4342
|
+
let params = new $OpenApi.Params({
|
|
4343
|
+
action: "GetHotelRoomDevice",
|
|
4344
|
+
version: "ip_1.0",
|
|
4345
|
+
protocol: "HTTPS",
|
|
4346
|
+
pathname: `/v1.0/ip/getHotelRoomDevice`,
|
|
4347
|
+
method: "POST",
|
|
4348
|
+
authType: "AK",
|
|
4349
|
+
style: "ROA",
|
|
4350
|
+
reqBodyType: "json",
|
|
4351
|
+
bodyType: "json",
|
|
4352
|
+
});
|
|
4353
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetHotelRoomDeviceResponse({}));
|
|
4354
|
+
}
|
|
2183
4355
|
async getHotelSampleUtterances(request) {
|
|
2184
4356
|
let runtime = new $Util.RuntimeOptions({});
|
|
2185
4357
|
let headers = new GetHotelSampleUtterancesHeaders({});
|
|
@@ -2266,6 +4438,101 @@ class Client extends openapi_client_1.default {
|
|
|
2266
4438
|
});
|
|
2267
4439
|
return $tea.cast(await this.callApi(params, req, runtime), new GetHotelScreenSaverResponse({}));
|
|
2268
4440
|
}
|
|
4441
|
+
async importRoomControlDevices(request) {
|
|
4442
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4443
|
+
let headers = new ImportRoomControlDevicesHeaders({});
|
|
4444
|
+
return await this.importRoomControlDevicesWithOptions(request, headers, runtime);
|
|
4445
|
+
}
|
|
4446
|
+
async importRoomControlDevicesWithOptions(tmpReq, headers, runtime) {
|
|
4447
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
4448
|
+
let request = new ImportRoomControlDevicesShrinkRequest({});
|
|
4449
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
4450
|
+
if (!tea_util_1.default.isUnset(tmpReq.locationDevices)) {
|
|
4451
|
+
request.locationDevicesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.locationDevices, "LocationDevices", "json");
|
|
4452
|
+
}
|
|
4453
|
+
let body = {};
|
|
4454
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
4455
|
+
body["HotelId"] = request.hotelId;
|
|
4456
|
+
}
|
|
4457
|
+
if (!tea_util_1.default.isUnset(request.locationDevicesShrink)) {
|
|
4458
|
+
body["LocationDevices"] = request.locationDevicesShrink;
|
|
4459
|
+
}
|
|
4460
|
+
if (!tea_util_1.default.isUnset(request.roomNo)) {
|
|
4461
|
+
body["RoomNo"] = request.roomNo;
|
|
4462
|
+
}
|
|
4463
|
+
let realHeaders = {};
|
|
4464
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4465
|
+
realHeaders = headers.commonHeaders;
|
|
4466
|
+
}
|
|
4467
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4468
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4469
|
+
}
|
|
4470
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4471
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4472
|
+
}
|
|
4473
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4474
|
+
headers: realHeaders,
|
|
4475
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4476
|
+
});
|
|
4477
|
+
let params = new $OpenApi.Params({
|
|
4478
|
+
action: "ImportRoomControlDevices",
|
|
4479
|
+
version: "ip_1.0",
|
|
4480
|
+
protocol: "HTTPS",
|
|
4481
|
+
pathname: `/v1.0/ip/importRoomControlDevices`,
|
|
4482
|
+
method: "POST",
|
|
4483
|
+
authType: "AK",
|
|
4484
|
+
style: "ROA",
|
|
4485
|
+
reqBodyType: "formData",
|
|
4486
|
+
bodyType: "json",
|
|
4487
|
+
});
|
|
4488
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ImportRoomControlDevicesResponse({}));
|
|
4489
|
+
}
|
|
4490
|
+
async listHotelAlarm(request) {
|
|
4491
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4492
|
+
let headers = new ListHotelAlarmHeaders({});
|
|
4493
|
+
return await this.listHotelAlarmWithOptions(request, headers, runtime);
|
|
4494
|
+
}
|
|
4495
|
+
async listHotelAlarmWithOptions(tmpReq, headers, runtime) {
|
|
4496
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
4497
|
+
let request = new ListHotelAlarmShrinkRequest({});
|
|
4498
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
4499
|
+
if (!tea_util_1.default.isUnset(tmpReq.rooms)) {
|
|
4500
|
+
request.roomsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.rooms, "Rooms", "json");
|
|
4501
|
+
}
|
|
4502
|
+
let body = {};
|
|
4503
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
4504
|
+
body["HotelId"] = request.hotelId;
|
|
4505
|
+
}
|
|
4506
|
+
if (!tea_util_1.default.isUnset(request.roomsShrink)) {
|
|
4507
|
+
body["Rooms"] = request.roomsShrink;
|
|
4508
|
+
}
|
|
4509
|
+
let realHeaders = {};
|
|
4510
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4511
|
+
realHeaders = headers.commonHeaders;
|
|
4512
|
+
}
|
|
4513
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4514
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4515
|
+
}
|
|
4516
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4517
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4518
|
+
}
|
|
4519
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4520
|
+
headers: realHeaders,
|
|
4521
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4522
|
+
});
|
|
4523
|
+
let params = new $OpenApi.Params({
|
|
4524
|
+
action: "ListHotelAlarm",
|
|
4525
|
+
version: "ip_1.0",
|
|
4526
|
+
protocol: "HTTPS",
|
|
4527
|
+
pathname: `/v1.0/ip/getHotelAlarmList`,
|
|
4528
|
+
method: "POST",
|
|
4529
|
+
authType: "AK",
|
|
4530
|
+
style: "ROA",
|
|
4531
|
+
reqBodyType: "formData",
|
|
4532
|
+
bodyType: "json",
|
|
4533
|
+
});
|
|
4534
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListHotelAlarmResponse({}));
|
|
4535
|
+
}
|
|
2269
4536
|
async listHotelControlDevice(request) {
|
|
2270
4537
|
let runtime = new $Util.RuntimeOptions({});
|
|
2271
4538
|
let headers = new ListHotelControlDeviceHeaders({});
|
|
@@ -2309,6 +4576,70 @@ class Client extends openapi_client_1.default {
|
|
|
2309
4576
|
});
|
|
2310
4577
|
return $tea.cast(await this.callApi(params, req, runtime), new ListHotelControlDeviceResponse({}));
|
|
2311
4578
|
}
|
|
4579
|
+
async listHotelInfo() {
|
|
4580
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4581
|
+
let headers = new ListHotelInfoHeaders({});
|
|
4582
|
+
return await this.listHotelInfoWithOptions(headers, runtime);
|
|
4583
|
+
}
|
|
4584
|
+
async listHotelInfoWithOptions(headers, runtime) {
|
|
4585
|
+
let realHeaders = {};
|
|
4586
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4587
|
+
realHeaders = headers.commonHeaders;
|
|
4588
|
+
}
|
|
4589
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4590
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4591
|
+
}
|
|
4592
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4593
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4594
|
+
}
|
|
4595
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4596
|
+
headers: realHeaders,
|
|
4597
|
+
});
|
|
4598
|
+
let params = new $OpenApi.Params({
|
|
4599
|
+
action: "ListHotelInfo",
|
|
4600
|
+
version: "ip_1.0",
|
|
4601
|
+
protocol: "HTTPS",
|
|
4602
|
+
pathname: `/v1.0/ip/listHotelInfo`,
|
|
4603
|
+
method: "POST",
|
|
4604
|
+
authType: "AK",
|
|
4605
|
+
style: "ROA",
|
|
4606
|
+
reqBodyType: "json",
|
|
4607
|
+
bodyType: "json",
|
|
4608
|
+
});
|
|
4609
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListHotelInfoResponse({}));
|
|
4610
|
+
}
|
|
4611
|
+
async listHotelMessageTemplate() {
|
|
4612
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4613
|
+
let headers = new ListHotelMessageTemplateHeaders({});
|
|
4614
|
+
return await this.listHotelMessageTemplateWithOptions(headers, runtime);
|
|
4615
|
+
}
|
|
4616
|
+
async listHotelMessageTemplateWithOptions(headers, runtime) {
|
|
4617
|
+
let realHeaders = {};
|
|
4618
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4619
|
+
realHeaders = headers.commonHeaders;
|
|
4620
|
+
}
|
|
4621
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4622
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4623
|
+
}
|
|
4624
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4625
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4626
|
+
}
|
|
4627
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4628
|
+
headers: realHeaders,
|
|
4629
|
+
});
|
|
4630
|
+
let params = new $OpenApi.Params({
|
|
4631
|
+
action: "ListHotelMessageTemplate",
|
|
4632
|
+
version: "ip_1.0",
|
|
4633
|
+
protocol: "HTTPS",
|
|
4634
|
+
pathname: `/v1.0/ip/listHotelMessageTemplate`,
|
|
4635
|
+
method: "POST",
|
|
4636
|
+
authType: "AK",
|
|
4637
|
+
style: "ROA",
|
|
4638
|
+
reqBodyType: "json",
|
|
4639
|
+
bodyType: "json",
|
|
4640
|
+
});
|
|
4641
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListHotelMessageTemplateResponse({}));
|
|
4642
|
+
}
|
|
2312
4643
|
async listHotelOrder(request) {
|
|
2313
4644
|
let runtime = new $Util.RuntimeOptions({});
|
|
2314
4645
|
let headers = new ListHotelOrderHeaders({});
|
|
@@ -2358,6 +4689,44 @@ class Client extends openapi_client_1.default {
|
|
|
2358
4689
|
});
|
|
2359
4690
|
return $tea.cast(await this.callApi(params, req, runtime), new ListHotelOrderResponse({}));
|
|
2360
4691
|
}
|
|
4692
|
+
async listHotelRooms(request) {
|
|
4693
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4694
|
+
let headers = new ListHotelRoomsHeaders({});
|
|
4695
|
+
return await this.listHotelRoomsWithOptions(request, headers, runtime);
|
|
4696
|
+
}
|
|
4697
|
+
async listHotelRoomsWithOptions(request, headers, runtime) {
|
|
4698
|
+
tea_util_1.default.validateModel(request);
|
|
4699
|
+
let body = {};
|
|
4700
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
4701
|
+
body["HotelId"] = request.hotelId;
|
|
4702
|
+
}
|
|
4703
|
+
let realHeaders = {};
|
|
4704
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4705
|
+
realHeaders = headers.commonHeaders;
|
|
4706
|
+
}
|
|
4707
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4708
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4709
|
+
}
|
|
4710
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4711
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4712
|
+
}
|
|
4713
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4714
|
+
headers: realHeaders,
|
|
4715
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4716
|
+
});
|
|
4717
|
+
let params = new $OpenApi.Params({
|
|
4718
|
+
action: "ListHotelRooms",
|
|
4719
|
+
version: "ip_1.0",
|
|
4720
|
+
protocol: "HTTPS",
|
|
4721
|
+
pathname: `/v1.0/ip/listHotelRooms`,
|
|
4722
|
+
method: "POST",
|
|
4723
|
+
authType: "AK",
|
|
4724
|
+
style: "ROA",
|
|
4725
|
+
reqBodyType: "formData",
|
|
4726
|
+
bodyType: "json",
|
|
4727
|
+
});
|
|
4728
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListHotelRoomsResponse({}));
|
|
4729
|
+
}
|
|
2361
4730
|
async listHotelSceneItem(request) {
|
|
2362
4731
|
let runtime = new $Util.RuntimeOptions({});
|
|
2363
4732
|
let headers = new ListHotelSceneItemHeaders({});
|
|
@@ -2450,6 +4819,49 @@ class Client extends openapi_client_1.default {
|
|
|
2450
4819
|
});
|
|
2451
4820
|
return $tea.cast(await this.callApi(params, req, runtime), new ListHotelServiceCategoryResponse({}));
|
|
2452
4821
|
}
|
|
4822
|
+
async pushHotelMessage(request) {
|
|
4823
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4824
|
+
let headers = new PushHotelMessageHeaders({});
|
|
4825
|
+
return await this.pushHotelMessageWithOptions(request, headers, runtime);
|
|
4826
|
+
}
|
|
4827
|
+
async pushHotelMessageWithOptions(tmpReq, headers, runtime) {
|
|
4828
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
4829
|
+
let request = new PushHotelMessageShrinkRequest({});
|
|
4830
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
4831
|
+
if (!tea_util_1.default.isUnset($tea.toMap(tmpReq.pushHotelMessageReq))) {
|
|
4832
|
+
request.pushHotelMessageReqShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.pushHotelMessageReq), "PushHotelMessageReq", "json");
|
|
4833
|
+
}
|
|
4834
|
+
let query = {};
|
|
4835
|
+
if (!tea_util_1.default.isUnset(request.pushHotelMessageReqShrink)) {
|
|
4836
|
+
query["PushHotelMessageReq"] = request.pushHotelMessageReqShrink;
|
|
4837
|
+
}
|
|
4838
|
+
let realHeaders = {};
|
|
4839
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4840
|
+
realHeaders = headers.commonHeaders;
|
|
4841
|
+
}
|
|
4842
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4843
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4844
|
+
}
|
|
4845
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4846
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4847
|
+
}
|
|
4848
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4849
|
+
headers: realHeaders,
|
|
4850
|
+
query: openapi_util_1.default.query(query),
|
|
4851
|
+
});
|
|
4852
|
+
let params = new $OpenApi.Params({
|
|
4853
|
+
action: "PushHotelMessage",
|
|
4854
|
+
version: "ip_1.0",
|
|
4855
|
+
protocol: "HTTPS",
|
|
4856
|
+
pathname: `/v1.0/ip/pushHotelMessage`,
|
|
4857
|
+
method: "POST",
|
|
4858
|
+
authType: "AK",
|
|
4859
|
+
style: "ROA",
|
|
4860
|
+
reqBodyType: "json",
|
|
4861
|
+
bodyType: "json",
|
|
4862
|
+
});
|
|
4863
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PushHotelMessageResponse({}));
|
|
4864
|
+
}
|
|
2453
4865
|
async queryDeviceStatus(request) {
|
|
2454
4866
|
let runtime = new $Util.RuntimeOptions({});
|
|
2455
4867
|
let headers = new QueryDeviceStatusHeaders({});
|
|
@@ -2542,6 +4954,47 @@ class Client extends openapi_client_1.default {
|
|
|
2542
4954
|
});
|
|
2543
4955
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryHotelProductResponse({}));
|
|
2544
4956
|
}
|
|
4957
|
+
async queryRoomControlDevices(request) {
|
|
4958
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4959
|
+
let headers = new QueryRoomControlDevicesHeaders({});
|
|
4960
|
+
return await this.queryRoomControlDevicesWithOptions(request, headers, runtime);
|
|
4961
|
+
}
|
|
4962
|
+
async queryRoomControlDevicesWithOptions(request, headers, runtime) {
|
|
4963
|
+
tea_util_1.default.validateModel(request);
|
|
4964
|
+
let query = {};
|
|
4965
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
4966
|
+
query["HotelId"] = request.hotelId;
|
|
4967
|
+
}
|
|
4968
|
+
if (!tea_util_1.default.isUnset(request.roomNo)) {
|
|
4969
|
+
query["RoomNo"] = request.roomNo;
|
|
4970
|
+
}
|
|
4971
|
+
let realHeaders = {};
|
|
4972
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4973
|
+
realHeaders = headers.commonHeaders;
|
|
4974
|
+
}
|
|
4975
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
4976
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
4977
|
+
}
|
|
4978
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
4979
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
4980
|
+
}
|
|
4981
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4982
|
+
headers: realHeaders,
|
|
4983
|
+
query: openapi_util_1.default.query(query),
|
|
4984
|
+
});
|
|
4985
|
+
let params = new $OpenApi.Params({
|
|
4986
|
+
action: "QueryRoomControlDevices",
|
|
4987
|
+
version: "ip_1.0",
|
|
4988
|
+
protocol: "HTTPS",
|
|
4989
|
+
pathname: `/v1.0/ip/queryRoomControlDevices`,
|
|
4990
|
+
method: "POST",
|
|
4991
|
+
authType: "AK",
|
|
4992
|
+
style: "ROA",
|
|
4993
|
+
reqBodyType: "json",
|
|
4994
|
+
bodyType: "json",
|
|
4995
|
+
});
|
|
4996
|
+
return $tea.cast(await this.callApi(params, req, runtime), new QueryRoomControlDevicesResponse({}));
|
|
4997
|
+
}
|
|
2545
4998
|
async roomCheckOut(request) {
|
|
2546
4999
|
let runtime = new $Util.RuntimeOptions({});
|
|
2547
5000
|
let headers = new RoomCheckOutHeaders({});
|
|
@@ -2640,6 +5093,58 @@ class Client extends openapi_client_1.default {
|
|
|
2640
5093
|
});
|
|
2641
5094
|
return $tea.cast(await this.callApi(params, req, runtime), new SubmitHotelOrderResponse({}));
|
|
2642
5095
|
}
|
|
5096
|
+
async updateHotelAlarm(request) {
|
|
5097
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5098
|
+
let headers = new UpdateHotelAlarmHeaders({});
|
|
5099
|
+
return await this.updateHotelAlarmWithOptions(request, headers, runtime);
|
|
5100
|
+
}
|
|
5101
|
+
async updateHotelAlarmWithOptions(tmpReq, headers, runtime) {
|
|
5102
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
5103
|
+
let request = new UpdateHotelAlarmShrinkRequest({});
|
|
5104
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
5105
|
+
if (!tea_util_1.default.isUnset(tmpReq.alarms)) {
|
|
5106
|
+
request.alarmsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.alarms, "Alarms", "json");
|
|
5107
|
+
}
|
|
5108
|
+
if (!tea_util_1.default.isUnset($tea.toMap(tmpReq.scheduleInfo))) {
|
|
5109
|
+
request.scheduleInfoShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.scheduleInfo), "ScheduleInfo", "json");
|
|
5110
|
+
}
|
|
5111
|
+
let body = {};
|
|
5112
|
+
if (!tea_util_1.default.isUnset(request.alarmsShrink)) {
|
|
5113
|
+
body["Alarms"] = request.alarmsShrink;
|
|
5114
|
+
}
|
|
5115
|
+
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
5116
|
+
body["HotelId"] = request.hotelId;
|
|
5117
|
+
}
|
|
5118
|
+
if (!tea_util_1.default.isUnset(request.scheduleInfoShrink)) {
|
|
5119
|
+
body["ScheduleInfo"] = request.scheduleInfoShrink;
|
|
5120
|
+
}
|
|
5121
|
+
let realHeaders = {};
|
|
5122
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
5123
|
+
realHeaders = headers.commonHeaders;
|
|
5124
|
+
}
|
|
5125
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
5126
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
5127
|
+
}
|
|
5128
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
5129
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
5130
|
+
}
|
|
5131
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5132
|
+
headers: realHeaders,
|
|
5133
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
5134
|
+
});
|
|
5135
|
+
let params = new $OpenApi.Params({
|
|
5136
|
+
action: "UpdateHotelAlarm",
|
|
5137
|
+
version: "ip_1.0",
|
|
5138
|
+
protocol: "HTTPS",
|
|
5139
|
+
pathname: `/v1.0/ip/updateHotelAlarm`,
|
|
5140
|
+
method: "POST",
|
|
5141
|
+
authType: "AK",
|
|
5142
|
+
style: "ROA",
|
|
5143
|
+
reqBodyType: "formData",
|
|
5144
|
+
bodyType: "json",
|
|
5145
|
+
});
|
|
5146
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateHotelAlarmResponse({}));
|
|
5147
|
+
}
|
|
2643
5148
|
}
|
|
2644
5149
|
exports.default = Client;
|
|
2645
5150
|
//# sourceMappingURL=client.js.map
|