@alicloud/airticketopen20230117 5.0.0 → 6.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 +10 -10
- package/dist/client.js +10 -10
- package/dist/models/DataHotelsValue.d.ts +72 -72
- package/dist/models/DataHotelsValue.js +46 -46
- package/dist/models/DataHotelsValue.js.map +1 -1
- package/dist/models/GlobalHotelApplyRefundResponseBody.d.ts +3 -3
- package/dist/models/GlobalHotelApplyRefundResponseBody.js +2 -2
- package/dist/models/GlobalHotelApplyRefundResponseBody.js.map +1 -1
- package/dist/models/GlobalHotelBatchGetHotelDetailRequest.d.ts +2 -2
- package/dist/models/GlobalHotelBatchGetHotelDetailResponseBody.d.ts +46 -35
- package/dist/models/GlobalHotelBatchGetHotelDetailResponseBody.js +1 -1
- package/dist/models/GlobalHotelBatchGetHotelDetailResponseBody.js.map +1 -1
- package/dist/models/GlobalHotelBatchGetHotelDetailShrinkRequest.d.ts +2 -2
- package/dist/models/GlobalHotelCancelOrRefundResponseBody.d.ts +1 -4
- package/dist/models/GlobalHotelCancelOrRefundResponseBody.js +2 -2
- package/dist/models/GlobalHotelCancelOrRefundResponseBody.js.map +1 -1
- package/dist/models/GlobalHotelCancelOrderRequest.d.ts +7 -0
- package/dist/models/GlobalHotelCancelOrderRequest.js.map +1 -1
- package/dist/models/GlobalHotelCancelOrderResponseBody.d.ts +16 -1
- package/dist/models/GlobalHotelCancelOrderResponseBody.js.map +1 -1
- package/dist/models/GlobalHotelQueryCalendarAvailabilityRequest.d.ts +3 -3
- package/dist/models/GlobalHotelQueryCalendarAvailabilityResponseBody.d.ts +0 -41
- package/dist/models/GlobalHotelQueryCalendarAvailabilityResponseBody.js +1 -29
- package/dist/models/GlobalHotelQueryCalendarAvailabilityResponseBody.js.map +1 -1
- package/dist/models/GlobalHotelQueryCalendarAvailabilityShrinkRequest.d.ts +3 -3
- package/dist/models/GlobalHotelQueryOrderRequest.d.ts +2 -2
- package/dist/models/GlobalHotelQueryOrderResponseBody.d.ts +54 -71
- package/dist/models/GlobalHotelQueryOrderResponseBody.js +21 -43
- package/dist/models/GlobalHotelQueryOrderResponseBody.js.map +1 -1
- package/dist/models/GlobalHotelSearchCityPageRequest.d.ts +2 -2
- package/dist/models/GlobalHotelSearchCityPageResponseBody.d.ts +3 -3
- package/dist/models/GlobalHotelSearchHotelListResponseBody.d.ts +1 -1
- package/dist/models/GlobalHotelValidatePriceRequest.d.ts +17 -0
- package/dist/models/GlobalHotelValidatePriceRequest.js.map +1 -1
- package/dist/models/GlobalHotelValidatePriceResponseBody.d.ts +131 -15
- package/dist/models/GlobalHotelValidatePriceResponseBody.js +45 -19
- package/dist/models/GlobalHotelValidatePriceResponseBody.js.map +1 -1
- package/dist/models/GlobalHotelValidatePriceShrinkRequest.d.ts +17 -0
- package/dist/models/GlobalHotelValidatePriceShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +11 -12
- package/dist/models/model.js +39 -41
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -10
- package/src/models/DataHotelsValue.ts +103 -103
- package/src/models/GlobalHotelApplyRefundResponseBody.ts +5 -5
- package/src/models/GlobalHotelBatchGetHotelDetailRequest.ts +2 -2
- package/src/models/GlobalHotelBatchGetHotelDetailResponseBody.ts +47 -36
- package/src/models/GlobalHotelBatchGetHotelDetailShrinkRequest.ts +2 -2
- package/src/models/GlobalHotelCancelOrRefundResponseBody.ts +3 -6
- package/src/models/GlobalHotelCancelOrderRequest.ts +7 -0
- package/src/models/GlobalHotelCancelOrderResponseBody.ts +16 -1
- package/src/models/GlobalHotelQueryCalendarAvailabilityRequest.ts +3 -3
- package/src/models/GlobalHotelQueryCalendarAvailabilityResponseBody.ts +0 -60
- package/src/models/GlobalHotelQueryCalendarAvailabilityShrinkRequest.ts +3 -3
- package/src/models/GlobalHotelQueryOrderRequest.ts +2 -2
- package/src/models/GlobalHotelQueryOrderResponseBody.ts +72 -102
- package/src/models/GlobalHotelSearchCityPageRequest.ts +2 -2
- package/src/models/GlobalHotelSearchCityPageResponseBody.ts +3 -3
- package/src/models/GlobalHotelSearchHotelListResponseBody.ts +1 -1
- package/src/models/GlobalHotelValidatePriceRequest.ts +17 -0
- package/src/models/GlobalHotelValidatePriceResponseBody.ts +163 -30
- package/src/models/GlobalHotelValidatePriceShrinkRequest.ts +17 -0
- package/src/models/model.ts +11 -12
package/dist/client.d.ts
CHANGED
|
@@ -635,7 +635,7 @@ export default class Client extends OpenApi {
|
|
|
635
635
|
*/
|
|
636
636
|
globalHotelCancelOrRefund(request: $_model.GlobalHotelCancelOrRefundRequest): Promise<$_model.GlobalHotelCancelOrRefundResponse>;
|
|
637
637
|
/**
|
|
638
|
-
*
|
|
638
|
+
* Cancels an order.
|
|
639
639
|
*
|
|
640
640
|
* @param request - GlobalHotelCancelOrderRequest
|
|
641
641
|
* @param headers - map
|
|
@@ -646,7 +646,7 @@ export default class Client extends OpenApi {
|
|
|
646
646
|
[key: string]: string;
|
|
647
647
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GlobalHotelCancelOrderResponse>;
|
|
648
648
|
/**
|
|
649
|
-
*
|
|
649
|
+
* Cancels an order.
|
|
650
650
|
*
|
|
651
651
|
* @param request - GlobalHotelCancelOrderRequest
|
|
652
652
|
* @returns GlobalHotelCancelOrderResponse
|
|
@@ -725,7 +725,7 @@ export default class Client extends OpenApi {
|
|
|
725
725
|
*/
|
|
726
726
|
globalHotelQueryAvailability(request: $_model.GlobalHotelQueryAvailabilityRequest): Promise<$_model.GlobalHotelQueryAvailabilityResponse>;
|
|
727
727
|
/**
|
|
728
|
-
* Queries calendar-based availability
|
|
728
|
+
* Queries calendar-based rate availability for hotels in batch.
|
|
729
729
|
*
|
|
730
730
|
* @param tmpReq - GlobalHotelQueryCalendarAvailabilityRequest
|
|
731
731
|
* @param headers - map
|
|
@@ -736,7 +736,7 @@ export default class Client extends OpenApi {
|
|
|
736
736
|
[key: string]: string;
|
|
737
737
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GlobalHotelQueryCalendarAvailabilityResponse>;
|
|
738
738
|
/**
|
|
739
|
-
* Queries calendar-based availability
|
|
739
|
+
* Queries calendar-based rate availability for hotels in batch.
|
|
740
740
|
*
|
|
741
741
|
* @param request - GlobalHotelQueryCalendarAvailabilityRequest
|
|
742
742
|
* @returns GlobalHotelQueryCalendarAvailabilityResponse
|
|
@@ -761,7 +761,7 @@ export default class Client extends OpenApi {
|
|
|
761
761
|
*/
|
|
762
762
|
globalHotelQueryOrder(request: $_model.GlobalHotelQueryOrderRequest): Promise<$_model.GlobalHotelQueryOrderResponse>;
|
|
763
763
|
/**
|
|
764
|
-
* Queries city administrative divisions
|
|
764
|
+
* Queries city administrative divisions (in Chinese and English) by paging.
|
|
765
765
|
*
|
|
766
766
|
* @param request - GlobalHotelSearchCityPageRequest
|
|
767
767
|
* @param headers - map
|
|
@@ -772,14 +772,14 @@ export default class Client extends OpenApi {
|
|
|
772
772
|
[key: string]: string;
|
|
773
773
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GlobalHotelSearchCityPageResponse>;
|
|
774
774
|
/**
|
|
775
|
-
* Queries city administrative divisions
|
|
775
|
+
* Queries city administrative divisions (in Chinese and English) by paging.
|
|
776
776
|
*
|
|
777
777
|
* @param request - GlobalHotelSearchCityPageRequest
|
|
778
778
|
* @returns GlobalHotelSearchCityPageResponse
|
|
779
779
|
*/
|
|
780
780
|
globalHotelSearchCityPage(request: $_model.GlobalHotelSearchCityPageRequest): Promise<$_model.GlobalHotelSearchCityPageResponse>;
|
|
781
781
|
/**
|
|
782
|
-
* Performs a paged query
|
|
782
|
+
* Performs a paged query of the hotel list by city with paging support.
|
|
783
783
|
*
|
|
784
784
|
* @param request - GlobalHotelSearchHotelListRequest
|
|
785
785
|
* @param headers - map
|
|
@@ -790,14 +790,14 @@ export default class Client extends OpenApi {
|
|
|
790
790
|
[key: string]: string;
|
|
791
791
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GlobalHotelSearchHotelListResponse>;
|
|
792
792
|
/**
|
|
793
|
-
* Performs a paged query
|
|
793
|
+
* Performs a paged query of the hotel list by city with paging support.
|
|
794
794
|
*
|
|
795
795
|
* @param request - GlobalHotelSearchHotelListRequest
|
|
796
796
|
* @returns GlobalHotelSearchHotelListResponse
|
|
797
797
|
*/
|
|
798
798
|
globalHotelSearchHotelList(request: $_model.GlobalHotelSearchHotelListRequest): Promise<$_model.GlobalHotelSearchHotelListResponse>;
|
|
799
799
|
/**
|
|
800
|
-
*
|
|
800
|
+
* Validates the price of a hotel offer.
|
|
801
801
|
*
|
|
802
802
|
* @param tmpReq - GlobalHotelValidatePriceRequest
|
|
803
803
|
* @param headers - map
|
|
@@ -808,7 +808,7 @@ export default class Client extends OpenApi {
|
|
|
808
808
|
[key: string]: string;
|
|
809
809
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GlobalHotelValidatePriceResponse>;
|
|
810
810
|
/**
|
|
811
|
-
*
|
|
811
|
+
* Validates the price of a hotel offer.
|
|
812
812
|
*
|
|
813
813
|
* @param request - GlobalHotelValidatePriceRequest
|
|
814
814
|
* @returns GlobalHotelValidatePriceResponse
|
package/dist/client.js
CHANGED
|
@@ -2187,7 +2187,7 @@ class Client extends openapi_core_1.default {
|
|
|
2187
2187
|
return await this.globalHotelCancelOrRefundWithOptions(request, headers, runtime);
|
|
2188
2188
|
}
|
|
2189
2189
|
/**
|
|
2190
|
-
*
|
|
2190
|
+
* Cancels an order.
|
|
2191
2191
|
*
|
|
2192
2192
|
* @param request - GlobalHotelCancelOrderRequest
|
|
2193
2193
|
* @param headers - map
|
|
@@ -2224,7 +2224,7 @@ class Client extends openapi_core_1.default {
|
|
|
2224
2224
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GlobalHotelCancelOrderResponse({}));
|
|
2225
2225
|
}
|
|
2226
2226
|
/**
|
|
2227
|
-
*
|
|
2227
|
+
* Cancels an order.
|
|
2228
2228
|
*
|
|
2229
2229
|
* @param request - GlobalHotelCancelOrderRequest
|
|
2230
2230
|
* @returns GlobalHotelCancelOrderResponse
|
|
@@ -2493,7 +2493,7 @@ class Client extends openapi_core_1.default {
|
|
|
2493
2493
|
return await this.globalHotelQueryAvailabilityWithOptions(request, headers, runtime);
|
|
2494
2494
|
}
|
|
2495
2495
|
/**
|
|
2496
|
-
* Queries calendar-based availability
|
|
2496
|
+
* Queries calendar-based rate availability for hotels in batch.
|
|
2497
2497
|
*
|
|
2498
2498
|
* @param tmpReq - GlobalHotelQueryCalendarAvailabilityRequest
|
|
2499
2499
|
* @param headers - map
|
|
@@ -2556,7 +2556,7 @@ class Client extends openapi_core_1.default {
|
|
|
2556
2556
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GlobalHotelQueryCalendarAvailabilityResponse({}));
|
|
2557
2557
|
}
|
|
2558
2558
|
/**
|
|
2559
|
-
* Queries calendar-based availability
|
|
2559
|
+
* Queries calendar-based rate availability for hotels in batch.
|
|
2560
2560
|
*
|
|
2561
2561
|
* @param request - GlobalHotelQueryCalendarAvailabilityRequest
|
|
2562
2562
|
* @returns GlobalHotelQueryCalendarAvailabilityResponse
|
|
@@ -2618,7 +2618,7 @@ class Client extends openapi_core_1.default {
|
|
|
2618
2618
|
return await this.globalHotelQueryOrderWithOptions(request, headers, runtime);
|
|
2619
2619
|
}
|
|
2620
2620
|
/**
|
|
2621
|
-
* Queries city administrative divisions
|
|
2621
|
+
* Queries city administrative divisions (in Chinese and English) by paging.
|
|
2622
2622
|
*
|
|
2623
2623
|
* @param request - GlobalHotelSearchCityPageRequest
|
|
2624
2624
|
* @param headers - map
|
|
@@ -2661,7 +2661,7 @@ class Client extends openapi_core_1.default {
|
|
|
2661
2661
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GlobalHotelSearchCityPageResponse({}));
|
|
2662
2662
|
}
|
|
2663
2663
|
/**
|
|
2664
|
-
* Queries city administrative divisions
|
|
2664
|
+
* Queries city administrative divisions (in Chinese and English) by paging.
|
|
2665
2665
|
*
|
|
2666
2666
|
* @param request - GlobalHotelSearchCityPageRequest
|
|
2667
2667
|
* @returns GlobalHotelSearchCityPageResponse
|
|
@@ -2672,7 +2672,7 @@ class Client extends openapi_core_1.default {
|
|
|
2672
2672
|
return await this.globalHotelSearchCityPageWithOptions(request, headers, runtime);
|
|
2673
2673
|
}
|
|
2674
2674
|
/**
|
|
2675
|
-
* Performs a paged query
|
|
2675
|
+
* Performs a paged query of the hotel list by city with paging support.
|
|
2676
2676
|
*
|
|
2677
2677
|
* @param request - GlobalHotelSearchHotelListRequest
|
|
2678
2678
|
* @param headers - map
|
|
@@ -2715,7 +2715,7 @@ class Client extends openapi_core_1.default {
|
|
|
2715
2715
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GlobalHotelSearchHotelListResponse({}));
|
|
2716
2716
|
}
|
|
2717
2717
|
/**
|
|
2718
|
-
* Performs a paged query
|
|
2718
|
+
* Performs a paged query of the hotel list by city with paging support.
|
|
2719
2719
|
*
|
|
2720
2720
|
* @param request - GlobalHotelSearchHotelListRequest
|
|
2721
2721
|
* @returns GlobalHotelSearchHotelListResponse
|
|
@@ -2726,7 +2726,7 @@ class Client extends openapi_core_1.default {
|
|
|
2726
2726
|
return await this.globalHotelSearchHotelListWithOptions(request, headers, runtime);
|
|
2727
2727
|
}
|
|
2728
2728
|
/**
|
|
2729
|
-
*
|
|
2729
|
+
* Validates the price of a hotel offer.
|
|
2730
2730
|
*
|
|
2731
2731
|
* @param tmpReq - GlobalHotelValidatePriceRequest
|
|
2732
2732
|
* @param headers - map
|
|
@@ -2780,7 +2780,7 @@ class Client extends openapi_core_1.default {
|
|
|
2780
2780
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GlobalHotelValidatePriceResponse({}));
|
|
2781
2781
|
}
|
|
2782
2782
|
/**
|
|
2783
|
-
*
|
|
2783
|
+
* Validates the price of a hotel offer.
|
|
2784
2784
|
*
|
|
2785
2785
|
* @param request - GlobalHotelValidatePriceRequest
|
|
2786
2786
|
* @returns GlobalHotelValidatePriceResponse
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class DataHotelsValueRoomsLowestPrice extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The amount.
|
|
5
|
+
* The amount in the smallest currency unit.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
|
-
*
|
|
8
|
+
* 287
|
|
9
9
|
*/
|
|
10
|
-
amount?:
|
|
10
|
+
amount?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
13
|
* The currency code.
|
|
@@ -18,10 +18,10 @@ export declare class DataHotelsValueRoomsLowestSellingPrice extends $dara.Model
|
|
|
18
18
|
currency?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
*
|
|
21
|
+
* null
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
|
-
*
|
|
24
|
+
* null
|
|
25
25
|
*/
|
|
26
26
|
tracerId?: string;
|
|
27
27
|
static names(): {
|
|
@@ -38,23 +38,23 @@ export declare class DataHotelsValueRoomsLowestSellingPrice extends $dara.Model
|
|
|
38
38
|
export declare class DataHotelsValueRoomsOffersCancelPolicyPenalties extends $dara.Model {
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The effective start time
|
|
41
|
+
* The effective start time (UTC millisecond timestamp).
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* 1672531200000
|
|
45
45
|
*/
|
|
46
|
-
start?:
|
|
46
|
+
start?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The effective end time
|
|
49
|
+
* The effective end time (UTC millisecond timestamp).
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* 1672617600000
|
|
53
53
|
*/
|
|
54
|
-
end?:
|
|
54
|
+
end?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The penalty type
|
|
57
|
+
* The penalty type (PERCENTAGE/AMOUNT/NIGHTS).
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* PERCENTAGE
|
|
@@ -62,7 +62,7 @@ export declare class DataHotelsValueRoomsOffersCancelPolicyPenalties extends $da
|
|
|
62
62
|
penaltyType?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The penalty value (percentage
|
|
65
|
+
* The penalty value (percentage/amount/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
|
|
73
|
+
* The currency code (present only when the penalty type is AMOUNT).
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* USD
|
|
@@ -98,7 +98,7 @@ export declare class DataHotelsValueRoomsOffersCancelPolicyPenalties extends $da
|
|
|
98
98
|
export declare class DataHotelsValueRoomsOffersCancelPolicy extends $dara.Model {
|
|
99
99
|
/**
|
|
100
100
|
* @remarks
|
|
101
|
-
* The policy type
|
|
101
|
+
* The policy type (NON_REFUNDABLE/FREE_CANCELLATION/PARTIAL_REFUND).
|
|
102
102
|
*
|
|
103
103
|
* @example
|
|
104
104
|
* FREE_CANCELLATION
|
|
@@ -128,15 +128,15 @@ export declare class DataHotelsValueRoomsOffersCancelPolicy extends $dara.Model
|
|
|
128
128
|
[key: string]: any;
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
|
-
export declare class
|
|
131
|
+
export declare class DataHotelsValueRoomsOffersTotalPrice extends $dara.Model {
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
|
-
* The amount.
|
|
134
|
+
* The amount in the smallest currency unit.
|
|
135
135
|
*
|
|
136
136
|
* @example
|
|
137
|
-
*
|
|
137
|
+
* 287
|
|
138
138
|
*/
|
|
139
|
-
amount?:
|
|
139
|
+
amount?: string;
|
|
140
140
|
/**
|
|
141
141
|
* @remarks
|
|
142
142
|
* The currency code.
|
|
@@ -147,10 +147,10 @@ export declare class DataHotelsValueRoomsOffersSellingTotalPrice extends $dara.M
|
|
|
147
147
|
currency?: string;
|
|
148
148
|
/**
|
|
149
149
|
* @remarks
|
|
150
|
-
*
|
|
150
|
+
* null
|
|
151
151
|
*
|
|
152
152
|
* @example
|
|
153
|
-
*
|
|
153
|
+
* null
|
|
154
154
|
*/
|
|
155
155
|
tracerId?: string;
|
|
156
156
|
static names(): {
|
|
@@ -164,15 +164,15 @@ export declare class DataHotelsValueRoomsOffersSellingTotalPrice extends $dara.M
|
|
|
164
164
|
[key: string]: any;
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
|
-
export declare class
|
|
167
|
+
export declare class DataHotelsValueRoomsOffersDailyPricesPrice extends $dara.Model {
|
|
168
168
|
/**
|
|
169
169
|
* @remarks
|
|
170
|
-
* The amount.
|
|
170
|
+
* The amount in the smallest currency unit.
|
|
171
171
|
*
|
|
172
172
|
* @example
|
|
173
|
-
*
|
|
173
|
+
* 287
|
|
174
174
|
*/
|
|
175
|
-
amount?:
|
|
175
|
+
amount?: string;
|
|
176
176
|
/**
|
|
177
177
|
* @remarks
|
|
178
178
|
* The currency code.
|
|
@@ -183,10 +183,10 @@ export declare class DataHotelsValueRoomsOffersSellingDailyPricesPrice extends $
|
|
|
183
183
|
currency?: string;
|
|
184
184
|
/**
|
|
185
185
|
* @remarks
|
|
186
|
-
*
|
|
186
|
+
* null
|
|
187
187
|
*
|
|
188
188
|
* @example
|
|
189
|
-
*
|
|
189
|
+
* null
|
|
190
190
|
*/
|
|
191
191
|
tracerId?: string;
|
|
192
192
|
static names(): {
|
|
@@ -200,26 +200,26 @@ export declare class DataHotelsValueRoomsOffersSellingDailyPricesPrice extends $
|
|
|
200
200
|
[key: string]: any;
|
|
201
201
|
});
|
|
202
202
|
}
|
|
203
|
-
export declare class
|
|
203
|
+
export declare class DataHotelsValueRoomsOffersDailyPrices extends $dara.Model {
|
|
204
204
|
/**
|
|
205
205
|
* @remarks
|
|
206
|
-
* The check-in date.
|
|
206
|
+
* The check-in date (yyyy-MM-dd, time zone: hotel local time zone).
|
|
207
207
|
*
|
|
208
208
|
* @example
|
|
209
|
-
* 2026-
|
|
209
|
+
* 2026-08-16
|
|
210
210
|
*/
|
|
211
211
|
date?: string;
|
|
212
212
|
/**
|
|
213
213
|
* @remarks
|
|
214
214
|
* The price for the day.
|
|
215
215
|
*/
|
|
216
|
-
price?:
|
|
216
|
+
price?: DataHotelsValueRoomsOffersDailyPricesPrice;
|
|
217
217
|
/**
|
|
218
218
|
* @remarks
|
|
219
|
-
*
|
|
219
|
+
* null
|
|
220
220
|
*
|
|
221
221
|
* @example
|
|
222
|
-
*
|
|
222
|
+
* null
|
|
223
223
|
*/
|
|
224
224
|
tracerId?: string;
|
|
225
225
|
static names(): {
|
|
@@ -236,7 +236,7 @@ export declare class DataHotelsValueRoomsOffersSellingDailyPrices extends $dara.
|
|
|
236
236
|
export declare class DataHotelsValueRoomsOffers extends $dara.Model {
|
|
237
237
|
/**
|
|
238
238
|
* @remarks
|
|
239
|
-
* The item-level offer identifier (price verification key,
|
|
239
|
+
* The item-level offer identifier (price verification key, pass through as-is).
|
|
240
240
|
*
|
|
241
241
|
* @example
|
|
242
242
|
* itemOffer_123
|
|
@@ -247,7 +247,7 @@ export declare class DataHotelsValueRoomsOffers extends $dara.Model {
|
|
|
247
247
|
* The rate plan name.
|
|
248
248
|
*
|
|
249
249
|
* @example
|
|
250
|
-
*
|
|
250
|
+
* Breakfast included
|
|
251
251
|
*/
|
|
252
252
|
ratePlanName?: string;
|
|
253
253
|
/**
|
|
@@ -275,12 +275,12 @@ export declare class DataHotelsValueRoomsOffers extends $dara.Model {
|
|
|
275
275
|
* @remarks
|
|
276
276
|
* The total selling price.
|
|
277
277
|
*/
|
|
278
|
-
|
|
278
|
+
totalPrice?: DataHotelsValueRoomsOffersTotalPrice;
|
|
279
279
|
/**
|
|
280
280
|
* @remarks
|
|
281
|
-
* The list of daily
|
|
281
|
+
* The list of daily prices.
|
|
282
282
|
*/
|
|
283
|
-
|
|
283
|
+
dailyPrices?: DataHotelsValueRoomsOffersDailyPrices[];
|
|
284
284
|
/**
|
|
285
285
|
* @remarks
|
|
286
286
|
* The number of available rooms.
|
|
@@ -291,7 +291,7 @@ export declare class DataHotelsValueRoomsOffers extends $dara.Model {
|
|
|
291
291
|
availableRooms?: number;
|
|
292
292
|
/**
|
|
293
293
|
* @remarks
|
|
294
|
-
* The maximum number of guests.
|
|
294
|
+
* The maximum number of guests allowed.
|
|
295
295
|
*
|
|
296
296
|
* @example
|
|
297
297
|
* 3
|
|
@@ -299,7 +299,7 @@ export declare class DataHotelsValueRoomsOffers extends $dara.Model {
|
|
|
299
299
|
maxOccupancy?: number;
|
|
300
300
|
/**
|
|
301
301
|
* @remarks
|
|
302
|
-
* The confirmation type
|
|
302
|
+
* The confirmation type (INSTANT_CONFIRM/NON_INSTANT_CONFIRM).
|
|
303
303
|
*
|
|
304
304
|
* @example
|
|
305
305
|
* INSTANT_CONFIRM
|
|
@@ -327,12 +327,12 @@ export declare class DataHotelsValueRooms extends $dara.Model {
|
|
|
327
327
|
standardRoomId?: string;
|
|
328
328
|
/**
|
|
329
329
|
* @remarks
|
|
330
|
-
* The lowest
|
|
330
|
+
* The lowest price for the room type on the day.
|
|
331
331
|
*/
|
|
332
|
-
|
|
332
|
+
lowestPrice?: DataHotelsValueRoomsLowestPrice;
|
|
333
333
|
/**
|
|
334
334
|
* @remarks
|
|
335
|
-
* The list of all available offers for the room type.
|
|
335
|
+
* The list of all available offers for the room type.
|
|
336
336
|
*/
|
|
337
337
|
offers?: DataHotelsValueRoomsOffers[];
|
|
338
338
|
static names(): {
|
|
@@ -354,7 +354,7 @@ export declare class DataHotelsValueOffersCancelPolicyPenalties extends $dara.Mo
|
|
|
354
354
|
* @example
|
|
355
355
|
* 1672531200000
|
|
356
356
|
*/
|
|
357
|
-
start?:
|
|
357
|
+
start?: string;
|
|
358
358
|
/**
|
|
359
359
|
* @remarks
|
|
360
360
|
* The effective end time (UTC millisecond timestamp).
|
|
@@ -362,7 +362,7 @@ export declare class DataHotelsValueOffersCancelPolicyPenalties extends $dara.Mo
|
|
|
362
362
|
* @example
|
|
363
363
|
* 1672617600000
|
|
364
364
|
*/
|
|
365
|
-
end?:
|
|
365
|
+
end?: string;
|
|
366
366
|
/**
|
|
367
367
|
* @remarks
|
|
368
368
|
* The penalty type (PERCENTAGE/AMOUNT/NIGHTS).
|
|
@@ -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/amount/
|
|
376
|
+
* The penalty value (percentage/amount/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
|
|
384
|
+
* The currency code. This field has a value only when the penalty type is AMOUNT.
|
|
385
385
|
*
|
|
386
386
|
* @example
|
|
387
387
|
* USD
|
|
@@ -439,15 +439,15 @@ export declare class DataHotelsValueOffersCancelPolicy extends $dara.Model {
|
|
|
439
439
|
[key: string]: any;
|
|
440
440
|
});
|
|
441
441
|
}
|
|
442
|
-
export declare class
|
|
442
|
+
export declare class DataHotelsValueOffersTotalPrice extends $dara.Model {
|
|
443
443
|
/**
|
|
444
444
|
* @remarks
|
|
445
|
-
* The amount.
|
|
445
|
+
* The amount in the smallest currency unit.
|
|
446
446
|
*
|
|
447
447
|
* @example
|
|
448
|
-
*
|
|
448
|
+
* 287
|
|
449
449
|
*/
|
|
450
|
-
amount?:
|
|
450
|
+
amount?: string;
|
|
451
451
|
/**
|
|
452
452
|
* @remarks
|
|
453
453
|
* The currency code.
|
|
@@ -458,10 +458,10 @@ export declare class DataHotelsValueOffersSellingTotalPrice extends $dara.Model
|
|
|
458
458
|
currency?: string;
|
|
459
459
|
/**
|
|
460
460
|
* @remarks
|
|
461
|
-
*
|
|
461
|
+
* null
|
|
462
462
|
*
|
|
463
463
|
* @example
|
|
464
|
-
*
|
|
464
|
+
* null
|
|
465
465
|
*/
|
|
466
466
|
tracerId?: string;
|
|
467
467
|
static names(): {
|
|
@@ -475,15 +475,15 @@ export declare class DataHotelsValueOffersSellingTotalPrice extends $dara.Model
|
|
|
475
475
|
[key: string]: any;
|
|
476
476
|
});
|
|
477
477
|
}
|
|
478
|
-
export declare class
|
|
478
|
+
export declare class DataHotelsValueOffersDailyPricesPrice extends $dara.Model {
|
|
479
479
|
/**
|
|
480
480
|
* @remarks
|
|
481
|
-
* The amount.
|
|
481
|
+
* The amount in the smallest currency unit.
|
|
482
482
|
*
|
|
483
483
|
* @example
|
|
484
|
-
*
|
|
484
|
+
* 287
|
|
485
485
|
*/
|
|
486
|
-
amount?:
|
|
486
|
+
amount?: string;
|
|
487
487
|
/**
|
|
488
488
|
* @remarks
|
|
489
489
|
* The currency code.
|
|
@@ -494,10 +494,10 @@ export declare class DataHotelsValueOffersSellingDailyPricesPrice extends $dara.
|
|
|
494
494
|
currency?: string;
|
|
495
495
|
/**
|
|
496
496
|
* @remarks
|
|
497
|
-
*
|
|
497
|
+
* null
|
|
498
498
|
*
|
|
499
499
|
* @example
|
|
500
|
-
*
|
|
500
|
+
* null
|
|
501
501
|
*/
|
|
502
502
|
tracerId?: string;
|
|
503
503
|
static names(): {
|
|
@@ -511,26 +511,26 @@ export declare class DataHotelsValueOffersSellingDailyPricesPrice extends $dara.
|
|
|
511
511
|
[key: string]: any;
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
|
-
export declare class
|
|
514
|
+
export declare class DataHotelsValueOffersDailyPrices extends $dara.Model {
|
|
515
515
|
/**
|
|
516
516
|
* @remarks
|
|
517
|
-
* The check-in date.
|
|
517
|
+
* The check-in date in yyyy-MM-dd format, based on the hotel local time zone.
|
|
518
518
|
*
|
|
519
519
|
* @example
|
|
520
|
-
* 2026-
|
|
520
|
+
* 2026-08-16
|
|
521
521
|
*/
|
|
522
522
|
date?: string;
|
|
523
523
|
/**
|
|
524
524
|
* @remarks
|
|
525
525
|
* The price for the day.
|
|
526
526
|
*/
|
|
527
|
-
price?:
|
|
527
|
+
price?: DataHotelsValueOffersDailyPricesPrice;
|
|
528
528
|
/**
|
|
529
529
|
* @remarks
|
|
530
|
-
*
|
|
530
|
+
* null
|
|
531
531
|
*
|
|
532
532
|
* @example
|
|
533
|
-
*
|
|
533
|
+
* null
|
|
534
534
|
*/
|
|
535
535
|
tracerId?: string;
|
|
536
536
|
static names(): {
|
|
@@ -547,7 +547,7 @@ export declare class DataHotelsValueOffersSellingDailyPrices extends $dara.Model
|
|
|
547
547
|
export declare class DataHotelsValueOffers extends $dara.Model {
|
|
548
548
|
/**
|
|
549
549
|
* @remarks
|
|
550
|
-
* The item
|
|
550
|
+
* The item offer key used for price verification. Pass through this value as-is.
|
|
551
551
|
*
|
|
552
552
|
* @example
|
|
553
553
|
* itemOffer_123
|
|
@@ -558,7 +558,7 @@ export declare class DataHotelsValueOffers extends $dara.Model {
|
|
|
558
558
|
* The rate plan name.
|
|
559
559
|
*
|
|
560
560
|
* @example
|
|
561
|
-
* Breakfast
|
|
561
|
+
* Breakfast included
|
|
562
562
|
*/
|
|
563
563
|
ratePlanName?: string;
|
|
564
564
|
/**
|
|
@@ -579,19 +579,19 @@ export declare class DataHotelsValueOffers extends $dara.Model {
|
|
|
579
579
|
mealCount?: number;
|
|
580
580
|
/**
|
|
581
581
|
* @remarks
|
|
582
|
-
* The cancellation
|
|
582
|
+
* The cancellation policy.
|
|
583
583
|
*/
|
|
584
584
|
cancelPolicy?: DataHotelsValueOffersCancelPolicy;
|
|
585
585
|
/**
|
|
586
586
|
* @remarks
|
|
587
587
|
* The total selling price.
|
|
588
588
|
*/
|
|
589
|
-
|
|
589
|
+
totalPrice?: DataHotelsValueOffersTotalPrice;
|
|
590
590
|
/**
|
|
591
591
|
* @remarks
|
|
592
|
-
* The list of daily
|
|
592
|
+
* The list of daily prices.
|
|
593
593
|
*/
|
|
594
|
-
|
|
594
|
+
dailyPrices?: DataHotelsValueOffersDailyPrices[];
|
|
595
595
|
/**
|
|
596
596
|
* @remarks
|
|
597
597
|
* The number of available rooms.
|
|
@@ -630,7 +630,7 @@ export declare class DataHotelsValueOffers extends $dara.Model {
|
|
|
630
630
|
export declare class DataHotelsValue extends $dara.Model {
|
|
631
631
|
/**
|
|
632
632
|
* @remarks
|
|
633
|
-
* The check-in date
|
|
633
|
+
* The check-in date (yyyy-MM-dd).
|
|
634
634
|
*
|
|
635
635
|
* @example
|
|
636
636
|
* 2026-01-01
|
|
@@ -638,7 +638,7 @@ export declare class DataHotelsValue extends $dara.Model {
|
|
|
638
638
|
checkInDate?: string;
|
|
639
639
|
/**
|
|
640
640
|
* @remarks
|
|
641
|
-
* The check-out date
|
|
641
|
+
* The check-out date (yyyy-MM-dd).
|
|
642
642
|
*
|
|
643
643
|
* @example
|
|
644
644
|
* 2026-01-02
|