import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare const RouteType: { readonly RoundTrip: "round_trip"; readonly OneWay: "one_way"; }; export type RouteType = OpenEnum; export type AirlineLeg = { /** * Arrival airport code of leg. 3-letter ISO code according to IATA official directory. */ arrivalAirport?: string | null | undefined; /** * The date and time of travel in local time at the arrival airport. */ arrivalAt?: Date | null | undefined; /** * Arrival city name. */ arrivalCity?: string | null | undefined; /** * Arrival country code in ISO 3166 format. */ arrivalCountry?: string | null | undefined; /** * 3 character airline code as set by IATA. */ carrierCode?: string | null | undefined; /** * Name of the airline. */ carrierName?: string | null | undefined; /** * Two-character IATA code of the airline. */ iataDesignator?: string | null | undefined; /** * Three-character ICAO code of the airline. */ icaoCode?: string | null | undefined; /** * Coupon number associated with the leg. */ couponNumber?: string | null | undefined; /** * Departure airport code of leg. 3-letter ISO code according to IATA official directory. */ departureAirport?: string | null | undefined; /** * The date and time of travel in local time at the departure airport. */ departureAt?: Date | null | undefined; /** * Departure city name. */ departureCity?: string | null | undefined; /** * Departure airport code of leg. 3-letter ISO code according to IATA official directory. */ departureCountry?: string | null | undefined; /** * Departure tax amount charged by a country when a person is leaving the country. */ departureTaxAmount?: number | null | undefined; /** * Amount of the ticket, for current leg of the trip, excluding taxes and fees. */ fareAmount?: number | null | undefined; /** * The alphanumeric code for the booking class of a ticket. */ fareBasisCode?: string | null | undefined; /** * Fee amount for current leg of the trip. */ feeAmount?: number | null | undefined; /** * Indicates service class (first class, business class, etc.). */ flightClass?: string | null | undefined; /** * Unique identifier of the flight number. */ flightNumber?: string | null | undefined; /** * The route type of the flight. */ routeType?: RouteType | null | undefined; /** * Indicates seat class (first class, business class, etc.). */ seatClass?: string | null | undefined; /** * Indicates whether a stopover is allowed on this ticket. */ stopOver?: boolean | null | undefined; /** * Amount of the taxes for current leg of the trip. */ taxAmount?: number | null | undefined; }; /** @internal */ export declare const RouteType$inboundSchema: z.ZodType; /** @internal */ export declare const RouteType$outboundSchema: z.ZodType; /** @internal */ export declare const AirlineLeg$inboundSchema: z.ZodType; /** @internal */ export type AirlineLeg$Outbound = { arrival_airport?: string | null | undefined; arrival_at?: string | null | undefined; arrival_city?: string | null | undefined; arrival_country?: string | null | undefined; carrier_code?: string | null | undefined; carrier_name?: string | null | undefined; iata_designator?: string | null | undefined; icao_code?: string | null | undefined; coupon_number?: string | null | undefined; departure_airport?: string | null | undefined; departure_at?: string | null | undefined; departure_city?: string | null | undefined; departure_country?: string | null | undefined; departure_tax_amount?: number | null | undefined; fare_amount?: number | null | undefined; fare_basis_code?: string | null | undefined; fee_amount?: number | null | undefined; flight_class?: string | null | undefined; flight_number?: string | null | undefined; route_type?: string | null | undefined; seat_class?: string | null | undefined; stop_over?: boolean | null | undefined; tax_amount?: number | null | undefined; }; /** @internal */ export declare const AirlineLeg$outboundSchema: z.ZodType; export declare function airlineLegToJSON(airlineLeg: AirlineLeg): string; export declare function airlineLegFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=airlineleg.d.ts.map