@alicloud/airticketopen20230117 6.1.0 → 7.0.0
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 +4 -4
- package/dist/client.js +4 -4
- package/dist/models/DataHotelsValue.d.ts +7 -7
- package/dist/models/GlobalHotelBatchGetHotelDetailRequest.d.ts +2 -2
- package/dist/models/GlobalHotelBatchGetHotelDetailResponseBody.d.ts +129 -45
- package/dist/models/GlobalHotelBatchGetHotelDetailResponseBody.js +71 -7
- package/dist/models/GlobalHotelBatchGetHotelDetailResponseBody.js.map +1 -1
- package/dist/models/GlobalHotelBatchGetHotelDetailShrinkRequest.d.ts +2 -2
- package/dist/models/GlobalHotelQueryCalendarAvailabilityRequest.d.ts +4 -4
- package/dist/models/GlobalHotelQueryCalendarAvailabilityShrinkRequest.d.ts +4 -4
- package/dist/models/GlobalHotelSearchCityPageRequest.d.ts +2 -2
- package/dist/models/GlobalHotelSearchCityPageResponseBody.d.ts +3 -3
- package/dist/models/GlobalHotelSearchHotelListResponseBody.d.ts +2 -2
- package/dist/models/TicketCheckRefundResponseBody.d.ts +4 -0
- package/dist/models/TicketCheckRefundResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -1
- package/dist/models/model.js +18 -14
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4 -4
- package/src/models/DataHotelsValue.ts +7 -7
- package/src/models/GlobalHotelBatchGetHotelDetailRequest.ts +2 -2
- package/src/models/GlobalHotelBatchGetHotelDetailResponseBody.ts +179 -49
- package/src/models/GlobalHotelBatchGetHotelDetailShrinkRequest.ts +2 -2
- package/src/models/GlobalHotelQueryCalendarAvailabilityRequest.ts +4 -4
- package/src/models/GlobalHotelQueryCalendarAvailabilityShrinkRequest.ts +4 -4
- package/src/models/GlobalHotelSearchCityPageRequest.ts +2 -2
- package/src/models/GlobalHotelSearchCityPageResponseBody.ts +3 -3
- package/src/models/GlobalHotelSearchHotelListResponseBody.ts +2 -2
- package/src/models/TicketCheckRefundResponseBody.ts +4 -0
- package/src/models/model.ts +3 -1
package/dist/client.d.ts
CHANGED
|
@@ -995,7 +995,7 @@ export default class Client extends OpenApi {
|
|
|
995
995
|
*/
|
|
996
996
|
globalHotelQueryOrder(request: $_model.GlobalHotelQueryOrderRequest): Promise<$_model.GlobalHotelQueryOrderResponse>;
|
|
997
997
|
/**
|
|
998
|
-
* Queries city administrative divisions (in Chinese and English)
|
|
998
|
+
* Queries city administrative divisions by paging (in Chinese and English).
|
|
999
999
|
*
|
|
1000
1000
|
* @param request - GlobalHotelSearchCityPageRequest
|
|
1001
1001
|
* @param headers - map
|
|
@@ -1006,14 +1006,14 @@ export default class Client extends OpenApi {
|
|
|
1006
1006
|
[key: string]: string;
|
|
1007
1007
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GlobalHotelSearchCityPageResponse>;
|
|
1008
1008
|
/**
|
|
1009
|
-
* Queries city administrative divisions (in Chinese and English)
|
|
1009
|
+
* Queries city administrative divisions by paging (in Chinese and English).
|
|
1010
1010
|
*
|
|
1011
1011
|
* @param request - GlobalHotelSearchCityPageRequest
|
|
1012
1012
|
* @returns GlobalHotelSearchCityPageResponse
|
|
1013
1013
|
*/
|
|
1014
1014
|
globalHotelSearchCityPage(request: $_model.GlobalHotelSearchCityPageRequest): Promise<$_model.GlobalHotelSearchCityPageResponse>;
|
|
1015
1015
|
/**
|
|
1016
|
-
* Performs a paged query
|
|
1016
|
+
* Performs a paged query to retrieve the list of hotels by city with paging support.
|
|
1017
1017
|
*
|
|
1018
1018
|
* @param request - GlobalHotelSearchHotelListRequest
|
|
1019
1019
|
* @param headers - map
|
|
@@ -1024,7 +1024,7 @@ export default class Client extends OpenApi {
|
|
|
1024
1024
|
[key: string]: string;
|
|
1025
1025
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GlobalHotelSearchHotelListResponse>;
|
|
1026
1026
|
/**
|
|
1027
|
-
* Performs a paged query
|
|
1027
|
+
* Performs a paged query to retrieve the list of hotels by city with paging support.
|
|
1028
1028
|
*
|
|
1029
1029
|
* @param request - GlobalHotelSearchHotelListRequest
|
|
1030
1030
|
* @returns GlobalHotelSearchHotelListResponse
|
package/dist/client.js
CHANGED
|
@@ -3259,7 +3259,7 @@ class Client extends openapi_core_1.default {
|
|
|
3259
3259
|
return await this.globalHotelQueryOrderWithOptions(request, headers, runtime);
|
|
3260
3260
|
}
|
|
3261
3261
|
/**
|
|
3262
|
-
* Queries city administrative divisions (in Chinese and English)
|
|
3262
|
+
* Queries city administrative divisions by paging (in Chinese and English).
|
|
3263
3263
|
*
|
|
3264
3264
|
* @param request - GlobalHotelSearchCityPageRequest
|
|
3265
3265
|
* @param headers - map
|
|
@@ -3302,7 +3302,7 @@ class Client extends openapi_core_1.default {
|
|
|
3302
3302
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GlobalHotelSearchCityPageResponse({}));
|
|
3303
3303
|
}
|
|
3304
3304
|
/**
|
|
3305
|
-
* Queries city administrative divisions (in Chinese and English)
|
|
3305
|
+
* Queries city administrative divisions by paging (in Chinese and English).
|
|
3306
3306
|
*
|
|
3307
3307
|
* @param request - GlobalHotelSearchCityPageRequest
|
|
3308
3308
|
* @returns GlobalHotelSearchCityPageResponse
|
|
@@ -3313,7 +3313,7 @@ class Client extends openapi_core_1.default {
|
|
|
3313
3313
|
return await this.globalHotelSearchCityPageWithOptions(request, headers, runtime);
|
|
3314
3314
|
}
|
|
3315
3315
|
/**
|
|
3316
|
-
* Performs a paged query
|
|
3316
|
+
* Performs a paged query to retrieve the list of hotels by city with paging support.
|
|
3317
3317
|
*
|
|
3318
3318
|
* @param request - GlobalHotelSearchHotelListRequest
|
|
3319
3319
|
* @param headers - map
|
|
@@ -3356,7 +3356,7 @@ class Client extends openapi_core_1.default {
|
|
|
3356
3356
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GlobalHotelSearchHotelListResponse({}));
|
|
3357
3357
|
}
|
|
3358
3358
|
/**
|
|
3359
|
-
* Performs a paged query
|
|
3359
|
+
* Performs a paged query to retrieve the list of hotels by city with paging support.
|
|
3360
3360
|
*
|
|
3361
3361
|
* @param request - GlobalHotelSearchHotelListRequest
|
|
3362
3362
|
* @returns GlobalHotelSearchHotelListResponse
|
|
@@ -62,7 +62,7 @@ export declare class DataHotelsValueRoomsOffersCancelPolicyPenalties extends $da
|
|
|
62
62
|
penaltyType?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The penalty value (percentage/amount/nights).
|
|
65
|
+
* The penalty value (percentage/amount/number of nights).
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* 50
|
|
@@ -70,7 +70,7 @@ export declare class DataHotelsValueRoomsOffersCancelPolicyPenalties extends $da
|
|
|
70
70
|
penaltyValue?: string;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The currency code (present only when the
|
|
73
|
+
* The currency code (present only when the type is AMOUNT).
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* USD
|
|
@@ -349,7 +349,7 @@ export declare class DataHotelsValueRooms extends $dara.Model {
|
|
|
349
349
|
export declare class DataHotelsValueOffersCancelPolicyPenalties extends $dara.Model {
|
|
350
350
|
/**
|
|
351
351
|
* @remarks
|
|
352
|
-
* The effective start time
|
|
352
|
+
* The effective start time, in UTC millisecond timestamp format.
|
|
353
353
|
*
|
|
354
354
|
* @example
|
|
355
355
|
* 1672531200000
|
|
@@ -357,7 +357,7 @@ export declare class DataHotelsValueOffersCancelPolicyPenalties extends $dara.Mo
|
|
|
357
357
|
start?: string;
|
|
358
358
|
/**
|
|
359
359
|
* @remarks
|
|
360
|
-
* The effective end time
|
|
360
|
+
* The effective end time, in UTC millisecond timestamp format.
|
|
361
361
|
*
|
|
362
362
|
* @example
|
|
363
363
|
* 1672617600000
|
|
@@ -373,7 +373,7 @@ export declare class DataHotelsValueOffersCancelPolicyPenalties extends $dara.Mo
|
|
|
373
373
|
penaltyType?: string;
|
|
374
374
|
/**
|
|
375
375
|
* @remarks
|
|
376
|
-
* The penalty value (percentage
|
|
376
|
+
* The penalty value (percentage, amount, or number of nights).
|
|
377
377
|
*
|
|
378
378
|
* @example
|
|
379
379
|
* 50
|
|
@@ -381,7 +381,7 @@ export declare class DataHotelsValueOffersCancelPolicyPenalties extends $dara.Mo
|
|
|
381
381
|
penaltyValue?: string;
|
|
382
382
|
/**
|
|
383
383
|
* @remarks
|
|
384
|
-
* The currency code. This field
|
|
384
|
+
* The currency code. This field has a value only when the penalty type is AMOUNT.
|
|
385
385
|
*
|
|
386
386
|
* @example
|
|
387
387
|
* USD
|
|
@@ -547,7 +547,7 @@ export declare class DataHotelsValueOffersDailyPrices extends $dara.Model {
|
|
|
547
547
|
export declare class DataHotelsValueOffers extends $dara.Model {
|
|
548
548
|
/**
|
|
549
549
|
* @remarks
|
|
550
|
-
* The item offer key
|
|
550
|
+
* The item offer key, which is a price verification key. Pass this value through as-is.
|
|
551
551
|
*
|
|
552
552
|
* @example
|
|
553
553
|
* itemOffer_123
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GlobalHotelBatchGetHotelDetailRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The distributor account
|
|
5
|
+
* The ID of the distributor account.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ export declare class GlobalHotelBatchGetHotelDetailRequest extends $dara.Model {
|
|
|
12
12
|
accountNo?: number;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The language
|
|
15
|
+
* The language for the response, such as en or zh.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* en
|
|
@@ -10,7 +10,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsFacilit
|
|
|
10
10
|
description?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The facility
|
|
13
|
+
* The name of the facility.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* Swimming Pool
|
|
@@ -18,7 +18,12 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsFacilit
|
|
|
18
18
|
name?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The
|
|
21
|
+
* The list of sub-facilities.
|
|
22
|
+
*/
|
|
23
|
+
subItems?: any[];
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The type of the facility.
|
|
22
27
|
*
|
|
23
28
|
* @example
|
|
24
29
|
* parkade
|
|
@@ -38,7 +43,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsFacilit
|
|
|
38
43
|
export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsPictures extends $dara.Model {
|
|
39
44
|
/**
|
|
40
45
|
* @remarks
|
|
41
|
-
* The picture
|
|
46
|
+
* The description of the picture.
|
|
42
47
|
*
|
|
43
48
|
* @example
|
|
44
49
|
* Hotel lobby
|
|
@@ -70,7 +75,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsPicture
|
|
|
70
75
|
isHeadPic?: boolean;
|
|
71
76
|
/**
|
|
72
77
|
* @remarks
|
|
73
|
-
* The picture ID
|
|
78
|
+
* The picture ID. The URL takes precedence.
|
|
74
79
|
*
|
|
75
80
|
* @example
|
|
76
81
|
* PIC001
|
|
@@ -94,7 +99,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsPicture
|
|
|
94
99
|
secondCategoryName?: string;
|
|
95
100
|
/**
|
|
96
101
|
* @remarks
|
|
97
|
-
* The picture
|
|
102
|
+
* The URL of the picture.
|
|
98
103
|
*
|
|
99
104
|
* @example
|
|
100
105
|
* https://img.example.com/1.jpg
|
|
@@ -114,7 +119,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsPicture
|
|
|
114
119
|
export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsPoliciesItems extends $dara.Model {
|
|
115
120
|
/**
|
|
116
121
|
* @remarks
|
|
117
|
-
* The list of
|
|
122
|
+
* The list of subkeys.
|
|
118
123
|
*/
|
|
119
124
|
children?: any[];
|
|
120
125
|
/**
|
|
@@ -122,7 +127,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsPolicie
|
|
|
122
127
|
* The item name.
|
|
123
128
|
*
|
|
124
129
|
* @example
|
|
125
|
-
* Check-in
|
|
130
|
+
* Check-in time
|
|
126
131
|
*/
|
|
127
132
|
itemName?: string;
|
|
128
133
|
/**
|
|
@@ -185,7 +190,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsPolicie
|
|
|
185
190
|
[key: string]: any;
|
|
186
191
|
});
|
|
187
192
|
}
|
|
188
|
-
export declare class
|
|
193
|
+
export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTypesBedGroupsBedInfos extends $dara.Model {
|
|
189
194
|
/**
|
|
190
195
|
* @remarks
|
|
191
196
|
* The number of beds.
|
|
@@ -194,20 +199,36 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTyp
|
|
|
194
199
|
* 1
|
|
195
200
|
*/
|
|
196
201
|
bedCount?: number;
|
|
202
|
+
/**
|
|
203
|
+
* @remarks
|
|
204
|
+
* The Chinese name of the bed type.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* 大床
|
|
208
|
+
*/
|
|
209
|
+
bedNameCn?: string;
|
|
210
|
+
/**
|
|
211
|
+
* @remarks
|
|
212
|
+
* The English name of the bed type.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* King Bed
|
|
216
|
+
*/
|
|
217
|
+
bedNameEn?: string;
|
|
197
218
|
/**
|
|
198
219
|
* @remarks
|
|
199
220
|
* The bed width in meters.
|
|
200
221
|
*
|
|
201
222
|
* @example
|
|
202
|
-
* 1.
|
|
223
|
+
* 1.83
|
|
203
224
|
*/
|
|
204
225
|
bedSize?: string;
|
|
205
226
|
/**
|
|
206
227
|
* @remarks
|
|
207
|
-
* The bed type
|
|
228
|
+
* The bed type code. This is the original channel code passed through directly. For the meaning of code values, refer to the API documentation.
|
|
208
229
|
*
|
|
209
230
|
* @example
|
|
210
|
-
*
|
|
231
|
+
* 0
|
|
211
232
|
*/
|
|
212
233
|
bedType?: string;
|
|
213
234
|
static names(): {
|
|
@@ -221,10 +242,68 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTyp
|
|
|
221
242
|
[key: string]: any;
|
|
222
243
|
});
|
|
223
244
|
}
|
|
245
|
+
export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTypesBedGroups extends $dara.Model {
|
|
246
|
+
/**
|
|
247
|
+
* @remarks
|
|
248
|
+
* The list of bed types within a group. Items are in an AND relationship.
|
|
249
|
+
*/
|
|
250
|
+
bedInfos?: GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTypesBedGroupsBedInfos[];
|
|
251
|
+
static names(): {
|
|
252
|
+
[key: string]: string;
|
|
253
|
+
};
|
|
254
|
+
static types(): {
|
|
255
|
+
[key: string]: any;
|
|
256
|
+
};
|
|
257
|
+
validate(): void;
|
|
258
|
+
constructor(map?: {
|
|
259
|
+
[key: string]: any;
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTypesFacilities extends $dara.Model {
|
|
263
|
+
/**
|
|
264
|
+
* @remarks
|
|
265
|
+
* The facility description.
|
|
266
|
+
*
|
|
267
|
+
* @example
|
|
268
|
+
* Popular Facilities
|
|
269
|
+
*/
|
|
270
|
+
description?: string;
|
|
271
|
+
/**
|
|
272
|
+
* @remarks
|
|
273
|
+
* The name of the facility.
|
|
274
|
+
*
|
|
275
|
+
* @example
|
|
276
|
+
* Parking Lot
|
|
277
|
+
*/
|
|
278
|
+
name?: string;
|
|
279
|
+
/**
|
|
280
|
+
* @remarks
|
|
281
|
+
* The list of sub-facilities.
|
|
282
|
+
*/
|
|
283
|
+
subItems?: any[];
|
|
284
|
+
/**
|
|
285
|
+
* @remarks
|
|
286
|
+
* The type of the facility.
|
|
287
|
+
*
|
|
288
|
+
* @example
|
|
289
|
+
* parkade
|
|
290
|
+
*/
|
|
291
|
+
type?: string;
|
|
292
|
+
static names(): {
|
|
293
|
+
[key: string]: string;
|
|
294
|
+
};
|
|
295
|
+
static types(): {
|
|
296
|
+
[key: string]: any;
|
|
297
|
+
};
|
|
298
|
+
validate(): void;
|
|
299
|
+
constructor(map?: {
|
|
300
|
+
[key: string]: any;
|
|
301
|
+
});
|
|
302
|
+
}
|
|
224
303
|
export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTypesPictures extends $dara.Model {
|
|
225
304
|
/**
|
|
226
305
|
* @remarks
|
|
227
|
-
* The picture
|
|
306
|
+
* The description of the picture.
|
|
228
307
|
*
|
|
229
308
|
* @example
|
|
230
309
|
* Hotel lobby
|
|
@@ -256,7 +335,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTyp
|
|
|
256
335
|
isHeadPic?: boolean;
|
|
257
336
|
/**
|
|
258
337
|
* @remarks
|
|
259
|
-
* The picture ID
|
|
338
|
+
* The picture ID. The URL takes precedence.
|
|
260
339
|
*
|
|
261
340
|
* @example
|
|
262
341
|
* PIC001
|
|
@@ -280,7 +359,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTyp
|
|
|
280
359
|
secondCategoryName?: string;
|
|
281
360
|
/**
|
|
282
361
|
* @remarks
|
|
283
|
-
* The picture
|
|
362
|
+
* The URL of the picture.
|
|
284
363
|
*
|
|
285
364
|
* @example
|
|
286
365
|
* https://img.example.com/1.jpg
|
|
@@ -300,9 +379,14 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTyp
|
|
|
300
379
|
export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTypes extends $dara.Model {
|
|
301
380
|
/**
|
|
302
381
|
* @remarks
|
|
303
|
-
* The list of bed
|
|
382
|
+
* The list of bed type groups. This has the same structure as bedInfoJson. Groups are in an OR relationship, and items within a group are in an AND relationship.
|
|
383
|
+
*/
|
|
384
|
+
bedGroups?: GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTypesBedGroups[];
|
|
385
|
+
/**
|
|
386
|
+
* @remarks
|
|
387
|
+
* The list of room type facilities.
|
|
304
388
|
*/
|
|
305
|
-
|
|
389
|
+
facilities?: GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTypesFacilities[];
|
|
306
390
|
/**
|
|
307
391
|
* @remarks
|
|
308
392
|
* The list of room type pictures.
|
|
@@ -318,7 +402,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTyp
|
|
|
318
402
|
roomName?: string;
|
|
319
403
|
/**
|
|
320
404
|
* @remarks
|
|
321
|
-
* The Chinese room type name
|
|
405
|
+
* The Chinese room type name. This value is always in Chinese regardless of the language parameter.
|
|
322
406
|
*
|
|
323
407
|
* @example
|
|
324
408
|
* 豪华大床房
|
|
@@ -326,7 +410,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTyp
|
|
|
326
410
|
roomNameCn?: string;
|
|
327
411
|
/**
|
|
328
412
|
* @remarks
|
|
329
|
-
* The room
|
|
413
|
+
* The room size. The value is passed through as-is and may be a range.
|
|
330
414
|
*
|
|
331
415
|
* @example
|
|
332
416
|
* 35.0
|
|
@@ -334,7 +418,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTyp
|
|
|
334
418
|
roomSize?: string;
|
|
335
419
|
/**
|
|
336
420
|
* @remarks
|
|
337
|
-
* The
|
|
421
|
+
* The unit of the room size. Valid values: SQM (square meters) and SQFT (square feet). Default value: SQM.
|
|
338
422
|
*
|
|
339
423
|
* @example
|
|
340
424
|
* SQM
|
|
@@ -351,12 +435,12 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTyp
|
|
|
351
435
|
/**
|
|
352
436
|
* @remarks
|
|
353
437
|
* The window type. Valid values:
|
|
354
|
-
* - 0: no window
|
|
355
|
-
* - 1: with window
|
|
356
|
-
* - 2: partially with window
|
|
357
|
-
* - 3: opaque window
|
|
358
|
-
* - 4: partially opaque window
|
|
359
|
-
* - 5: floor-to-ceiling window
|
|
438
|
+
* - 0: no window.
|
|
439
|
+
* - 1: with window.
|
|
440
|
+
* - 2: partially with window.
|
|
441
|
+
* - 3: frosted or opaque window.
|
|
442
|
+
* - 4: partially frosted or opaque window.
|
|
443
|
+
* - 5: floor-to-ceiling window.
|
|
360
444
|
*
|
|
361
445
|
* @example
|
|
362
446
|
* WINDOW
|
|
@@ -365,11 +449,11 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTyp
|
|
|
365
449
|
/**
|
|
366
450
|
* @remarks
|
|
367
451
|
* The window defect code. Valid values:
|
|
368
|
-
* - 0: window cannot be opened for ventilation
|
|
369
|
-
* - 1: view
|
|
370
|
-
* - 2: window faces
|
|
371
|
-
* - 3: window is located
|
|
372
|
-
* - 4: window can be opened for ventilation and faces an outdoor open environment
|
|
452
|
+
* - 0: The window cannot be opened for ventilation.
|
|
453
|
+
* - 1: The view from the window is obstructed.
|
|
454
|
+
* - 2: The window faces an interior hotel view.
|
|
455
|
+
* - 3: The window is located along a corridor or hallway.
|
|
456
|
+
* - 4: The window can be opened for ventilation and faces an outdoor open environment.
|
|
373
457
|
*
|
|
374
458
|
* @example
|
|
375
459
|
* SMALL_WINDOW
|
|
@@ -389,7 +473,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsRoomTyp
|
|
|
389
473
|
export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extends $dara.Model {
|
|
390
474
|
/**
|
|
391
475
|
* @remarks
|
|
392
|
-
* The address.
|
|
476
|
+
* The address of the hotel.
|
|
393
477
|
*
|
|
394
478
|
* @example
|
|
395
479
|
* No.33 East Chang An Avenue
|
|
@@ -397,7 +481,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
397
481
|
address?: string;
|
|
398
482
|
/**
|
|
399
483
|
* @remarks
|
|
400
|
-
* The default check-in time.
|
|
484
|
+
* The default check-in time in HH:mm format, based on the hotel\\"s local time zone.
|
|
401
485
|
*
|
|
402
486
|
* @example
|
|
403
487
|
* 14:00
|
|
@@ -405,7 +489,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
405
489
|
checkInTime?: string;
|
|
406
490
|
/**
|
|
407
491
|
* @remarks
|
|
408
|
-
* The default check-out time.
|
|
492
|
+
* The default check-out time in HH:mm format, based on the hotel\\"s local time zone.
|
|
409
493
|
*
|
|
410
494
|
* @example
|
|
411
495
|
* 12:00
|
|
@@ -429,7 +513,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
429
513
|
countryName?: string;
|
|
430
514
|
/**
|
|
431
515
|
* @remarks
|
|
432
|
-
* The hotel
|
|
516
|
+
* The description of the hotel.
|
|
433
517
|
*
|
|
434
518
|
* @example
|
|
435
519
|
* Five-star luxury hotel
|
|
@@ -445,7 +529,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
445
529
|
errorCode?: string;
|
|
446
530
|
/**
|
|
447
531
|
* @remarks
|
|
448
|
-
* The error
|
|
532
|
+
* The error description for the individual hotel.
|
|
449
533
|
*
|
|
450
534
|
* @example
|
|
451
535
|
* Hotel does not exist
|
|
@@ -466,7 +550,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
466
550
|
hotelName?: string;
|
|
467
551
|
/**
|
|
468
552
|
* @remarks
|
|
469
|
-
* The Chinese hotel name.
|
|
553
|
+
* The Chinese hotel name. This value is always in Chinese regardless of the language setting.
|
|
470
554
|
*
|
|
471
555
|
* @example
|
|
472
556
|
* 北京饭店
|
|
@@ -482,7 +566,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
482
566
|
hotelType?: string;
|
|
483
567
|
/**
|
|
484
568
|
* @remarks
|
|
485
|
-
* The latitude.
|
|
569
|
+
* The latitude of the hotel.
|
|
486
570
|
*
|
|
487
571
|
* @example
|
|
488
572
|
* 39.9042
|
|
@@ -490,7 +574,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
490
574
|
latitude?: string;
|
|
491
575
|
/**
|
|
492
576
|
* @remarks
|
|
493
|
-
* The longitude.
|
|
577
|
+
* The longitude of the hotel.
|
|
494
578
|
*
|
|
495
579
|
* @example
|
|
496
580
|
* 116.4074
|
|
@@ -498,7 +582,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
498
582
|
longitude?: string;
|
|
499
583
|
/**
|
|
500
584
|
* @remarks
|
|
501
|
-
* The
|
|
585
|
+
* The year the hotel opened.
|
|
502
586
|
*
|
|
503
587
|
* @example
|
|
504
588
|
* 2018
|
|
@@ -516,7 +600,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
516
600
|
policies?: GlobalHotelBatchGetHotelDetailResponseBodyDataHotelsPolicies[];
|
|
517
601
|
/**
|
|
518
602
|
* @remarks
|
|
519
|
-
* The source of the coordinates.
|
|
603
|
+
* The source of the latitude and longitude coordinates.
|
|
520
604
|
*
|
|
521
605
|
* @example
|
|
522
606
|
* GOOGLE
|
|
@@ -524,7 +608,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
524
608
|
positionType?: string;
|
|
525
609
|
/**
|
|
526
610
|
* @remarks
|
|
527
|
-
* The
|
|
611
|
+
* The year the hotel was last renovated.
|
|
528
612
|
*
|
|
529
613
|
* @example
|
|
530
614
|
* 2021
|
|
@@ -545,7 +629,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
545
629
|
standardHotelId?: string;
|
|
546
630
|
/**
|
|
547
631
|
* @remarks
|
|
548
|
-
* The star rating.
|
|
632
|
+
* The star rating of the hotel.
|
|
549
633
|
*
|
|
550
634
|
* @example
|
|
551
635
|
* 5
|
|
@@ -561,7 +645,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
561
645
|
status?: string;
|
|
562
646
|
/**
|
|
563
647
|
* @remarks
|
|
564
|
-
* The phone number.
|
|
648
|
+
* The phone number of the hotel.
|
|
565
649
|
*
|
|
566
650
|
* @example
|
|
567
651
|
* +86-10-65137766
|
|
@@ -569,7 +653,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBodyDataHotels extend
|
|
|
569
653
|
tel?: string;
|
|
570
654
|
/**
|
|
571
655
|
* @remarks
|
|
572
|
-
* The
|
|
656
|
+
* The time zone of the hotel in IANA ID format.
|
|
573
657
|
*
|
|
574
658
|
* @example
|
|
575
659
|
* Asia/Shanghai
|
|
@@ -627,7 +711,7 @@ export declare class GlobalHotelBatchGetHotelDetailResponseBody extends $dara.Mo
|
|
|
627
711
|
errorMsg?: string;
|
|
628
712
|
/**
|
|
629
713
|
* @remarks
|
|
630
|
-
* The unique request
|
|
714
|
+
* The unique ID of the request.
|
|
631
715
|
*
|
|
632
716
|
* @example
|
|
633
717
|
* 260E4F99-983D-1919-834C-5C42E98E5B2B
|