@alicloud/aligenieip_1_0 1.0.18 → 1.0.19

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
@@ -1639,6 +1639,79 @@ export declare class GetCartoonResponse extends $tea.Model {
1639
1639
  [key: string]: any;
1640
1640
  });
1641
1641
  }
1642
+ export declare class GetHotelContactByGenieDeviceHeaders extends $tea.Model {
1643
+ commonHeaders?: {
1644
+ [key: string]: string;
1645
+ };
1646
+ xAcsAligenieAccessToken?: string;
1647
+ authorization?: string;
1648
+ static names(): {
1649
+ [key: string]: string;
1650
+ };
1651
+ static types(): {
1652
+ [key: string]: any;
1653
+ };
1654
+ constructor(map?: {
1655
+ [key: string]: any;
1656
+ });
1657
+ }
1658
+ export declare class GetHotelContactByGenieDeviceRequest extends $tea.Model {
1659
+ deviceInfo?: GetHotelContactByGenieDeviceRequestDeviceInfo;
1660
+ userInfo?: GetHotelContactByGenieDeviceRequestUserInfo;
1661
+ static names(): {
1662
+ [key: string]: string;
1663
+ };
1664
+ static types(): {
1665
+ [key: string]: any;
1666
+ };
1667
+ constructor(map?: {
1668
+ [key: string]: any;
1669
+ });
1670
+ }
1671
+ export declare class GetHotelContactByGenieDeviceShrinkRequest extends $tea.Model {
1672
+ deviceInfoShrink?: string;
1673
+ userInfoShrink?: string;
1674
+ static names(): {
1675
+ [key: string]: string;
1676
+ };
1677
+ static types(): {
1678
+ [key: string]: any;
1679
+ };
1680
+ constructor(map?: {
1681
+ [key: string]: any;
1682
+ });
1683
+ }
1684
+ export declare class GetHotelContactByGenieDeviceResponseBody extends $tea.Model {
1685
+ message?: string;
1686
+ requestId?: string;
1687
+ result?: GetHotelContactByGenieDeviceResponseBodyResult;
1688
+ statusCode?: number;
1689
+ static names(): {
1690
+ [key: string]: string;
1691
+ };
1692
+ static types(): {
1693
+ [key: string]: any;
1694
+ };
1695
+ constructor(map?: {
1696
+ [key: string]: any;
1697
+ });
1698
+ }
1699
+ export declare class GetHotelContactByGenieDeviceResponse extends $tea.Model {
1700
+ headers: {
1701
+ [key: string]: string;
1702
+ };
1703
+ statusCode: number;
1704
+ body: GetHotelContactByGenieDeviceResponseBody;
1705
+ static names(): {
1706
+ [key: string]: string;
1707
+ };
1708
+ static types(): {
1709
+ [key: string]: any;
1710
+ };
1711
+ constructor(map?: {
1712
+ [key: string]: any;
1713
+ });
1714
+ }
1642
1715
  export declare class GetHotelContactByNumberHeaders extends $tea.Model {
1643
1716
  commonHeaders?: {
1644
1717
  [key: string]: string;
@@ -2498,6 +2571,68 @@ export declare class GetRelationProductListResponse extends $tea.Model {
2498
2571
  [key: string]: any;
2499
2572
  });
2500
2573
  }
2574
+ export declare class GetUnionIdHeaders extends $tea.Model {
2575
+ commonHeaders?: {
2576
+ [key: string]: string;
2577
+ };
2578
+ xAcsAligenieAccessToken?: string;
2579
+ authorization?: string;
2580
+ static names(): {
2581
+ [key: string]: string;
2582
+ };
2583
+ static types(): {
2584
+ [key: string]: any;
2585
+ };
2586
+ constructor(map?: {
2587
+ [key: string]: any;
2588
+ });
2589
+ }
2590
+ export declare class GetUnionIdRequest extends $tea.Model {
2591
+ encodeKey?: string;
2592
+ encodeType?: string;
2593
+ id?: string;
2594
+ idType?: string;
2595
+ static names(): {
2596
+ [key: string]: string;
2597
+ };
2598
+ static types(): {
2599
+ [key: string]: any;
2600
+ };
2601
+ constructor(map?: {
2602
+ [key: string]: any;
2603
+ });
2604
+ }
2605
+ export declare class GetUnionIdResponseBody extends $tea.Model {
2606
+ message?: string;
2607
+ requestId?: string;
2608
+ result?: GetUnionIdResponseBodyResult[];
2609
+ statusCode?: number;
2610
+ static names(): {
2611
+ [key: string]: string;
2612
+ };
2613
+ static types(): {
2614
+ [key: string]: any;
2615
+ };
2616
+ constructor(map?: {
2617
+ [key: string]: any;
2618
+ });
2619
+ }
2620
+ export declare class GetUnionIdResponse extends $tea.Model {
2621
+ headers: {
2622
+ [key: string]: string;
2623
+ };
2624
+ statusCode: number;
2625
+ body: GetUnionIdResponseBody;
2626
+ static names(): {
2627
+ [key: string]: string;
2628
+ };
2629
+ static types(): {
2630
+ [key: string]: any;
2631
+ };
2632
+ constructor(map?: {
2633
+ [key: string]: any;
2634
+ });
2635
+ }
2501
2636
  export declare class GetWelcomeTextAndMusicHeaders extends $tea.Model {
2502
2637
  commonHeaders?: {
2503
2638
  [key: string]: string;
@@ -5568,6 +5703,60 @@ export declare class GetCartoonResponseBodyResult extends $tea.Model {
5568
5703
  [key: string]: any;
5569
5704
  });
5570
5705
  }
5706
+ export declare class GetHotelContactByGenieDeviceRequestDeviceInfo extends $tea.Model {
5707
+ encodeKey?: string;
5708
+ encodeType?: string;
5709
+ id?: string;
5710
+ idType?: string;
5711
+ organizationId?: string;
5712
+ static names(): {
5713
+ [key: string]: string;
5714
+ };
5715
+ static types(): {
5716
+ [key: string]: any;
5717
+ };
5718
+ constructor(map?: {
5719
+ [key: string]: any;
5720
+ });
5721
+ }
5722
+ export declare class GetHotelContactByGenieDeviceRequestUserInfo extends $tea.Model {
5723
+ encodeKey?: string;
5724
+ encodeType?: string;
5725
+ id?: string;
5726
+ idType?: string;
5727
+ organizationId?: string;
5728
+ static names(): {
5729
+ [key: string]: string;
5730
+ };
5731
+ static types(): {
5732
+ [key: string]: any;
5733
+ };
5734
+ constructor(map?: {
5735
+ [key: string]: any;
5736
+ });
5737
+ }
5738
+ export declare class GetHotelContactByGenieDeviceResponseBodyResult extends $tea.Model {
5739
+ expireAt?: string;
5740
+ gmtCreate?: string;
5741
+ gmtModified?: string;
5742
+ hotelId?: string;
5743
+ icon?: string;
5744
+ id?: number;
5745
+ name?: string;
5746
+ number?: string;
5747
+ status?: number;
5748
+ type?: string;
5749
+ uuid?: string;
5750
+ static names(): {
5751
+ [key: string]: string;
5752
+ };
5753
+ static types(): {
5754
+ [key: string]: any;
5755
+ };
5756
+ constructor(map?: {
5757
+ [key: string]: any;
5758
+ });
5759
+ }
5571
5760
  export declare class GetHotelContactByNumberRequestUserInfo extends $tea.Model {
5572
5761
  encodeKey?: string;
5573
5762
  encodeType?: string;
@@ -5936,6 +6125,19 @@ export declare class GetRelationProductListResponseBodyResult extends $tea.Model
5936
6125
  [key: string]: any;
5937
6126
  });
5938
6127
  }
6128
+ export declare class GetUnionIdResponseBodyResult extends $tea.Model {
6129
+ organizationId?: string;
6130
+ unionId?: string;
6131
+ static names(): {
6132
+ [key: string]: string;
6133
+ };
6134
+ static types(): {
6135
+ [key: string]: any;
6136
+ };
6137
+ constructor(map?: {
6138
+ [key: string]: any;
6139
+ });
6140
+ }
5939
6141
  export declare class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model {
5940
6142
  hotelId?: string;
5941
6143
  musicUrl?: string;
@@ -7140,6 +7342,8 @@ export default class Client extends OpenApi {
7140
7342
  getBasicInfoQA(request: GetBasicInfoQARequest): Promise<GetBasicInfoQAResponse>;
7141
7343
  getCartoonWithOptions(request: GetCartoonRequest, headers: GetCartoonHeaders, runtime: $Util.RuntimeOptions): Promise<GetCartoonResponse>;
7142
7344
  getCartoon(request: GetCartoonRequest): Promise<GetCartoonResponse>;
7345
+ getHotelContactByGenieDeviceWithOptions(tmpReq: GetHotelContactByGenieDeviceRequest, headers: GetHotelContactByGenieDeviceHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelContactByGenieDeviceResponse>;
7346
+ getHotelContactByGenieDevice(request: GetHotelContactByGenieDeviceRequest): Promise<GetHotelContactByGenieDeviceResponse>;
7143
7347
  getHotelContactByNumberWithOptions(tmpReq: GetHotelContactByNumberRequest, headers: GetHotelContactByNumberHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelContactByNumberResponse>;
7144
7348
  getHotelContactByNumber(request: GetHotelContactByNumberRequest): Promise<GetHotelContactByNumberResponse>;
7145
7349
  getHotelContactsWithOptions(tmpReq: GetHotelContactsRequest, headers: GetHotelContactsHeaders, runtime: $Util.RuntimeOptions): Promise<GetHotelContactsResponse>;
@@ -7166,6 +7370,8 @@ export default class Client extends OpenApi {
7166
7370
  getHotelSetting(request: GetHotelSettingRequest): Promise<GetHotelSettingResponse>;
7167
7371
  getRelationProductListWithOptions(headers: GetRelationProductListHeaders, runtime: $Util.RuntimeOptions): Promise<GetRelationProductListResponse>;
7168
7372
  getRelationProductList(): Promise<GetRelationProductListResponse>;
7373
+ getUnionIdWithOptions(request: GetUnionIdRequest, headers: GetUnionIdHeaders, runtime: $Util.RuntimeOptions): Promise<GetUnionIdResponse>;
7374
+ getUnionId(request: GetUnionIdRequest): Promise<GetUnionIdResponse>;
7169
7375
  getWelcomeTextAndMusicWithOptions(request: GetWelcomeTextAndMusicRequest, headers: GetWelcomeTextAndMusicHeaders, runtime: $Util.RuntimeOptions): Promise<GetWelcomeTextAndMusicResponse>;
7170
7376
  getWelcomeTextAndMusic(request: GetWelcomeTextAndMusicRequest): Promise<GetWelcomeTextAndMusicResponse>;
7171
7377
  importRoomControlDevicesWithOptions(tmpReq: ImportRoomControlDevicesRequest, headers: ImportRoomControlDevicesHeaders, runtime: $Util.RuntimeOptions): Promise<ImportRoomControlDevicesResponse>;
package/dist/client.js CHANGED
@@ -2213,6 +2213,104 @@ class GetCartoonResponse extends $tea.Model {
2213
2213
  }
2214
2214
  }
2215
2215
  exports.GetCartoonResponse = GetCartoonResponse;
2216
+ class GetHotelContactByGenieDeviceHeaders extends $tea.Model {
2217
+ constructor(map) {
2218
+ super(map);
2219
+ }
2220
+ static names() {
2221
+ return {
2222
+ commonHeaders: 'commonHeaders',
2223
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
2224
+ authorization: 'Authorization',
2225
+ };
2226
+ }
2227
+ static types() {
2228
+ return {
2229
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2230
+ xAcsAligenieAccessToken: 'string',
2231
+ authorization: 'string',
2232
+ };
2233
+ }
2234
+ }
2235
+ exports.GetHotelContactByGenieDeviceHeaders = GetHotelContactByGenieDeviceHeaders;
2236
+ class GetHotelContactByGenieDeviceRequest extends $tea.Model {
2237
+ constructor(map) {
2238
+ super(map);
2239
+ }
2240
+ static names() {
2241
+ return {
2242
+ deviceInfo: 'DeviceInfo',
2243
+ userInfo: 'UserInfo',
2244
+ };
2245
+ }
2246
+ static types() {
2247
+ return {
2248
+ deviceInfo: GetHotelContactByGenieDeviceRequestDeviceInfo,
2249
+ userInfo: GetHotelContactByGenieDeviceRequestUserInfo,
2250
+ };
2251
+ }
2252
+ }
2253
+ exports.GetHotelContactByGenieDeviceRequest = GetHotelContactByGenieDeviceRequest;
2254
+ class GetHotelContactByGenieDeviceShrinkRequest extends $tea.Model {
2255
+ constructor(map) {
2256
+ super(map);
2257
+ }
2258
+ static names() {
2259
+ return {
2260
+ deviceInfoShrink: 'DeviceInfo',
2261
+ userInfoShrink: 'UserInfo',
2262
+ };
2263
+ }
2264
+ static types() {
2265
+ return {
2266
+ deviceInfoShrink: 'string',
2267
+ userInfoShrink: 'string',
2268
+ };
2269
+ }
2270
+ }
2271
+ exports.GetHotelContactByGenieDeviceShrinkRequest = GetHotelContactByGenieDeviceShrinkRequest;
2272
+ class GetHotelContactByGenieDeviceResponseBody extends $tea.Model {
2273
+ constructor(map) {
2274
+ super(map);
2275
+ }
2276
+ static names() {
2277
+ return {
2278
+ message: 'Message',
2279
+ requestId: 'RequestId',
2280
+ result: 'Result',
2281
+ statusCode: 'StatusCode',
2282
+ };
2283
+ }
2284
+ static types() {
2285
+ return {
2286
+ message: 'string',
2287
+ requestId: 'string',
2288
+ result: GetHotelContactByGenieDeviceResponseBodyResult,
2289
+ statusCode: 'number',
2290
+ };
2291
+ }
2292
+ }
2293
+ exports.GetHotelContactByGenieDeviceResponseBody = GetHotelContactByGenieDeviceResponseBody;
2294
+ class GetHotelContactByGenieDeviceResponse extends $tea.Model {
2295
+ constructor(map) {
2296
+ super(map);
2297
+ }
2298
+ static names() {
2299
+ return {
2300
+ headers: 'headers',
2301
+ statusCode: 'statusCode',
2302
+ body: 'body',
2303
+ };
2304
+ }
2305
+ static types() {
2306
+ return {
2307
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2308
+ statusCode: 'number',
2309
+ body: GetHotelContactByGenieDeviceResponseBody,
2310
+ };
2311
+ }
2312
+ }
2313
+ exports.GetHotelContactByGenieDeviceResponse = GetHotelContactByGenieDeviceResponse;
2216
2314
  class GetHotelContactByNumberHeaders extends $tea.Model {
2217
2315
  constructor(map) {
2218
2316
  super(map);
@@ -3351,6 +3449,90 @@ class GetRelationProductListResponse extends $tea.Model {
3351
3449
  }
3352
3450
  }
3353
3451
  exports.GetRelationProductListResponse = GetRelationProductListResponse;
3452
+ class GetUnionIdHeaders extends $tea.Model {
3453
+ constructor(map) {
3454
+ super(map);
3455
+ }
3456
+ static names() {
3457
+ return {
3458
+ commonHeaders: 'commonHeaders',
3459
+ xAcsAligenieAccessToken: 'x-acs-aligenie-access-token',
3460
+ authorization: 'Authorization',
3461
+ };
3462
+ }
3463
+ static types() {
3464
+ return {
3465
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3466
+ xAcsAligenieAccessToken: 'string',
3467
+ authorization: 'string',
3468
+ };
3469
+ }
3470
+ }
3471
+ exports.GetUnionIdHeaders = GetUnionIdHeaders;
3472
+ class GetUnionIdRequest extends $tea.Model {
3473
+ constructor(map) {
3474
+ super(map);
3475
+ }
3476
+ static names() {
3477
+ return {
3478
+ encodeKey: 'EncodeKey',
3479
+ encodeType: 'EncodeType',
3480
+ id: 'Id',
3481
+ idType: 'IdType',
3482
+ };
3483
+ }
3484
+ static types() {
3485
+ return {
3486
+ encodeKey: 'string',
3487
+ encodeType: 'string',
3488
+ id: 'string',
3489
+ idType: 'string',
3490
+ };
3491
+ }
3492
+ }
3493
+ exports.GetUnionIdRequest = GetUnionIdRequest;
3494
+ class GetUnionIdResponseBody extends $tea.Model {
3495
+ constructor(map) {
3496
+ super(map);
3497
+ }
3498
+ static names() {
3499
+ return {
3500
+ message: 'Message',
3501
+ requestId: 'RequestId',
3502
+ result: 'Result',
3503
+ statusCode: 'StatusCode',
3504
+ };
3505
+ }
3506
+ static types() {
3507
+ return {
3508
+ message: 'string',
3509
+ requestId: 'string',
3510
+ result: { 'type': 'array', 'itemType': GetUnionIdResponseBodyResult },
3511
+ statusCode: 'number',
3512
+ };
3513
+ }
3514
+ }
3515
+ exports.GetUnionIdResponseBody = GetUnionIdResponseBody;
3516
+ class GetUnionIdResponse extends $tea.Model {
3517
+ constructor(map) {
3518
+ super(map);
3519
+ }
3520
+ static names() {
3521
+ return {
3522
+ headers: 'headers',
3523
+ statusCode: 'statusCode',
3524
+ body: 'body',
3525
+ };
3526
+ }
3527
+ static types() {
3528
+ return {
3529
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3530
+ statusCode: 'number',
3531
+ body: GetUnionIdResponseBody,
3532
+ };
3533
+ }
3534
+ }
3535
+ exports.GetUnionIdResponse = GetUnionIdResponse;
3354
3536
  class GetWelcomeTextAndMusicHeaders extends $tea.Model {
3355
3537
  constructor(map) {
3356
3538
  super(map);
@@ -7507,6 +7689,90 @@ class GetCartoonResponseBodyResult extends $tea.Model {
7507
7689
  }
7508
7690
  }
7509
7691
  exports.GetCartoonResponseBodyResult = GetCartoonResponseBodyResult;
7692
+ class GetHotelContactByGenieDeviceRequestDeviceInfo extends $tea.Model {
7693
+ constructor(map) {
7694
+ super(map);
7695
+ }
7696
+ static names() {
7697
+ return {
7698
+ encodeKey: 'EncodeKey',
7699
+ encodeType: 'EncodeType',
7700
+ id: 'Id',
7701
+ idType: 'IdType',
7702
+ organizationId: 'OrganizationId',
7703
+ };
7704
+ }
7705
+ static types() {
7706
+ return {
7707
+ encodeKey: 'string',
7708
+ encodeType: 'string',
7709
+ id: 'string',
7710
+ idType: 'string',
7711
+ organizationId: 'string',
7712
+ };
7713
+ }
7714
+ }
7715
+ exports.GetHotelContactByGenieDeviceRequestDeviceInfo = GetHotelContactByGenieDeviceRequestDeviceInfo;
7716
+ class GetHotelContactByGenieDeviceRequestUserInfo extends $tea.Model {
7717
+ constructor(map) {
7718
+ super(map);
7719
+ }
7720
+ static names() {
7721
+ return {
7722
+ encodeKey: 'EncodeKey',
7723
+ encodeType: 'EncodeType',
7724
+ id: 'Id',
7725
+ idType: 'IdType',
7726
+ organizationId: 'OrganizationId',
7727
+ };
7728
+ }
7729
+ static types() {
7730
+ return {
7731
+ encodeKey: 'string',
7732
+ encodeType: 'string',
7733
+ id: 'string',
7734
+ idType: 'string',
7735
+ organizationId: 'string',
7736
+ };
7737
+ }
7738
+ }
7739
+ exports.GetHotelContactByGenieDeviceRequestUserInfo = GetHotelContactByGenieDeviceRequestUserInfo;
7740
+ class GetHotelContactByGenieDeviceResponseBodyResult extends $tea.Model {
7741
+ constructor(map) {
7742
+ super(map);
7743
+ }
7744
+ static names() {
7745
+ return {
7746
+ expireAt: 'ExpireAt',
7747
+ gmtCreate: 'GmtCreate',
7748
+ gmtModified: 'GmtModified',
7749
+ hotelId: 'HotelId',
7750
+ icon: 'Icon',
7751
+ id: 'Id',
7752
+ name: 'Name',
7753
+ number: 'Number',
7754
+ status: 'Status',
7755
+ type: 'Type',
7756
+ uuid: 'Uuid',
7757
+ };
7758
+ }
7759
+ static types() {
7760
+ return {
7761
+ expireAt: 'string',
7762
+ gmtCreate: 'string',
7763
+ gmtModified: 'string',
7764
+ hotelId: 'string',
7765
+ icon: 'string',
7766
+ id: 'number',
7767
+ name: 'string',
7768
+ number: 'string',
7769
+ status: 'number',
7770
+ type: 'string',
7771
+ uuid: 'string',
7772
+ };
7773
+ }
7774
+ }
7775
+ exports.GetHotelContactByGenieDeviceResponseBodyResult = GetHotelContactByGenieDeviceResponseBodyResult;
7510
7776
  class GetHotelContactByNumberRequestUserInfo extends $tea.Model {
7511
7777
  constructor(map) {
7512
7778
  super(map);
@@ -8059,6 +8325,24 @@ class GetRelationProductListResponseBodyResult extends $tea.Model {
8059
8325
  }
8060
8326
  }
8061
8327
  exports.GetRelationProductListResponseBodyResult = GetRelationProductListResponseBodyResult;
8328
+ class GetUnionIdResponseBodyResult extends $tea.Model {
8329
+ constructor(map) {
8330
+ super(map);
8331
+ }
8332
+ static names() {
8333
+ return {
8334
+ organizationId: 'OrganizationId',
8335
+ unionId: 'UnionId',
8336
+ };
8337
+ }
8338
+ static types() {
8339
+ return {
8340
+ organizationId: 'string',
8341
+ unionId: 'string',
8342
+ };
8343
+ }
8344
+ }
8345
+ exports.GetUnionIdResponseBodyResult = GetUnionIdResponseBodyResult;
8062
8346
  class GetWelcomeTextAndMusicResponseBodyResult extends $tea.Model {
8063
8347
  constructor(map) {
8064
8348
  super(map);
@@ -10867,6 +11151,55 @@ class Client extends openapi_client_1.default {
10867
11151
  let headers = new GetCartoonHeaders({});
10868
11152
  return await this.getCartoonWithOptions(request, headers, runtime);
10869
11153
  }
11154
+ async getHotelContactByGenieDeviceWithOptions(tmpReq, headers, runtime) {
11155
+ tea_util_1.default.validateModel(tmpReq);
11156
+ let request = new GetHotelContactByGenieDeviceShrinkRequest({});
11157
+ openapi_util_1.default.convert(tmpReq, request);
11158
+ if (!tea_util_1.default.isUnset(tmpReq.deviceInfo)) {
11159
+ request.deviceInfoShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
11160
+ }
11161
+ if (!tea_util_1.default.isUnset(tmpReq.userInfo)) {
11162
+ request.userInfoShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
11163
+ }
11164
+ let query = {};
11165
+ if (!tea_util_1.default.isUnset(request.deviceInfoShrink)) {
11166
+ query["DeviceInfo"] = request.deviceInfoShrink;
11167
+ }
11168
+ if (!tea_util_1.default.isUnset(request.userInfoShrink)) {
11169
+ query["UserInfo"] = request.userInfoShrink;
11170
+ }
11171
+ let realHeaders = {};
11172
+ if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
11173
+ realHeaders = headers.commonHeaders;
11174
+ }
11175
+ if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
11176
+ realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
11177
+ }
11178
+ if (!tea_util_1.default.isUnset(headers.authorization)) {
11179
+ realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
11180
+ }
11181
+ let req = new $OpenApi.OpenApiRequest({
11182
+ headers: realHeaders,
11183
+ query: openapi_util_1.default.query(query),
11184
+ });
11185
+ let params = new $OpenApi.Params({
11186
+ action: "GetHotelContactByGenieDevice",
11187
+ version: "ip_1.0",
11188
+ protocol: "HTTPS",
11189
+ pathname: `/v1.0/ip/getHotelContactByGenieDevice`,
11190
+ method: "POST",
11191
+ authType: "AK",
11192
+ style: "ROA",
11193
+ reqBodyType: "json",
11194
+ bodyType: "json",
11195
+ });
11196
+ return $tea.cast(await this.callApi(params, req, runtime), new GetHotelContactByGenieDeviceResponse({}));
11197
+ }
11198
+ async getHotelContactByGenieDevice(request) {
11199
+ let runtime = new $Util.RuntimeOptions({});
11200
+ let headers = new GetHotelContactByGenieDeviceHeaders({});
11201
+ return await this.getHotelContactByGenieDeviceWithOptions(request, headers, runtime);
11202
+ }
10870
11203
  async getHotelContactByNumberWithOptions(tmpReq, headers, runtime) {
10871
11204
  tea_util_1.default.validateModel(tmpReq);
10872
11205
  let request = new GetHotelContactByNumberShrinkRequest({});
@@ -11409,6 +11742,53 @@ class Client extends openapi_client_1.default {
11409
11742
  let headers = new GetRelationProductListHeaders({});
11410
11743
  return await this.getRelationProductListWithOptions(headers, runtime);
11411
11744
  }
11745
+ async getUnionIdWithOptions(request, headers, runtime) {
11746
+ tea_util_1.default.validateModel(request);
11747
+ let body = {};
11748
+ if (!tea_util_1.default.isUnset(request.encodeKey)) {
11749
+ body["EncodeKey"] = request.encodeKey;
11750
+ }
11751
+ if (!tea_util_1.default.isUnset(request.encodeType)) {
11752
+ body["EncodeType"] = request.encodeType;
11753
+ }
11754
+ if (!tea_util_1.default.isUnset(request.id)) {
11755
+ body["Id"] = request.id;
11756
+ }
11757
+ if (!tea_util_1.default.isUnset(request.idType)) {
11758
+ body["IdType"] = request.idType;
11759
+ }
11760
+ let realHeaders = {};
11761
+ if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
11762
+ realHeaders = headers.commonHeaders;
11763
+ }
11764
+ if (!tea_util_1.default.isUnset(headers.xAcsAligenieAccessToken)) {
11765
+ realHeaders["x-acs-aligenie-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAligenieAccessToken);
11766
+ }
11767
+ if (!tea_util_1.default.isUnset(headers.authorization)) {
11768
+ realHeaders["Authorization"] = tea_util_1.default.toJSONString(headers.authorization);
11769
+ }
11770
+ let req = new $OpenApi.OpenApiRequest({
11771
+ headers: realHeaders,
11772
+ body: openapi_util_1.default.parseToMap(body),
11773
+ });
11774
+ let params = new $OpenApi.Params({
11775
+ action: "GetUnionId",
11776
+ version: "ip_1.0",
11777
+ protocol: "HTTPS",
11778
+ pathname: `/v1.0/ip/getUnionId`,
11779
+ method: "POST",
11780
+ authType: "AK",
11781
+ style: "ROA",
11782
+ reqBodyType: "formData",
11783
+ bodyType: "json",
11784
+ });
11785
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUnionIdResponse({}));
11786
+ }
11787
+ async getUnionId(request) {
11788
+ let runtime = new $Util.RuntimeOptions({});
11789
+ let headers = new GetUnionIdHeaders({});
11790
+ return await this.getUnionIdWithOptions(request, headers, runtime);
11791
+ }
11412
11792
  async getWelcomeTextAndMusicWithOptions(request, headers, runtime) {
11413
11793
  tea_util_1.default.validateModel(request);
11414
11794
  let body = {};