@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 CHANGED
@@ -358,79 +358,6 @@ export declare class AddOrUpdateHotelSettingResponse extends $tea.Model {
358
358
  [key: string]: any;
359
359
  });
360
360
  }
361
- export declare class AddOrUpdateNightModeHeaders extends $tea.Model {
362
- commonHeaders?: {
363
- [key: string]: string;
364
- };
365
- xAcsAligenieAccessToken?: string;
366
- authorization?: string;
367
- static names(): {
368
- [key: string]: string;
369
- };
370
- static types(): {
371
- [key: string]: any;
372
- };
373
- constructor(map?: {
374
- [key: string]: any;
375
- });
376
- }
377
- export declare class AddOrUpdateNightModeRequest extends $tea.Model {
378
- hotelId?: string;
379
- nightMode?: AddOrUpdateNightModeRequestNightMode;
380
- static names(): {
381
- [key: string]: string;
382
- };
383
- static types(): {
384
- [key: string]: any;
385
- };
386
- constructor(map?: {
387
- [key: string]: any;
388
- });
389
- }
390
- export declare class AddOrUpdateNightModeShrinkRequest extends $tea.Model {
391
- hotelId?: string;
392
- nightModeShrink?: string;
393
- static names(): {
394
- [key: string]: string;
395
- };
396
- static types(): {
397
- [key: string]: any;
398
- };
399
- constructor(map?: {
400
- [key: string]: any;
401
- });
402
- }
403
- export declare class AddOrUpdateNightModeResponseBody extends $tea.Model {
404
- message?: string;
405
- requestId?: string;
406
- result?: boolean;
407
- statusCode?: number;
408
- static names(): {
409
- [key: string]: string;
410
- };
411
- static types(): {
412
- [key: string]: any;
413
- };
414
- constructor(map?: {
415
- [key: string]: any;
416
- });
417
- }
418
- export declare class AddOrUpdateNightModeResponse extends $tea.Model {
419
- headers: {
420
- [key: string]: string;
421
- };
422
- statusCode: number;
423
- body: AddOrUpdateNightModeResponseBody;
424
- static names(): {
425
- [key: string]: string;
426
- };
427
- static types(): {
428
- [key: string]: any;
429
- };
430
- constructor(map?: {
431
- [key: string]: any;
432
- });
433
- }
434
361
  export declare class AddOrUpdateScreenSaverHeaders extends $tea.Model {
435
362
  commonHeaders?: {
436
363
  [key: string]: string;
@@ -934,6 +861,29 @@ export declare class CreateHotelRequest extends $tea.Model {
934
861
  hotelName?: string;
935
862
  phoneNumber?: string;
936
863
  relatedPk?: string;
864
+ relatedPks?: string[];
865
+ remark?: string;
866
+ roomNum?: number;
867
+ tbOpenId?: string;
868
+ static names(): {
869
+ [key: string]: string;
870
+ };
871
+ static types(): {
872
+ [key: string]: any;
873
+ };
874
+ constructor(map?: {
875
+ [key: string]: any;
876
+ });
877
+ }
878
+ export declare class CreateHotelShrinkRequest extends $tea.Model {
879
+ appKey?: string;
880
+ estOpenTime?: string;
881
+ hotelAddress?: string;
882
+ hotelEmail?: string;
883
+ hotelName?: string;
884
+ phoneNumber?: string;
885
+ relatedPk?: string;
886
+ relatedPksShrink?: string;
937
887
  remark?: string;
938
888
  roomNum?: number;
939
889
  tbOpenId?: string;
@@ -1639,6 +1589,79 @@ export declare class GetCartoonResponse extends $tea.Model {
1639
1589
  [key: string]: any;
1640
1590
  });
1641
1591
  }
1592
+ export declare class GetHotelContactByGenieDeviceHeaders extends $tea.Model {
1593
+ commonHeaders?: {
1594
+ [key: string]: string;
1595
+ };
1596
+ xAcsAligenieAccessToken?: string;
1597
+ authorization?: string;
1598
+ static names(): {
1599
+ [key: string]: string;
1600
+ };
1601
+ static types(): {
1602
+ [key: string]: any;
1603
+ };
1604
+ constructor(map?: {
1605
+ [key: string]: any;
1606
+ });
1607
+ }
1608
+ export declare class GetHotelContactByGenieDeviceRequest extends $tea.Model {
1609
+ deviceInfo?: GetHotelContactByGenieDeviceRequestDeviceInfo;
1610
+ userInfo?: GetHotelContactByGenieDeviceRequestUserInfo;
1611
+ static names(): {
1612
+ [key: string]: string;
1613
+ };
1614
+ static types(): {
1615
+ [key: string]: any;
1616
+ };
1617
+ constructor(map?: {
1618
+ [key: string]: any;
1619
+ });
1620
+ }
1621
+ export declare class GetHotelContactByGenieDeviceShrinkRequest extends $tea.Model {
1622
+ deviceInfoShrink?: string;
1623
+ userInfoShrink?: string;
1624
+ static names(): {
1625
+ [key: string]: string;
1626
+ };
1627
+ static types(): {
1628
+ [key: string]: any;
1629
+ };
1630
+ constructor(map?: {
1631
+ [key: string]: any;
1632
+ });
1633
+ }
1634
+ export declare class GetHotelContactByGenieDeviceResponseBody extends $tea.Model {
1635
+ message?: string;
1636
+ requestId?: string;
1637
+ result?: GetHotelContactByGenieDeviceResponseBodyResult;
1638
+ statusCode?: number;
1639
+ static names(): {
1640
+ [key: string]: string;
1641
+ };
1642
+ static types(): {
1643
+ [key: string]: any;
1644
+ };
1645
+ constructor(map?: {
1646
+ [key: string]: any;
1647
+ });
1648
+ }
1649
+ export declare class GetHotelContactByGenieDeviceResponse extends $tea.Model {
1650
+ headers: {
1651
+ [key: string]: string;
1652
+ };
1653
+ statusCode: number;
1654
+ body: GetHotelContactByGenieDeviceResponseBody;
1655
+ static names(): {
1656
+ [key: string]: string;
1657
+ };
1658
+ static types(): {
1659
+ [key: string]: any;
1660
+ };
1661
+ constructor(map?: {
1662
+ [key: string]: any;
1663
+ });
1664
+ }
1642
1665
  export declare class GetHotelContactByNumberHeaders extends $tea.Model {
1643
1666
  commonHeaders?: {
1644
1667
  [key: string]: string;
@@ -2498,6 +2521,68 @@ export declare class GetRelationProductListResponse extends $tea.Model {
2498
2521
  [key: string]: any;
2499
2522
  });
2500
2523
  }
2524
+ export declare class GetUnionIdHeaders extends $tea.Model {
2525
+ commonHeaders?: {
2526
+ [key: string]: string;
2527
+ };
2528
+ xAcsAligenieAccessToken?: string;
2529
+ authorization?: string;
2530
+ static names(): {
2531
+ [key: string]: string;
2532
+ };
2533
+ static types(): {
2534
+ [key: string]: any;
2535
+ };
2536
+ constructor(map?: {
2537
+ [key: string]: any;
2538
+ });
2539
+ }
2540
+ export declare class GetUnionIdRequest extends $tea.Model {
2541
+ encodeKey?: string;
2542
+ encodeType?: string;
2543
+ id?: string;
2544
+ idType?: string;
2545
+ static names(): {
2546
+ [key: string]: string;
2547
+ };
2548
+ static types(): {
2549
+ [key: string]: any;
2550
+ };
2551
+ constructor(map?: {
2552
+ [key: string]: any;
2553
+ });
2554
+ }
2555
+ export declare class GetUnionIdResponseBody extends $tea.Model {
2556
+ message?: string;
2557
+ requestId?: string;
2558
+ result?: GetUnionIdResponseBodyResult[];
2559
+ statusCode?: number;
2560
+ static names(): {
2561
+ [key: string]: string;
2562
+ };
2563
+ static types(): {
2564
+ [key: string]: any;
2565
+ };
2566
+ constructor(map?: {
2567
+ [key: string]: any;
2568
+ });
2569
+ }
2570
+ export declare class GetUnionIdResponse extends $tea.Model {
2571
+ headers: {
2572
+ [key: string]: string;
2573
+ };
2574
+ statusCode: number;
2575
+ body: GetUnionIdResponseBody;
2576
+ static names(): {
2577
+ [key: string]: string;
2578
+ };
2579
+ static types(): {
2580
+ [key: string]: any;
2581
+ };
2582
+ constructor(map?: {
2583
+ [key: string]: any;
2584
+ });
2585
+ }
2501
2586
  export declare class GetWelcomeTextAndMusicHeaders extends $tea.Model {
2502
2587
  commonHeaders?: {
2503
2588
  [key: string]: string;
@@ -4664,6 +4749,11 @@ export declare class SyncDeviceStatusWithAkRequest extends $tea.Model {
4664
4749
  number?: string;
4665
4750
  roomNo?: string;
4666
4751
  switch?: number;
4752
+ fanSpeed?: string;
4753
+ mode?: string;
4754
+ roomTemperature?: string;
4755
+ temperature?: string;
4756
+ value?: number;
4667
4757
  static names(): {
4668
4758
  [key: string]: string;
4669
4759
  };
@@ -4880,6 +4970,29 @@ export declare class UpdateHotelRequest extends $tea.Model {
4880
4970
  hotelId?: string;
4881
4971
  hotelName?: string;
4882
4972
  phoneNumber?: string;
4973
+ relatedPks?: string[];
4974
+ remark?: string;
4975
+ roomNum?: number;
4976
+ tbOpenId?: string;
4977
+ static names(): {
4978
+ [key: string]: string;
4979
+ };
4980
+ static types(): {
4981
+ [key: string]: any;
4982
+ };
4983
+ constructor(map?: {
4984
+ [key: string]: any;
4985
+ });
4986
+ }
4987
+ export declare class UpdateHotelShrinkRequest extends $tea.Model {
4988
+ appKey?: string;
4989
+ estOpenTime?: string;
4990
+ hotelAddress?: string;
4991
+ hotelEmail?: string;
4992
+ hotelId?: string;
4993
+ hotelName?: string;
4994
+ phoneNumber?: string;
4995
+ relatedPksShrink?: string;
4883
4996
  remark?: string;
4884
4997
  roomNum?: number;
4885
4998
  tbOpenId?: string;
@@ -5351,27 +5464,10 @@ export declare class AddOrUpdateHotelSettingRequestHotelScreenSaver extends $tea
5351
5464
  });
5352
5465
  }
5353
5466
  export declare class AddOrUpdateHotelSettingRequestNightMode extends $tea.Model {
5467
+ defaultBright?: string;
5468
+ defaultVolume?: string;
5354
5469
  enable?: boolean;
5355
5470
  end?: string;
5356
- maxBright?: string;
5357
- maxVolume?: string;
5358
- standbyAction?: string;
5359
- start?: string;
5360
- static names(): {
5361
- [key: string]: string;
5362
- };
5363
- static types(): {
5364
- [key: string]: any;
5365
- };
5366
- constructor(map?: {
5367
- [key: string]: any;
5368
- });
5369
- }
5370
- export declare class AddOrUpdateNightModeRequestNightMode extends $tea.Model {
5371
- enable?: boolean;
5372
- end?: string;
5373
- maxBright?: string;
5374
- maxVolume?: string;
5375
5471
  standbyAction?: string;
5376
5472
  start?: string;
5377
5473
  static names(): {
@@ -5568,6 +5664,60 @@ export declare class GetCartoonResponseBodyResult extends $tea.Model {
5568
5664
  [key: string]: any;
5569
5665
  });
5570
5666
  }
5667
+ export declare class GetHotelContactByGenieDeviceRequestDeviceInfo extends $tea.Model {
5668
+ encodeKey?: string;
5669
+ encodeType?: string;
5670
+ id?: string;
5671
+ idType?: string;
5672
+ organizationId?: string;
5673
+ static names(): {
5674
+ [key: string]: string;
5675
+ };
5676
+ static types(): {
5677
+ [key: string]: any;
5678
+ };
5679
+ constructor(map?: {
5680
+ [key: string]: any;
5681
+ });
5682
+ }
5683
+ export declare class GetHotelContactByGenieDeviceRequestUserInfo extends $tea.Model {
5684
+ encodeKey?: string;
5685
+ encodeType?: string;
5686
+ id?: string;
5687
+ idType?: string;
5688
+ organizationId?: string;
5689
+ static names(): {
5690
+ [key: string]: string;
5691
+ };
5692
+ static types(): {
5693
+ [key: string]: any;
5694
+ };
5695
+ constructor(map?: {
5696
+ [key: string]: any;
5697
+ });
5698
+ }
5699
+ export declare class GetHotelContactByGenieDeviceResponseBodyResult extends $tea.Model {
5700
+ expireAt?: string;
5701
+ gmtCreate?: string;
5702
+ gmtModified?: string;
5703
+ hotelId?: string;
5704
+ icon?: string;
5705
+ id?: number;
5706
+ name?: string;
5707
+ number?: string;
5708
+ status?: number;
5709
+ type?: string;
5710
+ uuid?: string;
5711
+ static names(): {
5712
+ [key: string]: string;
5713
+ };
5714
+ static types(): {
5715
+ [key: string]: any;
5716
+ };
5717
+ constructor(map?: {
5718
+ [key: string]: any;
5719
+ });
5720
+ }
5571
5721
  export declare class GetHotelContactByNumberRequestUserInfo extends $tea.Model {
5572
5722
  encodeKey?: string;
5573
5723
  encodeType?: string;
@@ -5888,10 +6038,10 @@ export declare class GetHotelSettingResponseBodyResultHotelScreenSaver extends $
5888
6038
  });
5889
6039
  }
5890
6040
  export declare class GetHotelSettingResponseBodyResultNightMode extends $tea.Model {
6041
+ defaultBright?: string;
6042
+ defaultVolume?: string;
5891
6043
  enable?: boolean;
5892
6044
  end?: string;
5893
- maxBright?: string;
5894
- maxVolume?: string;
5895
6045
  standbyAction?: string;
5896
6046
  start?: string;
5897
6047
  static names(): {
@@ -5936,6 +6086,19 @@ export declare class GetRelationProductListResponseBodyResult extends $tea.Model
5936
6086
  [key: string]: any;
5937
6087
  });
5938
6088
  }
6089
+ export declare class GetUnionIdResponseBodyResult extends $tea.Model {
6090
+ organizationId?: string;
6091
+ unionId?: string;
6092
+ static names(): {
6093
+ [key: string]: string;
6094
+ };
6095
+ static types(): {
6096
+ [key: string]: any;
6097
+ };
6098
+ constructor(map?: {
6099
+ [key: string]: any;
6100
+ });
6101
+ }
5939
6102
  export declare class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model {
5940
6103
  hotelId?: string;
5941
6104
  musicUrl?: string;
@@ -7102,8 +7265,6 @@ export default class Client extends OpenApi {
7102
7265
  addOrUpdateDisPlayModes(request: AddOrUpdateDisPlayModesRequest): Promise<AddOrUpdateDisPlayModesResponse>;
7103
7266
  addOrUpdateHotelSettingWithOptions(tmpReq: AddOrUpdateHotelSettingRequest, headers: AddOrUpdateHotelSettingHeaders, runtime: $Util.RuntimeOptions): Promise<AddOrUpdateHotelSettingResponse>;
7104
7267
  addOrUpdateHotelSetting(request: AddOrUpdateHotelSettingRequest): Promise<AddOrUpdateHotelSettingResponse>;
7105
- addOrUpdateNightModeWithOptions(tmpReq: AddOrUpdateNightModeRequest, headers: AddOrUpdateNightModeHeaders, runtime: $Util.RuntimeOptions): Promise<AddOrUpdateNightModeResponse>;
7106
- addOrUpdateNightMode(request: AddOrUpdateNightModeRequest): Promise<AddOrUpdateNightModeResponse>;
7107
7268
  addOrUpdateScreenSaverWithOptions(tmpReq: AddOrUpdateScreenSaverRequest, headers: AddOrUpdateScreenSaverHeaders, runtime: $Util.RuntimeOptions): Promise<AddOrUpdateScreenSaverResponse>;
7108
7269
  addOrUpdateScreenSaver(request: AddOrUpdateScreenSaverRequest): Promise<AddOrUpdateScreenSaverResponse>;
7109
7270
  addOrUpdateWelcomeTextWithOptions(request: AddOrUpdateWelcomeTextRequest, headers: AddOrUpdateWelcomeTextHeaders, runtime: $Util.RuntimeOptions): Promise<AddOrUpdateWelcomeTextResponse>;
@@ -7118,7 +7279,7 @@ export default class Client extends OpenApi {
7118
7279
  checkoutWithAK(request: CheckoutWithAKRequest): Promise<CheckoutWithAKResponse>;
7119
7280
  childAccountAuthWithOptions(request: ChildAccountAuthRequest, headers: ChildAccountAuthHeaders, runtime: $Util.RuntimeOptions): Promise<ChildAccountAuthResponse>;
7120
7281
  childAccountAuth(request: ChildAccountAuthRequest): Promise<ChildAccountAuthResponse>;
7121
- createHotelWithOptions(request: CreateHotelRequest, headers: CreateHotelHeaders, runtime: $Util.RuntimeOptions): Promise<CreateHotelResponse>;
7282
+ createHotelWithOptions(tmpReq: CreateHotelRequest, headers: CreateHotelHeaders, runtime: $Util.RuntimeOptions): Promise<CreateHotelResponse>;
7122
7283
  createHotel(request: CreateHotelRequest): Promise<CreateHotelResponse>;
7123
7284
  createHotelAlarmWithOptions(tmpReq: CreateHotelAlarmRequest, headers: CreateHotelAlarmHeaders, runtime: $Util.RuntimeOptions): Promise<CreateHotelAlarmResponse>;
7124
7285
  createHotelAlarm(request: CreateHotelAlarmRequest): Promise<CreateHotelAlarmResponse>;
@@ -7140,6 +7301,8 @@ export default class Client extends OpenApi {
7140
7301
  getBasicInfoQA(request: GetBasicInfoQARequest): Promise<GetBasicInfoQAResponse>;
7141
7302
  getCartoonWithOptions(request: GetCartoonRequest, headers: GetCartoonHeaders, runtime: $Util.RuntimeOptions): Promise<GetCartoonResponse>;
7142
7303
  getCartoon(request: GetCartoonRequest): Promise<GetCartoonResponse>;
7304
+ getHotelContactByGenieDeviceWithOptions(tmpReq: GetHotelContactByGenieDeviceRequest, headers: GetHotelContactByGenieDeviceHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelContactByGenieDeviceResponse>;
7305
+ getHotelContactByGenieDevice(request: GetHotelContactByGenieDeviceRequest): Promise<GetHotelContactByGenieDeviceResponse>;
7143
7306
  getHotelContactByNumberWithOptions(tmpReq: GetHotelContactByNumberRequest, headers: GetHotelContactByNumberHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelContactByNumberResponse>;
7144
7307
  getHotelContactByNumber(request: GetHotelContactByNumberRequest): Promise<GetHotelContactByNumberResponse>;
7145
7308
  getHotelContactsWithOptions(tmpReq: GetHotelContactsRequest, headers: GetHotelContactsHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelContactsResponse>;
@@ -7166,6 +7329,8 @@ export default class Client extends OpenApi {
7166
7329
  getHotelSetting(request: GetHotelSettingRequest): Promise<GetHotelSettingResponse>;
7167
7330
  getRelationProductListWithOptions(headers: GetRelationProductListHeaders, runtime: $Util.RuntimeOptions): Promise<GetRelationProductListResponse>;
7168
7331
  getRelationProductList(): Promise<GetRelationProductListResponse>;
7332
+ getUnionIdWithOptions(request: GetUnionIdRequest, headers: GetUnionIdHeaders, runtime: $Util.RuntimeOptions): Promise<GetUnionIdResponse>;
7333
+ getUnionId(request: GetUnionIdRequest): Promise<GetUnionIdResponse>;
7169
7334
  getWelcomeTextAndMusicWithOptions(request: GetWelcomeTextAndMusicRequest, headers: GetWelcomeTextAndMusicHeaders, runtime: $Util.RuntimeOptions): Promise<GetWelcomeTextAndMusicResponse>;
7170
7335
  getWelcomeTextAndMusic(request: GetWelcomeTextAndMusicRequest): Promise<GetWelcomeTextAndMusicResponse>;
7171
7336
  importRoomControlDevicesWithOptions(tmpReq: ImportRoomControlDevicesRequest, headers: ImportRoomControlDevicesHeaders, runtime: $Util.RuntimeOptions): Promise<ImportRoomControlDevicesResponse>;
@@ -7234,7 +7399,7 @@ export default class Client extends OpenApi {
7234
7399
  updateBasicInfoQA(request: UpdateBasicInfoQARequest): Promise<UpdateBasicInfoQAResponse>;
7235
7400
  updateCustomQAWithOptions(tmpReq: UpdateCustomQARequest, headers: UpdateCustomQAHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateCustomQAResponse>;
7236
7401
  updateCustomQA(request: UpdateCustomQARequest): Promise<UpdateCustomQAResponse>;
7237
- updateHotelWithOptions(request: UpdateHotelRequest, headers: UpdateHotelHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateHotelResponse>;
7402
+ updateHotelWithOptions(tmpReq: UpdateHotelRequest, headers: UpdateHotelHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateHotelResponse>;
7238
7403
  updateHotel(request: UpdateHotelRequest): Promise<UpdateHotelResponse>;
7239
7404
  updateHotelAlarmWithOptions(tmpReq: UpdateHotelAlarmRequest, headers: UpdateHotelAlarmHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateHotelAlarmResponse>;
7240
7405
  updateHotelAlarm(request: UpdateHotelAlarmRequest): Promise<UpdateHotelAlarmResponse>;