Skip to content

Commit 27fdf2b

Browse files
committed
Update API Enrich: add request parameters journey_param_list.$.segment_param_list.$.departure_date.
1 parent 3d64f60 commit 27fdf2b

File tree

3 files changed

+64
-3
lines changed

3 files changed

+64
-3
lines changed

airticketopen-20230117/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/airticketopen20230117",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

airticketopen-20230117/src/models/DataSolutionListSegmentBaggageMappingListPassengerBaggageAllowanceMappingValue.ts

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,46 @@ export class DataSolutionListSegmentBaggageMappingListPassengerBaggageAllowanceM
6767
* true
6868
*/
6969
isAllCarryOnWeight?: boolean;
70+
/**
71+
* @example
72+
* 55
73+
*/
74+
carryLength?: number;
75+
/**
76+
* @example
77+
* 40
78+
*/
79+
carryWidth?: number;
80+
/**
81+
* @example
82+
* 20
83+
*/
84+
carryHeight?: number;
85+
/**
86+
* @example
87+
* 115
88+
*/
89+
carrySumOfLengthWidthHeight?: number;
90+
/**
91+
* @example
92+
* 60
93+
*/
94+
length?: number;
95+
/**
96+
* @example
97+
* 40
98+
*/
99+
width?: number;
100+
/**
101+
* @example
102+
* 60
103+
*/
104+
height?: number;
105+
/**
106+
* @example
107+
* 200
108+
*/
109+
sumOfLengthWidthHeight?: number;
70110
static names(): { [key: string]: string } {
71111
return {
72112
baggageAmount: 'baggage_amount',
@@ -77,6 +117,14 @@ export class DataSolutionListSegmentBaggageMappingListPassengerBaggageAllowanceM
77117
carryOnWeight: 'carry_on_weight',
78118
carryOnWeightUnit: 'carry_on_weight_unit',
79119
isAllCarryOnWeight: 'is_all_carry_on_weight',
120+
carryLength: 'carry_length',
121+
carryWidth: 'carry_width',
122+
carryHeight: 'carry_height',
123+
carrySumOfLengthWidthHeight: 'carry_sum_of_length_width_height',
124+
length: 'length',
125+
width: 'width',
126+
height: 'height',
127+
sumOfLengthWidthHeight: 'sum_of_length_width_height',
80128
};
81129
}
82130

@@ -90,6 +138,14 @@ export class DataSolutionListSegmentBaggageMappingListPassengerBaggageAllowanceM
90138
carryOnWeight: 'number',
91139
carryOnWeightUnit: 'string',
92140
isAllCarryOnWeight: 'boolean',
141+
carryLength: 'number',
142+
carryWidth: 'number',
143+
carryHeight: 'number',
144+
carrySumOfLengthWidthHeight: 'number',
145+
length: 'number',
146+
width: 'number',
147+
height: 'number',
148+
sumOfLengthWidthHeight: 'number',
93149
};
94150
}
95151

airticketopen-20230117/src/models/EnrichRequest.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,15 @@ export class EnrichRequestJourneyParamListSegmentParamList extends $dara.Model {
5151
* SHA
5252
*/
5353
departureCity?: string;
54+
/**
55+
* @example
56+
* 2023-03-10
57+
*/
58+
departureDate?: string;
5459
/**
5560
* @remarks
5661
* departure time in string format (yyyy-MM-dd HH:mm:ss)
5762
*
58-
* This parameter is required.
59-
*
6063
* @example
6164
* 2023-03-10 07:55:00
6265
*/
@@ -79,6 +82,7 @@ export class EnrichRequestJourneyParamListSegmentParamList extends $dara.Model {
7982
childCabin: 'child_cabin',
8083
departureAirport: 'departure_airport',
8184
departureCity: 'departure_city',
85+
departureDate: 'departure_date',
8286
departureTime: 'departure_time',
8387
marketingFlightNo: 'marketing_flight_no',
8488
};
@@ -92,6 +96,7 @@ export class EnrichRequestJourneyParamListSegmentParamList extends $dara.Model {
9296
childCabin: 'string',
9397
departureAirport: 'string',
9498
departureCity: 'string',
99+
departureDate: 'string',
95100
departureTime: 'string',
96101
marketingFlightNo: 'string',
97102
};

0 commit comments

Comments
 (0)