@alicloud/aligenieip_1_0 1.0.18 → 1.0.20
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 +263 -98
- package/dist/client.js +512 -185
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +724 -300
package/dist/client.js
CHANGED
|
@@ -503,104 +503,6 @@ class AddOrUpdateHotelSettingResponse extends $tea.Model {
|
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
exports.AddOrUpdateHotelSettingResponse = AddOrUpdateHotelSettingResponse;
|
|
506
|
-
class AddOrUpdateNightModeHeaders extends $tea.Model {
|
|
507
|
-
constructor(map) {
|
|
508
|
-
super(map);
|
|
509
|
-
}
|
|
510
|
-
static names() {
|
|
511
|
-
return {
|
|
512
|
-
commonHeaders: 'commonHeaders',
|
|
513
|
-
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
514
|
-
authorization: 'Authorization',
|
|
515
|
-
};
|
|
516
|
-
}
|
|
517
|
-
static types() {
|
|
518
|
-
return {
|
|
519
|
-
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
520
|
-
xAcsAligenieAccessToken: 'string',
|
|
521
|
-
authorization: 'string',
|
|
522
|
-
};
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
exports.AddOrUpdateNightModeHeaders = AddOrUpdateNightModeHeaders;
|
|
526
|
-
class AddOrUpdateNightModeRequest extends $tea.Model {
|
|
527
|
-
constructor(map) {
|
|
528
|
-
super(map);
|
|
529
|
-
}
|
|
530
|
-
static names() {
|
|
531
|
-
return {
|
|
532
|
-
hotelId: 'HotelId',
|
|
533
|
-
nightMode: 'NightMode',
|
|
534
|
-
};
|
|
535
|
-
}
|
|
536
|
-
static types() {
|
|
537
|
-
return {
|
|
538
|
-
hotelId: 'string',
|
|
539
|
-
nightMode: AddOrUpdateNightModeRequestNightMode,
|
|
540
|
-
};
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
exports.AddOrUpdateNightModeRequest = AddOrUpdateNightModeRequest;
|
|
544
|
-
class AddOrUpdateNightModeShrinkRequest extends $tea.Model {
|
|
545
|
-
constructor(map) {
|
|
546
|
-
super(map);
|
|
547
|
-
}
|
|
548
|
-
static names() {
|
|
549
|
-
return {
|
|
550
|
-
hotelId: 'HotelId',
|
|
551
|
-
nightModeShrink: 'NightMode',
|
|
552
|
-
};
|
|
553
|
-
}
|
|
554
|
-
static types() {
|
|
555
|
-
return {
|
|
556
|
-
hotelId: 'string',
|
|
557
|
-
nightModeShrink: 'string',
|
|
558
|
-
};
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
exports.AddOrUpdateNightModeShrinkRequest = AddOrUpdateNightModeShrinkRequest;
|
|
562
|
-
class AddOrUpdateNightModeResponseBody extends $tea.Model {
|
|
563
|
-
constructor(map) {
|
|
564
|
-
super(map);
|
|
565
|
-
}
|
|
566
|
-
static names() {
|
|
567
|
-
return {
|
|
568
|
-
message: 'Message',
|
|
569
|
-
requestId: 'RequestId',
|
|
570
|
-
result: 'Result',
|
|
571
|
-
statusCode: 'StatusCode',
|
|
572
|
-
};
|
|
573
|
-
}
|
|
574
|
-
static types() {
|
|
575
|
-
return {
|
|
576
|
-
message: 'string',
|
|
577
|
-
requestId: 'string',
|
|
578
|
-
result: 'boolean',
|
|
579
|
-
statusCode: 'number',
|
|
580
|
-
};
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
exports.AddOrUpdateNightModeResponseBody = AddOrUpdateNightModeResponseBody;
|
|
584
|
-
class AddOrUpdateNightModeResponse extends $tea.Model {
|
|
585
|
-
constructor(map) {
|
|
586
|
-
super(map);
|
|
587
|
-
}
|
|
588
|
-
static names() {
|
|
589
|
-
return {
|
|
590
|
-
headers: 'headers',
|
|
591
|
-
statusCode: 'statusCode',
|
|
592
|
-
body: 'body',
|
|
593
|
-
};
|
|
594
|
-
}
|
|
595
|
-
static types() {
|
|
596
|
-
return {
|
|
597
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
598
|
-
statusCode: 'number',
|
|
599
|
-
body: AddOrUpdateNightModeResponseBody,
|
|
600
|
-
};
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
exports.AddOrUpdateNightModeResponse = AddOrUpdateNightModeResponse;
|
|
604
506
|
class AddOrUpdateScreenSaverHeaders extends $tea.Model {
|
|
605
507
|
constructor(map) {
|
|
606
508
|
super(map);
|
|
@@ -1272,6 +1174,7 @@ class CreateHotelRequest extends $tea.Model {
|
|
|
1272
1174
|
hotelName: 'HotelName',
|
|
1273
1175
|
phoneNumber: 'PhoneNumber',
|
|
1274
1176
|
relatedPk: 'RelatedPk',
|
|
1177
|
+
relatedPks: 'RelatedPks',
|
|
1275
1178
|
remark: 'Remark',
|
|
1276
1179
|
roomNum: 'RoomNum',
|
|
1277
1180
|
tbOpenId: 'TbOpenId',
|
|
@@ -1286,6 +1189,7 @@ class CreateHotelRequest extends $tea.Model {
|
|
|
1286
1189
|
hotelName: 'string',
|
|
1287
1190
|
phoneNumber: 'string',
|
|
1288
1191
|
relatedPk: 'string',
|
|
1192
|
+
relatedPks: { 'type': 'array', 'itemType': 'string' },
|
|
1289
1193
|
remark: 'string',
|
|
1290
1194
|
roomNum: 'number',
|
|
1291
1195
|
tbOpenId: 'string',
|
|
@@ -1293,6 +1197,42 @@ class CreateHotelRequest extends $tea.Model {
|
|
|
1293
1197
|
}
|
|
1294
1198
|
}
|
|
1295
1199
|
exports.CreateHotelRequest = CreateHotelRequest;
|
|
1200
|
+
class CreateHotelShrinkRequest extends $tea.Model {
|
|
1201
|
+
constructor(map) {
|
|
1202
|
+
super(map);
|
|
1203
|
+
}
|
|
1204
|
+
static names() {
|
|
1205
|
+
return {
|
|
1206
|
+
appKey: 'AppKey',
|
|
1207
|
+
estOpenTime: 'EstOpenTime',
|
|
1208
|
+
hotelAddress: 'HotelAddress',
|
|
1209
|
+
hotelEmail: 'HotelEmail',
|
|
1210
|
+
hotelName: 'HotelName',
|
|
1211
|
+
phoneNumber: 'PhoneNumber',
|
|
1212
|
+
relatedPk: 'RelatedPk',
|
|
1213
|
+
relatedPksShrink: 'RelatedPks',
|
|
1214
|
+
remark: 'Remark',
|
|
1215
|
+
roomNum: 'RoomNum',
|
|
1216
|
+
tbOpenId: 'TbOpenId',
|
|
1217
|
+
};
|
|
1218
|
+
}
|
|
1219
|
+
static types() {
|
|
1220
|
+
return {
|
|
1221
|
+
appKey: 'string',
|
|
1222
|
+
estOpenTime: 'string',
|
|
1223
|
+
hotelAddress: 'string',
|
|
1224
|
+
hotelEmail: 'string',
|
|
1225
|
+
hotelName: 'string',
|
|
1226
|
+
phoneNumber: 'string',
|
|
1227
|
+
relatedPk: 'string',
|
|
1228
|
+
relatedPksShrink: 'string',
|
|
1229
|
+
remark: 'string',
|
|
1230
|
+
roomNum: 'number',
|
|
1231
|
+
tbOpenId: 'string',
|
|
1232
|
+
};
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
exports.CreateHotelShrinkRequest = CreateHotelShrinkRequest;
|
|
1296
1236
|
class CreateHotelResponseBody extends $tea.Model {
|
|
1297
1237
|
constructor(map) {
|
|
1298
1238
|
super(map);
|
|
@@ -2213,6 +2153,104 @@ class GetCartoonResponse extends $tea.Model {
|
|
|
2213
2153
|
}
|
|
2214
2154
|
}
|
|
2215
2155
|
exports.GetCartoonResponse = GetCartoonResponse;
|
|
2156
|
+
class GetHotelContactByGenieDeviceHeaders extends $tea.Model {
|
|
2157
|
+
constructor(map) {
|
|
2158
|
+
super(map);
|
|
2159
|
+
}
|
|
2160
|
+
static names() {
|
|
2161
|
+
return {
|
|
2162
|
+
commonHeaders: 'commonHeaders',
|
|
2163
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
2164
|
+
authorization: 'Authorization',
|
|
2165
|
+
};
|
|
2166
|
+
}
|
|
2167
|
+
static types() {
|
|
2168
|
+
return {
|
|
2169
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2170
|
+
xAcsAligenieAccessToken: 'string',
|
|
2171
|
+
authorization: 'string',
|
|
2172
|
+
};
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
exports.GetHotelContactByGenieDeviceHeaders = GetHotelContactByGenieDeviceHeaders;
|
|
2176
|
+
class GetHotelContactByGenieDeviceRequest extends $tea.Model {
|
|
2177
|
+
constructor(map) {
|
|
2178
|
+
super(map);
|
|
2179
|
+
}
|
|
2180
|
+
static names() {
|
|
2181
|
+
return {
|
|
2182
|
+
deviceInfo: 'DeviceInfo',
|
|
2183
|
+
userInfo: 'UserInfo',
|
|
2184
|
+
};
|
|
2185
|
+
}
|
|
2186
|
+
static types() {
|
|
2187
|
+
return {
|
|
2188
|
+
deviceInfo: GetHotelContactByGenieDeviceRequestDeviceInfo,
|
|
2189
|
+
userInfo: GetHotelContactByGenieDeviceRequestUserInfo,
|
|
2190
|
+
};
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
exports.GetHotelContactByGenieDeviceRequest = GetHotelContactByGenieDeviceRequest;
|
|
2194
|
+
class GetHotelContactByGenieDeviceShrinkRequest extends $tea.Model {
|
|
2195
|
+
constructor(map) {
|
|
2196
|
+
super(map);
|
|
2197
|
+
}
|
|
2198
|
+
static names() {
|
|
2199
|
+
return {
|
|
2200
|
+
deviceInfoShrink: 'DeviceInfo',
|
|
2201
|
+
userInfoShrink: 'UserInfo',
|
|
2202
|
+
};
|
|
2203
|
+
}
|
|
2204
|
+
static types() {
|
|
2205
|
+
return {
|
|
2206
|
+
deviceInfoShrink: 'string',
|
|
2207
|
+
userInfoShrink: 'string',
|
|
2208
|
+
};
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
exports.GetHotelContactByGenieDeviceShrinkRequest = GetHotelContactByGenieDeviceShrinkRequest;
|
|
2212
|
+
class GetHotelContactByGenieDeviceResponseBody extends $tea.Model {
|
|
2213
|
+
constructor(map) {
|
|
2214
|
+
super(map);
|
|
2215
|
+
}
|
|
2216
|
+
static names() {
|
|
2217
|
+
return {
|
|
2218
|
+
message: 'Message',
|
|
2219
|
+
requestId: 'RequestId',
|
|
2220
|
+
result: 'Result',
|
|
2221
|
+
statusCode: 'StatusCode',
|
|
2222
|
+
};
|
|
2223
|
+
}
|
|
2224
|
+
static types() {
|
|
2225
|
+
return {
|
|
2226
|
+
message: 'string',
|
|
2227
|
+
requestId: 'string',
|
|
2228
|
+
result: GetHotelContactByGenieDeviceResponseBodyResult,
|
|
2229
|
+
statusCode: 'number',
|
|
2230
|
+
};
|
|
2231
|
+
}
|
|
2232
|
+
}
|
|
2233
|
+
exports.GetHotelContactByGenieDeviceResponseBody = GetHotelContactByGenieDeviceResponseBody;
|
|
2234
|
+
class GetHotelContactByGenieDeviceResponse extends $tea.Model {
|
|
2235
|
+
constructor(map) {
|
|
2236
|
+
super(map);
|
|
2237
|
+
}
|
|
2238
|
+
static names() {
|
|
2239
|
+
return {
|
|
2240
|
+
headers: 'headers',
|
|
2241
|
+
statusCode: 'statusCode',
|
|
2242
|
+
body: 'body',
|
|
2243
|
+
};
|
|
2244
|
+
}
|
|
2245
|
+
static types() {
|
|
2246
|
+
return {
|
|
2247
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2248
|
+
statusCode: 'number',
|
|
2249
|
+
body: GetHotelContactByGenieDeviceResponseBody,
|
|
2250
|
+
};
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
exports.GetHotelContactByGenieDeviceResponse = GetHotelContactByGenieDeviceResponse;
|
|
2216
2254
|
class GetHotelContactByNumberHeaders extends $tea.Model {
|
|
2217
2255
|
constructor(map) {
|
|
2218
2256
|
super(map);
|
|
@@ -3351,6 +3389,90 @@ class GetRelationProductListResponse extends $tea.Model {
|
|
|
3351
3389
|
}
|
|
3352
3390
|
}
|
|
3353
3391
|
exports.GetRelationProductListResponse = GetRelationProductListResponse;
|
|
3392
|
+
class GetUnionIdHeaders extends $tea.Model {
|
|
3393
|
+
constructor(map) {
|
|
3394
|
+
super(map);
|
|
3395
|
+
}
|
|
3396
|
+
static names() {
|
|
3397
|
+
return {
|
|
3398
|
+
commonHeaders: 'commonHeaders',
|
|
3399
|
+
xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
|
|
3400
|
+
authorization: 'Authorization',
|
|
3401
|
+
};
|
|
3402
|
+
}
|
|
3403
|
+
static types() {
|
|
3404
|
+
return {
|
|
3405
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3406
|
+
xAcsAligenieAccessToken: 'string',
|
|
3407
|
+
authorization: 'string',
|
|
3408
|
+
};
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3411
|
+
exports.GetUnionIdHeaders = GetUnionIdHeaders;
|
|
3412
|
+
class GetUnionIdRequest extends $tea.Model {
|
|
3413
|
+
constructor(map) {
|
|
3414
|
+
super(map);
|
|
3415
|
+
}
|
|
3416
|
+
static names() {
|
|
3417
|
+
return {
|
|
3418
|
+
encodeKey: 'EncodeKey',
|
|
3419
|
+
encodeType: 'EncodeType',
|
|
3420
|
+
id: 'Id',
|
|
3421
|
+
idType: 'IdType',
|
|
3422
|
+
};
|
|
3423
|
+
}
|
|
3424
|
+
static types() {
|
|
3425
|
+
return {
|
|
3426
|
+
encodeKey: 'string',
|
|
3427
|
+
encodeType: 'string',
|
|
3428
|
+
id: 'string',
|
|
3429
|
+
idType: 'string',
|
|
3430
|
+
};
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
exports.GetUnionIdRequest = GetUnionIdRequest;
|
|
3434
|
+
class GetUnionIdResponseBody extends $tea.Model {
|
|
3435
|
+
constructor(map) {
|
|
3436
|
+
super(map);
|
|
3437
|
+
}
|
|
3438
|
+
static names() {
|
|
3439
|
+
return {
|
|
3440
|
+
message: 'Message',
|
|
3441
|
+
requestId: 'RequestId',
|
|
3442
|
+
result: 'Result',
|
|
3443
|
+
statusCode: 'StatusCode',
|
|
3444
|
+
};
|
|
3445
|
+
}
|
|
3446
|
+
static types() {
|
|
3447
|
+
return {
|
|
3448
|
+
message: 'string',
|
|
3449
|
+
requestId: 'string',
|
|
3450
|
+
result: { 'type': 'array', 'itemType': GetUnionIdResponseBodyResult },
|
|
3451
|
+
statusCode: 'number',
|
|
3452
|
+
};
|
|
3453
|
+
}
|
|
3454
|
+
}
|
|
3455
|
+
exports.GetUnionIdResponseBody = GetUnionIdResponseBody;
|
|
3456
|
+
class GetUnionIdResponse extends $tea.Model {
|
|
3457
|
+
constructor(map) {
|
|
3458
|
+
super(map);
|
|
3459
|
+
}
|
|
3460
|
+
static names() {
|
|
3461
|
+
return {
|
|
3462
|
+
headers: 'headers',
|
|
3463
|
+
statusCode: 'statusCode',
|
|
3464
|
+
body: 'body',
|
|
3465
|
+
};
|
|
3466
|
+
}
|
|
3467
|
+
static types() {
|
|
3468
|
+
return {
|
|
3469
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3470
|
+
statusCode: 'number',
|
|
3471
|
+
body: GetUnionIdResponseBody,
|
|
3472
|
+
};
|
|
3473
|
+
}
|
|
3474
|
+
}
|
|
3475
|
+
exports.GetUnionIdResponse = GetUnionIdResponse;
|
|
3354
3476
|
class GetWelcomeTextAndMusicHeaders extends $tea.Model {
|
|
3355
3477
|
constructor(map) {
|
|
3356
3478
|
super(map);
|
|
@@ -6246,6 +6368,11 @@ class SyncDeviceStatusWithAkRequest extends $tea.Model {
|
|
|
6246
6368
|
number: 'Number',
|
|
6247
6369
|
roomNo: 'RoomNo',
|
|
6248
6370
|
switch: 'Switch',
|
|
6371
|
+
fanSpeed: 'fanSpeed',
|
|
6372
|
+
mode: 'mode',
|
|
6373
|
+
roomTemperature: 'roomTemperature',
|
|
6374
|
+
temperature: 'temperature',
|
|
6375
|
+
value: 'value',
|
|
6249
6376
|
};
|
|
6250
6377
|
}
|
|
6251
6378
|
static types() {
|
|
@@ -6259,6 +6386,11 @@ class SyncDeviceStatusWithAkRequest extends $tea.Model {
|
|
|
6259
6386
|
number: 'string',
|
|
6260
6387
|
roomNo: 'string',
|
|
6261
6388
|
switch: 'number',
|
|
6389
|
+
fanSpeed: 'string',
|
|
6390
|
+
mode: 'string',
|
|
6391
|
+
roomTemperature: 'string',
|
|
6392
|
+
temperature: 'string',
|
|
6393
|
+
value: 'number',
|
|
6262
6394
|
};
|
|
6263
6395
|
}
|
|
6264
6396
|
}
|
|
@@ -6538,8 +6670,44 @@ class UpdateHotelHeaders extends $tea.Model {
|
|
|
6538
6670
|
};
|
|
6539
6671
|
}
|
|
6540
6672
|
}
|
|
6541
|
-
exports.UpdateHotelHeaders = UpdateHotelHeaders;
|
|
6542
|
-
class UpdateHotelRequest extends $tea.Model {
|
|
6673
|
+
exports.UpdateHotelHeaders = UpdateHotelHeaders;
|
|
6674
|
+
class UpdateHotelRequest extends $tea.Model {
|
|
6675
|
+
constructor(map) {
|
|
6676
|
+
super(map);
|
|
6677
|
+
}
|
|
6678
|
+
static names() {
|
|
6679
|
+
return {
|
|
6680
|
+
appKey: 'AppKey',
|
|
6681
|
+
estOpenTime: 'EstOpenTime',
|
|
6682
|
+
hotelAddress: 'HotelAddress',
|
|
6683
|
+
hotelEmail: 'HotelEmail',
|
|
6684
|
+
hotelId: 'HotelId',
|
|
6685
|
+
hotelName: 'HotelName',
|
|
6686
|
+
phoneNumber: 'PhoneNumber',
|
|
6687
|
+
relatedPks: 'RelatedPks',
|
|
6688
|
+
remark: 'Remark',
|
|
6689
|
+
roomNum: 'RoomNum',
|
|
6690
|
+
tbOpenId: 'TbOpenId',
|
|
6691
|
+
};
|
|
6692
|
+
}
|
|
6693
|
+
static types() {
|
|
6694
|
+
return {
|
|
6695
|
+
appKey: 'string',
|
|
6696
|
+
estOpenTime: 'string',
|
|
6697
|
+
hotelAddress: 'string',
|
|
6698
|
+
hotelEmail: 'string',
|
|
6699
|
+
hotelId: 'string',
|
|
6700
|
+
hotelName: 'string',
|
|
6701
|
+
phoneNumber: 'string',
|
|
6702
|
+
relatedPks: { 'type': 'array', 'itemType': 'string' },
|
|
6703
|
+
remark: 'string',
|
|
6704
|
+
roomNum: 'number',
|
|
6705
|
+
tbOpenId: 'string',
|
|
6706
|
+
};
|
|
6707
|
+
}
|
|
6708
|
+
}
|
|
6709
|
+
exports.UpdateHotelRequest = UpdateHotelRequest;
|
|
6710
|
+
class UpdateHotelShrinkRequest extends $tea.Model {
|
|
6543
6711
|
constructor(map) {
|
|
6544
6712
|
super(map);
|
|
6545
6713
|
}
|
|
@@ -6552,6 +6720,7 @@ class UpdateHotelRequest extends $tea.Model {
|
|
|
6552
6720
|
hotelId: 'HotelId',
|
|
6553
6721
|
hotelName: 'HotelName',
|
|
6554
6722
|
phoneNumber: 'PhoneNumber',
|
|
6723
|
+
relatedPksShrink: 'RelatedPks',
|
|
6555
6724
|
remark: 'Remark',
|
|
6556
6725
|
roomNum: 'RoomNum',
|
|
6557
6726
|
tbOpenId: 'TbOpenId',
|
|
@@ -6566,13 +6735,14 @@ class UpdateHotelRequest extends $tea.Model {
|
|
|
6566
6735
|
hotelId: 'string',
|
|
6567
6736
|
hotelName: 'string',
|
|
6568
6737
|
phoneNumber: 'string',
|
|
6738
|
+
relatedPksShrink: 'string',
|
|
6569
6739
|
remark: 'string',
|
|
6570
6740
|
roomNum: 'number',
|
|
6571
6741
|
tbOpenId: 'string',
|
|
6572
6742
|
};
|
|
6573
6743
|
}
|
|
6574
6744
|
}
|
|
6575
|
-
exports.
|
|
6745
|
+
exports.UpdateHotelShrinkRequest = UpdateHotelShrinkRequest;
|
|
6576
6746
|
class UpdateHotelResponseBody extends $tea.Model {
|
|
6577
6747
|
constructor(map) {
|
|
6578
6748
|
super(map);
|
|
@@ -7193,52 +7363,26 @@ class AddOrUpdateHotelSettingRequestNightMode extends $tea.Model {
|
|
|
7193
7363
|
}
|
|
7194
7364
|
static names() {
|
|
7195
7365
|
return {
|
|
7366
|
+
defaultBright: 'DefaultBright',
|
|
7367
|
+
defaultVolume: 'DefaultVolume',
|
|
7196
7368
|
enable: 'Enable',
|
|
7197
7369
|
end: 'End',
|
|
7198
|
-
maxBright: 'MaxBright',
|
|
7199
|
-
maxVolume: 'MaxVolume',
|
|
7200
7370
|
standbyAction: 'StandbyAction',
|
|
7201
7371
|
start: 'Start',
|
|
7202
7372
|
};
|
|
7203
7373
|
}
|
|
7204
7374
|
static types() {
|
|
7205
7375
|
return {
|
|
7376
|
+
defaultBright: 'string',
|
|
7377
|
+
defaultVolume: 'string',
|
|
7206
7378
|
enable: 'boolean',
|
|
7207
7379
|
end: 'string',
|
|
7208
|
-
maxBright: 'string',
|
|
7209
|
-
maxVolume: 'string',
|
|
7210
7380
|
standbyAction: 'string',
|
|
7211
7381
|
start: 'string',
|
|
7212
7382
|
};
|
|
7213
7383
|
}
|
|
7214
7384
|
}
|
|
7215
7385
|
exports.AddOrUpdateHotelSettingRequestNightMode = AddOrUpdateHotelSettingRequestNightMode;
|
|
7216
|
-
class AddOrUpdateNightModeRequestNightMode extends $tea.Model {
|
|
7217
|
-
constructor(map) {
|
|
7218
|
-
super(map);
|
|
7219
|
-
}
|
|
7220
|
-
static names() {
|
|
7221
|
-
return {
|
|
7222
|
-
enable: 'Enable',
|
|
7223
|
-
end: 'End',
|
|
7224
|
-
maxBright: 'MaxBright',
|
|
7225
|
-
maxVolume: 'MaxVolume',
|
|
7226
|
-
standbyAction: 'StandbyAction',
|
|
7227
|
-
start: 'Start',
|
|
7228
|
-
};
|
|
7229
|
-
}
|
|
7230
|
-
static types() {
|
|
7231
|
-
return {
|
|
7232
|
-
enable: 'boolean',
|
|
7233
|
-
end: 'string',
|
|
7234
|
-
maxBright: 'string',
|
|
7235
|
-
maxVolume: 'string',
|
|
7236
|
-
standbyAction: 'string',
|
|
7237
|
-
start: 'string',
|
|
7238
|
-
};
|
|
7239
|
-
}
|
|
7240
|
-
}
|
|
7241
|
-
exports.AddOrUpdateNightModeRequestNightMode = AddOrUpdateNightModeRequestNightMode;
|
|
7242
7386
|
class AddOrUpdateScreenSaverRequestHotelScreenSaver extends $tea.Model {
|
|
7243
7387
|
constructor(map) {
|
|
7244
7388
|
super(map);
|
|
@@ -7507,6 +7651,90 @@ class GetCartoonResponseBodyResult extends $tea.Model {
|
|
|
7507
7651
|
}
|
|
7508
7652
|
}
|
|
7509
7653
|
exports.GetCartoonResponseBodyResult = GetCartoonResponseBodyResult;
|
|
7654
|
+
class GetHotelContactByGenieDeviceRequestDeviceInfo extends $tea.Model {
|
|
7655
|
+
constructor(map) {
|
|
7656
|
+
super(map);
|
|
7657
|
+
}
|
|
7658
|
+
static names() {
|
|
7659
|
+
return {
|
|
7660
|
+
encodeKey: 'EncodeKey',
|
|
7661
|
+
encodeType: 'EncodeType',
|
|
7662
|
+
id: 'Id',
|
|
7663
|
+
idType: 'IdType',
|
|
7664
|
+
organizationId: 'OrganizationId',
|
|
7665
|
+
};
|
|
7666
|
+
}
|
|
7667
|
+
static types() {
|
|
7668
|
+
return {
|
|
7669
|
+
encodeKey: 'string',
|
|
7670
|
+
encodeType: 'string',
|
|
7671
|
+
id: 'string',
|
|
7672
|
+
idType: 'string',
|
|
7673
|
+
organizationId: 'string',
|
|
7674
|
+
};
|
|
7675
|
+
}
|
|
7676
|
+
}
|
|
7677
|
+
exports.GetHotelContactByGenieDeviceRequestDeviceInfo = GetHotelContactByGenieDeviceRequestDeviceInfo;
|
|
7678
|
+
class GetHotelContactByGenieDeviceRequestUserInfo extends $tea.Model {
|
|
7679
|
+
constructor(map) {
|
|
7680
|
+
super(map);
|
|
7681
|
+
}
|
|
7682
|
+
static names() {
|
|
7683
|
+
return {
|
|
7684
|
+
encodeKey: 'EncodeKey',
|
|
7685
|
+
encodeType: 'EncodeType',
|
|
7686
|
+
id: 'Id',
|
|
7687
|
+
idType: 'IdType',
|
|
7688
|
+
organizationId: 'OrganizationId',
|
|
7689
|
+
};
|
|
7690
|
+
}
|
|
7691
|
+
static types() {
|
|
7692
|
+
return {
|
|
7693
|
+
encodeKey: 'string',
|
|
7694
|
+
encodeType: 'string',
|
|
7695
|
+
id: 'string',
|
|
7696
|
+
idType: 'string',
|
|
7697
|
+
organizationId: 'string',
|
|
7698
|
+
};
|
|
7699
|
+
}
|
|
7700
|
+
}
|
|
7701
|
+
exports.GetHotelContactByGenieDeviceRequestUserInfo = GetHotelContactByGenieDeviceRequestUserInfo;
|
|
7702
|
+
class GetHotelContactByGenieDeviceResponseBodyResult extends $tea.Model {
|
|
7703
|
+
constructor(map) {
|
|
7704
|
+
super(map);
|
|
7705
|
+
}
|
|
7706
|
+
static names() {
|
|
7707
|
+
return {
|
|
7708
|
+
expireAt: 'ExpireAt',
|
|
7709
|
+
gmtCreate: 'GmtCreate',
|
|
7710
|
+
gmtModified: 'GmtModified',
|
|
7711
|
+
hotelId: 'HotelId',
|
|
7712
|
+
icon: 'Icon',
|
|
7713
|
+
id: 'Id',
|
|
7714
|
+
name: 'Name',
|
|
7715
|
+
number: 'Number',
|
|
7716
|
+
status: 'Status',
|
|
7717
|
+
type: 'Type',
|
|
7718
|
+
uuid: 'Uuid',
|
|
7719
|
+
};
|
|
7720
|
+
}
|
|
7721
|
+
static types() {
|
|
7722
|
+
return {
|
|
7723
|
+
expireAt: 'string',
|
|
7724
|
+
gmtCreate: 'string',
|
|
7725
|
+
gmtModified: 'string',
|
|
7726
|
+
hotelId: 'string',
|
|
7727
|
+
icon: 'string',
|
|
7728
|
+
id: 'number',
|
|
7729
|
+
name: 'string',
|
|
7730
|
+
number: 'string',
|
|
7731
|
+
status: 'number',
|
|
7732
|
+
type: 'string',
|
|
7733
|
+
uuid: 'string',
|
|
7734
|
+
};
|
|
7735
|
+
}
|
|
7736
|
+
}
|
|
7737
|
+
exports.GetHotelContactByGenieDeviceResponseBodyResult = GetHotelContactByGenieDeviceResponseBodyResult;
|
|
7510
7738
|
class GetHotelContactByNumberRequestUserInfo extends $tea.Model {
|
|
7511
7739
|
constructor(map) {
|
|
7512
7740
|
super(map);
|
|
@@ -7991,20 +8219,20 @@ class GetHotelSettingResponseBodyResultNightMode extends $tea.Model {
|
|
|
7991
8219
|
}
|
|
7992
8220
|
static names() {
|
|
7993
8221
|
return {
|
|
8222
|
+
defaultBright: 'DefaultBright',
|
|
8223
|
+
defaultVolume: 'DefaultVolume',
|
|
7994
8224
|
enable: 'Enable',
|
|
7995
8225
|
end: 'End',
|
|
7996
|
-
maxBright: 'MaxBright',
|
|
7997
|
-
maxVolume: 'MaxVolume',
|
|
7998
8226
|
standbyAction: 'StandbyAction',
|
|
7999
8227
|
start: 'Start',
|
|
8000
8228
|
};
|
|
8001
8229
|
}
|
|
8002
8230
|
static types() {
|
|
8003
8231
|
return {
|
|
8232
|
+
defaultBright: 'string',
|
|
8233
|
+
defaultVolume: 'string',
|
|
8004
8234
|
enable: 'boolean',
|
|
8005
8235
|
end: 'string',
|
|
8006
|
-
maxBright: 'string',
|
|
8007
|
-
maxVolume: 'string',
|
|
8008
8236
|
standbyAction: 'string',
|
|
8009
8237
|
start: 'string',
|
|
8010
8238
|
};
|
|
@@ -8059,6 +8287,24 @@ class GetRelationProductListResponseBodyResult extends $tea.Model {
|
|
|
8059
8287
|
}
|
|
8060
8288
|
}
|
|
8061
8289
|
exports.GetRelationProductListResponseBodyResult = GetRelationProductListResponseBodyResult;
|
|
8290
|
+
class GetUnionIdResponseBodyResult extends $tea.Model {
|
|
8291
|
+
constructor(map) {
|
|
8292
|
+
super(map);
|
|
8293
|
+
}
|
|
8294
|
+
static names() {
|
|
8295
|
+
return {
|
|
8296
|
+
organizationId: 'OrganizationId',
|
|
8297
|
+
unionId: 'UnionId',
|
|
8298
|
+
};
|
|
8299
|
+
}
|
|
8300
|
+
static types() {
|
|
8301
|
+
return {
|
|
8302
|
+
organizationId: 'string',
|
|
8303
|
+
unionId: 'string',
|
|
8304
|
+
};
|
|
8305
|
+
}
|
|
8306
|
+
}
|
|
8307
|
+
exports.GetUnionIdResponseBodyResult = GetUnionIdResponseBodyResult;
|
|
8062
8308
|
class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model {
|
|
8063
8309
|
constructor(map) {
|
|
8064
8310
|
super(map);
|
|
@@ -10013,52 +10259,6 @@ class Client extends openapi_client_1.default {
|
|
|
10013
10259
|
let headers = new AddOrUpdateHotelSettingHeaders({});
|
|
10014
10260
|
return await this.addOrUpdateHotelSettingWithOptions(request, headers, runtime);
|
|
10015
10261
|
}
|
|
10016
|
-
async addOrUpdateNightModeWithOptions(tmpReq, headers, runtime) {
|
|
10017
|
-
tea_util_1.default.validateModel(tmpReq);
|
|
10018
|
-
let request = new AddOrUpdateNightModeShrinkRequest({});
|
|
10019
|
-
openapi_util_1.default.convert(tmpReq, request);
|
|
10020
|
-
if (!tea_util_1.default.isUnset(tmpReq.nightMode)) {
|
|
10021
|
-
request.nightModeShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.nightMode, "NightMode", "json");
|
|
10022
|
-
}
|
|
10023
|
-
let body = {};
|
|
10024
|
-
if (!tea_util_1.default.isUnset(request.hotelId)) {
|
|
10025
|
-
body["HotelId"] = request.hotelId;
|
|
10026
|
-
}
|
|
10027
|
-
if (!tea_util_1.default.isUnset(request.nightModeShrink)) {
|
|
10028
|
-
body["NightMode"] = request.nightModeShrink;
|
|
10029
|
-
}
|
|
10030
|
-
let realHeaders = {};
|
|
10031
|
-
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
10032
|
-
realHeaders = headers.commonHeaders;
|
|
10033
|
-
}
|
|
10034
|
-
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
10035
|
-
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
10036
|
-
}
|
|
10037
|
-
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
10038
|
-
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
10039
|
-
}
|
|
10040
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
10041
|
-
headers: realHeaders,
|
|
10042
|
-
body: openapi_util_1.default.parseToMap(body),
|
|
10043
|
-
});
|
|
10044
|
-
let params = new $OpenApi.Params({
|
|
10045
|
-
action: "AddOrUpdateNightMode",
|
|
10046
|
-
version: "ip_1.0",
|
|
10047
|
-
protocol: "HTTPS",
|
|
10048
|
-
pathname: `/v1.0/ip/addOrUpdateNightMode`,
|
|
10049
|
-
method: "POST",
|
|
10050
|
-
authType: "AK",
|
|
10051
|
-
style: "ROA",
|
|
10052
|
-
reqBodyType: "formData",
|
|
10053
|
-
bodyType: "json",
|
|
10054
|
-
});
|
|
10055
|
-
return $tea.cast(await this.callApi(params, req, runtime), new AddOrUpdateNightModeResponse({}));
|
|
10056
|
-
}
|
|
10057
|
-
async addOrUpdateNightMode(request) {
|
|
10058
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
10059
|
-
let headers = new AddOrUpdateNightModeHeaders({});
|
|
10060
|
-
return await this.addOrUpdateNightModeWithOptions(request, headers, runtime);
|
|
10061
|
-
}
|
|
10062
10262
|
async addOrUpdateScreenSaverWithOptions(tmpReq, headers, runtime) {
|
|
10063
10263
|
tea_util_1.default.validateModel(tmpReq);
|
|
10064
10264
|
let request = new AddOrUpdateScreenSaverShrinkRequest({});
|
|
@@ -10372,8 +10572,13 @@ class Client extends openapi_client_1.default {
|
|
|
10372
10572
|
let headers = new ChildAccountAuthHeaders({});
|
|
10373
10573
|
return await this.childAccountAuthWithOptions(request, headers, runtime);
|
|
10374
10574
|
}
|
|
10375
|
-
async createHotelWithOptions(
|
|
10376
|
-
tea_util_1.default.validateModel(
|
|
10575
|
+
async createHotelWithOptions(tmpReq, headers, runtime) {
|
|
10576
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
10577
|
+
let request = new CreateHotelShrinkRequest({});
|
|
10578
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
10579
|
+
if (!tea_util_1.default.isUnset(tmpReq.relatedPks)) {
|
|
10580
|
+
request.relatedPksShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.relatedPks, "RelatedPks", "json");
|
|
10581
|
+
}
|
|
10377
10582
|
let body = {};
|
|
10378
10583
|
if (!tea_util_1.default.isUnset(request.appKey)) {
|
|
10379
10584
|
body["AppKey"] = request.appKey;
|
|
@@ -10396,6 +10601,9 @@ class Client extends openapi_client_1.default {
|
|
|
10396
10601
|
if (!tea_util_1.default.isUnset(request.relatedPk)) {
|
|
10397
10602
|
body["RelatedPk"] = request.relatedPk;
|
|
10398
10603
|
}
|
|
10604
|
+
if (!tea_util_1.default.isUnset(request.relatedPksShrink)) {
|
|
10605
|
+
body["RelatedPks"] = request.relatedPksShrink;
|
|
10606
|
+
}
|
|
10399
10607
|
if (!tea_util_1.default.isUnset(request.remark)) {
|
|
10400
10608
|
body["Remark"] = request.remark;
|
|
10401
10609
|
}
|
|
@@ -10867,6 +11075,55 @@ class Client extends openapi_client_1.default {
|
|
|
10867
11075
|
let headers = new GetCartoonHeaders({});
|
|
10868
11076
|
return await this.getCartoonWithOptions(request, headers, runtime);
|
|
10869
11077
|
}
|
|
11078
|
+
async getHotelContactByGenieDeviceWithOptions(tmpReq, headers, runtime) {
|
|
11079
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
11080
|
+
let request = new GetHotelContactByGenieDeviceShrinkRequest({});
|
|
11081
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
11082
|
+
if (!tea_util_1.default.isUnset(tmpReq.deviceInfo)) {
|
|
11083
|
+
request.deviceInfoShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
|
|
11084
|
+
}
|
|
11085
|
+
if (!tea_util_1.default.isUnset(tmpReq.userInfo)) {
|
|
11086
|
+
request.userInfoShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
|
|
11087
|
+
}
|
|
11088
|
+
let query = {};
|
|
11089
|
+
if (!tea_util_1.default.isUnset(request.deviceInfoShrink)) {
|
|
11090
|
+
query["DeviceInfo"] = request.deviceInfoShrink;
|
|
11091
|
+
}
|
|
11092
|
+
if (!tea_util_1.default.isUnset(request.userInfoShrink)) {
|
|
11093
|
+
query["UserInfo"] = request.userInfoShrink;
|
|
11094
|
+
}
|
|
11095
|
+
let realHeaders = {};
|
|
11096
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
11097
|
+
realHeaders = headers.commonHeaders;
|
|
11098
|
+
}
|
|
11099
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
11100
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
11101
|
+
}
|
|
11102
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
11103
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
11104
|
+
}
|
|
11105
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11106
|
+
headers: realHeaders,
|
|
11107
|
+
query: openapi_util_1.default.query(query),
|
|
11108
|
+
});
|
|
11109
|
+
let params = new $OpenApi.Params({
|
|
11110
|
+
action: "GetHotelContactByGenieDevice",
|
|
11111
|
+
version: "ip_1.0",
|
|
11112
|
+
protocol: "HTTPS",
|
|
11113
|
+
pathname: `/v1.0/ip/getHotelContactByGenieDevice`,
|
|
11114
|
+
method: "POST",
|
|
11115
|
+
authType: "AK",
|
|
11116
|
+
style: "ROA",
|
|
11117
|
+
reqBodyType: "json",
|
|
11118
|
+
bodyType: "json",
|
|
11119
|
+
});
|
|
11120
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetHotelContactByGenieDeviceResponse({}));
|
|
11121
|
+
}
|
|
11122
|
+
async getHotelContactByGenieDevice(request) {
|
|
11123
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
11124
|
+
let headers = new GetHotelContactByGenieDeviceHeaders({});
|
|
11125
|
+
return await this.getHotelContactByGenieDeviceWithOptions(request, headers, runtime);
|
|
11126
|
+
}
|
|
10870
11127
|
async getHotelContactByNumberWithOptions(tmpReq, headers, runtime) {
|
|
10871
11128
|
tea_util_1.default.validateModel(tmpReq);
|
|
10872
11129
|
let request = new GetHotelContactByNumberShrinkRequest({});
|
|
@@ -11409,6 +11666,53 @@ class Client extends openapi_client_1.default {
|
|
|
11409
11666
|
let headers = new GetRelationProductListHeaders({});
|
|
11410
11667
|
return await this.getRelationProductListWithOptions(headers, runtime);
|
|
11411
11668
|
}
|
|
11669
|
+
async getUnionIdWithOptions(request, headers, runtime) {
|
|
11670
|
+
tea_util_1.default.validateModel(request);
|
|
11671
|
+
let body = {};
|
|
11672
|
+
if (!tea_util_1.default.isUnset(request.encodeKey)) {
|
|
11673
|
+
body["EncodeKey"] = request.encodeKey;
|
|
11674
|
+
}
|
|
11675
|
+
if (!tea_util_1.default.isUnset(request.encodeType)) {
|
|
11676
|
+
body["EncodeType"] = request.encodeType;
|
|
11677
|
+
}
|
|
11678
|
+
if (!tea_util_1.default.isUnset(request.id)) {
|
|
11679
|
+
body["Id"] = request.id;
|
|
11680
|
+
}
|
|
11681
|
+
if (!tea_util_1.default.isUnset(request.idType)) {
|
|
11682
|
+
body["IdType"] = request.idType;
|
|
11683
|
+
}
|
|
11684
|
+
let realHeaders = {};
|
|
11685
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
11686
|
+
realHeaders = headers.commonHeaders;
|
|
11687
|
+
}
|
|
11688
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
|
|
11689
|
+
realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
|
|
11690
|
+
}
|
|
11691
|
+
if (!tea_util_1.default.isUnset(headers.authorization)) {
|
|
11692
|
+
realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
|
|
11693
|
+
}
|
|
11694
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11695
|
+
headers: realHeaders,
|
|
11696
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
11697
|
+
});
|
|
11698
|
+
let params = new $OpenApi.Params({
|
|
11699
|
+
action: "GetUnionId",
|
|
11700
|
+
version: "ip_1.0",
|
|
11701
|
+
protocol: "HTTPS",
|
|
11702
|
+
pathname: `/v1.0/ip/getUnionId`,
|
|
11703
|
+
method: "POST",
|
|
11704
|
+
authType: "AK",
|
|
11705
|
+
style: "ROA",
|
|
11706
|
+
reqBodyType: "formData",
|
|
11707
|
+
bodyType: "json",
|
|
11708
|
+
});
|
|
11709
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetUnionIdResponse({}));
|
|
11710
|
+
}
|
|
11711
|
+
async getUnionId(request) {
|
|
11712
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
11713
|
+
let headers = new GetUnionIdHeaders({});
|
|
11714
|
+
return await this.getUnionIdWithOptions(request, headers, runtime);
|
|
11715
|
+
}
|
|
11412
11716
|
async getWelcomeTextAndMusicWithOptions(request, headers, runtime) {
|
|
11413
11717
|
tea_util_1.default.validateModel(request);
|
|
11414
11718
|
let body = {};
|
|
@@ -12846,6 +13150,21 @@ class Client extends openapi_client_1.default {
|
|
|
12846
13150
|
if (!tea_util_1.default.isUnset(request.switch)) {
|
|
12847
13151
|
body["Switch"] = request.switch;
|
|
12848
13152
|
}
|
|
13153
|
+
if (!tea_util_1.default.isUnset(request.fanSpeed)) {
|
|
13154
|
+
body["fanSpeed"] = request.fanSpeed;
|
|
13155
|
+
}
|
|
13156
|
+
if (!tea_util_1.default.isUnset(request.mode)) {
|
|
13157
|
+
body["mode"] = request.mode;
|
|
13158
|
+
}
|
|
13159
|
+
if (!tea_util_1.default.isUnset(request.roomTemperature)) {
|
|
13160
|
+
body["roomTemperature"] = request.roomTemperature;
|
|
13161
|
+
}
|
|
13162
|
+
if (!tea_util_1.default.isUnset(request.temperature)) {
|
|
13163
|
+
body["temperature"] = request.temperature;
|
|
13164
|
+
}
|
|
13165
|
+
if (!tea_util_1.default.isUnset(request.value)) {
|
|
13166
|
+
body["value"] = request.value;
|
|
13167
|
+
}
|
|
12849
13168
|
let realHeaders = {};
|
|
12850
13169
|
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
12851
13170
|
realHeaders = headers.commonHeaders;
|
|
@@ -13013,8 +13332,13 @@ class Client extends openapi_client_1.default {
|
|
|
13013
13332
|
let headers = new UpdateCustomQAHeaders({});
|
|
13014
13333
|
return await this.updateCustomQAWithOptions(request, headers, runtime);
|
|
13015
13334
|
}
|
|
13016
|
-
async updateHotelWithOptions(
|
|
13017
|
-
tea_util_1.default.validateModel(
|
|
13335
|
+
async updateHotelWithOptions(tmpReq, headers, runtime) {
|
|
13336
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
13337
|
+
let request = new UpdateHotelShrinkRequest({});
|
|
13338
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
13339
|
+
if (!tea_util_1.default.isUnset(tmpReq.relatedPks)) {
|
|
13340
|
+
request.relatedPksShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.relatedPks, "RelatedPks", "json");
|
|
13341
|
+
}
|
|
13018
13342
|
let body = {};
|
|
13019
13343
|
if (!tea_util_1.default.isUnset(request.appKey)) {
|
|
13020
13344
|
body["AppKey"] = request.appKey;
|
|
@@ -13037,6 +13361,9 @@ class Client extends openapi_client_1.default {
|
|
|
13037
13361
|
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
13038
13362
|
body["PhoneNumber"] = request.phoneNumber;
|
|
13039
13363
|
}
|
|
13364
|
+
if (!tea_util_1.default.isUnset(request.relatedPksShrink)) {
|
|
13365
|
+
body["RelatedPks"] = request.relatedPksShrink;
|
|
13366
|
+
}
|
|
13040
13367
|
if (!tea_util_1.default.isUnset(request.remark)) {
|
|
13041
13368
|
body["Remark"] = request.remark;
|
|
13042
13369
|
}
|