@alicloud/aligenieip_1_0 2.2.1 → 2.3.1

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
@@ -2865,6 +2865,69 @@ export declare class GetWelcomeTextAndMusicResponse extends $tea.Model {
2865
2865
  [key: string]: any;
2866
2866
  });
2867
2867
  }
2868
+ export declare class HotelQrBindHeaders extends $tea.Model {
2869
+ commonHeaders?: {
2870
+ [key: string]: string;
2871
+ };
2872
+ xAcsAligenieAccessToken?: string;
2873
+ authorization?: string;
2874
+ static names(): {
2875
+ [key: string]: string;
2876
+ };
2877
+ static types(): {
2878
+ [key: string]: any;
2879
+ };
2880
+ constructor(map?: {
2881
+ [key: string]: any;
2882
+ });
2883
+ }
2884
+ export declare class HotelQrBindRequest extends $tea.Model {
2885
+ clientId?: string;
2886
+ code?: string;
2887
+ extInfo?: string;
2888
+ hotelId?: string;
2889
+ roomNo?: string;
2890
+ static names(): {
2891
+ [key: string]: string;
2892
+ };
2893
+ static types(): {
2894
+ [key: string]: any;
2895
+ };
2896
+ constructor(map?: {
2897
+ [key: string]: any;
2898
+ });
2899
+ }
2900
+ export declare class HotelQrBindResponseBody extends $tea.Model {
2901
+ message?: string;
2902
+ requestId?: string;
2903
+ result?: HotelQrBindResponseBodyResult;
2904
+ statusCode?: number;
2905
+ static names(): {
2906
+ [key: string]: string;
2907
+ };
2908
+ static types(): {
2909
+ [key: string]: any;
2910
+ };
2911
+ constructor(map?: {
2912
+ [key: string]: any;
2913
+ });
2914
+ }
2915
+ export declare class HotelQrBindResponse extends $tea.Model {
2916
+ headers: {
2917
+ [key: string]: string;
2918
+ };
2919
+ statusCode: number;
2920
+ body: HotelQrBindResponseBody;
2921
+ static names(): {
2922
+ [key: string]: string;
2923
+ };
2924
+ static types(): {
2925
+ [key: string]: any;
2926
+ };
2927
+ constructor(map?: {
2928
+ [key: string]: any;
2929
+ });
2930
+ }
2868
2931
  export declare class ImportHotelConfigHeaders extends $tea.Model {
2869
2932
  commonHeaders?: {
2870
2933
  [key: string]: string;
@@ -5430,6 +5493,7 @@ export declare class SubmitHotelOrderResponseBody extends $tea.Model {
5430
5493
  message?: string;
5431
5494
  requestId?: string;
5432
5495
  result?: string;
5496
+ statusCode?: number;
5433
5497
  static names(): {
5434
5498
  [key: string]: string;
5435
5499
  };
@@ -6949,6 +7013,51 @@ export declare class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model
6949
7013
  [key: string]: any;
6950
7014
  });
6951
7015
  }
7016
+ export declare class HotelQrBindResponseBodyResultOpenDeviceInfo extends $tea.Model {
7017
+ encodeKey?: string;
7018
+ encodeType?: string;
7019
+ id?: string;
7020
+ idType?: string;
7021
+ organizationId?: string;
7022
+ static names(): {
7023
+ [key: string]: string;
7024
+ };
7025
+ static types(): {
7026
+ [key: string]: any;
7027
+ };
7028
+ constructor(map?: {
7029
+ [key: string]: any;
7030
+ });
7031
+ }
7032
+ export declare class HotelQrBindResponseBodyResultOpenUserInfo extends $tea.Model {
7033
+ encodeKey?: string;
7034
+ encodeType?: string;
7035
+ id?: string;
7036
+ idType?: string;
7037
+ organizationId?: string;
7038
+ static names(): {
7039
+ [key: string]: string;
7040
+ };
7041
+ static types(): {
7042
+ [key: string]: any;
7043
+ };
7044
+ constructor(map?: {
7045
+ [key: string]: any;
7046
+ });
7047
+ }
7048
+ export declare class HotelQrBindResponseBodyResult extends $tea.Model {
7049
+ openDeviceInfo?: HotelQrBindResponseBodyResultOpenDeviceInfo;
7050
+ openUserInfo?: HotelQrBindResponseBodyResultOpenUserInfo;
7051
+ static names(): {
7052
+ [key: string]: string;
7053
+ };
7054
+ static types(): {
7055
+ [key: string]: any;
7056
+ };
7057
+ constructor(map?: {
7058
+ [key: string]: any;
7059
+ });
7060
+ }
6952
7061
  export declare class ImportHotelConfigRequestImportHotelConfigRcuCustomScenes extends $tea.Model {
6953
7062
  corpusList?: string[];
6954
7063
  description?: string;
@@ -6978,6 +7087,7 @@ export declare class ImportHotelConfigRequestImportHotelConfig extends $tea.Mode
6978
7087
  });
6979
7088
  }
6980
7089
  export declare class ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwitchList extends $tea.Model {
7090
+ aliasList?: string[];
6981
7091
  category?: string;
6982
7092
  deviceIndex?: number;
6983
7093
  deviceName?: string;
@@ -7005,6 +7115,7 @@ export declare class ImportRoomControlDevicesRequestLocationDevicesDevicesMultiK
7005
7115
  });
7006
7116
  }
7007
7117
  export declare class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
7118
+ aliasList?: string[];
7008
7119
  brand?: string;
7009
7120
  city?: string;
7010
7121
  connectType?: string;
@@ -7581,6 +7692,7 @@ export declare class ListHotelSceneItemResponseBodyResultSecondCategoryListItemL
7581
7692
  id?: string;
7582
7693
  name?: string;
7583
7694
  price?: number;
7695
+ residueLimit?: number;
7584
7696
  status?: string;
7585
7697
  type?: string;
7586
7698
  static names(): {
@@ -7664,10 +7776,13 @@ export declare class ListHotelSceneItemsResponseBodyResultPage extends $tea.Mode
7664
7776
  });
7665
7777
  }
7666
7778
  export declare class ListHotelSceneItemsResponseBodyResultSceneItemList extends $tea.Model {
7779
+ beyondLimitReply?: string;
7667
7780
  category?: string;
7668
7781
  deliveryMethod?: string;
7669
7782
  icon?: string;
7670
7783
  id?: number;
7784
+ limitNumber?: number;
7785
+ limitSwitch?: number;
7671
7786
  name?: string;
7672
7787
  paymentMethod?: string;
7673
7788
  price?: number;
@@ -8137,6 +8252,7 @@ export declare class QueryHotelRoomDetailResponseBodyResult extends $tea.Model {
8137
8252
  });
8138
8253
  }
8139
8254
  export declare class QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchList extends $tea.Model {
8255
+ aliasList?: string[];
8140
8256
  category?: string;
8141
8257
  deviceIndex?: number;
8142
8258
  deviceName?: string;
@@ -8166,6 +8282,7 @@ export declare class QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwi
8166
8282
  });
8167
8283
  }
8168
8284
  export declare class QueryRoomControlDevicesResponseBodyResultDevices extends $tea.Model {
8285
+ aliasList?: string[];
8169
8286
  connectType?: string;
8170
8287
  DN?: string;
8171
8288
  deviceName?: string;
@@ -8412,10 +8529,13 @@ export declare class UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList
8412
8529
  });
8413
8530
  }
8414
8531
  export declare class UpdateHotelSceneItemRequestUpdateHotelSceneReq extends $tea.Model {
8532
+ beyondLimitReply?: string;
8415
8533
  deliveryMethod?: string;
8416
8534
  dialogueList?: UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList[];
8417
8535
  icon?: string;
8418
8536
  id?: number;
8537
+ limitNumber?: number;
8538
+ limitSwitch?: number;
8419
8539
  name?: string;
8420
8540
  paymentMethod?: string;
8421
8541
  price?: number;
@@ -8535,6 +8655,8 @@ export default class Client extends OpenApi {
8535
8655
  getUnionId(request: GetUnionIdRequest): Promise<GetUnionIdResponse>;
8536
8656
  getWelcomeTextAndMusicWithOptions(request: GetWelcomeTextAndMusicRequest, headers: GetWelcomeTextAndMusicHeaders, runtime: $Util.RuntimeOptions): Promise<GetWelcomeTextAndMusicResponse>;
8537
8657
  getWelcomeTextAndMusic(request: GetWelcomeTextAndMusicRequest): Promise<GetWelcomeTextAndMusicResponse>;
8658
+ hotelQrBindWithOptions(request: HotelQrBindRequest, headers: HotelQrBindHeaders, runtime: $Util.RuntimeOptions): Promise<HotelQrBindResponse>;
8659
+ hotelQrBind(request: HotelQrBindRequest): Promise<HotelQrBindResponse>;
8538
8660
  importHotelConfigWithOptions(tmpReq: ImportHotelConfigRequest, headers: ImportHotelConfigHeaders, runtime: $Util.RuntimeOptions): Promise<ImportHotelConfigResponse>;
8539
8661
  importHotelConfig(request: ImportHotelConfigRequest): Promise<ImportHotelConfigResponse>;
8540
8662
  importRoomControlDevicesWithOptions(tmpReq: ImportRoomControlDevicesRequest, headers: ImportRoomControlDevicesHeaders, runtime: $Util.RuntimeOptions): Promise<ImportRoomControlDevicesResponse>;
package/dist/client.js CHANGED
@@ -3853,6 +3853,92 @@ class GetWelcomeTextAndMusicResponse extends $tea.Model {
3853
3853
  }
3854
3854
  }
3855
3855
  exports.GetWelcomeTextAndMusicResponse = GetWelcomeTextAndMusicResponse;
3856
+ class HotelQrBindHeaders extends $tea.Model {
3857
+ constructor(map) {
3858
+ super(map);
3859
+ }
3860
+ static names() {
3861
+ return {
3862
+ commonHeaders: 'commonHeaders',
3863
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
3864
+ authorization: 'Authorization',
3865
+ };
3866
+ }
3867
+ static types() {
3868
+ return {
3869
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3870
+ xAcsAligenieAccessToken: 'string',
3871
+ authorization: 'string',
3872
+ };
3873
+ }
3874
+ }
3875
+ exports.HotelQrBindHeaders = HotelQrBindHeaders;
3876
+ class HotelQrBindRequest extends $tea.Model {
3877
+ constructor(map) {
3878
+ super(map);
3879
+ }
3880
+ static names() {
3881
+ return {
3882
+ clientId: 'ClientId',
3883
+ code: 'Code',
3884
+ extInfo: 'ExtInfo',
3885
+ hotelId: 'HotelId',
3886
+ roomNo: 'RoomNo',
3887
+ };
3888
+ }
3889
+ static types() {
3890
+ return {
3891
+ clientId: 'string',
3892
+ code: 'string',
3893
+ extInfo: 'string',
3894
+ hotelId: 'string',
3895
+ roomNo: 'string',
3896
+ };
3897
+ }
3898
+ }
3899
+ exports.HotelQrBindRequest = HotelQrBindRequest;
3900
+ class HotelQrBindResponseBody extends $tea.Model {
3901
+ constructor(map) {
3902
+ super(map);
3903
+ }
3904
+ static names() {
3905
+ return {
3906
+ message: 'Message',
3907
+ requestId: 'RequestId',
3908
+ result: 'Result',
3909
+ statusCode: 'StatusCode',
3910
+ };
3911
+ }
3912
+ static types() {
3913
+ return {
3914
+ message: 'string',
3915
+ requestId: 'string',
3916
+ result: HotelQrBindResponseBodyResult,
3917
+ statusCode: 'number',
3918
+ };
3919
+ }
3920
+ }
3921
+ exports.HotelQrBindResponseBody = HotelQrBindResponseBody;
3922
+ class HotelQrBindResponse extends $tea.Model {
3923
+ constructor(map) {
3924
+ super(map);
3925
+ }
3926
+ static names() {
3927
+ return {
3928
+ headers: 'headers',
3929
+ statusCode: 'statusCode',
3930
+ body: 'body',
3931
+ };
3932
+ }
3933
+ static types() {
3934
+ return {
3935
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3936
+ statusCode: 'number',
3937
+ body: HotelQrBindResponseBody,
3938
+ };
3939
+ }
3940
+ }
3941
+ exports.HotelQrBindResponse = HotelQrBindResponse;
3856
3942
  class ImportHotelConfigHeaders extends $tea.Model {
3857
3943
  constructor(map) {
3858
3944
  super(map);
@@ -7291,6 +7377,7 @@ class SubmitHotelOrderResponseBody extends $tea.Model {
7291
7377
  message: 'Message',
7292
7378
  requestId: 'RequestId',
7293
7379
  result: 'Result',
7380
+ statusCode: 'StatusCode',
7294
7381
  };
7295
7382
  }
7296
7383
  static types() {
@@ -7299,6 +7386,7 @@ class SubmitHotelOrderResponseBody extends $tea.Model {
7299
7386
  message: 'string',
7300
7387
  requestId: 'string',
7301
7388
  result: 'string',
7389
+ statusCode: 'number',
7302
7390
  };
7303
7391
  }
7304
7392
  }
@@ -9457,6 +9545,72 @@ class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model {
9457
9545
  }
9458
9546
  }
9459
9547
  exports.GetWelcomeTextAndMusicResponseBodyResult = GetWelcomeTextAndMusicResponseBodyResult;
9548
+ class HotelQrBindResponseBodyResultOpenDeviceInfo extends $tea.Model {
9549
+ constructor(map) {
9550
+ super(map);
9551
+ }
9552
+ static names() {
9553
+ return {
9554
+ encodeKey: 'EncodeKey',
9555
+ encodeType: 'EncodeType',
9556
+ id: 'Id',
9557
+ idType: 'IdType',
9558
+ organizationId: 'OrganizationId',
9559
+ };
9560
+ }
9561
+ static types() {
9562
+ return {
9563
+ encodeKey: 'string',
9564
+ encodeType: 'string',
9565
+ id: 'string',
9566
+ idType: 'string',
9567
+ organizationId: 'string',
9568
+ };
9569
+ }
9570
+ }
9571
+ exports.HotelQrBindResponseBodyResultOpenDeviceInfo = HotelQrBindResponseBodyResultOpenDeviceInfo;
9572
+ class HotelQrBindResponseBodyResultOpenUserInfo extends $tea.Model {
9573
+ constructor(map) {
9574
+ super(map);
9575
+ }
9576
+ static names() {
9577
+ return {
9578
+ encodeKey: 'EncodeKey',
9579
+ encodeType: 'EncodeType',
9580
+ id: 'Id',
9581
+ idType: 'IdType',
9582
+ organizationId: 'OrganizationId',
9583
+ };
9584
+ }
9585
+ static types() {
9586
+ return {
9587
+ encodeKey: 'string',
9588
+ encodeType: 'string',
9589
+ id: 'string',
9590
+ idType: 'string',
9591
+ organizationId: 'string',
9592
+ };
9593
+ }
9594
+ }
9595
+ exports.HotelQrBindResponseBodyResultOpenUserInfo = HotelQrBindResponseBodyResultOpenUserInfo;
9596
+ class HotelQrBindResponseBodyResult extends $tea.Model {
9597
+ constructor(map) {
9598
+ super(map);
9599
+ }
9600
+ static names() {
9601
+ return {
9602
+ openDeviceInfo: 'OpenDeviceInfo',
9603
+ openUserInfo: 'OpenUserInfo',
9604
+ };
9605
+ }
9606
+ static types() {
9607
+ return {
9608
+ openDeviceInfo: HotelQrBindResponseBodyResultOpenDeviceInfo,
9609
+ openUserInfo: HotelQrBindResponseBodyResultOpenUserInfo,
9610
+ };
9611
+ }
9612
+ }
9613
+ exports.HotelQrBindResponseBodyResult = HotelQrBindResponseBodyResult;
9460
9614
  class ImportHotelConfigRequestImportHotelConfigRcuCustomScenes extends $tea.Model {
9461
9615
  constructor(map) {
9462
9616
  super(map);
@@ -9503,6 +9657,7 @@ class ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwit
9503
9657
  }
9504
9658
  static names() {
9505
9659
  return {
9660
+ aliasList: 'AliasList',
9506
9661
  category: 'Category',
9507
9662
  deviceIndex: 'DeviceIndex',
9508
9663
  deviceName: 'DeviceName',
@@ -9511,6 +9666,7 @@ class ImportRoomControlDevicesRequestLocationDevicesDevicesMultiKeySwitchExtSwit
9511
9666
  }
9512
9667
  static types() {
9513
9668
  return {
9669
+ aliasList: { 'type': 'array', 'itemType': 'string' },
9514
9670
  category: 'string',
9515
9671
  deviceIndex: 'number',
9516
9672
  deviceName: 'string',
@@ -9541,6 +9697,7 @@ class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
9541
9697
  }
9542
9698
  static names() {
9543
9699
  return {
9700
+ aliasList: 'AliasList',
9544
9701
  brand: 'Brand',
9545
9702
  city: 'City',
9546
9703
  connectType: 'ConnectType',
@@ -9559,6 +9716,7 @@ class ImportRoomControlDevicesRequestLocationDevicesDevices extends $tea.Model {
9559
9716
  }
9560
9717
  static types() {
9561
9718
  return {
9719
+ aliasList: { 'type': 'array', 'itemType': 'string' },
9562
9720
  brand: 'string',
9563
9721
  city: 'string',
9564
9722
  connectType: 'string',
@@ -10384,6 +10542,7 @@ class ListHotelSceneItemResponseBodyResultSecondCategoryListItemList extends $te
10384
10542
  id: 'Id',
10385
10543
  name: 'Name',
10386
10544
  price: 'Price',
10545
+ residueLimit: 'ResidueLimit',
10387
10546
  status: 'Status',
10388
10547
  type: 'Type',
10389
10548
  };
@@ -10395,6 +10554,7 @@ class ListHotelSceneItemResponseBodyResultSecondCategoryListItemList extends $te
10395
10554
  id: 'string',
10396
10555
  name: 'string',
10397
10556
  price: 'number',
10557
+ residueLimit: 'number',
10398
10558
  status: 'string',
10399
10559
  type: 'string',
10400
10560
  };
@@ -10507,10 +10667,13 @@ class ListHotelSceneItemsResponseBodyResultSceneItemList extends $tea.Model {
10507
10667
  }
10508
10668
  static names() {
10509
10669
  return {
10670
+ beyondLimitReply: 'BeyondLimitReply',
10510
10671
  category: 'Category',
10511
10672
  deliveryMethod: 'DeliveryMethod',
10512
10673
  icon: 'Icon',
10513
10674
  id: 'Id',
10675
+ limitNumber: 'LimitNumber',
10676
+ limitSwitch: 'LimitSwitch',
10514
10677
  name: 'Name',
10515
10678
  paymentMethod: 'PaymentMethod',
10516
10679
  price: 'Price',
@@ -10522,10 +10685,13 @@ class ListHotelSceneItemsResponseBodyResultSceneItemList extends $tea.Model {
10522
10685
  }
10523
10686
  static types() {
10524
10687
  return {
10688
+ beyondLimitReply: 'string',
10525
10689
  category: 'string',
10526
10690
  deliveryMethod: 'string',
10527
10691
  icon: 'string',
10528
10692
  id: 'number',
10693
+ limitNumber: 'number',
10694
+ limitSwitch: 'number',
10529
10695
  name: 'string',
10530
10696
  paymentMethod: 'string',
10531
10697
  price: 'number',
@@ -11209,6 +11375,7 @@ class QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchLis
11209
11375
  }
11210
11376
  static names() {
11211
11377
  return {
11378
+ aliasList: 'AliasList',
11212
11379
  category: 'Category',
11213
11380
  deviceIndex: 'DeviceIndex',
11214
11381
  deviceName: 'DeviceName',
@@ -11219,6 +11386,7 @@ class QueryRoomControlDevicesResponseBodyResultDevicesMultiKeySwitchExtSwitchLis
11219
11386
  }
11220
11387
  static types() {
11221
11388
  return {
11389
+ aliasList: { 'type': 'array', 'itemType': 'string' },
11222
11390
  category: 'string',
11223
11391
  deviceIndex: 'number',
11224
11392
  deviceName: 'string',
@@ -11251,6 +11419,7 @@ class QueryRoomControlDevicesResponseBodyResultDevices extends $tea.Model {
11251
11419
  }
11252
11420
  static names() {
11253
11421
  return {
11422
+ aliasList: 'AliasList',
11254
11423
  connectType: 'ConnectType',
11255
11424
  DN: 'DN',
11256
11425
  deviceName: 'DeviceName',
@@ -11263,6 +11432,7 @@ class QueryRoomControlDevicesResponseBodyResultDevices extends $tea.Model {
11263
11432
  }
11264
11433
  static types() {
11265
11434
  return {
11435
+ aliasList: { 'type': 'array', 'itemType': 'string' },
11266
11436
  connectType: 'string',
11267
11437
  DN: 'string',
11268
11438
  deviceName: 'string',
@@ -11615,10 +11785,13 @@ class UpdateHotelSceneItemRequestUpdateHotelSceneReq extends $tea.Model {
11615
11785
  }
11616
11786
  static names() {
11617
11787
  return {
11788
+ beyondLimitReply: 'BeyondLimitReply',
11618
11789
  deliveryMethod: 'DeliveryMethod',
11619
11790
  dialogueList: 'DialogueList',
11620
11791
  icon: 'Icon',
11621
11792
  id: 'Id',
11793
+ limitNumber: 'LimitNumber',
11794
+ limitSwitch: 'LimitSwitch',
11622
11795
  name: 'Name',
11623
11796
  paymentMethod: 'PaymentMethod',
11624
11797
  price: 'Price',
@@ -11628,10 +11801,13 @@ class UpdateHotelSceneItemRequestUpdateHotelSceneReq extends $tea.Model {
11628
11801
  }
11629
11802
  static types() {
11630
11803
  return {
11804
+ beyondLimitReply: 'string',
11631
11805
  deliveryMethod: 'string',
11632
11806
  dialogueList: { 'type': 'array', 'itemType': UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList },
11633
11807
  icon: 'string',
11634
11808
  id: 'number',
11809
+ limitNumber: 'number',
11810
+ limitSwitch: 'number',
11635
11811
  name: 'string',
11636
11812
  paymentMethod: 'string',
11637
11813
  price: 'number',
@@ -13581,6 +13757,56 @@ class Client extends openapi_client_1.default {
13581
13757
  let headers = new GetWelcomeTextAndMusicHeaders({});
13582
13758
  return await this.getWelcomeTextAndMusicWithOptions(request, headers, runtime);
13583
13759
  }
13760
+ async hotelQrBindWithOptions(request, headers, runtime) {
13761
+ tea_util_1.default.validateModel(request);
13762
+ let body = {};
13763
+ if (!tea_util_1.default.isUnset(request.clientId)) {
13764
+ body["ClientId"] = request.clientId;
13765
+ }
13766
+ if (!tea_util_1.default.isUnset(request.code)) {
13767
+ body["Code"] = request.code;
13768
+ }
13769
+ if (!tea_util_1.default.isUnset(request.extInfo)) {
13770
+ body["ExtInfo"] = request.extInfo;
13771
+ }
13772
+ if (!tea_util_1.default.isUnset(request.hotelId)) {
13773
+ body["HotelId"] = request.hotelId;
13774
+ }
13775
+ if (!tea_util_1.default.isUnset(request.roomNo)) {
13776
+ body["RoomNo"] = request.roomNo;
13777
+ }
13778
+ let realHeaders = {};
13779
+ if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
13780
+ realHeaders = headers.commonHeaders;
13781
+ }
13782
+ if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
13783
+ realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
13784
+ }
13785
+ if (!tea_util_1.default.isUnset(headers.authorization)) {
13786
+ realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
13787
+ }
13788
+ let req = new $OpenApi.OpenApiRequest({
13789
+ headers: realHeaders,
13790
+ body: openapi_util_1.default.parseToMap(body),
13791
+ });
13792
+ let params = new $OpenApi.Params({
13793
+ action: "HotelQrBind",
13794
+ version: "ip_1.0",
13795
+ protocol: "HTTPS",
13796
+ pathname: `/v1.0/ip/hotelQrBind`,
13797
+ method: "POST",
13798
+ authType: "AK",
13799
+ style: "ROA",
13800
+ reqBodyType: "formData",
13801
+ bodyType: "json",
13802
+ });
13803
+ return $tea.cast(await this.callApi(params, req, runtime), new HotelQrBindResponse({}));
13804
+ }
13805
+ async hotelQrBind(request) {
13806
+ let runtime = new $Util.RuntimeOptions({});
13807
+ let headers = new HotelQrBindHeaders({});
13808
+ return await this.hotelQrBindWithOptions(request, headers, runtime);
13809
+ }
13584
13810
  async importHotelConfigWithOptions(tmpReq, headers, runtime) {
13585
13811
  tea_util_1.default.validateModel(tmpReq);
13586
13812
  let request = new ImportHotelConfigShrinkRequest({});